Re: [Nagios-devel] Minor Patch to show Host IPs in status.cgi
Posted: Mon Apr 09, 2007 10:18 am
Marcus Fleige wrote:
> Hi List,
>
> I recently modfied the status.c(gi) file to satisfy our needs at work.
> As we mainly handle our monitoring by the "Service Problems"- and "Host
> Groups"- View, we realized it would be nice to have the address of the
> problem hosts in the view to save one click and keep the problem view in
> the foreground.
>
> Therefore, i modified the html output and added a 'title'-attribute to
> the host link, filled with the value of 'temp_host->address'. Most
> Browsers pop up this title on mouseover over the hostname.
>
> I tested this with
>
> Linux:
> - Opera 9.10
> - Firefox 2.0.0.2
> - Konqueror 3.5.5
>
> Windows:
> - Opera 9.00
> - Firefox 2.0.0.3
> - IE 6.0
>
> without problems.
>
> I know this is only a _very_ minor change, but it's useful for us and
> maybe others find this helpful, too. As I'm not very familar with
> C-coding or posting to devel-lists, comments are welcome.
>
> Regards,
>
> Marcus Fleige
>
>
Nice idea! Patch will be in CVS shortly.
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> Hi List,
>
> I recently modfied the status.c(gi) file to satisfy our needs at work.
> As we mainly handle our monitoring by the "Service Problems"- and "Host
> Groups"- View, we realized it would be nice to have the address of the
> problem hosts in the view to save one click and keep the problem view in
> the foreground.
>
> Therefore, i modified the html output and added a 'title'-attribute to
> the host link, filled with the value of 'temp_host->address'. Most
> Browsers pop up this title on mouseover over the hostname.
>
> I tested this with
>
> Linux:
> - Opera 9.10
> - Firefox 2.0.0.2
> - Konqueror 3.5.5
>
> Windows:
> - Opera 9.00
> - Firefox 2.0.0.3
> - IE 6.0
>
> without problems.
>
> I know this is only a _very_ minor change, but it's useful for us and
> maybe others find this helpful, too. As I'm not very familar with
> C-coding or posting to devel-lists, comments are welcome.
>
> Regards,
>
> Marcus Fleige
>
>
Nice idea! Patch will be in CVS shortly.
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]