ACKNOWLEDGE problem.
DOUCE Sebastien
sebastien.douce at c-s.fr
Tue May 22 09:42:15 CEST 2007
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070522/46928b1f/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list