Soft states skipped in reports
BOLLENGIER Eric
ebollengier at sigma.fr
Fri Jan 21 17:53:17 CET 2005
Hi,
I'am sorry, but your patch don't seems to work for me...
If i don't use "Include Soft States", my trend never returns from
CRITICAL STATE...
Regards
Eric
[1106321235] SERVICE ALERT: localhost;ssh;CRITICAL;SOFT;1;timeout..10s
[1106321295] SERVICE ALERT: localhost;ssh;CRITICAL;SOFT;2;timeout..10s
[1106321355] SERVICE ALERT: localhost;ssh;CRITICAL;HARD;3;timeout..10s
[1106324425] HOST ALERT: localhost;DOWN;SOFT;1;CRITICAL - timed out
[1106324435] HOST ALERT: localhost;DOWN;SOFT;2;CRITICAL - timed out
...
[1106324515] HOST ALERT: localhost;DOWN;HARD;10;CRITICAL - timed out
[1106324515] HOST NOTIFICATION:...
[1106324615] SERVICE ALERT: localhost;PING;CRITICAL;HARD;1;CRITICAL
[1106324825] HOST ALERT: localhost;UP;HARD;1;PING OK
[1106324825] HOST NOTIFICATION: eric;localhost;UP;host-notify;PING OK
[1106324905] SERVICE ALERT: localhost;PING;OK;HARD;1;PING OK
[1106324955] SERVICE ALERT: localhost;ssh;CRITICAL;SOFT;1;Socket timeout
[1106325005] SERVICE ALERT: localhost;ssh;OK;SOFT;2;SSH OK - OpenSSH
Le mercredi 19 janvier 2005 à 20:03 -0600, Ethan Galstad a écrit :
> On 5 Jan 2005 at 14:22, Strickland, Kristian wrote:
>
> > Hi to all, and Happy New Year.
> >
> > On 2004-12-13 22:26, Ethan Galstad wrote:
> >
> > > I"ll check into modifying the code to do this during the 2.0 beta
> > > process, but I"m not convinced I want to muddle with the CGIs much
> > > anymore unless there are real bugs.
> >
> > On the nagios-users list, there's a thread that points out a bug that
> > affects the "Service State Trends". From a post by Eric Bollengier:
> >
> > ----------------- quote
> >
> > [1099042385] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Connection
> > refused [1099042445] SERVICE ALERT: test;ssh;CRITICAL;SOFT;2;Socket
> > timeout [1099042525] SERVICE ALERT: test;ssh;CRITICAL;HARD;3;Socket
> > timeout [1099042715] HOST ALERT: test;DOWN;SOFT;1;CRITICAL
> > [1099042725] HOST ALERT: test;DOWN;SOFT;2;CRITICAL [1099042735] HOST
> > ALERT: test;DOWN;SOFT;3;CRITICAL [1099042745] HOST ALERT:
> > test;DOWN;SOFT;4;CRITICAL [1099042755] HOST ALERT:
> > test;DOWN;HARD;5;CRITICAL [1099042755] SERVICE ALERT:
> > test;ping;CRITICAL;HARD;1;CRITICAL [1099042935] HOST ALERT:
> > test;UP;HARD;1;PING OK [1099042935] SERVICE ALERT:
> > test;ping;OK;HARD;1;PING OK [1099042945] SERVICE ALERT:
> > test;ssh;CRITICAL;SOFT;1;Socket timeout [1099043005] SERVICE ALERT:
> > test;ssh;OK;SOFT;2;TCP OK
> >
> > ====> BUG ssh is in CRITICAL HARD STATE, but OK is SOFT !!
> >
> > ----------------- end quote
> >
> > I've had this same thing happen to me, though with a different
> > service. The result is a 5 day 8 hour block of "critical" in my
> > report unless I edit the proper log file and change the SOFT to HARD.
> >
> > Either fixing the real problem OR including SOFT states in reporting
> > would show the correct states.
> >
>
> This problem should be fixed in CVS for the daemon now (my commit two
> days back). I also added the option to include soft states in the
> trends and availability CGIs. Please let me know if the CVS patches
> don't fix the logging issue, as I haven't had a lot of time to test
> them.
>
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
More information about the Developers
mailing list