Re: [Nagios-users] Nagios check frequency
On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: Hello Nagios users, I would like Nagios to increase the check frequency once the service is in a critical state. For example, if a check has a frequency of every 60 minutes, once it has reached a critical state, I want the check frequency to run at, say, every 10 minutes until the check has reached an OK state. Use retry_interval. I have set the max_check_attempts to three, and wanted to know if this is the case when nrpe times out. Does it check nrpe checks 3 times even if it times out on the first attempt? That depends on how you've configured it. Timeouts doesn't matter in the slightest for Nagios' scheduling logic though, so it will run the check 3 times if that's what you've configured. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- 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
Re: [Nagios-users] Nagios check frequency
Hi Andreas, Thanks for the reply. The retry_interval will retry to ensure the service is actually down, which is the case here. This is set to three in my configuration. However, once it exceeds retry_interval and the service is deemed as not-OK, it is then that I want it to increase the check frequency. I couldn't find anything in the documentation. Regards, Wadud. -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Monday, January 23, 2012 12:20 PM To: Nagios Users List Cc: Wadud Miah (ITCS) Subject: Re: [Nagios-users] Nagios check frequency On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: Hello Nagios users, I would like Nagios to increase the check frequency once the service is in a critical state. For example, if a check has a frequency of every 60 minutes, once it has reached a critical state, I want the check frequency to run at, say, every 10 minutes until the check has reached an OK state. Use retry_interval. I have set the max_check_attempts to three, and wanted to know if this is the case when nrpe times out. Does it check nrpe checks 3 times even if it times out on the first attempt? That depends on how you've configured it. Timeouts doesn't matter in the slightest for Nagios' scheduling logic though, so it will run the check 3 times if that's what you've configured. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- 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
Re: [Nagios-users] Nagios check frequency
Hi Wadud copy/paste: External Command Check Interval Format: command_check_interval=xxx[s] Example: command_check_interval=1 If you specify a number with an s appended to it (i.e. 30s), this is the number of seconds to wait between external command checks. If you leave off the s, this is the number of time units to wait between external command checks. Unless you’ve changed the interval_length value (as defined below) from the default value of 60, this number will mean minutes. Note: By setting this value to -1, Nagios will check for external commands as often as possible. Each time Nagios checks for external commands it will read and process all commands present in the command file before continuing on with its other duties. More information on external commands can be found here. Best regards On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: Hello Nagios users, I would like Nagios to increase the check frequency once the service is in a critical state. For example, if a check has a frequency of every 60 minutes, once it has reached a critical state, I want the check frequency to run at, say, every 10 minutes until the check has reached an OK state. I have set the max_check_attempts to three, and wanted to know if this is the case when nrpe times out. Does it check nrpe checks 3 times even if it times out on the first attempt? Thanks in advance for your help. Wadud. -- 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 -- 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
Re: [Nagios-users] Nagios check frequency
Wadud, Surely, a check frequency of 60 minutes is not a good idea since, it could be that the node has been down for an hour before anyone knows anything about it ? I would recommend checking every 10 minutes to start with since that is the frequency you'd want to check if it was a NON-OK status anyway. You can set your notifications to be a longer period between checks which is how I configure Nagios. We check a database every 20 minutes for example, for RAM usage, but only notify every 4 hours. So, users still get the initial alert that ram usage has breached a threshold but are only reminded every 4 hours. And of course, if there is a recovery to an OK status within that 4 hours, users would be emailed as well. It works well for us and doesn't bombard users with emails either which means they are less likely to filter nagios alerts into the Deleted email folder. Of course, you probably have an excellent reason for only checking every 60 minutes which I haven't thought of so this is really just my tuppence worth! Regards, Deborah -Original Message- From: Wadud Miah (ITCS) [mailto:w.m...@uea.ac.uk] Sent: 23 January 2012 12:24 To: Andreas Ericsson; Nagios Users List Subject: Re: [Nagios-users] Nagios check frequency Hi Andreas, Thanks for the reply. The retry_interval will retry to ensure the service is actually down, which is the case here. This is set to three in my configuration. However, once it exceeds retry_interval and the service is deemed as not-OK, it is then that I want it to increase the check frequency. I couldn't find anything in the documentation. Regards, Wadud. -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Monday, January 23, 2012 12:20 PM To: Nagios Users List Cc: Wadud Miah (ITCS) Subject: Re: [Nagios-users] Nagios check frequency On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: Hello Nagios users, I would like Nagios to increase the check frequency once the service is in a critical state. For example, if a check has a frequency of every 60 minutes, once it has reached a critical state, I want the check frequency to run at, say, every 10 minutes until the check has reached an OK state. Use retry_interval. I have set the max_check_attempts to three, and wanted to know if this is the case when nrpe times out. Does it check nrpe checks 3 times even if it times out on the first attempt? That depends on how you've configured it. Timeouts doesn't matter in the slightest for Nagios' scheduling logic though, so it will run the check 3 times if that's what you've configured. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- 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 Complimentary Events and Webinars on In-Memory, Massively Parallel Processing and 'In the Cloud' - for more information click here This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused -- 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
Re: [Nagios-users] Nagios check frequency
Try retry_check_interval: http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg02734.html Frank -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Monday, January 23, 2012 6:20 AM To: Nagios Users List Cc: Wadud Miah (ITCS) Subject: Re: [Nagios-users] Nagios check frequency On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: Hello Nagios users, I would like Nagios to increase the check frequency once the service is in a critical state. For example, if a check has a frequency of every 60 minutes, once it has reached a critical state, I want the check frequency to run at, say, every 10 minutes until the check has reached an OK state. Use retry_interval. I have set the max_check_attempts to three, and wanted to know if this is the case when nrpe times out. Does it check nrpe checks 3 times even if it times out on the first attempt? That depends on how you've configured it. Timeouts doesn't matter in the slightest for Nagios' scheduling logic though, so it will run the check 3 times if that's what you've configured. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- 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 -- Keep Your Developer Skills Current with LearnDevNow! 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-d2d ___ 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] nagios check frequency
-Original Message- From: Anirudh Srinivasan [mailto:srianir...@gmail.com] Sent: Monday, March 09, 2009 4:23 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagios check frequency Which parameter determine the time between two service checks. i.e let me give an example . For Disk usage check i see that the time between two checks is Check Duration:0.374 seconds This is the time it took to actually run the last check, not the duration between checks. There are so many parameters that its confusing. You'll soon recognize the usual suspects. If thats the case what is the excat parameter to look at normal_check_interval. - Marc -- 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