Status display errors

Aaron Carr aaronhcarr at gmail.com
Mon Aug 15 14:08:35 CEST 2005


Ok, so I'm back at work now, and I've checked the services showing
bogus status colors on the web page.

I ran the commands as the nagios user from the nagios server via ssh
(the same way they're being done by the server), and at the completion
of each command, I checked the exit status.  All of them were status
0, so it appears that the plugins are working correctly.

What could be causing the status color on the web page to be doing
this?  Should I downgrade back to 2.0b3?

Thanks.

Aaron

On 8/12/05, Aaron Carr <aaronhcarr at gmail.com> wrote:
> I'll give that a try on Monday.
> 
> I don't *think* that's it however.  Every time I ran the commands from
> the command line on the Nagios server, the output was exactly as
> expected.
> 
> I didn't check the $? values though, so I will do that and post the results.
> 
> Thanks.
> 
> Aaron
> 
> On 8/12/05, Marc Powell <marc at ena.com> wrote:
> > Since you haven't yet received a response...
> >
> > > -----Original Message-----
> > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> > > admin at lists.sourceforge.net] On Behalf Of Aaron Carr
> > > Sent: Friday, August 12, 2005 11:03 AM
> > > To: Nagios User List
> > > Subject: [Nagios-users] Status display errors
> > >
> > > I'm having some strange problems with the Nagios web page output.
> > >
> > > I have multiple services that randomly (and often) change the status
> > > COLOR (only the color mind you, not the actual status) to the orange
> > > "Unknown" status.  The data returned by the plugins is all showing
> > > "OK" status however.
> > >
> > > It's extremely annoying, because it makes a quick glance at the status
> > > page totally useless.
> > >
> > > I'm running Nagios 2.0b4 on a Linux server, and my current test client
> > > is Solaris 9 using various versions of the plugins (from 1.3 - 1.4.1)
> > > via check_by_ssh.
> > >
> > > I've attached a screenshot of what I'm seeing if that helps.
> > >
> > > Anyone have any answers for this?
> >
> > This is clearly not normal. The status/color is determined exclusively
> > by the exit code of the plugin, not the human readable output. It seems
> > that that code isn't being correctly sent, either by the plugin you're
> > running on the remote host or by check_by_ssh (which should just pass on
> > the plugin's exit code). I would try repeatedly running the check
> > command from your nagios machine exactly as it's defined as the nagios
> > user to see if there is some intermittent error condition. After each
> > run, check the exit code with 'echo $?' to see if it matches the
> > expected exit code for the check. If all looks good there, try the same
> > thing on the remote host.
> >
> > http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN75
> >
> > --
> > Marc
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > _______________________________________________
> > 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
> >
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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