AFAIK it is not configurable. Changing status.c seems the only way so far, something like the following. Line numbers might differ:
@@ -2454,7 +2454,7 @@
printf("<TABLE BORDER=0 cellpadding=0 cellspacing=0>\n");
printf("<TR>\n");
if (!strcmp(temp_host->address6, temp_host->name))
- printf("<TD align=left valign=center CLASS='status%s'><A HREF="" title='%s %s'>%s</A></TD>\n", host_status_bg_class, EXTINFO_CGI, DISPLAY_HOST_INFO, url_encode(temp_status->host_name), temp_host->address, (temp_host->alias != NULL) ? html_encode(temp_host->alias, TRUE) : " ", (temp_host->display_name != NULL) ? html_encode(temp_host->display_name, TRUE) : html_encode(temp_host->name, TRUE));
+ printf("<TD align=left valign=center CLASS='status%s'><A HREF="" title='%s'>%s</A></TD>\n", host_status_bg_class, EXTINFO_CGI, DISPLAY_HOST_INFO, url_encode(temp_status->host_name), temp_host->address, (temp_host->display_name != NULL) ? html_encode(temp_host->display_name, TRUE) : html_encode(temp_host->name, TRUE));
else
printf("<TD align=left valign=center CLASS='status%s'><A HREF="" title='%s,%s'>%s</A></TD>\n", host_status_bg_class, EXTINFO_CGI, DISPLAY_HOST_INFO, url_encode(temp_status->host_name), temp_host->address, temp_host->address6, (temp_host->display_name != NULL) ? html_encode(temp_host->display_name, TRUE) : html_encode(temp_host->name, TRUE));
printf("<TABLE BORDER=0 cellpadding=0 cellspacing=0>\n");
printf("<TR>\n");
if (!strcmp(temp_host->address6, temp_host->name))
- printf("<TD align=left valign=center CLASS='status%s'><A HREF="" title='%s %s'>%s</A></TD>\n", host_status_bg_class, EXTINFO_CGI, DISPLAY_HOST_INFO, url_encode(temp_status->host_name), temp_host->address, (temp_host->alias != NULL) ? html_encode(temp_host->alias, TRUE) : " ", (temp_host->display_name != NULL) ? html_encode(temp_host->display_name, TRUE) : html_encode(temp_host->name, TRUE));
+ printf("<TD align=left valign=center CLASS='status%s'><A HREF="" title='%s'>%s</A></TD>\n", host_status_bg_class, EXTINFO_CGI, DISPLAY_HOST_INFO, url_encode(temp_status->host_name), temp_host->address, (temp_host->display_name != NULL) ? html_encode(temp_host->display_name, TRUE) : html_encode(temp_host->name, TRUE));
else
printf("<TD align=left valign=center CLASS='status%s'><A HREF="" title='%s,%s'>%s</A></TD>\n", host_status_bg_class, EXTINFO_CGI, DISPLAY_HOST_INFO, url_encode(temp_status->host_name), temp_host->address, temp_host->address6, (temp_host->display_name != NULL) ? html_encode(temp_host->display_name, TRUE) : html_encode(temp_host->name, TRUE));
Gesendet: Freitag, 06. September 2013 um 11:37 Uhr
Von: "Simon Oosthoek" <soosth...@nieuwland.nl>
An: icinga-users <icinga-users@lists.sourceforge.net>
Betreff: [icinga-users] change "title" for host/service link
Von: "Simon Oosthoek" <soosth...@nieuwland.nl>
An: icinga-users <icinga-users@lists.sourceforge.net>
Betreff: [icinga-users] change "title" for host/service link
Hi all
I'm using icinga 1.9.3 (in a test setup) and I noticed that the ip
number always shows when I move the mouse over the link for a host in
the status overviews.
I was wondering if and how it would be possible to show other
information there, like e.g. the "alias" string in addition to the ip
number. Is this configurable?
Cheers
Simon
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users
I'm using icinga 1.9.3 (in a test setup) and I noticed that the ip
number always shows when I move the mouse over the link for a host in
the status overviews.
I was wondering if and how it would be possible to show other
information there, like e.g. the "alias" string in addition to the ip
number. Is this configurable?
Cheers
Simon
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users
------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users