Author: glen
Date: Tue Apr 8 13:20:29 2008
New Revision: 9698
Modified:
nagios-notify/trunk/nagios-notify.cfg
Log:
- move nagios notify outside $PATH as reqires nagios internal vars to operate
properly
Modified: nagios-notify/trunk/nagios-notify.cfg
==============================================================================
--- nagios-notify/trunk/nagios-notify.cfg (original)
+++ nagios-notify/trunk/nagios-notify.cfg Tue Apr 8 13:20:29 2008
@@ -12,39 +12,39 @@
# notify by email
define command {
command_name notify-by-email
- command_line /usr/sbin/nagios-notify notify-by-email |
/usr/lib/sendmail -oi -t
+ command_line /usr/lib/nagios/nagios-notify notify-by-email |
/usr/lib/sendmail -oi -t
}
define command {
command_name host-notify-by-email
- command_line /usr/sbin/nagios-notify host-notify-by-email |
/usr/lib/sendmail -oi -t
+ command_line /usr/lib/nagios/nagios-notify host-notify-by-email |
/usr/lib/sendmail -oi -t
}
# notify by sms
define command {
command_name host-notify-by-sms
- command_line /usr/sbin/nagios-notify host-notify-by-sms |
/usr/lib/sendmail -oi -t
+ command_line /usr/lib/nagios/nagios-notify host-notify-by-sms |
/usr/lib/sendmail -oi -t
}
define command {
command_name notify-by-sms
- command_line /usr/sbin/nagios-notify notify-by-sms |
/usr/lib/sendmail -oi -t
+ command_line /usr/lib/nagios/nagios-notify notify-by-sms |
/usr/lib/sendmail -oi -t
}
# notify by jabber
define command {
command_name host-notify-by-jabber
- command_line /usr/sbin/nagios-notify host-notify-by-jabber |
/usr/sbin/nagios-notify-jabber -a $USER6$ $CONTACTADDRESS1$
+ command_line /usr/lib/nagios/nagios-notify host-notify-by-jabber |
/usr/sbin/nagios-notify-jabber -a $USER6$ $CONTACTADDRESS1$
}
define command {
command_name notify-by-jabber
- command_line /usr/sbin/nagios-notify notify-by-jabber |
/usr/sbin/nagios-notify-jabber -a $USER6$ $CONTACTADDRESS1$
+ command_line /usr/lib/nagios/nagios-notify notify-by-jabber |
/usr/sbin/nagios-notify-jabber -a $USER6$ $CONTACTADDRESS1$
}
# notify by eggdrop
define command {
command_name host-notify-by-eggdrop
- command_line /usr/sbin/nagios-notify host-notify-by-eggdrop |
/usr/bin/t0xirc -u $USER8$ -p $USER9$ -h localhost -P 3333 -c '$CONTACTPAGER$'
+ command_line /usr/lib/nagios/nagios-notify host-notify-by-eggdrop |
/usr/bin/t0xirc -u $USER8$ -p $USER9$ -h localhost -P 3333 -c '$CONTACTPAGER$'
}
define command {
command_name notify-by-eggdrop
- command_line /usr/sbin/nagios-notify notify-by-eggdrop |
/usr/bin/t0xirc -u $USER8$ -p $USER9$ -h localhost -P 3333 -c '$CONTACTPAGER$'
+ command_line /usr/lib/nagios/nagios-notify notify-by-eggdrop |
/usr/bin/t0xirc -u $USER8$ -p $USER9$ -h localhost -P 3333 -c '$CONTACTPAGER$'
}
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit