problems using check_snmp to monitor sendmail
Subhendu Ghosh
sghosh at sghosh.org
Thu Mar 6 18:48:07 CET 2003
On Thu, 6 Mar 2003, Daniel Finn wrote:
<snip>
>
> Here's the problem I'm having with the snmp_check program. It always
> reports back that it's either at a WARNING state or a CRITICAL state.
>
> [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o
> .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic
> SNMP WARNING - 1
>
>
> Am I doing something wrong. Shouldn't it return OK because the value it's
> returning is between 1 and 10? Now if I change the warning and critical
> threshholds to be outside of what it's returning I get :
>
> [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o
> .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic
> SNMP CRITICAL - *1*
>
> I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for this
> system and I still have the same problem. If anyone could help that would
> be great. Also, I'm not subscribed to this list so if you could reply to me
> via email that would be great.
>
The WARNING in the first case may be due to output on the stderr.
Try the command with with "-m : " to prevent loading the mibs.
--
-sg
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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