Hi, First have a look at the FAQ : http://nagios.manubulon.com/wiki/index.php/Faq-url#No_usable_data_on_file_.2 8X_rows.29
Then read some doc : http://nagios.manubulon.com/snmp_int.html Then, - Make sure that your check interval is similar to the default average time (5 minutes) or change this with the "-d" option. - add the "-g" option to get the 64 bits counters as the standard counters aren't very accurate with Gigabit interfaces. - Use SNMP V2c ( "-2" option). - Maybe give the C plugin version a try to enable caching ("-K") as it will reduce the load on the Cisco and speed up execution time (http://nagios.manubulon.com/package_c.html). Regards, Patrick http://nagios.manubulon.com -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Mike Hawley Envoyé : jeudi 25 octobre 2007 09:35 À : 'Daniel Kraus' Cc : 'Nagios Users' Objet : Re: [Nagios-users] Manage Cisco Interfaces Thanks for the reply. I have had this service running for the last 3 hours, and it still remains in this state... Mike Mike Hawley -----Original Message----- From: Daniel Kraus [mailto:[EMAIL PROTECTED] Sent: Thursday, October 25, 2007 8:30 PM To: Mike Hawley Cc: Nagios Users Subject: Re: [Nagios-users] Manage Cisco Interfaces 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.10/1091 - Release Date: 10/24/2007 2:31 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.10/1091 - Release Date: 10/24/2007 2:31 PM ------------------------------------------------------------------------- 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@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 ------------------------------------------------------------------------- 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@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