Page 1 of 1

Check_SNMP MailQ issues

Posted: Mon Sep 05, 2011 9:37 pm
by tom123
Hi all,

I am running Nagios 3.1.2 on Fedora 11.

I am having issues with checking the mailq on our gateway server.

The command I'm running is:

Code: Select all

check_snmp -H <gateway IP> -C public -o <OID>
This returns:

Code: Select all

SNMP OK - "WARNING: mailq is 9 (threshold w = 7)|unsent=9;7;10;0" |
Obviously, this is not "OK" as it is in the warning state. Is anyone able to shed some light onto this for me?

If you need any further information, please just ask.

Thanks.

Re: Check_SNMP MailQ issues

Posted: Wed Sep 07, 2011 8:58 pm
by tom123
I imagine the "SNMP OK -" is just saying the command ran successfully.

For some reason, nagios isn't picking up the "Warning" or "Critical" state.

Image