rush_tech Posted March 5, 2008 Posted March 5, 2008 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,5000000!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?
Ric_ Posted March 5, 2008 Posted March 5, 2008 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. 1
soapyfish Posted July 13, 2010 Posted July 13, 2010 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. :-(
powdarrmonkey Posted July 13, 2010 Posted July 13, 2010 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.
soapyfish Posted July 13, 2010 Posted July 13, 2010 (edited) 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 http://www.edugeek.net/forums/nix/59780-mrtg-gigabit-traffic.html#post541794 Edited July 13, 2010 by soapyfish
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now