Bug in cgi/extinfo.c ?

Andre De Deurwaerder andre.dedeurwaerder at uz.kuleuven.ac.be
Wed Aug 12 20:57:52 CEST 2009


Hello all,

I already observed in version 3.0.3 that it is impossible to acknowledge a problem with a service as long as the "warning" or "Critical" state is not "Hard".  On the other hand, problems with hosts can be acknowledged while in "soft" state.

Today I downloaded version 3.1.2. and this still seems to be the case.

Anybody an idea whether this is intentional or is this a bug ?

As far as I can see this can be corrected by changing one line in cgi/extinfo.c:

1581c1581
<               if((temp_svcstatus->status==SERVICE_WARNING || temp_svcstatus->status==SERVICE_UNKNOWN || temp_svcstatus->status==SERVICE_CRITICAL) && temp_svcstatus->state_type==HARD_STATE){
---
>               if(temp_svcstatus->status==SERVICE_WARNING || temp_svcstatus->status==SERVICE_UNKNOWN || temp_svcstatus->status==SERVICE_CRITICAL){

Sincere greetings,


--
André De Deurwaerder
Senior IT architect

andre at uzleuven.be<mailto:andre at uzleuven.be>
+32 16 34 78 81
UZ Leuven | campus Gasthuisberg | Herestraat 49 | B - 3000 Leuven | www.uzleuven.be<http://www.uzleuven.be/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20090812/147e4e1e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list