Hi,
I actually use automatic acknoledgement for notification.
All is working for each type of alerts.
But when an alert is acknowleged to state Warning, when status to Critical
change i receive no notification.
I use the external command :
#!/bin/sh
# This is a sample shell script showing how you can submit the
ENABLE_SVC_NOTIFICATIONS command
# to Nagios. Adjust variables to fit your environment as necessary.
now=`date +%s`
commandfile='/usr/local/nagios/var/rw/nagios.cmd'
/usr/bin/printf "[%lu]
ACKNOWLEDGE_SVC_PROBLEM;$1;$2;0;0;0;NAGIOS;DISABLE_AUTOMATIQUE\n" $now >>
$commandfile
I tried to change parameters , but nothing append.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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