Bandwidth Utilization using check_snmp

Fredrik Wänglund Fredrik.Wanglund at datavis.se
Wed Feb 19 15:56:50 CET 2003


Why dont you use Apan? Then you also will get nice graphs to look at...


/FredrikW

-----Original Message-----
From:	Atul Shrivastava [mailto:atulsh at hclinsys.com]
Sent:	Wed 19-Feb-03 13:41
To:	Shayne Lebrun; nagios-users at lists.sourceforge.net
Cc:	
Subject:	Re: [Nagios-users] Bandwidth Utilization using check_snmp
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




-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
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