Oops..SNMP :: Not SMTP Shows Critical but checks OK
Subhendu Ghosh
sghosh at sghosh.org
Mon Nov 4 20:16:18 CET 2002
if you run the snmpget comand dirrectly - does it report any MIB errors?
if so that is giving you your WARNING.
On the cmdline try check_snmp -v ...
-sg
On Mon, 4 Nov 2002, Jamin wrote:
> Ugh, I hate it when I do that...
> SNMP.
>
> Sorry all.
> Its monday and I have not had my coffee.
> Right now I guess I am about as sharp as a wet mouse.
>
>
> Anyway, my snmp is giving a WARNING in Nagios, but when the plug is run by
> hand, everything is OK. If you have any suggestions on how to track this
> bug, please let me know.
>
> -Jamin
>
> On Mon, 4 Nov 2002, Subhendu Ghosh wrote:
>
> >
> > SNMP or SMTP ?
> >
> > On Mon, 4 Nov 2002, Jamin wrote:
> >
> > > my version of check_snmp is:
> > > check_snmp (nagios-plugins 1.3.0-alpha1) 1.1.1.1
> > >
> > > almost the same problem. (I get a Warning instead of Critical.)
> > > My return code when run by hand is 0 (zero) and I also get a SMTP OK.
> > >
> > > weird. why would nagios interpret it as something else?
> > >
> > > On Mon, 4 Nov 2002, Subhendu Ghosh wrote:
> > >
> > > >
> > > > what version of check_smtp and what mail server ?
> > > >
> > > >
> > > >
> > > > On Mon, 4 Nov 2002, Shawn Rose wrote:
> > > >
> > > > > Check_SMTP plugin.. Testing returns OK <SMTP OK - 0 second response
> > > > > time>
> > > > > But it still flags it as CRITICAL
> > > > >
> > > > >
> > > > > I saw this question posted in the archives but I didn't see a
> > > > > resolution.
> > > > >
> > > > > Any suggestions?
> > > > >
> > > > > # Service definition
> > > > > define service{
> > > > > use generic-service ; Name
> > > > > of service template to use
> > > > >
> > > > > host_name White,Blue
> > > > > service_description SMTP
> > > > > is_volatile 0
> > > > > check_period 24x7
> > > > > max_check_attempts 3
> > > > > normal_check_interval 3
> > > > > retry_check_interval 1
> > > > > contact_groups nt-admins
> > > > > notification_interval 120
> > > > > notification_period 24x7
> > > > > notification_options w,u,c,r
> > > > > check_command check_smtp
> > > > > }
> > > > >
> > > > >
> > > > > Shawn
> > > > >
> > > > >
> > > >
> > > > --
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by: ApacheCon, November 18-21 in
> > > > Las Vegas (supported by COMDEX), the only Apache event to be
> > > > fully supported by the ASF. http://www.apachecon.com
> > > > _______________________________________________
> > > > Nagios-users mailing list
> > > > Nagios-users at lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > >
> > >
> > > ______________________________________________________________________
> > > Tautology -- "A tautology is a thing which is tautological."
> > > -- Unknown
> > > ______________________________________________________________________
> > >
> >
> > --
> >
> >
>
> ----------------------------------------------------------------------
> #include <stdio.h>
> int main(void){char*s="\xA\x2C\0005ofczgei*e~*xo~~oh*mdcb~sdk*o|kb*\
> \177es*~-deN",*i;for(i=s+*(s+1);i-s-1;)printf("%c",*i--^*s);return 0;}
> ______________________________________________________________________
>
>
--
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
More information about the Users
mailing list