Author: glen
Date: Fri Aug 4 02:02:32 2006
New Revision: 7583
Added:
nagios-notify/trunk/nagios-notify.cfg
Log:
- sample nagios config
Added: nagios-notify/trunk/nagios-notify.cfg
==============================================================================
--- (empty file)
+++ nagios-notify/trunk/nagios-notify.cfg Fri Aug 4 02:02:32 2006
@@ -0,0 +1,41 @@
+# vim:syn=nagios
+
+# notify by email
+define command {
+ command_name notify-by-email
+ command_line /usr/sbin/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
+}
+
+# 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
+}
+define command {
+ command_name notify-by-sms
+ command_line /usr/sbin/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/bin/nagios-jabber.alert -J $USER6$ -P $USER7$ $CONTACTADDRESS1$
+}
+define command {
+ command_name notify-by-jabber
+ command_line /usr/sbin/nagios-notify notify-by-jabber |
/usr/bin/nagios-jabber.alert -J $USER6$ -P $USER7$ $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$'
+}
+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$'
+}
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit