Re: [Nagios-users-br] Dúvida
Em Tue, 05 May 2009 15:06:11 -0300, Rúbia Karla escreveu: Estou tento problema com as notificações de alguns servidores. Muitos deles não respondem algumas requisições [disco e load]. Abaixo, segue po retornado. Discohttp://localhost/nagios/cgi-bin/extinfo.cgi?type=2host=cluster1service=Disco CRITICAL Connection refused by host Loadhttp://localhost/nagios/cgi-bin/extinfo.cgi?type=2host=cluster1service=Load CRITICAL Connection refused by host Não sei como resolver, já que as máquinas estão funcionando perfeitamente. Será algum plugin que não foi instalado nelas?Tivemos um problema de incêncio na empresa e as máquinas tiveram que ser refeitas. Desde já, agradeço a paciencia comigo, já que sou bem nova nessa coisa de Nagios. Rúbia Ramos -- 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 Rúbia Qual o SO usado nos servidores ? considere que os servidores podem estar bloqueando a conexão (firewall ou antivirus). -- 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-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] Ndoutils e problemas de performance
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 max_concurrent_checks=0 check_result_reaper_frequency=5 max_check_result_reaper_time=5 check_result_path=/var/nagios/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=30 cached_service_check_horizon=60 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=0 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/var/nagios/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 obsess_over_hosts=0 translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0
Re: [Nagios-users-br] Dúvida
Rubia Pode ser o firewall das maquinas que esta bloqueado o acesso do nagios. Att. Ricardo 2009/5/5 Rúbia Karla donab...@gmail.com: Estou tento problema com as notificações de alguns servidores. Muitos deles não respondem algumas requisições [disco e load]. Abaixo, segue po retornado. Discohttp://localhost/nagios/cgi-bin/extinfo.cgi?type=2host=cluster1service=Disco CRITICAL Connection refused by host Loadhttp://localhost/nagios/cgi-bin/extinfo.cgi?type=2host=cluster1service=Load CRITICAL Connection refused by host Não sei como resolver, já que as máquinas estão funcionando perfeitamente. Será algum plugin que não foi instalado nelas?Tivemos um problema de incêncio na empresa e as máquinas tiveram que ser refeitas. Desde já, agradeço a paciencia comigo, já que sou bem nova nessa coisa de Nagios. Rúbia Ramos -- 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
Re: [Nagios-users-br] Dúvida
Rubia, Vc esta usando nesses servidores algo como o nsca ou nrpe? Caso sim verifique as regras do firewall ou a configuração desses agentes pois os mesmos estão recusando sua solicitação. vlw 2009/5/5 Rúbia Karla donab...@gmail.com Estou tento problema com as notificações de alguns servidores. Muitos deles não respondem algumas requisições [disco e load]. Abaixo, segue po retornado. Disco http://localhost/nagios/cgi-bin/extinfo.cgi?type=2host=cluster1service=Disco CRITICAL Connection refused by host Load http://localhost/nagios/cgi-bin/extinfo.cgi?type=2host=cluster1service=Load CRITICAL Connection refused by host Não sei como resolver, já que as máquinas estão funcionando perfeitamente. Será algum plugin que não foi instalado nelas?Tivemos um problema de incêncio na empresa e as máquinas tiveram que ser refeitas. Desde já, agradeço a paciencia comigo, já que sou bem nova nessa coisa de Nagios. Rúbia Ramos -- 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- Diogo Rodrigo Semann Linux User: 315917 MSN: drsem...@yahoo.com.br SKYPE: drsemann GTALK: drsem...@gmail.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-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 Service Dependencies
2009/5/7 Dei Bertine deibert...@yahoo.com: Basic question guys: Which file do you normally place your service dependencies in? It stated here: http://nagios.sourceforge.net/docs/2_0/dependencies.html to place in objects cfg file which I thought placing it in my nagios.cfg But when I did, it complained about this error after running -v: Error in configuration file 'nagios.cfg' - Line 2859 (NULL value) Here's a sample of my definition: define servicedependency{ host_name ciscoasa-router service_description PING dependent_host_name ciscosw-router dependent_service_description PING execution_failure_criteria o notification_failure_criteria w,u } Please advise. Thank you! DB I would put service dependencies in a file called something like 'servicedependencies.cfg'. in nagios.cfg, you need a pointer to this new file, for example: cfg_file=/usr/local/nagios/etc/objects/servicedependencies.cfg The nagios.cfg file should only contain the main configuration file options which you'll find documented in http://nagios.sourceforge.net/docs/3_0/configmain.html But ... I'm not convinced you should need service dependencies for 'ping' from one host to another. Nagios handles this sort of thing automatically if you configure the host parent relationships. See: http://nagios.sourceforge.net/docs/3_0/networkreachability.html hth, Jim -- 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] Host Status Information Not Found
Hi, Anyone know what these messages mean? I've begun to add additional hosts to my setup, when I restart Nagios, all hosts are displayed, tactical states total of 4 hosts, I hit refresh a few times and tactical says there's only 3 hosts...When I view host or service detail the number of objects changes, and when viewing the individual hosts/services I get the errors below, but if I hit refresh again the service/host information is display Host Status Information Not Found! Please help me on this. Regards, Surajit The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to mailad...@ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- 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] Host Status Information Not Found
Surajit Mukherjee wrote: Hi, Anyone know what these messages mean? I've begun to add additional hosts to my setup, when I restart Nagios, all hosts are displayed, tactical states total of 4 hosts, I hit refresh a few times and tactical says there's only 3 hosts...When I view host or service detail the number of objects changes, and when viewing the individual hosts/services I get the errors below, but if I hit refresh again the service/host information is display Host Status Information Not Found! Please help me on this. Regards, Surajit [...] Hi! Please check if there is only 1 intance of nagios running. I had the same behaviour when accidentially starting at least 2 instances of Nagios. This screws things up.. Regards, -- DI Simon Kainz Graz, University of Technology Department Computing Phone: ++43 (0) 316 / 873 6885 signature.asc Description: OpenPGP digital 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] PNP swap template HOWTO
Hi Ayotunde, You need to create template file with name of service command name.php (i.e. check_mem.php whatever command name you use) , if this file doesn't exist in template dir, PNP will use default template. default template for check_swap (in template.dist) shows swap free rather than swap utilized, you need to modify template to show swap utilization. Ayotunde Itayemi Ayotunde.Itayemi @zain.com To nagios-users@lists.sourceforge.net 05/06/2009 08:39 PM cc Subject [Nagios-users] PNP swap template HOWTO Hi All, By default I have nothing in the templates directory of my PNP installation so all my graphs use the Default Template. I noticed that this inverts the SWAP utilization graph i.e., the red and yellow lines (warning/critical) are very close to the bottom of the graph while the utilization shows as almost 100% (close to the top) instead of very low is it actually is. I have copied the check_swap.php from the templates.dist directory into the templates directory, deleted all the existing swap.xml and swap.rrd files, and restarted the npcd daemon. I have also tried renaming check_swap.php to swap.php. I noticed also that all my graphs use the Default Template and the XML files for all of them have TEMPLATEcheck_nrpe/TEMPLATE. As these files are generated automatically, how do I get the SWAP graph to use the SWAP template? What else do I need to do? I am using PNP version 0.4.13 Thanks. This mail is from a Gimper -Original Message- From: Ed Donahue [mailto:libera...@gmail.com] Sent: Thursday, April 30, 2009 5:13 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] [nagios] Trigger alert via email Is it possible to trigger an alert by sending an email to nagios (passive check)? I'm guessing it isn't a straight forward as that, just wonder if it is doable, and any links to examples would be cool too. Thanks in advance Ed -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ 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 ForwardSourceID:NT64DE =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have
Re: [Nagios-users] check_snmp - warning numbers
Hola de nuevo... I'll answer you in English so that anybody in the list can understand and participate in this subject. I think that if you don't know exactly which parameter to monitor you should browse the whole OID list that you receive when you do a snmpwalk on your switch, and identify the ones that fit your needs, with the help of the website I said yesterday, or any other OIDs reference. My case: The only thing I want to detect is if there is any damaged port in any of my switches. So what I did was to snmpwalk on a switch which I positively knew that had its port #2 damaged, and discover which OID was significantly different for this port. And the one I found is: iso.3.6.1.2.1.10.7.2.1.7 (maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7) defined as: a count of frames for which the first transmission attempt on a particular interface is delayed because the medium is busy. The thing is that it's the only OID I found that gave a very high value for port #2 (about 65,000 or so) and 0 for the rest of ports that work properly. The command I defined for this was like this: define command { command_name check_port command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries } For sure there must be somebody else in the list who can give to you a more detailed or a more formally correct answer... Hasta la proxima, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -Mensaje original- De: Matias Blanco [mailto:mat...@valastro.com.ar] Enviado el: miércoles, 06 de mayo de 2009 19:27 Para: Alejandro Sánchez Meroño; Nagios-users@lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola Alejandro, Ahora otra cosa: De que manera crees que pueda chequear los puertos de mi switch con nagios para tener una idea más clara de lo que está sucediendo? Porque esos paquetes entrantes con errores no se si son por causa de la PC o de los puerto del switch... Muchas Gracias... Cristian Hola Matías... :-) and hola everyone... There exists a magical website where to identify every OID you can check with SNMP, the link is: http://support.ipmonitor.com/mibs_byoidtree.aspx For your particular issue, if you type RFC1213-MIB at the Search for: form, click the result given (RFC1213-MIB), and then View: Oid-tree, you'll be able to locate ifInErrors(14) at the tree shown, and clicking it you'll find its Description, which reads literally: The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. That's the answer to your question!! Now some other questions appear... Wouldn't it be nicer to know what exactly are you monitoring before you monitor it, so you could properly interpret the results? Is that parameter (number of inbound packets that contained errors and blah blah blah...) significant enough to determine if a port is working properly or not? Hope this helps... Best regards, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -Mensaje original- De: Matias Blanco [mailto:mat...@valastro.com.ar] Enviado el: miércoles, 06 de mayo de 2009 17:49 Para: Nagios-users@lists.sourceforge.net Asunto: [Nagios-users] check_snmp - warning numbers Hi, I am using the check_snmp nagios`s plugin. And when we check the ports status of a 3com Baseline 2250 Plus, we recibe many ports results: SNMP OK - 0 SNMP WARNING - *1* SNMP WARNING - *84* SNMP WARNING - *2* SNMP WARNING - *2* SNMP WARNING - *4* The question is, what´s the meaning of the warning numbers? Other information: -- # 'check_snmp' command definition define command{ command_namecheck_snmp command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } Example of service --- define service { use service-15x3x5-switchs host_name 3COM2250P service_description Port 03 [In Errors] check_command check_snmp!-C public -o ifInErrors.3 -w 0 -m RFC1213-MIB notifications_enabled 0 } THANKS... Matías Blanco. -- 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
Re: [Nagios-users] check_icmp and check_host
Thanks a lot... Now I'm installing the lib*-devel with this yum install command (I did not know that it was possible to use yum install)! So, and now all Menus an graphs are available... just great!! jerome -Ursprüngliche Nachricht- Von: MAD [mailto:sri.lu...@free.fr] Gesendet: Mittwoch, 6. Mai 2009 19:00 An: Meyer Jerome; jmose...@corp.xanadoo.com Cc: Nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] check_icmp and check_host I installed from scratch. That's why I told you to install the devel package (with 'yum install libjpeg-devel' for example). Once you will have installed every devel package I told you to, just compile again Nagios and install with 'make all make install' and every thing should be working fine. Concerning the availability graph, this was the correct link but since you had'nt install libpng-devel nor libgd-devel, this couldn't work. Marc-André - Original Message - From: Meyer Jerome jerome.me...@baldata.ch To: jmose...@corp.xanadoo.com Cc: Nagios-users@lists.sourceforge.net Sent: Wednesday, May 06, 2009 6:03 PM Subject: Re: [Nagios-users] check_icmp and check_host I'll check that and install it in this way... Thanks a lot, Jerome P.S.- Anyway! As someone still install Nagios from scratch? -Ursprüngliche Nachricht- Von: jmose...@corp.xanadoo.com [mailto:jmose...@corp.xanadoo.com] Gesendet: Mittwoch, 6. Mai 2009 17:54 An: Meyer Jerome Cc: Nagios-users@lists.sourceforge.net Betreff: Re: AW: [Nagios-users] check_icmp and check_host Since this is the first time you've installed Nagios (I assume) and you probably haven't used it much, I wouldn't expect there is too much benefit for you by installing Nagios from source. I would suggest that you take advantage of RH's rpm management and install Nagios from rpm. Doing that will automatically satisfy all your dependencies, install everything, and generate an Apache config and startup script. Plus, upgrades will be much simpler. Plugins will also be a breeze: yum install nagios-plugins Config files are stored in: /etc/nagios Plugins: /usr/lib/nagios/plugins CGI: /usr/lib/nagios/cgi html: /usr/share/nagios James Moseley Meyer Jerome jerome.me...@baldata.ch wrote: Hi James I've install Nagios through source-code : nagios-3.0.6.tar.gz! Thanks Jerome - - 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] Nagios PNP4nagios reporting
Hi Jim, As per your suggestion i tried to configure it using DRRAW, but I am not able to implement it. So could you please send me some document or relevant URL so that I can implement the same. Regards, Mohandas Kudva K Mailto: mohanda...@tcs.com Experience certainty. IT Services Business Solutions Outsourcing Jim Avery j...@jimavery.me.uk Sent by: avery...@gmail.com 05/05/2009 07:45 PM To mohanda...@tcs.com cc nagios-users@lists.sourceforge.net Subject Re: [Nagios-users] Nagios PNP4nagios reporting 2009/5/5 mohanda...@tcs.com: Hi All, I am using Nagios along with pnp4nagios/rrdtool for reporting/graph. I am able to view services dashboard for individual host. is it possible to view single graph for service/resource (i.e memory utilization) graph for all hosts/hostgroups ? as of now every host has single graph for their services.but I want to view one single specific performance (i.e. Memory utilization) graph for all hosts/hostgroups. I am currently using following versions Nagios 3.0.5 pnp4nagios 0.4.13 RRDtool 1.2.19 You can do that sort of thing using DRRAW ( http://web.taranis.org/drraw/ ) to make graphs from your existing PNP .rrd databases. hth, Jim ForwardSourceID:NT2956 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- 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] Disable Acknowledgement Alerts?
Some of our admins do not want to receive SMS alerts for service acknowledgments. I have searched high and low throughout the documentation and have not been able to find out how to do this. I see that there are some options like d u r f s for down, unreachable, recovery, flapping and send notifications for downtime. Where is the option to enable or disable ack alerts? Thanks Sean -- 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] Disable Acknowledgement Alerts?
When you acknowledge a problem, there is a checkbox to send notification. Uncheck that box and it won't send an ack alert. -Original Message- From: Sean Carolan [mailto:scaro...@gmail.com] Sent: Thursday, May 7, 2009 10:51 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Disable Acknowledgement Alerts? Some of our admins do not want to receive SMS alerts for service acknowledgments. I have searched high and low throughout the documentation and have not been able to find out how to do this. I see that there are some options like d u r f s for down, unreachable, recovery, flapping and send notifications for downtime. Where is the option to enable or disable ack alerts? Thanks Sean -- 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] Nagios Service Dependencies
Hi Jim, Thanks for clarifying to me et al, I will definitely give this a shot. I'm sure this will benefit the others who thought of building this config in their Nagios, especially for a newbie like I... :-) Cheers, DB From: Jim Avery j...@jimavery.me.uk To: Dei Bertine deibert...@yahoo.com Cc: nagios-users@lists.sourceforge.net Sent: Wednesday, May 6, 2009 11:47:01 PM Subject: Re: [Nagios-users] Nagios Service Dependencies 2009/5/7 Dei Bertine deibert...@yahoo.com: Basic question guys: Which file do you normally place your service dependencies in? It stated here: http://nagios.sourceforge.net/docs/2_0/dependencies.html to place in objects cfg file which I thought placing it in my nagios.cfg But when I did, it complained about this error after running -v: Error in configuration file 'nagios.cfg' - Line 2859 (NULL value) Here's a sample of my definition: define servicedependency{ host_name ciscoasa-router service_description PING dependent_host_name ciscosw-router dependent_service_description PING execution_failure_criteria o notification_failure_criteria w,u } Please advise. Thank you! DB I would put service dependencies in a file called something like 'servicedependencies.cfg'. in nagios.cfg, you need a pointer to this new file, for example: cfg_file=/usr/local/nagios/etc/objects/servicedependencies.cfg The nagios.cfg file should only contain the main configuration file options which you'll find documented in http://nagios.sourceforge.net/docs/3_0/configmain.html But ... I'm not convinced you should need service dependencies for 'ping' from one host to another. Nagios handles this sort of thing automatically if you configure the host parent relationships. See: http://nagios.sourceforge.net/docs/3_0/networkreachability.html hth, Jim -- 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] Im confused about scheduled downtime and notifications
Hi All, We've just migrated from Nagios 1 to 3.0.6. I have a host that was in scheduled downtime and turned off. I turned it back on, while still in scheduled downtime, and got a HOST UP alert for it. Is this expected behavior? Could I have a misconfiguration somewhere, where should I look? Has anyone else seen this? I've occasionally seen notifications for hosts in scheduled downtime, but only in the few seconds after restarting the Nagios daemon. I don't think it's expected behaviour, no. In this case the daemon had been running for 3 days. I've not bothered to find a fix for it, as it happens only rarely and so long as I don't restart the daemon at three in the morning, it won't bother anyone. This was on a host that had just been retired, I turned it back on to get a file off of it and that's when the alert was sent, it had been offline for a while. The interesting thing was that Nagios only sent a UP alert when I shut it down again (a few minutes later) the alerts for down were not sent (as would be expected). It does not appear to be a major problem (no one else responded), I'm not going to worry about it too much. Thanks for your feedback. -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
[Nagios-users] Escalations Info
Hi all, I'm trying to understand the escalation process in Nagios but think I'm missing a trick somewhere, this is what I want to do. If I have a service that is down I would like 3 email sent out and then after the 3 mails I would like this to escalate this to send out SMS sent and then stop. So in my escalations I have the following but unsure if it’s the correct format. First escalation: 3 because as I understand it this will occur after 3 mails have been sent. Last Escalation: 3 because I want 3 SMS sent after my 3 mails. Is this the way to do it or have I not got the correct understanding of it Thanks all Craig -- 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] Escalations Info
On May 7, 2009, at 12:52 PM, cr...@hooters-uk.com wrote: First escalation: 3 because as I understand it this will occur after 3 mails have been sent. Last Escalation: 3 because I want 3 SMS sent after my 3 mails. Is this the way to do it or have I not got the correct understanding of it I don't use escalations but my understanding is the numbering is sequential -- Notification number 1 - email 2 - email 3 - email 4 - First Escalation - sms 5 - sms 6 - Last Escalation - sms -- 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] check_snmp - warning numbers
Hello, How can i do an snmpwalk on my switch? Thanks, Cristian... -Mensaje original- De: Alejandro Sánchez Meroño [mailto:alejandro.sanc...@ite.es] Enviado el: Jueves, 07 de Mayo de 2009 05:44 Para: Matias Blanco; Nagios-users@lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola de nuevo... I'll answer you in English so that anybody in the list can understand and participate in this subject. I think that if you don't know exactly which parameter to monitor you should browse the whole OID list that you receive when you do a snmpwalk on your switch, and identify the ones that fit your needs, with the help of the website I said yesterday, or any other OIDs reference. My case: The only thing I want to detect is if there is any damaged port in any of my switches. So what I did was to snmpwalk on a switch which I positively knew that had its port #2 damaged, and discover which OID was significantly different for this port. And the one I found is: iso.3.6.1.2.1.10.7.2.1.7 (maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7) defined as: a count of frames for which the first transmission attempt on a particular interface is delayed because the medium is busy. The thing is that it's the only OID I found that gave a very high value for port #2 (about 65,000 or so) and 0 for the rest of ports that work properly. The command I defined for this was like this: define command { command_name check_port command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries } For sure there must be somebody else in the list who can give to you a more detailed or a more formally correct answer... Hasta la proxima, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -Mensaje original- De: Matias Blanco [mailto:mat...@valastro.com.ar] Enviado el: miércoles, 06 de mayo de 2009 19:27 Para: Alejandro Sánchez Meroño; Nagios-users@lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola Alejandro, Ahora otra cosa: De que manera crees que pueda chequear los puertos de mi switch con nagios para tener una idea más clara de lo que está sucediendo? Porque esos paquetes entrantes con errores no se si son por causa de la PC o de los puerto del switch... Muchas Gracias... Cristian Hola Matías... :-) and hola everyone... There exists a magical website where to identify every OID you can check with SNMP, the link is: http://support.ipmonitor.com/mibs_byoidtree.aspx For your particular issue, if you type RFC1213-MIB at the Search for: form, click the result given (RFC1213-MIB), and then View: Oid-tree, you'll be able to locate ifInErrors(14) at the tree shown, and clicking it you'll find its Description, which reads literally: The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. That's the answer to your question!! Now some other questions appear... Wouldn't it be nicer to know what exactly are you monitoring before you monitor it, so you could properly interpret the results? Is that parameter (number of inbound packets that contained errors and blah blah blah...) significant enough to determine if a port is working properly or not? Hope this helps... Best regards, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -Mensaje original- De: Matias Blanco [mailto:mat...@valastro.com.ar] Enviado el: miércoles, 06 de mayo de 2009 17:49 Para: Nagios-users@lists.sourceforge.net Asunto: [Nagios-users] check_snmp - warning numbers Hi, I am using the check_snmp nagios`s plugin. And when we check the ports status of a 3com Baseline 2250 Plus, we recibe many ports results: SNMP OK - 0 SNMP WARNING - *1* SNMP WARNING - *84* SNMP WARNING - *2* SNMP WARNING - *2* SNMP WARNING - *4* The question is, what´s the meaning of the warning numbers? Other information: -- # 'check_snmp' command definition define command{ command_namecheck_snmp command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } Example of service --- define service { use service-15x3x5-switchs host_name 3COM2250P service_description Port 03 [In Errors] check_command check_snmp!-C public -o ifInErrors.3 -w 0 -m RFC1213-MIB notifications_enabled 0 } THANKS... Matías Blanco. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak,
[Nagios-users] The icinga on the cake ...
I'm surprised nobody's mentioned this yet... http://www.icinga.org/ I only noticed it myself when I visited Nagios Exchange today. Not being a developer myself, I'm not quite sure what to say or think, except that I'm continuously deeply grateful to everyone who bring us Nagios itself, and the plugins and tools which make it greater than the sum of its parts. Cheers, Jim -- 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] Connection refused
I am getting Connection refused status information on a Windows 2003 Server that is using NSClient++. Out of the 7 Windows server I have in Nagios 3.0.6, this is the only server giving me that error Cheers, Surajit The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to mailad...@ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- 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] Multiple alerts from one script (Windows Eventlog monitoring)
Hello everyone. Started testing Nagios since last February, and am very much please with the functionality. I currently have a pilot Nagios implementation, monitoring about 100 Windows 2003 servers. I have one WinXP client, installed with a NSClient++ agent. All checks are executed remotely from the WinXP workstation, which acts as a proxy. My servers are agentless. Now I have created a vbs script to collect entries from the Windows eventlog, alerting on filtered errors, warning, eventsource, eventide, etc. For each defined filter I create one Service in Nagios (eg. I have one service checking for Antivirus events, another service checking for Printserver events, one service checking for DNS events, etc.) Each run of the script could report on multiple events. At the moment the script creates one single alert, showing multiple events. However, I would like to A. have one alert generated for each unique event (in order to use the notification mechanism). If possible I would like to implement an event-database, where I would be able to handle each unique alert. Something similar to MOM, where a count of each unique event is displayed, and as long as the event is not yet closed no new notifications are being sent out. B. In the end, I would like to implement some module, that will create a ticket in our Ultimo helpdesk system, for each new alert generated. Is this feasible with a combination of NSCA and Nagios Eventdb ? I have not yet been able to get the Eventdb running properly yet, so at the moment I am unable to assess the value of this tool. Also with NSCA I have just started playing. However, after some time I started getting NTVDM errors, which would only resolve with a reboot from my proxy.Th built-in NSCA functionality in the NSClient++ will only allow me (or so it seems) to run one instance of every defined script at a regular interval. Has anyone implemented something similar yet, and how did you get everything up and running ? Thanks in advance for feedback, Mike -- 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] Need To migrate Nagios Setup to a New Hardware
Hi All, I m need to migrate the existing Nagios setup to a new Hardware (server)... (i.e. from one server to another server) Since I am doing such kind of migration for the first time, I need some standard documents for reference. Please share some related documents that specifices the safe procedure for doing the migration keeping all the configurations, look and feel of the existing nagios same. Thanks Regards, Chethan M N, P Save a Tree - Please consider the environment before printing this email -- 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] Could NRPE be in some ways related to nss_ldap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear all, I have a remote server monitored using NRPE. Recently what I found was when my LDAP server went off, I was given a CHECK_NRPE: Socket timeout after 10 seconds. . This could have been the cause had nsswitch.conf in the box with NRPE installed has hosts queried via LDAP as well. But that isn't the case. Can there be any other reason? Any one ever came across this situation. 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) iEYEARECAAYFAkoDvsAACgkQnfv7imVnL2vf7gCfan5jhTMaVkGlPI6EdNShcEyJ dgEAnimtz7rinIqX2VKe8cZiUPk9T02s =Ijgj -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