[Nagios-users] Nagios check frequency
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
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
[Nagios-users] Windows Active Sessions
Does anyone know how to return the number of active sessions from a Windows Terminal server? I have installed the NSClient++ service on the Windows server and obviously have the NRPE plugin installed on my Nagios host. Regards, Rab. = Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus PlaceEmail: r...@walkermartyn.co.uk mailto:r...@walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk http://www.walkermartyn.co.uk/ = The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administra...@walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. -- 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] Marco Wiese/BEIT GmbH ist außer Haus.
Ich werde vom 23.01.2012 bis einschließlich 27.01.2012 nicht im Büro sein. Ich werde Ihre Nachricht nach meiner Rückkehr schnellstmöglich beantworten. -- I will be out of the office starting 23/09/2011 and will not return until 30/09/2011. I will answer your message after my return.-- 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] Windows Active Sessions
On 23 January 2012 13:09, Robert Jackson r...@walkermartyn.co.uk wrote: Does anyone know how to return the number of active sessions from a Windows Terminal server? I have installed the NSClient++ service on the Windows server and obviously have the NRPE plugin installed on my Nagios host. Rab, if I've understood correctly then you can query a Windows performance counter. I use an entry in the NSClient++ config file in the [External Alias] section that looks like this:- alias_CheckCounter-ts_act_sess=CheckCounter Counter:sessions=\Terminal Services\Active Sessions ShowAll MaxWarn=40 MaxCrit=50 Then on the Nagios side, the command is simply check_nrpe -H thehostname -c alias_CheckCounter-ts_act_sess So the command definition in Nagios is:- define command{ command_namecheck_nrpe command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ } And the service definition looks something like this:- define service{ use srv-pnp,generic-service host_name myhost service_description TS_Active_Sessions check_command check_nrpe!-c ts_act_sess notes Number of Terminal Services Active Sessions contact_groupsnotify-engineers } There are lots of similar ways to do this sort of think using NSClient++. Precisely how you set it up depends a bit on how obsessive you are about security and your particular preference. The method shown above means you can have allow_arguments=0 and allow_nasty_meta_chars=0 in the [nrpe] section which is good for security. The downside is that if you need to change the warning theshold, you have to edit the nsc.ini file on the target system. hth, Jim -- 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] Windows Active Sessions
Hi Jim, Many thanks for the excellent reply. I'll give it a bash and see if I can get it going. -Original Message- From: Jim Avery [mailto:j...@jimavery.me.uk] Sent: Monday 23 January 2012 13:43 To: Nagios Users List Subject: r...@walkermartyn.co.uk - Re: [Nagios-users] Windows Active Sessions - Bayesian Filter detected spam On 23 January 2012 13:09, Robert Jackson r...@walkermartyn.co.uk wrote: Does anyone know how to return the number of active sessions from a Windows Terminal server? I have installed the NSClient++ service on the Windows server and obviously have the NRPE plugin installed on my Nagios host. Rab, if I've understood correctly then you can query a Windows performance counter. I use an entry in the NSClient++ config file in the [External Alias] section that looks like this:- alias_CheckCounter-ts_act_sess=CheckCounter Counter:sessions=\Terminal Services\Active Sessions ShowAll MaxWarn=40 MaxCrit=50 Then on the Nagios side, the command is simply check_nrpe -H thehostname -c alias_CheckCounter-ts_act_sess So the command definition in Nagios is:- define command{ command_namecheck_nrpe command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ } And the service definition looks something like this:- define service{ use srv-pnp,generic-service host_name myhost service_description TS_Active_Sessions check_command check_nrpe!-c ts_act_sess notes Number of Terminal Services Active Sessions contact_groupsnotify-engineers } There are lots of similar ways to do this sort of think using NSClient++. Precisely how you set it up depends a bit on how obsessive you are about security and your particular preference. The method shown above means you can have allow_arguments=0 and allow_nasty_meta_chars=0 in the [nrpe] section which is good for security. The downside is that if you need to change the warning theshold, you have to edit the nsc.ini file on the target system. hth, Jim -- 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 The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administra...@walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. -- 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] Windows Active Sessions
There's also an existing plugin for this: check_user_count.bat http://exchange.nagios.org/directory/Plugins/Remote-Access/Count-number-of-terminal-server-sessions/details However I suggest to use checkCounter, as Jim Avery mentioned it. That way you keep independent of additional files. On Mon, Jan 23, 2012 at 2:54 PM, Robert Jackson r...@walkermartyn.co.ukwrote: Hi Jim, Many thanks for the excellent reply. I'll give it a bash and see if I can get it going. -Original Message- From: Jim Avery [mailto:j...@jimavery.me.uk] Sent: Monday 23 January 2012 13:43 To: Nagios Users List Subject: r...@walkermartyn.co.uk - Re: [Nagios-users] Windows Active Sessions - Bayesian Filter detected spam On 23 January 2012 13:09, Robert Jackson r...@walkermartyn.co.uk wrote: Does anyone know how to return the number of active sessions from a Windows Terminal server? I have installed the NSClient++ service on the Windows server and obviously have the NRPE plugin installed on my Nagios host. Rab, if I've understood correctly then you can query a Windows performance counter. I use an entry in the NSClient++ config file in the [External Alias] section that looks like this:- alias_CheckCounter-ts_act_sess=CheckCounter Counter:sessions=\Terminal Services\Active Sessions ShowAll MaxWarn=40 MaxCrit=50 Then on the Nagios side, the command is simply check_nrpe -H thehostname -c alias_CheckCounter-ts_act_sess So the command definition in Nagios is:- define command{ command_namecheck_nrpe command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ } And the service definition looks something like this:- define service{ use srv-pnp,generic-service host_name myhost service_description TS_Active_Sessions check_command check_nrpe!-c ts_act_sess notes Number of Terminal Services Active Sessions contact_groupsnotify-engineers } There are lots of similar ways to do this sort of think using NSClient++. Precisely how you set it up depends a bit on how obsessive you are about security and your particular preference. The method shown above means you can have allow_arguments=0 and allow_nasty_meta_chars=0 in the [nrpe] section which is good for security. The downside is that if you need to change the warning theshold, you have to edit the nsc.ini file on the target system. hth, Jim -- 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 The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administra...@walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. -- 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!
Re: [Nagios-users] Windows Active Sessions
Hi Jim, Managed to get some output, but not what I expected: I (0.3.8.75 2010-05-27) seem to be doing fine I get the same manually running check_nrpe from the Nagios host command line. Any ideas? -Original Message- From: Jim Avery [mailto:j...@jimavery.me.uk] Sent: Monday 23 January 2012 13:43 To: Nagios Users List Subject: r...@walkermartyn.co.uk - Re: [Nagios-users] Windows Active Sessions - Bayesian Filter detected spam On 23 January 2012 13:09, Robert Jackson r...@walkermartyn.co.uk wrote: Does anyone know how to return the number of active sessions from a Windows Terminal server? I have installed the NSClient++ service on the Windows server and obviously have the NRPE plugin installed on my Nagios host. Rab, if I've understood correctly then you can query a Windows performance counter. I use an entry in the NSClient++ config file in the [External Alias] section that looks like this:- alias_CheckCounter-ts_act_sess=CheckCounter Counter:sessions=\Terminal Services\Active Sessions ShowAll MaxWarn=40 MaxCrit=50 Then on the Nagios side, the command is simply check_nrpe -H thehostname -c alias_CheckCounter-ts_act_sess So the command definition in Nagios is:- define command{ command_namecheck_nrpe command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ } And the service definition looks something like this:- define service{ use srv-pnp,generic-service host_name myhost service_description TS_Active_Sessions check_command check_nrpe!-c ts_act_sess notes Number of Terminal Services Active Sessions contact_groupsnotify-engineers } There are lots of similar ways to do this sort of think using NSClient++. Precisely how you set it up depends a bit on how obsessive you are about security and your particular preference. The method shown above means you can have allow_arguments=0 and allow_nasty_meta_chars=0 in the [nrpe] section which is good for security. The downside is that if you need to change the warning theshold, you have to edit the nsc.ini file on the target system. hth, Jim -- 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 The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administra...@walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. -- 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] service / host contact_groups Additive Inheritance
Hi All, I have a questions about Additive Inheritance I have a service that inherits is contact_groups from its host, for this one service I wants to add an additional contact_group(s) but i seem to be having an issue with my understanding of Additive Inheritance an example of the config is define host { ... usegeneric-host } define service { ... contact_groups +extra_group } so without adding the contact_groups to the service, its contacts are 'contact_group1' and 'contact_group2' When adding the contact_groups to the service (with or without the +), its contact groups are are just 'extra_group' if there is a 'contacts' defined for the host the services: When adding the contact_groups to the service (with or without the +), contacts end up being 'contact1', 'extra_group' Should the + or Additive Inheritance not make the service have 'contact_group1' , 'contact_group2' and 'extra_group'? -- -- http://23.me.uk/2 -- --Time flies like an arrow; fruit flies like a banana. -- -- 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] Windows Active Sessions
On 23 January 2012 14:56, Robert Jackson r...@walkermartyn.co.uk wrote: Hi Jim, Managed to get some output, but not what I expected: I (0.3.8.75 2010-05-27) seem to be doing fine I get the same manually running check_nrpe from the Nagios host command line. Any ideas? I've not seen that myself, but a quick google for nsclient++ seem to be doing fine comes up with this. http://www.nsclient.org/nscp/discussion/topic/510 I think that's very likely your solution. -- 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] Nagios is sending critical false alerts about current users
Hello All, Nagios seems to be sending false alerts about few hosts, (ex: There were no users on one host and still Nagios was reporting a critical alert and says 6 users are logged in. How do I fix this one? Also, I have installed nagios and added 12 hosts as a start and monitoring few details on them, how do I send false alerts and check if they are being reported through nagios server? [root@proof etc]# uname -a Linux proof 2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux [root@proof etc]# cat /etc/redhat-release CentOS release 5.7 (Final) [root@proof objects]# /usr/local/nagios/bin/nagios -v Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Usage: /usr/local/nagios/bin/nagios [options] main_config_file Options: -v, --verify-config Verify all configuration data -s, --test-schedulingShows projected/recommended check scheduling and other diagnostic info based on the current configuration files. -x, --dont-verify-paths Don't check for circular object paths - USE WITH CAUTION! -p, --precache-objects Precache object configuration - use with -v or -s options -u, --use-precached-objects Use precached object config file -d, --daemon Starts Nagios in daemon mode, instead of as a foreground process Visit the Nagios website at http://www.nagios.org/ for bug fixes, new releases, online documentation, FAQs, information on subscribing to the mailing lists, and commercial support options for Nagios. [root@proof objects]# /usr/local/nagios/bin/nagiostats Nagios Stats 3.2.3 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 10-03-2010 License: GPL CURRENT STATUS DATA -- Status File:/usr/local/nagios/var/status.dat Status File Age:0d 0h 0m 7s Status File Version:3.2.3 Program Running Time: 0d 1h 16m 58s Nagios PID: 28047 Used/High/Total Command Buffers:0 / 0 / 4096 Total Services: 78 Services Checked: 78 Services Scheduled: 78 Services Actively Checked: 78 Services Passively Checked: 0 Total Service State Change: 0.000 / 12.700 / 1.263 % Active Service Latency: 0.015 / 12.142 / 0.551 sec Active Service Execution Time: 0.005 / 4.028 / 0.678 sec Active Service State Change:0.000 / 12.700 / 1.263 % Active Services Last 1/5/15/60 min: 16 / 44 / 78 / 78 Passive Service Latency:0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min:0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 65 / 0 / 0 / 13 Services Flapping: 0 Services In Downtime: 0 Total Hosts:13 Hosts Checked: 13 Hosts Scheduled:13 Hosts Actively Checked: 13 Host Passively Checked: 0 Total Host State Change:0.000 / 0.000 / 0.000 % Active Host Latency:4.145 / 23.283 / 12.981 sec Active Host Execution Time: 4.008 / 4.016 / 4.010 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min:0 / 13 / 13 / 13 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 13 / 0 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 3 / 22 / 55 Scheduled: 0 / 13 / 33 On-demand: 3 / 9 / 22 Parallel:0 / 13 / 33 Serial: 0 / 0 / 0 Cached: 3 / 9 / 22 Passive Host Checks Last 1/5/15 min:0 / 0 / 0 Active Service Checks Last 1/5/15 min: 16 / 44 / 135 Scheduled: 16 / 44 / 135 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 Thanks Saikrishna -- 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
[Nagios-users] ndomod: Still unable to connect to data sink
Hello list, Since the first time, I am having this problem, when I look at the syslog: it appears [1327288417] ndomod: Still unable to connect to data sink. 3502824 items lost, 5000 queued items to flush. [1327289329] ndomod: Still unable to connect to data sink. 3506486 items lost, 5000 queued items to flush. [1327290241] ndomod: Still unable to connect to data sink. 3510157 items lost, 5000 queued items to flush. [1327290410] Auto-save of retention data completed successfully. As a result, the database is not updating the values, and therefore my nagios semaphore is not working properly. I have tried to restart the machine without much luck. Any hint? Regards, Gabriel -- 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] ndomod: Still unable to connect to data sink
Can you provide some information about your configuration , it might shed some light on your problem? Is the data base active ? did you specify the scheme as specified in the NDO documentation ? On 23/01/12 20:00, Gabriel Angió wrote: Hello list, Since the first time, I am having this problem, when I look at the syslog: it appears [1327288417] ndomod: Still unable to connect to data sink. 3502824 items lost, 5000 queued items to flush. [1327289329] ndomod: Still unable to connect to data sink. 3506486 items lost, 5000 queued items to flush. [1327290241] ndomod: Still unable to connect to data sink. 3510157 items lost, 5000 queued items to flush. [1327290410] Auto-save of retention data completed successfully. As a result, the database is not updating the values, and therefore my nagios semaphore is not working properly. I have tried to restart the machine without much luck. Any hint? Regards, Gabriel -- 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
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