In <0362AE866EBF9B4B964BD6C9652E8D9104FBC466 at kfmex22p.ud1.utility> <Chris.Morris at rwe.com> writes:
Is there a way in xymon-4.3.0.beta3 to drop the DESCR field appearing next to the hostname on the Critical Systems view?
No, but there will be in the final 4.3.0. Patch below - just add "--tooltips" to the CGI_CRITVIEW_OPTS setting to enable it. Regards, Henrik Index: web/criticalview.cgi.1 =================================================================== --- web/criticalview.cgi.1 (revision 6590) +++ web/criticalview.cgi.1 (working copy) @@ -25,6 +25,11 @@ page. Note that this may be overridden by the configuration of the ackinfo.cgi utility. +.IP "--tooltips" +Hide the host description in a "tooltip", i.e. it will be shown when your +mouse hovers over the hostname on the webpage. This saves space on the +display so there is more room for the status columns. + .IP "--env=FILENAME" Loads the environment defined in FILENAME before executing the CGI script. Index: web/criticalview.c =================================================================== --- web/criticalview.c (revision 6590) +++ web/criticalview.c (working copy) @@ -32,6 +32,7 @@ static RbtHandle rbstate; static time_t oldlimit = 3600; static int critacklevel = 1; +static int usetooltips = 0; void errormsg(char *s) { @@ -203,7 +204,7 @@ fprintf(output, "</TD>\n"); /* Print the hostname with a link to the critical systems info page */ - fprintf(output, "<TD ALIGN=LEFT>%s</TD>\n", hostnamehtml(itm->hostname, NULL, 0)); + fprintf(output, "<TD ALIGN=LEFT>%s</TD>\n", hostnamehtml(itm->hostname, NULL, usetooltips)); key = (char *)malloc(strlen(itm->hostname) + 1024); for (colhandle = rbtBegin(columns); (colhandle != rbtEnd(columns)); colhandle = rbtNext(columns, colhandle)) { @@ -413,6 +414,9 @@ else if (strcmp(argv[argi], "--debug") == 0) { debug = 1; } + else if (strcmp(argv[argi], "--tooltips") == 0) { + usetooltips = 1; + } else if (argnmatch(argv[argi], "--acklevel=")) { char *p = strchr(argv[argi], '='); critacklevel = atoi(p+1);