Jump to content

Recommended Posts

Posted

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" :confused:

 

Anyone got any ideas?

Posted

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 1
  • 2 years later...
Posted

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. :-(

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...