Re: [Nagios-users-br] Ndoutils e problemas de performance
Como já disse antes. Quando a escala for gigantesca, essas soluções completas out-of-the-box não atendem. Eu administrava Nagios + Cacti com mais de 20k services, 5k hosts, 50k rrds. Daí cansei da vida de especialista nessas ferramentas pra trabalhar com outros aspectos da administração de sistemas *nix. Mas posso adiantar que enquanto a escala aumenta lineramente, a flexibilidade de escalabilidade do nagios não se encontra nesses outros monitores baseados em nagios. []s 2009/6/19 Leonardo Neves leonardo.ne...@gmail.com O negocio eh ir para um opsview, op5, icinga, zabbix, pandora, zenoss, etc. Nagios ultimamente nao tem evolido tanto quanto deveria. A tranqueira e mudar todo o ambiente ja montado, alem dos 4000 services, tenho alguns scripts feitos em casa, tem uns que ateh chamam cobol. Alguem esta utilizando o icinga em produçao? ta valendo a pena? Leonardo Neves Bernardo Linux/Unix Specialist LPIC3 (core+mixed environment+security) + RHCT 2009/6/18 Marcel mits...@gmail.com o ndoutils é beta há uns 4 anos. ele não vai ser atualizado enquanto existirem empresas pagando o Ethan para não fazê-lo. Essas empresas, preferem ter seus produtos baseados no nagios vendidos do que retornarem os patches para a comunidade. por isso que forkaram o nagios (eu acho). assim, o ndo2fs é não é blocante ao nagios porque ele não espera retorno do filesystem indicando que o arquivo foi gravado. Mas o design do NEB é blocante sim, ele precisa que o mod retorne para a continuidade da execução do nagios. por isso que se o banco atrasa o mod atrasa e o nagios atrasa. Por ser um arquivo, não tem que esperar retorno. Então é rápido mesmo. []s 2009/6/9 Leonardo Neves leonardo.ne...@gmail.com Cristiano e Marcel, Achei a soluçao para o problema. O ambiente comum eh assim: nagios - ndo2db (- mysql) - nagvis Instalei o ndo2fs no meio do caminho, ficando assim: nagios - ndo2fs - ndo2db (- mysql) - nagvis O ndo2fs nao eh bloqueante e dessa forma o nagios nao fica lento. Nos meus testes com o ndo2fs o nagios ficou 5x mais rapido. Com o nagvis 1.4 tambem eh possivel acessar o ndo2fs diretamente e deve ser mais rapido ainda, mas nao testei. Meu sentimento eh que o ndo2db foi muito mal feito, ainda bem que ja estao criando e usando alternativas :( Atenciosamente, Leonardo Neves Bernardo Linux/Unix Specialist LPIC3 (core+mixed environment+security) + RHCT 2009/5/18 Leonardo Neves leonardo.ne...@gmail.com Eu acho que algum dos patches do nagios, disponibilizados pelo pessoal do opsview, deve resolver o problema: http://trac.opsview.org/browser/tags/release-3.0.0/opsview-base/Makefile#L238 http://opsview-blog.opsera.com/dotorg/nagios/ Ainda nao tive tempo para testar. Atenciosamente, Leonardo Neves Bernardo Linux/Unix Specialist LPIC3 (core+mixed environment+security) + RHCT 2009/5/15 Marcel mits...@gmail.com amigos, o ndo2db + ndomod são blocantes ao nagios (o nagios espera o retorno do mod, e se o banco demora, o mod demora e o nagios demora), tentem desacoplar o input ao banco de dados. sei que pode ser feito, mas ninguém diz como. ;) 2009/5/12 Leonardo Neves leonardo.ne...@gmail.com Cristiano, Tenho um ambiente bem parecido, atualmente sao 4300 services e os mesmos problemas de performance acontecem com o ndoutil. Pelo que li, ele realmente eh sequencial. Quando eh necessario um reload o nagios ainda tem que atualizar todos os dados no mysql antes do nagvis ficar disponivel. Pelo jeito a solucao eh esperar uma alternativa ao ndoutil ou uma correçao do mesmo. A unica coisa que fiz e que voce nao fez ainda eh agendar manutencao diaria no bd: db=nagios echo USE $db; DELETE FROM nagios_servicechecks WHERE start_time = (NOW() - INTERVAL 1 DAY) | mysql $MYSQL_LOGIN /dev/null echo USE $db; DELETE FROM nagios_hostchecks WHERE start_time = (NOW() - INTERVAL 1 DAY) | mysql $MYSQL_LOGIN /dev/null for db in $(echo SHOW DATABASES; | mysql $MYSQL_LOGIN | grep -v -e Database -e information_schema -e test) do TABLES=$(echo USE $db; SHOW TABLES; | mysql $MYSQL_LOGIN | grep -v Tables_in_) echo Switching to database $db for table in $TABLES do echo -n * Optimizing table $table ... echo USE $db; OPTIMIZE TABLE $table | mysql $MYSQL_LOGIN /dev/null echo done. done done As tabelas nagios_servicechecks e nagios_hostchecks sao apenas de historico e os dados antigos podem ser deletados ja que os logs ja tem a informacao. Se voce teve algum progresso, favor nos reportar. Atenciosamente,
Re: [Nagios-users-br] Eventhandlers
http://nagios.sourceforge.net/docs/3_0/macros.html 2009/6/23 Giovanni Mantelli giovannimante...@gmail.com Bom dia povo, tudo bem? O Nagios já está implantado onde trabalho, e agora irei começar a desenvolver alguns eventhandlers para o mesmo. Alguém de vocês tem algum material, além da própria documentação do nagios, para me indicar? Quero fazer uns testes simples, do tipo: Servidor X caiu, e um script qualquer seja executado no servidor do Nagios. Tenho muito material pra estudo mas não consegui entender como o nagios joga os parâmetros de estado dos serviços/hosts para o eventhandler em questão. Meu script funciona corretamente se eu executa-lo na mão. Meus arquivos de configuração são descritos abaixo: *arquivo hosts.cfg Definição do template para uso geral *define host{ name template check_command check-host-alive max_check_attempts 10 notification_interval 240 notification_period24x7 notification_options d,u,r contact_groups administradores register0 notifications_enabled1 *event_handler_enabled 1* flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 } * *define host { use template host_nameservidorX alias servidorX address 192.168.4.221 } *arquivo services.cfg* define service { use template-service host_nameservidorX service_description Conectividade servidorX check_command check_ping!100.0,20%!500.0,60% event_handler cria-arquivo } *arquivo checkcommands.cfg* define command { command_namecria-arquivo command_line /usr/local/nagios/libexec/eventhandlers/cria-arquivo -H $HOSTADDRESS$ $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTATTEMPT$ } -- -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- -- 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 3.1.1 compile fails on Centos-3
OK, for future reference. If anyone has problems compiling Nagios 3.1.x on Centos 3 (I know, I know, it's ancient, but it still works, and it is still supported), here is what to do. Download the latest tarball of gd at http://www.libgd.org/Downloads and install it to a location like /opt: ./configure --prefix=/opt Then compile Nagios pointing to that location: ./configure --with-gd-lib=/opt/lib --with-gd-inc=/opt/include This avoids having to remove the old version of gd, which will bring you dependency hell. Kind regards, Tom From: Tom DE BLENDE (DHL GBS) [mailto:tom.deble...@dhl.com] Sent: Tuesday, June 23, 2009 08:32 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios 3.1.1 compile fails on Centos-3 Hi all, This is where the compiler craps out: cd ./base make make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/base' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/base' cd ./cgi make make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lgd -lpng -ljpeg -lz -lm statusmap.c: In function `initialize_graphics': statusmap.c:2111: warning: assignment makes pointer from integer without a cast /tmp/ccNrEvP7.o(.text+0x33f0): In function `initialize_graphics': /usr/src/install/nagios/nagios-3.1.1/cgi/statusmap.c:2111: undefined reference to `gdImageCreateTrueColor' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/cgi' make: *** [all] Error 2 Configure showed no problems with gd: [...@box nagios-3.1.1]# ./configure | grep gd checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes This what I have from gd on my box: [...@box nagios-3.1.1]# rpm -qa | grep gd gdbm-1.8.0-20 sysklogd-1.4.1-26_EL3 libgdiplus-1.2.3-0.rhel3.novell gd-1.8.4-12.3.1 libgdiplus-debuginfo-1.2.3-0.rhel3.novell gdb-6.3.0.0-1.138.el3 gdbm-devel-1.8.0-20 gdk-pixbuf-0.22.0-13.el3.3 gd-devel-1.8.4-12.3.1 gdm-2.4.1.6-18.el3 I'm running a fully upgraded Centos-3. Any ideas? Thanks, Tom -- ___ 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 3.1.1 compile fails on Centos-3
Small addendum. It did compile without problems, but I got an internal server error while trying to use statusmap.cgi and some other cgi's. Apache couldn't find the new lib. Therefore create a symlink: ln -s /opt/lib/libgd.so.2 /usr/lib/libgd.so.2 From: Tom DE BLENDE (DHL GBS) [mailto:tom.deble...@dhl.com] Sent: Wednesday, June 24, 2009 08:00 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.1.1 compile fails on Centos-3 OK, for future reference. If anyone has problems compiling Nagios 3.1.x on Centos 3 (I know, I know, it's ancient, but it still works, and it is still supported), here is what to do. Download the latest tarball of gd at http://www.libgd.org/Downloads and install it to a location like /opt: ./configure --prefix=/opt Then compile Nagios pointing to that location: ./configure --with-gd-lib=/opt/lib --with-gd-inc=/opt/include This avoids having to remove the old version of gd, which will bring you dependency hell. Kind regards, Tom From: Tom DE BLENDE (DHL GBS) [mailto:tom.deble...@dhl.com] Sent: Tuesday, June 23, 2009 08:32 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios 3.1.1 compile fails on Centos-3 Hi all, This is where the compiler craps out: cd ./base make make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/base' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/base' cd ./cgi make make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lgd -lpng -ljpeg -lz -lm statusmap.c: In function `initialize_graphics': statusmap.c:2111: warning: assignment makes pointer from integer without a cast /tmp/ccNrEvP7.o(.text+0x33f0): In function `initialize_graphics': /usr/src/install/nagios/nagios-3.1.1/cgi/statusmap.c:2111: undefined reference to `gdImageCreateTrueColor' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/cgi' make: *** [all] Error 2 Configure showed no problems with gd: [...@box nagios-3.1.1]# ./configure | grep gd checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes This what I have from gd on my box: [...@box nagios-3.1.1]# rpm -qa | grep gd gdbm-1.8.0-20 sysklogd-1.4.1-26_EL3 libgdiplus-1.2.3-0.rhel3.novell gd-1.8.4-12.3.1 libgdiplus-debuginfo-1.2.3-0.rhel3.novell gdb-6.3.0.0-1.138.el3 gdbm-devel-1.8.0-20 gdk-pixbuf-0.22.0-13.el3.3 gd-devel-1.8.4-12.3.1 gdm-2.4.1.6-18.el3 I'm running a fully upgraded Centos-3. Any ideas? Thanks, Tom -- ___ 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 2.12 ./configure error on solaris 9
So, you managed to compile NRPE on the Solaris 9 host? You've installed the NRPE daemon on the host that the Nagios host is going to monitor with the check_nrpe plugin? Are you running the daemon out of xinetd or standalone? Does 'netstat -an' on the monitored host show that something is listening on port 5666? What syntax are you using on the Nagios host to use the check_nrpe plugin? Does the NRPE daemon configuration allow connections from the Nagios host? Also, what exactly do you mean when you say that check_nrpe is working fine locally? Questions, questions... Regards, Guy. On Wed, Jun 24, 2009 at 1:37 AM, chethan@wipro.com wrote: Hi guy, Thanks for the reply... Yes SSL libraries are there... After configuring NRPE... locally check_nrpe command is working fine... but when i execute the check_nrpe command from the nagios server i m getting the Could not complete the SSL handshake error. Please let me know if any one has faced this problem and have a fix to it. Please help thanks Chethan M N -- *From:* Guy Waugh [mailto:guid...@gmail.com] *Sent:* Tue 6/23/2009 1:41 PM *To:* Chethan M N (WI01 - Manage IT); nagios-users@lists.sourceforge.net *Subject:* Re: [Nagios-users] - NRPE 2.12 ./configure error on solaris 9 Hello, I recently faced this problem, but I ended up installing NRPE from blastwave (http://www.blastwave.org/howto.html), and it's working well. If you want to persevere with compiling NRPE, are there SSL libraries in /usr/sfw/lib? What does config.log say? Are there any other SSL installs on the system, e.g. in /usr/local/ssl, /usr/local etc.? Regards, Guy. On Tue, Jun 23, 2009 at 2:56 AM, chethan@wipro.com wrote: Dear All, I m trying to configure NRPE 2.12 on one of my sun server (solaris 9)... i m getting the following error. I also tried to give path of ssl libraries... ie ./configure with-ssl=/usr/sfw/ with-ssl-lib=/usr/sfw/lib/ --- didnt work either.. ecking for getopt_long... no checking for getopt_long in -liberty... yes checking for main in -lnsl... yes checking for socket in -lsocket... yes checking for main in -lwrap... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for closesocket... no checking for socklen_t... yes checking for type of socket size... size_t checking for SSL headers... SSL headers found in /usr/local/ssl checking for SSL libraries... configure: error: Cannot find ssl libraries Please let me know the work around for this. Thanks in advance. Regards, Chethan -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ 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 *Please do not print this email unless it is absolutely necessary. * The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.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 2.12 error on solaris 9
Sorry, should have looked further down the inbox :-) Can you telnet from the Nagios server to port 5666 on the host with the NRPE daemon? Does it connect? Cheers, Guy. On Wed, Jun 24, 2009 at 1:47 AM, chethan@wipro.com wrote: Dear all, ON Solaris servers NRPE is configured and wrking fine locally, but when I try running check_nrpe from the nagios server I m getting error: *Error :Could not complete the SSL handshake*, Locally check_nrpe command is wrking fine. I checked all the configuration and found that the openssl package on the nagios server is openssl-0.9.8e-7.el5 and that on solaris server is 0.9.7e. I guess this may be the issue for ssl handshake error. Please let me know if anythig i have missed or need to be done. PLease let me know the fix. waiting for valuable suggestions. regards, Chethan M N -- ___ 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 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] Error while configuring NRPE on solaris
Hi, came across this just now while browsing my NAGIOS mail folder. From my notes on installing NAGIOS on Solaris 10: If getting SSL handshake error from nrpe, it may be that you don't have the SUN Solaris crypto packages SUNWcrman, SUNWcryr and SUNWcry installed. Install them in the order: SUNWcrman, SUNWcryr, and SUNWcry Note: they are in the Solaris_10/Product subdirectory of the Solaris 10 DVD # pkgadd -d . SUNWcrman SUNWcry SUNWcryr For the other error with the svc:/network/nrpe/tcp, I would suggest you delete the SMF profile for NRPE and recreate it following the instructions by Stephan Windmueller mailto:stephan.windmuel...@cs.uni-dortmund.de at http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html. You don't need the whole thing, just the Integrating Nagios into SMF section. Look out for the paths and modify to match your install. Regards, This mail is from a Gimper From: Andrew Davis [mailto:ncc...@gmail.com] Sent: Wednesday, June 10, 2009 2:13 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Error while configuring NRPE on solaris Per my previous email... I had the EXACT same issue and went to check_by_ssh for my Solaris hosts... I'm thinking there must be some magic step we're missing that isn't into the current oh yeah... if you have Solaris then do this knowledge pool... A. Davis Email: ncc...@gmail.com There is no limit to what a man can accomplish if he doesn't care who gets the credit. - Ronald Reagan N Patil wrote: This problem is still unresolvable. I have tried all possible situations but no use. I can still see error in dmesg when i run /usr/local/nagios/libexec/check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. Error i see when i run dmesg, svc:/network/nrpe/tcp:default (chdir: No such file or directory) Jun 10 10:15:53 unknown inetd[7268]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) Jun 10 10:15:59 unknown inetd[7276]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) I am using SunOS 5.10 Generic_120012-14 i86pc i386 i86pc Thanks, Nilesh Luc I. Suryo l...@suryo.com mailto:l...@suryo.com 05/29/2009 10:07 PM Please respond to Luc I. Suryo l...@suryo.com mailto:l...@suryo.com To Eric Pearce epea...@amberpoint.com mailto:epea...@amberpoint.com cc N Patil n.pa...@lntinfotech.com mailto:n.pa...@lntinfotech.com , Nagios Users Mailinglist nagios-users@lists.sourceforge.net mailto:nagios-users@lists.sourceforge.net Subject Re: [Nagios-users] Error while configuring NRPE on solaris fyi I have been using nagios and nrpe 9-10 years now; sparc and x86, started back with solaris 7 and now soalris 10, zero error mix solaris, aix, hpux, linux. The server has always been Solaris (sparc or x86), use inetd/xinetd/deamon mode again zero error The one 'problem' i have seen people complain about is ssl and nrpe, read the manual and it should pretty clear what todo, 99.9% is almost the use not having doing some RTFM thingy :) The other one is tcp-wrapper and nrpe, nrpe has a access control buildt-in so I never understood one would need to use tcp-wrapper :) -ls From: N Patil To: Eric Pearce Cc: Nagios Users Mailinglist Sent: Thursday, May 28, 2009 9:13 PM Subject: Re: [Nagios-users] Error while configuring NRPE on solaris Thanks Eric, I have followed the same article but it dint help. This problem is something which occured at the end, i mean while testing connectivity. Thanks, Nilesh May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) I'm just guessing, but do you have a home directory for the nagios user (with owner and group set to nagios)? The chdir error might come from this. -e -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-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] SMS Foxbox
Does anybody know where I can purchase one of these in the UK at all? Also what would be the next level up for an SMS gateway, is there a server version around Cheers -- ___ 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] Error while configuring NRPE on solaris
Hay Ayotunde Please go through this doc which i have written when i was installaing NRPE on Solaris 10. http://allunix.wordpress.com/2009/06/11/install-and-configure-nagios-plugins-nrpe-on-solaris-10/ Thanks, Nilesh Ayotunde Itayemi ayotunde.itay...@zain.com 06/24/2009 01:10 PM To ncc...@gmail.com, Nagios Users Mailinglist nagios-users@lists.sourceforge.net cc Subject Re: [Nagios-users] Error while configuring NRPE on solaris Hi, came across this just now while browsing my NAGIOS mail folder. From my notes on installing NAGIOS on Solaris 10: If getting SSL handshake error from nrpe, it may be that you don’t have the SUN Solaris crypto packages SUNWcrman, SUNWcryr and SUNWcry installed. Install them in the order: SUNWcrman, SUNWcryr, and SUNWcry Note: they are in the Solaris_10/Product subdirectory of the Solaris 10 DVD # pkgadd -d . SUNWcrman SUNWcry SUNWcryr For the other error with the “svc:/network/nrpe/tcp“, I would suggest you delete the SMF profile for NRPE and recreate it following the instructions by Stephan Windmueller at http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html. You don’t need the whole thing, just the “Integrating Nagios into SMF” section. Look out for the paths and modify to match your install. Regards, This mail is from a Gimper From: Andrew Davis [mailto:ncc...@gmail.com] Sent: Wednesday, June 10, 2009 2:13 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Error while configuring NRPE on solaris Per my previous email... I had the EXACT same issue and went to check_by_ssh for my Solaris hosts... I'm thinking there must be some magic step we're missing that isn't into the current oh yeah... if you have Solaris then do this knowledge pool... A. Davis Email: ncc...@gmail.com There is no limit to what a man can accomplish if he doesn't care who gets the credit. - Ronald Reagan N Patil wrote: This problem is still unresolvable. I have tried all possible situations but no use. I can still see error in dmesg when i run /usr/local/nagios/libexec/check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. Error i see when i run dmesg, svc:/network/nrpe/tcp:default (chdir: No such file or directory) Jun 10 10:15:53 unknown inetd[7268]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) Jun 10 10:15:59 unknown inetd[7276]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) I am using SunOS 5.10 Generic_120012-14 i86pc i386 i86pc Thanks, Nilesh Luc I. Suryo l...@suryo.com 05/29/2009 10:07 PM Please respond to Luc I. Suryo l...@suryo.com To Eric Pearce epea...@amberpoint.com cc N Patil n.pa...@lntinfotech.com, Nagios Users Mailinglist nagios-users@lists.sourceforge.net Subject Re: [Nagios-users] Error while configuring NRPE on solaris fyi I have been using nagios and nrpe 9-10 years now; sparc and x86, started back with solaris 7 and now soalris 10, zero error mix solaris, aix, hpux, linux. The server has always been Solaris (sparc or x86), use inetd/xinetd/deamon mode again zero error The one 'problem' i have seen people complain about is ssl and nrpe, read the manual and it should pretty clear what todo, 99.9% is almost the use not having doing some RTFM thingy :) The other one is tcp-wrapper and nrpe, nrpe has a access control buildt-in so I never understood one would need to use tcp-wrapper :) -ls From: N Patil To: Eric Pearce Cc: Nagios Users Mailinglist Sent: Thursday, May 28, 2009 9:13 PM Subject: Re: [Nagios-users] Error while configuring NRPE on solaris Thanks Eric, I have followed the same article but it dint help. This problem is something which occured at the end, i mean while testing connectivity. Thanks, Nilesh May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) I'm just guessing, but do you have a home directory for the nagios user (with owner and group set to nagios)? The chdir error might come from this. -e -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please
Re: [Nagios-users] Nagios-users Digest, Vol 37, Issue 34
Hello Ton, Command line: /nagios/libexec/check_nrpe -H X -c CheckServiceState -a AOS\$01 ShowAll=long OK: AOS$01: started Here is the host def: define host { use X host_name X address X alias X hostgroups +CRM4 #max_check_attempts 3 #check_interval 2 #retry_interval 1 #contact_groups + #notifications_enabled 1 _CRM_SERVICES AOS\$01 # Macros _REQUESTOR } The service definition: define service { # Which _template_* to use. # (e.g. standard-service-60) use standard-service-1 # Service spesific service_description CRM Services check_command check_nrpe_parameters!CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES hostgroup_name CRM4 # Per service options first_notification_delay10 process_perf_data 0 notifications_enabled 1 max_check_attempts 2 retry_interval 5 } The check command definition: define command { command_name check_nrpe_parameters command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ -a $ARG2$ } It worked on Nagios 3.0.6. I've tried almost any combination of escaping the dollar sign, $$, \$, \\$$,\\\$ You name it! Thanks for your help, Tore Date: Tue, 23 Jun 2009 19:52:07 +0100 From: Ton Voon ton.v...@opsera.com Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? To: Nagios Users Mailinglist nagios-users@lists.sourceforge.net Message-ID: 864af918-0779-4585-885d-afe784e69...@opsera.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Tore, Can you send the configuration for the host and service too? Can you also send the check_nrpe_parameters command definition. On the command line, what works? Also, you said a previous version of Nagios worked with this definition - which version of Nagios was that? Ton On 23 Jun 2009, at 15:09, Tore L?n?y wrote: Let me see, this should be enough i think: define host { host_name X alias X address X check_period24x7 check_command check-host-alive contact_groups notification_period 24x7 initial_state o check_interval 15.00 retry_interval 5.00 max_check_attempts 3 active_checks_enabled 1 passive_checks_enabled 0 obsess_over_host1 event_handler_enabled 0 low_flap_threshold 0.00 high_flap_threshold 0.00 flap_detection_enabled 1 flap_detection_options o,d,u freshness_threshold 0 check_freshness 0 notification_optionsd,r notifications_enabled 1 notification_interval 60.00 first_notification_delay60.00 stalking_optionsn process_perf_data 1 failure_prediction_enabled 1 notes_url retain_status_information 1 retain_nonstatus_information1 _REQUESTOR _CRM_SERVICES AOS$\$01 } define service { host_name X service_description X check_period24x7 check_command check_nrpe_parameters!CheckServiceState! ShowAll=long $_HOSTCRM_SERVICES contact_groups notification_period 24x7 initial_state o check_interval 1.00 retry_interval 5.00 max_check_attempts 2 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 0 obsess_over_service 0 event_handler_enabled 0 low_flap_threshold 0.00 high_flap_threshold 0.00 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_optionsc,r notifications_enabled 1 notification_interval 60.00 first_notification_delay10.00 stalking_optionsn process_perf_data 0 failure_prediction_enabled 1 notes retain_status_information 1 retain_nonstatus_information1 } The problem for me it seems is when nagios is parsing the data just before it is going to execute the command. It is no problem executes check_nrpe with ah backslash (\) as the escape char. But the problem for me is what escape char do i use in custom macros? -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net
Re: [Nagios-users] NConf vs. NagiosQL vs. lilac ??
Hello, 2009/6/24 Mirza Dedic mi...@oppy.com: Hello, I am stuck at choosing which configuration tool I should use for my Nagios, I plan to refine our checks to steamline them more for performance, and change some of the plug-ins used for checks, and would like to install a web-based configuration utlity. I've noticed there are a few to chose from.. NConf NagiosQL Lilac Platform Centreon is another web-based configuration utility for Nagios. RRDTool graphs are available in Centreon with no addon. Regards. -- ___ 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] NConf vs. NagiosQL vs. lilac ??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Moby wrote: Mirza Dedic wrote: Hello, I am stuck at choosing which configuration tool I should use for my Nagios, I plan to refine our checks to steamline them more for performance, and change some of the plug-ins used for checks, and would like to install a web-based configuration utlity. I've noticed there are a few to chose from.. NConf NagiosQL Lilac Platform Anyone experience with any of these, which one would you suggest to go with? My main deciding factor is speed, performance, and ease of use/customization-configuration. Thanks. I tried the ones you mention, as well as nagiosadmin. I have finally settled on nagiosQL - I found it to be the most stable and feature rich, your mileage may vary. Regards, Same here. Moreover the categorization feature with the configuring options are awsome. Saves filtering overload. Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal T: 00977 1 4429616/17 Ext.: 110 F: 00977 1 4430572 http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpB/uAACgkQnfv7imVnL2t9lQCffBcOqWrKfJZDlvbY0LKO6Cmh Y7kAn3oNzcQQEqSak4AjrSxmXO1uRaw+ =aDbU -END PGP SIGNATURE- -- ___ 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] Problem in Preflight Check with commands.cfg
On Fri, Jun 19, 2009 at 10:52 PM, Kaplan, Andrew H.ahkap...@partners.org wrote: /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'check_dns' (config file '/etc/nagios3/conf.d/commands.cfg', starting on line 90) Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' on line 91. I would start grepping in /etc/nagios3 for check_dns (you can grep recursively and ignoring case sensitivity with the options -ri ). something like this, then: # cd /etc/nagios3 # grep -ri check_dns * See what you get, somewhere you have a duplicate command in your configuration. Natxo -- ___ 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] View all unhandled services and all unhandled hosts
Hi, I want to see all unhandled service problems and all unhandled host problems on one page. I thought, this URL would do it: status.cgi?host=allservicestatustypes=28serviceprops=42hoststatustypes=12hostprops=42 But it doesn't. It shows nothing instead of the down hosts and services I have. Any ideas ? Kind regards, Christoph -- Christoph Kluenter E-Mail: c...@iphh.net Technik Tel: +49 (0)40 374919-10 IPHH Internet Port Hamburg GmbH Fax: +49 (0)40 374919-29 Grosse Reichenstrasse 27 AG Hamburg, HRB 76071 D-20457 Hamburg Geschaeftsfuehrung: Axel G. Kroeger -- ___ 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] Escaping broke i 3.1.1 ?
Hello, Sorry for double posting, but wrong subject. Ton: Command line: /nagios/libexec/check_nrpe -H X -c CheckServiceState -a AOS\$01 ShowAll=long OK: AOS$01: started Here is the host def: define host { use X host_name X address X alias X hostgroups +CRM4 #max_check_attempts 3 #check_interval 2 #retry_interval 1 #contact_groups + #notifications_enabled 1 _CRM_SERVICES AOS\$01 # Macros _REQUESTOR } The service definition: define service { # Which _template_* to use. # (e.g. standard-service-60) use standard-service-1 # Service spesific service_description CRM Services check_command check_nrpe_parameters!CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES hostgroup_name CRM4 # Per service options first_notification_delay10 process_perf_data 0 notifications_enabled 1 max_check_attempts 2 retry_interval 5 } The check command definition: define command { command_name check_nrpe_parameters command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ -a $ARG2$ } It worked on Nagios 3.0.6. I've tried almost any combination of escaping the dollar sign, $$, \$, \\$$,\\\$ You name it! Thanks for your help, Tore Date: Tue, 23 Jun 2009 19:52:07 +0100 From: Ton Voon ton.v...@opsera.com Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? To: Nagios Users Mailinglist nagios-users@lists.sourceforge.net Message-ID: 864af918-0779-4585-885d-afe784e69...@opsera.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Tore, Can you send the configuration for the host and service too? Can you also send the check_nrpe_parameters command definition. On the command line, what works? Also, you said a previous version of Nagios worked with this definition - which version of Nagios was that? Ton On 23 Jun 2009, at 15:09, Tore L?n?y wrote: Let me see, this should be enough i think: define host { host_name X alias X address X check_period24x7 check_command check-host-alive contact_groups notification_period 24x7 initial_state o check_interval 15.00 retry_interval 5.00 max_check_attempts 3 active_checks_enabled 1 passive_checks_enabled 0 obsess_over_host1 event_handler_enabled 0 low_flap_threshold 0.00 high_flap_threshold 0.00 flap_detection_enabled 1 flap_detection_options o,d,u freshness_threshold 0 check_freshness 0 notification_optionsd,r notifications_enabled 1 notification_interval 60.00 first_notification_delay60.00 stalking_optionsn process_perf_data 1 failure_prediction_enabled 1 notes_url retain_status_information 1 retain_nonstatus_information1 _REQUESTOR _CRM_SERVICES AOS$\$01 } define service { host_name X service_description X check_period24x7 check_command check_nrpe_parameters!CheckServiceState! ShowAll=long $_HOSTCRM_SERVICES contact_groups notification_period 24x7 initial_state o check_interval 1.00 retry_interval 5.00 max_check_attempts 2 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 0 obsess_over_service 0 event_handler_enabled 0 low_flap_threshold 0.00 high_flap_threshold 0.00 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_optionsc,r notifications_enabled 1 notification_interval 60.00 first_notification_delay10.00 stalking_optionsn process_perf_data 0 failure_prediction_enabled 1 notes retain_status_information 1 retain_nonstatus_information1 } The problem for me it seems is when nagios is parsing the data just before it is going to execute the command. It is no problem executes check_nrpe with ah backslash (\) as the escape char. But the problem for me is what escape char do i use in custom macros? -- ___ Nagios-users mailing list
[Nagios-users] packaged but not installed
Trying to build a 3.1.2 RPM using the SPEC file included with the latest nagios tarball, and I keep running into the following errors: RPM build errors: File not found: /var/tmp/nagios-buildroot/usr/share/nagios File not found by glob: /var/tmp/nagios-buildroot/usr/share/nagios/* Installed (but unpackaged) file(s) found: And the failure RPM is complaining about is correct, when I cd to /var/tmp/nagios-buildroot/usr/share there is no nagios directory with the listed files that are unpackaged. In going through the SPEC file, I cannot gleam anything that indicates where the specific problem is. Has anyone else run into this? And has anyone been able to address it, and correct the SPEC file? Thanks in advance Michael Weiner === P Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S. News World Report (2008). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. -- ___ 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] Can't see http://localhost/nagios
Hi, I've just installed nagios by this guide http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html, but my /var/www/ is empty, and so I can't see anything when I point my browser to http://localhost/nagios. Am I missing a step somewhere? Do I need to additionally configure something else, too? Best regards Dayo -- ___ 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 Center implemntation
Hello List Has anyone managed to install and use this nagios add on ? http://nagcen.sourceforge.net/ Assaf -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY -- ___ 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] Antwort: Can't see http://localhost/nagios
I've just installed nagios by this guide http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html, but my /var/www/ is empty, and so I can't see anything when I point my browser to http://localhost/nagios. Am I missing a step somewhere? Do I need to additionally configure something else, too? Did you follow point 5) in the guide? Nagios installs its html/cgi files into /usr/local/nagios/share. make install-webconf copies a nagios.cfg file into /etc/httpd/httpd.conf, if I am not mistaken. A reload of apache should load that config. As far as I can remember, debian/ubuntu does not have a /etc/httpd, but a /etc/apache2 directory. Please doublecheck if the apache configfile for nagios has been created and reload the apache2 server if you fixed the problem. Regards Sascha GFKL Financial Services AG Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522-- ___ 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] Can't see http://localhost/nagios
is the apache web server started ? what does the apache nagios.conf file say ? Assaf On Wednesday 24 June 2009 15:41:36 Dayo Adewunmi wrote: Hi, I've just installed nagios by this guide http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html, but my /var/www/ is empty, and so I can't see anything when I point my browser to http://localhost/nagios. Am I missing a step somewhere? Do I need to additionally configure something else, too? Best regards Dayo --- --- ___ 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 -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY -- ___ 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] Can't see http://localhost/nagios
make install-webconf /var/www is truely empty because the virtual host definition for nagios points to the nagios/share directory Kind regards, Michael Dayo Adewunmi wrote the following on 24.06.2009 17:41: Hi, I've just installed nagios by this guide http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html, but my /var/www/ is empty, and so I can't see anything when I point my browser to http://localhost/nagios. Am I missing a step somewhere? Do I need to additionally configure something else, too? Best regards Dayo -- ___ 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 -- DI (FH) Michael Friedrich michael.friedr...@univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria -- ___ 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-2.12
you can probably easilly fix with openssl-devel if you have yum... yum install openssl-devel is all you have to do. -- Mat W. - http://www.techadre.com Date: Wed, 24 Jun 2009 15:22:51 +0200 From: jerome.me...@baldata.ch To: Nagios-users@lists.sourceforge.net; nagios-de...@lists.sourceforge.net Subject: [Nagios-users] nrpe-2.12 Hi I’m trying to install nrpe-2.12 on the nagios server and I receive this message : ./configure […] checking for SSL headers... SSL headers found in /usr/local/ssl checking for SSL libraries... configure: error: Cannot find ssl libraries The openssl’s version is : openssl-0.9.8h-30.11 and there’s not openssl.devel package available… on the other hand the version nrpe-2.8 is running ! On some forums, I’ve read that I could install this patch (see attach file). How could I run this patch? Which version is better to use: nrpe-2.8 or nrpe-2.12? Thanks jerome _ Lauren found her dream laptop. Find the PC that’s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290-- ___ 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] Escaping broke i 3.1.1 ?
I think you may need to escape the backslash itself with another backslash ... vaguely recall having to do that myself in some checks when passing values that had a backslash in it. -- Mat W. - http://www.techadre.com Date: Wed, 24 Jun 2009 15:12:20 +0200 From: tore.lo...@gmail.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? Hello, Sorry for double posting, but wrong subject. Ton: Command line: /nagios/libexec/check_nrpe -H X -c CheckServiceState -a AOS\$01 ShowAll=long OK: AOS$01: started Here is the host def: define host { use X host_name X address X alias X hostgroups +CRM4 #max_check_attempts 3 #check_interval 2 #retry_interval 1 #contact_groups + #notifications_enabled 1 _CRM_SERVICES AOS\$01 # Macros _REQUESTOR } The service definition: define service { # Which _template_* to use. # (e.g. standard-service-60) use standard-service-1 # Service spesific service_description CRM Services check_command check_nrpe_parameters!CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES hostgroup_name CRM4 # Per service options first_notification_delay10 process_perf_data 0 notifications_enabled 1 max_check_attempts 2 retry_interval 5 } The check command definition: define command { command_name check_nrpe_parameters command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ -a $ARG2$ } It worked on Nagios 3.0.6. I've tried almost any combination of escaping the dollar sign, $$, \$, \\$$,\\\$ You name it! Thanks for your help, Tore Date: Tue, 23 Jun 2009 19:52:07 +0100 From: Ton Voon ton.v...@opsera.com Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? To: Nagios Users Mailinglist nagios-users@lists.sourceforge.net Message-ID: 864af918-0779-4585-885d-afe784e69...@opsera.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Tore, Can you send the configuration for the host and service too? Can you also send the check_nrpe_parameters command definition. On the command line, what works? Also, you said a previous version of Nagios worked with this definition - which version of Nagios was that? Ton On 23 Jun 2009, at 15:09, Tore L?n?y wrote: Let me see, this should be enough i think: define host { host_name X alias X address X check_period24x7 check_command check-host-alive contact_groups notification_period 24x7 initial_state o check_interval 15.00 retry_interval 5.00 max_check_attempts 3 active_checks_enabled 1 passive_checks_enabled 0 obsess_over_host1 event_handler_enabled 0 low_flap_threshold 0.00 high_flap_threshold 0.00 flap_detection_enabled 1 flap_detection_options o,d,u freshness_threshold 0 check_freshness 0 notification_optionsd,r notifications_enabled 1 notification_interval 60.00 first_notification_delay60.00 stalking_optionsn process_perf_data 1 failure_prediction_enabled 1 notes_url retain_status_information 1 retain_nonstatus_information1 _REQUESTOR _CRM_SERVICES AOS$\$01 } define service { host_name X service_description X check_period24x7 check_command check_nrpe_parameters!CheckServiceState! ShowAll=long $_HOSTCRM_SERVICES contact_groups notification_period 24x7 initial_state o check_interval 1.00 retry_interval 5.00 max_check_attempts 2 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 0 obsess_over_service 0 event_handler_enabled 0 low_flap_threshold 0.00 high_flap_threshold 0.00 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_optionsc,r notifications_enabled 1 notification_interval 60.00 first_notification_delay10.00 stalking_optionsn process_perf_data 0 failure_prediction_enabled 1 notes retain_status_information 1 retain_nonstatus_information1 } The problem for me it seems is when nagios is parsing the data just before it is going to execute the command. It is no problem
Re: [Nagios-users] NConf vs. NagiosQL vs. lilac ??
- Mirza Dedic mi...@oppy.com escreveu: Hello, I am stuck at choosing which configuration tool I should use for my Nagios, I plan to refine our checks to steamline them more for performance, and change some of the plug-ins used for checks, and would like to install a web-based configuration utlity. We use the opcfg, you can find it on [1] and it's opensource. It's based on an old Fruity version with a lot of enhancements. Take a look. [1] http://www.opmon.org -rm -- ___ 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] Can't see http://localhost/nagios
Thanks, that did the trick. Also, I needed to *restart* apache2, and not just reload it. Best regards Dayo --- Michael Friedrich wrote: make install-webconf /var/www is truely empty because the virtual host definition for nagios points to the nagios/share directory Kind regards, Michael Dayo Adewunmi wrote the following on 24.06.2009 17:41: Hi, I've just installed nagios by this guide http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html, but my /var/www/ is empty, and so I can't see anything when I point my browser to http://localhost/nagios. Am I missing a step somewhere? Do I need to additionally configure something else, too? Best regards Dayo -- ___ 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 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 Center implemntation
Not sure about you, but w/o a screenshot or something I'd be inclined to skip it. :) A. Davis Email: ncc...@gmail.com There is no limit to what a man can accomplish if he doesn't care who gets the credit. - Ronald Reagan Assaf Flatto wrote: Hello List Has anyone managed to install and use this nagios add on ? http://nagcen.sourceforge.net/ Assaf -- ___ 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] Problem in Preflight Check with commands.cfg
I went ahead and copied the nagios directory from our original server to the new one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The main page of the application appears without a problem. However, whenever I try to go to any one of the links from the main page, an error message similar to the one below appears on-screen: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I noticed that after I inserted the snippets from the nagios.conf file into the httpd.conf file, and subsequently restarted the Apache server, the following errors appeared on-screen: Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier ScriptAlias. [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. I have enclosed a copy of the httpd.conf file in its present version. I am at a loss as to why the error message is occurring, and I would really appreciate help on this. -Original Message- From: Natxo Asenjo [mailto:natxo.ase...@gmail.com] Sent: Wednesday, June 24, 2009 7:14 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problem in Preflight Check with commands.cfg On Fri, Jun 19, 2009 at 10:52 PM, Kaplan, Andrew H.ahkap...@partners.org wrote: /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'check_dns' (config file '/etc/nagios3/conf.d/commands.cfg', starting on line 90) Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' on line 91. I would start grepping in /etc/nagios3 for check_dns (you can grep recursively and ignoring case sensitivity with the options -ri ). something like this, then: # cd /etc/nagios3 # grep -ri check_dns * See what you get, somewhere you have a duplicate command in your configuration. Natxo -- ___ 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 e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. httpd.conf Description: httpd.conf -- ___ 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] Problem getting past main page
This issue is an offshoot of the Problem in preflight check with commands.cfg. I went ahead and copied the nagios directory from our original server to the new one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The main page of the application appears without a problem. However, whenever I try to go to any one of the links from the main page, an error message similar to the one below appears on-screen: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I noticed that after I inserted the snippets from the nagios.conf file into the httpd.conf file, and subsequently restarted the Apache server, the following errors appeared on-screen: Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier ScriptAlias. [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. I have enclosed a copy of the httpd.conf file in its present version. I am at a lossas to why the error message is occurring, and I would really appreciate help on this. httpd.conf The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. httpd.conf Description: httpd.conf -- ___ 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] nagvis requires ndoutils; how stable is ndoutils?
On Tue, Jun 16, 2009 at 6:47 AM, Kevin Keane subscript...@kkeane.comwrote: I just installed ndoutils with mysql. There indeed was one pitfall: the database is growing quite large very quickly. Eventually, the DB got sluggish and couldn't keep up with the data Nagios threw at it (the DB server is quite underpowered). It got so bad that after a week or so, Nagios wouldn't even start up. It turned out that it wasn't primarily the database itself, but binary logging. It is turned on by default (at least on CentOS) but you only need it for replication. If you are not using replication, simply turn off binary logging and you should be good to go. At least, I hope so; I only made that change yesterday, so I won't know for another week or so. Thanks for all those helpful comments guys! You might have saved me from a few disasters here. I think I am staying away from Nagvis (and ndoutils ) for now. Nagviz seems to me one of those tools that simply look great but the back-end still needs quite some work before I'd be brave enough to unleash it in a production environment! -- Rahul -- ___ 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 get/generate nagios reports in CSV or PDF format?
Hello everyone, I have nagios implemented inhouse which monitors most of the unix, windows servers as well as routers and switches. Is there any way that I can generate/convert reports into CSV, PDF, DOC or such formats ? Can I generate reports for CPU Utilization, Memory Utilization, Disk Utilization, Ping Availability etc. Thanks in advance. - nilesh __-- ___ 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] nagvis requires ndoutils; how stable is ndoutils?
Rahul Nabar wrote: On Tue, Jun 16, 2009 at 6:47 AM, Kevin Keane subscript...@kkeane.com mailto:subscript...@kkeane.com wrote: I just installed ndoutils with mysql. There indeed was one pitfall: the database is growing quite large very quickly. Eventually, the DB got sluggish and couldn't keep up with the data Nagios threw at it (the DB server is quite underpowered). It got so bad that after a week or so, Nagios wouldn't even start up. It turned out that it wasn't primarily the database itself, but binary logging. It is turned on by default (at least on CentOS) but you only need it for replication. If you are not using replication, simply turn off binary logging and you should be good to go. At least, I hope so; I only made that change yesterday, so I won't know for another week or so. Thanks for all those helpful comments guys! You might have saved me from a few disasters here. I think I am staying away from Nagvis (and ndoutils ) for now. Nagviz seems to me one of those tools that simply look great but the back-end still needs quite some work before I'd be brave enough to unleash it in a production environment! I think that is a bit overreacting. ndoutils is a database client. Databases need management and tuning to get you good performance - that's just routine, regardless of the brand you are using: mysql, SQL Server, Oracle, Postgres, No amount of work or polishing will change that. There's a reason DBAs are highly valued professionals. For that matter, my database would have had this problem regardless of ndoutils. It's just that ndoutils writes a lot more to the database than my other applications (by nature, not ndoutils' fault). By the way, the tuning I suggested seems to have done the trick. It's been running for more than a week without a hitch, and without the increase in disk space I had observed before. -- 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. -- ___ 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] nagvis requires ndoutils; how stable is ndoutils?
On Thu, Jun 25, 2009 at 12:20 AM, Kevin Keane subscript...@kkeane.comwrote: I think that is a bit overreacting. ndoutils is a database client. Thanks Kevin. Point taken. Databases need management and tuning to get you good performance - that's just routine, regardless of the brand you are using: mysql, SQL Server, Oracle, Postgres, But the way nagios natively stores data seems to be pretty robust though. Nagios has scaled excellently right out of the box. From all these discussions it seems that the problems arise when I try to hook up ndoutils etc. in there. Maybe I am wrong! No amount of work or polishing will change that. There's a reason DBAs are highly valued professionals. I feel that's the crux though. If each native nagios install neeed a skilled DBA to tune it till it worked I doubt it'd have been so successful. -- Rahul -- ___ 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