Generic SNMP query

Livio Zanol Puppim livio.zanol.puppim at gmail.com
Tue Jun 23 17:53:17 CEST 2009


The oficial "check_snmp" does not return via performance data the warning
and critical values... also (but less important) does not check snmp tables.

example:

./check_snmp -H 127.0.0.1 -o .1.3.6.1.2.1.25.3.3.1.1.1 -w10 -c10 -C public
CPU OK - 0 % | iso.3.6.1.2.1.25.3.3.1.1.1=0



2009/6/22 Mark Gius <mgius at createspace.com>

> 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
>>
>>


-- 
[]'s

Lívio Zanol Puppim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090623/f4a753d3/attachment.html>
-------------- 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