Re: [Nagios-users] Exclude Notifications during certian hours
There may be a better way to do this, but I believe this will work. Define a new timeperiod like so: define timeperiod{ timeperiod_nameexclude_nights alias No notifications 00:30-6:30 sunday 00:00-00:29,06:31-24:00 monday 00:00-00:29,06:31-24:00 tuesday00:00-00:29,06:31-24:00 wednesday 00:00-00:29,06:31-24:00 thursday 00:00-00:29,06:31-24:00 friday 00:00-00:29,06:31-24:00 saturday 00:00-00:29,06:31-24:00 } Then in the appropriate host definitions add 'check_period exclude_nights'. Alex Griffin --- Tech Team agrif...@nagios.com Andrew Thompson wrote: Hi all, I have all my servers (approx. 70) monitored by PING using the 24x7 time period and notifications set to 24x7. Im happy with this as I want to know when my servers go down at all times as a lot are critical and under strict SLA’s. However I have the need to exclude notifications for 1 physical host and 6 virtual hosts that sit on this physical host during the hours of 00:30-06:30 every night. These machines are not under any SLA and often reboot during the night for various reasons and I’m done with waking up at all hours for these non-critical servers! What is the quickest way for me to exclude these 7 hosts from notifying during these hours whilst leaving all other servers at 24x7? Ive had a read the nagios docs but it didn’t really help me as I didn’t really understand it. I have edited my server.cfg to show the scenario I want to achieve and that can be found at the link below. http://dl.dropbox.com/u/895609/servers.cfg The layout etc is identical to my live configs, I have just edited the number of hosts/names/contacts etc (the 3 hosts named NOT CRITICAL are the example for the “7 hosts” I first talked about) What is the quickest and most effective way for me to keep checking ALL my servers 24x7 and notifying 24x7, BUT exclude 7 particular servers from checks/notifications between 00:30-06:30 every night? Thanks in advance for your help. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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 -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ 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] Exclude Notifications during certian hours
Hi all, I have all my servers (approx. 70) monitored by PING using the 24x7 time period and notifications set to 24x7. Im happy with this as I want to know when my servers go down at all times as a lot are critical and under strict SLA's. However I have the need to exclude notifications for 1 physical host and 6 virtual hosts that sit on this physical host during the hours of 00:30-06:30 every night. These machines are not under any SLA and often reboot during the night for various reasons and I'm done with waking up at all hours for these non-critical servers! What is the quickest way for me to exclude these 7 hosts from notifying during these hours whilst leaving all other servers at 24x7? Ive had a read the nagios docs but it didn't really help me as I didn't really understand it. I have edited my server.cfg to show the scenario I want to achieve and that can be found at the link below. http://dl.dropbox.com/u/895609/servers.cfg The layout etc is identical to my live configs, I have just edited the number of hosts/names/contacts etc (the 3 hosts named NOT CRITICAL are the example for the 7 hosts I first talked about) What is the quickest and most effective way for me to keep checking ALL my servers 24x7 and notifying 24x7, BUT exclude 7 particular servers from checks/notifications between 00:30-06:30 every night? Thanks in advance for your help. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ 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] Exclude Notifications during certian hours
1) Create a time period that excludes the hours you do not want to be monitoring those hosts. 2) assign those hosts to a host group 3) assign a ping test with the modified timeperiod to those hosts . Andrew Thompson wrote: Hi all, I have all my servers (approx. 70) monitored by PING using the 24x7 time period and notifications set to 24x7. Im happy with this as I want to know when my servers go down at all times as a lot are critical and under strict SLA’s. However I have the need to exclude notifications for 1 physical host and 6 virtual hosts that sit on this physical host during the hours of 00:30-06:30 every night. These machines are not under any SLA and often reboot during the night for various reasons and I’m done with waking up at all hours for these non-critical servers! What is the quickest way for me to exclude these 7 hosts from notifying during these hours whilst leaving all other servers at 24x7? Ive had a read the nagios docs but it didn’t really help me as I didn’t really understand it. I have edited my server.cfg to show the scenario I want to achieve and that can be found at the link below. http://dl.dropbox.com/u/895609/servers.cfg The layout etc is identical to my live configs, I have just edited the number of hosts/names/contacts etc (the 3 hosts named NOT CRITICAL are the example for the “7 hosts” I first talked about) What is the quickest and most effective way for me to keep checking ALL my servers 24x7 and notifying 24x7, BUT exclude 7 particular servers from checks/notifications between 00:30-06:30 every night? Thanks in advance for your help. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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 -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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