Patch to status cgi for host/service notes and actions links

Shad L. Lords lists at lordsfam.net
Wed Jun 23 18:33:27 CEST 2004


The attached patch changes the way notes/action links are created.

The new behavior is notes and action links with predefined icons will be 
created for both hosts and services if both are defined.  If only one is 
defined then it tries to link that url to the icon image that is defined. 
If no icon image is defined then it falls back to using the default icon for 
the notes/action.

This makes clicking on the extinfo icon behave more like it did in nagios 
v1.0 unless you have both actions and notes defined.

-Shad 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-2.0-status_links.patch
Type: application/octet-stream
Size: 10813 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20040623/ca85f865/attachment.obj>


More information about the Developers mailing list