Page 1 of 1

[Nagios-devel] [PATCH] Fix the description of

Posted: Fri Jun 18, 2010 1:13 pm
by Guest
The SCHEDULE_HOST_SVC_DOWNTIME command only schedules downtimes for all
services defined on the specified host, not for the host itself.
---
http://old.nagios.org/developerinfo/ext ... and_id=122
says: "Schedules downtime for all services associated with a particular
host." (And that's what the command does indeed.)

cgi/extinfo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cgi/extinfo.c b/cgi/extinfo.c
index 7c9c7e7..38f98cf 100644
--- a/cgi/extinfo.c
+++ b/cgi/extinfo.c
@@ -1265,7 +1265,7 @@ void show_host_info(void){

printf("Schedule downtime for this host\n",url_images_path,DOWNTIME_ICON,COMMAND_CGI,CMD_SCHEDULE_HOST_DOWNTIME,url_encode(host_name));

- printf("Schedule downtime for this host and all services\n",url_images_path,DOWNTIME_ICON,COMMAND_CGI,CMD_SCHEDULE_HOST_SVC_DOWNTIME,url_encode(host_name));
+ printf("Schedule downtime for all services on this host\n",url_images_path,DOWNTIME_ICON,COMMAND_CGI,CMD_SCHEDULE_HOST_SVC_DOWNTIME,url_encode(host_name));

/*
printf("Cancel scheduled downtime for this host\n",url_images_path,SCHEDULED_DOWNTIME_ICON,COMMAND_CGI,CMD_CANCEL_HOST_DOWNTIME,url_encode(host_name));
--
1.7.1





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