Bandwidth Utilization using check_snmp
Atul Shrivastava
atulsh at hclinsys.com
Wed Feb 19 13:41:25 CET 2003
Actually I can remove this 32 from the query by using the -d option in the check_snmp but the problem is that the value for InOctets is a counter that is increasing. So i have to calculate the difference between two time intervals and then supply it to the nagios. Is there any ready-made option for that.
My requirement is that I want that whenever my bandwidth utilization is more than 90 % , nagios generate an alert. Is it possible and if yes then pls tell me how.
Thanks in advance.
Regards and have a nice day,
Atul Shrivastava
Info Structure Services
HCL INFOSYSTEMS LTD.
E - 4,5,6 Sector XI,
Noida - 201301
Tel: 91-120-2526910,2443013
----- Original Message -----
From: Shayne Lebrun
To: Atul Shrivastava ; nagios-users at lists.sourceforge.net
Sent: Wednesday, February 12, 2003 7:05 PM
Subject: RE: [Nagios-users] Bandwidth Utilization using check_snmp
Do an snmpwalk, and you'll see that it's a SNMP COUNTER32 datatype; the plugin is picking up the 32 and returning that. This has, I was told a few weeks ago, been fixed in CVS, but not yet released, to my knowledge.
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Atul Shrivastava
Sent: Tuesday, February 11, 2003 11:33 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Bandwidth Utilization using check_snmp
Importance: High
Hello All,
I am trying to monitor the Bandwidth Utilization for all the interfaces for rotuers. I am able to get the counters for the InOctets and OutOctets (./check_snmp -H IP -C community -o .1.3.6.1.2.1.2.2.1.10.1 -w 25:1000 -c 15:1000) But when I give the -w and -c option then the interface is showing SNMP OK - 32 continuously and doesn't showing the bandwidth used. Actually I require the diffenence the between the two counter values at some time interval so that i can make a table for this for further use.
Has anyone done some work on that, pls tell me.
Thanks in advance.
Regards and have a nice day,
Atul Shrivastava
Info Structure Services
HCL INFOSYSTEMS LTD.
E - 4,5,6 Sector XI,
Noida - 201301
Tel: 91-120-2526910,2443013
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030219/958f2503/attachment.html>
More information about the Users
mailing list