--========GMX154611232988829414701
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Hi list,
if someone is missing the Check Period column in the Hosts section:
here is the patch...
Regards
Bernd
--
NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL
für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
--========GMX154611232988829414701
Content-Type: text/x-patch; charset="iso-8859-15";
name="viewconfig-hosts-checkperiod-patch.diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment;
filename="viewconfig-hosts-checkperiod-patch.diff"
? viewconfig-hosts-checkperiod-patch.diff
? html/config.inc.php
Index: cgi/config.c
===================================================================
RCS file: /cvsroot/nagios/nagios/cgi/config.c,v
retrieving revision 1.48
diff -U3 -r1.48 config.c
--- cgi/config.c 25 Jan 2009 14:42:34 -0000 1.48
+++ cgi/config.c 26 Jan 2009 16:46:24 -0000
@@ -434,6 +434,7 @@
printf("Check Interval\n");
printf("Retry Interval\n");
printf("Host Check Command");
+ printf("Check Period");
printf("Obsess Over\n");
printf("Enable Active Checks\n");
printf("Enable Passive Checks\n");
@@ -514,6 +515,13 @@
printf("%s\n",CONFIG_CGI,url_encode(temp_host->host_check_command),html_encode(temp_host->host_check_command,FALSE));
printf("\n");
+ printf("",bg_class);
+ if(temp_host->check_period==NULL)
+ printf(" ");
+ else
+ printf("%s",CONFIG_CGI,url_encode(temp_host->check_period),temp_host->check_period);
+ printf("\n");
+
printf("%s\n",bg_class,(temp_host->obsess_over_host==TRUE)?"Yes":"No");
printf("%s\n",bg_class,(temp_host->checks_enabled==TRUE)?"Yes":"No");
--========GMX154611232988829414701--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]