statuswml

Ethan Galstad nagios at nagios.org
Thu Dec 1 17:32:52 CET 2005


Thanks!  Patch will be in CVS shortly.

On 1 Dec 2005 at 16:43, Andrea Gabellini wrote:

> Hi,
> 
> I'm using nagios tray, that use the statuswml cgi to get status information. This cgi doesn't report 
> problems on services which are passive check. The normal status cgi instead report this problem. I 
> don't know if this is a bug or a feature. I wrote this little patch that report passive check 
> problems also.
> 
> Andrea
> 
> 
> 
> 
> --- cgi/statuswml.c.orig	2005-08-28 16:01:22.417798000 +0200
> +++ cgi/statuswml.c	2005-08-28 16:27:02.270983000 +0200
> @@ -1397,8 +1397,8 @@
>   		if(display_type==DISPLAY_UNHANDLED_PROBLEMS){
>   			if(temp_hoststatus->problem_has_been_acknowledged==TRUE)
>   				continue;
> -			if(temp_hoststatus->checks_enabled==FALSE)
> -				continue;
> +//			if(temp_hoststatus->checks_enabled==FALSE)
> +//				continue;
>   			if(temp_hoststatus->notifications_enabled==FALSE)
>   				continue;
>   			if(temp_hoststatus->scheduled_downtime_depth>0)
> @@ -1446,8 +1446,8 @@
>   		if(display_type==DISPLAY_UNHANDLED_PROBLEMS){
>   			if(temp_servicestatus->problem_has_been_acknowledged==TRUE)
>   				continue;
> -			if(temp_servicestatus->checks_enabled==FALSE)
> -				continue;
> +//			if(temp_servicestatus->checks_enabled==FALSE)
> +//				continue;
>   			if(temp_servicestatus->notifications_enabled==FALSE)
>   				continue;
>   			if(temp_servicestatus->scheduled_downtime_depth>0)
> 
> -- 
> 
> ---------------------------------------
> If you and your partner always agree, one of you is unnecessary.
> ---------------------------------------
> Ing. Andrea Gabellini
> Email: andrea.gabellini at telecomitalia.sm
> Tel: 0549 886111 (Italy)
> Tel. +378 0549 886111 (International)
> 
> Telecom Italia San Marino S.p.A.
> Strada degli Angariari, 3
> 47891 Rovereta
> Repubblic of San Marino
> 
> http://www.omniway.sm  http://www.telecomitalia.sm
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> 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
> 
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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