patch: total macros

Matthew Kent mkent at magoazul.com
Tue Oct 19 06:16:29 CEST 2004


Enclosed is a patch (against latest cvs) to add some more macros,
similar values to what tac.cgi displays, for use in notifications. They
are filtered appropriately for the permissions of the contact being
notified.

This adds: 
$TOTALSERVICEOK$
$TOTALSERVICEWARNING$
$TOTALSERVICEUNKNOWN$
$TOTALSERVICECRITICAL$
$TOTALSERVICEWARNINGUNHANDLED$
$TOTALSERVICEUNKNOWNUNHANDLED$
$TOTALSERVICECRITICALUNHANDLED$

$TOTALHOSTUP$
$TOTALHOSTDOWN$
$TOTALHOSTUNREACHABLE$
$TOTALHOSTDOWNUNHANDLED$
$TOTALHOSTUNREACHABLEUNHANDLED$  

I've also included a patch to add the appropriate documentation.
-- 
Matthew Kent <mkent at magoazul.com>
http://magoazul.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-2.0a1-total_macros.patch
Type: text/x-patch
Size: 13508 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041019/0c149ea9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-2.0a1-total_macros_docs.patch
Type: text/x-patch
Size: 8349 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041019/0c149ea9/attachment-0001.bin>


More information about the Developers mailing list