Soft states skipped in reports

Strickland, Kristian nagios at co-opsonline.com
Wed Jan 5 19:22:42 CET 2005


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




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt




More information about the Developers mailing list