*nix Thread, Nagios - MRTG in Technical; Hi I have just installed nagios on fedora, I'm having a problem with the check_mrtg plugin. I have set it ...
-
5th March 2008, 02:29 PM #1 Nagios - MRTG
Hi I have just installed nagios on fedora, I'm having a problem with the check_mrtg plugin. I have set it up as per the quickstart guide on the nagios site. I can monitor the uptime of the switch, port uptime, but the bandwidth though the port is'nt working
I have changed the hostname in the switch.cfg file and left the file path as is
define service{
use generic-service ; Inherit values from a template
host_name switch01
service_description Port 1 Bandwidth Usage
check_command check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,2000000!5000000,50 00000!10
}
It gives a error " unable to open log file /path/123456.log" so I give it the file where it wants it and then IU get a different error "unable to process log file /path/123456.log" 
Anyone got any ideas?
-
-
IDG Tech News
-
5th March 2008, 02:50 PM #2 It appears to be ignoring your log path for a start... check the definition of the checkcommand (should be in checkcommands.conf).
There's some checks on the wiki to directly query the switches which may work out better for you too.
-
Thanks to Ric_ from:
rush_tech (5th March 2008)
-
5th March 2008, 03:54 PM #3 Cheers Ric_ I shall take a look
-
-
13th July 2010, 04:04 PM #4 To prevent starting another thread on this topic, Does anyone have any experience in enabeling the 64bit counters in mrtg ? it seems to be a well documented issues when monitoring links running at 1Gbps or more. The data through put is not correctly logged
I cannot for the life of me get it working right although the solution seems to be as simple as adding the ::::2 to the end of the target line in each device/port config file. :-(
-
-
13th July 2010, 04:25 PM #5 On the contrary, if it's a new question please start a new topic. It makes searching so much easier.
I've never tried with 64 bit counters, however.
-
-
13th July 2010, 04:27 PM #6 I think I might have solved it I will post tomorrow after ther D2D2T system has thrashed the switch bandwidth abit and I have some conclusive results.
I have posted the solution so far here
mrtg and gigabit traffic
Last edited by soapyfish; 13th July 2010 at 06:24 PM.
-
SHARE: 
Similar Threads
-
Replies: 12
Last Post: 13th January 2012, 10:11 AM
-
Replies: 51
Last Post: 10th November 2009, 05:23 AM
-
By plexer in forum How do you do....it?
Replies: 4
Last Post: 17th July 2007, 07:43 PM
-
By plexer in forum How do you do....it?
Replies: 2
Last Post: 10th May 2007, 09:21 PM
-
Replies: 33
Last Post: 22nd October 2006, 10:38 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules