Re: [Nagios-users] Email to Voice
Shameless plug: http://www.linuxjournal.com/content/custom-checks-and-notifications-nagios This is an article I wrote some time ago that shows you how to get a phone call from asterisk/nagios in the event of a fault. You simply record a voice message and there you go. Mike Diehl. On Tue, 2009-03-03 at 22:57 +, Martyn wrote: Although I'm new and still setting up how I want to monitor my Servers and Routers, it got me thinking about texts that I receive whilst I'm in bed, I'm so used to getting a text statement from my bank that I now sleep through them, so text alerts are not sufficient enough for me to lift my head of my pillow if there was a fault. Does anybody know of a company that offers email to voice service, this way I get Nagios to send an email to a server which in turn call my mobile and will play me an alert of some kind. Cheers Martyn -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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 -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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
Re: [Nagios-users] Not getting notifications
Well, I corrected the notification_options lines and I'm still not getting anything... service_notification_optionsu,r,f host_notification_options d,u,r,f What ELSE am I missing? grin Thanx for your time and help, Mike On Thursday 07 June 2007 00:33, Morris, Patrick wrote: I'm setting up a new nagios server and I just can't seem to get it to notify me. Right now, I'd even be happy to get notified by email, but I've got nothing. The service checks to turn red and green as expected, though. Here is a typical contacts definition: === define contact { # use daytime_page contact_namemdiehl alias Mike email [EMAIL PROTECTED] service_notification_optionsf,u host_notification_options f,u service_notification_period 24_7 host_notification_period24_7 service_notification_commands notify-by-email,notify_by_phone host_notification_commands host-notify-by-email,notify_by_phone } You've set this contact to only receiving flapping and unknown notifications. - 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 -- Mike Diehl - 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
Re: [Nagios-users] Not getting notifications
On Thursday 07 June 2007 08:18:58 pm Janet Post wrote: Hello Mike, You are only allowing Unknown, Recovery, and Flap for service notifications. You should add w (for warning), or c (for critical). Well, I spent the last 2 hours pouring over my config and STILL haven't gotten it working. This time I think I've turned everyting on that can be turned on and still no notification. Hope someone can see something that I've missed. TIA, Here is my revised excerpt: == define contact { contact_namemdiehl alias Mike Diehl email [EMAIL PROTECTED] service_notification_optionsu,r,f,w,c host_notification_options d,u,r,f service_notification_period 24_7 host_notification_period24_7 service_notification_commands notify-by-email,notify_by_phone host_notification_commands host-notify-by-email,notify_by_phone } define service { namegeneric-service host_name dominion service_description Default service check_command check_ping active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 notification_interval 60 notification_period 24_7 notification_optionsw,u,c,r,f normal_check_interval 2 retry_check_interval5 max_check_attempts 3 check_period24_7 contact_groups diehl register0 } define service { use generic-service namewebmin host_name dominion service_description Webmin check_command check_webmin contact_groups diehl notification_optionsw,c,u,r,f notification_period 24_7 } define host{ namegeneric-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 active_checks_enabled 1 check_command check-host-alive max_check_attempts 5 process_perf_data 1 notification_interval 60 notifications_enabled 1 event_handler check_ping register0 } define host { use generic-host host_name dominion alias dominion.diehlnet.com contact_groups diehl,pcc address 10.0.1.1 notifications_enabled 1 notification_optionsd,u,r,f notification_interval 10 notification_period 24_7 check_period24_7 max_check_attempts 2 } == -- Mike Diehl - 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
[Nagios-users] Not getting notifications
Hi all. I'm setting up a new nagios server and I just can't seem to get it to notify me. Right now, I'd even be happy to get notified by email, but I've got nothing. The service checks to turn red and green as expected, though. Here is a typical contacts definition: === define contact { # use daytime_page contact_namemdiehl alias Mike email [EMAIL PROTECTED] service_notification_optionsf,u host_notification_options f,u service_notification_period 24_7 host_notification_period24_7 service_notification_commands notify-by-email,notify_by_phone host_notification_commands host-notify-by-email,notify_by_phone } === The user mdiehl is a member of the diehl contact group. And the definition of notify_by_phone: === define command{ command_namenotify_by_phone command_line/etc/nagios/local/notify_by_phone.pl } === And finally, a typical service definition: === define service { use generic-service namewebmin host_name dominion service_description Webmin check_command check_webmin notification_optionsw,c,u contact_groups diehl } === Any ideas what I'm doing wrong? TIA, -- Mike Diehl - 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