Manage Cisco Interfaces

Daniel Kraus daniel.kraus at rz.uni-augsburg.de
Thu Oct 25 09:30:29 CEST 2007


Hi Mike,

the plug-in check_snmp_int.pl will create a file in /tmp 
"tmp_Nagios_int.ip.interface" for each interface you check. If you look 
at one of these files you will see something like this: 
1193296121:2737857960:2609034930.
First one is a time stamp, the others are the counters for incoming and 
outgoing octets you will also find via SNMP on your Cisco switch.

The problem is that the incoming or outgoing octets are counters and 
don't contain the actual number of incoming octets for the last 5 mins 
or so. If you run the plug-in it compares the returned values with the 
ones in the temp-file and then calculates the incoming oder outgoing 
traffic.

When I used the plug-in first the state was UNKNOWN for the first 15 
minutes and then changed to an OK-state because the plug-in needs this 
time to gather enough values to calculate the traffic.

Sorry for my english.

Hope this will help you.

Best Regards
Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list