Check_snmp -s option

Jon Lyons jlyons30 at yahoo.com
Thu Oct 30 03:33:00 CET 2003


Yep, that fixed it...
 
Thanks!
 
/* create the command line to execute */
        asprintf (&command_line, " %s -OQ -m %s -v %s %s %s:%s %s",
                  PATH_TO_SNMPGET, miblist, proto, authpriv, server_address, port, oid); 

Subhendu Ghosh <sghosh at sghosh.org> wrote:
On Wed, 29 Oct 2003, Jon Lyons wrote:

> Am I reading help info for the check_snmp plugin right? I'm trying to
> snmp pull a firewall and verify that the policy is installed, however
> whenever I use the -s option I get critical. The plugin responds with
> installed or not installed depending on the policy...
> 
> 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd
> SNMP OK - "installed"
> 
> 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd -s installed
> SNMP CRITICAL - *"installed"*
> 
> 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd -s not
> SNMP CRITICAL - *"installed"*
> 1301-IDS-Console#




---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031029/241d5b7e/attachment.html>


More information about the Users mailing list