[Nagios-users-br] duvida nagios
Olá. Boa tarde, estou com uma dúvida, se puder ajuda-me se faz favor. instalei o nagio(3.0.6) e os plugins(nagios-plugins-1.4.13) + o NRPE. Qeuro fazer o monitoramento do cpu, mas nos plugins não tenho nenhum que me faz isso, então procurei-o e encontrei um na net, que é o check_cpu.sh. Mas este não é um executável como os outros. Como é que faço para usa-lo? Cumprimentos, Benvinda -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- 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] duvida nagios
#chmod +x check_cpu.sh #./check_spu.sh parametros ? Não é isto? Abs[] 2009/3/24 Benvinda Barbosa benvinda.barb...@meteo.pt: Olá. Boa tarde, estou com uma dúvida, se puder ajuda-me se faz favor. instalei o nagio(3.0.6) e os plugins(nagios-plugins-1.4.13) + o NRPE. Qeuro fazer o monitoramento do cpu, mas nos plugins não tenho nenhum que me faz isso, então procurei-o e encontrei um na net, que é o check_cpu.sh. Mas este não é um executável como os outros. Como é que faço para usa-lo? Cumprimentos, Benvinda -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- -- http://www.augustoferronato.net/blog FreeBSD: The Freedom to Perform! http://www.spreadbsd.org/aff/40/1 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- 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] duvida nagios
Olá Benvinda Vamos inicialmente ficar com os plugins oficiais... Voce quer monitorar CPU de qual equipamento? Temos três possibilidades: 1 - do proprio servidor do Nagios 2 - de servidor Unix/Linux remoto 3 - De servidor windows remoto Qual destes três tipos de servidor voce precisa monitorar? Cada um voce fará diferente, apesar que o 2 e 3 têm uma similaridade... []s 2009/3/24 Benvinda Barbosa benvinda.barb...@meteo.pt Olá. Boa tarde, estou com uma dúvida, se puder ajuda-me se faz favor. instalei o nagio(3.0.6) e os plugins(nagios-plugins-1.4.13) + o NRPE. Qeuro fazer o monitoramento do cpu, mas nos plugins não tenho nenhum que me faz isso, então procurei-o e encontrei um na net, que é o check_cpu.sh. Mas este não é um executável como os outros. Como é que faço para usa-lo? Cumprimentos, Benvinda -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- Abraços JGeraldo -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- 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] Nagios with Trouble Ticket system or, Managment System integration
I was able to have nagios open a ticket in CA-Service Desk. I wrote a plugin script, and I published it. Basically if your Service Desk server allows open ticket via command line and that server has NRPE_NT then nagios is flexible enough to work. Take a look at my script and let me know if you need more help. ttp://felipeferreira.net/?p=269 http://felipeferreira.net/?p=269 Cheers, -- *Felipe Ferreira* Técnico de Sistemas Senior Osiatis.es http://www.osiatis.es/ -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NRPE vs. check_by_ssh
Hi all, I was wondering if someone could give a brief overview of the pros / cons of using NRPE to monitor my remote hosts versus using the check_by_ssh command? I'm aware that check_by_ssh increases the CPU overhead, but I'm not clear on the level of impact here - does this increase the load on the monitoring machine in direction relation to the number of hosts being monitored? For example, if I was using check_by_ssh to monitor, say, 2000 services spread across 200 hosts, would I experience significant slowdown on my monitoring machine? Cheers for any info, Chris -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios and Inventory Application
Hi people, I would like to know if there is some addon/plugin to integrate some inventory application with nagios. Thanks. -- Greetings, Gonçalo Almeida -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE Nagios and Inventory Application
Hi, I don't know an inventoring addon/plugin for Nagios. OCS Inventory is opensource iinventory and deployement software for Windows and Unix like computers. Try this application, if it's what your search. Greetings [ENVOYE PAR INTERNET] frank.bourd...@dga.defense.gouv.fr Gonçalo Almeida goncaloalme...@gmail.com 24/03/2009 11:46 A nagios-users@lists.sourceforge.net cc Objet [Nagios-users] Nagios and Inventory Application Hi people, I would like to know if there is some addon/plugin to integrate some inventory application with nagios. Thanks. -- Greetings, Gonçalo Almeida -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] RE Nagios and Inventory Application
Hi list, There's also a project called onecmdb (http://www.onecmdb.org/wiki/index.php/Main_Page) that i haven't tried yet. It seems to have a nagios integration Olivier Jan http://nagios-fr.org frank.bourd...@dga.defense.gouv.fr a écrit : Hi, I don't know an inventoring addon/plugin for Nagios. OCS Inventory is opensource iinventory and deployement software for Windows and Unix like computers. Try this application, if it's what your search. Greetings [ENVOYE PAR INTERNET] frank.bourd...@dga.defense.gouv.fr Gonçalo Almeida goncaloalme...@gmail.com 24/03/2009 11:46 A nagios-users@lists.sourceforge.net cc Objet [Nagios-users] Nagios and Inventory Application Hi people, I would like to know if there is some addon/plugin to integrate some inventory application with nagios. Thanks. -- Greetings, Gonçalo Almeida -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NRPE vs. check_by_ssh
2009/3/24 Michael Schwartzkopff mi...@multinet.de: Am Dienstag, 24. März 2009 10:45:08 schrieb Christopher McAtackney: Hi all, I was wondering if someone could give a brief overview of the pros / cons of using NRPE to monitor my remote hosts versus using the check_by_ssh command? I'm aware that check_by_ssh increases the CPU overhead, but I'm not clear on the level of impact here - does this increase the load on the monitoring machine in direction relation to the number of hosts being monitored? For example, if I was using check_by_ssh to monitor, say, 2000 services spread across 200 hosts, would I experience significant slowdown on my monitoring machine? Cheers for any info, Chris hi, ust SNMP! No need to install anything on the target system. SNMP Agents are already installed on nearly all systems. Since everything speaks SNMP you can gather info about hardware, operation system AND applications, independent of any OS. nagios: check_snmp Greetings, -- Dr. Michael Schwartzkopff This sounds interesting Michael. I searched around a bit, but wasn't able to find a good introduction to using check_snmp. Could you suggest an article / tutorial / blog entry somewhere that would be suitable for a Nagios newbie? Cheers, Chris -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] SUSPECT: Re: extra garbled characters at end of plugin result output
Thanks Alex, I have upgraded my NRPE install from 2.8 to 2.12 and that solved the problem! Thanks again. This mail is from a Gimper From: Alex Dehaini [mailto:alexdeha...@gmail.com] Sent: Monday, March 23, 2009 5:31 PM To: Ayotunde Itayemi Cc: Nagios Users Subject: SUSPECT: Re: [Nagios-users] extra garbled characters at end of plugin result output What version of nrpe are you using on the solaris clients? On Mon, Mar 23, 2009 at 4:23 PM, Ayotunde Itayemi ayotunde.itay...@zain.com wrote: Dear All, I seem to get extra garbled characters at the end of the data returned by the various plugins running on Solaris clients. Unfortunately, it's messing up my graphing (pnp4nagios) output. My NAGIOS server is on a RedHat 5.3 system while most of my clients are Solaris 9/10. I may have come across some reference in the past that stated it has to do with the SSL libraries differences on the various platforms. Any ideas on how to fix this? Can I run the returned data through some filter that can get rid of the garbled characters for example? The linux clients are fine. Thanks. /usr/local/nagios/libexec/check_nrpe -H aserver1 -c check_dsk_root DISK OK - free space: / 20823 MB (51% inode=97%);| /=19445MB;30507;36608;0;40676 Added command[check_oracle]=/usr/local/nagiosÿexec/check_oracle --µIÛöÿÿ? /usr/local/nagios/libexec/check_nrpe -H aserver1 -c check_dsk_swap SWAP OK - 100% free (16004 MB out of 16004 MB) |swap=16004MB;4001;1600;0;16004 Added command[check_oracle]=/usr/local/nagiosÿexec/check_oracle --µIÛöÿÿ? /usr/local/nagios/libexec/check_nrpe -H aserver1 -c check_cpu OK - CPU Utilisations is OK 95% idle Added command[check_oracle]=/usr/local/nagiosÿexec/check_oracle --µIÛöÿÿ? /usr/local/nagios/libexec/check_nrpe -H alinuxserver -c check_cpu CPU OK - CPU usage in 6%|cpu=6%;80;85;0;100 /usr/local/nagios/libexec/check_nrpe -H asolarisbox -c check_cpu CRITICAL - CPU Utilisation is HIGH 1% idle /usr/local/nagiosµIÛöÿ4Àÿ3ØÿçÄ /usr/local/nagios/libexec/check_nrpe -H alinuxclient -c check_dsk_root DISK OK - free space: / 7195 MB (93% inode=96%);| /=462MB;6050;7260;0;8067 This mail is from a Gimper -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdeha...@gmail.com -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Auto-Discovery
Hi folks, I was wondering if anyone had some pointers on Auto-discovery? Both hardware / services preferably. I've found something which looks promising, NACE (http://freshmeat.net/projects/nace/), but I'd like to hear other people's opinions on it and their experiences with it. Cheers, Chris -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] SUSPECT: Re: extra garbled characters at end of plugin result output
Tunde, No yawa, you are welcome, :) Alex On Tue, Mar 24, 2009 at 3:14 PM, Ayotunde Itayemi ayotunde.itay...@zain.com wrote: Thanks Alex, I have upgraded my NRPE install from 2.8 to 2.12 and that solved the problem! Thanks again. This mail is from a Gimper *From:* Alex Dehaini [mailto:alexdeha...@gmail.com] *Sent:* Monday, March 23, 2009 5:31 PM *To:* Ayotunde Itayemi *Cc:* Nagios Users *Subject:* SUSPECT: Re: [Nagios-users] extra garbled characters at end of plugin result output What version of nrpe are you using on the solaris clients? On Mon, Mar 23, 2009 at 4:23 PM, Ayotunde Itayemi ayotunde.itay...@zain.com wrote: Dear All, I seem to get extra garbled characters at the end of the data returned by the various plugins running on Solaris clients. Unfortunately, it's messing up my graphing (pnp4nagios) output. My NAGIOS server is on a RedHat 5.3 system while most of my clients are Solaris 9/10. I may have come across some reference in the past that stated it has to do with the SSL libraries differences on the various platforms. Any ideas on how to fix this? Can I run the returned data through some filter that can get rid of the garbled characters for example? The linux clients are fine. Thanks. /usr/local/nagios/libexec/check_nrpe -H aserver1 -c check_dsk_root DISK OK - free space: / 20823 MB (51% inode=97%);| /=19445MB;30507;36608;0;40676 Added command[check_oracle]=/usr/local/nagiosÿexec/check_oracle --µIÛöÿÿ? /usr/local/nagios/libexec/check_nrpe -H aserver1 -c check_dsk_swap SWAP OK - 100% free (16004 MB out of 16004 MB) |swap=16004MB;4001;1600;0;16004 Added command[check_oracle]=/usr/local/nagiosÿexec/check_oracle --µIÛöÿÿ? /usr/local/nagios/libexec/check_nrpe -H aserver1 -c check_cpu OK - CPU Utilisations is OK 95% idle Added command[check_oracle]=/usr/local/nagiosÿexec/check_oracle --µIÛöÿÿ? /usr/local/nagios/libexec/check_nrpe -H alinuxserver -c check_cpu CPU OK - CPU usage in 6%|cpu=6%;80;85;0;100 /usr/local/nagios/libexec/check_nrpe -H asolarisbox -c check_cpu CRITICAL - CPU Utilisation is HIGH 1% idle /usr/local/nagiosµIÛöÿ4Àÿ3ØÿçÄ /usr/local/nagios/libexec/check_nrpe -H alinuxclient -c check_dsk_root DISK OK - free space: / 7195 MB (93% inode=96%);| /=462MB;6050;7260;0;8067 This mail is from a Gimper -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdeha...@gmail.com -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdeha...@gmail.com -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios with snmp
-Original Message- From: Anirudh Srinivasan [mailto:srianir...@gmail.com] Sent: Tuesday, March 24, 2009 11:18 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios with snmp Hey Folks, I want to test a Switch to be monitored using snmp plugin in nagios. Right now i am just monitoring the ping but i need to find out , what other parameter can be monitored on a switch using snmp. Also i have a windows server with NC_net installed , and i need to test using check_nt as well as check_snmp plugin the parameters . I am looking forward to some help with this. Can i get some link or some tutorials to start up with this please . I have snmpd running on my linux , i need to know what changes i need to make for my snmpd.conf file Thanks -- Anirudh Srinivasan There are generally two ways to utilize SNMP with nagios - either you set up your nagios server to catch SNMP traps (the SNMP trapsink server), http://www.nagios.org/faqs/viewfaq.php?faq_id=29 http://www.nagios.org/faqs/viewfaq.php?faq_id=28 or you poll the host/snmpd service for whatever info you like from the client/nagios side using SNMP - Therefore, unless you are polling your own server via nagios, tweaking/changing your local snmpd.conf will not do much good... Either way, check out http://manubulon.nagios.org - these will fill the gaps in check_snmp, for either *nix or windows systems. Another good starting point is : http://conshell.net/wiki/index.php/Using_Nagios_with_SNMP Regards, jamie -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios with snmp
http://www.google.com/search?q=monitoring+network+switches+via+snmp http://www.nagiosexchange.org/ From: Anirudh Srinivasan [mailto:srianir...@gmail.com] Sent: Tuesday, March 24, 2009 9:18 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios with snmp Hey Folks, I want to test a Switch to be monitored using snmp plugin in nagios. Right now i am just monitoring the ping but i need to find out , what other parameter can be monitored on a switch using snmp. Also i have a windows server with NC_net installed , and i need to test using check_nt as well as check_snmp plugin the parameters . I am looking forward to some help with this. Can i get some link or some tutorials to start up with this please . I have snmpd running on my linux , i need to know what changes i need to make for my snmpd.conf file Thanks -- Anirudh Srinivasan -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] how to do check_command argument with space
can someone please show me how to do check command with space. So one of the argument will have space. Thanks check_command check_https_reverse!/cms/enter.cfm!courseworks!error occurred -- Cordially, Shadhin Rahman -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NRPE for check_veritas
I'm getting this error NRPE: Unable to read output when I run the check_veritas plugin. Nagios server is running Ubuntu and the remote host is Solaris 10. I know the script runs fine when run locally as root but I need help setting it up so that Nagios could run it. I'm not able to find anything out on the web and nagios-user search is timing out. Any help would be appreciated... Thanks much -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] how to do check_command argument with space
2009/3/24 shadih rahman shadhi...@gmail.com: can someone please show me how to do check command with space. So one of the argument will have space. Thanks check_command check_https_reverse!/cms/enter.cfm!courseworks!error occurred I normally just put it in quotes like so: check_commandcheck_https_reverse!/cms/enter.cfm!courseworks!error occurred I'm not familiar with the check_https_reverse command so can't guarantee this will work for you, but please give it a try and see how it goes. hth, Jim -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] event handler question with nrpe
can event handler take argument. I want to have a generic shell script which take argument as to what process needs to start. I want to restart process via nrpe. Can someone please verfiy if the following will work or not? Thanks in advance. * define service{ host_name somehost service_description HTTP max_check_attempts 4 event_handler restart-process.sh!my_proecess ...other service variables... } * Once the service has been defined with an event handler, we must define that event handler as a command. Notice the macros in the command line that I am passing to the event handler - these are important! define command{ command_namerestart-process.sh command_line/usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c restart-process -a $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ $SERVICEDESC$ 2 $ARG1$ } my restart-process.sh #!/bin/sh maxattempts=$5 case $1 in OK) # The service just came back up, so don't do anything... ;; WARNING) # We don't really care about warning states, since the service is probably still running... ;; UNKNOWN) # We don't know what might be causing an unknown error, so don't do anything... ;; CRITICAL) case $2 in SOFT) case $3 in $maxattempts) logger -t nrpe-eventhandler Eventhandler: (Re)starting /etc/init.d/$4 (state=$1, type=$2, attempt=$3) output=`sudo /etc/init.d/$4 restart` `which printf` %b * Nagios *\n\nMessage:\tAn init script was invoked (after $3 attempts).\nDate/Time:\t`date`\n\nHostname:\t`uname -n`\nService:\t$4\nCommand:\t/etc/init.d/$4 restart\nOutput:\n\n$output \ | `which mail` -s ** Eventhandler: Restart of '$4' on host '`uname -n`' $notifee sudo /etc/init.d/$6 restart ;; esac ;; HARD) # Call the init script to restart the service. sudo /etc/init.d/$6 restart ;; esac ;; esac exit 0 -- Cordially, Shadhin Rahman -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_disk solaris problem and solution
Odd thing we've been in the process of upgrading from an ooold set of plugins, to a new one, on solaris we have some very large filesystems we want to monitor. the old 1.3.1 plugin version of check_disk worked fine. the newer ones did not, at one point. (I'm dealing with 1.4.13 of the plugins) The older one calls df. The newer one attempts to use system calls to figure it out the hard way. Odd thing is... SOMETIMES, it compiles correctly. Sometimes, it does not. I have not yet figured out the magic that makes it compile correctly. However, when it didnt, I brute-forced the issue a bit, by defining. CFLAGS=-D_LARGEFILE64_SOURCE=1 and then it seems to work. Odd thing is that a more recent test compile, showed ac_cv_sys_file_offset_bits=64 in config.log, and that resulted in a check_disk that worked correctly on large files. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] unable to open nagios web interface
I have just finished the ubuntu quickstart guide. after starting apache and nagios when I go to locahost/nagios-- 404 not found The requested URL /nagios was not found on this server I verified apache and nagios are running but no dice, Verified apache is listening r...@nagios-vm01:/etc/apache2# sudo netstat -anp |grep '^tcp.*LISTEN' tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5063/apache2 tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4655/cupsd If I type in http:\\localhost is get it works! Where should I start to look thanks Pietto L Vasco Director of Information Technology Wildwood Casino Gold King Mountain Inn 719-689-7255 Direct 719-689-2814 Ext 1125 719-313-8732 Cell 719-689-9843 Fax -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Auto-Discovery
NACE is a toolkit that you can use to build your own configuration. It was creating during the Nagios 2.x days, if you have any problems let me know. Once queries were created, it was incredibly low maintenance. Thanks. On Tue, Mar 24, 2009 at 03:31:34PM +, Christopher McAtackney wrote: Hi folks, I was wondering if anyone had some pointers on Auto-discovery? Both hardware / services preferably. I've found something which looks promising, NACE (http://freshmeat.net/projects/nace/), but I'd like to hear other people's opinions on it and their experiences with it. Cheers, Chris -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] unable to open nagios web interface
On Tue, 24 Mar 2009, Pietto Vasco wrote: I have just finished the ubuntu quickstart guide. after starting apache and nagios when I go to locahost/nagios-- 404 not found The requested URL /nagios was not found on this server I verified apache and nagios are running but no dice, Verified apache is listening r...@nagios-vm01:/etc/apache2# sudo netstat -anp |grep '^tcp.*LISTEN' tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5063/apache2 tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4655/cupsd If I type in http:\\localhost is get it works! If http://localhost works, why are you trying to go to http://localhost/nagios? Assuming that second URL should work, it would be helpful to know what your Apache configuration looks like, and how Nagios is installed. It's obvious Apache is running, or you wouldn't get a 404 error. What isn't so obvious is where you've told it to look for Nagios, and whether Nagios is actually installed there. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios and Inventory Application
Can you define integrate a bit more? I am using OpenAudit. It is not integrated, although I could see that displaying Nagios status information within OpenAudit, or conversely automatically adding hosts to nagios might make sense. But I know of no way to do either of these things. Gonçalo Almeida wrote: Hi people, I would like to know if there is some addon/plugin to integrate some inventory application with nagios. Thanks. -- Greetings, Gonçalo Almeida -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NRPE vs. check_by_ssh
I think you are comparing apples and oranges here, because in most situations that I can think of, the decision is dictated by the network topology. If you are exclusively on a trusted private network, check_by_ssh really doesn't offer any benefits. Conversely, if your topology involves the Internet or some other untrusted network (WiFi), then you wouldn't want NRPE in the first place. The only exception to the above that I can think of is when it comes to deciding between using check_by_ssh over an untrusted network, vs. NRPE through some other kind of tunnel or VPN. But in that case, you'd incur encryption overhead either way, and the comparison is very different from the question you asked. All that said: I don't have any first-hand experience, but I suspect that the impact of establishing 2200 ssh connections in a five-minute span (assuming that you are using a five-minute check interval) is pretty substantial. The main impact actually lies in establishing and tearing down the connections, key negotiations etc.; the encryption during the data phase probably has only limited impact because most checks only transmit a few bytes back and forth. SSH does much better with longer-duration connections when the keys are already exchanged. This is even more true if you have a router-based VPN, because in that case the overhead is offloaded to a different machine. So if you have the option of sending the checks as NRPE through one or a few long-term VPNs: you are probably going to be better off. Of course, in the big picture, your mileage may vary. Christopher McAtackney wrote: Hi all, I was wondering if someone could give a brief overview of the pros / cons of using NRPE to monitor my remote hosts versus using the check_by_ssh command? I'm aware that check_by_ssh increases the CPU overhead, but I'm not clear on the level of impact here - does this increase the load on the monitoring machine in direction relation to the number of hosts being monitored? For example, if I was using check_by_ssh to monitor, say, 2000 services spread across 200 hosts, would I experience significant slowdown on my monitoring machine? Cheers for any info, Chris -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null