Re: [Nagios-users] SMTP problem
On Thu, 2007-08-16 at 12:03 +0530, Sukesh /IT/BLR/JIG/IN wrote: > Hi Please let me know how to configure SMTP settings in Nagios. > > Unable to receive e-mail alerts in nagios. Using this version > > > > nagios-3.0a4. > Edit /etc/nagios/contacs.cfg and follow the sample. # 'nagios' contact definition #define contact{ # contact_namenagios # alias Nagios Admin # service_notification_period 24x7 # host_notification_period24x7 # service_notification_optionsw,u,c,r # host_notification_options d,u,r # service_notification_commands notify-by-email,notify-by-epager # host_notification_commands host-notify-by-email,host-notify-by-epager # email [EMAIL PROTECTED] # pager [EMAIL PROTECTED] # } -- Lev Lafayette Internet Vision Technologies Level 1, 520 Dorset Road Croydon, VIC 3136 Ph: +61 3 9723 9399 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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] too many Notifications
On Wed, 2007-07-04 at 23:49 -0700, Lalita Drolia wrote: > Hi, > > > > I know already a lot has been discussed on the notifications topic but > I am sorry I still want to ask this. > > I would like to receive only one notification when a host goes down > and one when it comes up, even if there maybe a gap of days in > between. > > I have read about the concept of escalations but I am not sure if it > will solve the purpose. > > Can you please suggest me how we can do this. > > > > Thank you in advance. > > Lalita. > Hi Lalita, Edit the hosts.cfg file as appropriate; especially the notification_interval notification_period and most of all notification_options HTH, Lev - 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] Nested notifications; parent vis-a-vis parent_host
On Tue, 2007-07-03 at 22:23 -0400, Morris, Patrick wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:nagios-users- > > [EMAIL PROTECTED] On Behalf Of Lev Lafayette > > Sent: Tuesday, July 03, 2007 6:29 PM > > To: nagios-users@lists.sourceforge.net > > Subject: Re: [Nagios-users] Nested notifications;parent vis-a-vis > > parent_host > > > > > > However, when the parent machine goes down, all the VMs (for > > obvious > > > > reasons) send out a "Oh Noes!" message as well. This is not > wanted. > > > > > > > > > > Shouldn't happen if your host checks work properly and you have the > > > parents directive properly set up to match your environment. > > > > > > > To be more specific, when a border-router or similar goes down, > > unreachable notifications are sent out for a number of connected > > machines, vms and so forth; which is pretty obvious imo... This seems > > to > > be the main issue DOWNs leading to UNREACHABLES. > > If you don't want the UNREACHABLE alerts, just disable them. Yeah, I've done that. Just does seem to be pretty redundant to send out UNREACHABLE alerts when a parent is DOWN, imo... :-) All the best, Lev - 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] Nested notifications; parent vis-a-vis parent_host
On Tue, 2007-07-03 at 10:13 -0500, Marc Powell wrote: Hi Marc, > > However, when the parent machine goes down, all the VMs (for obvious > > reasons) send out a "Oh Noes!" message as well. This is not wanted. > > > > Shouldn't happen if your host checks work properly and you have the > parents directive properly set up to match your environment. > To be more specific, when a border-router or similar goes down, unreachable notifications are sent out for a number of connected machines, vms and so forth; which is pretty obvious imo... This seems to be the main issue DOWNs leading to UNREACHABLES. > > Now the nagios documentation, dating back from the netsaint days, says > > the system to walk a dependency path using parent_host... however the > > hosts.cfg has entries like the following: > > Why are you reading netsaint docuementation? It's incredibly outdated in > general. In this particular regard however, the parents functionality > has remained the same. > Perhaps I wasn't clear; what I meant was the Nagios documentation is very similar indeed to the Netsaint documentation. i.e., Nagios 1.x documention (Last Updated: 10-28-2004), section 'Determining Status and Reachability of Network Hosts', is pretty much a word-for-word copy of the old Netsaint documentation. i.e., compare: http://nagios.sourceforge.net/download/contrib/documentation/english/Nagios_1_0_Docs.pdf and http://www.netsaint.org/download/contrib/docs/netsaint-0.0.7.pdf All the best, Lev - 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] Nested notifications; parent vis-a-vis parent_host
Hey nagios people, Assume I have a happy system of a hypervisor and virtual machines. Further, there's a neat system of when a machine goes down an SMS and email is sent to the responsible person. However, when the parent machine goes down, all the VMs (for obvious reasons) send out a "Oh Noes!" message as well. This is not wanted. Now the nagios documentation, dating back from the netsaint days, says the system to walk a dependency path using parent_host... however the hosts.cfg has entries like the following: define host{ use generic-host; Name of host template to use host_name guestvm1 alias guestvm1 address xxx.xxx.xxx.xxx parents xendom0 check_command check-host-alive } Now presumably, cgis like statusmap.cgi is built from this information. Would changing 'parents' to 'parent_map' in the above fix the dependency walk and notifications? And would it break statusmap.cgi? Thanks in advance, Lev - 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