Re: [Nagios-users-br] Ndoutils e problemas de performance
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, Leonardo Neves Bernardo Linux/Unix Specialist LPIC3 (core+mixed environment+security) + RHCT 2009/5/7 Cristiano Casado co.cas...@gmail.com Olá a todos. Estou utilizando em ambiente de laboratório o Nagios 3.0.6 com ndoutils 1.4b7 e MySQL 5.0 em uma máquina Linux CentOS 5.2 (2.6.18) x64 com 2GB ram e processador Intel Xeon 2.50GHz. Optei em utilizar o ndoutils para manter informacoes históricas de checks no banco de dados (tables nagios_servicechecks e nagios_hostcheks), assim como utilizar o NagVis para representacao gráfica das minhas redes. Os testes funcionais foram bons, porém cheguei ao ponto do projeto em que tive que fazer um benchmark com um número de 7.000 services, simulando o que vou encontrar em ambiente de producao. Carregando o broker ndomod porém sem executar o daemon ndo2db consigo uma performance boa de service checks com quase 95% dos services sendo processados na janela de 5 min e com uma latência de check baixa. Importante ressaltar que todos os services são ativos (não passivos) com check_interval de 5 minutos. Ao executar o daemon ndo2db, onde o mesmo inicializa o socket unix e comeca as operacoes em banco de dados, percebo uma perda considerável de performance do service check com apenas 9% dos services sendo processados na janela de 5 min, latência alta de checks e o contador de iowait da CPU entre 90% e 100%. Services que deveriam ser processados pelo daemon do Nagios em 5 min são processados com delay de até 1 hora, o que inviabiliza a solucao como ferramenta de monitoracao. Como o MySQL está na mesma máquina, fiz o tunning nele (buffer, threads, etc), apliquei índices adicionais as tabelas e testei passando as tabelas do database nagios para o esquema blackhole. Desta forma o banco aceita conexões e operacoes (select, insert, delete, ...) porém não grava os dados em disco. O iowait continuou alto e a performance ruim. Não desconfio mais do banco de dados. Percebi que o daemon do ndo2db utiliza apenas 1 conexão com o banco de dados para fazer diversas operacoes por segundo, sendo que cada operacao aguarda o final da execucao anterior. O que particularmente acho ruim. Pergunta: alguém utiliza as facilidades do ndoutils com banco de dados em grande instalacoes do Nagios ( 1500 hosts 7000 services) e que não tenha estes problemas de performance para me dar uma luz ? As configuracoes do Nagios estão abaixo. Segui algumas recomendacoes de tunning para o Nagios do documento http://nagios.sourceforge.net/docs/3_0/tuning.html Obrigado. Cristiano Casado. ### Nagios Config ### log_file=/var/log/nagios/nagios.log object_cache_file=/var/nagios/objects.cache precached_object_file=/var/nagios/objects.precache resource_file=/etc/nagios/resource.cfg status_file=/var/nagios/status/status.dat status_update_interval=10 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=15s command_file=/var/nagios/rw/nagios.cmd external_command_buffer_slots=4096 lock_file=/var/run/nagios.pid temp_file=/var/nagios/nagios.tmp temp_path=/tmp event_broker_options=-1 broker_module=/usr/libexec/ndomod-3x.o config_file=/etc/nagios/ndomod.cfg log_rotation_method=d log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=30
[Nagios-users] hostgroup view problem
Hi all, I'm quite new using nagios and I have a little problem. Hostgroup view show me It appears as though you do not have permission to view information for any of the hosts you requested error, but cgi.cfg and permission in webserver seem all ok. Any idea? Cheers, Diego -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] hostgroup view problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Diego Giardinetto wrote: Hi all, I'm quite new using nagios and I have a little problem. Hostgroup view show me It appears as though you do not have permission to view information for any of the hosts you requested error, but cgi.cfg and permission in webserver seem all ok. Any idea? Cheers, Diego Check with the users in the cgi.cfg and the http passwd file. There must have been some permission issues. Else you can turn off authentication, unless its explicitly necessary. Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal 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) iEYEARECAAYFAkoKkiMACgkQnfv7imVnL2ubigCfe8z3PgqpaRZJpqE8dKMbefVO mx8AoJXcIfp30D1mTOSn0jqTEm5rd9DU =Xrnb -END PGP SIGNATURE- -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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, ndoutils and database indexes
I personally added indexes on the following fields : * servicechecks / service_object_id * servicechecks / state * hostcheck / host_object_id * hostcheck / state * objects / objecttype_id * services / host_object_id * statehistory / object_id * statehistory / state_change * statehistory / state * statehistory / state_time * statehistory / last_state * hoststatus / last_hard_state * servicestatus / last_hard_state Some may be useless to you. Marc-André - Mail Original - De: Marco Tirado marco.tir...@gmail.com À: nagios-users@lists.sourceforge.net Envoyé: Mercredi 13 Mai 2009 09h49:18 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] Nagios, ndoutils and database indexes Hello: We run nagios 3.0.6 with ndoutils and nagvis for host visualization. We had some problems with our nagios server a couple of weeks ago and we believe it is related to mysql performance, we could see that the mysql process was consumming from 80 to 90 % of the CPU in the monitoring server at certain times. We could solve the problem by applying a couple of indexes to the nagios database (the one used by ndoutils) as recommended in thread: http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg23943.html Afterwords we enabled monitoring for the nagios database by using the check_mysql_health plugin and we see that the index usage for the nagios database is under 10%. I am not a Database Administrator but I believe this is a very low index usage. I would like to konw if anyone has any recommendations about database indexes applicable to the nagios database for ndoutils/nagvis. Any tips/hints are appreciated //Marco -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] hostgroup view problem
On May 13, 2009, at 3:05 AM, Diego Giardinetto wrote: Hi all, I'm quite new using nagios and I have a little problem. Hostgroup view show me It appears as though you do not have permission to view information for any of the hosts you requested error, but cgi.cfg and permission in webserver seem all ok. Any idea? Are you an authorized contact for all hosts in that hostgroup? -- Marc -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] hostgroup view problem
Hi, also disabling authentication system i have the same error. could be a virtual host configuration mistake? Thx, Diego On Wed, 2009-05-13 at 15:10 +0545, Gaurav Ghimire wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Diego Giardinetto wrote: Hi all, I'm quite new using nagios and I have a little problem. Hostgroup view show me It appears as though you do not have permission to view information for any of the hosts you requested error, but cgi.cfg and permission in webserver seem all ok. Any idea? Cheers, Diego Check with the users in the cgi.cfg and the http passwd file. There must have been some permission issues. Else you can turn off authentication, unless its explicitly necessary. Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal 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) iEYEARECAAYFAkoKkiMACgkQnfv7imVnL2ubigCfe8z3PgqpaRZJpqE8dKMbefVO mx8AoJXcIfp30D1mTOSn0jqTEm5rd9DU =Xrnb -END PGP SIGNATURE- -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] hostgroup view problem
This is a good question, could you make me an example? ;) Thx, Diego On Wed, 2009-05-13 at 08:09 -0500, Marc Powell wrote: On May 13, 2009, at 3:05 AM, Diego Giardinetto wrote: Hi all, I'm quite new using nagios and I have a little problem. Hostgroup view show me It appears as though you do not have permission to view information for any of the hosts you requested error, but cgi.cfg and permission in webserver seem all ok. Any idea? Are you an authorized contact for all hosts in that hostgroup? -- Marc -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] hostgroup view problem
On May 13, 2009, at 8:16 AM, Diego Giardinetto wrote: Hi, also disabling authentication system i have the same error. could be a virtual host configuration mistake? I don't think you disabled authentication. I don't believe it's possible to see that error with authentication disabled. Did you set use_authentication=0 in cgi.cfg? If yes, is htaccess still enabled? -- Marc -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Help with graphing
All, I am running nagios with ndoUtils. Ndo has been capturing data for about 6 months. Now I need find a good graphing utility that can be integrated with nagios. I am looking for graphing capability from traditional database not rrd utility. Can someone suggest or point me to the right direction. Thanks in advance. -- Cordially, Shadhin Rahman -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Files Missing While upgrading.
Hello, I have passed the location of gd libraries and everything went fine. But when I try to access the web interface I am able to see only home page and I am having the below error message for all other options. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmas...@mon.corpads.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. -- Apache/2.0.58 (Unix) DAV/2 Server at nycmon.corpads.com Port 80 And from error log I find these below errors. [Fri May 08 16:47:25 2009] [error] [client 10.187.152.223] ld.so.1: tac.cgi: fatal: libglib-2.0.so.0: open failed: No such file or directory, referer: http://nycmon.corpads.com/nagios/side.html [Fri May 08 16:47:25 2009] [error] [client 10.187.152.223] Premature end of script headers: tac.cgi, referer: http://nycmon.corpads.com/nagios/side.html And I find the location of libglib-2.0.so.0 in /opt/csw/lib/libglib-2.0.so.0 *Path* # echo $LD_LIBRARY_PATH /usr/lib:/lib:/usr/ucb/lib:/usr/ccs/lib:/usr/openwin/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/local/lib:/opt/csw/lib Thanks Jai. On Mon, Apr 13, 2009 at 9:56 PM, Marc Powell m...@ena.com wrote: On Apr 13, 2009, at 6:10 PM, Jai Ram wrote: Hello, I have upgraded nagios from version 2.8 to 3.0.6 on Solaris-10. When I was going through upgrade it has requested me for statusmap.cgi,histogram.cgi and trends.cgi, was not found so I copied it from version 2.8. ** Is this because the above three files belongs to Version 2.8, If so how would i get those three files for Nagios-3.0.6. I looked in to Nagios-3.0.6 and those three files are missing. So how do I compile them for Nagios-3.0.6** It's because the GD libs (devel) are not installed or were not found in standard locations. There's a FAQ entry for it but it looks like the FAQ is broken right now. Examine the output of ./configure or config.log for information and links. if the GD devel libraries are installed, you may need to pass their location to ./configure with -- --with-gd-lib=DIR sets location of the gd library --with-gd-inc=DIR sets location of the gd include files -- Marc -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] hostgroup view problem
disabled auth basic and related .htaccess and setted-up use_authentication=0. error still remain. I tried to execute status.cgi?hostgroup=allstyle=overview manually from shell but I have the same error. Error seems to appear only view hostgroup parameter. Diego On Wed, 2009-05-13 at 09:06 -0500, Marc Powell wrote: On May 13, 2009, at 8:16 AM, Diego Giardinetto wrote: Hi, also disabling authentication system i have the same error. could be a virtual host configuration mistake? I don't think you disabled authentication. I don't believe it's possible to see that error with authentication disabled. Did you set use_authentication=0 in cgi.cfg? If yes, is htaccess still enabled? -- Marc -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 permissions problem
I have a Nagios server 3.0.6 running on Ubuntu 8.04 Server. It is monitoring all things fine on multiple targets except the one below. On a certain target, I am trying to monitor my /var/log/auth.log file for bad activity, such as failed password attempts, or attempts to login as invalid users, etc. I am trying to do this via the check_log plugin via nrpe, but, I get a Log check error: Log file /var/log/auth.log is not readable! when the server checks on it. The easiest way I have to reproduce the error is the following manually executed command from the host server: /usr/local/nagios/libexec/check_nrpe -H target -c check_badpw I know that it means that the file cannot be opened during the check, but, I don't understand why. ls -l of /var/log/auth.log: -rw-r- 1 syslog adm 1590863 2009-05-12 10:47 /var/log/auth.log In /etc/groups, I have added the nagios user to the adm group, so I would think it should work. Further, if I am logged in as root on the target, and do su - nagios, I can read /var/log/auth.log Further, if I chmod o+r /var/log/auth.log, the command executes properly. Additionally, when I am logged into the target as root, and su to nagios and execute the command as defined in nrpe.cfg: /usr/local/nagios/libexec/check_log -F /var/log/auth.log -O /usr/local/nagios/auth.badpasswords.log -q : Failed password for it works fine. So, I know it will work if I loosen the permissions on /var/log/auth.log, but, I'd prefer to keep them as tight as possible. When I am logged into the target as nagios and execute id, I get, uid=5308(nagios) gid=5309(nagios) groups=4(adm),5309(nagios) When I embed id into the check_log script, I get: uid=5308(nagios) gid=5309(nagios) so, it would seem that it does not inherit the groups as I would assume it would. More configuration information: nrpe runs under xinetd on the target: service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 x.x.x.226 } How can I determine why the check_nrpe command does not allow for reading of the /var/log/auth.log file on the target machine? -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 permissions problem
On May 13, 2009, at 7:17 AM, Thomas Stearn wrote: I have a Nagios server 3.0.6 running on Ubuntu 8.04 Server. It is monitoring all things fine on multiple targets except the one below. On a certain target, I am trying to monitor my /var/log/auth.log file for bad activity, such as failed password attempts, or attempts to login as invalid users, etc. I am trying to do this via the check_log plugin via nrpe, but, I get a Log check error: Log file /var/log/auth.log is not readable! when the server checks on it. The easiest way I have to reproduce the error is the following manually executed command from the host server: /usr/local/nagios/libexec/check_nrpe -H target -c check_badpw I know that it means that the file cannot be opened during the check, but, I don't understand why. ls -l of /var/log/auth.log: -rw-r- 1 syslog adm 1590863 2009-05-12 10:47 /var/log/auth.log In /etc/groups, I have added the nagios user to the adm group, so I would think it should work. [chop] So, I know it will work if I loosen the permissions on /var/log/ auth.log, but, I'd prefer to keep them as tight as possible. When I am logged into the target as nagios and execute id, I get, uid=5308(nagios) gid=5309(nagios) groups=4(adm),5309(nagios) When I embed id into the check_log script, I get: uid=5308(nagios) gid=5309(nagios) so, it would seem that it does not inherit the groups as I would assume it would. I'm certain this was recently discussed but my search-fu is weak this morning. It might have been on -devel or nagios-plugins though... I didn't follow closely but the gist of it (I believe) is that xinetd drops/ignores any secondary groups the user is a member of before starting the server. No secondary groups, no access in your case. Looking at my xinetd.conf man page, I see the following which may help. You may also have better search-fu than me and can find the original thread... groups Takes either yes or no. If the groups attribute is set to yes, then the server is executed with access to the groups that the server's effective UID has access to. If the groups attribute is set to no, then the server runs with no supplementary groups. This attribute must be set to yes for many BSD systems. This attribute can be set in the defaults section as well. -- Marc -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 permissions problem
I have a Nagios server 3.0.6 running on Ubuntu 8.04 Server. It is monitoring all things fine on multiple targets except the one below. On a certain target, I am trying to monitor my /var/log/auth.log file for bad activity, such as failed password attempts, or attempts to login as invalid users, etc. I am trying to do this via the check_log plugin via nrpe, but, I get a Log check error: Log file /var/log/auth.log is not readable! when the server checks on it. The easiest way I have to reproduce the error is the following manually executed command from the host server: /usr/local/nagios/libexec/check_nrpe -H target -c check_badpw I know that it means that the file cannot be opened during the check, but, I don't understand why. ls -l of /var/log/auth.log: -rw-r- 1 syslog adm 1590863 2009-05-12 10:47 /var/log/auth.log In /etc/groups, I have added the nagios user to the adm group, so I would think it should work. Further, if I am logged in as root on the target, and do su - nagios, I can read /var/log/auth.log Further, if I chmod o+r /var/log/auth.log, the command executes properly. Additionally, when I am logged into the target as root, and su to nagios and execute the command as defined in nrpe.cfg: /usr/local/nagios/libexec/check_log -F /var/log/auth.log -O /usr/local/nagios/auth.badpasswords.log -q : Failed password for it works fine. So, I know it will work if I loosen the permissions on /var/log/auth.log, but, I'd prefer to keep them as tight as possible. When I am logged into the target as nagios and execute id, I get, uid=5308(nagios) gid=5309(nagios) groups=4(adm),5309(nagios) When I embed id into the check_log script, I get: uid=5308(nagios) gid=5309(nagios) so, it would seem that it does not inherit the groups as I would assume it would. More configuration information: nrpe runs under xinetd on the target: service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 x.x.x.226 } How can I determine why the check_nrpe command does not allow for reading of the /var/log/auth.log file on the target machine? -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] hostgroup view problem
On May 13, 2009, at 8:41 AM, Diego Giardinetto wrote: This is a good question, could you make me an example? ; I don't know what example to show you. Is the user you were logged in as listed as a contact for all hosts in at least one hostgroup? -- Marc -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] hostgroup view problem
Yes, it was... I use the default nagios config file style: each server use a myserver-template where is defined a contact-group where send emails. In this contact-group there is the concact I use to log-in... Seems right... you know? Diego On Wed, 2009-05-13 at 09:59 -0500, Marc Powell wrote: On May 13, 2009, at 8:41 AM, Diego Giardinetto wrote: This is a good question, could you make me an example? ; I don't know what example to show you. Is the user you were logged in as listed as a contact for all hosts in at least one hostgroup? -- Marc -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 permissions problem
Thank you! That was so simple, and yet, no matter where I tried searching, I could not come up with it!!! It worked like a champ! Tom And, thanks again for the previous help ;-) On Wed, May 13, 2009 at 10:44 AM, Marc Powell m...@ena.com wrote: On May 13, 2009, at 7:17 AM, Thomas Stearn wrote: I have a Nagios server 3.0.6 running on Ubuntu 8.04 Server. It is monitoring all things fine on multiple targets except the one below. On a certain target, I am trying to monitor my /var/log/auth.log file for bad activity, such as failed password attempts, or attempts to login as invalid users, etc. I am trying to do this via the check_log plugin via nrpe, but, I get a Log check error: Log file /var/log/auth.log is not readable! when the server checks on it. The easiest way I have to reproduce the error is the following manually executed command from the host server: /usr/local/nagios/libexec/check_nrpe -H target -c check_badpw I know that it means that the file cannot be opened during the check, but, I don't understand why. ls -l of /var/log/auth.log: -rw-r- 1 syslog adm 1590863 2009-05-12 10:47 /var/log/auth.log In /etc/groups, I have added the nagios user to the adm group, so I would think it should work. [chop] So, I know it will work if I loosen the permissions on /var/log/ auth.log, but, I'd prefer to keep them as tight as possible. When I am logged into the target as nagios and execute id, I get, uid=5308(nagios) gid=5309(nagios) groups=4(adm),5309(nagios) When I embed id into the check_log script, I get: uid=5308(nagios) gid=5309(nagios) so, it would seem that it does not inherit the groups as I would assume it would. I'm certain this was recently discussed but my search-fu is weak this morning. It might have been on -devel or nagios-plugins though... I didn't follow closely but the gist of it (I believe) is that xinetd drops/ignores any secondary groups the user is a member of before starting the server. No secondary groups, no access in your case. Looking at my xinetd.conf man page, I see the following which may help. You may also have better search-fu than me and can find the original thread... groups Takes either yes or no. If the groups attribute is set to yes, then the server is executed with access to the groups that the server's effective UID has access to. If the groups attribute is set to no, then the server runs with no supplementary groups. This attribute must be set to yes for many BSD systems. This attribute can be set in the defaults section as well. -- Marc -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] hostgroup view problem - PROBLEM SOLVED
I lost localhost.cfg entry in nagios.cfg main config file. In this situation status.cgi still print the permission error while the real problem is the missing entry in nagios.cfg file. Diego On Wed, 2009-05-13 at 17:15 +0200, Diego Giardinetto wrote: Yes, it was... I use the default nagios config file style: each server use a myserver-template where is defined a contact-group where send emails. In this contact-group there is the concact I use to log-in... Seems right... you know? Diego On Wed, 2009-05-13 at 09:59 -0500, Marc Powell wrote: On May 13, 2009, at 8:41 AM, Diego Giardinetto wrote: This is a good question, could you make me an example? ; I don't know what example to show you. Is the user you were logged in as listed as a contact for all hosts in at least one hostgroup? -- Marc -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 -- Diego Giardinetto Junior SysAdmin @ ZephirWorks Mobile: +39 328 068 14 89 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Files Missing While upgrading.
Looks like you should add /opt/csw/lib to the library path with 'crle' : # crle -u -l /opt/csw/lib -e - Original Message - From: Jai Ram To: Marc Powell Cc: Nagios Users Mailinglist Sent: Wednesday, May 13, 2009 7:14 AM Subject: Re: [Nagios-users] Files Missing While upgrading. Hello, I have passed the location of gd libraries and everything went fine. But when I try to access the web interface I am able to see only home page and I am having the below error message for all other options. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmas...@mon.corpads.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. -- Apache/2.0.58 (Unix) DAV/2 Server at nycmon.corpads.com Port 80 And from error log I find these below errors. [Fri May 08 16:47:25 2009] [error] [client 10.187.152.223] ld.so.1: tac.cgi: fatal: libglib-2.0.so.0: open failed: No such file or directory, referer: http://nycmon.corpads.com/nagios/side.html [Fri May 08 16:47:25 2009] [error] [client 10.187.152.223] Premature end of script headers: tac.cgi, referer: http://nycmon.corpads.com/nagios/side.html And I find the location of libglib-2.0.so.0 in /opt/csw/lib/libglib-2.0.so.0 Path # echo $LD_LIBRARY_PATH /usr/lib:/lib:/usr/ucb/lib:/usr/ccs/lib:/usr/openwin/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/local/lib:/opt/csw/lib Thanks Jai. On Mon, Apr 13, 2009 at 9:56 PM, Marc Powell m...@ena.com wrote: On Apr 13, 2009, at 6:10 PM, Jai Ram wrote: Hello, I have upgraded nagios from version 2.8 to 3.0.6 on Solaris-10. When I was going through upgrade it has requested me for statusmap.cgi,histogram.cgi and trends.cgi, was not found so I copied it from version 2.8. ** Is this because the above three files belongs to Version 2.8, If so how would i get those three files for Nagios-3.0.6. I looked in to Nagios-3.0.6 and those three files are missing. So how do I compile them for Nagios-3.0.6** It's because the GD libs (devel) are not installed or were not found in standard locations. There's a FAQ entry for it but it looks like the FAQ is broken right now. Examine the output of ./configure or config.log for information and links. if the GD devel libraries are installed, you may need to pass their location to ./configure with -- --with-gd-lib=DIR sets location of the gd library --with-gd-inc=DIR sets location of the gd include files -- Marc -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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 -- -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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-- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net
[Nagios-users] Reporting issue
We;re currently using 3.06 in Production. We use a custom availability timeframe to run reports every month to report availability data to Mgmt. We noticed a change in behavior over the past couple months that has us puzzled. When we run an availability report for the past month and choose the custom report period, it reports the duration as 30 days. Seems logical as that is the elapsed time of the report, but in the past, nagios would calculate that duration as the maximum availability based on the custom timeperiod we used to generate the report. To make this a bit clearer, if our Production time was 18 hrs/day M-F and we defined that as Corp_Prod and we ran the report against it for, say, April 09. Nagios would have reported the Duration as 396 hours (22days x 18hrs/day). However, in recent months we're noticing that Nagios report the calendar duration of the report with no regard for the customer timeperiod. Any ideas whether something has changed or if we're doing something wrong? Thanks \\Greg -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Help with graphing
I read through and followed Wolfgang Barth's Nagios 2nd Edition for my Nagios 3/x install. Its been extremely helpful and covers lots of options. For graphing, it covered multiple options with reasons for each, including Nagiosgraph, Perf2rrd, drraw, NagiosGrapher, and PNP. After reading about them all and and such, I decided on PNP (pnp4nagios) as it was the best mix of ease of installation combined with functionality. Most that were easy to install were also somewhat limited. Those that were unlimited in scope were also difficult to install. pnp4nagios struck a good balance between both. There were some tweaks to make, though, so for this reason I recommend pnp4nagios but I also recommend Nagios 2nd Edition as it has all the changes and caveats covered. 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 shadih rahman wrote: All, I am running nagios with ndoUtils. Ndo has been capturing data for about 6 months. Now I need find a good graphing utility that can be integrated with nagios. I am looking for graphing capability from traditional database not rrd utility. Can someone suggest or point me to the right direction. Thanks in advance. -- Cordially, Shadhin Rahman -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Service escalations registering, but not enforcing
Hello, I'm having an issue i have not been able to resolve. I'm using nagios 3.0.4 and have a ton of service escalations defined, however they do not seem to be enforced. I've also noticed, that while i've defined all of my services to use the generic-service template (which by default, has a notification_interval set to 60) i receive notifications every 30 minutes despite the generic-service definition and escalations. My services.cfg: http://dpaste.com/43794/ My templates.cfg: http://dpaste.com/43795/ If i run nagios -v nagios.cfg my output looks like: Nagios 3.0.4 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 10-15-2008 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 338 services. Checking hosts... Checked 112 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 973 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 25 commands. Checking time periods... Checked 5 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check So nagios can clearly see my service escalations. So is there any apparent reason why my service escalations are not enforced? And also, is there any apparent reason why my notification_interval is enforced as 30 minutes, when it is set to 60 in templates.cfg? Any help/input/ridicule would be greatly appreciated, as if i don't come up with a solution, i'm just going to trash this install and use nagios 2.x Thanks, Bruce -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Kelsey Smith/CFS01/CFS is out of the office.
I will be out of the office starting 05/13/2009 and will not return until 05/15/2009. -- Confirmed virus-free by mymssp.net see www.anchortechnologies.com for more information. -- -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Upgrade from 1.3 version to 3+
Anyone please let me know what is the best way to proceed for a beginner to upgrade Nagios 1.3 version on Linux to the 3+ Thanks, Venu-- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Service escalations registering, but not enforcing
So i've also tested this problem with host escalations, and i have seen the same behavior. Despite whatever settings i put into my host escalations, or my host definitions, i'm still receiving notifications every 30 minutes, any ideas? -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Assigning contacts to hosts confusion
Hi All, Can someone help me understand the best way to assign contacts to hosts en masse? In version 1.x, we would create a hostgroup put the hosts that we needed in it and then assign a contact group to that hostgroup, done deal. Now it appears that under Nagios 3 to accomplish the same thing I have to create the hostgroup as before and then go to each host and assign a contact or contact group to it. That's much more tedious than the old way, am I missing something? Please tell me there's an easier way that I'm overlooking. I found this in the what's new in Nagios 2 doc's (http://nagios.sourceforge.net/docs/2_0/whatsnew.html): Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions xodtemplate.html . This was done in order to maintain consistency with the way service contacts are specified. Make sure to update your config files! Thanks, -greg -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Upgrade from 1.3 version to 3+
-Original Message- From: venu_vustipa...@readersdigest.com [mailto:venu_vustipa...@readersdigest.com] Sent: Wednesday, May 13, 2009 4:33 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Upgrade from 1.3 version to 3+ Anyone please let me know what is the best way to proceed for a beginner to upgrade Nagios 1.3 version on Linux to the 3+ Thanks, Venu --- First, I'd rebuild a new linux server to run it on and get the latest version running, even if it's only checking localhost and emailing me. Examine very closely *all* old config files, figure out your old installation and what checks will replace (if necessary) the older ones from nagios-plugins standard programs, or if you may need custom plugins from nagiosexchange.org Slowly rebuild the old configuration into the new, testing (and improving/learning) as you go. (that's just me though). ;) Cheers, jamie -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Assigning contacts to hosts confusion
Hi, On 5/13/09 7:57 PM, Frater, Greg J wrote: Can someone help me understand the best way to assign contacts to hosts en masse? In version 1.x, we would create a hostgroup put the hosts that we needed in it and then assign a contact group to that hostgroup, done deal. Now it appears that under Nagios 3 to accomplish the same thing I have to create the hostgroup as before and then go to each host and assign a contact or contact group to it. That's much more tedious than the old way, am I missing something? Please tell me there's an easier way that I'm overlooking. Create a host template and assign your contacts there. If you need to *override* contacts inherited from the template, do it in the host declaration itself like you would normally do. Exemple: define host { address 127.0.0.1 alias localhost contactsjust_this_one host_name localhost use generic-host } If you need to *add* contacts to the list of contacts already inherited from the template, add a + in front of the list of contacts in the host declaration. Example: define host { address 127.0.0.1 alias localhost contacts+oh_and_add_this_one_too host_name localhost use generic-host } Reference: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html - Implied/Additive Inheritance in Escalations -- Mathieu -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] Help with active web testing
Hi all, I've been using nagios for a while, and we're needing to perform more active testing on our site than simply HTTP GET and POST operations. I'm looking for a plugin to Nagios that can execute steps and report that assertions passed or failed. I took at look at web inject, but we can only use it on a handful of our pages as Javascript isn't supported. A lot of our pages update using Prototype and dynamic lists, so this won't allow us to create all the transactions we want. Does anyone know of anything that can use xulrunner to load the firefox engine and report back to nagios? Thanks, todd SENIOR SOFTWARE ENGINEER todd nine | spidertracks ltd | 117a the square po box 5203 | palmerston north 4441 | new zealand P: +64 6 353 3395 | M: +64 21 E: t...@spidertracks.co.nz W: www.spidertracks.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] My issue with Nagios
Hi, It proboly is 1.3 if there is no windows config file. Nagios 1.X did not have a windows config. that was added in either Nagios 2.X or 3.X. but basically it is just a regular config file that sets up a few templets. for monitoring a windows system. I Do not recomend using it, PROVIDED you read the Windows section of the 3.X manual since it lays out how to monitor a windows system. Tony (Author of NC_Net - Check_nt compatible Windows plugin) On Wed, May 13, 2009 at 3:25 AM, narendran.neelame...@wipro.com wrote: Are you sure about the version first 1.3? If it is not having a windows.cfg you can find them in quick start guide. http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html Regards, Naren -- *From:* venu_vustipa...@readersdigest.com [mailto: venu_vustipa...@readersdigest.com] *Sent:* Tuesday, May 12, 2009 8:37 PM *To:* nagios-users@lists.sourceforge.net *Subject:* [Nagios-users] My issue with Nagios Hi, I'm facing an issue with the Nagios 1.3 version, which is not having an windows.cfg file in /usr/local/nagios/etc/objects to start monitoring a windows server CPU. Please suggest! Thanks, Venu -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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