<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I'm not sure what you mean by "snmp tables," but the script I attached
previously will return "SNMP OK" or SNMP <WARNING|CRITICAL> in
the main area, and will place all scanned OIDs into the performance
data.<br>
<br>
-Gius<br>
<br>
Livio Zanol Puppim wrote:
<blockquote
 cite="mid:fa1469130906230853s6869fba9td2c5126bded7f401@mail.gmail.com"
 type="cite">The oficial "check_snmp" does not return via performance
data the warning and critical values... also (but less important) does
not check snmp tables.<br>
  <br>
example:<br>
  <br>
./check_snmp -H 127.0.0.1 -o .1.3.6.1.2.1.25.3.3.1.1.1 -w10 -c10 -C
public <br>
CPU OK - 0 % | iso.3.6.1.2.1.25.3.3.1.1.1=0<br>
  <br>
  <br>
  <br>
  <div class="gmail_quote">2009/6/22 Mark Gius <span dir="ltr"><<a
 moz-do-not-send="true" href="mailto:mgius@createspace.com">mgius@createspace.com</a>></span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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. <br>
    <font color="#888888">Gius</font>
    <div>
    <div class="h5"><br>
    <br>
Livio Zanol Puppim wrote:<br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br>
      <br>
What scripts do you use?<br>
 <br>
-- <br>
[]'s<br>
      <br>
Lívio Zanol Puppim<br>
      <br>
    </blockquote>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
[]'s<br>
  <br>
Lívio Zanol Puppim<br>
  <pre wrap="">
<hr size="4" width="90%">
------------------------------------------------------------------------------
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!
<a class="moz-txt-link-freetext" href="http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org">http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org</a></pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
</body>
</html>