[Nagios-devel] Re: Soft states skipped in reports

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Re: Soft states skipped in reports

Post by Guest »

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.

Thanks,
--Kristian

Kristian Strickland, BSc Math & CompSci (StFX '94)
IBM (e)server Certified Specialist:
-> pSeries AIX System Administration -> pSeries AIX System Support
System Support Specialist (AIX, OpenVMS & FreeBSD) for
Co-op Atlantic in Moncton, NB, Canada

My Books:
AIX admin: http://www.redbooks.ibm.com/abstracts/sg246191.html
AIX support: http://www.redbooks.ibm.com/abstracts/sg246199.html

Please R.U.N.S.A.F.E.
http://www.jmu.edu/computing/runsafe







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked