[Nagios-users-br] Projeto Nagios na Prática
Olá a todos, Pessoal, como alguns de vocês sabem tenho um blog dedicado ao Nagios, nada mais é do que minha pequena parcela de colaboração a comunidade open source. Gostaria de convidar todos a me ajudarem neste projeto, que é ter um site especializado no Nagios. Quem quiser escrever algum artigo/tutorial/dica sobre o Nagios posso publicar no blog com todos os créditos ao autor. No blog, tenho artigos em seqüência, tutoriais, notícias, dicas e etc. Então pessoal esta feito o convite. * http://www.nagiosnapratica.com.br* -- Att. Luciano Maia Cirilo http://www.nagiosnapratica.com.br LPIC-3 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
Re: [Nagios-users-br] Projeto Nagios na Prática
Em 29/6/2011 19:51, Luciano Maia escreveu: Olá a todos, Pessoal, como alguns de vocês sabem tenho um blog dedicado ao Nagios, nada mais é do que minha pequena parcela de colaboração a comunidade open source. Gostaria de convidar todos a me ajudarem neste projeto, que é ter um site especializado no Nagios. Quem quiser escrever algum artigo/tutorial/dica sobre o Nagios posso publicar no blog com todos os créditos ao autor. No blog, tenho artigos em seqüência, tutoriais, notícias, dicas e etc. Então pessoal esta feito o convite. * http://www.nagiosnapratica.com.br* Legal, muito legal. Poderia contribuir com você ? tenho uma dica que espero a dias para publicar no viva o linux sobre como fazer seu proprio plugin para o Nagios. Gostaria de contribuir. -- Rogério Tomassoni de Araújo Júnior Administrador de redes. Contato: (19) 2101-3000 Ramal: 3150 www.furacao.com.br http://www.furacao.com.br == AVISO DE CONFIDENCIALIDADE Este e-mail e seus anexos são para uso exclusivo do destinatário e podem conter informações confidenciais e/ou legalmente privilegiadas. Não podem ser parcial ou totalmente reproduzidos sem o consentimento do autor. Qualquer divulgação ou uso não autorizado deste e-mail ou seus anexos é proibida. Se você receber esse e-mail por engano, por favor, notifique o remetente e apague-o imediatamente. Ao encaminhar esta mensagem, por favor: 1. Apague o meu e-mail e o meu nome. 2. Apague também os endereços dos amigos antes de reenviar. 3. Encaminhe como cópia oculta (Cco ou Bcc) aos SEUS destinatários. Agindo sempre assim dificultaremos a disseminação de vírus, spams e banners. Obrigado -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
Re: [Nagios-users] Printer error
No i haven't tried it actually i dont know the procedure to do so ,can you guide me regarding it On Wed, Jun 29, 2011 at 6:01 PM, Deborah Martin deborah.mar...@kognitio.com wrote: ** I wouldn't just restart Nagios and hope the problem goes away but try and find out why / where the problem lies. Have you checked by running the plugin itself as the nagios user to ensure it works properly from the command line ? Does the plugin exist in the location that you've configured Nagios to look for it ? Regards, Deborah -- *From:* Wilfred de Bondt [mailto:wilf...@stachanov.com] *Sent:* 29 June 2011 12:36 *To:* Nagios Users List *Subject:* Re: [Nagios-users] Printer error Hi all, ** ** Usually we get this problem after a nagios reload and not a restart. So just stop and start nagios? ** ** Yours faithfully, ** ** Wilfred de Bondt -- Systems Administrator Stachanov Group: phone: (+31)205091010 For more information, see website web: www.stachanov.com/ www.issuu.com/stachanov ** ** -- *From:* nag ios [mailto:nagiost...@gmail.com] *Sent:* woensdag 29 juni 2011 13:31 *To:* Nagios Users List *Subject:* [Nagios-users] Printer error ** ** Hi i have configured nagios for monitoring Printers but i'm getting the error as return code of 127 is out of bounds - plugin may be missing Please help me regarding this issue. *Attend complimentary seminar in Canary Wharf. Stop Dreaming – make ‘virtual cubes’ a reality, for those who face OLAP cube nightmares – Register Now http://www.kognitio.com/stopdreaming* 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Windows monitoring error
Hi , I have a problem while monitoring the windows machine,i'm getting the error as couldnot fetch information from server. I have reconfigured the whole thing on the windows client and host linux machine but i'm getting same error. Please help me. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Checking Status of Exchange 2010 Mailbox Store without check_nt
Version 1.45 of the check_wmi_plus plugin is available which (for Exchange 2010 and maybe earlier versions) can list out the DB instances using -m checkexchange -s listDBInstances and it can check specific instances using eg -m checkexchange -s DBInstances -a 'Information Store/FirstDB' This 2nd check fails if the database is dismounted - which is what was originally requested All of this without having to install anything on any Windows server On 23/06/2011 12:12 PM, Matthew Jurgens wrote: I have a way to check it directly from the Nagios server without installing anything on any Windows server. I've tested it only on my practice/development/IsNotLive Exchange server 2010. I just need someone to test it on a real server before I release it Its a check defined for use with www.edcint.co.nz/checkwmiplus. Any takers? -- Smartmon System Monitoring http://www.smartmon.com.au www.smartmon.com.au http://www.smartmon.com.au -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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 monitoring error
IF you provide details about your problem (config samples, error logs snippets ) then maybe people will respond and try to help. nag ios wrote: Hi , I have a problem while monitoring the windows machine,i'm getting the error as couldnot fetch information from server. I have reconfigured the whole thing on the windows client and host linux machine but i'm getting same error. Please help me. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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] Clearing previous flapping states?
Hi All, Tell me, is it possible to pass a command to the Nagios command file to clear (previous) flapping? I'm picking no - based on my understanding of the documentation but thought I would ask. The scenario is we have a number of check software updates that run and as such we schedule these daily. There is a scenario within the flapping period where there are and aren't updates some of the future warning or critical warnings get suppressed. The simple answer that springs to mind for me is to disable flapping for things that are scheduled over x number of hours. How are other people dealing with such things? -- Thanks, Tim Philips (RHCE) RND GROUP LIMITED -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 monitoring error
2011-06-30 15:45:42: message:modules\FileLogger\FileLogger.cpp:86: Starting to log for: NSClient++ - 0.3.9.306 2011-05-01 2011-06-30 15:45:57: debug:CACHENSClient++.cpp:557: Attempting to start NSCLient++ - 0.3.9.306 2011-05-01 2011-06-30 15:45:57: message:CACHENSClient++.cpp:607: Enabling shared session... 2011-06-30 15:45:57: message:CACHENSClient++.cpp:609: Starting shared session... 2011-06-30 15:45:57: message:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:459: Created new master session: channel-server= {Global\NSClientPP_channel_server_write, Global\NSClientPP_channel_server_signal, Global\NSClientPP_channel_server_memory} 2011-06-30 15:45:57: error:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:265: Starting session responder for: server 2011-06-30 15:45:57: error:CACHENSClient++.cpp:739: Failed to enumerate sessions:1702: The binding handle is invalid. 2011-06-30 15:45:57: message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: C:\Program Files\NSClient++\\nsclient.log 2011-06-30 15:45:57: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:46:25: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:46:33: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:47:34: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:47:38: message:NSClient++.cpp:93: Running: C:\Program Files\NSClient++\\nstray.exe 2011-06-30 15:47:38: message:NSClient++.cpp:94: Running: C:\Program Files\NSClient++\\nstray.exe -channel __0__ 2011-06-30 15:47:39: message:NSClient++.cpp:161: Started tray in other user session: 0 2011-06-30 15:47:41: message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: __0__ says hello! 2011-06-30 16:00:23: message:NSClient++.cpp:93: Running: C:\Program Files\NSClient++\\nstray.exe 2011-06-30 16:00:28: error:D:\source\nscp\branches\stable\include\nsclient_session.hpp:532: Client channel is down (removing it): Failed to get mutex when attempting to post message: timed out 2011-06-30 16:00:28: message:NSClient++.cpp:94: Running: C:\Program Files\NSClient++\\nstray.exe -channel __0__ 2011-06-30 16:00:29: message:NSClient++.cpp:161: Started tray in other user session: 0 2011-06-30 16:00:29: message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: __0__ says hello! 2011-06-30 16:06:08: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:06:26: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:08:16: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:10:25: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:10:43: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:12:34: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:12:52: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:16:08: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:16:26: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:18:16: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:20:25: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:20:43: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:22:34: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:22:52: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:26:08: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:26:26: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:28:16: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x This is
Re: [Nagios-users] Clearing previous flapping states?
On 30 June 2011 11:42, Tim Philips t...@rndgroup.co.nz wrote: Hi All, Tell me, is it possible to pass a command to the Nagios command file to clear (previous) flapping? I'm picking no - based on my understanding of the documentation but thought I would ask. The scenario is we have a number of check software updates that run and as such we schedule these daily. There is a scenario within the flapping period where there are and aren't updates some of the future warning or critical warnings get suppressed. The simple answer that springs to mind for me is to disable flapping for things that are scheduled over x number of hours. How are other people dealing with such things? You're right - there is no command you can pass to Nagios to clear the previous flapping state. You could try disabling flap detection and then enabling it again, but my guess is that Nagios will immediately re-assess the flapping state based on the last 21 checks as soon as you re-enable flap detection and you'll be back where you started. If your checks are only run daily, then I would say almost certainly flap detection is of no benefit to you and should be disabled for those services. If Nagios is basing it's assessment of whether the service is flapping on the last 21 checks as described in the documentation ( http://nagios.sourceforge.net/docs/nagioscore/3/en/flapping.html ), then since your checks are daily, it could be a couple of weeks sometimes before Nagios decides that flapping has stopped! IMHO, flap detection is only usually useful for those services which are checked quite frequently. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 monitoring error
And you can't see what the problem from the log ? nag ios wrote: 2011-06-30 15:45:42: message:modules\FileLogger\FileLogger.cpp:86: Starting to log for: NSClient++ - 0.3.9.306 2011-05-01 2011-06-30 15:45:57: debug:CACHENSClient++.cpp:557: Attempting to start NSCLient++ - 0.3.9.306 2011-05-01 2011-06-30 15:45:57: message:CACHENSClient++.cpp:607: Enabling shared session... 2011-06-30 15:45:57: message:CACHENSClient++.cpp:609: Starting shared session... 2011-06-30 15:45:57: message:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:459: Created new master session: channel-server= {Global\NSClientPP_channel_server_write, Global\NSClientPP_channel_server_signal, Global\NSClientPP_channel_server_memory} 2011-06-30 15:45:57: error:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:265: Starting session responder for: server 2011-06-30 15:45:57: error:CACHENSClient++.cpp:739: Failed to enumerate sessions:1702: The binding handle is invalid. 2011-06-30 15:45:57: message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: C:\Program Files\NSClient++\\nsclient.log 2011-06-30 15:45:57: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:46:25: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:46:33: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:47:34: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:47:38: message:NSClient++.cpp:93: Running: C:\Program Files\NSClient++\\nstray.exe 2011-06-30 15:47:38: message:NSClient++.cpp:94: Running: C:\Program Files\NSClient++\\nstray.exe -channel __0__ 2011-06-30 15:47:39: message:NSClient++.cpp:161: Started tray in other user session: 0 2011-06-30 15:47:41: message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: __0__ says hello! 2011-06-30 16:00:23: message:NSClient++.cpp:93: Running: C:\Program Files\NSClient++\\nstray.exe 2011-06-30 16:00:28: error:D:\source\nscp\branches\stable\include\nsclient_session.hpp:532: Client channel is down (removing it): Failed to get mutex when attempting to post message: timed out 2011-06-30 16:00:28: message:NSClient++.cpp:94: Running: C:\Program Files\NSClient++\\nstray.exe -channel __0__ 2011-06-30 16:00:29: message:NSClient++.cpp:161: Started tray in other user session: 0 2011-06-30 16:00:29: message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: __0__ says hello! 2011-06-30 16:06:08: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:06:26: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:08:16: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:10:25: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:10:43: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:12:34: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:12:52: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:16:08: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:16:26: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:18:16: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:20:25: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:20:43: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:22:34: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:22:52: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:26:08: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from:
[Nagios-users] Nagios monitor Windows diskspace
Hi all. I am currently deploying a Nagios installation to monitor several hundreds of nodes within our company. I installed NSClient++ on the WXP machines and configured Nagios to query it. Standard monitoring plugins work flawlessly (CPU load, Memory usage, NSC++ version), but I can't seem to make the disk space check work. The error reported by nagios is wrong -l argument and the configuration is as follows: define service{ use generic-service hostgroup_name win-workstations service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c:\ -w 80 -c 90 } Any clues as why it's not working? Marc -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 monitor Windows diskspace
Change the command to be : check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 (drop the :\) Marc Haber wrote: Hi all. I am currently deploying a Nagios installation to monitor several hundreds of nodes within our company. I installed NSClient++ on the WXP machines and configured Nagios to query it. Standard monitoring plugins work flawlessly (CPU load, Memory usage, NSC++ version), but I can't seem to make the disk space check work. The error reported by nagios is wrong -l argument and the configuration is as follows: define service{ use generic-service hostgroup_name win-workstations service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c:\ -w 80 -c 90 } Any clues as why it's not working? Marc -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 monitoring error
what does the unauthorised access means the ip and password's are same in both the commands.cfg and ns.ini file Whats the exact problem can u figure it out On Thu, Jun 30, 2011 at 5:12 PM, Assaf Flatto nag...@flatto.net wrote: And you can't see what the problem from the log ? nag ios wrote: 2011-06-30 15:45:42: message:modules\FileLogger\FileLogger.cpp:86: Starting to log for: NSClient++ - 0.3.9.306 2011-05-01 2011-06-30 15:45:57: debug:CACHENSClient++.cpp:557: Attempting to start NSCLient++ - 0.3.9.306 2011-05-01 2011-06-30 15:45:57: message:CACHENSClient++.cpp:607: Enabling shared session... 2011-06-30 15:45:57: message:CACHENSClient++.cpp:609: Starting shared session... 2011-06-30 15:45:57: message:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:459: Created new master session: channel-server= {Global\NSClientPP_channel_server_write, Global\NSClientPP_channel_server_signal, Global\NSClientPP_channel_server_memory} 2011-06-30 15:45:57: error:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:265: Starting session responder for: server 2011-06-30 15:45:57: error:CACHENSClient++.cpp:739: Failed to enumerate sessions:1702: The binding handle is invalid. 2011-06-30 15:45:57: message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: C:\Program Files\NSClient++\\nsclient.log 2011-06-30 15:45:57: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:46:25: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:46:33: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:47:34: error:modules\CheckSystem\PDHCollector.cpp:215: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: A counter with a negative denominator value was detected. (87D6) 2011-06-30 15:47:38: message:NSClient++.cpp:93: Running: C:\Program Files\NSClient++\\nstray.exe 2011-06-30 15:47:38: message:NSClient++.cpp:94: Running: C:\Program Files\NSClient++\\nstray.exe -channel __0__ 2011-06-30 15:47:39: message:NSClient++.cpp:161: Started tray in other user session: 0 2011-06-30 15:47:41: message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: __0__ says hello! 2011-06-30 16:00:23: message:NSClient++.cpp:93: Running: C:\Program Files\NSClient++\\nstray.exe 2011-06-30 16:00:28: error:D:\source\nscp\branches\stable\include\nsclient_session.hpp:532: Client channel is down (removing it): Failed to get mutex when attempting to post message: timed out 2011-06-30 16:00:28: message:NSClient++.cpp:94: Running: C:\Program Files\NSClient++\\nstray.exe -channel __0__ 2011-06-30 16:00:29: message:NSClient++.cpp:161: Started tray in other user session: 0 2011-06-30 16:00:29: message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: __0__ says hello! 2011-06-30 16:06:08: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:06:26: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:08:16: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:10:25: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:10:43: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:12:34: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:12:52: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:16:08: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:16:26: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:18:16: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:20:25: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:20:43: error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized access from: 172.x.x.x 2011-06-30 16:22:34:
Re: [Nagios-users] Nagios monitor Windows diskspace
On Jun 30, 2011, at 7:44 AM, Marc Haber mha...@vp44.com wrote: Hi all. I am currently deploying a Nagios installation to monitor several hundreds of nodes within our company. I installed NSClient++ on the WXP machines and configured Nagios to query it. Standard monitoring plugins work flawlessly (CPU load, Memory usage, NSC++ version), but I can't seem to make the disk space check work. The error reported by nagios is wrong -l argument and the configuration is as follows: define service{ use generic-service hostgroup_name win-workstations service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c:\ -w 80 -c 90 } Any clues as why it's not working? Marc -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 monitor Windows diskspace
On Thu, June 30, 2011 1:51 pm, Assaf Flatto wrote: Change the command to be : check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 (drop the :\) Marc Haber wrote: Hi all. I am currently deploying a Nagios installation to monitor several hundreds of nodes within our company. I installed NSClient++ on the WXP machines and configured Nagios to query it. Standard monitoring plugins work flawlessly (CPU load, Memory usage, NSC++ version), but I can't seem to make the disk space check work. The error reported by nagios is wrong -l argument and the configuration is as follows: define service{ use generic-service hostgroup_name win-workstations service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c:\ -w 80 -c 90 } Any clues as why it's not working? Marc Thanks for the response! Unfortunately it still returns the same error. Should I enable anything in particular in NSC++ conf files? Marc -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 monitor Windows diskspace
Hi Marc, using check_nrpe is recommended. You can check your disk with this command check_commandcheck_nrpe!CheckDriveSize!-a ShowAll $_HOSTWINDOWS_DISK_LIMIT$ Regards, Axel Am Donnerstag, 30. Jun. 11, 13:40:26 schrieb Marc Haber: Hi all. I am currently deploying a Nagios installation to monitor several hundreds of nodes within our company. I installed NSClient++ on the WXP machines and configured Nagios to query it. Standard monitoring plugins work flawlessly (CPU load, Memory usage, NSC++ version), but I can't seem to make the disk space check work. The error reported by nagios is wrong -l argument and the configuration is as follows: define service{ use generic-service hostgroup_name win-workstations service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c:\ -w 80 -c 90 } Any clues as why it's not working? Marc --- --- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- Axel Rosenski - Administration - __ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Geschäftsführer: Carsten Kellmann Registergericht Gießen HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosen...@wave-computer.de http://www.wave-computer.de -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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] Clearing previous flapping states?
On Thu, Jun 30, 2011 at 12:19 PM, Jim Avery j...@jimavery.me.uk wrote: On 30 June 2011 11:42, Tim Philips t...@rndgroup.co.nz wrote: Hi All, Tell me, is it possible to pass a command to the Nagios command file to clear (previous) flapping? I'm picking no - based on my understanding of the documentation but thought I would ask. The scenario is we have a number of check software updates that run and as such we schedule these daily. There is a scenario within the flapping period where there are and aren't updates some of the future warning or critical warnings get suppressed. The simple answer that springs to mind for me is to disable flapping for things that are scheduled over x number of hours. How are other people dealing with such things? You're right - there is no command you can pass to Nagios to clear the previous flapping state. You could try disabling flap detection and then enabling it again, but my guess is that Nagios will immediately re-assess the flapping state based on the last 21 checks as soon as you re-enable flap detection and you'll be back where you started. If your checks are only run daily, then I would say almost certainly flap detection is of no benefit to you and should be disabled for those services. If Nagios is basing it's assessment of whether the service is flapping on the last 21 checks as described in the documentation ( http://nagios.sourceforge.net/docs/nagioscore/3/en/flapping.html ), then since your checks are daily, it could be a couple of weeks sometimes before Nagios decides that flapping has stopped! IMHO, flap detection is only usually useful for those services which are checked quite frequently. Yup we do the same thing, eg have flap detection disabled in the service template for long interval checks. The only way I know to clear the flapping status, is to cheat and manually schedule the check a load of times (or submit passive checks ;) -- Ritchie -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 monitor Windows diskspace
You might like to try monitoring your Windows servers without installing anything on any Windows server (or introducing a point of failure) by checking them directly from your Nagios server. http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details On 30/06/2011 9:40 PM, Marc Haber wrote: Hi all. I am currently deploying a Nagios installation to monitor several hundreds of nodes within our company. I installed NSClient++ on the WXP machines and configured Nagios to query it. -- Smartmon System Monitoring http://www.smartmon.com.au www.smartmon.com.au http://www.smartmon.com.au -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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-devel] RFC/RFP Nagios command workers
On Wed, Jun 29, 2011 at 2:50 AM, Andreas Ericsson a...@op5.se wrote: On 06/28/2011 05:13 PM, Matthieu Kermagoret wrote: Hi list, First of all, sorry for the delayed response, last month was pretty crazy at work :-p On Mon, May 23, 2011 at 12:38 PM, Andreas Ericssona...@op5.se wrote: On 05/23/2011 11:37 AM, Matthieu Kermagoret wrote: Because shipping an official module that does it would mean not only [snip] For years it's been Nagios' development team's policy not to include features that could be written as modules. I liked it that way. Everything can be written as modules. The worker process thing will have the nice sideeffect that modules can register sockets that core Nagios will listen to events from, with a special callback when there's data available on the socket. This reduces complexity of a lot of modules by a fair bit. With worker-processes instead of multiple threads it's also trivial to write modules with regards to thread-safety, and potential leaks in worker modules (such as embedded perl) can be ignored, since we can just kill the worker process and spawn a new one once it's done some arbitrary number of checks. This is how Apache handles leaky modules and we could do far worse than using the world's most popular webserver as an example. There's also another thing. Mozilla Firefox has been accused of feature stagnation in the core since they let addon writers handle adding new features, and far from everybody uses modules. Google Chrome has taken a fair share of users from Firefox lately, partly because it implements some of the more popular modules directly in-core. Nagios has also been accused of feature stagnation, even though broker module development has flourished in recent years (nagios with modules is nothing like the old nagios without them), so it makes sense to add certain selected module capabilities to the core. There seem to be two issues, I think, that are getting mixed here. I think the accusation of Mozilla Firefox/Nagios Core feature stagnation is a separate issue from putting things in core as opposed to making them a NEB module. The Linux kernel is a good example of tons of features existing in modules and not being included in the core, yet not having the feature stagnation problem. The difference between those and FF/Nagios is that the modules are included in the /distribution/ of the code and many are active by default. This has the major advantage that if someone doesn't like/need a particular module, it can be trivially removed. This helps performance tuning. etc. At the same time, it allows feature progression, by default. I think if this approach were taken, more modularization rather than hard coding things into the core, but including more widely accepted modules in the default Nagios Core distribution, that would keep everyone happy. That being said, I think placing the networking socket code into the core is completely reasonable, since it is such an essential part of the architecture. Although theoretically you could remove all networking from the Linux kernel and still run... Really, on that part at least, I think either way would work out fine. Just a thought, Adam Augustine -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] getting warnings/critical alerts from check_snmp / extend
Hi! I am struggling to get check_snmp to return critical/warning info for a simple extend in snmpd.conf (extend minutecheck /bin/sh /usr/local/bin/minutecheck.sh ), while it is working for ifInUcastPkts I suspect that the comparison with the range may not be happening if the returned value is not a Counter32. the extend seems to be returning a STRING by default. Is this the case ? Can I force a cast from STRING to Counter32 by check_snmp ? Or is there a way to get snmpd to return a Counter32 directly?? snmpget -v2c -c public 192.168.25.11 iso.3.6.1.4.1.8072.1.3.2.4.1.2.11.109.105.110.117.116.101.99.104.101.99.107.1 iso.3.6.1.2.1.2.2.1.11.1 iso.3.6.1.4.1.8072.1.3.2.4.1.2.11.109.105.110.117.116.101.99.104.101.99.107.1 = STRING: 19 iso.3.6.1.2.1.2.2.1.11.1 = Counter32: 39514 /usr/local/nagios/libexec/check_snmp -H 192.168.25.11 -o iso.3.6.1.2.1.2.2.1.11.1 -C public -w @38000:38900 -c @38901: SNMP CRITICAL - *39458* | IF-MIB::ifInUcastPkts.1=39458c /usr/local/nagios/libexec/check_snmp -H 192.168.25.11 -o iso.3.6.1.4.1.8072.1.3.2.4.1.2.11.109.105.110.117.116.101.99.104.101.99.107.1 -C public -w @10:15 -c @16: SNMP OK - 18 | NET-SNMP-EXTEND-MIB::nsExtendOutLine.minutecheck.1=18 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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