On 10/19/07, Roger <[EMAIL PROTECTED]> wrote: > Perfect, thanks! > > I see it here: > > /usr/bin/printf "%b" "***** Nagios 2.9 *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | > /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$
Eventually, I will probably have to temporarily modify (i.e. redefine) some of these variables (via another PHP program). I looked through this doc http://nagios.sourceforge.net/docs/2_0/macros.html and couldn't quite understand where exactly these variables "lived". Is there a sort of API or something that I might use to, say, temporarily change the contact user? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
