Generic SNMP query

Mark Gius mgius at createspace.com
Tue Jun 23 00:48:54 CEST 2009


You may find this perl script helpful.  It takes a base OID, does an 
snmpwalk on it, and then compares the results to a specified regex or 
warning/critical threshold. 

Gius

Livio Zanol Puppim wrote:
> I've searched this at monitoring exchange, but I haven't found many 
> scripts. What options I have to use as "generic" SNMP checks? Passing 
> OIDs or tables and comparing with values for critical and warning 
> states, and passing data trought performance output.
>
> What scripts do you use?
>  
> -- 
> []'s
>
> Lívio Zanol Puppim
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_snmp_generic.pl
Type: application/x-perl
Size: 1876 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090622/659474d0/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
-------------- next part --------------
_______________________________________________
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