From dlz at astro.caltech.edu Thu Jun 1 00:21:06 2006 From: dlz at astro.caltech.edu (Daniel Zieber) Date: Wed, 31 May 2006 15:21:06 -0700 (PDT) Subject: check_http Error on receive In-Reply-To: <1149104070.11457.10.camel@localhost> References: <20060531174512.GG11935@hermes.americas.hpqcorp.net> <20060531184157.801ED4F476B@desire.netways.de> <1149104070.11457.10.camel@localhost> Message-ID: Hi All, Thank you for helping, and letting me know that check_http should be working. I recompiled from source, and everything is working now. Again, Thanks! Dan On Wed, 31 May 2006, Marcel Mitsuto Fucatu Sugano wrote: > Hello, > > On Wed, 2006-05-31 at 20:41 +0200, Dan Zieber wrote: >> odata1# ./check_http -H www.palomar.caltech.edu -p 8000 -v > >> From my nagios box: > > $ ./check_http -H www.palomar.caltech.edu -p 8000 > HTTP OK HTTP/1.0 200 OK - 2373 bytes in 0.643 seconds |time=0.643370s;;;0.000000 size=2373B;;;0 > $ > > Nagios 2.3.1 plugins 1.4.3 slackware current. > > M. > > > AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. > > NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ---------------------------------------------------------- Dan Zieber Network Administrator, Palomar Observatory Telephone: (760)742-2105 Fax: (760)742-1728 E-mail: dlz at astro.caltech.edu From kevin.zhang at mblox.com Thu Jun 1 00:31:08 2006 From: kevin.zhang at mblox.com (Kevin Zhang) Date: Wed, 31 May 2006 15:31:08 -0700 Subject: Add additional columns to the nagios output Message-ID: <20A3B15FFC02244484902AB384BDBE0D013B5D32@usexchange4.cblan.mblox.com> Hi there, Is it possible to add additional columns to the output of the nagios web interface? Any help will be greatly appreciated. Kevin SZ -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Thu Jun 1 02:12:04 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 31 May 2006 20:12:04 -0400 Subject: Authentication problem (apache basic) In-Reply-To: <51e7ae840605310933i32357c22w3cd82f42104f0f46@mail.gmail.com> References: <51e7ae840605310933i32357c22w3cd82f42104f0f46@mail.gmail.com> Message-ID: You have Apache configured incorrectly. You might try AllowOverride AuthConfig instead of AllowOverride None. ________________________________ From: Brad Clemmons Jr Sent: Wednesday, May 31, 2006 9:34 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Authentication problem (apache basic) Ok, I know this is probably a problem with my configuration so I need new eyes to look at this. I have nagios configured and working WITHOUT AUTHENTICATION (use_authentication=0 in cgi.cfg). If I turn on authentication I don't even get a login prompt on the page for nagios. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 1 04:20:34 2006 From: marc at ena.com (Marc Powell) Date: Wed, 31 May 2006 21:20:34 -0500 Subject: Add additional columns to the nagios output Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kevin Zhang > Sent: Wednesday, May 31, 2006 5:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Add additional columns to the nagios output > > Hi there, > > > > Is it possible to add additional columns to the output of the nagios web > interface? Only by editing status.c (or other CGI you want to modify) where you want to display the additional columns and recompiling. -- Marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 1 04:25:37 2006 From: marc at ena.com (Marc Powell) Date: Wed, 31 May 2006 21:25:37 -0500 Subject: SSH and Windows Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Goodburn, Laura > Sent: Wednesday, May 31, 2006 3:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SSH and Windows > > Please forgive me as I am fairly new to Nagios and the world of plugins. > > > > I have a Windows box that is running ssh and I would like to connect via > ssh, run a wmi vbs script, and pass the result back to Nagios. I know that > I can call the check_by_ssh plugin and pass the script name for the > command parameter but I don't know how to pass the result back to the > check_by_ssh plugin. > > > > When I ssh into the box and run the .vbs script for CPU by executing the > following command: > > cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90 > > > > I get the following: > > OK - Total CPU Utilization 2% | 'CPU_Utilization'=2%;80%;90%;; > > > > However, if I try the following command: > > ./libexec/check_by_ssh -H testserver -C "cscript //nologo > c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90" > > > > I get nothing returned, the prompt just comes back like it ran the script > but returned no result. > > > > Has anyone else ever written a custom plugin to pull the result back in > via ssh? For security concerns and traffic control, I would prefer to use > ssh instead of nrpe for running wmi scripts. Especially since we are > trying to make it so that the wmi scripts will only report the statistics > for that box instead of branching out to other Windows boxes on the > subnet. > > > > Any help would be greatly appreciated. As long as your plugin complies with the Screen Output and Plugin Return Codes (at the minimum) of http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN73, check-by-ssh should pass the appropriate information back. Can you run your command directly from ssh? i.e. ssh user at hostname "cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90" -- marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From MJoyce at ccia.unsw.edu.au Thu Jun 1 05:50:54 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 1 Jun 2006 13:50:54 +1000 Subject: Polling question Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE728E@mail01.ccia.local> Hi, I'm writing some scrips in python to extract data from a Nagios mysql database, that all fine, happy with that. I'd like the script to run as often as Nagios refreshes it's own data, is there any way I can get Nagios to run my scriipt ? Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4495 bytes Desc: not available URL: From patrick.morris at hp.com Thu Jun 1 07:00:16 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 1 Jun 2006 01:00:16 -0400 Subject: Polling question In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE728E@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE728E@mail01.ccia.local> Message-ID: If you ewant it to run every time a check result is submitted, check out the "obsess" options and ocsp_command. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matthew Joyce Sent: Wednesday, May 31, 2006 8:51 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Polling question Hi, I'm writing some scrips in python to extract data from a Nagios mysql database, that all fine, happy with that. I'd like the script to run as often as Nagios refreshes it's own data, is there any way I can get Nagios to run my scriipt ? ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jorg.Schulz at systeam.se Thu Jun 1 08:45:54 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Thu, 1 Jun 2006 08:45:54 +0200 Subject: Nagios newbie and some questions.. In-Reply-To: <20060531164210.67713.qmail@web60516.mail.yahoo.com> References: <20060531164210.67713.qmail@web60516.mail.yahoo.com> Message-ID: Hi Tom How long did you come with your configuration ?, if you are in the beginning i recommend to read the included Documents that follows with the Nagios installation or http://nagios.sourceforge.net/docs/2_0/ Nagios did not use a database like mysql or others as "buildin". But there is a database support for mysql or PostgreSQL. The default method for storing status data, comments, etc. in Nagios is (and probably will continue to be) in plain old text files. The standard files used by the default external data routines include the status file, downtime file, comment file, and the state_retention file. With the default install, extended host and service information is not stored in its own file, but in extended host and service information definitions in the CGI configuration file. The configuration files are under ../nagios/etc directory There are *-sample.cfg files under the ../nagios/etc directory - for hosts,services and so on ----take a look I can also recommend a very good book for you -- Nagios 2.0 Administration - (helps me very much in my daily work) Hope i could help you a little bit.... regards /j?rg Tom Tran Sent by: nagios-users-admin at lists.sourceforge.net 2006-05-31 18:42 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Nagios newbie and some questions.. Hello All, I am very new to Nagios. I just installed Nagios on my SuSE.... and it looks fine.. However, i have some questions i would like to ask.. 1. Nagios does not use database; so, how they gonna store the data? Config files? 2. I would like to manage all the hosts in my network... How can i do that? where can i find the documents? I did a search and found a lot of stuffs and I still haven't got the guide i need. Please help if you know what links? Best regards, Tom Tran "Max H." wrote: Max H. wrote: > check_snmp_disk.pl -- disk usage info > check_snmp_mem.pl -- memory info > check_snmp_procs.pl -- processes info and so on... Sorry to reply to myself, but I forgot I didn't get the above plugins from nagiosexchange. I found them here: They do have a Solaris section on nagiosexchange, however, along with tons of other useful items. Good luck. Max ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 10010 bytes Desc: not available URL: From g.rumatowski at gmx.net Thu Jun 1 09:37:46 2006 From: g.rumatowski at gmx.net (Grzegorz Rumatowski) Date: Thu, 01 Jun 2006 09:37:46 +0200 Subject: snmp traps Message-ID: <447E994A.10303@gmx.net> > Hi Hello Vinod, > but its not mentioned how to define the passive-check-template like this one is working for me: define service{ use generic-service template to use host_name $HOST service_description $SERVICE is_volatile 1 check_period $PERIOD max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 notification_options c,r,w check_command check_none check_freshness 1 active_checks_enabled 0 passive_checks_enabled 1 process_perf_data 1 } But you have to enable passive checks and define external comannd file (is a pipe) > Would appreciate ideas on configuring my monitoring server to receive > snmp traps and which documents should i refer. if you're using NET-SNMP you shall also check and edit your snmptrapd.conf like this: traphandle SNMPv2-SMI::enterprises.14828 /root/scripts/snmp/trapping.pl which says that the /root/scripts/snmp/trapping.pl is doing something with traps from the enterprises community Regards Grzegorz Rumatowski ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tr_rajeshkanna at yahoo.com Thu Jun 1 11:07:53 2006 From: tr_rajeshkanna at yahoo.com (Rajesh kanna) Date: Thu, 1 Jun 2006 02:07:53 -0700 (PDT) Subject: check_nt uptime unable to display Message-ID: <20060601090753.93895.qmail@web51715.mail.yahoo.com> Hi, I have nagios server version 1.3 running on solaris 9 machine. Nsclient installed on windows 2003 machine. From command line i could succeed with uptime command ./check_nt -H 192.168.1.23 -p 1248 -v UPTIME System Uptime - 18 day(s) 2 hour(s) 56 minute(s) I am unable to get output on Nagios web interface. error : no output configs : checkcommands.cfg # 'check_nt' command definition define command{ command_name check_nt_uptime command_line $USER$1/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME } hosts.cfg # 'Win-Server' host definition define host{ use generic-host ; Name of host template to use host_name test1 alias Windows Server #1 address 192.168.1.23 check_command check_nt_uptime max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Services.cfg # Generic service definition template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions host_name test1 service_description UPTIME is_volatile F0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups win-admins notification_interval win-admins notification_period 24x7 notification_options c,r check_command check_nt_uptime } Can someone point me where i making error in config. Regards, Rajesh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ralf.Wigand at rz.uni-karlsruhe.de Thu Jun 1 12:13:10 2006 From: Ralf.Wigand at rz.uni-karlsruhe.de (Ralf Wigand) Date: Thu, 1 Jun 2006 12:13:10 +0200 Subject: SSH and Windows References: Message-ID: <5A71427437E8E8459E356079FEAC7D4301B064A4@rzms-ex1.rz.uni-karlsruhe.de> Hi Laura! Try to start a command shell on the windows machine like: check_by_ssh -H testserver -C "cmd.exe /c \"cscript //nologo (...) -c 90\"" this will start a cmd-shell and execute (/C) the command given in "", so take care to escape the "" correct (not sure if my example works with escaping by backslash). maybe using other ticks... BTW: which WIN-SSH-Deamon do you use? Ciao, ralf ________________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Goodburn, Laura Sent: Wednesday, May 31, 2006 10:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SSH and Windows Please forgive me as I am fairly new to Nagios and the world of plugins. I have a Windows box that is running ssh and I would like to connect via ssh, run a wmi vbs script, and pass the result back to Nagios. I know that I can call the check_by_ssh plugin and pass the script name for the command parameter but I don't know how to pass the result back to the check_by_ssh plugin. When I ssh into the box and run the .vbs script for CPU by executing the following command: cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90 I get the following: OK - Total CPU Utilization 2% | 'CPU_Utilization'=2%;80%;90%;; However, if I try the following command: ./libexec/check_by_ssh -H testserver -C "cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90" I get nothing returned, the prompt just comes back like it ran the script but returned no result. Has anyone else ever written a custom plugin to pull the result back in via ssh? For security concerns and traffic control, I would prefer to use ssh instead of nrpe for running wmi scripts. Especially since we are trying to make it so that the wmi scripts will only report the statistics for that box instead of branching out to other Windows boxes on the subnet. Any help would be greatly appreciated. Thanks. Laura Laura Goodburn SMC Manager Information and Technology Services The University of North Carolina at Charlotte 9201 University City Boulevard Charlotte, NC 28223 Phone (704) 687-8988 lmgoodbu at uncc.edu -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 7493 bytes Desc: not available URL: From mgombolaty at gmail.com Thu Jun 1 13:22:48 2006 From: mgombolaty at gmail.com (Mohamed Gombolaty) Date: Thu, 1 Jun 2006 13:22:48 +0200 Subject: Nagios-2.4.0 not working on Solaris 5.7 Message-ID: <8208ceb00606010422g5895a1b4x6032f30bda601819@mail.gmail.com> Dear All, I was preparing an Ultra sparc server with sol 5.7, will the cgi still doesn't compile but I don't need it, I am preparing this sever to work as a Distributed server, I finished installing nagios and the config samples (renamed them without -sample) and init and also commandline all went well, but when I try to make sure things are fine by doing nagios -v nagios.cfg I get the following message: ../bin/nagios -v nagios.cfg Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. I am totally lost can anyone help. Thx MAG ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lmgoodbu at email.uncc.edu Thu Jun 1 14:35:51 2006 From: lmgoodbu at email.uncc.edu (Goodburn, Laura) Date: Thu, 1 Jun 2006 08:35:51 -0400 Subject: SSH and Windows Message-ID: Marc, Thanks. Yes, if I type: ssh testserver "cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90" I get the following: OK - Total CPU Utilization 5% | 'CPU_Utilization'=5%;80%;90%;; I will try to see if I can figure out more from the link you sent. Laura Laura Goodburn SMC Manager Information and Technology Services The University of North Carolina at Charlotte 9201 University City Boulevard Charlotte, NC 28223 Phone (704) 687-8988 lmgoodbu at uncc.edu -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, May 31, 2006 10:26 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SSH and Windows > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Goodburn, Laura > Sent: Wednesday, May 31, 2006 3:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SSH and Windows > > Please forgive me as I am fairly new to Nagios and the world of plugins. > > > > I have a Windows box that is running ssh and I would like to connect via > ssh, run a wmi vbs script, and pass the result back to Nagios. I know that > I can call the check_by_ssh plugin and pass the script name for the > command parameter but I don't know how to pass the result back to the > check_by_ssh plugin. > > > > When I ssh into the box and run the .vbs script for CPU by executing the > following command: > > cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90 > > > > I get the following: > > OK - Total CPU Utilization 2% | 'CPU_Utilization'=2%;80%;90%;; > > > > However, if I try the following command: > > ./libexec/check_by_ssh -H testserver -C "cscript //nologo > c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90" > > > > I get nothing returned, the prompt just comes back like it ran the script > but returned no result. > > > > Has anyone else ever written a custom plugin to pull the result back in > via ssh? For security concerns and traffic control, I would prefer to use > ssh instead of nrpe for running wmi scripts. Especially since we are > trying to make it so that the wmi scripts will only report the statistics > for that box instead of branching out to other Windows boxes on the > subnet. > > > > Any help would be greatly appreciated. As long as your plugin complies with the Screen Output and Plugin Return Codes (at the minimum) of http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN73, check-by-ssh should pass the appropriate information back. Can you run your command directly from ssh? i.e. ssh user at hostname "cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90" -- marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nharebottle at vikus.com Thu Jun 1 15:36:53 2006 From: nharebottle at vikus.com (Norman Harebottle) Date: Thu, 1 Jun 2006 09:36:53 -0400 Subject: Jabber Custom Notification Script Not Working (Frederik Vanhee) Message-ID: Ok, so I could have found that too if I had looked! Thanks for the point in the proper direction. I will see if I can make any sense of the log information to help with my Jabber problem. Thanks so much! Norman -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Stanley.Hopcroft at Dest.gov.au Sent: Wednesday, May 24, 2006 7:13 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: Jabber Custom Notification Script Not Working (Frederik Vanhee) Dear Folks, I am writing to thank you for your letter and say, >-----Original Message----- >Message: 1 >Date: Wed, 24 May 2006 06:52:22 +0200 >From: Frederik Vanhee >To: Norman Harebottle >CC: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Jabber Custom Notification Script Not >Working > >Norman Harebottle wrote: > >> Hello Everyone, >> >> I am wondering if anyone has had success getting the Jabber >> Notification script written by David Cox to work. >> >> However, when running the >> Perl script in the Embedded Perl environment, something >happens (which >> is not logged) which causes the script to not execute as desired. >> embedded Perl Nagios like mod_perl is more sensitive to coding issues than the 'fork a new Perl interpreter for each run' model. There is every chance that a plugin that works fine from the command line won't work under ePN. You can turn ePN logging on by changing the DEBUG_LEVEL in p1.pl. Set it to LEAVE_MSG (or whatever is mentioned in perldoc p1.pl). You need to make sure the log path and name suits you also. In a former job, I found jabber/XMPP was very sensitive to the Perl modules and configuration of the Jabber server. I think we had an event handler that would publish stuff to jabber consoles with not much more than one of the example usages from the Perl jabber client. Unfortch my records are elsewhere. No experience unfortch with the jabber plugins. Yours sincerely. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thoanluutran at yahoo.com Thu Jun 1 16:47:16 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Thu, 1 Jun 2006 07:47:16 -0700 (PDT) Subject: Nagios newbie and some questions.. In-Reply-To: References: Message-ID: <20060601144716.57634.qmail@web60522.mail.yahoo.com> Dear Jorg, How are you? Thank you very much for your information. As far as the configuration goes.. I only did: # cp cgi.cfg-sample cgi.cfg # cp nagios.cfg-sample nagios.cfg # cp minimal.cfg-sample minimal.cfg # cp resource.cfg-sample resource.cfg other than that, nothing has been done.. So, i guess, it can only monitor the localhost and basic services. Do you have config file or an example for how to manage a subnet and some of the services (processes, disk spaces....) for some of the hosts on that subnet. Best regards, Tom Tran Jorg.Schulz at systeam.se wrote: Hi Tom How long did you come with your configuration ?, if you are in the beginning i recommend to read the included Documents that follows with the Nagios installation or http://nagios.sourceforge.net/docs/2_0/ Nagios did not use a database like mysql or others as "buildin". But there is a database support for mysql or PostgreSQL. The default method for storing status data, comments, etc. in Nagios is (and probably will continue to be) in plain old text files. The standard files used by the default external data routines include the status file, downtime file, comment file, and the state_retention file. With the default install, extended host and service information is not stored in its own file, but in extended host and service information definitions in the CGI configuration file. The configuration files are under ../nagios/etc directory There are *-sample.cfg files under the ../nagios/etc directory - for hosts,services and so on ----take a look I can also recommend a very good book for you -- Nagios 2.0 Administration - (helps me very much in my daily work) Hope i could help you a little bit.... regards /j?rg Tom Tran Sent by: nagios-users-admin at lists.sourceforge.net 2006-05-31 18:42 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Nagios newbie and some questions.. Hello All, I am very new to Nagios. I just installed Nagios on my SuSE.... and it looks fine.. However, i have some questions i would like to ask.. 1. Nagios does not use database; so, how they gonna store the data? Config files? 2. I would like to manage all the hosts in my network... How can i do that? where can i find the documents? I did a search and found a lot of stuffs and I still haven't got the guide i need. Please help if you know what links? Best regards, Tom Tran "Max H." wrote: Max H. wrote: > check_snmp_disk.pl -- disk usage info > check_snmp_mem.pl -- memory info > check_snmp_procs.pl -- processes info and so on... Sorry to reply to myself, but I forgot I didn't get the above plugins from nagiosexchange. I found them here: They do have a Solaris section on nagiosexchange, however, along with tons of other useful items. Good luck. Max ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 --------------------------------- Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. --------------------------------- Ring'em or ping'em. Make PC-to-phone calls as low as 1?/min with Yahoo! Messenger with Voice. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 10010 bytes Desc: not available URL: From lmgoodbu at email.uncc.edu Thu Jun 1 17:39:03 2006 From: lmgoodbu at email.uncc.edu (Goodburn, Laura) Date: Thu, 1 Jun 2006 11:39:03 -0400 Subject: SSH and Windows Message-ID: Thank you for all the help. I found my error this morning. I was forgetting to pass the username with the "check_by_ssh" command. Once I added the username everything works great and I didn't need to change anything. Thank you again. Laura -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, May 31, 2006 10:26 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SSH and Windows > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Goodburn, Laura > Sent: Wednesday, May 31, 2006 3:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SSH and Windows > > Please forgive me as I am fairly new to Nagios and the world of plugins. > > > > I have a Windows box that is running ssh and I would like to connect via > ssh, run a wmi vbs script, and pass the result back to Nagios. I know that > I can call the check_by_ssh plugin and pass the script name for the > command parameter but I don't know how to pass the result back to the > check_by_ssh plugin. > > > > When I ssh into the box and run the .vbs script for CPU by executing the > following command: > > cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90 > > > > I get the following: > > OK - Total CPU Utilization 2% | 'CPU_Utilization'=2%;80%;90%;; > > > > However, if I try the following command: > > ./libexec/check_by_ssh -H testserver -C "cscript //nologo > c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90" > > > > I get nothing returned, the prompt just comes back like it ran the script > but returned no result. > > > > Has anyone else ever written a custom plugin to pull the result back in > via ssh? For security concerns and traffic control, I would prefer to use > ssh instead of nrpe for running wmi scripts. Especially since we are > trying to make it so that the wmi scripts will only report the statistics > for that box instead of branching out to other Windows boxes on the > subnet. > > > > Any help would be greatly appreciated. As long as your plugin complies with the Screen Output and Plugin Return Codes (at the minimum) of http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN73, check-by-ssh should pass the appropriate information back. Can you run your command directly from ssh? i.e. ssh user at hostname "cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90" -- marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From felipe at tocchetto.com Thu Jun 1 20:03:17 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Thu, 1 Jun 2006 15:03:17 -0300 Subject: Nagios 2.3.1 and 2.4 compilation problem - statusmap.cgi Message-ID: <4f70c5c80606011103t5f31258dg75a727d394b5c74c@mail.gmail.com> Recently I started to try install Nagios in a Solaris 10 box, but I didn?t get it works. First I was trying the 2.3.1 version of Nagios, so yesterday I notice that the new version 2.4 has this fix: - Fix for missing include that prevented CGI compilation under Solaris So I downloaded the new version but I am getting the same compilation error. The flags that I am using (the same I was using in previous version): ./configure --prefix=/usr/local/nagios-2.4/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include The error is after de 'make all' command: gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd -liconv -lpng -ljpeg -lz -lm -lrt Undefined first referenced symbol in file gdImageCreateFromJpeg /var/tmp//ccu5735L.o ld: fatal: Symbol referencing errors. No output written to statusmap.cgi collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-2.4/cgi' make: *** [all] Error 2 Some extra information: SunOS 5.10 Generic_118844-26 i86pc i386 i86pc gcc version 3.3.2 gd-2.0.33 libiconv-1.8 libpng-1.2.8 jpeg-6b If anybody knows how to solve this I agree. Best Wishes Thanks for you attention -- Felipe L. Tocchetto msn ftocchetto at hotmail.com icq 163263160 felipe at tocchetto.com http://www.felipe.tocchetto.com ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Maunir.shah at knowles.com Thu Jun 1 21:23:42 2006 From: Maunir.shah at knowles.com (Shah, Maunir) Date: Thu, 1 Jun 2006 14:23:42 -0500 Subject: check_snmp_storage.pl Message-ID: Other boxes run Solaris 8 and 9. Maunir Shah 630-285-5875 - desk 630-550-6266 - cell ******************************* IMPORTANT MESSAGE ****************************** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ******************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Thu Jun 1 21:50:24 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 01 Jun 2006 14:50:24 -0500 Subject: check_snmp_storage.pl In-Reply-To: References: Message-ID: <1149191424.5258.70.camel@localhost> On Thu, 2006-06-01 at 14:23 -0500, Shah, Maunir wrote: > Other boxes run Solaris 8 and 9. Indeed they do! What a fabulous contribution to my world, as it related to Nagios usage. I think I might print that out and hang it on my office wall. --jeff P.S. What could you possibly be talking about? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From jbrooks at cuberoute.com Thu Jun 1 22:21:09 2006 From: jbrooks at cuberoute.com (Joel Brooks) Date: Thu, 1 Jun 2006 22:21:09 +0200 (CEST) Subject: escalations for passive checks? Message-ID: <20060601202109.CED104F476B@desire.netways.de> Hi list i'm messing around with passive checks so that i can integrate sec.pl= into nagios to make use of nagios' notification/escalation capabilities .= it seems to me that nagios will only send one notification for= each passive check that gets added to the external commands file.= i had thought that it would use the whole notification/escalation= process after receiving a single CRITICAL event, but it doesn't= seem to do that. here's what i did: -defined a service (for testing) called 'passive': define service{ use generic-service host_name admin service_description passive is_volatile 1 contact_groups production-support notification_options w,u,c,r notification_interval 5 max_check_attempts 1 check_command check_ping active_checks_enabled 0 passive_checks_enabled 1 } -define escalations for this service: define serviceescalation{ host_name admin service_description passive contact_groups production-support first_notification 2 last_notification 0 notification_interval 5 escalation_period 24x7 escalation_options w,u,c,r } define serviceescalation{ host_name admin service_description passive contact_groups production-support,application-support first_notification 5 last_notification 0 notification_interval 5 escalation_period 24x7 escalation_options w,u,c,r } define serviceescalation{ host_name admin service_description passive contact_groups production-support,application-support first_notification 7 last_notification 0 notification_interval 3 escalation_period 24x7 escalation_options c,r } -submit_passive_check: #!/bin/bash echocmd="/bin/echo" cmdfile="/opt/nagios/var/rw/nagios.cmd" datetime=`date +%s` cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" `$echocmd $cmdline >> $cmdfile` then the test: ./submit_passive_check admin passive 2 00001 this gets logged, and an alert goes out, but no further notifications= are sent. escalations don't do anything because there is never= a second notification. if i do this: while true; do sleep 300 echo 'submitting passive check...' ./submit_passive_check admin passive 2 00001 done then the notifications work as expected, and the escalations apply. why doesn't nagios continue to send notifications (and escalations)= after the single CRITICAL (non-OK state) event gets logged? i'm= sure this is just my own confusion.. nagios rox btw... great tool! thx, - Joel Brooks (joel.brooks) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Andrew.Laden at tudor.com Thu Jun 1 22:33:23 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Thu, 1 Jun 2006 16:33:23 -0400 Subject: escalations for passive checks? Message-ID: <496A4C483DD4504C84C0094D9C48CFD30E32017F@tudor.com> Escalations are based entirely on alert received/processed by nagios, not on time. For active checks, the time factors control how often the service is checked, and therefore how often an alert is sent to nagios. For passive checks, this obviously doesn't hold. If you want to get around this, you can try to craft an active check that gets the current status of the item, and "repeats" it back to nagios, thus creating another alert. I've never tried this though. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Joel Brooks > Sent: Thursday, June 01, 2006 4:21 PM > To: nagios-users at lists.sourceforge.net; jbrooks at cuberoute.com > Subject: [Nagios-users] escalations for passive checks? > > Hi list > > > > > > > > i'm messing around with passive checks so that i can integrate sec.pl= > into nagios to make use of nagios' notification/escalation > capabilities .= > > it seems to me that nagios will only send one notification for= > each passive check that gets added to the external commands file.= > > i had thought that it would use the whole notification/escalation= > process after receiving a single CRITICAL event, but it doesn't= > seem to do that. > > > > > > > > here's what i did: > > > > > > > > -defined a service (for testing) called 'passive': > > > > define service{ > > > > use generic-service > > > > host_name admin > > > > service_description passive > > > > is_volatile 1 > > > > contact_groups production-support > > > > notification_options w,u,c,r > > > > notification_interval 5 > > > > max_check_attempts 1 > > > > check_command check_ping > > > > active_checks_enabled 0 > > > > passive_checks_enabled 1 > > > > } > > > > > > > > -define escalations for this service: > > > > define serviceescalation{ > > > > host_name admin > > > > service_description passive > > > > contact_groups production-support > > > > first_notification 2 > > > > last_notification 0 > > > > notification_interval 5 > > > > escalation_period 24x7 > > > > escalation_options w,u,c,r > > > > } > > > > > > > > define serviceescalation{ > > > > host_name admin > > > > service_description passive > > > > contact_groups production-support,application-support > > > > first_notification 5 > > > > last_notification 0 > > > > notification_interval 5 > > > > escalation_period 24x7 > > > > escalation_options w,u,c,r > > > > } > > > > > > > > define serviceescalation{ > > > > host_name admin > > > > service_description passive > > > > contact_groups production-support,application-support > > > > first_notification 7 > > > > last_notification 0 > > > > notification_interval 3 > > > > escalation_period 24x7 > > > > escalation_options c,r > > > > } > > > > > > > > -submit_passive_check: > > > > #!/bin/bash > > > > > > > > echocmd="/bin/echo" > > > > cmdfile="/opt/nagios/var/rw/nagios.cmd" > > > > datetime=`date +%s` > > > > cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" > > > > `$echocmd $cmdline >> $cmdfile` > > > > > > > > then the test: > > > > ./submit_passive_check admin passive 2 00001 > > > > > > > > this gets logged, and an alert goes out, but no further notifications= > are sent. escalations don't do anything because there is never= > a second notification. > > > > > > > > if i do this: > > > > while true; do > > > > sleep 300 > > > > echo 'submitting passive check...' > > > > ./submit_passive_check admin passive 2 00001 > > > > done > > > > > > > > then the notifications work as expected, and the escalations apply. > > > > > > > > why doesn't nagios continue to send notifications (and escalations)= > after the single CRITICAL (non-OK state) event gets logged? i'm= > sure this is just my own confusion.. > > > > > > > > nagios rox btw... great tool! > > > > > > > > thx, > > > > > > > > - Joel Brooks (joel.brooks) > > > > > > > > ----------------------- > > > > The mailing list archive is found here: > > > > http://www.nagiosexchange.org/nagios-users.34.0.html > > > > > > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost > and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in the hosting industry. Fanatical Support. > Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jbrooks at cuberoute.com Thu Jun 1 22:40:06 2006 From: jbrooks at cuberoute.com (Joel Brooks) Date: Thu, 1 Jun 2006 22:40:06 +0200 (CEST) Subject: escalations for passive checks? In-Reply-To: <496A4C483DD4504C84C0094D9C48CFD30E32017F@tudor.com> References: <496A4C483DD4504C84C0094D9C48CFD30E32017F@tudor.com> Message-ID: <20060601204006.DF94C4F476B@desire.netways.de> Hi Andrew Thanks for the reply. I thought it might be something like that. thx, - Joel Brooks (joel.brooks) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=18893 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Fri Jun 2 00:16:14 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 01 Jun 2006 17:16:14 -0500 Subject: check_snmp_storage.pl In-Reply-To: References: Message-ID: <1149200174.5258.75.camel@localhost> On Thu, 2006-06-01 at 16:51 -0500, Shah, Maunir wrote: > This is related to check_snmp_storage.pl email I sent earlier. I'm > running into problems related to this script. It works fine when I run > the script from Nagios to check remote disk space on any Solaris 10 box. > But I get this error when I check disk space for Solaris 8 or 9 > > ERROR: Description/Type table : No response from remote host > > About you hanging this on your office wall sure go ahead and waste a > paper. My obvious point was, replying having deleted all context is not useful in any way. A mailing list is not a one-on-one conversation (where such behaviour is *still* poor form), and context is vital to a useful posting. Additionally, top-posting is poor form, and will get you ignored by many members of the list. > -----Original Message----- > From: jeff vier [mailto:boinger at tradingtechnologies.com] > Sent: Thursday, June 01, 2006 2:50 PM > To: Shah, Maunir > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp_storage.pl > > On Thu, 2006-06-01 at 14:23 -0500, Shah, Maunir wrote: > > Other boxes run Solaris 8 and 9. > > Indeed they do! > > What a fabulous contribution to my world, as it related to Nagios usage. > > I think I might print that out and hang it on my office wall. > > --jeff > > P.S. What could you possibly be talking about? > ******************************* IMPORTANT MESSAGE ****************************** > This transmission may contain information that is privileged, confidential > and/or exempt from disclosure under applicable law. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, distribution, > or use of the information contained herein (including any reliance thereon) is > STRICTLY PROHIBITED. If you received this transmission in error, please > immediately contact the sender and destroy the material in its entirety, whether > in electronic or hard copy format. Thank you. > ******************************************************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From SELundgr at email.uncc.edu Thu Jun 1 23:44:19 2006 From: SELundgr at email.uncc.edu (Lundgren, Scott) Date: Thu, 1 Jun 2006 17:44:19 -0400 Subject: check_nt uptime unable to display Message-ID: I think you want to edit service.config. I believe you want this: define service{ ; template to use, it was labeled name in the example use generic-service ; what you may be missing name rajeshs_uptime host_name test1 service_description UPTIME ; should be 1 or 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups win-admins ; this doesn't look right either ; notification_interval win-admins ; should be a number of some sort notification_interval 60 notification_period 24x7 notification_options c,r check_command check_nt_uptime } Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.edu _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Fri Jun 2 00:24:53 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 1 Jun 2006 15:24:53 -0700 Subject: Nagios 2.3.1 and 2.4 compilation problem - statusmap.cgi In-Reply-To: <4f70c5c80606011103t5f31258dg75a727d394b5c74c@mail.gmail.com> References: <4f70c5c80606011103t5f31258dg75a727d394b5c74c@mail.gmail.com> Message-ID: <20060601222453.GL11935@hermes.americas.hpqcorp.net> Check the FAQs: http://www.nagios.org/faqs/viewfaq.php?faq_id=182&expand=false&showdesc=false On Thu, 01 Jun 2006, Felipe Tocchetto wrote: > Recently I started to try install Nagios in a Solaris 10 box, but I > didn?t get it works. > > First I was trying the 2.3.1 version of Nagios, so yesterday I notice > that the new version 2.4 has this fix: > > - Fix for missing include that prevented CGI compilation under Solaris > > So I downloaded the new version but I am getting the same compilation error. > > The flags that I am using (the same I was using in previous version): > > ./configure --prefix=/usr/local/nagios-2.4/ --with-nagios-user=nagios > --with-nagios-group=nagios --with-command-group=nagcmd > --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include > > The error is after de 'make all' command: > > gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI > -L/usr/local/lib -o statusmap.cgi statusmap.c getcgi.o cgiutils.o > cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o > xstatusdata-cgi.o -lgd -liconv -lpng -ljpeg -lz -lm -lrt > Undefined first referenced > symbol in file > gdImageCreateFromJpeg /var/tmp//ccu5735L.o > ld: fatal: Symbol referencing errors. No output written to statusmap.cgi > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/usr/local/src/nagios-2.4/cgi' > make: *** [all] Error 2 > > Some extra information: > > SunOS 5.10 Generic_118844-26 i86pc i386 i86pc > gcc version 3.3.2 > gd-2.0.33 > libiconv-1.8 > libpng-1.2.8 > jpeg-6b > > If anybody knows how to solve this I agree. > > Best Wishes > > Thanks for you attention > > -- > Felipe L. Tocchetto > msn ftocchetto at hotmail.com > icq 163263160 > felipe at tocchetto.com > http://www.felipe.tocchetto.com > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treed at ultraviolet.org Fri Jun 2 00:43:10 2006 From: treed at ultraviolet.org (Tracy R Reed) Date: Thu, 01 Jun 2006 15:43:10 -0700 Subject: Service detail page refresh, stale checks Message-ID: <447F6D7E.8060900@ultraviolet.org> Hello all! I am running nagios 2.2 on Debian 3.1. I have run into a couple of annoying problems. The first is that using Firefox 1.5.0.3 I am constantly getting stale pages. That is to say that the service detail page is not showing the current state of the network. It is showing some past cached state which is driving me nuts as I try to debug other problems and cannot tell what effect my changes might have had because I am getting old information. My browser must be caching them. Shouldn't nagios be doing something to prevent the browser from caching? Also, is there any way to get rid of the frame? That only adds to the confusion. Reload, reload this frame, etc. I have two service checks which seem to be stuck on failure. I am using check_tcp to check that cfservd is running. On all of my machines except two it is working properly. I cannot discern what makes these two machines exceptional. I can manually run the check command from the nagios server: check_tcp -H djwww06 -p 5308 TCP OK - 0.053 second response time on port 5308|time=0.052821s;0.000000;0.000000;0.000000;10.000000 and get a success. On both of the machines. Yet when nagios checks it (or claims to check it) it always comes back failure. I currently have retain_state_information=1. Is this recommended? Seemed like a good idea because I was tiring of having to re-ack things that I know are down every time I restart nagios. I was concerned that it was somehow saving state incorrectly causing this problem. I tried turning it off once just to see if that would clear up the issue of the failing check_tcp service checks but it did not. I have since re-enabled it. Thanks! -- Tracy R Reed http://ultraviolet.org A: Because we read from top to bottom, left to right Q: Why should I start my reply below the quoted text _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Fri Jun 2 01:06:03 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 2 Jun 2006 01:06:03 +0200 (CEST) Subject: Service detail page refresh, stale checks In-Reply-To: <447F6D7E.8060900@ultraviolet.org> References: <447F6D7E.8060900@ultraviolet.org> Message-ID: On Thu, 1 Jun 2006, Tracy R Reed wrote: > I have run into a couple of annoying problems. The first is that using > Firefox 1.5.0.3 I am constantly getting stale pages. That is to say that > the service detail page is not showing the current state of the network. So what did you disable in firefox? I have seen it update every N seconds in accordance to your setting in the nagios config file. (default: 90 seconds) > Also, is there any way to get rid of the frame? That only adds to the > confusion. Reload, reload this frame, etc. Call the URL directly. Right click on the menu item and you know the URL. I do not think this would involve rocket science. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Maunir.shah at knowles.com Thu Jun 1 23:51:55 2006 From: Maunir.shah at knowles.com (Shah, Maunir) Date: Thu, 1 Jun 2006 16:51:55 -0500 Subject: check_snmp_storage.pl Message-ID: This is related to check_snmp_storage.pl email I sent earlier. I'm running into problems related to this script. It works fine when I run the script from Nagios to check remote disk space on any Solaris 10 box. But I get this error when I check disk space for Solaris 8 or 9 ERROR: Description/Type table : No response from remote host About you hanging this on your office wall sure go ahead and waste a paper. Maunir Shah 630-285-5875 - desk 630-550-6266 - cell -----Original Message----- From: jeff vier [mailto:boinger at tradingtechnologies.com] Sent: Thursday, June 01, 2006 2:50 PM To: Shah, Maunir Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp_storage.pl On Thu, 2006-06-01 at 14:23 -0500, Shah, Maunir wrote: > Other boxes run Solaris 8 and 9. Indeed they do! What a fabulous contribution to my world, as it related to Nagios usage. I think I might print that out and hang it on my office wall. --jeff P.S. What could you possibly be talking about? ******************************* IMPORTANT MESSAGE ****************************** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ******************************************************************************** _______________________________________________ Nagios-users mailing list Nagios-users at 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 From brad.clemmons at gmail.com Thu Jun 1 16:00:58 2006 From: brad.clemmons at gmail.com (Brad Clemmons Jr) Date: Thu, 1 Jun 2006 10:00:58 -0400 Subject: Authentication problem (apache basic) In-Reply-To: References: <51e7ae840605310933i32357c22w3cd82f42104f0f46@mail.gmail.com> Message-ID: <51e7ae840606010700w77579e3evbace70124eba272c@mail.gmail.com> Thanks, I tried both, but still no luck. I added the auth lines to the /share share dir too. I also tried Patrick's AllowOverride. I now get a login prompt when I go to my main nagios page (http://nnn.nnn.nnn.nnn/nagios), but it doesn't appear to pass along to the CGI's or nagios can't figure it out. The authentication now works for the html (the /share stuff) as it let's me log in. If I then click on any of the cgi links, etc... I get the "you do not have permission" messages. I also still have the "Logged in as: ?" at the top of the pages (like the tac overview page). So the pertinent lines in my httpd.conf now appear as : ScriptAlias /nagios/cgi-bin /opt/nagios/sbin AllowOverride AuthConfig Options +ExecCGI Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /opt/nagios/etc/htpasswd.users Require valid-user Alias /nagios /opt/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /opt/nagios/etc/htpasswd.users Require valid-user -b On 5/31/06, frank wrote: > > > I think you have to add the auth lines to the /share directory too. Right > now you're only authing on the CGIs which aren't hit on your initial > connection to Nagios. (The frameset all comes from the /share dir) > > -f > > On Wed, 31 May 2006, Brad Clemmons Jr wrote: > > > Date: Wed, 31 May 2006 12:33:56 -0400 > > From: Brad Clemmons Jr > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Authentication problem (apache basic) > > > > Ok, I know this is probably a problem with my configuration so I need > new > > eyes to look at this. > > I have nagios configured and working WITHOUT AUTHENTICATION > > (use_authentication=0 in cgi.cfg). If I turn on authentication I don't > even > > get a login prompt on the page for nagios. > > > > Here is my script alias stuff in httpd.conf with the auth parameters: > > > > ScriptAlias /nagios/cgi-bin /opt/nagios/sbin > > > > AllowOverride None > > Options +ExecCGI > > Order allow,deny > > Allow from all > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /opt/nagios/etc/htpasswd.users > > Require valid-user > > > > > > Alias /nagios /opt/nagios/share > > > > Options None > > AllowOverride None > > Order allow,deny > > Allow from all > > > > > > > > The htpasswd.users file was created using the following command syntax: > > > > htpasswd -c /opt/nagios/etc/htpasswd.users myusername > > > > I made sure the correct user/groups could read the htpasswd.users file: > > > > chown root.apache /opt/nagios/etc/htpasswd.users > > chmod 640 /opt/nagios/etc/htpasswd.users > > > > In my cgi.cfg I have use authentication=1 and all commands below it I > have > > the username I added (ie: authorized_for_system_information=myusername). > > > > At any rate, I get to my nagios main page without any request for > login. So > > at the top of the Tactical overview page I have this: > > Tactical Monitoring Overview > > Last Updated: Tue May 30 13:25:34 EDT 2006 > > Updated every 90 seconds > > Nagios(r) - www.nagios.org > > Logged in as ? > > > > Now, Once I click on one of the cgi pages like Service Details, I get > the > > following message: > > > > It appears as though you do not have permission to view information for > any > > of the services you requested... > > If you believe this is an error, check the HTTP server authentication > > requirements for accessing this CGI > > and check the authorization options in your CGI configuration file. > > > > > > I checked the apache error.log and there's nothing in there recently > except > > the apache restart notices when I restart apache. > > [Tue May 30 12:50:40 2006] [notice] SIGHUP received. Attempting to > restart > > [Tue May 30 12:50:40 2006] [notice] Apache/1.3.33 (Debian GNU/Linux) > > mod_python/2.7.10 Python/2.3.4 PHP/4.3.10-16 mod_perl/1.29 configured -- > > resuming normal operations > > > > Any idea's as to why it never prompted me to log in? Also, this is on > Apache > > 1.3 and Nagios 2.3. > > > > -Thanks > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From SELundgr at email.uncc.edu Thu Jun 1 23:31:53 2006 From: SELundgr at email.uncc.edu (Lundgren, Scott) Date: Thu, 1 Jun 2006 17:31:53 -0400 Subject: check_http ssl certificate Message-ID: Do you know why the browser is prompting about the certificate when you access the URL through your browser? Does the certificate match or is it expired? you may have to look through the source of the check_http plug-in and to see how it handles SSL certificate negotiation. On one hand it could blindly trust any certificate. On the other hand like a browser the plugin could consult some file for manually accepted & stored certificates or simply exit if the certificate doesn't is expired/doesn't match. Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.edu -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott McCamish (Contractor) Sent: Tuesday, May 30, 2006 2:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http ssl certificate Hi all- A web server was recently upgraded, and my check_http --ssl service is now failing. The server is sending a certificate when accessing through a browser. How can I accept the certificate; either permanently through the nagios user cmd line, or through flags to check_http? 'check_http --ssl H xyzxyz -C 14' works fine to see the expiration... I did read a recent thread that suggested the servers http config be changed, but I don't have access/approval to change the server config. Thanks for reading! Nagios 1.2 (I'll be upgrading soon) $ ./check_http -H xyzxyz --ssl -f=follow -v GET / HTTP/1.0 User-Agent: check_http/1.89 (nagios-plugins 1.4.3) Host: xyzxyz No data received $ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From msugano at uolinc.com Thu Jun 1 23:45:12 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 01 Jun 2006 18:45:12 -0300 Subject: check_nt uptime unable to display In-Reply-To: <20060601090753.93895.qmail@web51715.mail.yahoo.com> References: <20060601090753.93895.qmail@web51715.mail.yahoo.com> Message-ID: <1149198312.22530.19.camel@localhost> On Thu, 2006-06-01 at 02:07 -0700, Rajesh kanna wrote: > Can someone point me where i making error in config. Not necessarily on your config files, but at the check_nt plugin permissions. Is executable by the the nagios user? HTH, Marcel AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amontibello at gmail.com Fri Jun 2 02:35:11 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 1 Jun 2006 20:35:11 -0400 Subject: NC_NET / Windows 2003 / MSSQLSERVER - not recognized In-Reply-To: <000901c66876$1e3ef570$c26710ac@sneftech.local> References: <000901c66876$1e3ef570$c26710ac@sneftech.local> Message-ID: Sorry for the delay in responding, NC_Net uses the ServiceProcess.ServiceController.GetServices class of DOt Net framework to check service states. To verify the service names in NC_Net use the check_commands- ENUMSERVICE this command takes parameters to filter the list. See NC_NET README.Doc, for processes use the ENUMPROCESS Good luck TOny On 4/25/06, Davy Gaussen wrote: > > Are you sure that the ServiceName is MSSQLSERVER only ? Usually, these > kind > of services have MSSQLSERVER$$YOURBASENAME type of name. > > Go to : services.msc, then edit properties on your service and check out > the > ServiceName parameter. > > And do you want to test the process or the service SQL in your server ? > > If you want to check service, you have to do in your nagios monitoring > hosts > : > # /yourpathto_check_nt/check_nt -H HOSTADDRESS -p 1248 -v SERVICESTATE -l > MSSQLSERVER -s None -t 30 > > If you want the process : > #/yourpathto_check_nt/check_nt -H HOSTADDRESS -p 1248 -v PROCSTATE -l > sqlservr.exe -s None -t 30 > > Good luck ! > > Davy Gaussen > > > -----Message d'origine----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part de > Mark.Law at thomson.com > Envoy?: mardi 25 avril 2006 16:18 > ?: nagios-users at lists.sourceforge.net > Objet: [Nagios-users] NC_NET / Windows 2003 / MSSQLSERVER - not recognized > > > Has anyone run into a problem with NC_NET not being able to see running > SQL processes on Windows 2003 machines? > > The "net start" command shows the server running as > "SQL Server (MSSQLSERVER)", but this test always fails under NC_NET. > > Any help appreciated. > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Fri Jun 2 01:53:28 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 1 Jun 2006 16:53:28 -0700 Subject: Service detail page refresh, stale checks In-Reply-To: <447F6D7E.8060900@ultraviolet.org> References: <447F6D7E.8060900@ultraviolet.org> Message-ID: <20060601235328.GM11935@hermes.americas.hpqcorp.net> A few responses inline: On Thu, 01 Jun 2006, Tracy R Reed wrote: > It is showing some past cached state which is driving me nuts as I try > to debug other problems and cannot tell what effect my changes might > have had because I am getting old information. My browser must be > caching them. Shouldn't nagios be doing something to prevent the browser > from caching? It does. Have you checked that there is only one copy of Nagios running? > Also, is there any way to get rid of the frame? That only adds to the > confusion. Reload, reload this frame, etc. There are replacement GUIs, but I've never tried any of them. Recent browsers all seem to deal with "Reload" in a way that makes sense to me. > > I have two service checks which seem to be stuck on failure. I am using > check_tcp to check that cfservd is running. On all of my machines except > two it is working properly. I cannot discern what makes these two > machines exceptional. I can manually run the check command from the > nagios server: > > check_tcp -H djwww06 -p 5308 > TCP OK - 0.053 second response time on port > 5308|time=0.052821s;0.000000;0.000000;0.000000;10.000000 > > and get a success. On both of the machines. Yet when nagios checks it > (or claims to check it) it always comes back failure. Why does it claim to be failing? There should be an error message associated with the failure. How is your service configured? Are you sure it's passing the same command you're passing? _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treed at ultraviolet.org Fri Jun 2 03:00:04 2006 From: treed at ultraviolet.org (Tracy R Reed) Date: Thu, 01 Jun 2006 18:00:04 -0700 Subject: Service detail page refresh, stale checks In-Reply-To: <20060601235328.GM11935@hermes.americas.hpqcorp.net> References: <447F6D7E.8060900@ultraviolet.org> <20060601235328.GM11935@hermes.americas.hpqcorp.net> Message-ID: <447F8D94.1020204@ultraviolet.org> Patrick Morris wrote: > It does. Have you checked that there is only one copy of Nagios running? > Er...no, I hadn't thought of that. sh-2.05b# ps -ef |grep -i nagios.cfg nagios 26178 19728 0 00:28 pts/1 00:01:21 /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg nagios 5551 1 0 15:41 ? 00:00:08 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 2442 1 0 17:48 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 2459 1 0 17:48 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 2467 1 0 17:48 pts/1 00:00:00 /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg Does nagios normally spawn extra copies of itself? Some of these have a ppid of 1 and another has a ppid of 19728. So I may have multiple copies running. I just killed them all and restarted nagios. Does it not use some sort of locking to try to avoid this? > There are replacement GUIs, but I've never tried any of them. Recent > browsers all seem to deal with "Reload" in a way that makes sense to me. > Ok, I won't worry about this if it turns out that I had multiple copies running. > Why does it claim to be failing? There should be an error message > associated with the failure. How is your service configured? Are you > sure it's passing the same command you're passing? > It says "Connection refused". In the service definition I have: check_command check-cfengine and in the checkcommands definition I have: command_name check-cfengine command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 5308 I let this run for a while: while true; do ps -ef | grep -i check_tcp | grep -v grep; sleep 1; done and it caught this: nagios 8240 8239 0 18:08 ? 00:00:00 sh -c /usr/local/nagios/libexec/check_tcp -H 192.168.0.1 -p 5308 nagios 9351 9350 0 18:11 ? 00:00:00 /usr/local/nagios/libexec/check_TCP -H 192.168.2.38 -p 5308 So it looks like it is running what I intended. If I do it manually from the same machine nagios is running on: sh-2.05b# ../libexec/check_tcp -H 192.168.1.36 -p 5308 TCP OK - 0.009 second response time on port 5308|time=0.008505s;0.000000;0.000000;0.000000;10.000000 -- Tracy R Reed http://ultraviolet.org A: Because we read from top to bottom, left to right Q: Why should I start my reply below the quoted text _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Fri Jun 2 07:59:17 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 2 Jun 2006 07:59:17 +0200 (CEST) Subject: Authentication problem (apache basic) In-Reply-To: <51e7ae840606010700w77579e3evbace70124eba272c@mail.gmail.com> References: <51e7ae840605310933i32357c22w3cd82f42104f0f46@mail.gmail.com> <51e7ae840606010700w77579e3evbace70124eba272c@mail.gmail.com> Message-ID: On Thu, 1 Jun 2006, Brad Clemmons Jr wrote: > Thanks, I tried both, but still no luck. I added the auth lines to the > /share share dir too. I also tried Patrick's AllowOverride. I now get a > login prompt when I go to my main nagios page (http://nnn.nnn.nnn.nnn/nagios), > but it doesn't appear to pass along to the CGI's or nagios can't figure it > out. The authentication now works for the html (the /share stuff) as it > let's me log in. If I then click on any of the cgi links, etc... I get the > "you do not have permission" messages. I also still have the "Logged in as: > ?" at the top of the pages (like the tac overview page). Check your apache logs. Do you see you username in the logs on the CGI requests too? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treed at ultraviolet.org Fri Jun 2 08:04:02 2006 From: treed at ultraviolet.org (Tracy R Reed) Date: Thu, 01 Jun 2006 23:04:02 -0700 Subject: Service detail page refresh, stale checks In-Reply-To: References: <447F6D7E.8060900@ultraviolet.org> Message-ID: <447FD4D2.4060707@ultraviolet.org> Hugo van der Kooij wrote: > So what did you disable in firefox? I have seen it update every N seconds > in accordance to your setting in the nagios config file. (default: 90 > seconds) > I did not disable anything. It is updating every N seconds. Just not necessarily with the correct info. > Call the URL directly. Right click on the menu item and you know the URL. > That is not exactly what I mean by "getting rid of the frames". > I do not think this would involve rocket science. > No need to be rude. Thanks for your time. -- Tracy R Reed http://ultraviolet.org _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gmueller at netways.de Fri Jun 2 09:23:04 2006 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 2 Jun 2006 09:23:04 +0200 (CEST) Subject: escalations for passive checks? In-Reply-To: <496A4C483DD4504C84C0094D9C48CFD30E32017F@tudor.com> References: <496A4C483DD4504C84C0094D9C48CFD30E32017F@tudor.com> Message-ID: <20060602072304.74E1A4F476B@desire.netways.de> Hi Andrew, Hi Joel That is why I wrote that plugin http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1[p_view]= 191 Cheers - Gerd ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=18893 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jochen at smartbit.be Fri Jun 2 09:43:25 2006 From: jochen at smartbit.be (Jochen Billen) Date: Fri, 2 Jun 2006 07:43:25 +0000 (UTC) Subject: Nagios 1.3 ignoring downtime Message-ID: hello list, I am using Nagios for almost 2 years now and never experienced any problems. The last days however Nagios a behaving rather strange and I can't locate the problem. When i schedule downtime for a specific service nagios accepts this and shows the entry on the 'downtime' page. But when I shut down the service the notification is send nevertheless. Another problem is that some notifications by e-mail are sent out twice. Not only do I receive 2 identical e-mails, also Nagios' notification log is reporting 2 notifications for the same alert with 3 minutes interval. The last time Nagios' configuration was changed dates 2 months back and the problems occur since past monday. I'm running nagios 1.3 on debian sarge. Anybody an explanation for this behavior or experienced the same problems? Kind regards, Jochen Billen _______________________________________________ Nagios-users mailing list Nagios-users at 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 From LMAIGNAN at fininfo.fr Fri Jun 2 11:13:38 2006 From: LMAIGNAN at fininfo.fr (MAIGNAN Luc) Date: Fri, 2 Jun 2006 11:13:38 +0200 Subject: Notification problem Message-ID: <6CF6C2B015865B44B7752C9420D0D71602E6C2C3@exc2003.int.fininfo.grp> Hi, I have a very strange behavior that I can't explain. I use Nagios 2.3.1 running on a Debian 3.1. I set up standard email notification. While several hours, I receive normally notifications by email. But after a certain time, mails don't come any more in my mailbox. I can see the messages in /var/log/messages, and I can always send mail from the server. Any ideas ? Best regards ********************************************************************* Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ? l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) d?cline(nt) toute responsabilit? au titre de ce message, dans l'hypoth?se ou il aurait ?t? modifi?, alt?r?, falsifi? ou encore ?dit? ou diffus? sans autorisation. ----------------------------------------------------- This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable for the message if modified, altered, falsified, edited or diffused without authorization. ********************************************************************** _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gbellettini at genetsis.com Fri Jun 2 13:15:48 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Fri, 2 Jun 2006 13:15:48 +0200 Subject: nagiosgraph Message-ID: Hi there, When I click on the graph icon, nagios opens the "Service State information screen" and then I click on the "Extra Service Notes Icon" to see the graphics. What I want to do is: To see the graphics everytime I click the first icon (graph icon) Does anybody know what source files do I have to modify in order to get that? thanks Emilio -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Fri Jun 2 13:20:23 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 2 Jun 2006 13:20:23 +0200 Subject: nagiosgraph In-Reply-To: References: Message-ID: <200606021320.27231.pitchfork@ederdrom.de> Am Freitag, 2. Juni 2006 13:15 schrieb Guillermo Bellettini: > Hi there, Hi Emilio > Does anybody know what source files do I have to modify in order to get > that? Use Nagios 2.4 ;-) J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 2 15:46:08 2006 From: marc at ena.com (Marc Powell) Date: Fri, 2 Jun 2006 08:46:08 -0500 Subject: Notification problem Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of MAIGNAN Luc > Sent: Friday, June 02, 2006 4:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification problem > > Hi, > > I have a very strange behavior that I can't explain. > > I use Nagios 2.3.1 running on a Debian 3.1. I set up standard email > notification. While several hours, I receive normally notifications by > email. But after a certain time, mails don't come any more in my mailbox. > I can see the messages in /var/log/messages, and I can always send mail > from the server. > > Any ideas ? Check your contact definition to make sure that the notifications you are expecting match that contact's notification options and time period. Check nagios.log for notification attempts during the affected period. Check maillog for delivery attempts during the notification period. Check your mail queue for held messages. Check for multiple nagios daemons running. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 2 15:47:53 2006 From: marc at ena.com (Marc Powell) Date: Fri, 2 Jun 2006 08:47:53 -0500 Subject: Nagios 1.3 ignoring downtime Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jochen Billen > Sent: Friday, June 02, 2006 2:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 1.3 ignoring downtime > > hello list, > > I am using Nagios for almost 2 years now and never experienced any > problems. The last days however Nagios a behaving rather strange and I > can't locate the problem. > > When i schedule downtime for a specific service nagios accepts this and > shows the entry on the 'downtime' page. But when I shut down the > service the notification is send nevertheless. > > Another problem is that some notifications by e-mail are sent out twice. > Not only do I receive 2 identical e-mails, also Nagios' notification log > is reporting 2 notifications for the same alert with 3 minutes interval. I would bet that you almost certainly have multiple nagios daemons running. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mchoekst at mtu.edu Fri Jun 2 17:29:16 2006 From: mchoekst at mtu.edu (mchoekst at mtu.edu) Date: Fri, 02 Jun 2006 11:29:16 -0400 Subject: external commands enable problems In-Reply-To: References: Message-ID: <4480594C.8030206@mtu.edu> hi list- i am revamping a previous Nagios install, and when i set the check_external_commands=1 instead of 0, the web interface (at least) of nagios dies. what is more odd is that when i do a reload of the config after this has occurred, it seems as though the nagios process wasnt running in the first place: # reload when changing variable back to 0 when it was running as 1 server(21)% sudo /etc/rc.d/init.d/nagios reload Running configuration check...done Stopping network monitor: nagios /etc/init.d/nagios: line 66: kill: (588) - No such process Starting network monitor: nagios PID TTY TIME CMD 732 ? 00:00:00 nagios # typical reload without changing this variable: server(17)% sudo /etc/rc.d/init.d/nagios reload Running configuration check...done Reloading nagios configuration...done any advice would be appreciated -Mike _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Samba at guidemail.com Fri Jun 2 17:52:39 2006 From: Samba at guidemail.com (Samba) Date: Fri, 2 Jun 2006 10:52:39 -0500 Subject: Host check doesn't wait in-between checks. Message-ID: I'm running Nagios 2.3.1. I'm running into this scenario: When a host goes down I've noticed that the Host checks aren't waiting for any period of time between the host alive checks. Below is a recent occurance: [06-01-2006 16:43:12] HOST ALERT: arlingtonrouter;DOWN;HARD;3;CRITICAL - Time to live exceeded (10.57.32.254) Host Down [06-01-2006 16:43:10] HOST ALERT: arlingtonrouter;DOWN;SOFT;2;CRITICAL - Time to live exceeded (10.57.32.254) Host Down [06-01-2006 16:43:10] HOST ALERT: arlingtonrouter;DOWN;SOFT;1;CRITICAL - Time to live exceeded (10.57.32.254) I have the host retries at 3 and you can see that it tried 3 times but there was no waiting in-between tries. Anyone have any ideas? Josh Konkol, CCSE CNE MCSE Technical Research Specialist .~. /V\ /( )\ ^^-^^ samba at guideone.com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asellhorn at sellhorns.com Fri Jun 2 18:20:35 2006 From: asellhorn at sellhorns.com (Adam Sellhorn) Date: Fri, 2 Jun 2006 10:20:35 -0600 Subject: Nagios Upgrade to 1.x to 2.x Message-ID: <20060602162035.M7068@sellhorns.com> I've been planning on an upgrade from nagios 1.4 to 2.4 but my biggest concern is the use of hostgroups in escalations. I am monitoring close to 600 hosts and 1697 services so typing these in individually would be a nightmare. Is it even work upgrading to 2.x? Does anyone have any advice to make this an easier upgrade? Any help would be appreciated. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 2 18:34:24 2006 From: marc at ena.com (Marc Powell) Date: Fri, 2 Jun 2006 11:34:24 -0500 Subject: external commands enable problems Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of mchoekst at mtu.edu > Sent: Friday, June 02, 2006 10:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] external commands enable problems > > hi list- > i am revamping a previous Nagios install, and when i set the > check_external_commands=1 instead of 0, the web interface (at least) of > nagios dies. what is more odd is that when i do a reload of the config > after this has occurred, it seems as though the nagios process wasnt > running in the first place: > > # reload when changing variable back to 0 when it was running as 1 > > server(21)% sudo /etc/rc.d/init.d/nagios reload > Running configuration check...done > Stopping network monitor: nagios > /etc/init.d/nagios: line 66: kill: (588) - No such process > Starting network monitor: nagios > PID TTY TIME CMD > 732 ? 00:00:00 nagios > > # typical reload without changing this variable: > > server(17)% sudo /etc/rc.d/init.d/nagios reload > Running configuration check...done > Reloading nagios configuration...done > > > any advice would be appreciated Check nagios.log for errors. A common error is that the directory that nagios is trying to create the external command file (pipe) in doesn't exist or has incorrect permissions. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Fri Jun 2 18:31:16 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 2 Jun 2006 12:31:16 -0400 Subject: Host check doesn't wait in-between checks. In-Reply-To: References: Message-ID: > I have the host retries at 3 and you can see that it tried 3 times but there > was no waiting in-between tries. > > Anyone have any ideas? That's normal. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 2 18:43:04 2006 From: marc at ena.com (Marc Powell) Date: Fri, 2 Jun 2006 11:43:04 -0500 Subject: Host check doesn't wait in-between checks. Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Samba > Sent: Friday, June 02, 2006 10:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host check doesn't wait in-between checks. > > I'm running Nagios 2.3.1. > > I'm running into this scenario: When a host goes down I've noticed that > the Host checks aren't waiting for any period of time between the host > alive checks. Below is a recent occurance: > > [06-01-2006 16:43:12] HOST ALERT: arlingtonrouter;DOWN;HARD;3;CRITICAL - > Time to live exceeded (10.57.32.254) > Host Down > [06-01-2006 16:43:10] HOST ALERT: arlingtonrouter;DOWN;SOFT;2;CRITICAL - > Time to live exceeded (10.57.32.254) > Host Down > [06-01-2006 16:43:10] HOST ALERT: arlingtonrouter;DOWN;SOFT;1;CRITICAL - > Time to live exceeded (10.57.32.254) > > I have the host retries at 3 and you can see that it tried 3 times but > there was no waiting in-between tries. > > Anyone have any ideas? That is expected and desired behavior. Host checks are done serially, not in parallel fashion like service checks. While host checks are being performed all other activities such as service checks and notifications stop until the state of the host is definitely determined (i.e. in a HARD state). It is therefore important that the host check completes as quickly as possible so that nagios can move back into parallel operation mode. http://nagios.sourceforge.net/docs/2_0/networkreachability.html details some of the benefits of this. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From felipe at tocchetto.com Fri Jun 2 20:10:44 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Fri, 2 Jun 2006 15:10:44 -0300 Subject: Nagios 2.3.1 and 2.4 compilation problem - statusmap.cgi In-Reply-To: <20060601222453.GL11935@hermes.americas.hpqcorp.net> References: <4f70c5c80606011103t5f31258dg75a727d394b5c74c@mail.gmail.com> <20060601222453.GL11935@hermes.americas.hpqcorp.net> Message-ID: <4f70c5c80606021110pcf0d4e7s107b6a5c95060f7d@mail.gmail.com> Patrick Thanks for your answer: I compile the GD again with this flags ( thanks to Luc Suryo): ./configure --with-png=/usr/local/lib/ --with-freetype=/usr/local/lib/ --with-jpeg=/usr/local/lib/ On 6/1/06, Patrick Morris wrote: > Check the FAQs: > > http://www.nagios.org/faqs/viewfaq.php?faq_id=182&expand=false&showdesc=false > > On Thu, 01 Jun 2006, Felipe Tocchetto wrote: > > > Recently I started to try install Nagios in a Solaris 10 box, but I > > didn?t get it works. > > > > First I was trying the 2.3.1 version of Nagios, so yesterday I notice > > that the new version 2.4 has this fix: > > > > - Fix for missing include that prevented CGI compilation under Solaris > > > > So I downloaded the new version but I am getting the same compilation error. > > > > The flags that I am using (the same I was using in previous version): > > > > ./configure --prefix=/usr/local/nagios-2.4/ --with-nagios-user=nagios > > --with-nagios-group=nagios --with-command-group=nagcmd > > --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include > > > > The error is after de 'make all' command: > > > > gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI > > -L/usr/local/lib -o statusmap.cgi statusmap.c getcgi.o cgiutils.o > > cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o > > xstatusdata-cgi.o -lgd -liconv -lpng -ljpeg -lz -lm -lrt > > Undefined first referenced > > symbol in file > > gdImageCreateFromJpeg /var/tmp//ccu5735L.o > > ld: fatal: Symbol referencing errors. No output written to statusmap.cgi > > collect2: ld returned 1 exit status > > make[1]: *** [statusmap.cgi] Error 1 > > make[1]: Leaving directory `/usr/local/src/nagios-2.4/cgi' > > make: *** [all] Error 2 > > > > Some extra information: > > > > SunOS 5.10 Generic_118844-26 i86pc i386 i86pc > > gcc version 3.3.2 > > gd-2.0.33 > > libiconv-1.8 > > libpng-1.2.8 > > jpeg-6b > > > > If anybody knows how to solve this I agree. > > > > Best Wishes > > > > Thanks for you attention > > > > -- > > Felipe L. Tocchetto > > msn ftocchetto at hotmail.com > > icq 163263160 > > felipe at tocchetto.com > > http://www.felipe.tocchetto.com > > > > > > ------------------------------------------------------- > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > > Fully trained technicians. The highest number of Red Hat certifications in > > the hosting industry. Fanatical Support. Click to learn more > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > -- > Patrick Morris > Snapfish/HP > 303 Second Street > Suite 500, South Tower > San Francisco, CA 94107 > (415) 979-3727 > > -- Felipe L. Tocchetto msn ftocchetto at hotmail.com icq 163263160 felipe at tocchetto.com http://www.felipe.tocchetto.com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From estair at ilm.com Fri Jun 2 20:11:02 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 02 Jun 2006 11:11:02 -0700 Subject: Notification problem In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602E6C2C3@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602E6C2C3@exc2003.int.fininfo.grp> Message-ID: What messages, exactly, do you see in syslog? Are you comparing the successful log line when a mail is TX/RX, are they the same? Is this the expectation of continued alerting on a failure that lasts several hours, or is this for separate events? I'm guessing off hand that it's your 'notification_interval', post some details and maybe we can clear it up. Cheers, /eli On 6/2/06 2:13 AM, "MAIGNAN Luc" wrote: > Hi, > > I have a very strange behavior that I can't explain. > > I use Nagios 2.3.1 running on a Debian 3.1. I set up standard email > notification. While several hours, I receive normally notifications by email. > But after a certain time, mails don't come any more in my mailbox. I can see > the messages in /var/log/messages, and I can always send mail from the server. > > Any ideas ? > > Best regards > > > ********************************************************************* > Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ? > l'intention exclusive de ses destinataires et sont confidentiels. Si vous > recevez ce message par erreur, merci de le d?truire et d'en avertir > imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa > destination, modification, diffusion ou toute publication, totale ou > partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) > d?cline(nt) toute responsabilit? au titre de ce message, dans l'hypoth?se ou > il aurait ?t? modifi?, alt?r?, falsifi? ou encore ?dit? ou diffus? sans > autorisation. > ----------------------------------------------------- > This message and any attachments (the "message") is intended > solely for the addressees and is confidential. If you receive this > message in error, please delete it and immediately notify the > sender. Any use not in accord with its purpose, any dissemination > or disclosure, either whole or partial, is prohibited except formal > approval. Neither FININFO (nor any of its subsidiaries or affiliates) > shall be liable for the message if modified, altered, falsified, edited > or diffused without authorization. > ********************************************************************** > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From brad.clemmons at gmail.com Fri Jun 2 19:41:39 2006 From: brad.clemmons at gmail.com (Brad Clemmons Jr) Date: Fri, 2 Jun 2006 13:41:39 -0400 Subject: Authentication problem (apache basic) In-Reply-To: References: <51e7ae840605310933i32357c22w3cd82f42104f0f46@mail.gmail.com> <51e7ae840606010700w77579e3evbace70124eba272c@mail.gmail.com> Message-ID: <51e7ae840606021041n30e90fd2q8e77c2b3724f6e79@mail.gmail.com> Well, the only time I see myself in the error.log is if I fatfinger the password. Although, looking at the access.log I see when I get to the initial page and log in (see the get requests for the html stuff from the side bar): xxx.xxx.xxx.xxx - myusername [02/Jun/2006:12:38:21 -0400] "GET /nagios/images/orangedot.gif HTTP/1.1" 304 - " http://xxx.xxx.xxx.xxx/nagios/side.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" "-" I don't see my username after clicking on any of the cgi's, but I do see the cgi request in the access log: xxx.xxx.xxx.xxx - - [02/Jun/2006:12:38:24 -0400] "GET /opt/nagios/cgi-bin/tac.cgi HTTP/1.1" 200 11961 " http://xxx.xxx.xxx.xxx/nagios/side.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" "-" -brad On 6/2/06, Hugo van der Kooij wrote: > On Thu, 1 Jun 2006, Brad Clemmons Jr wrote: > > > Thanks, I tried both, but still no luck. I added the auth lines to the > > /share share dir too. I also tried Patrick's AllowOverride. I now get > a > > login prompt when I go to my main nagios page ( > http://nnn.nnn.nnn.nnn/nagios), > > but it doesn't appear to pass along to the CGI's or nagios can't figure > it > > out. The authentication now works for the html (the /share stuff) as it > > let's me log in. If I then click on any of the cgi links, etc... I get > the > > "you do not have permission" messages. I also still have the "Logged in > as: > > ?" at the top of the pages (like the tac overview page). > > Check your apache logs. Do you see you username in the logs on the CGI > requests too? > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 only way to defeat a monster is to BECOME ONE! If you attack me, know this: I train for only two options; Incapacitate and Terminate...PERIOD! Quit touting Democracy you ignorant fool! Democracy is two Wolves and a Lamb voting on what to have for lunch. Liberty is a well-armed Lamb contesting the vote! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephanelegr at gmail.com Fri Jun 2 11:34:06 2006 From: stephanelegr at gmail.com (Stephane Le Grand) Date: Fri, 2 Jun 2006 11:34:06 +0200 Subject: snmptt and nagios.cmd Message-ID: Hello, I have a problem with nagios I use a lot of passive services and I have some scripts that write a process_service_check_result into the nagios.cmd file and also log before writing into the cmd file. The length of the written line is variable, and sometimes it can be verry verry long. All the passive services are volatile. Usually after the line is written in the cmd file nagios logs an external_command_process_service_check_result, then aservice_alert and then a service_notification. A few days ago something strange happened: -For one specific passive service that has one specific script writing Nagios stopped logging the external command, the service alert and the service notification for one specific service only. -The script keeps writing data into nagios.cmd and log files (as I did a manual debug) -All other passive services that have scripts writing lines into nagios.cmd work fine. -The status data is shown in the web interface but I receive no email alert. I use Nagios 1.2 Thank you for your help Stephane _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jonathan at nerds.net Fri Jun 2 21:09:16 2006 From: jonathan at nerds.net (Jonathan Dill) Date: Fri, 02 Jun 2006 15:09:16 -0400 Subject: "smart" text editor for nagios configs? Message-ID: <44808CDC.4000907@nerds.net> Hi folks, Are there any context-sensitive text editors that grok nagios config file format eg. Jedit or SciTE with a particular plugin(s)? The ability to collapse content between "{}" for example could help with readability. Alternatively, a tool chain to generate configs from an XML format would be nice. Thanks, Jonathan _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rouilj at cs.umb.edu Sat Jun 3 02:58:53 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Fri, 02 Jun 2006 20:58:53 -0400 Subject: per host custom macros In-Reply-To: Your message of "Thu, 30 Mar 2006 16:51:56 +0200." <200603301651.56559.johan.corsini@guest.minfin.fed.be> References: <200603301651.56559.johan.corsini@guest.minfin.fed.be> Message-ID: <200606030058.k530wrH6021222@mx1.cs.umb.edu> I am coming into this a bit late, but maybe a method like this would work. For each of my LDAP hosts I have a check_ldaps service defined as: $USER1$/check_ldaps -p 636 -H `$USER1$/ip2ldapCN $HOSTADDRESS$` $ARG1$ where ip2ldapCN is: for i in auth1.example.com auth2.example.com auth3.example.com auth4.example.com auth4.example.com do addr=`dig +short $i` if [ "$addr" = "$1" ]; then echo $i exit fi done echo "Incorrect_address of ip2ldapCN $1" This loops over all auth hosts and returns the auth host name corresponding to the host address passed in. However a similar mechanism could be used to represent any data. Imagine a shell script that takes two arguments: attribute_name and host this allows you to get any attribute value into a command. So I could write: $USER1$/check_ldaps -p 636 -H `$USER1$/attributes AUTHNAME $HOSTNAME$` $ARG1$ and then attributes runs: sed -ne "s/.*$2-$1=(.*)/\1/p" /etc/nagios/hosts/*.cfg to extract the attribute from the host config where the attribute looks like: # host1.example.com-AUTHNAME: auth1.example.com With some perl you could check the mtime of the *.cfg files (or the parent directory) and reparse the config files extracting all the keys and values into a dbm file for faster lookup. Yes, this is a hack but it might be a useful hack and can work for any plugin. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Sat Jun 3 09:37:39 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 3 Jun 2006 09:37:39 +0200 (CEST) Subject: [FRAUD] [DISARMED] Re: Authentication problem (apache basic) In-Reply-To: <51e7ae840606021041n30e90fd2q8e77c2b3724f6e79@mail.gmail.com> References: <51e7ae840605310933i32357c22w3cd82f42104f0f46@mail.gmail.com> <51e7ae840606010700w77579e3evbace70124eba272c@mail.gmail.com> <51e7ae840606021041n30e90fd2q8e77c2b3724f6e79@mail.gmail.com> Message-ID: On Fri, 2 Jun 2006, Brad Clemmons Jr wrote: > Well, the only time I see myself in the error.log is if I fatfinger the > password. Although, looking at the access.log I see when I get to the > initial page and log in (see the get requests for the html stuff from the > side bar): > xxx.xxx.xxx.xxx - myusername [02/Jun/2006:12:38:21 -0400] "GET > /nagios/images/orangedot.gif HTTP/1.1" 304 - " > http://xxx.xxx.xxx.xxx/nagios/side.html" "Mozilla/4.0 (compatible; MSIE 6.0; > Windows NT 5.1; SV1; .NET CLR 1.1.4322)" "-" > I don't see my username after clicking on any of the cgi's, but I do see the > cgi request in the access log: > xxx.xxx.xxx.xxx - - [02/Jun/2006:12:38:24 -0400] "GET > /opt/nagios/cgi-bin/tac.cgi HTTP/1.1" 200 11961 " > http://xxx.xxx.xxx.xxx/nagios/side.html" "Mozilla/4.0 (compatible; MSIE 6.0; > Windows NT 5.1; SV1; .NET CLR 1.1.4322)" "-" It seems you are not authenticated when you access the CGI's. You may need to verify your apache config. A working sample enclosed below. ScriptAlias /nagios/cgi-bin "/usr/lib/nagios/cgi" Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user Alias /nagios "/usr/share/nagios" Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smiller at co.slo.ca.us Sat Jun 3 13:01:41 2006 From: smiller at co.slo.ca.us (smiller at co.slo.ca.us) Date: Sat, 3 Jun 2006 04:01:41 -0700 Subject: Steve Miller is out of the office. Message-ID: I will be out of the office starting 06/02/2006 and will not return until 06/16/2006. I will respond to your message when I return. If you have a technical issue please call 788-2800 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hannu.liljemark at gstdomain.net Sat Jun 3 13:37:59 2006 From: hannu.liljemark at gstdomain.net (Hannu Liljemark) Date: Sat, 3 Jun 2006 14:37:59 +0300 Subject: snmp traps In-Reply-To: <20060531073947.80134.qmail@web53910.mail.yahoo.com> References: <20060531073947.80134.qmail@web53910.mail.yahoo.com> Message-ID: <20060603113759.GA3852@sigourney> On Wed, May 31, 2006 at 12:39:47AM -0700, Vinod wrote: > I tried to configure nagios to listen to snmp traps from a host. > i have been referring to documents > http://www.samag.com/documents/s=9559/sam0503g/ > http://www.snmptt.org/docs/snmptt.shtml#Integration-with-other-software I've been using http://www.samag.com/documents/s=9559/sam0503g/ with good success. > Secondly > http://www.samag.com/documents/s=9559/sam0503g/ > speicifes > use passive-check-template > but its not mentioned how to define the passive-check-template You can define passive_check_missing in checkcommands.cfg, although it wont be used in this case: define command{ command_name passive_check_missing command_line $USER1$/passive_check_missing.sh } Here's what passive_check_missing.sh looks like: #!/bin/sh /bin/echo "CRITICAL: Passive Service check is missing!" exit 2 In services.cfg we define the template that will be used by the snmp_trap_handling_* service checks: define service{ register 0 name passive-check-template use generic-service check_freshness 1 check_period none passive_checks_enabled 1 max_check_attempts 1 check_command passive_check_missing freshness_threshold 600 } I've been converting mibs with: snmpttconvertmib --net_snmp_perl --format_desc=6 --in=FOO.mib \ --out=/etc/snmp/snmptt-FOO.conf as that seems to produce EVENTs with descriptions making more sense than the default convert shown in the article. You may want to look though them anyway or replace 6 with smaller number. Check 'snmpttconvermib --help' for more info. I've also made a small change to the snmptraphandling.py. Trend Micro's MIBs use the severity NORMAL when snmptraphandling.py only matches Normal (case sensitive). So I've added a section to also match NORMAL. My sec.conf looks like: type=Single ptype=RegExp pattern=(\w+\s+\d+\s\d+:\d+:\d+)\s[\w\.\-]+\ssnmptt\[\d+\]:\s\ ([\d\.]*)\s(Normal|NORMAL|INFORMATIONAL|MINOR|WARNING|SEVERE|\ MAJOR|CRITICAL)\s\"Status Events\"\s([\w\.\-]*)\s\-\s(.*) desc=snmptrap received from $3 action=shellcmd /opt/nagios/libexec/eventhandlers/snmptraphandling.py\ $4 $3 "$5" When converting MIBs, you also may want to check them through to see what kind of severities are defined for various traps. So far there seems to a lot of Normal severity traps even for traps that alert you about hardware failures etc. The article says "One of the beauties of this solution is that we can use the event severity set by the mib designer. Nagios will always report the event status based on this information." and I think this is somewhat problematic with a lot of MIBs. Many traps seem to define the severity somewhere else. Lets take examples from SUN-PLATFORM-MIB. Some Sun server might send alarm traps and these have Normal severity so snmptt + sec + Nagios would map them to OK. However they might be something worse: component has blown up or system is reaching temperatures where metal starts to melt... so I guess this setup has some drawbacks. EVENT sunPlatEquipmentAlarm .1.3.6.1.4.1.42.2.70.101.2.0.5\ "Status Events" Normal EVENT sunPlatEnvironmentalAlarm .1.3.6.1.4.1.42.2.70.101.2.0.4\ "Status Events" Normal You get the severity as a variable: 7: sunPlatNotificationPerceivedSeverity Syntax="INTEGER" 1: indeterminate 2: critical 3: major 4: minor 5: warning 6: cleared Descr="The perceived severity of the alarm, as specified by the agent that generated it in accordance with X.733, sec. 8.1.2.3." I'd be interesting in hearing from others if they've come up with some solution to this, or if I've misunderstood something. Regards, -- Hannu Liljemark | Appelsiini Finland Oy | http://appelsiini.fi _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vins192004 at yahoo.com Mon Jun 5 08:27:41 2006 From: vins192004 at yahoo.com (Vinod) Date: Sun, 4 Jun 2006 23:27:41 -0700 (PDT) Subject: snmp traps In-Reply-To: <20060603113759.GA3852@sigourney> References: <20060603113759.GA3852@sigourney> Message-ID: <20060605062741.81728.qmail@web53911.mail.yahoo.com> Hi Hannu Thanks a lot for the information you provided. I still have some issues in the services.cfg file i have pasted it below, i get this error in cgi Status information:CRITICAL: Passive Service check is missing! If i set the check_period none nagios does not start. Please advice define service{ name generic-service active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 retry_check_interval 1 } define service{ register 0 name passive-check-template use generic-service check_freshness 1 check_period none passive_checks_enabled 1 max_check_attempts 1 check_command passive_check_missing notification_interval 120 notification_period 24x7 notification_options w,c,r freshness_threshold 600 } define service { use passive-check-template host_name node contact_groups admins service_description snmp_trap_handling_ok register 1 normal_check_interval 2 retry_check_interval 2 check_period 24x7 } Regards Vinod Moraes Hannu Liljemark wrote: On Wed, May 31, 2006 at 12:39:47AM -0700, Vinod wrote: > I tried to configure nagios to listen to snmp traps from a host. > i have been referring to documents > http://www.samag.com/documents/s=9559/sam0503g/ > http://www.snmptt.org/docs/snmptt.shtml#Integration-with-other-software I've been using http://www.samag.com/documents/s=9559/sam0503g/ with good success. > Secondly > http://www.samag.com/documents/s=9559/sam0503g/ > speicifes > use passive-check-template > but its not mentioned how to define the passive-check-template You can define passive_check_missing in checkcommands.cfg, although it wont be used in this case: define command{ command_name passive_check_missing command_line $USER1$/passive_check_missing.sh } Here's what passive_check_missing.sh looks like: #!/bin/sh /bin/echo "CRITICAL: Passive Service check is missing!" exit 2 In services.cfg we define the template that will be used by the snmp_trap_handling_* service checks: define service{ register 0 name passive-check-template use generic-service check_freshness 1 check_period none passive_checks_enabled 1 max_check_attempts 1 check_command passive_check_missing freshness_threshold 600 } I've been converting mibs with: snmpttconvertmib --net_snmp_perl --format_desc=6 --in=FOO.mib \ --out=/etc/snmp/snmptt-FOO.conf as that seems to produce EVENTs with descriptions making more sense than the default convert shown in the article. You may want to look though them anyway or replace 6 with smaller number. Check 'snmpttconvermib --help' for more info. I've also made a small change to the snmptraphandling.py. Trend Micro's MIBs use the severity NORMAL when snmptraphandling.py only matches Normal (case sensitive). So I've added a section to also match NORMAL. My sec.conf looks like: type=Single ptype=RegExp pattern=(\w+\s+\d+\s\d+:\d+:\d+)\s[\w\.\-]+\ssnmptt\[\d+\]:\s\ ([\d\.]*)\s(Normal|NORMAL|INFORMATIONAL|MINOR|WARNING|SEVERE|\ MAJOR|CRITICAL)\s\"Status Events\"\s([\w\.\-]*)\s\-\s(.*) desc=snmptrap received from $3 action=shellcmd /opt/nagios/libexec/eventhandlers/snmptraphandling.py\ $4 $3 "$5" When converting MIBs, you also may want to check them through to see what kind of severities are defined for various traps. So far there seems to a lot of Normal severity traps even for traps that alert you about hardware failures etc. The article says "One of the beauties of this solution is that we can use the event severity set by the mib designer. Nagios will always report the event status based on this information." and I think this is somewhat problematic with a lot of MIBs. Many traps seem to define the severity somewhere else. Lets take examples from SUN-PLATFORM-MIB. Some Sun server might send alarm traps and these have Normal severity so snmptt + sec + Nagios would map them to OK. However they might be something worse: component has blown up or system is reaching temperatures where metal starts to melt... so I guess this setup has some drawbacks. EVENT sunPlatEquipmentAlarm .1.3.6.1.4.1.42.2.70.101.2.0.5\ "Status Events" Normal EVENT sunPlatEnvironmentalAlarm .1.3.6.1.4.1.42.2.70.101.2.0.4\ "Status Events" Normal You get the severity as a variable: 7: sunPlatNotificationPerceivedSeverity Syntax="INTEGER" 1: indeterminate 2: critical 3: major 4: minor 5: warning 6: cleared Descr="The perceived severity of the alarm, as specified by the agent that generated it in accordance with X.733, sec. 8.1.2.3." I'd be interesting in hearing from others if they've come up with some solution to this, or if I've misunderstood something. Regards, -- Hannu Liljemark | Appelsiini Finland Oy | http://appelsiini.fi _______________________________________________ Nagios-users mailing list Nagios-users at 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mccamish at usna.edu Mon Jun 5 13:29:08 2006 From: mccamish at usna.edu (Scott McCamish (Contractor)) Date: Mon, 05 Jun 2006 07:29:08 -0400 Subject: check_http ssl certificate In-Reply-To: References: Message-ID: <44841584.9010005@usna.edu> Hi Scott- Lundgren, Scott wrote: > Do you know why the browser is prompting about the certificate when you > access the URL through your browser? Does the certificate match or is it > expired? > It's prompting in firefox/IE because it's an unknown certificate authority. > you may have to look through the source of the check_http plug-in and to > see how it handles SSL certificate negotiation. On one hand it could > blindly trust any certificate. On the other hand like a browser the > plugin could consult some file for manually accepted & stored > certificates or simply exit if the certificate doesn't is > expired/doesn't match. > I did look through the source of check_http, and also check_http-with-client-certificate.c, however I'm not familiar enough with C to know how to get what I want out of it :) I'd be happy if I could get it to blindly accept the certificate. Anybody have some quick thoughts as to where in the code I should look to make this kind of change? Thanks! > Scott Lundgren > ITS - Web Services > UNC at Charlotte > http://www.uncc.edu > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott > McCamish (Contractor) > Sent: Tuesday, May 30, 2006 2:40 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http ssl certificate > > Hi all- > > A web server was recently upgraded, and my check_http --ssl service is > now failing. > > The server is sending a certificate when accessing through a browser. > How can I > accept the certificate; either permanently through the nagios user cmd > line, or through flags to check_http? > > 'check_http --ssl H xyzxyz -C 14' works fine to see the expiration... > > I did read a recent thread that suggested the servers http config be > changed, but I don't have access/approval to change the server config. > > Thanks for reading! > > Nagios 1.2 (I'll be upgrading soon) > > $ ./check_http -H xyzxyz --ssl -f=follow -v GET / HTTP/1.0 > User-Agent: check_http/1.89 (nagios-plugins 1.4.3) > Host: xyzxyz > > No data received > $ > -------------- next part -------------- A non-text attachment was scrubbed... Name: mccamish.vcf Type: text/x-vcard Size: 267 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jun 5 14:51:04 2006 From: marc at ena.com (Marc Powell) Date: Mon, 5 Jun 2006 07:51:04 -0500 Subject: snmp traps Message-ID: You need to have a command{} definition named 'passive_check_missing'. It would normally be the command that nagios would execute for freshness checking but since you're not interested in freshness and it will never be executed with 'check_period none', it can be as simple as define command { command_name passive_check_missing command_line $USER1$/check_dummy 0 } -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Vinod > Sent: Monday, June 05, 2006 1:28 AM > To: Hannu Liljemark; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] snmp traps > > Hi Hannu > > Thanks a lot for the information you provided. > I still have some issues in the services.cfg file > i have pasted it below, i get this error in cgi > Status information:CRITICAL: Passive Service check is missing! > If i set the check_period none nagios does not start. > Please advice > > define service{ > name generic-service > active_checks_enabled 0 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > failure_prediction_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > retry_check_interval 1 > } > > > > define service{ > register 0 > name passive-check-template > use generic-service > check_freshness 1 > check_period none > passive_checks_enabled 1 > max_check_attempts 1 > check_command passive_check_missing > notification_interval 120 > notification_period 24x7 > notification_options w,c,r > freshness_threshold 600 > } > > > > define service { > use passive-check-template > host_name node > contact_groups admins > service_description snmp_trap_handling_ok > register 1 > normal_check_interval 2 > retry_check_interval 2 > check_period 24x7 > } > > Regards > Vinod Moraes > > > Hannu Liljemark wrote: > > On Wed, May 31, 2006 at 12:39:47AM -0700, Vinod wrote: > > > I tried to configure nagios to listen to snmp traps from a host. > > i have been referring to documents > > http://www.samag.com/documents/s=9559/sam0503g/ > > http://www.snmptt.org/docs/snmptt.shtml#Integration-with-other- > software > > I've been using http://www.samag.com/documents/s=9559/sam0503g/ with > good success. > > > Secondly > > http://www.samag.com/documents/s=9559/sam0503g/ > > speicifes > > use passive-check-template > > but its not mentioned how to define the passive-check-template > > You can define passive_check_missing in checkcommands.cfg, > although it wont be used in this case: > > define command{ > command_name passive_check_missing > command_line $USER1$/passive_check_missing.sh > } > > > Here's what passive_check_missing.sh looks like: > > #!/bin/sh > > /bin/echo "CRITICAL: Passive Service check is missing!" > > exit 2 > > > In services.cfg we define the template that will be used by the > snmp_trap_handling_* service checks: > > define service{ > register 0 > name passive-check-template > use generic-service > check_freshness 1 > check_period none > passive_checks_enabled 1 > max_check_attempts 1 > check_command passive_check_missing > freshness_threshold 600 > } > > > I've been converting mibs with: > > snmpttconvertmib --net_snmp_perl --format_desc=6 --in=FOO.mib \ > --out=/etc/snmp/snmptt-FOO.conf > > as that seems to produce EVENTs with descriptions making more > sense than the default convert shown in the article. You may want > to look though them anyway or replace 6 with smaller number. > Check 'snmpttconvermib --help' for more info. > > I've also made a small change to the snmptraphandling.py. Trend > Micro's MIBs use the severity NORMAL when snmptraphandling.py > only matches Normal (case sensitive). So I've added a section > to also match NORMAL. > > My sec.conf looks like: > > type=Single > ptype=RegExp > pattern=(\w+\s+\d+\s\d+:\d+:\d+)\s[\w\.\-]+\ssnmptt\[\d+\]:\s\ > ([\d\.]*)\s(Normal|NORMAL|INFORMATIONAL|MINOR|WARNING|SEVERE|\ > MAJOR|CRITICAL)\s\"Status Events\"\s([\w\.\-]*)\s\-\s(.*) > desc=snmptrap received from $3 > action=shellcmd > /opt/nagios/libexec/eventhandlers/snmptraphandling.py\ > $4 $3 "$5" > > When converting MIBs, you also may want to check them > through to see what kind of severities are defined for various > traps. > So far there seems to a lot of Normal severity traps even for traps > that alert you about hardware failures etc. The article says "One > of the beauties of this solution is that we can use the event > severity > set by the mib designer. Nagios will always report the event status > based on this information." and I think this is somewhat problematic > with a lot of MIBs. Many traps seem to define the severity somewhere > else. > > Lets take examples from SUN-PLATFORM-MIB. Some Sun server might > send alarm traps and these have Normal severity so snmptt + sec + > Nagios > would map them to OK. However they might be something worse: > component > has blown up or system is reaching temperatures where metal starts > to melt... so I guess this setup has some drawbacks. > > EVENT sunPlatEquipmentAlarm .1.3.6.1.4.1.42.2.70.101.2.0.5\ > "Status Events" Normal > EVENT sunPlatEnvironmentalAlarm .1.3.6.1.4.1.42.2.70.101.2.0.4\ > "Status Events" Normal > > You get the severity as a variable: > > 7: sunPlatNotificationPerceivedSeverity > Syntax="INTEGER" > 1: indeterminate > 2: critical > 3: major > 4: minor > 5: warning > 6: cleared > Descr="The perceived severity of the alarm, as specified by > the agent that generated it in accordance with X.733, > sec. 8.1.2.3." > > I'd be interesting in hearing from others if they've come up with > some solution to this, or if I've misunderstood something. > > Regards, > > -- > Hannu Liljemark | Appelsiini Finland Oy | http://appelsiini.fi > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From philc at foundation-it.com Mon Jun 5 15:18:38 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 5 Jun 2006 14:18:38 +0100 Subject: check_http ssl certificate Message-ID: Scott McCamish (Contractor) wrote: > Hi Scott- > > Lundgren, Scott wrote: >> Do you know why the browser is prompting about the certificate when >> you access the URL through your browser? Does the certificate match >> or is it expired? >> > > It's prompting in firefox/IE because it's an unknown certificate > authority. >> you may have to look through the source of the check_http plug-in and >> to see how it handles SSL certificate negotiation. On one hand it >> could blindly trust any certificate. On the other hand like a browser >> the plugin could consult some file for manually accepted & stored >> certificates or simply exit if the certificate doesn't is >> expired/doesn't match. >> > > I did look through the source of check_http, and also > check_http-with-client-certificate.c, however I'm not familiar enough > with C to know how to get what I want out of it :) > > I'd be happy if I could get it to blindly accept the certificate. > > Anybody have some quick thoughts as to where in the code I should > look to make this kind of change? Won't the plugin be using OpenSSL to do the certificate handling and hence won't the authority checking be handled at the library layer? I've just done a quick test and can "check_http -S" a site with a self-signed certificate so the behaviour you seem to be experiencing (not enough context left in the mail) doesn't happen here (Plugins v1.4.3). Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Mon Jun 5 16:38:52 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 05 Jun 2006 09:38:52 -0500 Subject: multiple timeperiods? Message-ID: <1149518333.3041.15.camel@localhost> I'm driving myself mad with the amount of editing I'm having to do to put people 'on-call' Is there any way to put multiple timeperiods in a contact's service_notification_period/host_notification_period? Or, some other way that I'm not visualizing? Right now, I pretty much have to have a timeperiod defined for each schedule. I'd much rather be able to have a person's normal schedule, then append an "on-call" timeperiod, as well, instead of having to edit-in the on-call times to a person's individual timeperiod. Any help would be appreciated. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From robert.king at ingenta.com Mon Jun 5 21:19:05 2006 From: robert.king at ingenta.com (Robert King) Date: Mon, 05 Jun 2006 15:19:05 -0400 Subject: Forcing renotification for existing states Message-ID: <448483A9.4090906@ingenta.com> Hello all, We have a high availability nagios setup, with two hosts in different data centers. Our secondary nagios installation by default runs with notifications disabled, and enables them when it senses the primary has gone down, using the example event handler scripts distributed with Nagios. This all works great, however... If we lose our primary, and happen to lose other hosts/services at the same time, there is a possibility of notifications not being sent! Suppose the secondary Nagios host decides that a service is in a non-OK state, and does not notify since it's disabled, at this same time, we lose the primary server, which has not already sent a notification, because it has not checked this service yet. Notifications then get enabled on the secondary. Any state changes that occur after that get notified, but this non-OK service that was detected during that short window slips through the cracks... Does this make sense? Anyway, we are more than happy to just re-send all notifications for non-OK conditions on the secondary server as it becomes primary. Is there any way to do this, though? At first I, possibly naively, thought that I could just set the notification count to zero with an external command. This of course had no effect. I have now made a script that sets all non-OK services/hosts to "unknown", and then schedules them for an immediate recheck... That, too, does not seem to be working. Thanks in advance for any insight anyone can offer! -- Robert King - Ingenta, Inc. UNIX Systems Administrator GPG Public key: http://tinyurl.com/9zmws _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Mon Jun 5 22:38:30 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 5 Jun 2006 22:38:30 +0200 (CEST) Subject: multiple timeperiods? In-Reply-To: <1149518333.3041.15.camel@localhost> References: <1149518333.3041.15.camel@localhost> Message-ID: On Mon, 5 Jun 2006, jeff vier wrote: > I'm driving myself mad with the amount of editing I'm having to do to > put people 'on-call' > > Is there any way to put multiple timeperiods in a contact's > service_notification_period/host_notification_period? > > Or, some other way that I'm not visualizing? How about creating templates and merging them together to form the config? Should not be too hard to write and it can be flexed to your needs. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Mon Jun 5 22:55:36 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 05 Jun 2006 15:55:36 -0500 Subject: multiple timeperiods? In-Reply-To: References: <1149518333.3041.15.camel@localhost> Message-ID: <1149540936.25225.25.camel@localhost> On Mon, 2006-06-05 at 22:38 +0200, Hugo van der Kooij wrote: > > Is there any way to put multiple timeperiods in a contact's > > service_notification_period/host_notification_period? > > > > Or, some other way that I'm not visualizing? > > How about creating templates and merging them together to form the config? > Should not be too hard to write and it can be flexed to your needs. Wouldn't a timeperiod template's definition for, say, monday just be overridden by a timeperiod definition, instead of added-to? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From admin.server at Ntlworld.com Mon Jun 5 23:17:35 2006 From: admin.server at Ntlworld.com (Mark Duffy) Date: Mon, 5 Jun 2006 22:17:35 +0100 Subject: Check windows Memory usage via SNMP Message-ID: <20060605211738.NVUV24467.aamtaout02-winn.ispmail.ntl.com@md1> Hi all, Does anyone know of or has written a script to check windows memory usage via SNMP, I have had a look on a few Nagios sites and have so far been unsuccessful in finding one, I can find them for checking disk space and CPU load but not memory :( can anyone point me in the right direction. I realize it is possible with NsClient / ++ but I would rather not use agents on the machines I am wanting to monitor Many thanks in advance, Mark Running Nagios 2.4 Fedora core 5 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Mon Jun 5 23:28:15 2006 From: btmanmeh at verizon.net (Max H.) Date: Mon, 05 Jun 2006 17:28:15 -0400 Subject: Check windows Memory usage via SNMP In-Reply-To: <20060605211738.NVUV24467.aamtaout02-winn.ispmail.ntl.com@md1> References: <20060605211738.NVUV24467.aamtaout02-winn.ispmail.ntl.com@md1> Message-ID: <4484A1EF.80900@verizon.net> Mark Duffy wrote: > > Does anyone know of or has written a script to check windows memory usage > via SNMP, I have had a look on a few Nagios sites and have so far been > unsuccessful in finding one, I can find them for checking disk space and CPU > load but not memory :( can anyone point me in the right direction. I realize > it is possible with NsClient / ++ but I would rather not use agents on the > machines I am wanting to monitor Hi Mark, Check out For Windows it's check_snmp_storage.pl Use is: [root at nagios plugins]# ./check_snmp_storage.pl -H myserver -C mycommunity -m "^Virtual Memory$" -w whatever -c whatever Virtual Memory: 19%used(1096MB/5786MB) (<90%) : OK It does Linux net-snmp clients and AS/400 as well. Max _______________________________________________ Nagios-users mailing list Nagios-users at 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 From teng at dataway.com Tue Jun 6 00:31:13 2006 From: teng at dataway.com (Tedman Eng) Date: Mon, 5 Jun 2006 15:31:13 -0700 Subject: Forcing renotification for existing states Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2DCB@dw-mail.dataway.com> > From: Robert King [mailto:robert.king at ingenta.com] > > Hello all, > > We have a high availability nagios setup, with two hosts in different > data centers. Our secondary nagios installation by default runs with > notifications disabled, and enables them when it senses the > primary has > gone down, using the example event handler scripts > distributed with Nagios. > > This all works great, however... If we lose our primary, and > happen to > lose other hosts/services at the same time, there is a possibility of > notifications not being sent! Suppose the secondary Nagios > host decides > that a service is in a non-OK state, and does not notify since it's > disabled, at this same time, we lose the primary server, > which has not > already sent a notification, because it has not checked this service > yet. Notifications then get enabled on the secondary. Any > state changes > that occur after that get notified, but this non-OK service that was > detected during that short window slips through the cracks... > > Does this make sense? Can you leave notifications enabled on the secondary server all the time (in nagios), and have the notifications "disabled" instead at the OS level (ie. toggle or flag your notification script to printf to a log file or /dev/null when inactive, printf to /bin/mail when active? _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Tue Jun 6 07:58:47 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 6 Jun 2006 07:58:47 +0200 (CEST) Subject: multiple timeperiods? In-Reply-To: <1149540936.25225.25.camel@localhost> References: <1149518333.3041.15.camel@localhost> <1149540936.25225.25.camel@localhost> Message-ID: On Mon, 5 Jun 2006, jeff vier wrote: > On Mon, 2006-06-05 at 22:38 +0200, Hugo van der Kooij wrote: > > > Is there any way to put multiple timeperiods in a contact's > > > service_notification_period/host_notification_period? > > > > > > Or, some other way that I'm not visualizing? > > > > How about creating templates and merging them together to form the config? > > Should not be too hard to write and it can be flexed to your needs. > > Wouldn't a timeperiod template's definition for, say, monday just be > overridden by a timeperiod definition, instead of added-to? I am not referring to nagios templates. Merge config files as you see fit based on crontab entries. Just create your config files but leave the changing parts out of it. Then put those part in other files. (As many as you need) and automate to change the changing parts as often as required. That is how I would do it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcinwasilewski at poczta.onet.pl Tue Jun 6 10:40:25 2006 From: marcinwasilewski at poczta.onet.pl (Marcin Wasilewski) Date: Tue, 6 Jun 2006 10:40:25 +0200 Subject: Nagios2 and check_apc_ups_snmp plugin error Message-ID: <001701c68944$db79eca0$260b0aac@MWPC> Hello, I have some problems with this plugin in Nagios2. On Nagios1 it was running ok, but after moving to Nagios2 it returns such status: Current Status: UNKNOWN Status Information:**ePN failed to compile /usr/lib/nagios/plugins/check_apc_ups_snmp: "Global symbol "$versionopt" requires explicit package name at (eval 9) line 44, Performance Data:Global symbol "$versionopt" requires explicit package name at (eval 9) line 51. I don't know PERL and I have no idea what should I correct to get this working... Below is a part of the check_apc_ups_snmp script so maybe some of You could help me? Best regards Marcin #! /usr/bin/perl -w # # (c)2003 Peter Radcliffe. # Released under the BSD Licence. # # Check the status of an APC(tm) UPS via SNMP. # require 5.004; use POSIX; #use diagnostics; #use strict; use Net::SNMP; use Getopt::Long; use lib "/usr/lib/nagios/plugins"; use utils qw($TIMEOUT %ERRORS &support); my $PROGNAME="check_apc_ups_snmp"; my $VERSION="0.02"; sub print_help (); sub print_usage (); sub print_local_version (); #$ENV{'PATH'}=''; $ENV{'BASH_ENV'}=''; $ENV{'ENV'}=''; # defaults my $community="public"; my $port="161"; my $battcaperror="80"; my $batttemperror="38"; my $battstatgood="2"; my $outputstatgood="2"; my $battreplacegood="1"; my $outvoltlow="235"; my $outvolthigh="245"; my $loadhigh="45"; my $runtimelow="200"; Getopt::Long::Configure ("bundling"); GetOptions( "V" => \$versionopt, "version" => \$versionopt, "h" => \$help, "help" => \$help, "c=s" => \$community, "community=s" => \$community, "p=i" => \$port, "port=i" => \$port, "r=i" => \$runtimelow, "runtimelow=i" => \$runtimelow, "l=i" => \$loadhigh, "loadhigh=i" => \$loadhigh, "H=s" => \$hostname, "hostname=s" => \$hostname, "battcaperror=i" => \$battcaperror, "batttemperror=i" => \$batttemperror, "battstatgood=i" => \$battstatgood, "outputstatgood=i" => \$outputstatgood, "battreplacegood=i" => \$battreplacegood, "outvoltlow=i" => \$outvoltlow, "outvolthigh=i" => \$outvolthigh ); if ($versionopt) { print_local_version; exit $ERRORS{'UNKNOWN'}; } if ($help) { print_help(); exit $ERRORS{'UNKNOWN'}; } ......... _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gbellettini at genetsis.com Tue Jun 6 11:20:40 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Tue, 6 Jun 2006 11:20:40 +0200 Subject: nagiosgraph Message-ID: Does anyone know how to build graphics showing the cisco routers temperature? Any idea how to customize the map file for this? Thanks a lot Emilio -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jochen at smartbit.be Tue Jun 6 14:16:12 2006 From: jochen at smartbit.be (Jochen Billen) Date: Tue, 6 Jun 2006 12:16:12 +0000 (UTC) Subject: Nagios 1.3 ignoring downtime References: Message-ID: There were indeed multiple Nagios daemons running. Problem solved! Thanks for the tip. Regards, Jochen Billen _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Tue Jun 6 15:55:29 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 06 Jun 2006 08:55:29 -0500 Subject: multiple timeperiods? In-Reply-To: References: <1149518333.3041.15.camel@localhost> <1149540936.25225.25.camel@localhost> Message-ID: <1149602129.25225.34.camel@localhost> On Tue, 2006-06-06 at 07:58 +0200, Hugo van der Kooij wrote: > > > > Is there any way to put multiple timeperiods in a contact's > > > > service_notification_period/host_notification_period? > > > > > > > > Or, some other way that I'm not visualizing? > > > > > > How about creating templates and merging them together to form the config? > > > Should not be too hard to write and it can be flexed to your needs. > > > > Wouldn't a timeperiod template's definition for, say, monday just be > > overridden by a timeperiod definition, instead of added-to? > > I am not referring to nagios templates. Merge config files as you see fit > based on crontab entries. > > Just create your config files but leave the changing parts out of it. Then > put those part in other files. (As many as you need) and automate to > change the changing parts as often as required. > > That is how I would do it. Ah, I see what you're saying. Maybe I should just beg/pay someone to patch in support for contacts having multiple timeperiods :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ktynagios at richard-group.com Tue Jun 6 16:05:07 2006 From: ktynagios at richard-group.com (Kurt Yoder) Date: Tue, 6 Jun 2006 10:05:07 -0400 Subject: `make all` fails for 1.4.1 In-Reply-To: <99E943D7AA8E3A448619E1F809F2A2A2041F2080@dlee04.ent.ti.com> References: <99E943D7AA8E3A448619E1F809F2A2A2041F2080@dlee04.ent.ti.com> Message-ID: Looks like that's an artifact of the word wrapping in the email. So, no I don't think so. On Jun 6, 2006, at 8:49 AM, Hatten, Ken wrote: > > Kurt - > > Is there really a space in this piece: > > "RE -L/usr/ lib/p" > ^^^ > > Regards, > > Ken Hatten > CM Ops Admin > Desk: (214) 480-6098 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From samba at guidemail.com Tue Jun 6 16:32:57 2006 From: samba at guidemail.com (Josh Konkol) Date: Tue, 6 Jun 2006 14:32:57 +0000 (UTC) Subject: Working Yet Message-ID: Is this Mail List working yet? Sorry for this. Josh _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Tue Jun 6 16:47:14 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 06 Jun 2006 09:47:14 -0500 Subject: Working Yet In-Reply-To: References: Message-ID: <1149605235.25225.38.camel@localhost> On Tue, 2006-06-06 at 14:32 +0000, Josh Konkol wrote: > Is this Mail List working yet? > > Sorry for this. It appears to be. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jun 6 16:49:03 2006 From: marc at ena.com (Marc Powell) Date: Tue, 6 Jun 2006 09:49:03 -0500 Subject: Working Yet Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Josh Konkol > Sent: Tuesday, June 06, 2006 9:33 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Working Yet > > Is this Mail List working yet? It was never broken. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jun 6 16:51:48 2006 From: marc at ena.com (Marc Powell) Date: Tue, 6 Jun 2006 09:51:48 -0500 Subject: Host check doesn't wait in-between checks. Message-ID: > -----Original Message----- > From: Samba [mailto:Samba at guidemail.com] > Sent: Monday, June 05, 2006 9:55 AM > To: nagios-users at lists.sourceforge.net > Cc: Marc Powell > Subject: RE: [Nagios-users] Host check doesn't wait in-between checks. > > Maybe I'm dense, but isn't Nagios doing the checks in parallel if it's > running 3 host checks on the same host at exactly the same time? I've just re-examined the code in checks.c as a sanity check (yummy open source). It's sequential, not parallel. The section starts at 2024 in checks.c. The loops (2 depending on initial state) begin with -- /* retry the host check as many times as necessary or allowed... */ for(hst->current_attempt=1;hst->current_attempt<=max_check_attempts;hst- >current_attempt++){ /* check the host */ result=run_host_check(hst,check_options); > What is the point of setting a Host max_check_attempts if Nagios isn't > going to wait in between checking? Maybe you don't feel one check is enough to determine host state. Maybe your host check is such that it does something active the first time and verifies it the second time. Maybe you just like being really really sure a host is down. Think flexibility for those cases you don't know about or implement. > Not trying to be a pain, I just want to understand. I was thinking that > if I set the max_check_attempts to 3 it should try the check 3 times > (one at a time) before telling me the host is down. That is what it's doing. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From samba at guidemail.com Tue Jun 6 16:55:50 2006 From: samba at guidemail.com (Josh Konkol) Date: Tue, 6 Jun 2006 14:55:50 +0000 (UTC) Subject: Host check doesn't wait in-between checks. References: Message-ID: Marc Powell ena.com> writes: > > > > -----Original Message----- > > I'm running Nagios 2.3.1. > > > > I'm running into this scenario: When a host goes down I've noticed > that > > the Host checks aren't waiting for any period of time between the host > > alive checks. > > > > I have the host retries at 3 and you can see that it tried 3 times but > > there was no waiting in-between tries. > > > > Anyone have any ideas? > > That is expected and desired behavior. Host checks are done serially, > not in parallel fashion like service checks. While host checks are being > performed all other activities such as service checks and notifications > stop until the state of the host is definitely determined (i.e. in a > HARD state). It is therefore important that the host check completes as > quickly as possible so that nagios can move back into parallel operation > mode. > > http://nagios.sourceforge.net/docs/2_0/networkreachability.html details > some of the benefits of this. > > -- > Marc > Maybe I'm dense, but isn't Nagios doing the checks in parallel if it's running 3 host checks on the same host at exactly the same time? What is the point of setting a Host max_check_attempts if Nagios isn't going to wait in between checking? Not trying to be a pain, I just want to understand. I was thinking that if I set the max_check_attemps to 3 it should try the check 3 times (one at a time) before telling me the host is down. Josh _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kylet at panix.com Tue Jun 6 17:33:07 2006 From: kylet at panix.com (Kyle Tucker) Date: Tue, 6 Jun 2006 11:33:07 -0400 (EDT) Subject: Host check doesn't wait in-between checks. In-Reply-To: References: Message-ID: <200606061533.k56FX7v05734@panix1.panix.com> > > What is the point of setting a Host max_check_attempts if Nagios isn't going to > wait in between checking? I too wish I had more time between host checks and you've prompted me to try something in my check_alive script. Would this snippet do the trick? TIMEGAP=10 # number of seconds before host checks if [ $HOSTSTATE$ = "DOWN" -a $HOSTSTATETYPE$ = "SOFT" ] then sleep $TIMEGAP fi exit 2 I would have used ... if [ $HOSTSTATE$ = "DOWN" -a $HOSTATTEMPT$ -lt $MAXHOSTATTEMPT$ ] then sleep $TIMEGAP fi ... but oddly there seems to be no $MAXHOSTATTEMPT$ macro. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From winn_johnston at yahoo.com Tue Jun 6 17:37:32 2006 From: winn_johnston at yahoo.com (Winn Johnston) Date: Tue, 6 Jun 2006 08:37:32 -0700 (PDT) Subject: basic config (client side) Message-ID: <20060606153732.22480.qmail@web52903.mail.yahoo.com> I have noticed we have two nagios config directories. One exists in /usr/local/nagios (which seems to hold the config files for the server side) and /etc/nagios (which seems to hold the config files for the client side) now i know installs can differ greatly, so this maybe an impossible question for anyone to answer, but i figured i would give it a shot. The /usr/local/nagios has an etc/ directory in it, and the /etc/nagios has no etc/ directory. So am i right in assuming that the /usr/local/nagios directory is the server side config, to be used on the main monitoring server? thanks -winn johnston __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Tue Jun 6 17:58:59 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 06 Jun 2006 10:58:59 -0500 Subject: basic config (client side) In-Reply-To: <20060606153732.22480.qmail@web52903.mail.yahoo.com> References: <20060606153732.22480.qmail@web52903.mail.yahoo.com> Message-ID: <1149609539.25225.49.camel@localhost> On Tue, 2006-06-06 at 08:37 -0700, Winn Johnston wrote: > I have noticed we have two nagios config directories. > One exists in /usr/local/nagios (which seems to hold > the config files for the server side) and /etc/nagios > (which seems to hold the config files for the client > side) now i know installs can differ greatly, so this > maybe an impossible question for anyone to answer, but > i figured i would give it a shot. The > /usr/local/nagios has an etc/ directory in it, and the > /etc/nagios has no etc/ directory. So am i right in > assuming that the /usr/local/nagios directory is the > server side config, to be used on the main monitoring > server? If it was me, I would say delete all that junk and install it from source, then you'll know for sure. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Tue Jun 6 18:10:10 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 06 Jun 2006 11:10:10 -0500 Subject: basic config (client side) In-Reply-To: <20060606160659.82359.qmail@web52907.mail.yahoo.com> References: <20060606160659.82359.qmail@web52907.mail.yahoo.com> Message-ID: <1149610210.25225.56.camel@localhost> Please always reply to the list so that others may benefit from your experience. On Tue, 2006-06-06 at 09:06 -0700, Winn Johnston wrote: > impossible, it is in production, and works. I just > want to know what is the deal with the etc/ directory > in the /nagios directory? Who knows? A "normal" installation puts it where you tell it. How did you install it? What OS? What version of Nagios? What files are in these directories you mentioned? You didn't give near enough information for further assistance. --jeff P.S. Top-posting is poor form. > --- jeff vier wrote: > > > On Tue, 2006-06-06 at 08:37 -0700, Winn Johnston > > wrote: > > > I have noticed we have two nagios config > > directories. > > > One exists in /usr/local/nagios (which seems to > > hold > > > the config files for the server side) and > > /etc/nagios > > > (which seems to hold the config files for the > > client > > > side) now i know installs can differ greatly, so > > this > > > maybe an impossible question for anyone to answer, > > but > > > i figured i would give it a shot. The > > > /usr/local/nagios has an etc/ directory in it, and > > the > > > /etc/nagios has no etc/ directory. So am i right > > in > > > assuming that the /usr/local/nagios directory is > > the > > > server side config, to be used on the main > > monitoring > > > server? > > > > If it was me, I would say delete all that junk and > > install it from > > source, then you'll know for sure. > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From winn_johnston at yahoo.com Tue Jun 6 18:18:37 2006 From: winn_johnston at yahoo.com (Winn Johnston) Date: Tue, 6 Jun 2006 09:18:37 -0700 (PDT) Subject: basic config (client side) In-Reply-To: <1149610210.25225.56.camel@localhost> References: <1149610210.25225.56.camel@localhost> Message-ID: <20060606161837.42787.qmail@web52903.mail.yahoo.com> --- jeff vier wrote: > > Please always reply to the list so that others may > benefit from your > experience. > > On Tue, 2006-06-06 at 09:06 -0700, Winn Johnston > wrote: > > impossible, it is in production, and works. I just > > want to know what is the deal with the etc/ > directory > > in the /nagios directory? > > Who knows? A "normal" installation puts it where > you tell it. > > How did you install it? What OS? What version of > Nagios? What files > are in these directories you mentioned? > > You didn't give near enough information for further > assistance. > > --jeff > > P.S. Top-posting is poor form. > > > --- jeff vier > wrote: > > > > > On Tue, 2006-06-06 at 08:37 -0700, Winn Johnston > > > wrote: > > > > I have noticed we have two nagios config > > > directories. > > > > One exists in /usr/local/nagios (which seems > to > > > hold > > > > the config files for the server side) and > > > /etc/nagios > > > > (which seems to hold the config files for the > > > client > > > > side) now i know installs can differ greatly, > so > > > this > > > > maybe an impossible question for anyone to > answer, > > > but > > > > i figured i would give it a shot. The > > > > /usr/local/nagios has an etc/ directory in it, > and > > > the > > > > /etc/nagios has no etc/ directory. So am i > right > > > in > > > > assuming that the /usr/local/nagios directory > is > > > the > > > > server side config, to be used on the main > > > monitoring > > > > server? > > > > > > If it was me, I would say delete all that junk > and > > > install it from > > > source, then you'll know for sure. > > > Ok some more info. /etc/nagios # ls dependencies.cfg misccommands.cfg servers disabled nagios.cfg services.cfg cgi.cfg escalations.cfg nrpe.cfg suse-default checkcommands.cfg fedora nrpe.cfg.old timeperiods.cfg command.cfg hostgroups.cfg nsca.cfg contactgroups.cfg hosts.cfg resource.cfg contacts.cfg minimal.cfg-sample send_nsca.cfg /usr/local/nagios/ .bash_logout .emacs .viminfo etc sbin .bash_profile .gtkrc .zshrc libexec share .bash_history .bashrc .kde bin removed var - OS SUSE LINUX Enterprise Server 9 (i586) VERSION = 9 PATCHLEVEL = 3 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jlin at myvest.com Tue Jun 6 19:09:22 2006 From: jlin at myvest.com (Julie S. Lin) Date: Tue, 06 Jun 2006 10:09:22 -0700 Subject: check_log In-Reply-To: <20060606161837.42787.qmail@web52903.mail.yahoo.com> References: <20060606161837.42787.qmail@web52903.mail.yahoo.com> Message-ID: <4485B6C2.7020903@myvest.com> Hi i am trying set up montoring, i'd like check_log to looks for 5 instances of a string to be successful (i.e for an oracle backup, each table space must be backed up successfully) is there an easy way to do this? I'd greatly appreciate any advice or documention that could help. --julie _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ka at pacific.net Tue Jun 6 19:29:55 2006 From: ka at pacific.net (Ken A) Date: Tue, 06 Jun 2006 10:29:55 -0700 Subject: check_log In-Reply-To: <4485B6C2.7020903@myvest.com> References: <20060606161837.42787.qmail@web52903.mail.yahoo.com> <4485B6C2.7020903@myvest.com> Message-ID: <4485BB93.1080700@pacific.net> in check_log, find lines: if [ "$count" = "0" ]; then # no matches, exit with no error $ECHO "Log check ok - 0 pattern matches found\n" exitstatus=$STATE_OK change "$count" = "0" to "$count" = "5". change "Log check ok - 5 pattern matches found\n" Ken A Pacific.Net Julie S. Lin wrote: > Hi > > i am trying set up montoring, i'd like check_log to looks for 5 instances of > a string to be successful (i.e for an oracle backup, each table space > must be > backed up successfully) is there an easy way to do this? I'd greatly > appreciate any > advice or documention that could help. > > --julie > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ben.grommes at visionshareinc.com Tue Jun 6 19:40:42 2006 From: ben.grommes at visionshareinc.com (Ben Grommes) Date: Tue, 6 Jun 2006 12:40:42 -0500 Subject: no last check time for passive service checks Message-ID: <200606061740.k56Hegk10331@lists.visionshareinc.com> The status cgi does not display the last check time for a passive service check as far as I can tell. Does anybody know why nagios doesn't use the time when the passive service check was processed as the last check time? It would be useful to know in the status cgi when the last passive service check result was processed from the status cgi. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Tue Jun 6 19:56:43 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 06 Jun 2006 12:56:43 -0500 Subject: no last check time for passive service checks In-Reply-To: <200606061740.k56Hegk10331@lists.visionshareinc.com> References: <200606061740.k56Hegk10331@lists.visionshareinc.com> Message-ID: <1149616603.25225.58.camel@localhost> On Tue, 2006-06-06 at 12:40 -0500, Ben Grommes wrote: > The status cgi does not display the last check time for a passive service > check as far as I can tell. Does anybody know why nagios doesn't use the > time when the passive service check was processed as the last check time? > It would be useful to know in the status cgi when the last passive service > check result was processed from the status cgi. Mine does. What version of Nagios are you using? Are these passive checks via NSCA or manually through the cgi? If the former, what version of NSCA? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ben.grommes at visionshareinc.com Tue Jun 6 19:59:22 2006 From: ben.grommes at visionshareinc.com (Ben Grommes) Date: Tue, 6 Jun 2006 12:59:22 -0500 Subject: no last check time for passive service checks In-Reply-To: <1149616603.25225.58.camel@localhost> References: <1149616603.25225.58.camel@localhost> Message-ID: <200606061759.k56HxMk10852@lists.visionshareinc.com> I'm using Nagios 2.3.1. I'm not using NSCA, but instead my own program that submits PROCESS_SERVICE_CHECK_RESULT commands to the external command file. > -----Original Message----- > From: jeff vier [mailto:boinger at tradingtechnologies.com] > Sent: Tuesday, June 06, 2006 12:57 PM > To: Ben Grommes > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] no last check time for passive > service checks > > On Tue, 2006-06-06 at 12:40 -0500, Ben Grommes wrote: > > The status cgi does not display the last check time for a passive > > service check as far as I can tell. Does anybody know why nagios > > doesn't use the time when the passive service check was > processed as the last check time? > > It would be useful to know in the status cgi when the last passive > > service check result was processed from the status cgi. > > Mine does. > > What version of Nagios are you using? > > Are these passive checks via NSCA or manually through the cgi? > > If the former, what version of NSCA? > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Tue Jun 6 20:00:51 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 06 Jun 2006 13:00:51 -0500 Subject: no last check time for passive service checks In-Reply-To: <200606061759.k56HxMk10852@lists.visionshareinc.com> References: <200606061759.k56HxMk10852@lists.visionshareinc.com> Message-ID: <1149616851.25225.60.camel@localhost> On Tue, 2006-06-06 at 12:59 -0500, Ben Grommes wrote: > I'm using Nagios 2.3.1. I'm not using NSCA, but instead my own program that > submits PROCESS_SERVICE_CHECK_RESULT commands to the external command file. It sounds like your program isn't formatting the time correctly. P.S. top-posting is poor form. > > -----Original Message----- > > From: jeff vier [mailto:boinger at tradingtechnologies.com] > > Sent: Tuesday, June 06, 2006 12:57 PM > > To: Ben Grommes > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] no last check time for passive > > service checks > > > > On Tue, 2006-06-06 at 12:40 -0500, Ben Grommes wrote: > > > The status cgi does not display the last check time for a passive > > > service check as far as I can tell. Does anybody know why nagios > > > doesn't use the time when the passive service check was > > processed as the last check time? > > > It would be useful to know in the status cgi when the last passive > > > service check result was processed from the status cgi. > > > > Mine does. > > > > What version of Nagios are you using? > > > > Are these passive checks via NSCA or manually through the cgi? > > > > If the former, what version of NSCA? > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From samba at guidemail.com Tue Jun 6 20:37:04 2006 From: samba at guidemail.com (Josh Konkol) Date: Tue, 6 Jun 2006 18:37:04 +0000 (UTC) Subject: Host check doesn't wait in-between checks. References: <200606061533.k56FX7v05734@panix1.panix.com> Message-ID: Kyle Tucker panix.com> writes: > > > > > What is the point of setting a Host max_check_attempts if Nagios isn't going to > > wait in between checking? > > I too wish I had more time between host checks and you've prompted me > to try something in my check_alive script. Would this snippet do the > trick? > > TIMEGAP=10 # number of seconds before host checks > > if [ $HOSTSTATE$ = "DOWN" -a $HOSTSTATETYPE$ = "SOFT" ] > then > sleep $TIMEGAP > fi > > exit 2 > > I would have used ... > > if [ $HOSTSTATE$ = "DOWN" -a $HOSTATTEMPT$ -lt $MAXHOSTATTEMPT$ ] > then > sleep $TIMEGAP > fi > > ... but oddly there seems to be no $MAXHOSTATTEMPT$ macro. > OK so the simple solution would be to change my check-host-command to include a sleep 10 at the end. i.e.: $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 3 && sleep 10 You think that would work? Josh _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lace at jankratochvil.net Tue Jun 6 20:48:15 2006 From: lace at jankratochvil.net (Jan Kratochvil) Date: Tue, 6 Jun 2006 20:48:15 +0200 Subject: Host check doesn't wait in-between checks. In-Reply-To: References: <200606061533.k56FX7v05734@panix1.panix.com> Message-ID: <20060606184815.GA10322@host0.dyn.jankratochvil.net> Hi, it is being discussed here again and again. Some working solution(s) attached. Regards, Lace On Tue, 06 Jun 2006 20:37:04 +0200, Josh Konkol wrote: > Kyle Tucker panix.com> writes: > > > > > > > > > What is the point of setting a Host max_check_attempts if > Nagios isn't going to > > > wait in between checking? > > > > I too wish I had more time between host checks and you've prompted me > > to try something in my check_alive script. Would this snippet do the > > trick? > > > > TIMEGAP=10 # number of seconds before host checks > > > > if [ $HOSTSTATE$ = "DOWN" -a $HOSTSTATETYPE$ = "SOFT" ] > > then > > sleep $TIMEGAP > > fi > > > > exit 2 > > > > I would have used ... > > > > if [ $HOSTSTATE$ = "DOWN" -a $HOSTATTEMPT$ -lt > $MAXHOSTATTEMPT$ ] > > then > > sleep $TIMEGAP > > fi > > > > ... but oddly there seems to be no $MAXHOSTATTEMPT$ macro. > > > > > OK so the simple solution would be to change my check-host-command > to include a sleep 10 at the end. i.e.: > > $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% > -p 3 && sleep 10 > > You think that would work? > > Josh -------------- next part -------------- An embedded message was scrubbed... From: Jan Kratochvil Subject: [Nagios-users] [patch] Workaround for 'Host DOWN' false-positives Date: Sat, 20 May 2006 18:17:35 +0200 Size: 9959 URL: -------------- next part -------------- An embedded message was scrubbed... From: Joerg Linge Subject: Re: [Nagios-users] [patch] Workaround for 'Host DOWN' false-positives Date: Sun, 21 May 2006 16:08:40 +0200 Size: 5595 URL: -------------- next part -------------- An embedded message was scrubbed... From: Joerg Linge Subject: Re: [Nagios-users] [patch] Workaround for 'Host DOWN' false-positives Date: Tue, 23 May 2006 15:38:24 +0200 Size: 6044 URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kylet at panix.com Tue Jun 6 21:19:39 2006 From: kylet at panix.com (Kyle Tucker) Date: Tue, 6 Jun 2006 15:19:39 -0400 (EDT) Subject: Host check doesn't wait in-between checks. In-Reply-To: <20060606184815.GA10322@host0.dyn.jankratochvil.net> References: <20060606184815.GA10322@host0.dyn.jankratochvil.net> Message-ID: <200606061919.k56JJd314494@panix2.panix.com> > it is being discussed here again and again. Some working solution(s) attached. For the simpler situations, wouldn't the introduction of a simple host retry_check_interval be sufficient? It would fulfill my request and of the OP it would seem as well. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ben.grommes at visionshareinc.com Tue Jun 6 21:54:07 2006 From: ben.grommes at visionshareinc.com (Ben Grommes) Date: Tue, 6 Jun 2006 14:54:07 -0500 Subject: no last check time for passive service checks Message-ID: <200606061954.k56Js8k13117@lists.visionshareinc.com> > > -----Original Message----- > > From: jeff vier [mailto:boinger at tradingtechnologies.com] > > Sent: Tuesday, June 06, 2006 12:57 PM > > To: Ben Grommes > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] no last check time for passive service > > checks > > > > On Tue, 2006-06-06 at 12:40 -0500, Ben Grommes wrote: > > > The status cgi does not display the last check time for a passive > > > service check as far as I can tell. Does anybody know why nagios > > > doesn't use the time when the passive service check was > > processed as the last check time? > > > It would be useful to know in the status cgi when the > last passive > > > service check result was processed from the status cgi. > > > > Mine does. > > > > What version of Nagios are you using? > > > > Are these passive checks via NSCA or manually through the cgi? > > > > If the former, what version of NSCA? > > > -----Original Message----- > From: Ben Grommes [mailto:ben.grommes at visionshareinc.com] > Sent: Tuesday, June 06, 2006 12:59 PM > To: 'jeff vier' > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] no last check time for passive > service checks > > I'm using Nagios 2.3.1. I'm not using NSCA, but instead my > own program that submits PROCESS_SERVICE_CHECK_RESULT > commands to the external command file. The problem turned out to be that I was using time in milliseconds, not seconds. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Tue Jun 6 21:08:58 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 6 Jun 2006 21:08:58 +0200 (CEST) Subject: basic config (client side) In-Reply-To: <20060606153732.22480.qmail@web52903.mail.yahoo.com> References: <20060606153732.22480.qmail@web52903.mail.yahoo.com> Message-ID: On Tue, 6 Jun 2006, Winn Johnston wrote: > I have noticed we have two nagios config directories. > One exists in /usr/local/nagios (which seems to hold > the config files for the server side) and /etc/nagios > (which seems to hold the config files for the client > side) now i know installs can differ greatly, so this > maybe an impossible question for anyone to answer, but > i figured i would give it a shot. The > /usr/local/nagios has an etc/ directory in it, and the > /etc/nagios has no etc/ directory. So am i right in > assuming that the /usr/local/nagios directory is the > server side config, to be used on the main monitoring > server? My guess. (But I have to guess by lack of relevant details.) You combined a packaged install (Like RPM) with a build it yourself installation. Unless you want the sort of headaches that make a hangover look like a picnic you do not want to combine those. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jun 6 22:40:25 2006 From: marc at ena.com (Marc Powell) Date: Tue, 6 Jun 2006 15:40:25 -0500 Subject: Host check doesn't wait in-between checks. Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Josh Konkol > Sent: Tuesday, June 06, 2006 1:37 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Host check doesn't wait in-between checks. > > Kyle Tucker panix.com> writes: > > > > > > > > > What is the point of setting a Host max_check_attempts if > Nagios isn't going to > > > wait in between checking? > > > > I too wish I had more time between host checks and you've prompted me > > to try something in my check_alive script. Would this snippet do the > > trick? > > > > TIMEGAP=10 # number of seconds before host checks > > > > if [ $HOSTSTATE$ = "DOWN" -a $HOSTSTATETYPE$ = "SOFT" ] > > then > > sleep $TIMEGAP > > fi > > > > exit 2 > > > > I would have used ... > > > > if [ $HOSTSTATE$ = "DOWN" -a $HOSTATTEMPT$ -lt > $MAXHOSTATTEMPT$ ] > > then > > sleep $TIMEGAP > > fi > > > > ... but oddly there seems to be no $MAXHOSTATTEMPT$ macro. > > > > > OK so the simple solution would be to change my check-host-command > to include a sleep 10 at the end. i.e.: > > $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% > -p 3 && sleep 10 > > You think that would work? Probably but be aware that if you have a significant outage you may be introducing possibly unacceptable delays in your monitoring data freshness. Using your example of 3 pings, 10 second sleep and 3 max host checks, if you have 10 hosts go down at the same time you have introduced 6.5 minutes of delay for that round of service checks ((3+10) * 3 * 10 = 390s). It may be possible to eliminate some/all of that through the use of the parents directive depending on your network infrastructure. From personal experience you want your monitoring data to be as up-to-date as possible when you're fixing an issue. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lace at jankratochvil.net Tue Jun 6 23:01:53 2006 From: lace at jankratochvil.net (Jan Kratochvil) Date: Tue, 6 Jun 2006 23:01:53 +0200 Subject: Host check doesn't wait in-between checks. In-Reply-To: <200606061919.k56JJd314494@panix2.panix.com> References: <20060606184815.GA10322@host0.dyn.jankratochvil.net> <200606061919.k56JJd314494@panix2.panix.com> Message-ID: <20060606210153.GA16724@host0.dyn.jankratochvil.net> Hi, On Tue, 06 Jun 2006 21:19:39 +0200, Kyle Tucker wrote: > > > it is being discussed here again and again. Some working solution(s) attached. > > For the simpler situations, wouldn't the introduction of a simple host > retry_check_interval be sufficient? It would fulfill my request and of > the OP it would seem as well. I expect you assume the current serialized checking method would be still used, therefore it would be like inserting "sleep" into the check_ping plugin. This method was discussed in the attached mail below, it did not work for me: On Sat, 20 May 2006 18:17:35 +0200, Jan Kratochvil wrote: ... # Tried delaying all (or later just the failed) checks but either the sensitivity # was still too high (and too short failures were still reported) or the total # time Nagios got blocked during multiple real long-term hosts failures blocked # out the Nagios checking services completely. Regards, Lace _______________________________________________ Nagios-users mailing list Nagios-users at 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 From winn_johnston at yahoo.com Tue Jun 6 23:04:59 2006 From: winn_johnston at yahoo.com (Winn Johnston) Date: Tue, 6 Jun 2006 14:04:59 -0700 (PDT) Subject: basic config (client side) In-Reply-To: <20060606161837.42787.qmail@web52903.mail.yahoo.com> References: <20060606161837.42787.qmail@web52903.mail.yahoo.com> Message-ID: <20060606210459.94531.qmail@web52909.mail.yahoo.com> --- Winn Johnston wrote: > > > --- jeff vier > wrote: > > > > > Please always reply to the list so that others may > > benefit from your > > experience. > > > > On Tue, 2006-06-06 at 09:06 -0700, Winn Johnston > > wrote: > > > impossible, it is in production, and works. I > just > > > want to know what is the deal with the etc/ > > directory > > > in the /nagios directory? > > > > Who knows? A "normal" installation puts it where > > you tell it. > > > > How did you install it? What OS? What version of > > Nagios? What files > > are in these directories you mentioned? > > > > You didn't give near enough information for > further > > assistance. > > > > --jeff > > > > P.S. Top-posting is poor form. > > > > > --- jeff vier > > wrote: > > > > > > > On Tue, 2006-06-06 at 08:37 -0700, Winn > Johnston > > > > wrote: > > > > > I have noticed we have two nagios config > > > > directories. > > > > > One exists in /usr/local/nagios (which seems > > to > > > > hold > > > > > the config files for the server side) and > > > > /etc/nagios > > > > > (which seems to hold the config files for > the > > > > client > > > > > side) now i know installs can differ > greatly, > > so > > > > this > > > > > maybe an impossible question for anyone to > > answer, > > > > but > > > > > i figured i would give it a shot. The > > > > > /usr/local/nagios has an etc/ directory in > it, > > and > > > > the > > > > > /etc/nagios has no etc/ directory. So am i > > right > > > > in > > > > > assuming that the /usr/local/nagios > directory > > is > > > > the > > > > > server side config, to be used on the main > > > > monitoring > > > > > server? > > > > > > > > If it was me, I would say delete all that junk > > and > > > > install it from > > > > source, then you'll know for sure. > > > > > > Ok some more info. > > /etc/nagios # ls > dependencies.cfg misccommands.cfg servers > disabled nagios.cfg services.cfg > cgi.cfg escalations.cfg nrpe.cfg > > suse-default > checkcommands.cfg fedora nrpe.cfg.old > > timeperiods.cfg > command.cfg hostgroups.cfg nsca.cfg > contactgroups.cfg hosts.cfg resource.cfg > contacts.cfg minimal.cfg-sample send_nsca.cfg > > /usr/local/nagios/ > .bash_logout .emacs .viminfo etc sbin > .bash_profile .gtkrc .zshrc libexec share > .bash_history .bashrc .kde bin removed > var > > - OS > SUSE LINUX Enterprise Server 9 (i586) > VERSION = 9 > PATCHLEVEL = 3 Ok i got everything working. It turns out the user nagios has it's home directory in the /usr/local/nagios and the server config files are located in /usr/local/nagios/etc. On the client side the config files are located in the /etc/nagios Can anyone shed any light on how often nagios checks for updated config files? And how it got it's name? -thanks for everyone's help -winn johnston __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jeremy.Pavleck at capella.edu Tue Jun 6 23:53:42 2006 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy D.) Date: Tue, 6 Jun 2006 16:53:42 -0500 Subject: basic config (client side) Message-ID: <0F1A5F3993566D4883C596CB56E59B9A05F80E29@mspmail02.int.capella.lan> > > Ok i got everything working. It turns out the user nagios has > it's home directory in the /usr/local/nagios and the server > config files are located in /usr/local/nagios/etc. On the > client side the config files are located in the /etc/nagios > > Can anyone shed any light on how often nagios checks for > updated config files? And how it got it's name? > > -thanks for everyone's help > -winn johnston > > Nagios never checks for updated config files - after you've updated/added things, you'll either need to kill and restart it or kill -HUP it's PID to reload the config files. As for the name, from FOSDEM (http://www.fosdem.org/2005/index/interviews/interviews_galstad.html) FOSDEM - Where does the Nagios name come from ? Ethan Galstad - Development originally started under the name "NetSaint" in 1999. In 2001 I was contacted by a company (actually, their attorneys) that claimed ownership of a trademark that was similar to NetSaint. After working with an attorney on the matter, I decided that the cost (both in terms of time and money) of defending my use of the name "NetSaint" was simply not worthwhile. Although we were able to eventually reach an amicable agreement on my future use of the name "NetSaint", I felt it was prudent to change the name in order to prevent any future mishaps. It was at that time that I changed the name to "Nagios", which is a recursive acronym: N.A.G.I.O.S. = "Nagios Ain't Gonna Insist On Sainthood". Once the project was renamed, I sought and received a trademark registration for "Nagios", so as to help avoid future complications of a similiar nature. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dschlecht at doit.nv.gov Tue Jun 6 23:56:17 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Tue, 6 Jun 2006 23:56:17 +0200 (CEST) Subject: External Commands time Message-ID: <20060606215617.2A3594F476B@desire.netways.de> Hi list Using v2.2, I'm disabling notifications on a host using an External Command. The script calculates a future time and issues a enable-notific ations command with that time. However, Nagios seems to ignore the times and just runs the Enable command immediately after the Disable command. I see both the enable and disable lines in the logs at the same time. Looking at the web interface, I see that the notification s are not disabled for the host. However, if I remove the code to Enable Notifications in the future, the notifications are correctly disabled. This seems to point to a failure to honor the time field in the command. Has anyone had success with this using disable notifications and enable notifications? - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 7 00:46:20 2006 From: marc at ena.com (Marc Powell) Date: Tue, 6 Jun 2006 17:46:20 -0500 Subject: External Commands time Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of David Schlecht > Sent: Tuesday, June 06, 2006 4:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] External Commands time > > Hi list > > > > Using v2.2, I'm disabling notifications on a host using an External > Command. The script calculates a future time and issues a enable-notific > ations command with that time. However, Nagios seems to ignore the > times and just runs the Enable command immediately after the Disable > command. I see both the enable and disable lines in the logs at > the same time. Looking at the web interface, I see that the notification > s are not disabled for the host. > > > > However, if I remove the code to Enable Notifications in the future, > the notifications are correctly disabled. > > > > This seems to point to a failure to honor the time field in the > command. I'd be interested in seeing any documentation that implies that is an indication to nagios when to run the command. That is not the case. It's a timestamp to indicate when it was inserted into the external command file. Nothing more. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon.otterholm at ide.resurscentrum.se Wed Jun 7 10:20:23 2006 From: jon.otterholm at ide.resurscentrum.se (Jon Otterholm) Date: Wed, 07 Jun 2006 10:20:23 +0200 Subject: Check_smtp Message-ID: <44868C47.2010205@ide.resurscentrum.se> Hi. I am having trouble with check_smtp and postfix. Both the nagios server and the mailserver are Freebsd 6.1. Nagios version 2.0 and plugins version 1.4.2. The problem is that the smtp sessions generated by check_smtp are left running on the mailserver (sessions from other servers terminates as expected). I am running this command towards a bunch of other mailservers from the same nagios without problems. Anyone with similar problems? /Jon _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Lui.external at infineon.com Wed Jun 7 10:53:59 2006 From: Lui.external at infineon.com (Lui.external at infineon.com) Date: Wed, 7 Jun 2006 16:53:59 +0800 Subject: Return code of 111 is out of bounds message Message-ID: Hi, We are getting lot of error messages about "Return code of 111 is out of bounds" from Nagios just now. It only appears for few minutes, then everything is back to normal again. Any idea on what is the root cause of this problem ("Return code of 111 is out of bounds")? How to prevent this problem happen again in future? _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Wed Jun 7 10:56:04 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 7 Jun 2006 10:56:04 +0200 Subject: Modify USB speed Message-ID: <006901c68a10$355b8d20$0900d40a@intranet.it.net> Hi all ! I need to reduce USB port speed to 9600bps, because I have to connect a radiomodem. It supports only that speed. Normally the radiomodem is connected to the serial port, but now all serial ports are busy. I connect it to the USB port with an adapter. My S.O. is a RedHat 3.0 ES. Any idea? Regards! Marco _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Deborah.Martin at Kognitio.com Wed Jun 7 10:55:56 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 7 Jun 2006 09:55:56 +0100 Subject: Modify USB speed Message-ID: what does that have to do with Nagios ? -----Original Message----- From: Marco Borsani [mailto:m.borsani at it.net] Sent: 07 June 2006 09:56 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Modify USB speed Importance: High Hi all ! I need to reduce USB port speed to 9600bps, because I have to connect a radiomodem. It supports only that speed. Normally the radiomodem is connected to the serial port, but now all serial ports are busy. I connect it to the USB port with an adapter. My S.O. is a RedHat 3.0 ES. Any idea? Regards! Marco _______________________________________________ Nagios-users mailing list Nagios-users at 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 ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Wed Jun 7 11:01:27 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 7 Jun 2006 11:01:27 +0200 Subject: R: Modify USB speed In-Reply-To: References: Message-ID: <006b01c68a10$f63499b0$0900d40a@intranet.it.net> I use radiomodem for notifications in nagios -}-----Messaggio originale----- -}Da: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] -}Inviato: mercoled? 7 giugno 2006 10.56 -}A: 'Marco Borsani'; nagios-users at lists.sourceforge.net -}Oggetto: RE: [Nagios-users] Modify USB speed -} -}what does that have to do with Nagios ? -} -}-----Original Message----- -}From: Marco Borsani [mailto:m.borsani at it.net] -}Sent: 07 June 2006 09:56 -}To: nagios-users at lists.sourceforge.net -}Subject: [Nagios-users] Modify USB speed -}Importance: High -} -} -}Hi all ! -}I need to reduce USB port speed to 9600bps, because I have to -}connect a radiomodem. -}It supports only that speed. -}Normally the radiomodem is connected to the serial port, but -}now all serial ports are busy. I connect it to the USB port -}with an adapter. -}My S.O. is a RedHat 3.0 ES. -}Any idea? -} -}Regards! -} -}Marco -} -} -} -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at 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 -} -}************************************************************** -}********** -}This email and any files transmitted with it are confidential -}and intended solely for the use of the individual or entity -}to whom they are addressed. Any unauthorised distribution or -}copying is strictly prohibited. -} -}Whilst Kognitio Limited takes steps to prevent the -}transmission of viruses via e-mail, we can not guarantee that -}any email or attachment is free from computer viruses and you -}are strongly advised to undertake your own anti-virus precautions. -} -}Kognitio grants no warranties regarding performance, use or -}quality of any e-mail or attachment and undertakes no -}liability for loss or damage, howsoever caused. -}************************************************************** -}********* -} _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Wed Jun 7 11:32:46 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 7 Jun 2006 05:32:46 -0400 Subject: Return code of 111 is out of bounds message In-Reply-To: References: Message-ID: > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Lui.external at infineon.com > > We are getting lot of error messages about "Return code of > 111 is out of bounds" from Nagios just now. > It only appears for few minutes, then everything is back to > normal again. > > Any idea on what is the root cause of this problem ("Return > code of 111 is out of bounds")? > > How to prevent this problem happen again in future? Without any information about what plugins you're getting this error with, or what your check commands are, it's unlikely you're going to get a useful answer. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jorg.Schulz at systeam.se Wed Jun 7 11:38:37 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Wed, 7 Jun 2006 11:38:37 +0200 Subject: Return code of 111 is out of bounds message In-Reply-To: References: Message-ID: Hi A "(Return code of x is out of bounds)" error is displayed in the output of a host or service check. Similiar error messages may appear in the log file Did you read the http://www.nagios.org/faqs/viewfaq.php?faq_id=17&expand=false&showdesc=true what does the logfiles say ? Which Distro, Nagios version, Plugins ver? When does it appear ?, which "check" ? need a little more info regards /j?rg Sent by: nagios-users-bounces at lists.sourceforge.net 2006-06-07 10:53 To cc Subject [Nagios-users] Return code of 111 is out of bounds message Hi, We are getting lot of error messages about "Return code of 111 is out of bounds" from Nagios just now. It only appears for few minutes, then everything is back to normal again. Any idea on what is the root cause of this problem ("Return code of 111 is out of bounds")? How to prevent this problem happen again in future? _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 10010 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From trevor_obba at yahoo.co.uk Wed Jun 7 11:57:02 2006 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Wed, 7 Jun 2006 09:57:02 +0000 (GMT) Subject: DHCP Message-ID: <20060607095702.85072.qmail@web25706.mail.ukl.yahoo.com> I have a novell netware version 6.5 server running dhcp. I would like to mornitor dhcp using nagios. I have MRTGEXT module installed on my netware but it does not support dhcp mornitoring. How can I go about mornitoring dhcp on netware server using nagios version 2.0? please help. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Zimmer at oppenheim.de Wed Jun 7 12:12:46 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Wed, 7 Jun 2006 12:12:46 +0200 Subject: NRPE / TCP WRAPPER? Message-ID: Hi list, I?m using the NRPE client v2.1. Is there any possibility to disable the use of tcp-wrapping? I set "#define HAVE_LIBWRAP 0" in the include/config.h, but this didn?t help. Any ideas? More to disable? Regards, Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de <> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at thebug.demon.nl Wed Jun 7 12:40:39 2006 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Wed, 07 Jun 2006 12:40:39 +0200 Subject: How to monitor complex websites? Message-ID: Ladies and Gents, I have to monitor a website that is more complex than check_http can handle. Please advise. 1. The website we need to monitor contains a MDM application for a product search. This is dynamic and browser-restricted content. The User-Agent string of the browser is checked and if not correct you will be redirected to a static error page, instead of the search form which is dynamically generated (with some fields filled in with defaults). 2. This website runs on a cluster consisting of 5 nodes. Users connect to these nodes based on a round-robbing principle. When a node goes down it is possible that they get a error-message telling them the server is unavailable. When this happens the node-number of the node that is misbehaving can be found in a cookie. So what we like to have is the following: - check the website - if it gives an error read the nodenumber from the cookie - Create a CRITICAL for the website with the node-number in the output We need to monitor this website, but check_http cannot (afaik) send a specified User-Agent string. Is anybody aware of another solution, or should I create one? If the latter: I was thinking about creating a check based on wget, since wget is able to send User-Agent strings and can do something with cookies as well. Can someone with enough knowledge on this matter tell me if this is doable, or should I walk another path? Please advise, any suggestions are welcome! Regards, Richard Luys -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thyes at gmx.net Wed Jun 7 12:47:55 2006 From: thyes at gmx.net (Frank Thyes) Date: Wed, 7 Jun 2006 12:47:55 +0200 Subject: How to monitor complex websites? In-Reply-To: References: Message-ID: <20060607104755.GB98904@gator> Hi Richard, +++ Richard Luys-Nagios User [Wed, Jun 07, 2006 at 12:40:39PM CEST]: > > I have to monitor a website that is more complex than check_http can > handle. Please advise. > > 1. > The website we need to monitor contains a MDM application for a product > search. This is dynamic and browser-restricted content. The User-Agent > string of the browser is checked and if not correct you will be redirected > to a static error page, instead of the search form which is dynamically > generated (with some fields filled in with defaults). > > 2. > This website runs on a cluster consisting of 5 nodes. Users connect to > these nodes based on a round-robbing principle. When a node goes down it > is possible that they get a error-message telling them the server is > unavailable. When this happens the node-number of the node that is > misbehaving can be found in a cookie. So what we like to have is the > following: > - check the website > - if it gives an error read the nodenumber from the cookie > - Create a CRITICAL for the website with the node-number in the output > > We need to monitor this website, but check_http cannot (afaik) send a > specified User-Agent string. Is anybody aware of another solution, or > should I create one? If the latter: I was thinking about creating a check > based on wget, since wget is able to send User-Agent strings and can do > something with cookies as well. Can someone with enough knowledge on this > matter tell me if this is doable, or should I walk another path? > > Please advise, any suggestions are welcome! Use Perl. Regards Frank -- #!/usr/bin/perl print&f(($_=(3x3)."3+33")=~s=3(?![^3]|$)=&f=eg); sub f{eval(@_?$_:"'$&+'x3");} _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Wed Jun 7 13:10:53 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 7 Jun 2006 13:10:53 +0200 Subject: How to monitor complex websites? In-Reply-To: References: Message-ID: <200606071310.53685.pitchfork@ederdrom.de> Am Mittwoch, 7. Juni 2006 12:40 schrieb Richard Luys-Nagios User: > We need to monitor this website, but check_http cannot (afaik) send a > specified User-Agent string. check_http -h ... -A, --useragent=STRING String to be sent in http header as "User Agent" ... Joerg _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at thebug.demon.nl Wed Jun 7 13:15:49 2006 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Wed, 07 Jun 2006 13:15:49 +0200 Subject: How to monitor complex websites? In-Reply-To: <20060607104755.GB98904@gator> References: <20060607104755.GB98904@gator> Message-ID: Frank, Thanks for the tip. There is one small problem though: I do not yet master Perl, and do not have the time to learn it now :-( But, I know I should learn Perl. It's much more powerfull than shell-scripting! Regards, Richard On Wed, 07 Jun 2006 12:47:55 +0200, Frank Thyes wrote: > Hi Richard, > > +++ Richard Luys-Nagios User [Wed, Jun 07, 2006 at 12:40:39PM CEST]: >> >> I have to monitor a website that is more complex than check_http can >> handle. Please advise. >> >> 1. >> The website we need to monitor contains a MDM application for a product >> search. This is dynamic and browser-restricted content. The User-Agent >> string of the browser is checked and if not correct you will be >> redirected >> to a static error page, instead of the search form which is dynamically >> generated (with some fields filled in with defaults). >> >> 2. >> This website runs on a cluster consisting of 5 nodes. Users connect to >> these nodes based on a round-robbing principle. When a node goes down it >> is possible that they get a error-message telling them the server is >> unavailable. When this happens the node-number of the node that is >> misbehaving can be found in a cookie. So what we like to have is the >> following: >> - check the website >> - if it gives an error read the nodenumber from the cookie >> - Create a CRITICAL for the website with the node-number in the output >> >> We need to monitor this website, but check_http cannot (afaik) send a >> specified User-Agent string. Is anybody aware of another solution, or >> should I create one? If the latter: I was thinking about creating a >> check >> based on wget, since wget is able to send User-Agent strings and can do >> something with cookies as well. Can someone with enough knowledge on >> this >> matter tell me if this is doable, or should I walk another path? >> >> Please advise, any suggestions are welcome! > > Use Perl. > > Regards > Frank -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at thebug.demon.nl Wed Jun 7 14:01:56 2006 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Wed, 07 Jun 2006 14:01:56 +0200 Subject: How to monitor complex websites? In-Reply-To: <4486BAAD.4020201@germinus.com> References: <4486BAAD.4020201@germinus.com> Message-ID: On Wed, 07 Jun 2006 13:38:21 +0200, Jesus Escoredo wrote: Hello Jesus, Great tip! Very short and to the point, and when I look at the website of Webinject this looks just like the tool we need! Thanks for your reply, Richard > Hi > > Use webinject > > http://www.webinject.org > > Jesus > > > > Richard Luys-Nagios User escribi?: >> Ladies and Gents, >> I have to monitor a website that is more complex than check_http can >> handle. Please advise. >> 1. >> The website we need to monitor contains a MDM application for a >> product search. This is dynamic and browser-restricted content. The >> User-Agent string of the browser is checked and if not correct you >> will be redirected to a static error page, instead of the search form >> which is dynamically generated (with some fields filled in with >> defaults). >> 2. >> This website runs on a cluster consisting of 5 nodes. Users connect to >> these nodes based on a round-robbing principle. When a node goes down >> it is possible that they get a error-message telling them the server >> is unavailable. When this happens the node-number of the node that is >> misbehaving can be found in a cookie. So what we like to have is the >> following: >> - check the website >> - if it gives an error read the nodenumber from the cookie >> - Create a CRITICAL for the website with the node-number in the output >> We need to monitor this website, but check_http cannot (afaik) send a >> specified User-Agent string. Is anybody aware of another solution, or >> should I create one? If the latter: I was thinking about creating a >> check based on wget, since wget is able to send User-Agent strings and >> can do something with cookies as well. Can someone with enough >> knowledge on this matter tell me if this is doable, or should I walk >> another path? >> Please advise, any suggestions are welcome! >> Regards, >> Richard Luys > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From me at renux.de Wed Jun 7 14:27:36 2006 From: me at renux.de (Rene Fertig) Date: Wed, 7 Jun 2006 14:27:36 +0200 Subject: How to monitor complex websites? In-Reply-To: References: Message-ID: <200606071427.37695.me@renux.de> Hi Richard. > We need to monitor this website, but check_http cannot (afaik) send a > specified User-Agent string. Is anybody aware of another solution, or > should I create one? If the latter: I was thinking about creating a check > based on wget, since wget is able to send User-Agent strings and can do > something with cookies as well. Can someone with enough knowledge on this > matter tell me if this is doable, or should I walk another path? check_http version 1.89 (which comes with nagios-plugins 1.4.3) can set a User-Agent-String: -A, --useragent=STRING String to be sent in http header as "User Agent" But there's a problem with agent-names like "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)" - nagios didn't like the semicolon ';'. It seems, that everything after it is ignored (like a comment). One solution for this can be to define a own macro (e.g. $USER3$) with the escaped semicolon and then use this macro within the agent name, this should help. e.g.: in resource.cfg: $USER3$="\;" in commands.cfg: command_line $USER1$/check_http -H $HOSTADDRESS$ -A "Mozilla/4.0 (compatible$USER3$ MSIE 6.0$USER3$ Windows NT 5.1$USER3$ .NET CLR 1.1.4322)" But probably you should make your own plugin if you need special cookie support. bye, Rene _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Oliver.Marshall at g2support.com Wed Jun 7 14:39:25 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 7 Jun 2006 13:39:25 +0100 Subject: Nagios and/or GroundWork In-Reply-To: <200606071427.37695.me@renux.de> References: <200606071427.37695.me@renux.de> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C8482@indigo.G2Support.local> Thanks to the chaps at GroundWork OpenSource, I have been playing around with their newly released GroundWork Virtual Machine for VMWare. What are other peoples opinions on Groundwork, if any ? I love what it does, and it makes some things really simple. However, the interface itself seems to be fairly sluggish, even on our quad xeon monster VM server, and theres a lot of clicks to get at the information you need. Also, it runs on Redhat, which I have never been a fan of, preferring Mandriva (aka Mandrake). This means that any work done via SSH typically needs to be thought about a lot more before its done. Just curious as to what peoples opinions are really. I'm tempted by Groundwork, but I'm also put off by a lot of things and may stay with Nagios proper on Mandriva. Olly _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Oliver.Marshall at g2support.com Wed Jun 7 14:45:03 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 7 Jun 2006 13:45:03 +0100 Subject: How to monitor complex websites? In-Reply-To: <200606071427.37695.me@renux.de> References: <200606071427.37695.me@renux.de> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C8483@indigo.G2Support.local> Call me silly, but, for monitoring each server, can't you just assign each server its own IP (if each hasn't already got one), and then monitor the response on those IPs? We have a four server cluster (windows based) that operates using RRDNS, and each has it's own IP (clearly), and on each we have the NSClient and test various things locally, as well as pinging the IP's and checking the individual http ports on each. Olly -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rene Fertig Sent: 07 June 2006 13:28 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to monitor complex websites? Hi Richard. > We need to monitor this website, but check_http cannot (afaik) send a > specified User-Agent string. Is anybody aware of another solution, or > should I create one? If the latter: I was thinking about creating a check > based on wget, since wget is able to send User-Agent strings and can do > something with cookies as well. Can someone with enough knowledge on this > matter tell me if this is doable, or should I walk another path? check_http version 1.89 (which comes with nagios-plugins 1.4.3) can set a User-Agent-String: -A, --useragent=STRING String to be sent in http header as "User Agent" But there's a problem with agent-names like "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)" - nagios didn't like the semicolon ';'. It seems, that everything after it is ignored (like a comment). One solution for this can be to define a own macro (e.g. $USER3$) with the escaped semicolon and then use this macro within the agent name, this should help. e.g.: in resource.cfg: $USER3$="\;" in commands.cfg: command_line $USER1$/check_http -H $HOSTADDRESS$ -A "Mozilla/4.0 (compatible$USER3$ MSIE 6.0$USER3$ Windows NT 5.1$USER3$ .NET CLR 1.1.4322)" But probably you should make your own plugin if you need special cookie support. bye, Rene _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ton.voon at altinity.com Wed Jun 7 15:11:27 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 7 Jun 2006 14:11:27 +0100 Subject: Nagios and/or GroundWork In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C8482@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C8482@indigo.G2Support.local> Message-ID: <33FAE8D1-E87A-4927-9D76-A3956D44BBF2@altinity.com> On 7 Jun 2006, at 13:39, Oliver Marshall wrote: > Just curious as to what peoples opinions are really. I'm tempted by > Groundwork, but I'm also put off by a lot of things and may stay with > Nagios proper on Mandriva. I haven't had a chance to look at Groundwork's software, so I can't really comment on their application. However, I would personally like Groundwork to contribute more to the community. I'm sure they must have patched Nagios and the Nagios Plugins for their own implementation and I'd like to see some more of those come back to us. While the GPL does not mandate it, it is in the best interests of the entire community if there is not just "take", but also a bit more "give". Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Oliver.Marshall at g2support.com Wed Jun 7 15:16:22 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 7 Jun 2006 14:16:22 +0100 Subject: Nagios and/or GroundWork In-Reply-To: <33FAE8D1-E87A-4927-9D76-A3956D44BBF2@altinity.com> References: <33FAE8D1-E87A-4927-9D76-A3956D44BBF2@altinity.com> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C8485@indigo.G2Support.local> I cant see that they have patched anything, at least not noticeably. All the command lines still accept the same functions, and I have been able to literally copy and paste my nagios configs in to Groundwork. I agree that, for an open source company, they don't seem to be very open source, in that I don't seem to be able to compile groundwork for my system, instead using precompiled RPM's. Saying that, a lot of the groundwork functionality is available in segments from their site, though the documentation on getting these to function the same was as the finished Groundwork package is very poor...ie not there. About the only thing that I *REALLY* would like to see in Nagios, and that I would miss about not using Groundwork, is the status screens. One in particular is very good, and very simple too. The other status screens involve WAY too much clicking to get to any information of merit, but they are still much better than the Nagios ones. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ton Voon Sent: 07 June 2006 14:11 To: nagios-users at lists.sourceforge.net Users Subject: Re: [Nagios-users] Nagios and/or GroundWork On 7 Jun 2006, at 13:39, Oliver Marshall wrote: > Just curious as to what peoples opinions are really. I'm tempted by > Groundwork, but I'm also put off by a lot of things and may stay with > Nagios proper on Mandriva. I haven't had a chance to look at Groundwork's software, so I can't really comment on their application. However, I would personally like Groundwork to contribute more to the community. I'm sure they must have patched Nagios and the Nagios Plugins for their own implementation and I'd like to see some more of those come back to us. While the GPL does not mandate it, it is in the best interests of the entire community if there is not just "take", but also a bit more "give". Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Roberto.Raffo at enterpriseda.com Wed Jun 7 15:23:15 2006 From: Roberto.Raffo at enterpriseda.com (Roberto Raffo) Date: Wed, 7 Jun 2006 15:23:15 +0200 Subject: Perfparse problem: no graph Message-ID: Hi. We have a new problem with perfparse: after having added only some service checks and having restarted nagios, perfparse stopped to draw graphs. Apparently the data continue to be loaded in mysql, but with no grah. Previously all worked correctly, with the sequent action scheduled in crontab every 30 minutes: 0,30 * * * * /usr/local/nagios/bin/perfparse-log2mysql Any ideas? Some more information: - We use Nagios 2.1 and Perfparse 0.105.6. - Here are the config files: ******************** perfparse.cfg ******************** Error_Log = "/usr/local/nagios/var/perfparse.log" Error_Log_Rotate = "yes" Error_Log_Keep_N_Days = "7" Drop_File = "/usr/local/nagios/var/perfparse.drop" Drop_File_Rotate = "yes" Drop_File_Keep_N_Days = "7" Server_Port = "1976" Service_Log = "/usr/local/nagios/var/perfdata-service.log" Service_Log_Save_Position = "yes" Service_Log_Position_Mark_Path = "/usr/local/nagios/var" Daemon_Lock = "/usr/local/nagios//var/perfparsed.lock" Daemonize = "no" Periodic_Cleanup = "yes" Periodic_Cleanup_Lock = "/usr/local/nagios//var/perfparsed_periodic_cleanup.lock" Periodic_Cleanup_Hour = "0430" Dummy_Hostname = "LinuxSAM" No_Raw_Data = "no" No_Bin_Data = "no" Storage_Modules_Dir = "/usr/local/nagios//lib" Storage_Modules_Load = "mysql" Storage_Modules_Status_File = "/usr/local/nagios/var/storage_modules.status" # Storage Module : mysql # ============================== DB_User = "nagios" DB_Pass = "" DB_Name = "nagios" DB_Host = "LinuxSAM" ******************** nagios.cfg ******************** log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/contact_templates.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/extended_host_info.cfg cfg_file=/usr/local/nagios/etc/extended_host_info_templates.cfg cfg_file=/usr/local/nagios/etc/host_templates.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/service_templates.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/time_periods.cfg cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg xpdfile_host_perfdata_file=/usr/local/nagios/var/perfdata-host.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdata_file=/usr/local/nagios/var/perfdata-service.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$O UTPUT$\t$SERVICESTATE$\t$PERFDATA$ object_cache_file=/usr/local/nagios/var/objects.cache resource_file=/usr/local/nagios/etc/resource.cfg temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd downtime_file=/usr/local/nagios/var/downtime.dat comment_file=/usr/local/nagios/var/comments.dat lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=0 use_retained_scheduling_info=1 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 sleep_time=0.25 service_inter_check_delay_method=s max_service_check_spread=10 service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 host_inter_check_delay_method=s max_host_check_spread=30 interval_length=60 auto_reschedule_checks=1 auto_rescheduling_interval=30 auto_rescheduling_window=180 use_agressive_host_checking=0 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 soft_state_dependencies=0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 obsess_over_services=0 process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata service_perfdata_file=/usr/local/nagios/var/perfdata.log service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICESPERDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 check_host_freshness=1 host_freshness_check_interval=60 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()'= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios admin_pager=pagenagios Roberto Raffo Application & Service Providing ----------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4551 bytes Desc: image001.gif URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Alvaro.Arenas at itella.com Wed Jun 7 16:46:05 2006 From: Alvaro.Arenas at itella.com (Arenas Alvaro) Date: Wed, 7 Jun 2006 17:46:05 +0300 Subject: Monitoring connectivity between 2 servers Message-ID: <448FFDE0D1EE1049A1208C682C0E475C0397D236@WMDATA-EXCL4.netti.infra.posti.fi> Hi list, I want to monitor the connectivity between two servers and inform the results with Nagios. The test involes testing if the server A is reacheble from server C and vice versa. I also need some statistics like the RTT. Nagios will run in another seperate server (C). All of them are linux machines. There is a plugin to do this? I thought I can use the check_ping in server B to test the connectivity with A. As check_ping has to be executed on the server from which the test will be performed, I could use another plugin that allows the execution of plugins in remote hosts. (right now I don't remember the name of it, but I know that exists) But.. There is a better approach? Any suggestions are wellcomed. Thanks in advance Alvaro. PD: I am using Nagios 2.4 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andrew at profitability.net Wed Jun 7 16:49:20 2006 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 7 Jun 2006 10:49:20 -0400 Subject: Monitoring connectivity between 2 servers In-Reply-To: <448FFDE0D1EE1049A1208C682C0E475C0397D236@WMDATA-EXCL4.netti.infra.posti.fi> References: <448FFDE0D1EE1049A1208C682C0E475C0397D236@WMDATA-EXCL4.netti.infra.posti.fi> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote: > Hi list, > > I want to monitor the connectivity between two servers and > inform the results with Nagios. The test involes testing if > the server A is reacheble from server C and vice versa. I > also need some statistics like the RTT. Nagios will run in > another seperate server (C). All of them are linux machines. > > There is a plugin to do this? Just stick NRPE on server A and server B, then run check_ping or check_icmp via NRPE on servers A and B. Andrew _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 7 17:16:12 2006 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jun 2006 10:16:12 -0500 Subject: R: Modify USB speed Message-ID: Pretty sketchy relationship ;) Is this radiomodem known to work via USB? How about the adapter you are using? The software that you use to control the radiomodem should dictate the communications rate. At least that's what I gather from browsing the linux-usb mailing list (http://marc.theaimsgroup.com/?l=linux-usb-users&m=106435391423643&w=2 for example). The linux-usb mailing site/list will likely be a more appropriate and fruitful place to go for help for installing the serial adapter and radio modem. -- marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Wednesday, June 07, 2006 4:01 AM > To: 'Deborah Martin'; nagios-users at lists.sourceforge.net > Subject: [Nagios-users] R: Modify USB speed > > I use radiomodem for notifications in nagios > > -}-----Messaggio originale----- > -}Da: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] > -}Inviato: mercoled? 7 giugno 2006 10.56 > -}A: 'Marco Borsani'; nagios-users at lists.sourceforge.net > -}Oggetto: RE: [Nagios-users] Modify USB speed > -} > -}what does that have to do with Nagios ? > -} > -}-----Original Message----- > -}From: Marco Borsani [mailto:m.borsani at it.net] > -}Sent: 07 June 2006 09:56 > -}To: nagios-users at lists.sourceforge.net > -}Subject: [Nagios-users] Modify USB speed > -}Importance: High > -} > -} > -}Hi all ! > -}I need to reduce USB port speed to 9600bps, because I have to > -}connect a radiomodem. > -}It supports only that speed. > -}Normally the radiomodem is connected to the serial port, but > -}now all serial ports are busy. I connect it to the USB port > -}with an adapter. > -}My S.O. is a RedHat 3.0 ES. > -}Any idea? > -} > -}Regards! > -} > -}Marco _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rouilj at cs.umb.edu Wed Jun 7 17:16:46 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Wed, 07 Jun 2006 11:16:46 -0400 Subject: Monitoring connectivity between 2 servers In-Reply-To: Your message of "Wed, 07 Jun 2006 17:46:05 +0300." <448FFDE0D1EE1049A1208C682C0E475C0397D236@WMDATA-EXCL4.netti.infra.posti.fi> References: <448FFDE0D1EE1049A1208C682C0E475C0397D236@WMDATA-EXCL4.netti.infra.posti.fi> Message-ID: <200606071516.k57FGkUC010741@mx1.cs.umb.edu> In message <448FFDE0D1EE1049A1208C682C0E475C0397D236 at WMDATA-EXCL4.netti.infra.p osti.fi>, "Arenas Alvaro" writes: >I want to monitor the connectivity between two servers and inform the >results with Nagios. The test involes testing if the server A is >reacheble from server C and vice versa. I also need some statistics like >the RTT. Nagios will run in another seperate server (C). All of them are >linux machines. > >I thought I can use the check_ping in server B to test the connectivity >with A. As check_ping has to be executed on the server from which the >test will be performed, I could use another plugin that allows the >execution of plugins in remote hosts. (right now I don't remember the >name of it, but I know that exists) Check_by_ssh is what I use, and I have exactly what you describe setup to check the VPN gateway mesh from the VPN endpoints. So vpn1 pings vpn2-5, vpn2 pings 1,3-5 vpn3 pings vpn1-2,4-5 etc. Works fine. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From trevor_obba at yahoo.co.uk Wed Jun 7 18:45:02 2006 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Wed, 7 Jun 2006 16:45:02 +0000 (GMT) Subject: nagios configuration Message-ID: <20060607164502.15513.qmail@web25710.mail.ukl.yahoo.com> I would like to configure my nagios server so that when an host is down it does not send me an alert about all the services it mornitoring instead it send me one alert informing that the host is down. Basically, Can nagios be set up with hierarchical tests... don't report a machine is out of disk space, when it is down. I am runing nagios version 2.0b and how do i configure these. can you hlep, please. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Wed Jun 7 18:46:54 2006 From: jhmartin at toger.us (Jason Martin) Date: Wed, 7 Jun 2006 09:46:54 -0700 Subject: nagios configuration In-Reply-To: <20060607164502.15513.qmail@web25710.mail.ukl.yahoo.com> References: <20060607164502.15513.qmail@web25710.mail.ukl.yahoo.com> Message-ID: <20060607164654.GD3600@mal.members.linode.com> On Wed, Jun 07, 2006 at 04:45:02PM +0000, trevor obba wrote: > I would like to configure my nagios server so that when an host is down it does not send me an alert about all the services it mornitoring instead it send me one alert informing that the host is down. > Basically, Can nagios be set up with hierarchical tests... don't report a machine is > out of disk space, when it is down. Nagios already does this -- if you have a valid host check defined, Nagios will tell you the host is down instead of each servce. If you are getting a ton of service failure messages when the host dies, you probably have some sort of dummy check defined for the host. -Jason Martin > I am runing nagios version 2.0b and how do i configure these. > > can you hlep, please. > > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Entropy isn't what it used to be. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mchoekst at mtu.edu Wed Jun 7 20:15:22 2006 From: mchoekst at mtu.edu (mchoekst at mtu.edu) Date: Wed, 07 Jun 2006 14:15:22 -0400 Subject: host notification issues Message-ID: <448717BA.9090005@mtu.edu> hey guys- i have a problem that i wanted to put an entire computer lab (24 PCs) under one host in nagios, and have a ping command for each machine as a service of the host. i wrote a new ping command that uses the $SERVICEDESC$ variable, and then i just use the hostname of the PC for the service description. anyway, the issue is that when a notification gets sent out, i get a notice that the host (lab) is DOWN, as opposed to what i want which would be it to say '$SERVICEDESC$ is down' or something of the sort. should i just disable notifications for the host? any suggestions would be helpful. thanks -- Mike Hoekstra _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andrew at profitability.net Wed Jun 7 20:19:31 2006 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 7 Jun 2006 14:19:31 -0400 Subject: host notification issues In-Reply-To: <448717BA.9090005@mtu.edu> References: <448717BA.9090005@mtu.edu> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote: > hey guys- > i have a problem that i wanted to put an entire computer > lab (24 PCs) under one host in nagios, and have a ping > command for each machine as a service of the host. i wrote a > new ping command that uses the $SERVICEDESC$ variable, and > then i just use the hostname of the PC for the service description. > > anyway, the issue is that when a notification gets sent out, > i get a notice that the host (lab) is DOWN, as opposed to > what i want which would be it to say '$SERVICEDESC$ is down' > or something of the sort. > should i just disable notifications for the host? > > any suggestions would be helpful. thanks If you're getting a host down notification then whatever you're using for the host's check_command is failing. Try changing that to something that will return ok even if one of the PC's is down. (I would think check_ping on the router or switch that acts as the gateway to the lab might be a good choice in this case.) Andrew _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andrew at profitability.net Wed Jun 7 20:32:23 2006 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 7 Jun 2006 14:32:23 -0400 Subject: host notification issues In-Reply-To: <44871B29.2090705@mtu.edu> References: <44871B29.2090705@mtu.edu> Message-ID: mchoekst at mtu.edu wrote: >> nagios-users-bounces at lists.sourceforge.net wrote: >>> hey guys- >>> i have a problem that i wanted to put an entire computer lab (24 >>> PCs) under one host in nagios, and have a ping command for each >>> machine as a service of the host. i wrote a new ping command that >>> uses the $SERVICEDESC$ variable, and then i just use the hostname of >>> the PC for the service description. >>> >>> anyway, the issue is that when a notification gets sent out, i get a >>> notice that the host (lab) is DOWN, as opposed to what i want which >>> would be it to say '$SERVICEDESC$ is down' >>> or something of the sort. >>> should i just disable notifications for the host? >>> >>> any suggestions would be helpful. thanks >> >> If you're getting a host down notification then whatever you're using >> for the host's check_command is failing. Try changing that to >> something that will return ok even if one of the PC's is down. (I >> would think check_ping on the router or switch that acts as the >> gateway to the lab might be a good choice in this case.) >> > the host doesnt complain unless one of its services (lab pcs) are > down. it is normally in an OK state if all computers are also up. That's because Nagios only performs the host check if it receives a WARNING or CRITICAL on one of the services attached to the host. Andrew _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pavel.santos at cyberlockconsulting.com Wed Jun 7 21:24:26 2006 From: pavel.santos at cyberlockconsulting.com (Pavel Santos) Date: Wed, 7 Jun 2006 15:24:26 -0400 Subject: CHECK_NRPE: Error Message-ID: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1911@EPI-EXB2.epidirect.epi> Hello list, Runnung Nagios 2.3 on Rehat Linux version4. I compliled NRPE to check services on the clinets and now I am getting the error below. CHECK_NRPE: Error - Could not complete SSL handshake. I also install NRPE ussing RPM for my system but I am still getinng the same message. Am I missing any dependecises that it may need? Thanks in adavance, Pavel _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Wed Jun 7 21:31:46 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 07 Jun 2006 15:31:46 -0400 Subject: CHECK_NRPE: Error In-Reply-To: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1911@EPI-EXB2.epidirect.epi> References: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1911@EPI-EXB2.epidirect.epi> Message-ID: <448729A2.9070708@verizon.net> Pavel Santos wrote: > > > Hello list, > > Runnung Nagios 2.3 on Rehat Linux version4. I compliled NRPE to check services on the clinets and now I am getting the error below. > > CHECK_NRPE: Error - Could not complete SSL handshake. > > I also install NRPE ussing RPM for my system but I am still getinng the same message. Am I missing any dependecises that it may need? > What version of nagios-nrpe RPM's? What check are you attempting to check from? I have a small how-to I wrote up here: Perhaps it can serve as a guide. It's on CentOS 4.3, but won't stray from RHEL4. Max _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sergio at gridshield.net Wed Jun 7 21:36:09 2006 From: sergio at gridshield.net (Sergio Guzman Lorz) Date: Wed, 07 Jun 2006 13:36:09 -0600 Subject: CHECK_NRPE: Error In-Reply-To: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1911@EPI-EXB2.epidirect.epi> References: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C1911@EPI-EXB2.epidirect.epi> Message-ID: <44872AA9.3020707@gridshield.net> Pavel Santos wrote: > > > Hello list, > > Runnung Nagios 2.3 on Rehat Linux version4. I compliled NRPE to check services on the clinets and now I am getting the error below. > > CHECK_NRPE: Error - Could not complete SSL handshake. > > I also install NRPE ussing RPM for my system but I am still getinng the same message. Am I missing any dependecises that it may need? Check the allowed_hosts to match the ip of the machine running nagios sergio, _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 7 21:50:07 2006 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jun 2006 14:50:07 -0500 Subject: DHCP Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of trevor obba > Sent: Wednesday, June 07, 2006 4:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] DHCP > > I have a novell netware version 6.5 server running dhcp. I would like to > mornitor dhcp using nagios. I have MRTGEXT module installed on my netware > but it does not support dhcp mornitoring. How can I go about mornitoring > dhcp on netware server using nagios version 2.0? please help. The check_dhcp plugin would work if nagios is on the same broadcast domain as your DHCP server. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ellanosv at gmail.com Tue Jun 6 19:37:10 2006 From: ellanosv at gmail.com (Enrique Llanos V.) Date: Tue, 6 Jun 2006 12:37:10 -0500 Subject: nagios_command_check not working correctly Message-ID: <126f8c310606061037m6e20c5b0o75efa53d1d7b2ee9@mail.gmail.com> Hello everybody, Dudes, i have configured a nagios server in a gentoo box, according to the instruction given here[0] and here[1] and, almost everything is working correctly[2] except the important fact that the command declared in cgi.cfg for the parameter nagios_check_command[3] is reporting that "Nagios check command did not return any output "[4]. I've tried several different ways[*] for the nagios_check_command but i still get the same result, the permissions for that file are 640, I'm starting to think that maybe a bug in gentoo nagios 1.4[5]. I would really really appreciate if you help solve this problem. Thank you very much in advance. [0] http://gentoo-wiki.com/HOWTO_Install_Nagios [1] http://nagios.sourceforge.net/docs/1_0/installing.html [2] http://e666.invazores.org/blog/pics/nagios-main.png [3] nagios_check_command=/usr/nagios/libexec/check_nagios /var/nagios/status.log 5 '/usr/nagios/bin/nagios -d /etc/nagios/nagios.cfg' [4] http://e666.invazores.org/blog/pics/nagios-unknown.png [5] http://bugs.gentoo.org/show_bug.cgi?id=126924 [*]nagios_check_command=/usr/nagios/libexec/check_nagios /var/nagios/status.log 5 '/usr/nagios/bin/nagios' nagios_check_command=/usr/nagios/libexec/./check_nagios /var/nagios/status.log 5 '/usr/nagios/bin/nagios' nagios_check_command=/usr/nagios/libexec/check_nagios /var/nagios/status.log 5 `which nagios` ELLV -- BSc. Ing. Enrique Llanos V. ----------------------------------- http://e666.invazores.org/blog/ ---------------------------------------- Investigacion y Desarrollo ---------------------------------------- Somos LINUX, seamoslo SIEMPRE _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ellanosv at gmail.com Tue Jun 6 23:38:52 2006 From: ellanosv at gmail.com (Enrique Llanos V.) Date: Tue, 6 Jun 2006 16:38:52 -0500 Subject: Message [probably] lost Message-ID: <126f8c310606061438w1b17594cxff5b134c6a38ada5@mail.gmail.com> HI all, i just subscribed today to the list, the reason im writing now is because i would like to know wheter my first question to the list (this morning) arrived or not, i at least didnt received the message i sent to the list, nor o couldnt see it in [0] [0] https://sourceforge.net/mailarchive/forum.php?forum_id=1873&max_rows=25&style=flat&viewmonth=200606&viewday=6 Well if anyone receives this message, a simple reply would be great, just to know the message i sent before hasn's got lost. Thanks in advance ELLV -- BSc. Enrique Llanos V. ------------------------------ http://e666.invazores.org/blog/ ---------------------------------------- Investigacion y Desarrollo ---------------------------------------- Somos LINUX, seamoslo SIEMPRE _______________________________________________ Nagios-users mailing list Nagios-users at 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 From JasonFrank at srcp.com Wed Jun 7 22:12:07 2006 From: JasonFrank at srcp.com (Frank, Jason) Date: Wed, 7 Jun 2006 15:12:07 -0500 Subject: nagios_command_check not working correctly Message-ID: <741E24F735AED141B61948AC155E7DAAA72B95@CORPDALLMSG05.na.srcp.net> Well, since it's Gentoo, what are your build flags for Nagios. Also, what does the plugin return when you call it from the command line as the user running nagios. Finally, can you give us an ls -l of your status.log? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Enrique Llanos V. Sent: Tuesday, June 06, 2006 12:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios_command_check not working correctly Hello everybody, Dudes, i have configured a nagios server in a gentoo box, according to the instruction given here[0] and here[1] and, almost everything is working correctly[2] except the important fact that the command declared in cgi.cfg for the parameter nagios_check_command[3] is reporting that "Nagios check command did not return any output "[4]. I've tried several different ways[*] for the nagios_check_command but i still get the same result, the permissions for that file are 640, I'm starting to think that maybe a bug in gentoo nagios 1.4[5]. I would really really appreciate if you help solve this problem. Thank you very much in advance. [0] http://gentoo-wiki.com/HOWTO_Install_Nagios [1] http://nagios.sourceforge.net/docs/1_0/installing.html [2] http://e666.invazores.org/blog/pics/nagios-main.png [3] nagios_check_command=/usr/nagios/libexec/check_nagios /var/nagios/status.log 5 '/usr/nagios/bin/nagios -d /etc/nagios/nagios.cfg' [4] http://e666.invazores.org/blog/pics/nagios-unknown.png [5] http://bugs.gentoo.org/show_bug.cgi?id=126924 [*]nagios_check_command=/usr/nagios/libexec/check_nagios /var/nagios/status.log 5 '/usr/nagios/bin/nagios' nagios_check_command=/usr/nagios/libexec/./check_nagios /var/nagios/status.log 5 '/usr/nagios/bin/nagios' nagios_check_command=/usr/nagios/libexec/check_nagios /var/nagios/status.log 5 `which nagios` ELLV -- BSc. Ing. Enrique Llanos V. ----------------------------------- http://e666.invazores.org/blog/ ---------------------------------------- Investigacion y Desarrollo ---------------------------------------- Somos LINUX, seamoslo SIEMPRE _______________________________________________ Nagios-users mailing list Nagios-users at 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 This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. SOURCECORP, Incorporated www.srcp.com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Jun 7 23:16:23 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 7 Jun 2006 23:16:23 +0200 (CEST) Subject: Check_smtp In-Reply-To: <44868C47.2010205@ide.resurscentrum.se> References: <44868C47.2010205@ide.resurscentrum.se> Message-ID: On Wed, 7 Jun 2006, Jon Otterholm wrote: > I am having trouble with check_smtp and postfix. Both the nagios server > and the mailserver are Freebsd 6.1. Nagios version 2.0 and plugins > version 1.4.2. > > The problem is that the smtp sessions generated by check_smtp are left > running on the mailserver (sessions from other servers terminates as > expected). I am running this command towards a bunch of other > mailservers from the same nagios without problems. I suggest you do a tcpdump on a single SMTP session from Nagios to your serve and see who is not behaving as expected. Make sure you store it as file and use a tool as ethereal to decode the file again. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Jun 7 23:34:22 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 7 Jun 2006 23:34:22 +0200 (CEST) Subject: host notification issues In-Reply-To: <448717BA.9090005@mtu.edu> References: <448717BA.9090005@mtu.edu> Message-ID: On Wed, 7 Jun 2006, mchoekst at mtu.edu wrote: > hey guys- I think you may get into trouble with half the planet here. ;-) > i have a problem that i wanted to put an entire computer lab (24 PCs) > under one host in nagios, and have a ping command for each machine as a > service of the host. i wrote a new ping command that uses the > $SERVICEDESC$ variable, and then i just use the hostname of the PC for > the service description. > > anyway, the issue is that when a notification gets sent out, i get a > notice that the host (lab) is DOWN, as opposed to what i want which > would be it to say '$SERVICEDESC$ is down' or something of the sort. > should i just disable notifications for the host? Disable this host check. Because any failed service will result in a host check and if that host is down none of these services will be tested. But just why you choose to make things this complex in the first place is beyond me. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ellanosv at gmail.com Thu Jun 8 00:51:23 2006 From: ellanosv at gmail.com (Enrique Llanos V.) Date: Wed, 7 Jun 2006 17:51:23 -0500 Subject: nagios_command_check not working correctly In-Reply-To: <741E24F735AED141B61948AC155E7DAAA72B95@CORPDALLMSG05.na.srcp.net> References: <741E24F735AED141B61948AC155E7DAAA72B95@CORPDALLMSG05.na.srcp.net> Message-ID: <126f8c310606071551x737f059au9ef679fb3a2563b9@mail.gmail.com> Im sending you the info requested, any help will be greatly appreaciated. nagios -v: Nagios 1.4 uname: Linux Gestion-monitor 2.6.16-gentoo-r7 /etc/make.conf: USE="-X -opengl -ipv6 apache2 nagios snmp fontconfig xpm" su nagios - nagios at Gestion-monitor /etc/nagios $ /usr/nagios/libexec/check_nagios /var/nagios/status.log 5 'nagios' Nagios ok: located 2 processes, status log updated 3 seconds ago nagios at Gestion-monitor /var/nagios $ ls -l status.log -rw-rw-r-- 1 nagios nagios 43091 Jun 7 17:49 status.log Thanks in advance. ELLV On 6/7/06, Frank, Jason wrote: > > Well, since it's Gentoo, what are your build flags for Nagios. Also, > what does the plugin return when you call it from the command line as > the user running nagios. Finally, can you give us an ls -l of your > status.log? > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Enrique > Llanos V. > Sent: Tuesday, June 06, 2006 12:37 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios_command_check not working correctly > > Hello everybody, > > Dudes, i have configured a nagios server in a gentoo box, according to > the instruction given here[0] and here[1] and, almost everything is > working correctly[2] except the important fact that the command > declared in cgi.cfg for the parameter nagios_check_command[3] is > reporting that "Nagios check command did not return any output "[4]. > I've tried several different ways[*] for the nagios_check_command but > i still get the same result, the permissions for that file are 640, > I'm starting to think that maybe a bug in gentoo nagios 1.4[5]. > > I would really really appreciate if you help solve this problem. > > Thank you very much in advance. > > [0] http://gentoo-wiki.com/HOWTO_Install_Nagios > [1] http://nagios.sourceforge.net/docs/1_0/installing.html > [2] http://e666.invazores.org/blog/pics/nagios-main.png > [3] nagios_check_command=/usr/nagios/libexec/check_nagios > /var/nagios/status.log 5 '/usr/nagios/bin/nagios -d > /etc/nagios/nagios.cfg' > [4] http://e666.invazores.org/blog/pics/nagios-unknown.png > [5] http://bugs.gentoo.org/show_bug.cgi?id=126924 > [*]nagios_check_command=/usr/nagios/libexec/check_nagios > /var/nagios/status.log 5 '/usr/nagios/bin/nagios' > nagios_check_command=/usr/nagios/libexec/./check_nagios > /var/nagios/status.log 5 '/usr/nagios/bin/nagios' > nagios_check_command=/usr/nagios/libexec/check_nagios > /var/nagios/status.log 5 `which nagios` > > > ELLV > > > -- > BSc. Ing. Enrique Llanos V. > ----------------------------------- > http://e666.invazores.org/blog/ > ---------------------------------------- > Investigacion y Desarrollo > ---------------------------------------- > Somos LINUX, seamoslo SIEMPRE > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. > > SOURCECORP, Incorporated > www.srcp.com > > -- BSc. Enrique Llanos V. ------------------------------ http://e666.invazores.org/blog/ ---------------------------------------- Investigacion y Desarrollo ---------------------------------------- Somos LINUX, seamoslo SIEMPRE _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ludwig.Pummer at Copart.Com Thu Jun 8 00:54:57 2006 From: Ludwig.Pummer at Copart.Com (Ludwig Pummer) Date: Wed, 7 Jun 2006 15:54:57 -0700 Subject: Message [probably] lost Message-ID: I showed this as arriving at 1pm today. Subject: [Nagios-users] nagios_command_check not working correctly From: nagios-users-bounces at lists.sourceforge.net; on behalf of; Enrique Llanos V. [ellanosv at gmail.com] -- Ludwig Pummer System Administrator Copart Auto Auctions > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Enrique Llanos V. > Sent: Tuesday, June 06, 2006 2:39 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Message [probably] lost > > HI all, i just subscribed today to the list, the reason im > writing now is because i would like to know wheter my first > question to the list (this morning) arrived or not, i at > least didnt received the message i sent to the list, nor o > couldnt see it in [0] > > [0] > https://sourceforge.net/mailarchive/forum.php?forum_id=1873&ma > x_rows=25&style=flat&viewmonth=200606&viewday=6 > > Well if anyone receives this message, a simple reply would be > great, just to know the message i sent before hasn's got lost. > > Thanks in advance > > ELLV > > -- > BSc. Enrique Llanos V. > ------------------------------ > http://e666.invazores.org/blog/ > ---------------------------------------- > Investigacion y Desarrollo > ---------------------------------------- > Somos LINUX, seamoslo SIEMPRE > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 8 00:58:51 2006 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jun 2006 17:58:51 -0500 Subject: nagios_command_check not working correctly Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Enrique Llanos V. > Sent: Wednesday, June 07, 2006 5:51 PM > To: Frank, Jason > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios_command_check not working correctly > > Im sending you the info requested, any help will be greatly appreaciated. > > nagios -v: Nagios 1.4 > uname: Linux Gestion-monitor 2.6.16-gentoo-r7 > /etc/make.conf: USE="-X -opengl -ipv6 apache2 nagios snmp fontconfig xpm" > > su nagios - > nagios at Gestion-monitor /etc/nagios $ /usr/nagios/libexec/check_nagios > /var/nagios/status.log 5 'nagios' > Nagios ok: located 2 processes, status log updated 3 seconds ago This is different than the 3 failing examples you give below -- > > [*]nagios_check_command=/usr/nagios/libexec/check_nagios > > /var/nagios/status.log 5 '/usr/nagios/bin/nagios' > > nagios_check_command=/usr/nagios/libexec/./check_nagios > > /var/nagios/status.log 5 '/usr/nagios/bin/nagios' > > nagios_check_command=/usr/nagios/libexec/check_nagios > > /var/nagios/status.log 5 `which nagios` The 'nagios' at the end is the word(s) it is searching for in the process list. I'll bet that when you 'ps aux' it shows up solely as 'nagios' and not any of the variations you've tried above. Modify the command to be nagios_check_command=/usr/nagios/libexec/check_nagios /var/nagios/status.log 5 'nagios' *note* the nagios check command runs as your web server user, not nagios. That shouldn't be an issue but it may if you have a restrictive web server configuration. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stanley.Hopcroft at Dest.gov.au Thu Jun 8 01:38:31 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 8 Jun 2006 09:38:31 +1000 Subject: Nagios-users Digest, Vol 1, Issue 3212 Message-ID: <42AE08054734A940AE4F983C21324D042B5254@acexp005.portfolio.base> Dear Folks, I am writing to thank you for your letter and say, >-----Original Message----- >Message: 1 >Date: Wed, 7 Jun 2006 14:27:36 +0200 >From: Rene Fertig >Subject: Re: [Nagios-users] How to monitor complex websites? >To: nagios-users at lists.sourceforge.net >Message-ID: <200606071427.37695.me at renux.de> >Content-Type: text/plain; charset="iso-8859-1" > >check_http version 1.89 (which comes with nagios-plugins >1.4.3) can set a >User-Agent-String: > > -A, --useragent=STRING > String to be sent in http header as "User Agent" > ... snip >But probably you should make your own plugin if you need >special cookie >support. > >bye, Rene > You may want to revisit writing your own, since there's a new CPAN module FEAR::API for fearless programming of web clients. >From http://www.perl.com/lpt/a/2006/06/01/fear-api.html ' FEAR::API's documentation says: FEAR::API is a tool that helps reduce your time creating site scraping scripts and helps you do it in an much more elegant way. FEAR::API combines many strong and powerful features from various CPAN modules, such as LWP::UserAgent, WWW::Mechanize, Template::Extract, Encode, HTML::Parser, etc., and digests them into a deeper Zen. (Here's an example that Fetch CPAN's homepage. Extract data with a template. Process links using a control structure. Print fetched content to STDOUT. Dump links in the page. Use YAML to print extract results ) It might be best to introduce FEAR::API by rewriting the previous example: 1 use FEAR::API -base; 2 url("search.cpan.org"); 3 fetch >> [ 4 qr(foo) => _feedback, 5 qr(bar) => \my @link, 6 qr() => sub { 'do something here' } 7 ]; 8 fetch while has_more_links; 9 extmethod('Template::Extract'); 10 extract($template); 11 print Dumper extresult; 12 print document->as_string; 13 print Dumper \@link; 14 invoke_handler('YAML'); ' The article compares FEAR::API with the former standards WWW::Mechanize. Even if you decide that FEAR::API, the standard Perl HTTP modules do cookies parse HTML - in partic, extract links handle fill out forms HTH, Yours sincerely. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Lui.external at infineon.com Thu Jun 8 03:47:41 2006 From: Lui.external at infineon.com (Lui.external at infineon.com) Date: Thu, 8 Jun 2006 09:47:41 +0800 Subject: Return code of 111 is out of bounds message Message-ID: Hi Jorg, I am using nagios1.2 and nagios-plugins 1.3.1. Below are some output extracted from the nagios log file. [1149352619] SERVICE ALERT: MKZSA009;PMON-Windows;CRITICAL;SOFT;1;(Return code of 111 is out of bounds) [1149352619] Warning: Return code of 111 for check of service 'PMON-Windows' on host 'MKZSA038' was out of bounds. [1149352619] SERVICE ALERT: MKZSA038;PMON-Windows;CRITICAL;HARD;3;(Return code of 111 is out of bounds) [1149352619] Warning: Return code of 111 for check of service 'PMON-Windows' on host 'MKZSA050' was out of bounds. [1149352619] SERVICE ALERT: MKZSA050;PMON-Windows;CRITICAL;SOFT;1;(Return code of 111 is out of bounds) [1149352619] Warning: Return code of 111 for check of service 'PMON-Windows' on host 'MKZSA061' was out of bounds. [1149352620] SERVICE ALERT: MKZSA061;PMON-Windows;CRITICAL;SOFT;2;(Return code of 111 is out of bounds) [1149352620] Warning: Return code of 111 for check of service 'PMON-Windows' on host 'MKZSA057' was out of bounds. [1149352620] SERVICE ALERT: MKZSA057;PMON-Windows;CRITICAL;HARD;3;(Return code of 111 is out of bounds) [1149352620] Warning: Return code of 111 for check of service 'PMON-Windows' on host 'MKZSN005' was out of bounds. [1149352620] SERVICE ALERT: MKZSN005;PMON-Windows;CRITICAL;SOFT;1;(Return code of 111 is out of bounds) [1149352620] Warning: Return code of 111 for check of service 'PMON-Windows' on host 'MKZSA066' was out of bounds. [1149352620] SERVICE ALERT: MKZSA066;PMON-Windows;CRITICAL;SOFT;2;(Return code of 111 is out of bounds) [1149352621] Warning: Return code of 111 for check of service 'Oracle-Instance Assist' on host 'ASSIST4_DB' was out of bounds. [1149352622] SERVICE ALERT: ASSIST4_DB;Oracle-Instance Assist;CRITICAL;HARD;1;(Return code of 111 is out of bounds) This error message appear in the output of most of the service checks yesterday, 3pm. This problem always recovers after a few minutes. Any idea on what is going wrong? _____ From: Jorg.Schulz at systeam.se [mailto:Jorg.Schulz at systeam.se] Sent: Wednesday, June 07, 2006 5:39 PM To: Lui Sook Chen (IFMY IT OS AP PASU External) Cc: nagios-users at lists.sourceforge.net; nagios-users-bounces at lists.sourceforge.net Subject: Re: [Nagios-users] Return code of 111 is out of bounds message Hi A "(Return code of x is out of bounds)" error is displayed in the output of a host or service check. Similiar error messages may appear in the log file Did you read the http://www.nagios.org/faqs/viewfaq.php?faq_id=17&expand=false&showdesc=true what does the logfiles say ? Which Distro, Nagios version, Plugins ver? When does it appear ?, which "check" ? need a little more info regards /j?rg Sent by: nagios-users-bounces at lists.sourceforge.net 2006-06-07 10:53 To cc Subject [Nagios-users] Return code of 111 is out of bounds message Hi, We are getting lot of error messages about "Return code of 111 is out of bounds" from Nagios just now. It only appears for few minutes, then everything is back to normal again. Any idea on what is the root cause of this problem ("Return code of 111 is out of bounds")? How to prevent this problem happen again in future? _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT293392.jpg Type: image/jpeg Size: 10010 bytes Desc: ATT293392.jpg URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 8 05:42:04 2006 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jun 2006 22:42:04 -0500 Subject: Return code of 111 is out of bounds message Message-ID: 111 doesn't appear to be a well known posix exit code (at least according to google and my experience). What OS are you running nagios on? Are these checks remotely run on Windows (via NRPE_NT for example)? Is there any commonality between them that you can discern (all perl checks for example)? How about the state of the nagios machine when this is happening. Can you run the commands manually as the nagios user at that time? Perhaps you'll see some informative output to STDERR. Are there memory, CPU or I/O issues? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lui.external at infineon.com > Sent: Wednesday, June 07, 2006 8:48 PM > To: Jorg.Schulz at systeam.se > Cc: nagios-users-bounces at lists.sourceforge.net; nagios- > users at lists.sourceforge.net > Subject: Re: [Nagios-users] Return code of 111 is out of bounds message > > Hi Jorg, > > I am using nagios1.2 and nagios-plugins 1.3.1. > > Below are some output extracted from the nagios log file. > > [1149352619] SERVICE ALERT: MKZSA009;PMON-Windows;CRITICAL;SOFT;1;(Return > code of 111 is out of bounds) > [1149352619] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSA038' was out of bounds. > [1149352619] SERVICE ALERT: MKZSA038;PMON-Windows;CRITICAL;HARD;3;(Return > code of 111 is out of bounds) > [1149352619] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSA050' was out of bounds. > [1149352619] SERVICE ALERT: MKZSA050;PMON-Windows;CRITICAL;SOFT;1;(Return > code of 111 is out of bounds) > [1149352619] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSA061' was out of bounds. > [1149352620] SERVICE ALERT: MKZSA061;PMON-Windows;CRITICAL;SOFT;2;(Return > code of 111 is out of bounds) > [1149352620] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSA057' was out of bounds. > [1149352620] SERVICE ALERT: MKZSA057;PMON-Windows;CRITICAL;HARD;3;(Return > code of 111 is out of bounds) > [1149352620] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSN005' was out of bounds. > [1149352620] SERVICE ALERT: MKZSN005;PMON-Windows;CRITICAL;SOFT;1;(Return > code of 111 is out of bounds) > [1149352620] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSA066' was out of bounds. > [1149352620] SERVICE ALERT: MKZSA066;PMON-Windows;CRITICAL;SOFT;2;(Return > code of 111 is out of bounds) > [1149352621] Warning: Return code of 111 for check of service 'Oracle- > Instance Assist' on host 'ASSIST4_DB' was out of bounds. > [1149352622] SERVICE ALERT: ASSIST4_DB;Oracle-Instance > Assist;CRITICAL;HARD;1;(Return code of 111 is out of bounds) > > This error message appear in the output of most of the service checks > yesterday, 3pm. This problem always recovers after a few minutes. > > Any idea on what is going wrong? > > ________________________________ > > From: Jorg.Schulz at systeam.se [mailto:Jorg.Schulz at systeam.se] > Sent: Wednesday, June 07, 2006 5:39 PM > To: Lui Sook Chen (IFMY IT OS AP PASU External) > Cc: nagios-users at lists.sourceforge.net; nagios-users- > bounces at lists.sourceforge.net > Subject: Re: [Nagios-users] Return code of 111 is out of bounds message > > > > > Hi > > A "(Return code of x is out of bounds)" error is displayed in the > output of a host or service check. Similiar error messages may appear in > the log file > Did you read the > http://www.nagios.org/faqs/viewfaq.php?faq_id=17&expand=false&showde > sc=true > what does the logfiles say ? > Which Distro, Nagios version, Plugins ver? > When does it appear ?, which "check" ? > > need a little more info > > regards > > /j?rg > > > > > > > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > 2006-06-07 10:53 > > To > > cc > Subject > [Nagios-users] Return code of 111 is out of bounds message > > > > > > > Hi, > > We are getting lot of error messages about "Return code of 111 is > out of > bounds" from Nagios just now. > It only appears for few minutes, then everything is back to normal > again. > > Any idea on what is the root cause of this problem ("Return code of > 111 > is out of bounds")? > > How to prevent this problem happen again in future? > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Thu Jun 8 07:56:09 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 8 Jun 2006 07:56:09 +0200 (CEST) Subject: nagios_command_check not working correctly In-Reply-To: <126f8c310606061037m6e20c5b0o75efa53d1d7b2ee9@mail.gmail.com> References: <126f8c310606061037m6e20c5b0o75efa53d1d7b2ee9@mail.gmail.com> Message-ID: On Tue, 6 Jun 2006, Enrique Llanos V. wrote: > Dudes, i have configured a nagios server in a gentoo box, according to > the instruction given here[0] and here[1] and, almost everything is > working correctly[2] except the important fact that the command > declared in cgi.cfg for the parameter nagios_check_command[3] is > reporting that "Nagios check command did not return any output "[4]. > I've tried several different ways[*] for the nagios_check_command but > i still get the same result, the permissions for that file are 640, > I'm starting to think that maybe a bug in gentoo nagios 1.4[5]. Are you sure you did disable eXecutable bits on a nagios check command? How do you expect it to run? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gbellettini at genetsis.com Thu Jun 8 11:04:40 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Thu, 8 Jun 2006 11:04:40 +0200 Subject: upgrade Message-ID: Which is the easiest way to upgrade from nagios 2.2 to nagios 2.4? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From b00mer at gmx.net Thu Jun 8 11:17:09 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Thu, 08 Jun 2006 11:17:09 +0200 Subject: upgrade In-Reply-To: References: Message-ID: <4487EB15.4090607@gmx.net> Guillermo Bellettini schrieb: > Which is the easiest way to upgrade from nagios 2.2 to nagios 2.4? > > > > Thanks > > > > > > > >------------------------------------------------------------------------ > >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > ./configure make all make install _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcinwasilewski at poczta.onet.pl Wed Jun 7 16:03:48 2006 From: marcinwasilewski at poczta.onet.pl (Marcin Wasilewski) Date: Wed, 7 Jun 2006 16:03:48 +0200 Subject: Nagios2 and The Embedded Perl Interpreter Message-ID: <000801c68ac8$87019d00$260b0aac@MWPC> Hello, I read the documentation and the info about the disadvantages of ePN (embedded Perl Nagios) and wonder is it possible to disable it and use traditional Perl scripts? I'm using Nagios2 on Debian machine and the package was installed using aptitude, so I suppose it was compiled with: /configure --enable-embedded-perl --with-perlcache Best regards Marcin _______________________________________________ Nagios-users mailing list Nagios-users at 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 From zhecka at metropol.ru Thu Jun 8 11:14:36 2006 From: zhecka at metropol.ru (Kaltashkin Eugene) Date: Thu, 8 Jun 2006 13:14:36 +0400 Subject: upgrade Message-ID: <391170E1931DAC4495B21D8069FFFE369BAF83@MX.metropol.ru> not using MS Outlook in HTML mode :) ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Guillermo Bellettini Sent: Thursday, June 08, 2006 1:05 PM To: nagios-users at lists.sourceforge.net; nagios-users-request at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: [Nagios-users] upgrade Importance: High Which is the easiest way to upgrade from nagios 2.2 to nagios 2.4? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pietro at bertera.it Thu Jun 8 11:28:10 2006 From: pietro at bertera.it (Pietro Bertera) Date: Thu, 08 Jun 2006 11:28:10 +0200 Subject: upgrade In-Reply-To: References: Message-ID: <1149758890.11780.2.camel@localhost.localdomain> Il giorno gio, 08/06/2006 alle 11.04 +0200, Guillermo Bellettini ha scritto: > Which is the easiest way to upgrade from nagios 2.2 to nagios 2.4? On a debian sarge system i have build a backport: deb http://www.bertera.it/debian sarge nagios2 lsb-base regards _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Lui.external at infineon.com Thu Jun 8 07:45:15 2006 From: Lui.external at infineon.com (Lui.external at infineon.com) Date: Thu, 8 Jun 2006 13:45:15 +0800 Subject: Return code of 111 is out of bounds message Message-ID: Fyi, I am running Nagios on a linux machine. All these checks are written in perl, and we are using SNMP method to get the server performance data. I didn't manage to check the state of the nagios machine at that time because the problem is just appear for few minutes. Nope, we don't have a any memory, CPU or I/O issues at that time. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, June 08, 2006 11:42 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Return code of 111 is out of bounds message 111 doesn't appear to be a well known posix exit code (at least according to google and my experience). What OS are you running nagios on? Are these checks remotely run on Windows (via NRPE_NT for example)? Is there any commonality between them that you can discern (all perl checks for example)? How about the state of the nagios machine when this is happening. Can you run the commands manually as the nagios user at that time? Perhaps you'll see some informative output to STDERR. Are there memory, CPU or I/O issues? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lui.external at infineon.com > Sent: Wednesday, June 07, 2006 8:48 PM > To: Jorg.Schulz at systeam.se > Cc: nagios-users-bounces at lists.sourceforge.net; nagios- > users at lists.sourceforge.net > Subject: Re: [Nagios-users] Return code of 111 is out of bounds > message > > Hi Jorg, > > I am using nagios1.2 and nagios-plugins 1.3.1. > > Below are some output extracted from the nagios log file. > > [1149352619] SERVICE ALERT: > MKZSA009;PMON-Windows;CRITICAL;SOFT;1;(Return > code of 111 is out of bounds) > [1149352619] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSA038' was out of bounds. > [1149352619] SERVICE ALERT: > MKZSA038;PMON-Windows;CRITICAL;HARD;3;(Return > code of 111 is out of bounds) > [1149352619] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSA050' was out of bounds. > [1149352619] SERVICE ALERT: > MKZSA050;PMON-Windows;CRITICAL;SOFT;1;(Return > code of 111 is out of bounds) > [1149352619] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSA061' was out of bounds. > [1149352620] SERVICE ALERT: > MKZSA061;PMON-Windows;CRITICAL;SOFT;2;(Return > code of 111 is out of bounds) > [1149352620] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSA057' was out of bounds. > [1149352620] SERVICE ALERT: > MKZSA057;PMON-Windows;CRITICAL;HARD;3;(Return > code of 111 is out of bounds) > [1149352620] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSN005' was out of bounds. > [1149352620] SERVICE ALERT: > MKZSN005;PMON-Windows;CRITICAL;SOFT;1;(Return > code of 111 is out of bounds) > [1149352620] Warning: Return code of 111 for check of service 'PMON- > Windows' on host 'MKZSA066' was out of bounds. > [1149352620] SERVICE ALERT: > MKZSA066;PMON-Windows;CRITICAL;SOFT;2;(Return > code of 111 is out of bounds) > [1149352621] Warning: Return code of 111 for check of service 'Oracle- > Instance Assist' on host 'ASSIST4_DB' was out of bounds. > [1149352622] SERVICE ALERT: ASSIST4_DB;Oracle-Instance > Assist;CRITICAL;HARD;1;(Return code of 111 is out of bounds) > > This error message appear in the output of most of the service checks > yesterday, 3pm. This problem always recovers after a few minutes. > > Any idea on what is going wrong? > > ________________________________ > > From: Jorg.Schulz at systeam.se [mailto:Jorg.Schulz at systeam.se] > Sent: Wednesday, June 07, 2006 5:39 PM > To: Lui Sook Chen (IFMY IT OS AP PASU External) > Cc: nagios-users at lists.sourceforge.net; nagios-users- > bounces at lists.sourceforge.net > Subject: Re: [Nagios-users] Return code of 111 is out of bounds > message > > > > > Hi > > A "(Return code of x is out of bounds)" error is displayed in the > output of a host or service check. Similiar error messages may appear > in the log file > Did you read the > http://www.nagios.org/faqs/viewfaq.php?faq_id=17&expand=false&showde > sc=true > what does the logfiles say ? > Which Distro, Nagios version, Plugins ver? > When does it appear ?, which "check" ? > > need a little more info > > regards > > /j?rg > > > > > > > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > 2006-06-07 10:53 > > To > > cc > Subject > [Nagios-users] Return code of 111 is out of bounds message > > > > > > > Hi, > > We are getting lot of error messages about "Return code of 111 is out > of > bounds" from Nagios just now. > It only appears for few minutes, then everything is back to normal > again. > > Any idea on what is the root cause of this problem ("Return code of > 111 > is out of bounds")? > > How to prevent this problem happen again in future? > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ellanosv at gmail.com Thu Jun 8 09:31:08 2006 From: ellanosv at gmail.com (Enrique Llanos V.) Date: Thu, 8 Jun 2006 02:31:08 -0500 Subject: nagios_command_check not working correctly In-Reply-To: References: <126f8c310606061037m6e20c5b0o75efa53d1d7b2ee9@mail.gmail.com> Message-ID: <126f8c310606080031h26f51eafq561fc38e7f55b905@mail.gmail.com> I forgot to mention that while trying different options to the nagios_check_command i tried the first time with the value 'nagios' instead of the others shown, i also chmoded check_nagios and cgi.cfg (just in case) to 755 and the results are the same, about the restrictive apache, well i wouldnt now i just configured it as recomended in the links provided by gentoo and nagios[0]. [0] ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ AllowOverride AuthConfig Options +ExecCGI Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Alias /nagios/ /usr/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user and /etc/conf.d/apache APACHE2_OPTS="-D DEFAULT_VHOST -D NAGIOS" I'll appreaciate any comments. Thanks in advance On 6/8/06, Hugo van der Kooij wrote: > On Tue, 6 Jun 2006, Enrique Llanos V. wrote: > > > Dudes, i have configured a nagios server in a gentoo box, according to > > the instruction given here[0] and here[1] and, almost everything is > > working correctly[2] except the important fact that the command > > declared in cgi.cfg for the parameter nagios_check_command[3] is > > reporting that "Nagios check command did not return any output "[4]. > > I've tried several different ways[*] for the nagios_check_command but > > i still get the same result, the permissions for that file are 640, > > I'm starting to think that maybe a bug in gentoo nagios 1.4[5]. > > Are you sure you did disable eXecutable bits on a nagios check command? > > How do you expect it to run? > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- BSc. Enrique Llanos V. ------------------------------ http://e666.invazores.org/blog/ ---------------------------------------- Investigacion y Desarrollo ---------------------------------------- Somos LINUX, seamoslo SIEMPRE _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Alvaro.Arenas at itella.com Thu Jun 8 13:46:42 2006 From: Alvaro.Arenas at itella.com (Arenas Alvaro) Date: Thu, 8 Jun 2006 14:46:42 +0300 Subject: Measure the bandwidth between two servers Message-ID: <448FFDE0D1EE1049A1208C682C0E475C0397D552@WMDATA-EXCL4.netti.infra.posti.fi> Hi I have to servers and I want to measure the bandwidth between two servers. If the bandwidth drops from some level a warning should be generted. There is some plugin that do this? If not, which approach do you suggest to get this information? I need to know the roud-trip delay time (RTT) but for a tcp connection. There is such a TCP-ping? Still the most important is to know the bandwidth capacity between the 2 servers. Alvaro _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gbellettini at genetsis.com Thu Jun 8 14:05:23 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Thu, 8 Jun 2006 14:05:23 +0200 Subject: sms notifications Message-ID: Hi there, I've installed sms tool for sms-notification. The daemon works ok but how do I setup nagios to send service notifications by sms? I've defined the following command but it is not working. define command{ command_name notify-by-epager command_line TMPFILE=`mktemp /var/spool/sms/tmp/temp.XXXXXX`;/usr/bin/printf "%b" "To: $CONTACTPAGER$\n\n$NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$"> $TMPFILE;mv $TMPFILE /var/spool/sms/outgoing } Any suggestions? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wrjacqmein at gmail.com Thu Jun 8 14:17:38 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Thu, 8 Jun 2006 08:17:38 -0400 Subject: Measure the bandwidth between two servers In-Reply-To: <448FFDE0D1EE1049A1208C682C0E475C0397D552@WMDATA-EXCL4.netti.infra.posti.fi> References: <448FFDE0D1EE1049A1208C682C0E475C0397D552@WMDATA-EXCL4.netti.infra.posti.fi> Message-ID: <3c9a5bae0606080517v442c633mecd49bd51fdb8417@mail.gmail.com> Alvaro, I havent seen any nagios specified plugins but a few client server (excluding pipemeter) options are http://dast.nlanr.net/Projects/Iperf/ http://www.nongnu.org/nepim/ http://spamaps.org/pipemeter.php http://ex-parrot.com/~pdw/iftop/ http://netspeed.stanford.edu/ <- for internet connections between you and stanford. Enjoy, Bill On 6/8/06, Arenas Alvaro wrote: > > Hi > I have to servers and I want to measure the bandwidth between two > servers. If the bandwidth drops from some level a warning should be > generted. There is some plugin that do this? > If not, which approach do you suggest to get this information? > > I need to know the roud-trip delay time (RTT) but for a tcp connection. > There is such a TCP-ping? > > Still the most important is to know the bandwidth capacity between the 2 > servers. > > Alvaro > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Thu Jun 8 14:22:48 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 8 Jun 2006 14:22:48 +0200 Subject: R: sms notifications In-Reply-To: References: Message-ID: <009301c68af6$416231a0$0900d40a@intranet.it.net> Here it is my sintax: define command{ command_name notify-by-sms command_line /usr/local/bin/sendsms $CONTACTPAGER$ "Service:$SERVICEDESC$ Host:$HOSTALIAS$ State:$SERVICESTATE$. $OUTPUT$ Date:$SHORTDATETIME$" } Regards Marco _____ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Guillermo Bellettini Inviato: gioved? 8 giugno 2006 14.05 A: nagios-users at lists.sourceforge.net; nagios-users-request at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Oggetto: [Nagios-users] sms notifications Priorit?: Alta Hi there, I?ve installed sms tool for sms-notification. The daemon works ok but how do I setup nagios to send service notifications by sms? I?ve defined the following command but it is not working. define command{ command_name notify-by-epager command_line TMPFILE=`mktemp /var/spool/sms/tmp/temp.XXXXXX`;/usr/bin/printf "%b" "To: $CONTACTPAGER$\n\n$NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$"> $TMPFILE;mv $TMPFILE /var/spool/sms/outgoing } Any suggestions? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gbellettini at genetsis.com Thu Jun 8 15:12:32 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Thu, 8 Jun 2006 15:12:32 +0200 Subject: sms notifications In-Reply-To: <009301c68af6$416231a0$0900d40a@intranet.it.net> References: <009301c68af6$416231a0$0900d40a@intranet.it.net> Message-ID: Thanks a lot Marco works perfect!!... Regards, Emilio _____ De: Marco Borsani [mailto:m.borsani at it.net] Enviado el: jueves, 08 de junio de 2006 14:23 Para: 'Guillermo Bellettini'; nagios-users at lists.sourceforge.net; nagios-users-request at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Asunto: R: [Nagios-users] sms notifications Here it is my sintax: define command{ command_name notify-by-sms command_line /usr/local/bin/sendsms $CONTACTPAGER$ "Service:$SERVICEDESC$ Host:$HOSTALIAS$ State:$SERVICESTATE$. $OUTPUT$ Date:$SHORTDATETIME$" } Regards Marco _____ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Guillermo Bellettini Inviato: gioved? 8 giugno 2006 14.05 A: nagios-users at lists.sourceforge.net; nagios-users-request at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Oggetto: [Nagios-users] sms notifications Priorit?: Alta Hi there, I?ve installed sms tool for sms-notification. The daemon works ok but how do I setup nagios to send service notifications by sms? I?ve defined the following command but it is not working. define command{ command_name notify-by-epager command_line TMPFILE=`mktemp /var/spool/sms/tmp/temp.XXXXXX`;/usr/bin/printf "%b" "To: $CONTACTPAGER$\n\n$NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$"> $TMPFILE;mv $TMPFILE /var/spool/sms/outgoing } Any suggestions? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fqjr4lo02 at sneakemail.com Thu Jun 8 18:49:40 2006 From: fqjr4lo02 at sneakemail.com (David Fix) Date: Thu, 8 Jun 2006 12:49:40 -0400 Subject: 2.4 issue - Scheduled downtime not displaying properly and problem enabling notifications Message-ID: <9665-62387@sneakemail.com> I'm having a strange issue... I have a host that I have scheduled flexible downtime for, and it has now gone down for maintenance. First off, it is showing on the tactical overview that the host is down, yet sent me no notification. Which is, of course, just fine, since it's scheduled, right? However, when I check the actual host status, it says: "In Scheduled Downtime? NO" That's pretty odd... I'm checking it by fping (dunno if that makes a difference, but I figured I'd include all info I can!), and I decided that I wanted to turn notifications back on for the host. So... I clicked on "Enable notifications for this host". No problem there, it brings me to the next screen. However, when I click "Commit" on that next screen, it basically hangs for a few minutes, and then I get a 500 error. In the logs, all it shows is that there is a "premature end to script header". Yeah, like that helps. ;) Anyhow, I was wondering if anyone else can reproduce this behaviour and perhaps one of the coders can figure out why this is happening? :) Thanks in advance, guys, it's much appreciated! If you need anything else, let me know, and I can furnish it. Nagios is running on a Debian 3.1 box, btw. :) Dave _______________________________________________ Nagios-users mailing list Nagios-users at 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 From james.peel at altinity.com Thu Jun 8 19:41:43 2006 From: james.peel at altinity.com (James Peel) Date: Thu, 8 Jun 2006 18:41:43 +0100 Subject: Anyone with Linux / Nagios skills in SE England? Message-ID: Hi If anyone out there has Linux and Nagios skills and wishes to work in SE England - we're hiring: http://www.altinity.com/careers Drop me a line if interested: james.peel at altinity.com Sorry to post this here but we're not having much luck elsewhere :-( Regards, James http://www.altinity.com/ T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michael.johnston at kirtland.af.mil Thu Jun 8 20:34:40 2006 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Thu, 8 Jun 2006 19:34:40 +0100 Subject: shutting down machines with Nagios Message-ID: <200606081835.k58IZGg0026941@knockout.kirtland.af.mil> Does anyone use anything that will go out and shutdown computers in instances where a room is over heating or too many errors start occurring? We've recently had a problem with heat in a server room. I got messages that the room was overheating, but by the time I got there the room was really hot and all the machines were running. I'm looking for something that takes steps to save machines if a threshold is ever met or exceeded. Thanks for the help! _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joseph.petrucci at wachovia.com Thu Jun 8 20:47:32 2006 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Thu, 8 Jun 2006 14:47:32 -0400 Subject: shutting down machines with Nagios In-Reply-To: <200606081835.k58IZGg0026941@knockout.kirtland.af.mil> References: <200606081835.k58IZGg0026941@knockout.kirtland.af.mil> Message-ID: I have used the event handler to shutdown RDBMS instances I would think you should be able to do the same thing on the OS level. Joe Petrucci Office: 704-590-1394 Cell : 724-462-0443 Johnston Michael J Contr AFRL/DES Sent by: nagios-users-bounces at lists.sourceforge.net 06/08/2006 02:34 PM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] shutting down machines with Nagios Does anyone use anything that will go out and shutdown computers in instances where a room is over heating or too many errors start occurring? We've recently had a problem with heat in a server room. I got messages that the room was overheating, but by the time I got there the room was really hot and all the machines were running. I'm looking for something that takes steps to save machines if a threshold is ever met or exceeded. Thanks for the help! _______________________________________________ Nagios-users mailing list Nagios-users at 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:NT0001F392 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From estair at ilm.com Thu Jun 8 21:19:27 2006 From: estair at ilm.com (Eli Stair) Date: Thu, 08 Jun 2006 12:19:27 -0700 Subject: shutting down machines with Nagios In-Reply-To: <200606081835.k58IZGg0026941@knockout.kirtland.af.mil> References: <200606081835.k58IZGg0026941@knockout.kirtland.af.mil> Message-ID: Yep, I'd recommend having your event handler that fires on an overheat condition correlate _several_ sources before shutting down large numbers of systems. If you look hard, you'll surely find a number of good sources for temp correlation (netbotz, switch/router SNMP, management processors, chiller, cooling towers, lm_sensors, etc). Having a per-host shutdown based on local lm_sensors/management info is usually fine (just beware of bugs in your temp reference...), i.e. If you're checking CPU temps, check temp and fan status... Large-scale cluster power-off's are tender though, you may even want to avoid having that handled automatically, and just have an easily-accessible method of doing a room/datacenter manually from remote if you do correlate everything. The action of turning something off is the easy part, it's determining that you _really_ want to that's pointy. IMO /eli On 6/8/06 11:34 AM, "Johnston Michael J Contr AFRL/DES" wrote: > > Does anyone use anything that will go out and shutdown computers in > instances where a room is over heating or too many errors start occurring? > We've recently had a problem with heat in a server room. I got messages > that the room was overheating, but by the time I got there the room was > really hot and all the machines were running. I'm looking for something > that takes steps to save machines if a threshold is ever met or exceeded. > > Thanks for the help! > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Thu Jun 8 21:28:49 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 8 Jun 2006 21:28:49 +0200 (CEST) Subject: upgrade In-Reply-To: <391170E1931DAC4495B21D8069FFFE369BAF83@MX.metropol.ru> References: <391170E1931DAC4495B21D8069FFFE369BAF83@MX.metropol.ru> Message-ID: On Thu, 8 Jun 2006, Kaltashkin Eugene wrote: > not using MS Outlook in HTML mode :) Said another top poster ;-) A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Thu Jun 8 21:30:25 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 8 Jun 2006 21:30:25 +0200 (CEST) Subject: upgrade In-Reply-To: References: Message-ID: On Thu, 8 Jun 2006, Guillermo Bellettini wrote: > Which is the easiest way to upgrade from nagios 2.2 to nagios 2.4? Depends on how you installed Nagios originally. I only had to 'yum update' my system. But that is Fedora for you. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Thu Jun 8 21:40:09 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 8 Jun 2006 21:40:09 +0200 (CEST) Subject: shutting down machines with Nagios In-Reply-To: <200606081835.k58IZGg0026941@knockout.kirtland.af.mil> References: <200606081835.k58IZGg0026941@knockout.kirtland.af.mil> Message-ID: On Thu, 8 Jun 2006, Johnston Michael J Contr AFRL/DES wrote: > > Does anyone use anything that will go out and shutdown computers in > instances where a room is over heating or too many errors start occurring? > We've recently had a problem with heat in a server room. I got messages > that the room was overheating, but by the time I got there the room was > really hot and all the machines were running. I'm looking for something > that takes steps to save machines if a threshold is ever met or exceeded. Beside the tricky issues allready mentioned. Doing maths on thermals is a required exercise and one should fix the issue of poor thermal design here. Stopping systems is only a stop-gap method. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From siemsen at ucar.edu Fri Jun 9 00:08:41 2006 From: siemsen at ucar.edu (Pete Siemsen) Date: Thu, 8 Jun 2006 16:08:41 -0600 Subject: check_icmp gives "failed to resolve" Message-ID: <32887381-609E-4F1D-8EEA-314690DA88A3@ucar.edu> According to the book "Nagios: System and Network Monitoring" by Wolfgang Barth, check_icmp is supposed to be a drop-in replacement for check_ping. I had trouble making it work. I've cc'd Wolfgang and the author of check_ping. Thanks, guys! I run Nagios 2.4 with the 1.4.3 plugins on a Debian 3.1 system. Things were working fine with check_ping. I bought Wolfgang's book and decided to try using check_icmp instead of check_ping. I replaced all occurrences of "check_ping" with "check_icmp" in my config files. I restarted Nagios and immediately got lots of errors like these in my logs: [1149802932] SERVICE ALERT: fileserver;PING;UNKNOWN;HARD; 2;check_icmp: Failed to resolve } The errors seem to appear only for hosts with minor DNS issues. It seems that I got the error for any host with an "address" in the Nagios config files that didn't DNS reverse-resolve to the "host_name" in the config files. I dramatically reduced the number of errors just by defining more domains in the "search" line in my / etc/resolv.conf. This didn't take care of all the problems, though. I have host interfaces with DNS names like, "router1-eth4" but I want Nagios to represent the device as "router1". My command definition invokes check_icmp with $HOSTADDRESS$, not $HOSTNAME$, so why does check_icmp use DNS at all? -- Pete _______________________________________________ Nagios-users mailing list Nagios-users at 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 From siemsen at UCAR.EDU Fri Jun 9 01:20:32 2006 From: siemsen at UCAR.EDU (Pete Siemsen) Date: Thu, 8 Jun 2006 17:20:32 -0600 Subject: check_icmp gives "failed to resolve" In-Reply-To: <32887381-609E-4F1D-8EEA-314690DA88A3@ucar.edu> References: <32887381-609E-4F1D-8EEA-314690DA88A3@ucar.edu> Message-ID: <21213D93-C9F9-4138-87F4-20B8A95C4180@UCAR.EDU> On Jun 8, 2006, at 4:08 PM, Pete Siemsen wrote: > According to the book "Nagios: System and Network Monitoring" by > Wolfgang Barth, check_icmp is supposed to be a drop-in replacement > for check_ping. I had trouble making it work. I've cc'd Wolfgang > and the author of check_ping. Thanks, guys! > > I run Nagios 2.4 with the 1.4.3 plugins on a Debian 3.1 system. > Things were working fine with check_ping. I bought Wolfgang's book > and decided to try using check_icmp instead of check_ping. I > replaced all occurrences of "check_ping" with "check_icmp" in my > config files. I restarted Nagios and immediately got lots of errors > like these in my logs: > > [1149802932] SERVICE ALERT: fileserver;PING;UNKNOWN;HARD; > 2;check_icmp: Failed to resolve } > > The errors seem to appear only for hosts with minor DNS issues. It > seems that I got the error for any host with an "address" in the > Nagios config files that didn't DNS reverse-resolve to the > "host_name" in the config files. I dramatically reduced the number > of errors just by defining more domains in the "search" line in my / > etc/resolv.conf. This didn't take care of all the problems, though. > I have host interfaces with DNS names like, "router1-eth4" but I want > Nagios to represent the device as "router1". > > My command definition invokes check_icmp with $HOSTADDRESS$, not > $HOSTNAME$, so why does check_icmp use DNS at all? > > -- Pete Looking in check_icmp.c, I found the URL for the location of the latest version. I downloaded and installed it. The number of problem hosts went down, and the errors have a little more information: [1149806794] SERVICE ALERT: noaa-router;PING;UNKNOWN;HARD; 2;check_icmp: Failed to resolve }: Unknown host Some of the "bad" hosts are reachable by pings from the command line, using the IP address, the FQDN or the simple name of the host. Others simply have entries in the config files where the host_name doesn't match the one that DNS supplies when the IP address is resolved. -- Pete _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Bill.Akins at emoryhealthcare.org Fri Jun 9 02:00:48 2006 From: Bill.Akins at emoryhealthcare.org (Bill Akins) Date: Thu, 08 Jun 2006 20:00:48 -0400 Subject: shutting down machines with Nagios In-Reply-To: References: Message-ID: <448881F0.755E.0009.0@emoryhealthcare.org> Johnston Michael J Contr AFRL/DES Sent by: nagios-users-bounces at lists.sourceforge.net 06/08/2006 02:34 PM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] shutting down machines with Nagios Does anyone use anything that will go out and shutdown computers in instances where a room is over heating or too many errors start occurring? We've recently had a problem with heat in a server room. I got messages that the room was overheating, but by the time I got there the room was really hot and all the machines were running. I'm looking for something that takes steps to save machines if a threshold is ever met or exceeded. Thanks for the help! Hi Michael, Some things to consider. What kind of machines? Do you have the necessary rights to perform shutdowns? Are they on telnet enabled power strips or some other power source you can control? This seems to be a bit of a risky idea as a runaway script or malfunctioning sensor could take out an entire room. In any case... You could use an escalation script to start doing shutdowns after a certain number of alarms. For *nix machines, simply ssh to the box and perform a shutdown -h now command. ssh host.domain.com "shutdown -h now" For Windows, if you are using nagios-wsc, you could use the windows part to shut the monitored windows machines down using the Windows shutdown /s \\host.domain.com After a few more alarms, you could start killing power strips or UPS units in case shutdowns are hung or did not complete fast enough. Good luck! _______________________________________________ Nagios-users mailing list Nagios-users at 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 From elizar.palad at gmail.com Fri Jun 9 03:32:14 2006 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Fri, 9 Jun 2006 09:32:14 +0800 Subject: Service Check Timeout for check_process_remote Message-ID: Hi everyone! Im wondering why i am having this error, Service Check Timeout for check_process_remote check_load_remote etc plugins.. This is my second setup of nagios, the first one is still up without this error. First one is in Solaris 2.5 and this one im trying to set up is for Fedora 5. I can connect to the client host just fine tru rsh, setup $HOME/.rhosts.. but when i manually execute ./check_process_remote -s rsh -H client_host -p cron take too long to display.. (in web interface service check timeout) Any help appreciated.. this is working on my solaris box. Thanks! Eli -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcinwasilewski at poczta.onet.pl Fri Jun 9 09:14:30 2006 From: marcinwasilewski at poczta.onet.pl (Marcin Wasilewski) Date: Fri, 9 Jun 2006 09:14:30 +0200 Subject: shutting down machines with Nagios References: <200606081835.k58IZGg0026941@knockout.kirtland.af.mil> Message-ID: <003001c68b94$5ca02e60$260b0aac@MWPC> Hi, I do something like this. I wrote a simple bash script that ask APC Env unit for temperature using SNMPGET and the correct OID. Then the returned value is compared to critical limit and if it's higher then I shut down machines using SSH script like this: ssh -l root machine name init 5 exit I think that could help You. Best regards Marcin ----- Original Message ----- From: "Johnston Michael J Contr AFRL/DES" To: Sent: Thursday, June 08, 2006 8:34 PM Subject: [Nagios-users] shutting down machines with Nagios > > Does anyone use anything that will go out and shutdown computers in > instances where a room is over heating or too many errors start occurring? > We've recently had a problem with heat in a server room. I got messages > that the room was overheating, but by the time I got there the room was > really hot and all the machines were running. I'm looking for something > that takes steps to save machines if a threshold is ever met or exceeded. > > Thanks for the help! > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From R.E.Bernard at bcs.org.uk Fri Jun 9 12:04:40 2006 From: R.E.Bernard at bcs.org.uk (Robert Bernard) Date: Fri, 09 Jun 2006 11:04:40 +0100 Subject: Missing statusmap.cgi Message-ID: <448955C8.19397.AA45588F@localhost> I recently built version 2.4 on a RedHat ES4 box and it seems that statusmap.cgi is missing. I have ./cgi/statusmap.c and ./html/stylesheets/statusmap.css . The configure and make completed ok. Also the "3-D Status Map" option from the browser interface tries to download statuswrl.cgi instead of executing it (browsers: Firefox and IE) Version info: Nagios Version 2.4 Nagios Plugins 1.4.3 Server: Red Hat Enterprise Linux ES release 4 Clients: using xinetd and nrpe v2.5.1 Clients: Red Hat Enterprise Linux ES release 3 Thanks for your help Robert Bernard _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Fri Jun 9 14:25:43 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 9 Jun 2006 08:25:43 -0400 Subject: Missing statusmap.cgi In-Reply-To: <448955C8.19397.AA45588F@localhost> References: <448955C8.19397.AA45588F@localhost> Message-ID: <302ce8b50606090525v74f22c06l6a1f877e4361ab80@mail.gmail.com> On 6/9/06, Robert Bernard wrote: > I recently built version 2.4 on a RedHat ES4 box and it seems that > statusmap.cgi is missing. I have ./cgi/statusmap.c and > ./html/stylesheets/statusmap.css . > > The configure and make completed ok. Not if you're missing the app they didn't. You should really use the packaging provided for a given distribution for consistency, and nagios is already packaged for RHEL by dag. You should use the appropriate RPMS provided here http://dag.wieers.com/packages/nagios/ > Also the "3-D Status Map" option from the browser interface tries to download > statuswrl.cgi instead of executing it (browsers: Firefox and IE) No it's not. You don't have a functional VRML plugin for your browser, so it's trying to save the vrml data as a filed named the same as the cgi which is delivering the information to you. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA _______________________________________________ Nagios-users mailing list Nagios-users at 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 From az at whoever.org Fri Jun 9 15:01:31 2006 From: az at whoever.org (Az) Date: Fri, 09 Jun 2006 23:01:31 +1000 Subject: shutting down machines with Nagios In-Reply-To: <200606081835.k58IZGg0026941@knockout.kirtland.af.mil> References: <200606081835.k58IZGg0026941@knockout.kirtland.af.mil> Message-ID: <4489712B.4040407@whoever.org> Johnston Michael J Contr AFRL/DES wrote: > We've recently had a problem with heat in a server room. I got messages > that the room was overheating, but by the time I got there the room was > really hot and all the machines were running. I'd take a step back and look at why the room was overheating. Monitoring ambient room temperature isn't fool proof. I'd be looking for a way to monitor the aircon kit itself. Most environmental monitoring systems have dry contact features as well as temp/humidity. Some high end aircon units have monitoring built in (eg APC FM40). You could probably build an air flow dry contact type of trigger... or have some relays installed in your air con tied to the fans and/or compressors. Or you chould just measure the air temp just inside your air con ducts. That temperature drop on a failure is more sudden than ambient room temp changes. Knowing the roof temp in your data centre has gone up 5 degrees is all good and well, but the start of the problem might have started 5..10..15 minutes ago. That's time you can't get back to address the real issue. :) _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carl.Friend at mathworks.com Fri Jun 9 16:48:04 2006 From: Carl.Friend at mathworks.com (Carl Friend) Date: Fri, 9 Jun 2006 10:48:04 -0400 Subject: Variable notifications based on severity for a single service instance? Message-ID: Greetings, Quick question, and it may be in the doco but I missed it: "Is it possible for a single service instance to send an e-mail on a WARNING condition and a page plus e-mail on a CRITICAL condition?" Would this require two separate service instances with different "notification_options"? I'd really like to avoid having two service definitions for each service I want variable notifications for. Many thanks! +----------------------------------------------+-----------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +-----------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +----------------------------------------------+-----------------------+ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From traxplayer at gmail.com Fri Jun 9 16:41:06 2006 From: traxplayer at gmail.com (=?ISO-8859-1?Q?Martin_M=F8ller_Pedersen?=) Date: Fri, 9 Jun 2006 16:41:06 +0200 Subject: check_disk strange on solaris Message-ID: Hi, I have problems with the check_disk plugin on solaris. -bash-3.00# /usr/local/nagios/libexec/check_disk -w 8 -c 4 -p / INPUT ERROR: C_IDFP (30921422145122913280688628035811224757608221345310986534862865070038080057393929234440030082558635962973836854288896764936583266668058930356980333691804700554233010460325310262775727685686679067115016275490894316823635502904258885990887044258247524818658732802048.000000) should be less than W_IDFP (0.0) and both should be between zero and 100 percent, inclusive for / check_disk: Could not parse arguments Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] bash-3.00# /usr/local/nagios/libexec/check_disk --version check_disk (nagios-plugins 1.4.3) 1.64 But on my linux-box it works: sirius:/home/mm/nrpe-2.5.1# /usr/lib/nagios/plugins/check_disk -w 8 -c 4 -p / DISK OK - free space: / 23761 MB (91%);| /=2337MB;26089;26093;0;26097 sirius:/home/mm/nrpe-2.5.1# /usr/lib/nagios/plugins/check_disk --version check_disk (nagios-plugins 1.4) 1.56 Strange ? Regards Martin _______________________________________________ Nagios-users mailing list Nagios-users at 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 From egenco at communityconnect.com Fri Jun 9 17:08:35 2006 From: egenco at communityconnect.com (Elizabeth Genco) Date: Fri, 9 Jun 2006 11:08:35 -0400 Subject: Inheritance and templating question Message-ID: Hello, everyone - Regarding Nagios 2.0, is there a way to template-ize a bunch of services in a bundle of sorts and apply that to a host? We have a lot of service checks that will be applied to many hosts across the board; instead of adding each host to each service check (and updating the files N times for N services every time I add a host), I'd rather define one object that encompasses many services and just apply *that* to each host (updating the file in 1 place per host). Is there a way to do this? For example, it'd be nice to be able to create something, a service_bundle (my term) perhaps, that brings together a bunch of checks; something like this: define service_bundle { name linux_box use_services check_ping,check_ssh,check_stuffs,check_zoinks,etc,etc } define service_bundle { name webserver use_services check_http,check_whatevs } And then: define host { name cc51-91 use webserver } Seems like this should be something I can do; however, I've been reading the documentation: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html The list of objects that can be template-ized is there, and the closest thing is service groups, but can I actually apply these to hosts? I was looking at the template tricks docs too, and while there's some good stuff there (yay, wildcards!), it's not quite what we want. I'm probably missing something obvious... Thanks for your time. Elizabeth Genco Senior Systems Administrator Community Connect, Inc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mtiernan at draper.com Fri Jun 9 17:26:23 2006 From: mtiernan at draper.com (Tiernan, Michael C.) Date: Fri, 09 Jun 2006 11:26:23 -0400 Subject: check_disk strange on solaris In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Martin M?ller Pedersen > Sent: Friday, June 09, 2006 10:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_disk strange on solaris > > Hi, > I have problems with the check_disk plugin on solaris. It also fails like this on SGI. I've been tracking it down on both systems and I've figured out that the problem seems to be where where the scanf is called to read in the value of the argument as given. I've been hacking at this to try and see if it's consistent on both. (It seems to be but I wanted to make sure before I opened my mouth.) _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ben.grommes at visionshareinc.com Fri Jun 9 17:42:08 2006 From: ben.grommes at visionshareinc.com (Ben Grommes) Date: Fri, 9 Jun 2006 10:42:08 -0500 Subject: how to get 1 notification when a volatile service becomes stale? Message-ID: <200606091542.k59Fg8k13190@lists.visionshareinc.com> My goal is to generate 1 notification when a volatile service becomes stale. The service is updated with passive service checks but if the passive service checks fails to be submitted on schedule I don't want repeated notifications for every normal_check_interval, just the first time. Normally I could set the notification_interval property to 0, but for volatile services this has no effect. Is there some other way to achieve my goal? _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kylet at panix.com Fri Jun 9 17:59:30 2006 From: kylet at panix.com (Kyle Tucker) Date: Fri, 9 Jun 2006 11:59:30 -0400 (EDT) Subject: Variable notifications based on severity for a single service instance? In-Reply-To: References: Message-ID: <200606091559.k59FxUK17516@panix2.panix.com> > > "Is it possible for a single service instance to send an e-mail > on a WARNING condition and a page plus e-mail on a CRITICAL condition?" > > Would this require two separate service instances with different > "notification_options"? I'd really like to avoid having two service > definitions for each service I want variable notifications for. Break your notification command out from miscommands.cfg into a script and do the logic there. if [ $SERVICESTATE = "WARNING" ] then printf .... | mailx -s ... $CONTACTEMAIL elif [ $SERVICESTATE = "CRITICAL " ] then printf .... | mailx -s ... $CONTACTEPAGER else ... fi You'll have to write the logic for what service checks you do this on. I put my notifications scripts and do all kinds of decisions there, like dropping notifications for messages with certain output, like "service is stale" amond others. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Fri Jun 9 18:24:42 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 9 Jun 2006 12:24:42 -0400 Subject: Variable notifications based on severity for asingle service instance? In-Reply-To: References: Message-ID: I use two contacts: one for e-mail alerts, and one for pages. The pager alert receives critical and recovery warnings, and the mail contact receives warning, critical and recovery. > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Carl Friend > Sent: Friday, June 09, 2006 7:48 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Variable notifications based on > severity for asingle service instance? > > Greetings, > > Quick question, and it may be in the doco but I missed it: > > "Is it possible for a single service instance to send an > e-mail on a WARNING condition and a page plus e-mail on a > CRITICAL condition?" > > Would this require two separate service instances with > different "notification_options"? I'd really like to avoid > having two service definitions for each service I want > variable notifications for. > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Fri Jun 9 18:35:32 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 9 Jun 2006 12:35:32 -0400 Subject: Inheritance and templating question In-Reply-To: References: Message-ID: Create a hostgroup and apply the services to that group. Then all you need to do is make sure new hosts belong to the right hostgroup. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Elizabeth Genco Sent: Friday, June 09, 2006 8:09 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Inheritance and templating question Regarding Nagios 2.0, is there a way to template-ize a bunch of services in a bundle of sorts and apply that to a host? We have a lot of service checks that will be applied to many hosts across the board; instead of adding each host to each service check (and updating the files N times for N services every time I add a host), I'd rather define one object that encompasses many services and just apply *that* to each host (updating the file in 1 place per host). Is there a way to do this? _______________________________________________ Nagios-users mailing list Nagios-users at 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 From R.E.Bernard at bcs.org.uk Fri Jun 9 18:33:36 2006 From: R.E.Bernard at bcs.org.uk (Robert Bernard) Date: Fri, 09 Jun 2006 17:33:36 +0100 Subject: Missing statusmap.cgi Message-ID: <4489B0F0.11329.AB6D29BE@localhost> Thanks for you help No statusmap.cgi compiled solution: ==================================== have a look on FAQ Number 55. http://nagios.org/faqs/viewfaq.php?faq_id=55 Thanks to JL I didn't look back up the configure output :-( 3-D Status map solution: ======================== For the 3-D Status Map option, you'll have to have the appropriate plugin installed... If you do have a VRML viewer installed, then there's something wrong on the webserver side of things, and it's not set up correctly to be serving the .cgi as an actual CGI file. To determine if you have the correct plugin, try this page: http://cic.nist.gov/vrml/vbdetect.html That will check to see if you have a VRML viewer, and it has a few recommendations for a viewer as well. (For a Windows machine, I would recommend Cortona, only because I've used it before without a problem). :) Thanks to DF > I recently built version 2.4 on a RedHat ES4 box and it seems that > statusmap.cgi is missing. I have ./cgi/statusmap.c and > ./html/stylesheets/statusmap.css . > > The configure and make completed ok. > > Also the "3-D Status Map" option from the browser interface > tries to download > statuswrl.cgi instead of executing it (browsers: Firefox and IE) ----------------- Version info: Nagios Version 2.4 Nagios Plugins 1.4.3 Server: Red Hat Enterprise Linux ES release 4 Clients: using xinetd and nrpe v2.5.1 Clients: Red Hat Enterprise Linux ES release 3 Thanks for your help Robert Bernard _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tavis.lists at galaxytelecom.net Sat Jun 10 03:55:12 2006 From: tavis.lists at galaxytelecom.net (Tavis P) Date: Fri, 09 Jun 2006 18:55:12 -0700 Subject: EPN and Perlcache With Debian Sarge Message-ID: <448A2680.9050407@galaxytelecom.net> I've not been able to compile EPN or Perlcache support into nagios 2(.3.1 or 4) on a Debian Sarge system The following error is encountered I wasn't able to find any information about the supported perl/gcc configurations to get EPN to work, does anyone have an idea about whats going on here? gcc -L/var/jails/mysqld.1/mysql-build/lib -L/opt/radiusclient-ng/lib -O2 -march=pentium4 -I/var/jails/mysqld.1/mysql-build/include -I/opt/radiusclient-ng/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H -DNSCORE -c -o perlxsi.o perlxsi.c gcc -L/var/jails/mysqld.1/mysql-build/lib -L/opt/radiusclient-ng/lib -O2 -march=pentium4 -I/var/jails/mysqld.1/mysql-build/include -I/opt/radiusclient-ng/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o perlxsi.o -Wl,-export-dynamic -L/var/jails/mysqld.1/mysql-build/lib -L/opt/radiusclient-ng/lib -Wl,-E -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -ldl -lm -lpthread -lc -lcrypt -lm -lpthread -lltdl checks.o(.text+0x26): In function `run_service_check': : undefined reference to `PL_thr_key' checks.o(.text+0x50f): In function `run_service_check': : undefined reference to `Perl_push_scope' checks.o(.text+0x51e): In function `run_service_check': : undefined reference to `Perl_save_int' checks.o(.text+0x575): In function `run_service_check': : undefined reference to `Perl_newSVpv' checks.o(.text+0x581): In function `run_service_check': : undefined reference to `Perl_sv_2mortal' checks.o(.text+0x5ba): In function `run_service_check': : undefined reference to `Perl_newSVpv' checks.o(.text+0x5c6): In function `run_service_check': : undefined reference to `Perl_sv_2mortal' checks.o(.text+0x5ff): In function `run_service_check': : undefined reference to `Perl_newSVpv' checks.o(.text+0x60b): In function `run_service_check': : undefined reference to `Perl_sv_2mortal' checks.o(.text+0x644): In function `run_service_check': : undefined reference to `Perl_newSVpv' checks.o(.text+0x650): In function `run_service_check': : undefined reference to `Perl_sv_2mortal' checks.o(.text+0x679): In function `run_service_check': : undefined reference to `Perl_call_pv' checks.o(.text+0x77f): In function `run_service_check': : undefined reference to `Perl_newSVsv' checks.o(.text+0x7a1): In function `run_service_check': : undefined reference to `Perl_pop_scope' checks.o(.text+0xa95): In function `run_service_check': : undefined reference to `Perl_push_scope' checks.o(.text+0xaa4): In function `run_service_check': : undefined reference to `Perl_save_int' checks.o(.text+0xafb): In function `run_service_check': : undefined reference to `Perl_newSVpv' checks.o(.text+0xb07): In function `run_service_check': : undefined reference to `Perl_sv_2mortal' checks.o(.text+0xb40): In function `run_service_check': : undefined reference to `Perl_newSVpv' checks.o(.text+0xb4c): In function `run_service_check': : undefined reference to `Perl_sv_2mortal' checks.o(.text+0xbae): In function `run_service_check': : undefined reference to `Perl_newSVpv' checks.o(.text+0xbba): In function `run_service_check': : undefined reference to `Perl_sv_2mortal' checks.o(.text+0xbe3): In function `run_service_check': : undefined reference to `Perl_call_pv' checks.o(.text+0xc6f): In function `run_service_check': : undefined reference to `Perl_pop_scope' checks.o(.text+0xcee): In function `run_service_check': : undefined reference to `Perl_free_tmps' checks.o(.text+0xcff): In function `run_service_check': : undefined reference to `Perl_sv_2iv' checks.o(.text+0xd22): In function `run_service_check': : undefined reference to `Perl_sv_2pv_flags' checks.o(.text+0xd47): In function `run_service_check': : undefined reference to `Perl_stack_grow' checks.o(.text+0xd6a): In function `run_service_check': : undefined reference to `Perl_stack_grow' checks.o(.text+0xd8d): In function `run_service_check': : undefined reference to `Perl_stack_grow' checks.o(.text+0xdb6): In function `run_service_check': : undefined reference to `Perl_stack_grow' checks.o(.text+0xdc9): In function `run_service_check': : undefined reference to `Perl_markstack_grow' checks.o(.text+0xdfb): In function `run_service_check': : undefined reference to `Perl_free_tmps' checks.o(.text+0xe43): In function `run_service_check': : undefined reference to `Perl_sv_2bool' checks.o(.text+0xe6e): In function `run_service_check': : undefined reference to `Perl_stack_grow' checks.o(.text+0xe91): In function `run_service_check': : undefined reference to `Perl_stack_grow' checks.o(.text+0xeb4): In function `run_service_check': : undefined reference to `Perl_stack_grow' checks.o(.text+0xedd): In function `run_service_check': : undefined reference to `Perl_stack_grow' checks.o(.text+0xef0): In function `run_service_check': : undefined reference to `Perl_markstack_grow' utils.o(.text+0x450c): In function `my_system': : undefined reference to `PL_thr_key' utils.o(.text+0x468d): In function `my_system': : undefined reference to `Perl_push_scope' utils.o(.text+0x469c): In function `my_system': : undefined reference to `Perl_save_int' utils.o(.text+0x46ee): In function `my_system': : undefined reference to `Perl_newSVpv' utils.o(.text+0x46fa): In function `my_system': : undefined reference to `Perl_sv_2mortal' utils.o(.text+0x4729): In function `my_system': : undefined reference to `Perl_newSVpv' utils.o(.text+0x4735): In function `my_system': : undefined reference to `Perl_sv_2mortal' utils.o(.text+0x4764): In function `my_system': : undefined reference to `Perl_newSVpv' utils.o(.text+0x4770): In function `my_system': : undefined reference to `Perl_sv_2mortal' utils.o(.text+0x479f): In function `my_system': : undefined reference to `Perl_newSVpv' utils.o(.text+0x47ab): In function `my_system': : undefined reference to `Perl_sv_2mortal' utils.o(.text+0x47c7): In function `my_system': : undefined reference to `Perl_call_pv' utils.o(.text+0x4888): In function `my_system': : undefined reference to `Perl_newSVsv' utils.o(.text+0x48a4): In function `my_system': : undefined reference to `Perl_pop_scope' utils.o(.text+0x4a19): In function `my_system': : undefined reference to `Perl_push_scope' utils.o(.text+0x4a28): In function `my_system': : undefined reference to `Perl_save_int' utils.o(.text+0x4a7a): In function `my_system': : undefined reference to `Perl_newSVpv' utils.o(.text+0x4a86): In function `my_system': : undefined reference to `Perl_sv_2mortal' utils.o(.text+0x4ab5): In function `my_system': : undefined reference to `Perl_newSVpv' utils.o(.text+0x4ac1): In function `my_system': : undefined reference to `Perl_sv_2mortal' utils.o(.text+0x4b0b): In function `my_system': : undefined reference to `Perl_newSVpv' utils.o(.text+0x4b17): In function `my_system': : undefined reference to `Perl_sv_2mortal' utils.o(.text+0x4b33): In function `my_system': : undefined reference to `Perl_call_pv' utils.o(.text+0x4ba7): In function `my_system': : undefined reference to `Perl_pop_scope' utils.o(.text+0x4bff): In function `my_system': : undefined reference to `Perl_free_tmps' utils.o(.text+0x4c0d): In function `my_system': : undefined reference to `Perl_sv_2iv' utils.o(.text+0x4c30): In function `my_system': : undefined reference to `Perl_sv_2pv_flags' utils.o(.text+0x4c4f): In function `my_system': : undefined reference to `Perl_stack_grow' utils.o(.text+0x4c6e): In function `my_system': : undefined reference to `Perl_stack_grow' utils.o(.text+0x4c8d): In function `my_system': : undefined reference to `Perl_stack_grow' utils.o(.text+0x4cac): In function `my_system': : undefined reference to `Perl_stack_grow' utils.o(.text+0x4cbb): In function `my_system': : undefined reference to `Perl_markstack_grow' utils.o(.text+0x512b): In function `my_system': : undefined reference to `Perl_free_tmps' utils.o(.text+0x5173): In function `my_system': : undefined reference to `Perl_sv_2bool' utils.o(.text+0x519e): In function `my_system': : undefined reference to `Perl_stack_grow' utils.o(.text+0x51bd): In function `my_system': : undefined reference to `Perl_stack_grow' utils.o(.text+0x51dc): In function `my_system': : undefined reference to `Perl_stack_grow' utils.o(.text+0x51fb): In function `my_system': : undefined reference to `Perl_stack_grow' utils.o(.text+0x520a): In function `my_system': : undefined reference to `Perl_markstack_grow' utils.o(.text+0x70f9): In function `init_embedded_perl': : undefined reference to `PL_sigfpe_saved' utils.o(.text+0x70fe): In function `init_embedded_perl': : undefined reference to `perl_alloc' utils.o(.text+0x710f): In function `init_embedded_perl': : undefined reference to `perl_construct' utils.o(.text+0x713d): In function `init_embedded_perl': : undefined reference to `perl_parse' utils.o(.text+0x7157): In function `init_embedded_perl': : undefined reference to `perl_run' utils.o(.text+0x71c6): In function `deinit_embedded_perl': : undefined reference to `perl_destruct' utils.o(.text+0x71d3): In function `deinit_embedded_perl': : undefined reference to `perl_free' utils.o(.text+0x71da): In function `deinit_embedded_perl': : undefined reference to `PL_op_mutex' utils.o(.text+0x7209): In function `deinit_embedded_perl': : undefined reference to `Perl_croak_nocontext' perlxsi.o(.text+0x25): In function `xs_init': : undefined reference to `Perl_newXS' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x41): In function `dl_generic_private_init': : undefined reference to `Perl_hv_fetch' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x57): In function `dl_generic_private_init': : undefined reference to `Perl_newSV' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x7b): In function `dl_generic_private_init': : undefined reference to `Perl_sv_setuv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x96): In function `dl_generic_private_init': : undefined reference to `Perl_newSVpvn' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x121): In function `SaveError': : undefined reference to `Perl_hv_fetch' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x14a): In function `SaveError': : undefined reference to `Perl_vmess' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x17b): In function `SaveError': : undefined reference to `Perl_sv_setpvn' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x19f): In function `SaveError': : undefined reference to `Perl_sv_2pv_flags' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x1af): In function `SaveError': : undefined reference to `Perl_sv_2uv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x284): In function `XS_DynaLoader_dl_load_file': : undefined reference to `Perl_hv_fetch' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x2cc): In function `XS_DynaLoader_dl_load_file': : undefined reference to `Perl_sv_newmortal' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x2f2): In function `XS_DynaLoader_dl_load_file': : undefined reference to `Perl_sv_setiv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x338): In function `XS_DynaLoader_dl_load_file': : undefined reference to `Perl_sv_2uv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x349): In function `XS_DynaLoader_dl_load_file': : undefined reference to `Perl_sv_2iv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x35a): In function `XS_DynaLoader_dl_load_file': : undefined reference to `Perl_sv_2pv_nolen' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x371): In function `XS_DynaLoader_dl_load_file': : undefined reference to `Perl_croak' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x429): In function `XS_DynaLoader_dl_unload_file': : undefined reference to `Perl_sv_setiv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x458): In function `XS_DynaLoader_dl_unload_file': : undefined reference to `Perl_mg_set' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x484): In function `XS_DynaLoader_dl_unload_file': : undefined reference to `Perl_sv_newmortal' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x498): In function `XS_DynaLoader_dl_unload_file': : undefined reference to `Perl_sv_2iv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x4af): In function `XS_DynaLoader_dl_unload_file': : undefined reference to `Perl_croak' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x541): In function `XS_DynaLoader_dl_find_symbol': : undefined reference to `Perl_sv_newmortal' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x567): In function `XS_DynaLoader_dl_find_symbol': : undefined reference to `Perl_sv_setiv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x5a8): In function `XS_DynaLoader_dl_find_symbol': : undefined reference to `Perl_sv_2pv_nolen' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x5b9): In function `XS_DynaLoader_dl_find_symbol': : undefined reference to `Perl_sv_2iv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x5d6): In function `XS_DynaLoader_dl_find_symbol': : undefined reference to `Perl_croak' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x642): In function `XS_DynaLoader_dl_undef_symbols': : undefined reference to `Perl_croak' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x6fb): In function `XS_DynaLoader_dl_install_xsub': : undefined reference to `Perl_newXS' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x707): In function `XS_DynaLoader_dl_install_xsub': : undefined reference to `Perl_newRV' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x713): In function `XS_DynaLoader_dl_install_xsub': : undefined reference to `Perl_sv_2mortal' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x738): In function `XS_DynaLoader_dl_install_xsub': : undefined reference to `Perl_sv_2pv_nolen' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x748): In function `XS_DynaLoader_dl_install_xsub': : undefined reference to `Perl_sv_2iv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x759): In function `XS_DynaLoader_dl_install_xsub': : undefined reference to `Perl_sv_2pv_nolen' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x776): In function `XS_DynaLoader_dl_install_xsub': : undefined reference to `Perl_croak' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x805): In function `XS_DynaLoader_dl_error': : undefined reference to `Perl_hv_fetch' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x82b): In function `XS_DynaLoader_dl_error': : undefined reference to `Perl_sv_setpv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x868): In function `XS_DynaLoader_dl_error': : undefined reference to `Perl_mg_set' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x878): In function `XS_DynaLoader_dl_error': : undefined reference to `Perl_sv_2uv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x884): In function `XS_DynaLoader_dl_error': : undefined reference to `Perl_sv_newmortal' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x89e): In function `XS_DynaLoader_dl_error': : undefined reference to `Perl_croak' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x9e6): In function `boot_DynaLoader': : undefined reference to `Perl_croak' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xa32): In function `boot_DynaLoader': : undefined reference to `Perl_newXS' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xa58): In function `boot_DynaLoader': : undefined reference to `Perl_newXS' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xa7b): In function `boot_DynaLoader': : undefined reference to `Perl_newXS' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xa9e): In function `boot_DynaLoader': : undefined reference to `Perl_newXS' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xac1): In function `boot_DynaLoader': : undefined reference to `Perl_newXS' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xae7): more undefined references to `Perl_newXS' follow /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xb3e): In function `boot_DynaLoader': : undefined reference to `Perl_sv_2pv_flags' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xb7a): In function `boot_DynaLoader': : undefined reference to `Perl_form' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xb8f): In function `boot_DynaLoader': : undefined reference to `Perl_get_sv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xbc6): In function `boot_DynaLoader': : undefined reference to `Perl_form' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xbdb): In function `boot_DynaLoader': : undefined reference to `Perl_get_sv' /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xc05): In function `boot_DynaLoader': : undefined reference to `Perl_sv_2pv_flags' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/usr/src/daemon/nagios-2.4/base' make: *** [all] Error 2 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rns3 at psu.edu Sat Jun 10 05:17:37 2006 From: rns3 at psu.edu (Robert Snyder) Date: Fri, 9 Jun 2006 23:17:37 -0400 Subject: missing archives directory Message-ID: <20060610031737.29021@studentservices.outreach.psu.edu> Hi, I am running nagios 2.2 on OS X 10.4.6 (Darwinports). When I try to view error history I get the following error: Error: Cannot open log file '/opt/local/var/nagios/archives/ nagios-06-09-2006-00.log' for reading! and when I cd to /opt/local/var/nagios there is no archives directory. What am I doing wrong? Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjd at compudentsystems.com Sun Jun 11 08:28:27 2006 From: bjd at compudentsystems.com (Brian J. Dent) Date: Sat, 10 Jun 2006 23:28:27 -0700 Subject: Plug-ins missing Message-ID: <000001c68d20$402ba5b0$800101df@AUGUSTINE> I've built a clean Fedora box to test the 2.4 build on. (My production machine is running 1.2) I downloaded and compiled both Nagios and the plugins. All appeared fine. However, something is wrong with the plugin as I'm getting a 127 return code that says the plugin may be missing. They are there in the /usr/local/nagios/libexec/ directory. I must be missing something simple. Version info: Nagios Version 2.4 Nagios Plugins 1.4.3 Fedora Core 5 Regards, bjd ~Brian J. Dent CompuDent Systems v (831) 649-2575, c (831) 224-2875, f (831) 649-0948 bjd at compudentsystems.com http://www.compudentsystems.com NOTE: This e-mail is confidential and is intended only for the recipient(s) listed. Unauthorized use or disclosure of this e-mail or any of the information in it is strictly prohibited. If you are not a listed recipient or someone authorized to receive e-mail on behalf of a listed recipient, please reply to the sender that the e-mail was misdirected and delete the e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Sun Jun 11 16:52:18 2006 From: marc at ena.com (Marc Powell) Date: Sun, 11 Jun 2006 09:52:18 -0500 Subject: Plug-ins missing Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Brian J. Dent > Sent: Sunday, June 11, 2006 1:28 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plug-ins missing > > I've built a clean Fedora box to test the 2.4 build on. (My production > machine is running 1.2) I downloaded and compiled both Nagios and the > plugins. All appeared fine. However, something is wrong with the plugin > as I'm getting a 127 return code that says the plugin may be missing. > They are there in the /usr/local/nagios/libexec/ directory. I must be > missing something simple. If you're using the $USER1$ macro in your command definitions for the path, verify that you have it defined correctly in resource.cfg and that you're including that file as a resource_file in nagios.cfg. i.e. $USER1$=/usr/local/nagios/libexec If that doesn't resolve your issue, please provide specific command definition examples, and ls -l of /usr/local/nagios/libexec. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Sun Jun 11 17:08:34 2006 From: marc at ena.com (Marc Powell) Date: Sun, 11 Jun 2006 10:08:34 -0500 Subject: missing archives directory Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Snyder > Sent: Friday, June 09, 2006 10:18 PM > To: Nagios Users > Subject: [Nagios-users] missing archives directory > > Hi, > > I am running nagios 2.2 on OS X 10.4.6 (Darwinports). > > When I try to view error history I get the following error: > > Error: Cannot open log file '/opt/local/var/nagios/archives/ > nagios-06-09-2006-00.log' for reading! > > and when I cd to /opt/local/var/nagios there is no archives directory. > > What am I doing wrong? It seems that whatever you used to install nagios either didn't create the archives directory or created it in a different place than is defined in nagios.cfg. See if it was created elsewhere with 'locate archives'. In both cases your historical data has almost certainly not been retained. You can always just create the directory -- mkdir -p /opt/local/var/nagios chmod 755 /opt/local/var/nagios chown : /opt/local/var/nagios -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From maca02 at atlas.cz Sun Jun 11 18:26:30 2006 From: maca02 at atlas.cz (Tomas Macek) Date: Sun, 11 Jun 2006 18:26:30 +0200 (CEST) Subject: Plug-ins missing In-Reply-To: <000001c68d20$402ba5b0$800101df@AUGUSTINE> References: <000001c68d20$402ba5b0$800101df@AUGUSTINE> Message-ID: I have seen this problem somewhere, when all the setting were fine (config files settings, plugins, commands - simply everything). The only thing that helped, was /etc/init.d/nagios restart instead of "reload". Incredible... :( On Sat, 10 Jun 2006, Brian J. Dent wrote: > I've built a clean Fedora box to test the 2.4 build on. (My production > machine is running 1.2) I downloaded and compiled both Nagios and the > plugins. All appeared fine. However, something is wrong with the plugin as > I'm getting a 127 return code that says the plugin may be missing. They are > there in the /usr/local/nagios/libexec/ directory. I must be missing > something simple. > > > > Version info: > > Nagios Version 2.4 > > Nagios Plugins 1.4.3 > > Fedora Core 5 > > > > > > Regards, > bjd > > ~Brian J. Dent > CompuDent Systems > > v (831) 649-2575, c (831) 224-2875, f (831) 649-0948 > bjd at compudentsystems.com > http://www.compudentsystems.com > > NOTE: This e-mail is confidential and is intended only for the recipient(s) > listed. Unauthorized use or disclosure of this e-mail or any of the > information in it is strictly prohibited. If you are not a listed recipient > or someone authorized to receive e-mail on behalf of a listed recipient, > please reply to the sender that the e-mail was misdirected and delete the > e-mail. Thank you. > > > > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gpoiret at altern.org Sun Jun 11 23:56:31 2006 From: gpoiret at altern.org (gpoiret at altern.org) Date: Sun, 11 Jun 2006 23:56:31 +0200 (CEST) Subject: retention state question Message-ID: <61243.213.41.173.208.1150062991.squirrel@www.altern.org> Hi, I have trouble with data retention, after change of nagios configuration / restart Nagios 2.x Just after restarting, it's an old state of each service/host which appears on web interface. I guess this behavior impacts also avaibility stats. The documentation specifies that state is saved just before the restart.. It's not the case in various installations I've made. Part of one of my nagios.cfg file : log_initial_states=1 retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 Part of one of my generic service template : retain_status_information 1 retain_nonstatus_information 1 The comment which presents the state_retention_file options in nagios.cfg file deals with a "preserve_state_information" option "# This file is used only if the preserve_state_information # variable is set to 1." What's that ? I have found no other reference to that option in the doc... To conclude, my 3 questions : - Have I miss something in my conf files ? (preserve_state_information var ?) - the use of reload script may be help, rather than the use of restart one. - > How to correct this bad behavior... Thanks a lot. Regards, G POIRET _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gpoiret at altern.org Mon Jun 12 00:06:07 2006 From: gpoiret at altern.org (gpoiret at altern.org) Date: Mon, 12 Jun 2006 00:06:07 +0200 (CEST) Subject: avaibility stats on Nagios server crash... Message-ID: <61271.213.41.173.208.1150063567.squirrel@www.altern.org> Hi, When the server which hosts nagios2.x crashes (for instance, electric cut), avaibility statistics are totally wrong, the stop period is not catch by nagios (the last state stored by Nagios is used to fill this time period...) > nothing appears in "Undetermined" section of statistics. Too bad. Do you have any solution to change this behavior ? Thanks. Regards, G. POIRET ********************************************* Part of one of my nagios.cfg file : log_initial_states=1 retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 Part of one of my generic service template : retain_status_information 1 retain_nonstatus_information 1 ************************************************* _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Mon Jun 12 01:13:40 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 12 Jun 2006 11:13:40 +1200 Subject: avaibility stats on Nagios server crash... In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90F2FE@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90F2FE@vxchange.vcr.auckland.ac.nz> Message-ID: <002d01c68dac$ad7a69d0$2b5cd882@UoA.auckland.ac.nz> > When the server which hosts nagios2.x crashes (for instance, > electric cut), avaibility statistics are totally wrong, the > stop period is not catch by nagios (the last state stored by > Nagios is used to fill this time > period...) > > nothing appears in "Undetermined" section of statistics. > Too bad. > > > Do you have any solution to change this behavior ? > Thanks. Put your Nagios server onto a UPS. That should igve it enough time to shut down gracefully. We have our Nagios on a failover linux-ha cluster with UPS and this works well. Steve _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aweiss at nz1.ibm.com Mon Jun 12 07:20:34 2006 From: aweiss at nz1.ibm.com (Alex Weiss) Date: Mon, 12 Jun 2006 17:20:34 +1200 Subject: Alex Weiss is out of the office. Message-ID: I will be out of the office starting 12/06/2006 and will not return until 31/07/2006. Urgent matters please contact Glen Sinclair or Steve Ellis. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Mon Jun 12 07:32:15 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 12 Jun 2006 07:32:15 +0200 (CEST) Subject: avaibility stats on Nagios server crash... In-Reply-To: <002d01c68dac$ad7a69d0$2b5cd882@UoA.auckland.ac.nz> References: <002d01c68dac$ad7a69d0$2b5cd882@UoA.auckland.ac.nz> Message-ID: On Mon, 12 Jun 2006, Steve Shipway wrote: > > When the server which hosts nagios2.x crashes (for instance, > > electric cut), avaibility statistics are totally wrong, the > > stop period is not catch by nagios (the last state stored by > > Nagios is used to fill this time > > period...) > > > nothing appears in "Undetermined" section of statistics. > > Too bad. > > > > Do you have any solution to change this behavior ? > > Put your Nagios server onto a UPS. That should igve it enough time to shut > down gracefully. We have our Nagios on a failover linux-ha cluster with UPS > and this works well. That would still not solve the issue where a hardware failure is at stake. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From R.Ford at pindar.com Mon Jun 12 09:01:51 2006 From: R.Ford at pindar.com (Rob Ford) Date: Mon, 12 Jun 2006 08:01:51 +0100 Subject: Rob Ford is out of the office. Message-ID: I will be out of the office starting 09/06/2006 and will not return until 13/06/2006. I will respond to your message when I return. *********************************************************************************** This e-mail and attachments are intended for the above name only and may be confidential. If they have come to you in error, you must take no action based on them, nor must copy or show them to anyone; please reply to this e-mail and report the error. Security warning: Please note that this e-mail has been created in the knowledge that the internet is not a one hundred percent secure communication medium. We advise that you understand and observe this lack of security when e-mailing us. Virus: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good practice the recipient should ensure they are actually virus free. If you have received this e-mail in error please notify: postmaster at pindar.com This message has been scanned for viruses by MailControl - www.mailcontrol.com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgombolaty at gmail.com Mon Jun 12 13:31:46 2006 From: mgombolaty at gmail.com (Mohamed Gombolaty) Date: Mon, 12 Jun 2006 13:31:46 +0200 Subject: Problems with Passive Service output Message-ID: <8208ceb00606120431o5466ca13yf07b7925506cf819@mail.gmail.com> Dear All, I am trying to make a distributed monitoring system, everyhting is going OK but the problem is the Output: comes always as '$OUTPU$' as it shows from the NSCA log, I am not sure why this comes like this it seems everybody is doing it the same way. I am using nagios 2.4 on both sides, if any body has a clue I will be gratefull. Thx MAG _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Randy.Weytens at ACNielsen.com Mon Jun 12 14:59:18 2006 From: Randy.Weytens at ACNielsen.com (Weytens, Randy J.) Date: Mon, 12 Jun 2006 07:59:18 -0500 Subject: Compiling nrpe and plugins on HP-UX 11.11 Message-ID: <0106C1B52C5A3D4A862044E60FCCF2A50390D184@acn001grbmsx01.enterprisenet.org> I cannot get nrpe or the plugins to compile correctly on HP-UX 11.11. I've tried numerous things such as setting compiler flags, make -i, and waving a magic wand. I am using gcc 3.4.3. What does compile only half works, like check_disk won't return performance data. nrpe hangs quite often, so I wrote a shell script to kill off nrpe processes running for more than 5 minutes. In some cases I've written my own scripts to handle the checks we're most interested in , such as check_procs and check_swap. I've also tried the depot files available on nagiosexchange, but those don't work either. Does anyone have suggestions? Thanks, Randy Weytens -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jknarr at i3archive.com Mon Jun 12 15:51:00 2006 From: jknarr at i3archive.com (Joshua Knarr) Date: Mon, 12 Jun 2006 09:51:00 -0400 Subject: CRITICAL - Plugin timed out while executing system call Message-ID: <9354D4BDAF29F24CAC3FAD740E5610C9E3B51F@i3aofficeserver.i3archive.local> Hello all, I'm running Version 2.3 (I know it's a minor-rev behind) and for the plugins (which are the latest version) I occasionally get "CRITICAL - Plugin timed out while executing system call". This happens when the box is under load, usually at night when we're doing a lot of processing over here. I would like -- instead of the nagios default to critical -- to have all the plugins default to UNKNOWN when the result is "Plugin times out when executing system call". Is there an easy way to accomplish this? Thanks, Joshua Knarr ***** Nagios ***** Notification Type: PROBLEM Service: App: Web Content check Host: One Of My Hosts(linux) Address: Some Hostname State: CRITICAL Date/Time: Mon Jun 12 08:52:47 EDT 2006 Additional Info: CRITICAL - Plugin timed out while executing system call _______________________________________________ Nagios-users mailing list Nagios-users at 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 From srineer at stablercompaniesinc.com Mon Jun 12 16:11:58 2006 From: srineer at stablercompaniesinc.com (Rineer, Scott R.) Date: Mon, 12 Jun 2006 10:11:58 -0400 Subject: timing Message-ID: <6224044CC9C56C4EA120CA6F64CFCB8611A85A@eiicvomail.easternind.com> is there a way to change how often a group of hosts get checked? i want one group to only be checked once every 30 minutes Scott R. Rineer. M.C.S.A, M.C.S.E, C.C.N.A. Network Administrator Stabler Companies Inc. 635 Lucknow Road Harrisburg PA, USA 17110 Phone (717) 236-9307 X 248 Mobile (717 571-9369 Fax (717) 236-1281 srineer at stablercompaniesinc.com http://www.stablercompaniesinc.com Registered Linux User #367666 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jun 12 17:18:36 2006 From: marc at ena.com (Marc Powell) Date: Mon, 12 Jun 2006 10:18:36 -0500 Subject: Problems with Passive Service output Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mohamed Gombolaty > Sent: Monday, June 12, 2006 6:32 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with Passive Service output > > Dear All, > > I am trying to make a distributed monitoring system, everyhting is > going OK but the problem is the Output: comes always as '$OUTPU$' as > it shows from the NSCA log, I am not sure why this comes like this it > seems everybody is doing it the same way. > > I am using nagios 2.4 on both sides, if any body has a clue I will be > gratefull. $OUTPU$ is not a valid macro, nor is $OUTPUT$ (which I assume you were going for) as of 2.0. The macro you are probably looking for is $SERVICEOUTPUT$. http://nagios.sourceforge.net/docs/2_0/whatsnew.html Changes and New Features 1. Macro Changes - Macros have undergone a major overhaul. You will have to update most of your command definitions to match the new macros. Most macros are now available as environment variables. Also, "on-demand" host and service macros have been added. See the documentation on macros for more information. http://nagios.sourceforge.net/docs/2_0/macros.html $SERVICEOUTPUT$ The text output from the last service check (i.e. "Ping OK"). -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jun 12 17:26:53 2006 From: marc at ena.com (Marc Powell) Date: Mon, 12 Jun 2006 10:26:53 -0500 Subject: timing Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rineer, Scott R. > Sent: Monday, June 12, 2006 9:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] timing > > > is there a way to change how often a group of hosts get checked? > i want one group to only be checked once every 30 minutes Set normal_check_interval in the service definitions to 30. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service normal_check_interval: This directive is used to define the number of "time units" to wait before scheduling the next "regular" check of the service. "Regular" checks are those that occur when the service is in an OK state or when the service is in a non-OK state, but has already been rechecked max_attempts number of times. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgombolaty at gmail.com Tue Jun 13 11:02:56 2006 From: mgombolaty at gmail.com (Mohamed Gombolaty) Date: Tue, 13 Jun 2006 11:02:56 +0200 Subject: Host dependency question Message-ID: <8208ceb00606130202j64f7afb4ua0b91147cba69b3@mail.gmail.com> Dear All, I am currently making host dependencies and I really want to make sure of the following points, as this will be a big one and I really wanna make it as short and simple as possible: - Will I have to write each host dependency on each router on the traceroute or will the dpendncy of the host on a router reachability, and then making the router dependant on another router will do the trick. (as far as I read the answer is no am I right in this) Thx MAG _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Tue Jun 13 11:28:57 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 13 Jun 2006 11:28:57 +0200 Subject: Host dependency question In-Reply-To: <8208ceb00606130202j64f7afb4ua0b91147cba69b3@mail.gmail.com> References: <8208ceb00606130202j64f7afb4ua0b91147cba69b3@mail.gmail.com> Message-ID: <18A98F62-FEA3-4FA0-9A23-CC65FC80281C@kilala.nl> On 13 Jun, 2006, at 11:02, Mohamed Gombolaty wrote: > - Will I have to write each host dependency on each router on the > traceroute or will the dpendncy of the host on a router reachability, > and then making the router dependant on another router will do the > trick. (as far as I read the answer is no am I right in this) If I recall correctly from reading the Nagios documentation regarding dependencies there -is- a way of inheriting the parent's dependency in such a way that the dependency also gets triggered if the parent's parent goes down. I don't know this stuff by heart though, so please re-read the appropriate part of the manual. This would save you a lot of typing :p Cheers! Thomas _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jedrzej at man.poznan.pl Tue Jun 13 11:41:10 2006 From: jedrzej at man.poznan.pl (Jedrzej Jajor) Date: Tue, 13 Jun 2006 11:41:10 +0200 Subject: check_disk strange on solaris In-Reply-To: References: Message-ID: <448E8836.2090508@man.poznan.pl> Hi, you are comparing different versions of the plugin. In 1.4.3 there is new feature to test i-node usage (--iwarning, --icritical options). I suppose the bug is in the "-p" parameter handling. If you look into the check_disk.c you can find four assingments around line 464. These are w_df, c_df, w_dfp, c_dfp, but there are no assignments for w_idfp and c_idfp, so these two structure members remain uninitialized. After adding se->w_idfp = w_idfp; se->c_idfp = c_idfp; and recompiling the plugin works fine for me. I suppose that assignments of w_idfp and c_idfp should be also added to "-x" and "-X" parameters processing, and around line 550. Regards, Jedrzej Martin M?ller Pedersen wrote: > Hi, > I have problems with the check_disk plugin on solaris. > > -bash-3.00# /usr/local/nagios/libexec/check_disk -w 8 -c 4 -p / > INPUT ERROR: C_IDFP > (30921422145122913280688628035811224757608221345310986534862865070038080057393929234440030082558635962973836854288896764936583266668058930356980333691804700554233010460325310262775727685686679067115016275490894316823635502904258885990887044258247524818658732802048.000000) > should be less than W_IDFP (0.0) and both should be between zero and > 100 percent, inclusive for / > check_disk: Could not parse arguments > Usage: check_disk -w limit -c limit [-p path | -x device] [-t > timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] > bash-3.00# /usr/local/nagios/libexec/check_disk --version > check_disk (nagios-plugins 1.4.3) 1.64 > > > But on my linux-box it works: > sirius:/home/mm/nrpe-2.5.1# /usr/lib/nagios/plugins/check_disk -w 8 -c 4 -p / > DISK OK - free space: / 23761 MB (91%);| /=2337MB;26089;26093;0;26097 > sirius:/home/mm/nrpe-2.5.1# /usr/lib/nagios/plugins/check_disk --version > check_disk (nagios-plugins 1.4) 1.56 > > Strange ? > > Regards > Martin > -- Jedrzej Jajor Network Services Department Poznan Supercomputing and Networking Center 10 Noskowskiego Str., 61-704 Poznan, Poland tel. +48 61 858 20 36 fax. +48 61 855 13 68 e-mail: jedrzej at man.poznan.pl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgombolaty at gmail.com Tue Jun 13 12:05:17 2006 From: mgombolaty at gmail.com (Mohamed Gombolaty) Date: Tue, 13 Jun 2006 12:05:17 +0200 Subject: Host dependency question In-Reply-To: <18A98F62-FEA3-4FA0-9A23-CC65FC80281C@kilala.nl> References: <8208ceb00606130202j64f7afb4ua0b91147cba69b3@mail.gmail.com> <18A98F62-FEA3-4FA0-9A23-CC65FC80281C@kilala.nl> Message-ID: <8208ceb00606130305u580b226br1f47ee4ffde5c523@mail.gmail.com> Dear Thomas, Thanks for the yip it really made me find something new. Will actually I found that Host dependency is not what I need but rather parent/child relationship is what will do my trick, by adding the routers as hosts and have the parent part added to the hosts config will make nagios follow the tree, and even more will make the status map reflect the relation ship. Thanks a million Thomas. Thx MAG On 6/13/06, Thomas Sluyter wrote: > On 13 Jun, 2006, at 11:02, Mohamed Gombolaty wrote: > > > - Will I have to write each host dependency on each router on the > > traceroute or will the dpendncy of the host on a router reachability, > > and then making the router dependant on another router will do the > > trick. (as far as I read the answer is no am I right in this) > > If I recall correctly from reading the Nagios documentation regarding > dependencies there -is- a way of inheriting the parent's dependency > in such a way that the dependency also gets triggered if the parent's > parent goes down. I don't know this stuff by heart though, so please > re-read the appropriate part of the manual. > > This would save you a lot of typing :p > > Cheers! > > > Thomas > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jedrzej at man.poznan.pl Tue Jun 13 13:46:54 2006 From: jedrzej at man.poznan.pl (Jedrzej Jajor) Date: Tue, 13 Jun 2006 13:46:54 +0200 Subject: check_disk strange on solaris In-Reply-To: <448E8836.2090508@man.poznan.pl> References: <448E8836.2090508@man.poznan.pl> Message-ID: <448EA5AE.2020201@man.poznan.pl> Hi, I've just found out that the CVS snapshot contains the fixed version. Regards, jj. Jedrzej Jajor wrote: > Hi, > > you are comparing different versions of the plugin. In 1.4.3 there is > new feature to test i-node usage (--iwarning, --icritical options). I > suppose the bug is in the "-p" parameter handling. If you look into the > check_disk.c you can find four assingments around line 464. These are > w_df, c_df, w_dfp, c_dfp, but there are no assignments for w_idfp and > c_idfp, so these two structure members remain uninitialized. After adding > se->w_idfp = w_idfp; > se->c_idfp = c_idfp; > and recompiling the plugin works fine for me. > I suppose that assignments of w_idfp and c_idfp should be also added to > "-x" and "-X" parameters processing, and around line 550. > > Regards, > Jedrzej > > Martin M?ller Pedersen wrote: >> Hi, >> I have problems with the check_disk plugin on solaris. >> >> -bash-3.00# /usr/local/nagios/libexec/check_disk -w 8 -c 4 -p / >> INPUT ERROR: C_IDFP >> (30921422145122913280688628035811224757608221345310986534862865070038080057393929234440030082558635962973836854288896764936583266668058930356980333691804700554233010460325310262775727685686679067115016275490894316823635502904258885990887044258247524818658732802048.000000) >> should be less than W_IDFP (0.0) and both should be between zero and >> 100 percent, inclusive for / >> check_disk: Could not parse arguments >> Usage: check_disk -w limit -c limit [-p path | -x device] [-t >> timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] >> bash-3.00# /usr/local/nagios/libexec/check_disk --version >> check_disk (nagios-plugins 1.4.3) 1.64 >> >> >> But on my linux-box it works: >> sirius:/home/mm/nrpe-2.5.1# /usr/lib/nagios/plugins/check_disk -w 8 -c 4 -p / >> DISK OK - free space: / 23761 MB (91%);| /=2337MB;26089;26093;0;26097 >> sirius:/home/mm/nrpe-2.5.1# /usr/lib/nagios/plugins/check_disk --version >> check_disk (nagios-plugins 1.4) 1.56 >> >> Strange ? >> >> Regards >> Martin >> > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From JoeRegular at gov.nl.ca Tue Jun 13 15:46:18 2006 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Tue, 13 Jun 2006 11:16:18 -0230 Subject: Anyone Using Nagiosweb? Message-ID: I'm trying to install NagiosWeb2-1.3 but when I try to run nagiosweb.sql against my empty database to set up the structure I get an error saying "ERROR 1050 at line 19: Table 'command' already exists" Does anyone have a solution to this error? Joe _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wilson at visi.com Tue Jun 13 20:04:43 2006 From: wilson at visi.com (Tim Wilson) Date: Tue, 13 Jun 2006 13:04:43 -0500 Subject: Connecting NRPE_NT and NSClient++ Message-ID: Hi all, We're in the process of setting up monitoring of our Windows servers here, and I'm having trouble wrapping my brain around the relationship between NRPE_NT and NSClient++. I've got both installed on a Windows server and running as services. I can run a basic 'check_nrpe' from our Linux server (the nagios box) to NRPE_NT and get a response from the Windows machine, but I'm stuck trying to get NRPE_NT to use one of the built-in NSClient++ checks. It's not clear how to get NRPE_NT to use one of the NSClient++ modules. Does anyone have an example they could share? On a related note, does anyone know why NSClient++ doesn't have a module called "CheckSystem.dll"? It's one of the ones listed on the wiki (http://nscplus.medin.name/index.php/CheckCommands), but it wasn't in the zip file I downloaded. Thanks. -Tim -- Tim Wilson Twin Cities, Minnesota, USA Educational technology guy, Linux and OS X fan, Grad. student, Daddy mailto: wilson at visi.com aim: tis270 blog: http://technosavvy.org _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jeremy.Pavleck at capella.edu Tue Jun 13 20:07:47 2006 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy D.) Date: Tue, 13 Jun 2006 13:07:47 -0500 Subject: Connecting NRPE_NT and NSClient++ Message-ID: <0F1A5F3993566D4883C596CB56E59B9A05F80E46@mspmail02.int.capella.lan> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Wilson Sent: Tuesday, June 13, 2006 1:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Connecting NRPE_NT and NSClient++ Hi all, We're in the process of setting up monitoring of our Windows servers here, and I'm having trouble wrapping my brain around the relationship between NRPE_NT and NSClient++. I've got both installed on a Windows server and running as services. I can run a basic 'check_nrpe' from our Linux server (the nagios box) to NRPE_NT and get a response from the Windows machine, but I'm stuck trying to get NRPE_NT to use one of the built-in NSClient++ checks. It's not clear how to get NRPE_NT to use one of the NSClient++ modules. Does anyone have an example they could share? On a related note, does anyone know why NSClient++ doesn't have a module called "CheckSystem.dll"? It's one of the ones listed on the wiki (http://nscplus.medin.name/index.php/CheckCommands), but it wasn't in the zip file I downloaded. Thanks. -Tim -- Tim Wilson Twin Cities, Minnesota, USA Educational technology guy, Linux and OS X fan, Grad. student, Daddy mailto: wilson at visi.com aim: tis270 blog: http://technosavvy.org _______________________________________________ Nagios-users mailing list Nagios-users at 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 Hey Tim, seems like we work in the same industry, in the same area - kudos. As for your question - I might not be reading it right, but you use check_nt for NSClient checks with nagios, it's part of the plugin package. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dschlecht at doit.nv.gov Tue Jun 13 20:17:28 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Tue, 13 Jun 2006 20:17:28 +0200 (CEST) Subject: External Commands time In-Reply-To: <20060606215617.2A3594F476B@desire.netways.de> References: <20060606215617.2A3594F476B@desire.netways.de> Message-ID: <20060613181728.ECD314F476B@desire.netways.de> Hi David Perhaps this is my mis-reading of the spec. It appears that there is no requiremenet for Nagios to intepret the time field as a start time. Some External Commands have explicit Start Time fields. Disable/En able notifications do not. Too Bad! - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=18950 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Tue Jun 13 20:46:03 2006 From: nagios at kilala.nl (Thomas Slutyer) Date: Tue, 13 Jun 2006 20:46:03 +0200 Subject: Connecting NRPE_NT and NSClient++ In-Reply-To: <0F1A5F3993566D4883C596CB56E59B9A05F80E46@mspmail02.int.capella.lan> References: <0F1A5F3993566D4883C596CB56E59B9A05F80E46@mspmail02.int.capella.lan> Message-ID: On 13 Jun, 2006, at 20:07, Pavleck, Jeremy D. wrote: > As for your question - I might not be reading it right, but you use > check_nt for NSClient checks with nagios, it's part of the plugin > package. As Jeremy started explaining: NRPEnt and NSClient are two separate pieces of kit that you can use separately. They don't work together... You use check_nrpe to talk to NRPEnt (which is what I prefer), or you use check_nt to talk to the NSClient service. * NRPEnt makes use of a config file similar to nrpe.cfg on UNIX to define the various commands. * NSClients makes use of a bunch of OS internal counters. It may not be much, but here's a "manual" I wrote for one of my previous clients to explain the difference between the two. It's been cleaned up so I won't be breaking any NDAs and such, but that mostly involves the installation instructions. Cheers! Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: NAGIOS-windows-plugins.pdf Type: application/pdf Size: 104937 bytes Desc: not available URL: -------------- next part -------------- -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From travisll at comfedcu.org Tue Jun 13 21:10:55 2006 From: travisll at comfedcu.org (Travis Llewellyn) Date: Tue, 13 Jun 2006 14:10:55 -0500 Subject: Connecting NRPE_NT and NSClient++ Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Tim, I would drop nrpe_nt on the Windows server because NSClient++ has its own built in nrpe client. On the linux box you can use either check_nt or check_nrpe. I use check_nrpe only I do not use check_nt for anything. Here is an example that I am using both on the Windows machine and the Linux box. Services.......... define service { hostgroup_name branch_servers service_description C Drive is_volatile 0 check_command CheckDriveSize!C:!50%!75% max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 } define service { hostgroup_name branch_servers service_description CPU is_volatile 0 check_command check_ncs_cpu!75!85 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 } End Services ............ Check Commands............ define command { command_name CheckDriveSize command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckDriveSize -a Drive=$ARG1$ ShowAll MaxWarn=$ARG2$ MaxCrit=$ARG3$ } define command { command_name check_ncs_cpu command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkCPU -a warn=$ARG1$ crit=$ARG2$ time=60m time=30m time=5m } End Commands....... Windows Configuration ...... I did not need to change much of this... Nsc.ini [modules] ;# NSCLIENT++ MODULES ;# A list with DLLs to load at startup. ; You will need to enable some of these for NSClient++ to work. ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ; * * ; * N O T I C E ! ! ! - Y O U H A V E T O E D I T T H I S * ; * * ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll ; ; CheckWMI IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS! ;CheckWMI.dll ; ; RemoteConfiguration IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS! ;RemoteConfiguration.dll [Settings] ;# OBFUSCATED PASSWORD ; This is the same as the password option but here you can store the password in an obfuscated manner. ; *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the ; password. Its just a bit harder to do it at first glance. ;obfuscated_password=Jw0KAUUdXlAAUwASDAAB ; ;# PASSWORD ; This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly. ;password=secret-password ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons. ; If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password). ;allowed_hosts=127.0.0.1 ; ;# USE THIS FILE ; Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 ; the registry will be used instead. use_file=1 [log] ;# LOG DEBUG ; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test) ;debug=1 ; ;# LOG FILE ; The file to print log statements to ;file=NSC.log ; ;# LOG DATE MASK ; The format to for the date/time part of the log entry written to file. ;date_mask=%Y-%m-%d %H:%M:%S [NSClient] ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon. ; If you leave this blank the global version will be used instead. ;allowed_hosts= ; ;# NSCLIENT PORT NUMBER ; This is the port the NSClientListener.dll will listen to. ;port=12489 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. ;bind_to_address= [Check System] ;# CPU BUFFER SIZE ; Can be anything ranging from 1s (for 1 second) to 10w for 10 weeks. Notice that a larger buffer will waste memory ; so don't use a larger buffer then you need (ie. the longest check you do +1). CPUBufferSize=2h ; ;# CHECK RESOLUTION ; The resolution to check values (currently only CPU). ; The value is entered in 1/10:th of a second and the default is 10 (which means ones every second) ;CheckResolution=10 [NRPE] ;# NRPE PORT NUMBER ; This is the port the NRPEListener.dll will listen to. port=5666 ; ;# COMMAND TIMEOUT ; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off. command_timeout=60 ; ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. allow_arguments=1 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;allow_nasty_meta_chars=0 ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NRPE deamon. ; If you leave this blank the global version will be used instead. allowed_hosts=10.1.9.29 End Windows....... I had to download an older version of nsclient++ to get the checksystem.dll I am not sure why they did not include it with the newer version. Travis Llewellyn Network Administrator Communication Federal Credit Union travisll at comfedcu.org - ------------------------------------------------------------------------- 2 Timothy 2:3 Suffer hardship with me, as a good soldier of Christ Jesus. - -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tim Wilson Posted At: Tuesday, June 13, 2006 1:05 PM Posted To: Nagios Lists Conversation: [Nagios-users] Connecting NRPE_NT and NSClient++ Subject: [Nagios-users] Connecting NRPE_NT and NSClient++ Hi all, We're in the process of setting up monitoring of our Windows servers here, and I'm having trouble wrapping my brain around the relationship between NRPE_NT and NSClient++. I've got both installed on a Windows server and running as services. I can run a basic 'check_nrpe' from our Linux server (the nagios box) to NRPE_NT and get a response from the Windows machine, but I'm stuck trying to get NRPE_NT to use one of the built-in NSClient++ checks. It's not clear how to get NRPE_NT to use one of the NSClient++ modules. Does anyone have an example they could share? On a related note, does anyone know why NSClient++ doesn't have a module called "CheckSystem.dll"? It's one of the ones listed on the wiki (http://nscplus.medin.name/index.php/CheckCommands), but it wasn't in the zip file I downloaded. Thanks. - -Tim - -- Tim Wilson Twin Cities, Minnesota, USA Educational technology guy, Linux and OS X fan, Grad. student, Daddy mailto: wilson at visi.com aim: tis270 blog: http://technosavvy.org _______________________________________________ Nagios-users mailing list Nagios-users at 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 -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.6 (Build 6060) iQEVAwUBRI8Nu6kF3FdG31XhAQjDfAgAh2l252ku2pAQgxl2W7ov2Uy1skZEOOZm zUZ2d9Zee9Nk2sWe3vAOIySATHzZrsdfMkbmmakvYdzX3s26ka3EsGAaXUo/A4Js bZyEx8zmdrlWPeqhpcAz8XixgwDMEBewA3ygJj2ZPJRi5P3tsQyb4IMox/XWDBEi 66M/XBEUizhgEAVOSBo0nMzGl+iPrnjH4WUVTdIz0uUS1ZoILKSO0zoRKpNIKzEf E165nVxkRs4Kcv3fgCksJiUzN8iVqcX2OW9IoK0tZM8+N1N0ijvtQphvrQGFjP31 vcAjQvG290aVCtKR0IHtellT2WY8pL9WEMNQPZ69xNYsdgkikFZ3yw== =kKAO -----END PGP SIGNATURE----- ----------------------------------------------------------------- This e-mail and the files transmitted with it are the property of the sender and/or its affiliates, are confidential, and are intended solely for use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender by replying to the e-mail you received and delete this message from your computer immediately. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From traxplayer at gmail.com Tue Jun 13 23:27:03 2006 From: traxplayer at gmail.com (=?ISO-8859-1?Q?Martin_M=F8ller_Pedersen?=) Date: Tue, 13 Jun 2006 23:27:03 +0200 Subject: check_disk strange on solaris In-Reply-To: <448EA5AE.2020201@man.poznan.pl> References: <448E8836.2090508@man.poznan.pl> <448EA5AE.2020201@man.poznan.pl> Message-ID: Thanks 1000x. I am back on track. Regards Martin On 6/13/06, Jedrzej Jajor wrote: > Hi, > > I've just found out that the CVS snapshot contains the fixed version. > > Regards, > jj. > > Jedrzej Jajor wrote: > > Hi, > > > > you are comparing different versions of the plugin. In 1.4.3 there is > > new feature to test i-node usage (--iwarning, --icritical options). I > > suppose the bug is in the "-p" parameter handling. If you look into the > > check_disk.c you can find four assingments around line 464. These are > > w_df, c_df, w_dfp, c_dfp, but there are no assignments for w_idfp and > > c_idfp, so these two structure members remain uninitialized. After adding > > se->w_idfp = w_idfp; > > se->c_idfp = c_idfp; > > and recompiling the plugin works fine for me. > > I suppose that assignments of w_idfp and c_idfp should be also added to > > "-x" and "-X" parameters processing, and around line 550. > > > > Regards, > > Jedrzej > > > > Martin M?ller Pedersen wrote: > >> Hi, > >> I have problems with the check_disk plugin on solaris. > >> > >> -bash-3.00# /usr/local/nagios/libexec/check_disk -w 8 -c 4 -p / > >> INPUT ERROR: C_IDFP > >> (30921422145122913280688628035811224757608221345310986534862865070038080057393929234440030082558635962973836854288896764936583266668058930356980333691804700554233010460325310262775727685686679067115016275490894316823635502904258885990887044258247524818658732802048.000000) > >> should be less than W_IDFP (0.0) and both should be between zero and > >> 100 percent, inclusive for / > >> check_disk: Could not parse arguments > >> Usage: check_disk -w limit -c limit [-p path | -x device] [-t > >> timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] > >> bash-3.00# /usr/local/nagios/libexec/check_disk --version > >> check_disk (nagios-plugins 1.4.3) 1.64 > >> > >> > >> But on my linux-box it works: > >> sirius:/home/mm/nrpe-2.5.1# /usr/lib/nagios/plugins/check_disk -w 8 -c 4 -p / > >> DISK OK - free space: / 23761 MB (91%);| /=2337MB;26089;26093;0;26097 > >> sirius:/home/mm/nrpe-2.5.1# /usr/lib/nagios/plugins/check_disk --version > >> check_disk (nagios-plugins 1.4) 1.56 > >> > >> Strange ? > >> > >> Regards > >> Martin > >> > > > > -- "All general statements are false." "If atheism is a religion, then not collecting stamps is a hobby." A: Fordi det ?ndrer r?kkef?lgen folk normalt kommunikerer p?. Q: Hvorfor er top-svar en d?rlig ting? A: Top-svar. Q: Hvad er det mest irriterende i e-mail? "We are all atheists about most of the gods that humanity has ever believed in. Some of us just go one god further." _______________________________________________ Nagios-users mailing list Nagios-users at 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 From radhiilu at yahoo.com Wed Jun 14 11:31:43 2006 From: radhiilu at yahoo.com (Radhika) Date: Wed, 14 Jun 2006 02:31:43 -0700 (PDT) Subject: check_snmp_mem.pl plugin snmp error Message-ID: <20060614093143.64051.qmail@web60719.mail.yahoo.com> Hi, I am trying configure the snmp server in my debian linux server to monitor memory,disk and cpu usage i have installed using the following #apt-get install snmpd I have not chaned any community all are default settings.Now i am trying to run the memory usage plug in using snmp i have down loaded from the below link http://www.manubulon.com/nagios/snmp_mem.html I am trying to run the following command ./check_snmp_mem.pl -H 172.20.3.1 -C public -w 90,90 -c 95,95 i am getting the following error ERROR: netsnmp : Received noSuchName(2) error-status at error-index 4. Can some one help me how to fix this problem Thanks for your help __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tom at ng23.net Wed Jun 14 13:37:11 2006 From: tom at ng23.net (Tom Brown) Date: Wed, 14 Jun 2006 12:37:11 +0100 Subject: Anyone Using Nagiosweb? In-Reply-To: References: Message-ID: <448FF4E7.5000209@ng23.net> > "ERROR 1050 at line 19: Table 'command' already exists" > > Does anyone have a solution to this error? are you sure your db is empty? Connect as the user you are running the sql as and see if there are any tables. If there are and you REALLY dont need them just remove the tables and start again. Seems to me that perhaps a failed install has left tables there. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.cantos at neopost.com Wed Jun 14 14:32:03 2006 From: s.cantos at neopost.com (Sebastien Cantos) Date: Wed, 14 Jun 2006 14:32:03 +0200 Subject: nagios and Dell DRAC Message-ID: <00fc01c68fae$8a4cac80$0202fea9@rese0001> Hi, I would like to monitor my DELL hardware using the snmptrap feature in the DRAC. I?ve seen documentation on how to make snmptrapd asynchronously notify nagios when a trap is received. I?m just a little bit confused with the DELL-DRAC-MIB and I would like to know if someone has done that before to help me understand which OID I have to monitor. Thanks in advance. Regards, Neopost Diva 127 avenue Joseph Pierre Boitelet BP50 84302 CAVAILLON Cedex FRANCE S?bastien, Cantos IT Manager s.cantos at neopost.com Phone: + 33 4 90 76 08 08 Fax: + 33 1 40 39 23 23 http://www.neopost.com The information contained in this message or any of its attachments is confidential and is intended for the exclusive use of the addressee. The information may also be legally privileged. The Internet cannot guarantee the integrity of this message. Neopost shall not therefore be liable for the message if modified. The views expressed may not be company policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this message in error, please contact postmaster.diva at neopost.com and then delete this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2315 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 360 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 227 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Wed Jun 14 15:20:43 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 14 Jun 2006 09:20:43 -0400 Subject: check_snmp_mem.pl plugin snmp error In-Reply-To: <20060614093143.64051.qmail@web60719.mail.yahoo.com> References: <20060614093143.64051.qmail@web60719.mail.yahoo.com> Message-ID: <44900D2B.4010903@verizon.net> Radhika wrote: > ./check_snmp_mem.pl -H 172.20.3.1 -C public -w 90,90 -c 95,95 > > i am getting the following error > > *ERROR: netsnmp : Received noSuchName(2) error-status at error-index 4.* You do have the configuration file snmpd.conf set up to have a read-only community name of public, right? It would look like in snmpd.conf. I'm not sure where Debian stores this, but in RHEL it's /etc/snmpd.conf. rocommunity public Also, is the service turned on and starting ok on the host, snmpd that is? Again, I'm not sure of the Debian commands, but on RHEL it would be service snmpd start and chkconfig snmpd on to make sure it starts on boot. Be careful posting your live IP address out in the open especially when you might have a read-write setup installed on the snmp host by accident. Others could do things to your server then. If you have to use the older version 1 or 2 snmp then I suggest changing the community string to something more difficult. Also, rememeber to only allow the configuration to be read-only. The most recent version of snmp supports v3, which allows some form of encryption to take place with changes of information. Max _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fmml at cedval.org Wed Jun 14 17:27:17 2006 From: fmml at cedval.org (Francois Meehan) Date: Wed, 14 Jun 2006 11:27:17 -0400 (EDT) Subject: Supressing notifications of services when host is down... Message-ID: <17862.204.101.172.146.1150298837.squirrel@www.cedvalinfo.com> Hi all, How can we supress notifications of services when the host they are running on is down? For example, we are receving "connection timeout" alerts for disk checks but the host is down. We should received only host down alerts. Are we obliged to use service-host dependencies configurations? Regards, Fran?ois _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 14 18:11:37 2006 From: marc at ena.com (Marc Powell) Date: Wed, 14 Jun 2006 11:11:37 -0500 Subject: Supressing notifications of services when host isdown... Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Francois Meehan > Sent: Wednesday, June 14, 2006 10:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Supressing notifications of services when host > isdown... > > Hi all, > > How can we supress notifications of services when the host they are > running on is down? > > For example, we are receving "connection timeout" alerts for disk checks > but the host is down. We should received only host down alerts. > > Are we obliged to use service-host dependencies configurations? Use a host check_command that returns a CRITICAL state when the host is down. http://nagios.sourceforge.net/docs/1_0/networkreachability.html "Monitoring Services on Down or Unreachable Hosts The main purpose of Nagios is to monitor services that run on or are provided by physical hosts or devices on your network. It should be obvious that if a host or device on your network goes down, all services that it offers will also go down with it. Similarly, if a host becomes unreachable, Nagios will not be able to monitor the services associated with that host. Nagios recognizes this fact and attempts to check for such a scenario when there are problems with a service. Whenever a service check results in a non-OK status level, Nagios will attempt to check and see if the host that the service is running on is "alive". Typically this is done by pinging the host and seeing if any response is received. If the host check commmand returns a non-OK state, Nagios assumes that there is a problem with the host. In this situation Nagios will "silence" all potential alerts for services running on the host and just notify the appropriate contacts that the host is down or unreachable. If the host check command returns an OK state, Nagios will recognize that the host is alive and will send out an alert for the service that is misbehaving." -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rns3 at psu.edu Wed Jun 14 20:10:13 2006 From: rns3 at psu.edu (Robert Snyder) Date: Wed, 14 Jun 2006 14:10:13 -0400 Subject: Re(2): Supressing notifications of services when host isdown... In-Reply-To: References: Message-ID: <20060614181013.14886@studentservices.outreach.psu.edu> >Use a host check_command that returns a CRITICAL state when the host is >down. > >http://nagios.sourceforge.net/docs/1_0/networkreachability.html Marc, What do you do if you are monitoring a service on a host that does not return a ping? I have am running a check_http on a box that does not return pings. So I am constantly getting notices that the host is down, even though the service is up. Here are my settings: define host{ use generic-host ; Name of host template to $ host_name tech.worldcampus.psu.edu alias WDHelpDeskwww address tech.worldcampus.psu.edu check_command check-host-alive max_check_attempts 10 checks_enabled 0 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins-group } define hostgroup{ hostgroup_name PSUWebNoPing alias PSU Web Servers # contact_groups admins-group members tech.worldcampus.psu.edu } define service{ use generic-service ; Name of service $ hostgroup_name ExternalWebServers,PSUWeb,PSUWebNoPin g,WDWeb,ODINWeb,CASEWeb,EvaluationWeb,MiscWeb service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins-group notification_interval 30 notification_period 24x7 notification_options w,u,c,r check_command check_http } The PSUWebNoPing hostgroup is not a listed on the check_ping service. But I still get host down notifications every two hours. Thanks. Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 14 20:46:35 2006 From: marc at ena.com (Marc Powell) Date: Wed, 14 Jun 2006 13:46:35 -0500 Subject: Re(2): Supressing notifications of services when host isdown... Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Snyder > Sent: Wednesday, June 14, 2006 1:10 PM > To: Nagios Users > Subject: [Nagios-users] Re(2): Supressing notifications of services when > host isdown... > > > >Use a host check_command that returns a CRITICAL state when the host is > >down. > > > >http://nagios.sourceforge.net/docs/1_0/networkreachability.html > > Marc, > > What do you do if you are monitoring a service on a host that does not > return a ping? I have am running a check_http on a box that does not > return pings. So I am constantly getting notices that the host is down, > even though the service is up. Here are my settings: The simple answer is to change the host check_command to be something that _does_ indicate when the host is really down, either directly or by proxy. If possible pick something unrelated the service checks for the host check_command (listening on port 22 for linux or 139 for windows for example). Iff the only thing you can check on that host remotely is whether your web server is answering then make check_http your host check command as well. The unfortunate side effect in that case is that you can't really tell between a web server crash or if the host is really down. [config chopped] > > The PSUWebNoPing hostgroup is not a listed on the check_ping service. > > But I still get host down notifications every two hours. > Your host definition does have checks (active and on-demand) disabled via 'checks_enabled 0' but you're still receiving host notifications. That indicates to me that either nagios wasn't restarted after making the config change (1.x) or that you may have multiple nagios daemons running at the same time (1.x and 2.x). -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From abhilashachu at gmail.com Thu Jun 15 10:53:49 2006 From: abhilashachu at gmail.com (abhilash s) Date: Thu, 15 Jun 2006 04:53:49 -0400 Subject: Calculation of 95th percentile Message-ID: <4b09b14c0606150153x65dddcbay54644c6c8130856d@mail.gmail.com> Hi, I would like to know whether we can configure nagios for finding out 95th percentile of bandwidth usage and can get alert message of excess bandwidth usage _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Thu Jun 15 11:05:22 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 15 Jun 2006 11:05:22 +0200 Subject: Calculation of 95th percentile In-Reply-To: <4b09b14c0606150153x65dddcbay54644c6c8130856d@mail.gmail.com> References: <4b09b14c0606150153x65dddcbay54644c6c8130856d@mail.gmail.com> Message-ID: On 15 Jun, 2006, at 10:53, abhilash s wrote: > I would like to know whether we can configure nagios for finding > out 95th percentile of bandwidth usage and can get alert message of > excess bandwidth usage It depends on the system you're trying to measure the bandwidth on. If it's a Cisco switch or something like that it shouldn't be much of a problem. There are check scripts available that measure overall throughput of the network interfaces through SNMP. These scripts take two throughput values for Warn and Crit levels and it is quite trivial to calculate these values yourself. Please keep in mind though that Ethernet and the likes will -never- make it to a 100% load and that they usually top off around 60%. Now, if you're talking about monitoring the bandwidth usage of servers like a Sun box, then it's a whole different kettle of fish... Although of course you -could- monitor it's switch port instead :p Cheers! Thomas _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Thu Jun 15 13:23:44 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Thu, 15 Jun 2006 13:23:44 +0200 Subject: Problems with the web interface of Nagios Message-ID: Hello, I installed Nagios, I configured the interface Web (/etc/httpd/conf.d/nagios.conf). I restarted Apache (/etc/init.d/httpd restart). When I connect myself to http://localhost/nagios, I reach the interface Web but if I go in a menu, a message is posted : Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request. If I want to restart Nagios (/etc/init.d/nagios restart), a message is posted : Running configuration check... FAILED ! Restart aborted. Check your Nagios configuration. What must I make ? Thank you NAGIOS 2.4 APACHE 2 OS : REDHAT EL 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Thu Jun 15 13:26:28 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Thu, 15 Jun 2006 13:26:28 +0200 Subject: Problems with the web interface of Nagios Message-ID: Hello, I installed Nagios, I configured the interface Web (/etc/httpd/conf.d/nagios.conf). I restarted Apache (/etc/init.d/httpd restart). When I connect myself to http://localhost/nagios, I reach the interface Web but if I go in a menu, a message is posted?: Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request. If I want to restart Nagios (/etc/init.d/nagios restart), a message is posted?: Running configuration check... FAILED?! Restart aborted. Check your Nagios configuration. What must I make?? Thank you NAGIOS 2.4 APACHE 2 OS?: REDHAT EL 4 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Thu Jun 15 13:27:26 2006 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Thu, 15 Jun 2006 13:27:26 +0200 Subject: Problems with the web interface of Nagios Message-ID: <43373B7717A9AE47939A5DF427B9FB75D174F7@SME0019.o.eon-energie.net> Hi! REMY Julien wrote: > If I want to restart Nagios (/etc/init.d/nagios restart), a message is posted : Running configuration check... FAILED ! > Restart aborted. Check your Nagios configuration. You have to check your configuration =;-) Start nagios with /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (supposing you have installed it in /usr/local/nagios, otherwise change the paths!) and it will show you, what's wrong with your config. If you have changed the config and nagios doesn't complain anymore, you can start it with /etc/init.d/nagios start. -- Kind regards Thomas Voigt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Thu Jun 15 13:58:54 2006 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Thu, 15 Jun 2006 13:58:54 +0200 Subject: Problems with the web interface of Nagios Message-ID: <43373B7717A9AE47939A5DF427B9FB75D17501@SME0019.o.eon-energie.net> Hi! REMY Julien wrote: > I find the file nagios.cfg (/etc/nagios/nagios.cfg) but what I put in the file path ? First: Please respond to the list and not to my personal email address! There are many other people at the list, which may help you also or have the same problems as you. So you have to find out, where you nagios binary (the program itself) is installed. Maybe you find some hints in your /etc/init.d/nagios. Look there! -- Kind regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Thu Jun 15 16:27:44 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 15 Jun 2006 10:27:44 -0400 Subject: What's up with the "Warning - delayed mail" message? Message-ID: <44916E60.30205@verizon.net> I'm the sender of the original message that the "Warning - delayed mail" message sent a bit ago is referring to. What's up with that? Max _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Thu Jun 15 16:29:36 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 15 Jun 2006 10:29:36 -0400 Subject: check_snmp_mem.pl plugin snmp error In-Reply-To: <20060614093143.64051.qmail@web60719.mail.yahoo.com> References: <20060614093143.64051.qmail@web60719.mail.yahoo.com> Message-ID: <44916ED0.8000105@verizon.net> Radhika wrote: > Hi, > > I am trying configure the snmp server in my debian linux server to > monitor memory,disk and cpu usage i have installed using the following > > #apt-get install snmpd > > I have not chaned any community all are default settings.Now i am trying > to run the memory usage plug in using snmp i have down loaded from the > below link > > http://www.manubulon.com/nagios/snmp_mem.html > > I am trying to run the following command > > ./check_snmp_mem.pl -H 172.20.3.1 -C public -w 90,90 -c 95,95 > > i am getting the following error > > *ERROR: netsnmp : Received noSuchName(2) error-status at error-index 4.* > I'm not sure if you ever got a reply or not, because I received an error about it sending yesterday, so I'll re-post. You do have the configuration file snmpd.conf set up to have a read-only community name of public, right? It would look like in snmpd.conf. I'm not sure where Debian stores this, but in RHEL it's /etc/snmpd.conf. rocommunity public Also, is the service turned on and starting ok on the host, snmpd that is? Again, I'm not sure of the Debian commands, but on RHEL it would be service snmpd start and chkconfig snmpd on to make sure it starts on boot. Be careful posting your live IP address out in the open especially when you might have a read-write setup installed on the snmp host by accident. Others could do things to your server then. If you have to use the older version 1 or 2 snmp then I suggest changing the community string to something more difficult. Also, rememeber to only allow the configuration to be read-only. The most recent version of snmp supports v3, which allows some form of encryption to take place with changes of information. Max _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Thu Jun 15 16:33:34 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 15 Jun 2006 10:33:34 -0400 Subject: What's up with the "Warning - delayed mail" message? In-Reply-To: <44916E60.30205@verizon.net> References: <44916E60.30205@verizon.net> Message-ID: <44916FBE.10309@verizon.net> Max H. wrote: > I'm the sender of the original message that the "Warning - delayed mail" > message sent a bit ago is referring to. What's up with that? Strange, things seem to be working now. Is or was there a problem with the list yesterday/this morning? Or, perhaps my ISP is flaking out, which is entirely possible. Max _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fred at derf.nl Thu Jun 15 17:12:35 2006 From: fred at derf.nl (Friedrich Clausen) Date: Thu, 15 Jun 2006 17:12:35 +0200 Subject: check_snmp_mem.pl plugin snmp error In-Reply-To: <44916ED0.8000105@verizon.net> References: <20060614093143.64051.qmail@web60719.mail.yahoo.com> <44916ED0.8000105@verizon.net> Message-ID: <449178E3.2080604@derf.nl> Hello, >> I am trying to run the following command >> >> ./check_snmp_mem.pl -H 172.20.3.1 -C public -w 90,90 -c 95,95 >> >> i am getting the following error >> >> *ERROR: netsnmp : Received noSuchName(2) error-status at error-index 4.* It sounds like you are querying the SNMP server for an OID that you have not exposed to be viewed by the read only snmp v1 user. Make sure the following two lines exist (and look the same) in your snmpd.conf: view all included .1 access notConfigGroup "" any noauth exact all none none ^^^ note "all" must be present > If you have to use the older version 1 or 2 snmp then I suggest changing > the community string to something more difficult. Also, rememeber to > only allow the configuration to be read-only. The most recent version of > snmp supports v3, which allows some form of encryption to take place > with changes of information. Yes, the above advice is important. If your application support it, then definitely try and use SNMPv3. Regards, Fred. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Thu Jun 15 17:22:19 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 15 Jun 2006 11:22:19 -0400 Subject: Problems with the web interface of Nagios In-Reply-To: References: Message-ID: Have you checked your Nagios configuration (nagios -v nagios.cfg)? What is the result? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of REMY Julien > Sent: Thursday, June 15, 2006 4:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with the web interface of Nagios > > Hello, > > I installed Nagios, I configured the interface Web > (/etc/httpd/conf.d/nagios.conf). I restarted Apache > (/etc/init.d/httpd restart). When I connect myself to > http://localhost/nagios, I reach the interface Web but if I > go in a menu, a message is posted?: Internal Server Error. > The server encountered an internal error or misconfiguration > and was unable to complete your request. > > If I want to restart Nagios (/etc/init.d/nagios restart), a > message is posted?: Running configuration check... FAILED?! > Restart aborted. Check your Nagios configuration. > > What must I make?? > > Thank you > > NAGIOS 2.4 > APACHE 2 > OS?: REDHAT EL 4 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From john.furlong at dsl.pipex.com Thu Jun 15 17:30:45 2006 From: john.furlong at dsl.pipex.com (John Furlong) Date: Thu, 15 Jun 2006 17:30:45 +0200 (CEST) Subject: CHECK_NRPE: Error In-Reply-To: <44872AA9.3020707@gridshield.net> References: <44872AA9.3020707@gridshield.net> Message-ID: <20060615153045.70B664F476C@desire.netways.de> Hi Sergio I had this problem on Solaris. My problem was that sertain libraries weren't in the library search path. Try running nrpe in daemon mode on the client, you should get a more meaningful message about what it can't find. If it's a missing library easiest solution is to copy or link the missing library to /usr/lib (on the client). - John Furlong (Postie) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=18984 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From john.furlong at dsl.pipex.com Thu Jun 15 17:30:59 2006 From: john.furlong at dsl.pipex.com (John Furlong) Date: Thu, 15 Jun 2006 17:30:59 +0200 (CEST) Subject: CHECK_NRPE: Error In-Reply-To: <44872AA9.3020707@gridshield.net> References: <44872AA9.3020707@gridshield.net> Message-ID: <20060615153059.B3BDE4F476C@desire.netways.de> Hi Sergio I had this problem on Solaris. My problem was that sertain libraries weren't in the library search path. Try running nrpe in daemon mode on the client, you should get a more meaningful message about what it can't find. If it's a missing library easiest solution is to copy or link the missing library to /usr/lib (on the client). - John Furlong (Postie) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=18984 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 15 17:33:17 2006 From: marc at ena.com (Marc Powell) Date: Thu, 15 Jun 2006 10:33:17 -0500 Subject: What's up with the "Warning - delayed mail" message? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Max H. > Sent: Thursday, June 15, 2006 9:28 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] What's up with the "Warning - delayed mail" > message? > > I'm the sender of the original message that the "Warning - delayed mail" > message sent a bit ago is referring to. What's up with that? We don't know, you're the only one that saw it. Read the notification that you received. It should have detail beyond that brief message. -- MArc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 15 17:33:56 2006 From: marc at ena.com (Marc Powell) Date: Thu, 15 Jun 2006 10:33:56 -0500 Subject: What's up with the "Warning - delayed mail"message? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Max H. > Sent: Thursday, June 15, 2006 9:34 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] What's up with the "Warning - delayed > mail"message? > > Max H. wrote: > > I'm the sender of the original message that the "Warning - delayed mail" > > message sent a bit ago is referring to. What's up with that? > > Strange, things seem to be working now. Is or was there a problem with > the list yesterday/this morning? Or, perhaps my ISP is flaking out, > which is entirely possible. I experienced no problems posting to the list yesterday. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Thu Jun 15 18:14:21 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 15 Jun 2006 12:14:21 -0400 Subject: What's up with the "Warning - delayed mail"message? In-Reply-To: References: Message-ID: <4491875D.4010904@verizon.net> Marc Powell wrote: > > I experienced no problems posting to the list yesterday. Must be my ISP then. Oh well, things seem to be working now, that's all that I care about. :) Max _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Thu Jun 15 19:05:14 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 15 Jun 2006 19:05:14 +0200 (CEST) Subject: Problems with the web interface of Nagios In-Reply-To: References: Message-ID: On Thu, 15 Jun 2006, REMY Julien wrote: > I installed Nagios, I configured the interface Web > (/etc/httpd/conf.d/nagios.conf). I restarted Apache (/etc/init.d/httpd > restart). When I connect myself to http://localhost/nagios, I reach the > interface Web but if I go in a menu, a message is posted : Internal > Server Error. The server encountered an internal error or > misconfiguration and was unable to complete your request. > > If I want to restart Nagios (/etc/init.d/nagios restart), a message is > posted : Running configuration check... FAILED ! Restart aborted. Check > your Nagios configuration. > NAGIOS 2.4 > APACHE 2 > OS : REDHAT EL 4 Please read the archives of this list regarding SELinux. But It seems you have other problems to fix before you will run into this one. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Thu Jun 15 23:24:05 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 15 Jun 2006 17:24:05 -0400 Subject: Contributing/submitting documentation Message-ID: <4491CFF5.1070504@verizon.net> Hi everyone, I have been in touch with Ethan because I wanted to submit a few small how-to's for installing Nagios on CentOS using Dag's RPMs, and for installing NRPE on CentOS the same. You can find them here: NRPE: Nagios: I have the normal versions on my site, and I also have static versions that offer a more printer friendly link within the URL's. Sorry about the ugly URL, but I don't have access to turn rewrites on to make them "prettier." It's not my server. As per Ethan and I's discussion, please go over them. I accept all criticism to improve them, or edit mistakes. Or if there's something you would like added, let me know. Either leave comments on my site, or post back to here. Ethan mentioned adding the links to the Nagios docs site as well. I hope you can find use for them. Thanks!:) Max _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jay.Brunker at twc.state.tx.us Thu Jun 15 23:34:16 2006 From: Jay.Brunker at twc.state.tx.us (Brunker, Jay) Date: Thu, 15 Jun 2006 16:34:16 -0500 Subject: Plugins Message-ID: <11741698C5E1574E9E0357305D55B4742EEE6E@exchg101p.actdc101p.rtdcx101p.twc.state.tx.us> Greetings: I downloaded the developers doc, but how do I read a doc with a .sgml extension ? Would someone be able to point me towards some info on how to write a plugin or incorporate a 3rd party plugin into my current Nagios setup ? I already have the default Nagios plugin pack installed , but would like to create some of my own system specific monitoring plugins. Thanks, Jay. Jay Brunker Unix Systems Administrator Texas Workforce Commission 101 E. 15th St. 512-475-2625 Desk Phone 512-849-4985 Pager -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 15 23:59:18 2006 From: marc at ena.com (Marc Powell) Date: Thu, 15 Jun 2006 16:59:18 -0500 Subject: Plugins Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Brunker, Jay > Sent: Thursday, June 15, 2006 4:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugins > > > Greetings: > > > I downloaded the developers doc, but how do I read a doc with a .sgml > extension ? > > Would someone be able to point me towards some info on how to write a > plugin or > > incorporate a 3rd party plugin into my current Nagios setup ? http://nagiosplug.sourceforge.net/developer-guidelines.html -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Martin.Sheen at uk.neceur.com Fri Jun 16 00:57:47 2006 From: Martin.Sheen at uk.neceur.com (Martin.Sheen at uk.neceur.com) Date: Thu, 15 Jun 2006 23:57:47 +0100 Subject: Martin Sheen is out of the office. Message-ID: I will be out of the office starting 06/15/2006 and will not return until 06/16/2006. I will respond to your message when I return. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From don.boling at gmail.com Fri Jun 16 01:31:42 2006 From: don.boling at gmail.com (Don Boling) Date: Thu, 15 Jun 2006 17:31:42 -0600 Subject: Martin Sheen is out of the office. In-Reply-To: References: Message-ID: wow, Nagios has gotten a celebrity following now ;-) On 6/15/06, Martin.Sheen at uk.neceur.com wrote: > > I will be out of the office starting 06/15/2006 and will not return until > 06/16/2006. > > I will respond to your message when I return. > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From epurvis at communityconnect.com Fri Jun 16 02:01:04 2006 From: epurvis at communityconnect.com (Elizabeth Genco Purvis) Date: Thu, 15 Jun 2006 20:01:04 -0400 Subject: Inheritance and templating question In-Reply-To: References: Message-ID: > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Sent: Friday, June 09, 2006 12:36 PM > To: Elizabeth Genco; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Inheritance and templating question > > Create a hostgroup and apply the services to that group. Then all you > need to do is make sure new hosts belong to the right hostgroup. Would you mind giving me an example of this? I'm not sure exactly what you mean.... according to the documentation: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup A hostgroup looks like this: define hostgroup{ hostgroup_name hostgroup_name alias alias members members } I don't see where in there we can add services. Thanks. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 16 02:25:46 2006 From: marc at ena.com (Marc Powell) Date: Thu, 15 Jun 2006 19:25:46 -0500 Subject: Inheritance and templating question Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Elizabeth Genco Purvis > Sent: Thursday, June 15, 2006 7:01 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Inheritance and templating question > > > > > -----Original Message----- > > From: Morris, Patrick [mailto:patrick.morris at hp.com] > > Sent: Friday, June 09, 2006 12:36 PM > > To: Elizabeth Genco; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Inheritance and templating question > > > > Create a hostgroup and apply the services to that group. Then all you > > need to do is make sure new hosts belong to the right hostgroup. > > Would you mind giving me an example of this? I'm not sure exactly what > you mean.... according to the documentation: > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup It's considered a 'trick' because it's a side-effect of the template inheritance -- http://nagios.sourceforge.net/docs/2_0/templatetricks.html -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Fri Jun 16 06:23:38 2006 From: nagios at kilala.nl (Thomas Slutyer) Date: Fri, 16 Jun 2006 06:23:38 +0200 Subject: Inheritance and templating question In-Reply-To: References: Message-ID: Hey :) >> Create a hostgroup and apply the services to that group. Then all you >> need to do is make sure new hosts belong to the right hostgroup. > > Would you mind giving me an example of this? I'm not sure exactly what > you mean.... according to the documentation: This is -exactly- how I'll be configuring our Nagios environment and it's gonna save me a boatload of work :) (>300 hosts, >3000 checks) What you do is this: 1. Define a set of service checks you would like to assign to multiple hosts at once. For example: all Solaris boxen would need checks regarding cpu load, ram, swap, partitions root/var/tmp and metastat. At the top of the file, put all variables that are the same for each check into a template. Make sure that all your checks use this template with the "use" directive. 2. Create a service group called Solaris-checks. 3. Create a host group called Solaris-hosts. Now comes the fun part: 4. Add all Solaris service checks to Solaris-checks. 5. Add all Solaris hosts to Solaris-hosts. 6. Add Solaris-hosts to each Solaris check as a subscriber by adding it to the -template- at the top of the file. And presto! You now have a group of hosts subscribed to a group of services! The deal with the service groups is only for display purposes BTW, but I thought I'd throw it in there :) Want to add additional services to all these hosts at once? Just define a service check and let it use the template. Want to add some Solaris boxen to the network? Just add them to the Solaris host group. Cheers! Thomas _______________________________________________ Nagios-users mailing list Nagios-users at 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 From als at cell.ru Fri Jun 16 08:35:02 2006 From: als at cell.ru (Alexander Serkin) Date: Fri, 16 Jun 2006 10:35:02 +0400 Subject: check_snmp no output problem Message-ID: <44925116.3090103@cell.ru> Hi. I'm getting WARNINGs "no output" from check_snmp plugin taken from nagios-plugins-1.4.3. The platform is Solaris9. crle output: # crle Configuration file [version 4]: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/lib:/usr/local/rrdtool-1.0.49/lib:/usr/local/BerkeleyDB.4.2/lib:/usr/local/ssl/lib:/opt/mysql/lib/mysql Trusted Directories (ELF): /usr/lib/secure (system default) command in checkcommands.cfg: define command{ command_name check_snmp_cpu command_line check_snmp -H $HOSTADDRESS$ -m : -o 1.3.6.1.4.1.9.2.1.57.0 -u "%" -l "CPU Load" -w $ARG1$ -c $ARG2$ } called for service in services.cfg: define service{ use generic-service hostgroup_name someciscobox service_description CPU Load contact_groups admins check_command check_snmp_cpu!70!90 } The check_snmp command itself works from nagios user account: $ /opt/nagios/libexec/check_snmp -H xxx.xxx.xxx.xxx -m : -o 1.3.6.1.4.1.9.2.1.57.0 -u "%" -l "CPU Load" -w 70 -c 90 CPU Load OK - 57 % | iso.3.6.1.4.1.9.2.1.57.0=57;;;; couldn't find any hints in the list archives. What can be the reason? -- Sincerely Yours, Alexander _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 16 09:01:45 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 16 Jun 2006 09:01:45 +0200 Subject: Problems with the web interface of Nagios Message-ID: Yes, I checked my Nagios configuration (nagios -v nagios.cfg) and it does not have errors. But if I restart Nagios now, a message is posted : Starting Network Monitor: nagios. Moreover, if I want to connect me in the web interface, I have menus on the left but next to I have a message : Internal Server Error. Thanks -----Message d'origine----- De?: Morris, Patrick [mailto:patrick.morris at hp.com] Envoy??: jeudi 15 juin 2006 17:22 ??: REMY Julien; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] Problems with the web interface of Nagios Have you checked your Nagios configuration (nagios -v nagios.cfg)? What is the result? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of REMY Julien > Sent: Thursday, June 15, 2006 4:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with the web interface of Nagios > > Hello, > > I installed Nagios, I configured the interface Web > (/etc/httpd/conf.d/nagios.conf). I restarted Apache > (/etc/init.d/httpd restart). When I connect myself to > http://localhost/nagios, I reach the interface Web but if I > go in a menu, a message is posted?: Internal Server Error. > The server encountered an internal error or misconfiguration > and was unable to complete your request. > > If I want to restart Nagios (/etc/init.d/nagios restart), a > message is posted?: Running configuration check... FAILED?! > Restart aborted. Check your Nagios configuration. > > What must I make?? > > Thank you > > NAGIOS 2.4 > APACHE 2 > OS?: REDHAT EL 4 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From als at cell.ru Fri Jun 16 09:03:13 2006 From: als at cell.ru (Alexander Serkin) Date: Fri, 16 Jun 2006 11:03:13 +0400 Subject: check_snmp no output problem Message-ID: <449257B1.9080504@cell.ru> Hi. I'm getting WARNINGs "no output" from check_snmp plugin taken from nagios-plugins-1.4.3. The platform is Solaris9. crle output: # crle Configuration file [version 4]: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/lib:/usr/local/rrdtool-1.0.49/lib:/usr/local/BerkeleyDB.4.2/lib:/usr/local/ssl/lib:/opt/mysql/lib/mysql Trusted Directories (ELF): /usr/lib/secure (system default) command in checkcommands.cfg: define command{ command_name check_snmp_cpu command_line check_snmp -H $HOSTADDRESS$ -m : -o 1.3.6.1.4.1.9.2.1.57.0 -u "%" -l "CPU Load" -w $ARG1$ -c $ARG2$ } called for service in services.cfg: define service{ use generic-service hostgroup_name someciscobox service_description CPU Load contact_groups admins check_command check_snmp_cpu!70!90 } The check_snmp command itself works from nagios user account: $ /opt/nagios/libexec/check_snmp -H xxx.xxx.xxx.xxx -m : -o 1.3.6.1.4.1.9.2.1.57.0 -u "%" -l "CPU Load" -w 70 -c 90 CPU Load OK - 57 % | iso.3.6.1.4.1.9.2.1.57.0=57;;;; couldn't find any hints in the list archives. What can be the reason? -- Sincerely Yours, Alexander -- Sincerely Yours, Alexander Serkin, Moscow Cellular Communications, ph. +7(495)7952089 fa. +7(495)7952084 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Fri Jun 16 09:09:37 2006 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Fri, 16 Jun 2006 09:09:37 +0200 Subject: Problems with the web interface of Nagios Message-ID: <43373B7717A9AE47939A5DF427B9FB75D17539@SME0019.o.eon-energie.net> Hi! REMY Julien wrote: > Yes, I checked my Nagios configuration (nagios -v nagios.cfg) > and it does not have errors. But if I restart Nagios now, a > message is posted : Starting Network Monitor: nagios. > Moreover, if I want to connect me in the web interface, I > have menus on the left but next to I have a message : > Internal Server Error. This looks like the nagios process isn't running. Please check, if it is running with 'ps -ef | grep nagios'! The output should look like this: lx0004:~ # ps -ef | grep nagios nagios 8300 1 0 Jun06 ? 00:08:26 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Note that nagios is running under the user 'nagios' (see first column). Check also, if the user nagios is the owner and has the appropriate rights to the config files. Maybe you're checking under 'root' and there is all o.k. and nagios starts under another account, which hasn't the rights to read/write the nagios files... -- Regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ton.voon at altinity.com Fri Jun 16 09:59:59 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 16 Jun 2006 08:59:59 +0100 Subject: [Nagiosplug-devel] problem in nagios notification related date & time In-Reply-To: References: Message-ID: Notification issues should go to nagios-users at lists.sourceforge.net instead of this plugins list. On 15 Jun 2006, at 12:23, santosh swarnkar wrote: > hello > iam facing problem in nagios notification > i am tested nagios using rpm version. In this i received > notification with date & time > While when iam using with tarball there is problem with > notification not received date & time > > please suggest me > http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fred at derf.nl Fri Jun 16 11:15:03 2006 From: fred at derf.nl (Friedrich Clausen) Date: Fri, 16 Jun 2006 11:15:03 +0200 Subject: Problems with the web interface of Nagios In-Reply-To: <43373B7717A9AE47939A5DF427B9FB75D17539@SME0019.o.eon-energie.net> References: <43373B7717A9AE47939A5DF427B9FB75D17539@SME0019.o.eon-energie.net> Message-ID: <44927697.9060100@derf.nl> Hello all, Voigt Thomas wrote: > Hi! > > REMY Julien wrote: > >> Yes, I checked my Nagios configuration (nagios -v nagios.cfg) >> and it does not have errors. But if I restart Nagios now, a >> message is posted : Starting Network Monitor: nagios. >> Moreover, if I want to connect me in the web interface, I >> have menus on the left but next to I have a message : >> Internal Server Error. In addition to Thomas' suggestions, I would also look at the Apache error log, usually /var/log/httpd/error_log on Red Hat, check httpd.conf for the ErrorLog statement to be sure of the location. It may have some more detailed messages. > > This looks like the nagios process isn't running. > Please check, if it is running with 'ps -ef | grep nagios'! > The output should look like this: > > lx0004:~ # ps -ef | grep nagios > nagios 8300 1 0 Jun06 ? 00:08:26 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > Note that nagios is running under the user 'nagios' (see first column). > Check also, if the user nagios is the owner and has the appropriate > rights to the config files. > > Maybe you're checking under 'root' and there is all o.k. and nagios > starts under another account, which hasn't the rights to read/write the > nagios files... Regards, Fred. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From philc at foundation-it.com Fri Jun 16 11:21:46 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 16 Jun 2006 10:21:46 +0100 Subject: Plugins Message-ID: > I downloaded the developers doc, but how do I read a doc with a .sgml extension ? That depends on the specific Document Type Definition which should be defined on the first line of the document. My guess would be that it's in Docbook format and the first line is something like: I don't think you can read Docbook documents directly, I build mine to HTML or PDF. A lot of Linux distributions come with all the necessary tools to set up a build environment but I'm not sure how well they work together out of the box. Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 16 11:28:19 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 16 Jun 2006 11:28:19 +0200 Subject: Problems with the web interface of Nagios Message-ID: In /var/log/httpd/error_log : [Fri Jun 16 11:23:37 2006] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/lib/nagios/cgi/tac.cgi' failed, referer: http://localhost/nagios/side.html [Fri Jun 16 11:23:37 2006] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html [Fri Jun 16 11:23:38 2006] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico Thanks -----Message d'origine----- De?: Friedrich Clausen [mailto:fred at derf.nl] Envoy??: vendredi 16 juin 2006 11:15 ??: REMY Julien Cc?: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Problems with the web interface of Nagios Hello all, Voigt Thomas wrote: > Hi! > > REMY Julien wrote: > >> Yes, I checked my Nagios configuration (nagios -v nagios.cfg) >> and it does not have errors. But if I restart Nagios now, a >> message is posted : Starting Network Monitor: nagios. >> Moreover, if I want to connect me in the web interface, I >> have menus on the left but next to I have a message : >> Internal Server Error. In addition to Thomas' suggestions, I would also look at the Apache error log, usually /var/log/httpd/error_log on Red Hat, check httpd.conf for the ErrorLog statement to be sure of the location. It may have some more detailed messages. > > This looks like the nagios process isn't running. > Please check, if it is running with 'ps -ef | grep nagios'! > The output should look like this: > > lx0004:~ # ps -ef | grep nagios > nagios 8300 1 0 Jun06 ? 00:08:26 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > Note that nagios is running under the user 'nagios' (see first column). > Check also, if the user nagios is the owner and has the appropriate > rights to the config files. > > Maybe you're checking under 'root' and there is all o.k. and nagios > starts under another account, which hasn't the rights to read/write the > nagios files... Regards, Fred. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Fri Jun 16 11:29:31 2006 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Fri, 16 Jun 2006 11:29:31 +0200 Subject: Problems with the web interface of Nagios Message-ID: <43373B7717A9AE47939A5DF427B9FB75D17551@SME0019.o.eon-energie.net> Hi all! Yes, of course the Apache might also have a problem... There is something to configure in Apaches config to allow the webserver to show the documents and execute the cgi's from nagios. Make sure you have something like these in your Apache config: ScriptAlias /nagios/cgi-bin/ .... ... Alias /nagios/ ... Look at the sample-config/httpd.conf from the nagios package! -- Regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Fri Jun 16 11:36:31 2006 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Fri, 16 Jun 2006 11:36:31 +0200 Subject: Problems with the web interface of Nagios Message-ID: <43373B7717A9AE47939A5DF427B9FB75D17553@SME0019.o.eon-energie.net> Hi all! REMY Julien wrote: > In /var/log/httpd/error_log : > > [Fri Jun 16 11:23:37 2006] [error] [client 127.0.0.1] > (13)Permission denied: exec of '/usr/lib/nagios/cgi/tac.cgi' > failed, referer: http://localhost/nagios/side.html This might be because of: - missing ScriptAlias statement in the Apache httpd.conf Or - The user under which the Apache runs (usually wwwrun, www or so) hasn't the rights to execute the file tac.cgi. At my server the rights ar as follows: lx0004:~ # ls -l /usr/local/nagios/sbin/tac.cgi -rwxrwxr-x 1 nagios nagios 146296 Jun 6 11:52 /usr/local/nagios/sbin/tac.cgi -- Regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 16 12:17:35 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 16 Jun 2006 12:17:35 +0200 Subject: Problems with the web interface of Nagios Message-ID: No I don't have ScriptAlias /nagios/cgi-bin... Can you say me what I must put in the file ? thanks -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Voigt Thomas Envoy??: vendredi 16 juin 2006 11:30 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Problems with the web interface of Nagios Hi all! Yes, of course the Apache might also have a problem... There is something to configure in Apaches config to allow the webserver to show the documents and execute the cgi's from nagios. Make sure you have something like these in your Apache config: ScriptAlias /nagios/cgi-bin/ .... ... Alias /nagios/ ... Look at the sample-config/httpd.conf from the nagios package! -- Regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Fri Jun 16 12:35:54 2006 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Fri, 16 Jun 2006 12:35:54 +0200 Subject: Problems with the web interface of Nagios Message-ID: <43373B7717A9AE47939A5DF427B9FB75D17558@SME0019.o.eon-energie.net> Hi all! REMY Julien wrote: > No I don't have ScriptAlias /nagios/cgi-bin... > > Can you say me what I must put in the file ? Look at the sample-config/httpd.conf from the nagios package! There is an complete example. -- Regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From warpspasm at hotmail.com Fri Jun 16 13:52:29 2006 From: warpspasm at hotmail.com (Jan van der Merwe) Date: Fri, 16 Jun 2006 11:52:29 +0000 Subject: MySQL Alive and Accepting Connections Plugin... Message-ID: Hi Guys, I'm looking for a really simple plugin that will just check whether a MySQL server is alive and accepting connections. I've found a few plugins that perform some other strange functions, but none that provide this simple functionality. Thanks! _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Fri Jun 16 13:59:02 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 16 Jun 2006 13:59:02 +0200 Subject: MySQL Alive and Accepting Connections Plugin... In-Reply-To: References: Message-ID: <1DD31933-0F51-4040-8856-4A358B001A15@kilala.nl> I'm actually tempted to steer you towards check_tcp :) Would that be enough for you? On 16 Jun, 2006, at 13:52, Jan van der Merwe wrote: > Hi Guys, > > I'm looking for a really simple plugin that will just check whether > a MySQL > server is alive and accepting connections. I've found a few plugins > that > perform some other strange functions, but none that provide this > simple > functionality. > > Thanks! > > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carl.Friend at mathworks.com Fri Jun 16 14:01:55 2006 From: Carl.Friend at mathworks.com (Carl Friend) Date: Fri, 16 Jun 2006 08:01:55 -0400 Subject: MySQL Alive and Accepting Connections Plugin... Message-ID: Greetings, Jan van der Merwe asks: > I'm looking for a really simple plugin that will just check whether > a MySQL server is alive and accepting connections. I've got one that actually goes and executes a "select count(*)" from arbitrary databases and tables is anyone is interested. It's written in Perl and needs the Mysql and DBI modules. It's crude, but it works. +----------------------------------------------+-----------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +-----------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +----------------------------------------------+-----------------------+ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From warpspasm at hotmail.com Fri Jun 16 14:08:09 2006 From: warpspasm at hotmail.com (Jan van der Merwe) Date: Fri, 16 Jun 2006 12:08:09 +0000 Subject: MySQL Alive and Accepting Connections Plugin... In-Reply-To: <1DD31933-0F51-4040-8856-4A358B001A15@kilala.nl> References: <1DD31933-0F51-4040-8856-4A358B001A15@kilala.nl> Message-ID: Well, perhaps you are right and it is enough! I mean without actually loggin in, you have no more assurance that mysql is actually alive other than the 3306 accepting connections... >I'm actually tempted to steer you towards check_tcp :) > >Would that be enough for you? > > >On 16 Jun, 2006, at 13:52, Jan van der Merwe wrote: > > > Hi Guys, > > > > I'm looking for a really simple plugin that will just check whether > > a MySQL > > server is alive and accepting connections. I've found a few plugins > > that > > perform some other strange functions, but none that provide this > > simple > > functionality. > > > > Thanks! > > > > > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mpgsmeets at gmail.com Fri Jun 16 14:10:07 2006 From: mpgsmeets at gmail.com (Marcel Smeets) Date: Fri, 16 Jun 2006 14:10:07 +0200 Subject: MySQL Alive and Accepting Connections Plugin... In-Reply-To: <1DD31933-0F51-4040-8856-4A358B001A15@kilala.nl> References: <1DD31933-0F51-4040-8856-4A358B001A15@kilala.nl> Message-ID: As a collaegue of Thomas ( :-) ) maybe i can help out: You can use your own plugin, they are based in the checkcommands.cfg in the nagios /etc dir.: e.g. # 'ssh_mysql' command definition define command{ command_name mysql command_line /usr/lib/nagios/plugins/check_mysql -P 3306 -d database -H servername -u username -p password } The check_mysql plugin is part of the default nagios-plugins package. It not only checks the DB but you are sure about what is going on :-) Works great!! On 6/16/06, Thomas Sluyter wrote: > > I'm actually tempted to steer you towards check_tcp :) > > Would that be enough for you? > > > On 16 Jun, 2006, at 13:52, Jan van der Merwe wrote: > > > Hi Guys, > > > > I'm looking for a really simple plugin that will just check whether > > a MySQL > > server is alive and accepting connections. I've found a few plugins > > that > > perform some other strange functions, but none that provide this > > simple > > functionality. > > > > Thanks! > > > > > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Ringtones, NameTones, RealTones, TrueTones, Polyphonic Tones Logo's, WallPapers, JavaGames and more !! http://www.e-tones.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Fri Jun 16 14:13:40 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 16 Jun 2006 08:13:40 -0400 Subject: MySQL Alive and Accepting Connections Plugin... In-Reply-To: References: Message-ID: <302ce8b50606160513u1645258eh765a8d48b8da8c2e@mail.gmail.com> > I'm looking for a really simple plugin that will just check whether a MySQL > server is alive and accepting connections. I've found a few plugins that > perform some other strange functions, but none that provide this simple > functionality. What's wrong with the check_mysql plugin in the nagios plugins? it works very well, requires very limited permissions (usage) and gives you basic stats. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fred at derf.nl Fri Jun 16 14:15:33 2006 From: fred at derf.nl (Friedrich Clausen) Date: Fri, 16 Jun 2006 14:15:33 +0200 Subject: Problems with the web interface of Nagios In-Reply-To: References: Message-ID: <4492A0E5.1090605@derf.nl> Hi, REMY Julien wrote: > No I don't have ScriptAlias /nagios/cgi-bin... > > Can you say me what I must put in the file ? I also notice you are running RHEL 4, are you using a rpm for Nagios? If you use a rpm from DAG (http://dag.wieers.com/packages/) then there will be a /etc/httpd/conf.d/nagios.conf which you can just include in the Apache config. Eg, in the main server or a virtual host container do (whichever is appropriate): Include /etc/httpd/conf.d/nagios.conf (Remember to do "apachectl configtest" to check for errors) But in this case it seems that it is a file system permissions related problem. As Thomas recommends, I would check that the cgi's are executable by the Nagios user. Cheers, Fred. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From warpspasm at hotmail.com Fri Jun 16 14:21:19 2006 From: warpspasm at hotmail.com (Jan van der Merwe) Date: Fri, 16 Jun 2006 12:21:19 +0000 Subject: MySQL Alive and Accepting Connections Plugin... In-Reply-To: <302ce8b50606160513u1645258eh765a8d48b8da8c2e@mail.gmail.com> References: <302ce8b50606160513u1645258eh765a8d48b8da8c2e@mail.gmail.com> Message-ID: I suppose nothing is wrong! Except for some reason, I don't have it - I installed nagios-plugins-1.4.3.tar and here is what I got in my libexec: check_breeze check_dummy check_imap check_mrtg check_oracle check_simap check_udp utils.sh check_by_ssh check_file_age check_ircd check_mrtgtraf check_overcr check_smtp check_udp2 check_clamd check_flexlm check_jabber check_nagios check_ping check_spop check_ups check_dhcp check_ftp check_ldap check_nntp check_pop check_ssh check_users check_dig check_http check_ldaps check_nntps check_procs check_ssmtp check_wave check_disk check_icmp check_load check_nt check_real check_swap negate check_disk_smb check_ifoperstatus check_log check_ntp check_rpc check_tcp urlize check_dns check_ifstatus check_mailq check_nwstat check_sensors check_time utils.pm Did I somehow manage to install some subset of the plugins? Thanks guys! > > I'm looking for a really simple plugin that will just check whether a >MySQL > > server is alive and accepting connections. I've found a few plugins that > > perform some other strange functions, but none that provide this simple > > functionality. > > >What's wrong with the check_mysql plugin in the nagios plugins? it >works very well, requires very limited permissions (usage) and gives >you basic stats. > >-- >This message has been double ROT13 encoded for security. Anyone other >than the intended recipient attempting to decode this message will be >in violation of the DMCA > > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Fri Jun 16 14:29:01 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 16 Jun 2006 08:29:01 -0400 Subject: MySQL Alive and Accepting Connections Plugin... In-Reply-To: References: <302ce8b50606160513u1645258eh765a8d48b8da8c2e@mail.gmail.com> Message-ID: <302ce8b50606160529l5ed1a46cg3c9d2dd78652b057@mail.gmail.com> On 6/16/06, Jan van der Merwe wrote: > I suppose nothing is wrong! Except for some reason, I don't have it - I > installed nagios-plugins-1.4.3.tar and here is what I got in my libexec: When you built the plugins, you likely did not point to the mysql location. For me with the 1.4.2 plugins it was not needed, with 1.4.3, I had to point the configure script in the general direction of mysql. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 16 14:48:01 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 16 Jun 2006 14:48:01 +0200 Subject: Problems with the web interface of Nagios Message-ID: In the file nagios.conf : ScriptAlias /nagios/cgi/ /usr/lib/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/share/nagios/ allowOverride AuthConfig Order allow,deny Allow from all In httpd.conf : Include /etc/httpd/conf.d/nagios.conf When I do : apachectl configtest, the message is : The scriptalias directive in nagios.conf will probably never match because it overlaps an earlier ScriptAlias. The Alias directive in nagios.conf will probably never match because it overlaps an earlier Alias. -----Message d'origine----- De?: Friedrich Clausen [mailto:fred at derf.nl] Envoy??: vendredi 16 juin 2006 14:16 ??: REMY Julien Cc?: Voigt Thomas; nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Problems with the web interface of Nagios Hi, REMY Julien wrote: > No I don't have ScriptAlias /nagios/cgi-bin... > > Can you say me what I must put in the file ? I also notice you are running RHEL 4, are you using a rpm for Nagios? If you use a rpm from DAG (http://dag.wieers.com/packages/) then there will be a /etc/httpd/conf.d/nagios.conf which you can just include in the Apache config. Eg, in the main server or a virtual host container do (whichever is appropriate): Include /etc/httpd/conf.d/nagios.conf (Remember to do "apachectl configtest" to check for errors) But in this case it seems that it is a file system permissions related problem. As Thomas recommends, I would check that the cgi's are executable by the Nagios user. Cheers, Fred. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 16 15:25:55 2006 From: marc at ena.com (Marc Powell) Date: Fri, 16 Jun 2006 08:25:55 -0500 Subject: Problems with the web interface of Nagios Message-ID: I believe I saw you are running RHEL4. SELinux is enabled by default. Have you disabled it or set up a policy to allow these? It looks like you haven't. See if you have avc denied messages in /var/log/messages. If so, search the archives for a couple of example nagios policies for SELinux. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, June 16, 2006 4:28 AM > To: Friedrich Clausen; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problems with the web interface of Nagios > > In /var/log/httpd/error_log : > > [Fri Jun 16 11:23:37 2006] [error] [client 127.0.0.1] (13)Permission > denied: exec of '/usr/lib/nagios/cgi/tac.cgi' failed, referer: > http://localhost/nagios/side.html > [Fri Jun 16 11:23:37 2006] [error] [client 127.0.0.1] Premature end of > script headers: tac.cgi, referer: http://localhost/nagios/side.html > [Fri Jun 16 11:23:38 2006] [error] [client 127.0.0.1] File does not exist: > /var/www/html/favicon.ico > > Thanks > > -----Message d'origine----- > De?: Friedrich Clausen [mailto:fred at derf.nl] > Envoy??: vendredi 16 juin 2006 11:15 > ??: REMY Julien > Cc?: nagios-users at lists.sourceforge.net > Objet?: Re: [Nagios-users] Problems with the web interface of Nagios > > Hello all, > > Voigt Thomas wrote: > > Hi! > > > > REMY Julien wrote: > > > >> Yes, I checked my Nagios configuration (nagios -v nagios.cfg) > >> and it does not have errors. But if I restart Nagios now, a > >> message is posted : Starting Network Monitor: nagios. > >> Moreover, if I want to connect me in the web interface, I > >> have menus on the left but next to I have a message : > >> Internal Server Error. > > In addition to Thomas' suggestions, I would also look at the Apache > error log, usually /var/log/httpd/error_log on Red Hat, check httpd.conf > for the ErrorLog statement to be sure of the location. It may have some > more detailed messages. > > > > > This looks like the nagios process isn't running. > > Please check, if it is running with 'ps -ef | grep nagios'! > > The output should look like this: > > > > lx0004:~ # ps -ef | grep nagios > > nagios 8300 1 0 Jun06 ? 00:08:26 > > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > > > Note that nagios is running under the user 'nagios' (see first column). > > Check also, if the user nagios is the owner and has the appropriate > > rights to the config files. > > > > Maybe you're checking under 'root' and there is all o.k. and nagios > > starts under another account, which hasn't the rights to read/write the > > nagios files... _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ravikmrs at yahoo.com Fri Jun 16 15:26:22 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Fri, 16 Jun 2006 06:26:22 -0700 (PDT) Subject: Nagios 2.4 upgrade Message-ID: <20060616132622.49696.qmail@web53908.mail.yahoo.com> Hi, Can someone share their experience to upgrade Nagios V2.4? Was any issue during upgrade on Linux? What are the precausion we need to take care of ? thanks -Ravi --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 16 15:35:32 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 16 Jun 2006 15:35:32 +0200 Subject: Problems with the web interface of Nagios Message-ID: I don't understand what you want I do -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell Envoy??: vendredi 16 juin 2006 15:26 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Problems with the web interface of Nagios I believe I saw you are running RHEL4. SELinux is enabled by default. Have you disabled it or set up a policy to allow these? It looks like you haven't. See if you have avc denied messages in /var/log/messages. If so, search the archives for a couple of example nagios policies for SELinux. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, June 16, 2006 4:28 AM > To: Friedrich Clausen; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problems with the web interface of Nagios > > In /var/log/httpd/error_log : > > [Fri Jun 16 11:23:37 2006] [error] [client 127.0.0.1] (13)Permission > denied: exec of '/usr/lib/nagios/cgi/tac.cgi' failed, referer: > http://localhost/nagios/side.html > [Fri Jun 16 11:23:37 2006] [error] [client 127.0.0.1] Premature end of > script headers: tac.cgi, referer: http://localhost/nagios/side.html > [Fri Jun 16 11:23:38 2006] [error] [client 127.0.0.1] File does not exist: > /var/www/html/favicon.ico > > Thanks > > -----Message d'origine----- > De?: Friedrich Clausen [mailto:fred at derf.nl] > Envoy??: vendredi 16 juin 2006 11:15 > ??: REMY Julien > Cc?: nagios-users at lists.sourceforge.net > Objet?: Re: [Nagios-users] Problems with the web interface of Nagios > > Hello all, > > Voigt Thomas wrote: > > Hi! > > > > REMY Julien wrote: > > > >> Yes, I checked my Nagios configuration (nagios -v nagios.cfg) > >> and it does not have errors. But if I restart Nagios now, a > >> message is posted : Starting Network Monitor: nagios. > >> Moreover, if I want to connect me in the web interface, I > >> have menus on the left but next to I have a message : > >> Internal Server Error. > > In addition to Thomas' suggestions, I would also look at the Apache > error log, usually /var/log/httpd/error_log on Red Hat, check httpd.conf > for the ErrorLog statement to be sure of the location. It may have some > more detailed messages. > > > > > This looks like the nagios process isn't running. > > Please check, if it is running with 'ps -ef | grep nagios'! > > The output should look like this: > > > > lx0004:~ # ps -ef | grep nagios > > nagios 8300 1 0 Jun06 ? 00:08:26 > > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > > > Note that nagios is running under the user 'nagios' (see first column). > > Check also, if the user nagios is the owner and has the appropriate > > rights to the config files. > > > > Maybe you're checking under 'root' and there is all o.k. and nagios > > starts under another account, which hasn't the rights to read/write the > > nagios files... _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 16 15:37:45 2006 From: marc at ena.com (Marc Powell) Date: Fri, 16 Jun 2006 08:37:45 -0500 Subject: Nagios 2.4 upgrade Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ravi Kumar > Sent: Friday, June 16, 2006 8:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 2.4 upgrade > > Hi, > Can someone share their experience to upgrade Nagios V2.4? Well, one day I woke up and saw that 2.4 was out. I was mildly interested but wasn't really affected by the bugs. I thought I would upgrade a test box anyway... =) > Was any issue during upgrade on Linux? >From 1.x yes, as documented in the What's New documentation. >From 2.x no, none. Upgrades within major versions are easy. > What are the precausion we need to take care of ? Besides backing up your nagios directory in the event of human error -- >From 1.x: Read and follow the suggestions in the What's New/Changelog documentation >From 2.x: nothing special needs to be done if originally installed from source. Configure, make, stop nagios, make install, start nagios. -- marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ewh at groupoliver.com Fri Jun 16 20:04:14 2006 From: ewh at groupoliver.com (Eric X. Holzapfel) Date: Fri, 16 Jun 2006 11:04:14 -0700 Subject: FW: Will not read config files, verfiy good and status good Message-ID: ________________________________ Hello Nagios, I have installed the nagios 2.3 on a red hat fedora system. It was working, and web access, etc. I went on vacation for 2 weeks, and now nagios will not read the config files. When I navigate to the nagios app using apache (http://jersua/nagios) I get the home page ok, etc. When I click on the "Tactical Overview" link (or any other link) I get the standard error "Cannot read configuration files". My nagios -v /user/local/nagios/etc/nagios.cfg command show all hosts, services, etc as AOK. My nagions status command shows good as well. When I start the daemon, and navigate as above, I still get the error in regard to the config files! Any ideas on what could be wrong? I do notice the lock file and the log file are 0 bytes, the permissions on the directories are good for nagios, and nagioscmd, etc. Thanks, eric -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Fri Jun 16 22:34:19 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 16 Jun 2006 22:34:19 +0200 (CEST) Subject: Problems with the web interface of Nagios In-Reply-To: References: Message-ID: On Fri, 16 Jun 2006, REMY Julien wrote: > I don't understand what you want I do Read the mailinglist archives and look for the keyword selinux. Or spend 5 seconds and use google to find hits like: http://www.experts-exchange.com/Networking/Linux_Networking/Q_21516031.html Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Fri Jun 16 22:41:51 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 16 Jun 2006 22:41:51 +0200 (CEST) Subject: Nagios 2.4 upgrade In-Reply-To: <20060616132622.49696.qmail@web53908.mail.yahoo.com> References: <20060616132622.49696.qmail@web53908.mail.yahoo.com> Message-ID: On Fri, 16 Jun 2006, Ravi Kumar wrote: > Can someone share their experience to upgrade Nagios V2.4? You need to better then this. v2.4 is the latest so where do you want to upgrade to if you are running v2.4 allready? If you are running an older version you have to tell is what older version you run and how you installed it. I can tell that 2.3.1. to 2.4 was a charm. But all I needed to do was 'yum update' my X/OS 4 system. Doing a 1.0 to 2.4 upgrade is an entirely different story. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Fri Jun 16 22:45:34 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 16 Jun 2006 22:45:34 +0200 (CEST) Subject: FW: Will not read config files, verfiy good and status good In-Reply-To: References: Message-ID: On Fri, 16 Jun 2006, Eric X. Holzapfel wrote: > I have installed the nagios 2.3 on a red hat fedora system. It was > working, and web access, etc. > I went on vacation for 2 weeks, and now nagios will not read the config > files. Proves once and and for all that vacations are not just bliss. > When I navigate to the nagios app using apache (http://jersua/nagios) I > get the home page ok, etc. When I click on the > "Tactical Overview" link (or any other link) I get the standard error > "Cannot read configuration files". > > My nagios -v /user/local/nagios/etc/nagios.cfg command show all hosts, > services, etc as AOK. My nagions status command shows good as well. > When I start the daemon, and navigate as above, I still get the error in > regard to the config files! And is this the regular nagios config file? Did you do an installation from source? Because this would not be the place to find a nagios config by default if you install DAG's RPM. Is nagios running? Which config file is it using? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pietro at bertera.it Fri Jun 16 23:35:49 2006 From: pietro at bertera.it (Pietro Bertera) Date: Fri, 16 Jun 2006 23:35:49 +0200 Subject: Nagios 2.4 sarge debian packages Message-ID: <1150493749.9282.12.camel@localhost.localdomain> Hi list, if someone need a debian sarge package of Nagios 2.4 I try to maintain a repository: deb http://www.bertera.it/debian sarge nagios2 lsb-base rergards _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Tony.Mencevski at interactivedata.com Sun Jun 18 08:21:45 2006 From: Tony.Mencevski at interactivedata.com (Tony.Mencevski at interactivedata.com) Date: Sun, 18 Jun 2006 16:21:45 +1000 Subject: Notification period Sundays Only Message-ID: Gentlemen, I have two services that go down periodically on Sunday between 08:10am to 20:10pm .How do I disable notifications during this time period only but still need the 24/7 notification enabled.I have included the service file entry. I am not sure what the syntax on line "notification period" should be for stopping emails going out all day Sunday while the Tokyo exchange feed is not trading during this time?. Melbourne Down - Time Sundays @ 08:36: [18-06-2006 08:36:42] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq feed;CRITICAL;HARD;2;Interface Serial0/0:0 CRITICAL - *down(2)* [18-06-2006 08:34:42] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq feed;CRITICAL;SOFT;1;Interface Serial0/0:0 CRITICAL - *down(2)* [18-06-2006 08:36:42] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq feed;CRITICAL;HARD;2;Interface Serial0/0:0 CRITICAL - *down(2)* [18-06-2006 08:34:42] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq feed;CRITICAL;SOFT;1;Interface Serial0/0:0 CRITICAL - *down(2)* [04-06-2006 08:38:36] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq feed;CRITICAL;HARD;2;Interface Serial0/0:0 CRITICAL - *down(2)* [04-06-2006 08:36:36] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq feed;CRITICAL;SOFT;1;Interface Serial0/0:0 CRITICAL - *down(2)* ................................................................................................................................................................................................................................ [18-06-2006 08:34:02] SERVICE ALERT: r-tyomci-jasdaq;Interface status Exchange WAN;CRITICAL;HARD;2;Interface Serial1 CRITICAL - *down(2)* [18-06-2006 08:32:02] SERVICE ALERT: r-tyomci-jasdaq;Interface status Exchange WAN;CRITICAL;SOFT;1;Interface Serial1 CRITICAL - *down(2)* [04-06-2006 08:39:56] SERVICE ALERT: r-tyomci-jasdaq;Interface status Exchange WAN;CRITICAL;HARD;2;Interface Serial1 CRITICAL - *down(2)* Melbourne UP - Time Sundays @ 20:10: Starts backup @ [04-06-2006 20:08:42] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq feed;OK;HARD;2;Interface Serial0/0:0 OK - up(1) [[11-06-2006 19:50:58] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq feed;OK;HARD;2;Interface Serial0/0:0 OK - up(1) ----------------------------------------------------------------------------------------------------------------------------------------------------- [11-06-2006 23:12:08] SERVICE ALERT: r-tyomci-jasdaq;Interface status Exchange WAN;OK;HARD;2;Interface Serial1 OK - up(1) [04-06-2006 20:10:22] SERVICE ALERT: r-tyomci-jasdaq;Interface status Exchange WAN;OK;HARD;2;Interface Serial1 OK - up(1) Current Configuration: The service.cfg file holds the syntax for chnaging the notification periods for individual services. # Service definition define service{ use generic-service ; host_name r-tyomci-mcimpls,r-tyomci-clientdist,r-tyoanc-ancmpls,r-tyoanc-feed service_description Int F0/0 to Internal ComStock net0 LAN is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval 2 contact_groups all-it-staff notification_interval 30 notification_period 24x7 notification_options w,u,c,r check_command check_interface!FastEthernet0/0!no9tIeNo } Thanks Toni _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Sun Jun 18 13:32:53 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 18 Jun 2006 13:32:53 +0200 (CEST) Subject: Notification period Sundays Only In-Reply-To: References: Message-ID: On Sun, 18 Jun 2006 Tony.Mencevski at interactivedata.com wrote: > Gentlemen, > I have two services that go down periodically on Sunday between 08:10am to > 20:10pm .How do I > disable notifications during this time period only but still need the 24/7 > notification enabled.I have > included the service file entry. I am not sure what the syntax on line > "notification period" should > be for stopping emails going out all day Sunday while the Tokyo exchange > feed is not trading during > this time?. Call me stupid by why do this the hardware? Give them a custome time period so you do not notify during the given interval. > # Service definition > define service{ > use generic-service ; > > host_name > r-tyomci-mcimpls,r-tyomci-clientdist,r-tyoanc-ancmpls,r-tyoanc-feed > service_description Int F0/0 to Internal ComStock > net0 LAN > is_volatile 0 > check_period 24x7 Make this 'almost24x7' for the specific services. > max_check_attempts 2 > normal_check_interval 5 > retry_check_interval 2 > contact_groups all-it-staff > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > check_command > check_interface!FastEthernet0/0!no9tIeNo > } I always prefer KIS (Keep It Simple) solutions because I am lazy. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asraikhn at gmail.com Sun Jun 18 16:17:19 2006 From: asraikhn at gmail.com (Asrai khn) Date: Sun, 18 Jun 2006 19:17:19 +0500 Subject: Nagios 2.4 upgrade In-Reply-To: <20060616132622.49696.qmail@web53908.mail.yahoo.com> References: <20060616132622.49696.qmail@web53908.mail.yahoo.com> Message-ID: <5f0f8dba0606180717p52a3410ck7135d41f2a5452c9@mail.gmail.com> Hi Ravi Just upgraded nagios-2.0b6 to nagios-2.4 and its upgraded like a charm. Okay here are the steps that I followed for this upgradation. 1) stop nagios /etc/rc.d/rc.nagios stop (For me on slackware) 2) Backup current nagios directory in case something goes wrong cp -r /usr/local/nagios /tmp 3) Download nagios-2.4 and nagios-plugin 4) Untar nagios-2.4, cd into nagios-2.4 directory Then follow the steps for ./configure ;make all; make blah blah, as you didn't for your earilier nagios version. 5) untar nagios-plugin , and install it as documented in nagios docs or same as your install it before. 6) Check if nagios config is fine by cd /usr/local/nagios ../nagios -v nagios.cfg I get 0 warnings 0 errors :) 7) start nagios /etc/rc.d/rc.nagios start (For me on slackware, start it according to your distro) That's all, I hope it would of some help :) Regards, Askar Ali -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From filip.sneppe at gmail.com Sun Jun 18 17:35:28 2006 From: filip.sneppe at gmail.com (Filip Sneppe) Date: Sun, 18 Jun 2006 17:35:28 +0200 Subject: Running redundant nagios on shared storage (eg. NFS) Message-ID: <1150644928.5788.34.camel@xbox> Hi, I am looking into implementing a redundant monitoring setup using Nagios. I have read the Nagios documentation, but the solution(s) presented there have a couple of drawbacks, imho: they require extra configuration, and/or they do not keep all history information consistent accross both systems. Just this week, I came accross a Nagios installation where two copies of the main nagios process were running from the same configuration. This setup had been running like this for almost two months, and the only apparent problem was that two notifications were sent out for every problem/recovery. So this got me thinking if this setup would work: - A highly available NFS backend - Two Nagios servers with /var/run/nagios mounted on the NFS backend. - configuration information (/etc/nagios) is replicated accross both nodes - only one nagios process running, and monitoring of both nagios systems. If one fails (either a complete host failure or a failure of the nagios process), the other node starts up nagios and continues from the data in /var/run/nagios Is this scenario too good to be true ? Are there any quirks I am overlooking ? Or is anyone running this setup ? I'd be really happy if someone could tell me this would actually work. Alternatively I'm interested to know what kind of redundant monitoring setup people are running that require minimal configuration and keep all logging information centralized. Thanks in advance! Filip _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lavalamp at spiritual-machines.org Mon Jun 19 05:07:56 2006 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 18 Jun 2006 23:07:56 -0400 Subject: Running redundant nagios on shared storage (eg. NFS) In-Reply-To: <1150644928.5788.34.camel@xbox> References: <1150644928.5788.34.camel@xbox> Message-ID: <1150686476.3427.2107.camel@compulsion> > I'd be really happy if someone could tell me this would actually > work. Alternatively I'm interested to know what kind of The Linux-HA project can do this for you. Actually i've been referring to recently as POSIX-HA. Anyway, if you've ever worked with Veritas Cluster Server, Sun Cluster, etc., you'll figure it out. Plus you might consider shared-scsi storage as an alternative to shared NFS to eliminate SPOFs ~BAS _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Mon Jun 19 08:39:56 2006 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Mon, 19 Jun 2006 08:39:56 +0200 Subject: Problems with the web interface of Nagios Message-ID: <43373B7717A9AE47939A5DF427B9FB75D175AA@SME0019.o.eon-energie.net> Hi all! REMY Julien wrote: > When I do : apachectl configtest, the message is : > > The scriptalias directive in nagios.conf will probably never > match because it overlaps an earlier ScriptAlias. > The Alias directive in nagios.conf will probably never match > because it overlaps an earlier Alias. Maybe, that your Apache already had a config for nagios before and you are now defining it a second time. Check your Apache config files for another occurance(s) of "nagios" or so! Another pitfall which scared me in the past: Some Apaches are configured to include EVERY .conf file in the Apache configuration directory. If you include it extra by an "include ..." statement, you'll have it twice and this also gives the above error. Workaround: Put your nagios.conf in an extra directory (I like to put it for example in /etc/apache2/application/nagios/) and then include it by an "include ..." statement. -- Kind regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Mon Jun 19 09:37:23 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 19 Jun 2006 09:37:23 +0200 Subject: Running redundant nagios on shared storage (eg. NFS) In-Reply-To: <1150644928.5788.34.camel@xbox> References: <1150644928.5788.34.camel@xbox> Message-ID: <9A954B9C-3471-4E8E-A43F-9A63A5361C87@kilala.nl> Hi :) Actually, I'll be building a redundant Nagios setup for my current client. Barring the use of real clustering software I'll make it a cluster-alike so to speak... In our setup we'll have three pairs of hosts: * Internal checkers (through our own networks) * External checkers (through the Internet) * Display hosts (running the GUI and so on) I based my design on the ideas given in "Pro Nagios 2.0" by James Turnbull, although I did make some changes to his design. James' ideas regarding each pair: * Both nodes run Nagios. * The primary node performs all checks and sends its status messages through NSCA to the secondary. * The secondary node does not act upon incoming status messages (checks, notifcation and actions and such disabled). * If the primary node fails, the secondary node will automatically enable the aforementioned actions. * When the primary node is fixed, the secondary node will automatically disable itself. Problems: * The primary does not know the current state of all monitored objects when it comes back up again. * Upon coming back up there will be a certain time window of uncertainty regarding the status of various objects. My ideas regarding each pair: * Both nodes run Nagios. * The active node performs all checks and sends its status messages through NSCA to the passive. * The passive node does not act upon incoming status messages (checks, notifcation and actions and such disabled). * If the active node fails, the passive node will automatically enable the aforementioned actions. * When the previously active node is fixed, the prev. passive node will continue running like it was. It will also synchronise its configuration and status files to the prev. primary. All the status messages will be sent through NSCA to the other node. As an added bonus we will use the passive node (under -normal- running conditions) to test configuration changes before applying them to the active node. That way we'll prevent ourselves from making stupid mistakes :) If the new config is found to be 100% correct it will be synched to the active node. There are still some bugs in the design I need to iron out before I can start building it, but I'll get there. Of course, I'd rather do this the -right- way using something like Sun Cluster ;_; Cheers! Thomas On 18 Jun, 2006, at 17:35, Filip Sneppe wrote: > Hi, > > I am looking into implementing a redundant monitoring setup using > Nagios. I have read the Nagios documentation, but the solution(s) > presented there have a couple of drawbacks, imho: they require > extra configuration, and/or they do not keep all history information > consistent accross both systems. > > Just this week, I came accross a Nagios installation where two > copies of the main nagios process were running from the same > configuration. This setup had been running like this for almost > two months, and the only apparent problem was that two notifications > were sent out for every problem/recovery. > > So this got me thinking if this setup would work: > > - A highly available NFS backend > - Two Nagios servers with /var/run/nagios mounted on the > NFS backend. > - configuration information (/etc/nagios) is replicated > accross both nodes > - only one nagios process running, and monitoring of both > nagios systems. If one fails (either a complete host > failure or a failure of the nagios process), the other > node starts up nagios and continues from the data > in /var/run/nagios > > Is this scenario too good to be true ? Are there any quirks > I am overlooking ? Or is anyone running this setup ? > > I'd be really happy if someone could tell me this would actually > work. Alternatively I'm interested to know what kind of > redundant monitoring setup people are running that require > minimal configuration and keep all logging information > centralized. > > Thanks in advance! > > Filip _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Mon Jun 19 09:49:25 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Mon, 19 Jun 2006 09:49:25 +0200 Subject: Problems with the web interface of Nagios Message-ID: I looked at all the file httpd.conf. I do not have anything which refers to nagios. Only ScriptAlias is: SciptAlias /cgi-bin/ /var/www/cgi-bin. That's all. I tried to copy the nagios.conf files in /etc/httpd/application and to put Include but it is similar. When I reboot httpd, the message says that : The ScriptAlias Directive in nagios.conf will probably never match because it overlaps an earlier ScriptAlias. However I did not find anything in the file httpd.conf -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Voigt Thomas Envoy??: lundi 19 juin 2006 08:40 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Problems with the web interface of Nagios Hi all! REMY Julien wrote: > When I do : apachectl configtest, the message is : > > The scriptalias directive in nagios.conf will probably never > match because it overlaps an earlier ScriptAlias. > The Alias directive in nagios.conf will probably never match > because it overlaps an earlier Alias. Maybe, that your Apache already had a config for nagios before and you are now defining it a second time. Check your Apache config files for another occurance(s) of "nagios" or so! Another pitfall which scared me in the past: Some Apaches are configured to include EVERY .conf file in the Apache configuration directory. If you include it extra by an "include ..." statement, you'll have it twice and this also gives the above error. Workaround: Put your nagios.conf in an extra directory (I like to put it for example in /etc/apache2/application/nagios/) and then include it by an "include ..." statement. -- Kind regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Mon Jun 19 11:16:36 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Mon, 19 Jun 2006 11:16:36 +0200 Subject: Problems with the web interface of Nagios Message-ID: I found the error. In my file httpd.conf, there was 2 Include directive : Include conf.d/*.cgi Include /etc/httpd/conf.d/cgi/ When I restart Nagios, and httpd, there are no error messages. But if I connect me in Nagios, in all menus, characters are posted. -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Voigt Thomas Envoy??: lundi 19 juin 2006 08:40 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Problems with the web interface of Nagios Hi all! REMY Julien wrote: > When I do : apachectl configtest, the message is : > > The scriptalias directive in nagios.conf will probably never > match because it overlaps an earlier ScriptAlias. > The Alias directive in nagios.conf will probably never match > because it overlaps an earlier Alias. Maybe, that your Apache already had a config for nagios before and you are now defining it a second time. Check your Apache config files for another occurance(s) of "nagios" or so! Another pitfall which scared me in the past: Some Apaches are configured to include EVERY .conf file in the Apache configuration directory. If you include it extra by an "include ..." statement, you'll have it twice and this also gives the above error. Workaround: Put your nagios.conf in an extra directory (I like to put it for example in /etc/apache2/application/nagios/) and then include it by an "include ..." statement. -- Kind regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nick at nexusproductions.com Mon Jun 19 11:15:21 2006 From: nick at nexusproductions.com (Nick Wales) Date: Mon, 19 Jun 2006 10:15:21 +0100 Subject: Turning off windows hosts at temp limit Message-ID: I've got problems with our air conditioning cutting out when the external temperature reaches 30 degrees C, the main source of heat in our server room is the render farm which isn't as necessarily as the file servers, so I'd like to be able to automatically turn them off. They are all windows 2000 hosts, and not being all that well versed with scripting on windows I'm not sure how this would work. So any ideas on how to get this working? Nick _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Mon Jun 19 12:22:41 2006 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Mon, 19 Jun 2006 12:22:41 +0200 Subject: Problems with the web interface of Nagios Message-ID: <43373B7717A9AE47939A5DF427B9FB75D175DA@SME0019.o.eon-energie.net> Hi all! REMY Julien wrote: > I found the error. In my file httpd.conf, there was 2 Include > directive : > > Include conf.d/*.cgi > Include /etc/httpd/conf.d/cgi/ > > When I restart Nagios, and httpd, there are no error > messages. But if I connect me in Nagios, in all menus, > characters are posted. What does this mean "characters are posted"? I don't understand this. Do you see the menu in the left frame? -- Kind regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Mon Jun 19 12:31:14 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Mon, 19 Jun 2006 12:31:14 +0200 Subject: Problems with the web interface of Nagios Message-ID: Yes, I see the menu in left frame -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Voigt Thomas Envoy??: lundi 19 juin 2006 12:23 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Problems with the web interface of Nagios Hi all! REMY Julien wrote: > I found the error. In my file httpd.conf, there was 2 Include > directive : > > Include conf.d/*.cgi > Include /etc/httpd/conf.d/cgi/ > > When I restart Nagios, and httpd, there are no error > messages. But if I connect me in Nagios, in all menus, > characters are posted. What does this mean "characters are posted"? I don't understand this. Do you see the menu in the left frame? -- Kind regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.jpg Type: image/jpeg Size: 191362 bytes Desc: nagios.jpg URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Oliver.Marshall at g2support.com Mon Jun 19 12:32:26 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Mon, 19 Jun 2006 11:32:26 +0100 Subject: Paid for GWK mod's In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C8521@indigo.G2Support.local> Hi, Does anyone know of someone who would be willing to do some custom GroundWork OpenSource (nagios) modifications for me? Basically, I want to be able to integrate the output from hostgroups in to my own site. So, on a clients extranet page, I want the results from their hostgroup to be displayed. I'm after a quote and a timeframe. Olly _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Voigt at netkom.de Mon Jun 19 12:37:38 2006 From: Thomas.Voigt at netkom.de (Voigt Thomas) Date: Mon, 19 Jun 2006 12:37:38 +0200 Subject: Problems with the web interface of Nagios Message-ID: <43373B7717A9AE47939A5DF427B9FB75D175DD@SME0019.o.eon-energie.net> Hi all! REMY Julien wrote: > Yes, I see the menu in left frame Oh, I see in the picture what you will say... Your Apache isn't executing the status.cgi script, which delivers the content of the right frame. The Apache is simply showing the contents of this ELF-binary. Check the definition of the nagios cgi directory in your Apache config! At my server it looks like this: ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" Options Indexes FollowSymLinks +ExecCGI AllowOverride None Order allow,deny Allow from all ... Maybe your fault is that in your config the plus sign (+) in front of the ExecCGI is missing... Also the rights of all files in this directory should be at least 755(dec), so the webserver process is able to execute the files. -- Kind regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Mon Jun 19 12:59:47 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Mon, 19 Jun 2006 12:59:47 +0200 Subject: TR: Problems with the web interface of Nagios Message-ID: Yes but now I don't have the permission access on all .cgi files. I did : Chown nagios:nagios cgi/* Chmod 777 cgi/* But there is always the same message. -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Voigt Thomas Envoy??: lundi 19 juin 2006 12:38 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Problems with the web interface of Nagios Hi all! REMY Julien wrote: > Yes, I see the menu in left frame Oh, I see in the picture what you will say... Your Apache isn't executing the status.cgi script, which delivers the content of the right frame. The Apache is simply showing the contents of this ELF-binary. Check the definition of the nagios cgi directory in your Apache config! At my server it looks like this: ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" Options Indexes FollowSymLinks +ExecCGI AllowOverride None Order allow,deny Allow from all ... Maybe your fault is that in your config the plus sign (+) in front of the ExecCGI is missing... Also the rights of all files in this directory should be at least 755(dec), so the webserver process is able to execute the files. -- Kind regards Thomas Voigt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carl.Friend at mathworks.com Mon Jun 19 13:19:19 2006 From: Carl.Friend at mathworks.com (Carl Friend) Date: Mon, 19 Jun 2006 07:19:19 -0400 Subject: TR: Problems with the web interface of Nagios Message-ID: Good morning, > chown nagios:nagios cgi/* > chmod 777 cgi/* Just a heads-up, but 777 is *way* too much permission for those files. 755, or even 711 if the files are owned by the nagios user, is vastly safer; you don't want the world to be able to modify those executable files. > But there is always the same message. Here's a stupid question: "After putting the proper stanzas into your httpd.conf file did you restart your Apache server?" Just as an FYI, here's the "business end" of my httpd.conf file: ----- ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ "/usr/local/nagios/share/" Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all Options None AllowOverride AuthConfig Order allow,deny Allow from all ----- If your web server is returning odd results, you may find some tantalysing hints in the server logs. +----------------------------------------------+-----------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +-----------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +----------------------------------------------+-----------------------+ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Mon Jun 19 13:28:57 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Mon, 19 Jun 2006 13:28:57 +0200 Subject: TR: Problems with the web interface of Nagios Message-ID: Yes, I restarted Apache after my modifications. I don't know from which the problem comes. -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Carl Friend Envoy??: lundi 19 juin 2006 13:19 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] TR: Problems with the web interface of Nagios Good morning, > chown nagios:nagios cgi/* > chmod 777 cgi/* Just a heads-up, but 777 is *way* too much permission for those files. 755, or even 711 if the files are owned by the nagios user, is vastly safer; you don't want the world to be able to modify those executable files. > But there is always the same message. Here's a stupid question: "After putting the proper stanzas into your httpd.conf file did you restart your Apache server?" Just as an FYI, here's the "business end" of my httpd.conf file: ----- ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ "/usr/local/nagios/share/" Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all Options None AllowOverride AuthConfig Order allow,deny Allow from all ----- If your web server is returning odd results, you may find some tantalysing hints in the server logs. +----------------------------------------------+-----------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +-----------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +----------------------------------------------+-----------------------+ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ktynagios at richard-group.com Mon Jun 19 15:39:24 2006 From: ktynagios at richard-group.com (Kurt Yoder) Date: Mon, 19 Jun 2006 09:39:24 -0400 Subject: Nagios 2.4 sarge debian packages In-Reply-To: <1150493749.9282.12.camel@localhost.localdomain> References: <1150493749.9282.12.camel@localhost.localdomain> Message-ID: <73D52F13-BFAD-4C60-8B4B-F5EC5811AED9@richard-group.com> On Jun 16, 2006, at 5:35 PM, Pietro Bertera wrote: > Hi list, > if someone need a debian sarge package of Nagios 2.4 I try to > maintain a > repository: > > deb http://www.bertera.it/debian sarge nagios2 lsb-base > > rergards Why not use backports? They have a bunch of backported Debian packages. http://www.backports.org/package.php?search=nagios _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pietro at bertera.it Mon Jun 19 16:09:04 2006 From: pietro at bertera.it (Pietro Bertera) Date: Mon, 19 Jun 2006 16:09:04 +0200 Subject: Nagios 2.4 sarge debian packages In-Reply-To: <73D52F13-BFAD-4C60-8B4B-F5EC5811AED9@richard-group.com> References: <1150493749.9282.12.camel@localhost.localdomain> <73D52F13-BFAD-4C60-8B4B-F5EC5811AED9@richard-group.com> Message-ID: <1150726145.20321.5.camel@localhost.localdomain> Il giorno lun, 19/06/2006 alle 09.39 -0400, Kurt Yoder ha scritto: > Why not use backports? They have a bunch of backported Debian packages. > > http://www.backports.org/package.php?search=nagios they are the same. I am the sposor of nagios2 packages for backport regards, Pietro _______________________________________________ Nagios-users mailing list Nagios-users at 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 From emmanuel.kedaj at gmail.com Mon Jun 19 16:12:03 2006 From: emmanuel.kedaj at gmail.com (Emmanuel Kedaj) Date: Mon, 19 Jun 2006 16:12:03 +0200 Subject: check_email_loop script modified Message-ID: I was just experiencing some strange problems, fixed it and wanted to submit it to the community. the script is actually trying to do doing this: - send mail number 1 - queue mail 1 for delivery on mailserver - retrive mails from mailbox looking for mail number 0 (previously sent) - delete old unrecognised mails. - retain in mind (stat file) mail 1 was sent for next check problem: if your mailserver is quick enough, here is what will happen: - send mail 1 - deliver mail 1 to mailbox directly without queuing - retrieve mails looking for mail 0 (including mail 1) - delete mail 1 as if it is not yet recognised as sent - retain mail 1 was sent (and never find it) so the solution was that simple: - retrieve mail 0 - send mail 1 - retain mail 1 was sent for future retrieval I ve seen in the mailing some other people are experiencing the same, but did not find someone who posted an updated version of the script. So here is the updated version that is running well for me. cheers, Manu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_email_loop.pl Type: application/octet-stream Size: 12889 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From emmanuel.kedaj at gmail.com Mon Jun 19 16:18:43 2006 From: emmanuel.kedaj at gmail.com (Emmanuel Kedaj) Date: Mon, 19 Jun 2006 16:18:43 +0200 Subject: check_email_loop script modified In-Reply-To: References: Message-ID: I was just experiencing some strange problems, fixed it and wanted to submit it to the community. nagios 2.2 (now 2.3) nagios-plugins 1.4.2 the script is actually trying to do doing this: - send mail number 1 - queue mail 1 for delivery on mailserver - retrive mails from mailbox looking for mail number 0 (previously sent) - delete old unrecognised mails. - retain in mind (stat file) mail 1 was sent for next check problem: if your mailserver is quick enough, here is what will happen: - send mail 1 - deliver mail 1 to mailbox directly without queuing - retrieve mails looking for mail 0 (including mail 1) - delete mail 1 as if it is not yet recognised as sent - retain mail 1 was sent (and never find it) so the solution was that simple: - retrieve mail 0 - send mail 1 - retain mail 1 was sent for future retrieval I ve seen in the mailing some other people are experiencing the same, but did not find someone who posted an updated version of the script. So here is the updated version that is running well for me. cheers, Manu ------------------------------ start of check_email_loop-pl ------------------------------------------- #!/usr/bin/perl -w # # (c)2000 Benjamin Schmid, blueshift at gmx.net # Copyleft by GNU GPL # # # check_email_loop Nagios Plugin # # This script sends a mail with a specific id in the subject via # an given smtp-server to a given email-adress. When the script # is run again, it checks for this Email (with its unique id) on # a given pop3 account and send another mail. # # # Example: check_email_loop.pl -poph=mypop -popu=user -pa=password # -smtph=mailer -from=returnadress at yoursite.com # -to=remaileradress at friend.com -pendc=2 -lostc=0 # # This example will send each time this check is executed a new # mail to remaileradress at friend.com using the SMTP-Host mailer. # Then it looks for any back-forwarded mails in the POP3 host # mypop. In this Configuration CRITICAL state will be reached if # more than 2 Mails are pending (meaning that they did not came # back till now) or if a mails got lost (meaning a mail, that was # send later came back prior to another mail). # # Michael Markstaller, mm at elabnet.de various changes/additions # MM 021003: fixed some unquoted strings # MM 021116: fixed/added pendwarn/lostwarn # MM 030515: added deleting of orphaned check-emails # changed to use "top" instead of get to minimize traffic (required changing match-string from "Subject: Email-ping [" to "Email-Ping [" # # Emmanuel Kedaj (Emmanuel.kedaj at gmail.com) # Added some debug messages # retrieving POP3 mails before sending actual test mail # as mentionned by Dave Ewall on 19 Jul 2005 on Nagios-users mailing list # https://lists.sourceforge.net/lists/listinfo/nagios-users # use Net::POP3; use Net::SMTP; use strict; use Getopt::Long; &Getopt::Long::config('auto_abbrev'); # ---------------------------------------- my $TIMEOUT = 120; my %ERRORS = ('UNKNOWN' , '-1', 'OK' , '0', 'WARNING', '1', 'CRITICAL', '2'); my $state = "UNKNOWN"; my ($sender,$receiver, $pophost, $popuser, $poppasswd, $smtphost,$keeporphaned); my ($poptimeout,$smtptimeout,$pinginterval,$maxmsg)=(60,60,5,50); my ($lostwarn, $lostcrit,$pendwarn, $pendcrit,$debug); $debug=0; # Internal Vars my ($pop,$msgcount, at msglines,$statinfo, at messageids,$newestid); my (%other_smtp_opts); my ($matchcount,$statfile) = (0,"check_email_loop.stat"); # Subs declaration sub usage; sub messagematchs; sub nsexit; # Just in case of problems, let's not hang Nagios $SIG{'ALRM'} = sub { print ("ERROR: $0 Time-Out $TIMEOUT s \n"); exit $ERRORS{"UNKNOWN"}; }; alarm($TIMEOUT); # Evaluate Command Line Parameters my $status = GetOptions( "from=s",\$sender, "to=s",\$receiver, "debug", \$debug, "pophost=s",\$pophost, "popuser=s",\$popuser, "passwd=s",\$poppasswd, "poptimeout=i",\$poptimeout, "smtphost=s",\$smtphost, "smtptimeout=i",\$smtptimeout, "statfile=s",\$statfile, "interval=i",\$pinginterval, "lostwarn=i",\$lostwarn, "lostcrit=i",\$lostcrit, "pendwarn=i",\$pendwarn, "pendcrit=i",\$pendcrit, "maxmsg=i",\$maxmsg, "keeporphaned=s",\$keeporphaned, ); usage() if ($status == 0 || ! ($pophost && $popuser && $poppasswd && $smtphost && $receiver && $sender )); # Try to read the ids of the last send emails out of statfile if (open STATF, "$statfile") { @messageids = ; chomp @messageids; close STATF; } # Try to open statfile for writing if (!open STATF, ">$statfile") { nsexit("Failed to open mail-ID database $statfile for writing",'CRITICAL'); } if ( $debug == 1 ) { print ("----------------------------------------------------------------------\n"); print ("----------------------------------------------------------------------\n"); print ("-------------------- Checking POP3 Mails -----------------------------\n"); print ("----------------------------------------------------------------------\n"); print ("----------------------------------------------------------------------\n"); print ("Retrieving POP mails from $pophost using user: $popuser and password $poppasswd\n"); } # the interessting part: let's see if mails are receiving ;-) $pop = Net::POP3->new( $pophost, Timeout=>$poptimeout) || nsexit("POP3 connect timeout (>$poptimeout s, host: $pophost)",'CRITICAL'); $msgcount=$pop->login($popuser,$poppasswd); $statinfo="$msgcount mails on POP3"; if ( $debug == 1 ) { print ("Found $statinfo\n"); } nsexit("POP3 login failed (user:$popuser)",'CRITICAL') if (!defined($msgcount)); # Check if more than maxmsg mails in pop3-box nsexit(">$maxmsg Mails ($msgcount Mails on POP3); Please delete !",'WARNING') if ($msgcount > $maxmsg); # Count messages, that we are looking 4: while ($msgcount > 0) { @msglines = @{$pop->top($msgcount,1)}; for (my $i=0; $i < scalar @messageids; $i++) { if (messagematchsid(\@msglines,$messageids[$i])) { $matchcount++; if ( $debug == 1 ) { print ("Messages are matching\n"); } # newest received mail than the others, ok remember id. if(!defined $newestid) { $newestid = $messageids[$i] } elsif ($messageids[$i] > $newestid) { $newestid = $messageids[$i]; } my @msgsubject = grep /^Subject/, @msglines; if ( $debug == 1 ) { print ("Deleted retrieved mail $msgcount with subject $msgsubject[0]\n"); } $pop->delete($msgcount); # remove E-Mail from POP3 server splice @messageids, $i, 1;# remove id from List last; # stop looking in list } } # Delete orphaned Email-ping msg my @msgsubject = grep /^Subject/, @msglines; chomp @msgsubject; # Scan Subject if email is an Email-Ping. In fact we match and delete also successfully retrieved messages here again. if (!defined $keeporphaned && $msgsubject[0] =~ /E-Mail Ping \[/) { $pop->delete($msgcount); # remove E-Mail from POP3 server if ( $debug == 1 ) { print ("Deleted orphaned mail $msgcount with subject $msgsubject[0]\n"); } } $msgcount--; } $pop->quit(); # necessary for pop3 deletion! # traverse through the message list and mark the lost mails # that mean mails that are older than the last received mail. if (defined $newestid) { $newestid =~ /\#(\d+)\#/; $newestid = $1; for (my $i=0; $i < scalar @messageids; $i++) { $messageids[$i] =~ /\#(\d+)\#/; my $akid = $1; if ($akid < $newestid) { $messageids[$i] =~ s/^ID/LI/; # mark lost if ( $debug == 1 ) { print ("MAIL $messageids[$i] MARKED AS LOST\n"); } } } } # Write list to id-Database foreach my $id (@messageids) { print STATF "$id\n"; } # creating new serial id my $serial = time(); $serial = "ID#" . $serial . "#$$"; if ( $debug == 1 ) { print ("----------------------------------------------------------------------\n"); print ("----------------------------------------------------------------------\n"); print ("-------------------- SENDING MAIL: $serial -----------------\n"); print ("----------------------------------------------------------------------\n"); print ("----------------------------------------------------------------------\n"); } # sending new ping email #%other_smtp_opts={}; if ( $debug == 1 ) { $other_smtp_opts{'Debug'} = 1; } my $smtp = Net::SMTP->new($smtphost,Timeout=>$smtptimeout, %other_smtp_opts) || nsexit("SMTP connect timeout ($smtptimeout s)",'CRITICAL'); ($smtp->mail($sender) && $smtp->to($receiver) && $smtp->data() && $smtp->datasend("To: $receiver\nSubject: E-Mail Ping [$serial]\n\n". "This is a automatically sended E-Mail.\n". "It ist not intended for human reader.\n\n". "Serial No: $serial\n") && $smtp->dataend() && $smtp->quit ) || nsexit("Error delivering message",'CRITICAL'); print STATF "$serial\n"; # remember send mail of this session close STATF; # ok - count lost and pending mails; my @tmp = grep /^ID/, @messageids; my $pendingm = scalar @tmp; @tmp = grep /^LI/, @messageids; my $lostm = scalar @tmp; # Evaluate the Warnin/Crit-Levels if (defined $pendwarn && $pendingm > $pendwarn) { $state = 'WARNING'; } if (defined $lostwarn && $lostm > $lostwarn) { $state = 'WARNING'; } if (defined $pendcrit && $pendingm > $pendcrit) { $state = 'CRITICAL'; } if (defined $lostcrit && $lostm > $lostcrit) { $state = 'CRITICAL'; } if ((defined $pendwarn || defined $pendcrit || defined $lostwarn || defined $lostcrit) && ($state eq 'UNKNOWN')) {$state='OK';} if ( $debug == 1 ) { print ("STATUS:\n"); print ("Found : $statinfo\n"); print ("Matching : $matchcount\n"); print ("Pending : $pendingm\n"); print ("Lost : $lostm\n"); print ("Mail $serial remembered as sent\n"); print ("----------------------------------------------------------------------\n"); print ("----------------------------------------------------------------------\n"); print ("-------------------------- END DEBUG INFO ----------------------------\n"); print ("----------------------------------------------------------------------\n"); print ("----------------------------------------------------------------------\n"); } # Append Status info $statinfo = $statinfo . ", $matchcount mail(s) came back,". " $pendingm pending, $lostm lost."; # Exit in a Nagios-compliant way nsexit($statinfo); # ---------------------------------------------------------------------- sub usage { print "check_email_loop 1.1 Nagios Plugin - Real check of a E-Mail system\n"; print "=" x 75,"\nERROR: Missing or wrong arguments!\n","=" x 75,"\n"; print "This script sends a mail with a specific id in the subject via an given\n"; print "smtp-server to a given email-adress. When the script is run again, it checks\n"; print "for this Email (with its unique id) on a given pop3 account and sends \n"; print "another mail.\n"; print "\nThe following options are available:\n"; print " -from=text email adress of send (for mail returnr on errors)\n"; print " -to=text email adress to which the mails should send to\n"; print " -pophost=text IP or name of the POP3-host to be checked\n"; print " -popuser=text Username of the POP3-account\n"; print " -passwd=text Password for the POP3-user\n"; print " -poptimeout=num Timeout in seconds for the POP3-server\n"; print " -smtphost=text IP oder name of the SMTP host\n"; print " -smtptimeout=num Timeout in seconds for the SMTP-server\n"; print " -statfile=text File to save ids of messages ($statfile)\n"; print " -interval=num Time (in minutes) that must pass by before sending\n"; print " another Ping-mail (gibe a new try);\n"; print " -lostwarn=num WARNING-state if more than num lost emails\n"; print " -lostcrit=num CRITICAL \n"; print " -pendwarn=num WARNING-state if more than num pending emails\n"; print " -pendcrit=num CRITICAL \n"; print " -maxmsg=num WARNING if more than num emails on POP3 (default 50)\n"; print " -keeporphaned Set this to NOT delete orphaned E-Mail Ping msg from POP3\n"; print " -debug send SMTP tranaction info to stderr\n\n"; print " Options may abbreviated!\n"; print " LOST mails are mails, being sent before the last mail arrived back.\n"; print " PENDING mails are those, which are not. (supposed to be on the way)\n"; print "\nExample: \n"; print " $0 -poph=host -pa=pw -popu=popts -smtph=host -from=root\@me.com\n "; print " -to=remailer\@testxy.com -lostc=0 -pendc=2\n"; print "\nCopyleft 19.10.2000, Benjamin Schmid / 2003 Michael Markstaller, mm\@elabnet.de\n"; print "This script comes with ABSOLUTELY NO WARRANTY\n"; print "This programm is licensed under the terms of the "; print "GNU General Public License\n\n"; exit $ERRORS{"UNKNOWN"}; } # --------------------------------------------------------------------- sub nsexit { my ($msg,$code) = @_; $code=$state if (!defined $code); print "$code: $msg\n" if (defined $msg); exit $ERRORS{$code}; } # --------------------------------------------------------------------- sub messagematchsid { my ($mailref,$id) = (@_); my (@tmp); my $match = 0; # ID $id =~ s/^LI/ID/; # evtl. remove lost mail mark @tmp = grep /E-Mail Ping \[/, @$mailref; chomp @tmp; if ( $debug == 1 ) { print ("Comparing Mail content $tmp[0] with Mail ID $id:\n"); } if (($tmp[0] =~ /$id/)) { $match = 1; } # Sender: # @tmp = grep /^From:\s+/, @$mailref; # if (@tmp && $sender ne "") # { $match = $match && ($tmp[0]=~/$sender/); } # Receiver: # @tmp = grep /^To: /, @$mailref; # if (@tmp && $receiver ne "") # { $match = $match && ($tmp[0]=~/$receiver/); } return $match; } # --------------------------------------------------------------------- ------------------------------ end of check_email_loop-pl ------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.traylen at rl.ac.uk Mon Jun 19 16:42:38 2006 From: s.traylen at rl.ac.uk (Steve Traylen) Date: Mon, 19 Jun 2006 15:42:38 +0100 Subject: Is there a max length for a command_line ? Message-ID: <20060619144238.GB13077@x.esc.rl.ac.uk> Hi, I've been trying to use check_cluster2 to monitor over all state of a 1000 node batch farm . So you end up with something like. define command{ command_name check_host_cluster_workers command_line /usr/lib/nagios/plugins/check_cluster2 \ --host -l "Batch Cluster" -w $ARG1$ -c $ARG2$ -d $HOSTSTATEID:node0001$,$HOSTSTATEID:node0002$, .... \ ... $HOSTSTATEID:node0998$,$HOSTSTATEID:node0999$,$HOSTSTATEID:node1000$ } While I can run $ /usr/lib/nagios/plugins/check_cluster2 --host -l "Batch" -w 3 -c 5 -d 0,0,0,0,1,1,1,1,...,1,1,1,1.0 on a cammand line for 1000 nodes okay the command when run within nagios is trucated at a certain length. Probably 1024 though I have not counted. Only the first 500 or so nodes are considered. Is there a limit on command_line length somewhere within nagios? Can any one think of a way around this. Steve -- Steve Traylen s.traylen at rl.ac.uk http://www.gridpp.ac.uk/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Mon Jun 19 16:51:44 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 19 Jun 2006 16:51:44 +0200 Subject: Is there a max length for a command_line ? In-Reply-To: <7FE358D8-6547-46C6-94F3-39561CC0200F@kilala.nl> References: <20060619144238.GB13077@x.esc.rl.ac.uk> <7FE358D8-6547-46C6-94F3-39561CC0200F@kilala.nl> Message-ID: On 19 Jun, 2006, at 16:51, Thomas Sluyter wrote: > Why not make things a bit more readable by putting that long > command in a separate script? > > Your original question still stands though and I'm curious as well.. > > > > On 19 Jun, 2006, at 16:42, Steve Traylen wrote: > >> >> Hi, >> >> I've been trying to use check_cluster2 to monitor over all >> state of a 1000 node batch farm . >> >> So you end up with something like. >> >> define command{ >> command_name check_host_cluster_workers >> command_line /usr/lib/nagios/plugins/check_cluster2 \ >> --host -l "Batch Cluster" -w $ARG1$ -c $ARG2$ -d >> $HOSTSTATEID:node0001$,$HOSTSTATEID:node0002$, .... \ >> ... $HOSTSTATEID:node0998$,$HOSTSTATEID:node0999 >> $,$HOSTSTATEID:node1000$ >> } >> >> While I can run >> >> $ /usr/lib/nagios/plugins/check_cluster2 --host -l "Batch" -w 3 - >> c 5 -d 0,0,0,0,1,1,1,1,...,1,1,1,1.0 >> >> on a cammand line for 1000 nodes okay the command when run >> within nagios is trucated at a certain >> length. Probably 1024 though I have not counted. Only the first >> 500 or so nodes are considered. >> >> Is there a limit on command_line length somewhere within nagios? >> Can any one think of a way around this. >> >> Steve >> >> >> >> >> >> >> >> -- >> Steve Traylen >> s.traylen at rl.ac.uk >> http://www.gridpp.ac.uk/ >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Mon Jun 19 17:04:33 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Mon, 19 Jun 2006 17:04:33 +0200 Subject: TR: Problems with the web interface of Nagios Message-ID: I tried to delete the rpm of nagios and all files of the rpm to install nagios2.4.tar. I followed official documentation on the site of Nagios. No error message during the reboot of httpd but when I reboot Nagios, the message is : starting network monitor: nagios. If I do ps -ef | grep nagios, Nagiosn isn't start. When I connect me on http://localhost/nagios, the message is Internal Server Error. -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Carl Friend Envoy??: lundi 19 juin 2006 13:19 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] TR: Problems with the web interface of Nagios Good morning, > chown nagios:nagios cgi/* > chmod 777 cgi/* Just a heads-up, but 777 is *way* too much permission for those files. 755, or even 711 if the files are owned by the nagios user, is vastly safer; you don't want the world to be able to modify those executable files. > But there is always the same message. Here's a stupid question: "After putting the proper stanzas into your httpd.conf file did you restart your Apache server?" Just as an FYI, here's the "business end" of my httpd.conf file: ----- ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ "/usr/local/nagios/share/" Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all Options None AllowOverride AuthConfig Order allow,deny Allow from all ----- If your web server is returning odd results, you may find some tantalysing hints in the server logs. +----------------------------------------------+-----------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +-----------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +----------------------------------------------+-----------------------+ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jeekay at gmail.com Mon Jun 19 17:12:10 2006 From: jeekay at gmail.com (Jee Kay) Date: Mon, 19 Jun 2006 16:12:10 +0100 Subject: Custom per-host attributes Message-ID: Is there anyway of storing custom per-host attributes? Specifically I'd like to be able to store things like SNMP communities so that I can access them in command configurations. At the moment I end up having to having different command definitions for hosts with different communities, which means I have to split hosts into different hostgroups for services etc etc. It's a pain, and its not just SNMP :) Things like interfaces to exclude from ifstatus would also be fantastic to be able to define per-host. I'm running 1.3 at the moment if that makes any difference... though an upgrade is possible if necessary :) Thanks in advance, Ras _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jun 19 18:15:01 2006 From: marc at ena.com (Marc Powell) Date: Mon, 19 Jun 2006 11:15:01 -0500 Subject: Custom per-host attributes Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jee Kay > Sent: Monday, June 19, 2006 10:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Custom per-host attributes > > Is there anyway of storing custom per-host attributes? Specifically > I'd like to be able to store things like SNMP communities so that I > can access them in command configurations. At the moment I end up > having to having different command definitions for hosts with > different communities, which means I have to split hosts into > different hostgroups for services etc etc. It's a pain, and its not > just SNMP :) Things like interfaces to exclude from ifstatus would > also be fantastic to be able to define per-host. > > I'm running 1.3 at the moment if that makes any difference... though > an upgrade is possible if necessary :) Full user custom macros are not yet supported and are expected to be available in 3.0 (http://www.nagios.org/development/upcoming.php). You can pass that information as part of your service definition using the $ARGn$ macros now however. For example, using the following command definition I can support different SNMP community strings -- define command { command_name check_temperature command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $ARG1$ -w 35:32 -c 99:36 -l 'Temperature is' } define service { use generic-service host_name my-router-1 service_description INLET TEMP retry_check_interval 3 contact_groups whoever check_command check_temperature!READCOM1 } define service { use generic-service host_name my-router-2 service_description INLET TEMP retry_check_interval 3 contact_groups whoever check_command check_temperature!READCOM2 } Using the above example, $ARG1$ is 'READCOM1' when the service on 'my-router-1' is checked and 'READCOM2' when the same service is checked on 'my-router-2'. You can pass up to 32 ! separated arguments in this way ($ARG1$, $ARG2$, ... $ARG32$) -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jun 19 18:58:45 2006 From: marc at ena.com (Marc Powell) Date: Mon, 19 Jun 2006 11:58:45 -0500 Subject: Is there a max length for a command_line ? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Steve Traylen > Sent: Monday, June 19, 2006 9:43 AM > To: nagios-users > Subject: [Nagios-users] Is there a max length for a command_line ? > > > Hi, > > I've been trying to use check_cluster2 to monitor over all state of a > 1000 node batch farm . > [chop[] > > on a cammand line for 1000 nodes okay the command when run within nagios > is trucated at a certain > length. Probably 1024 though I have not counted. Only the first 500 or > so nodes are considered. > > Is there a limit on command_line length somewhere within nagios? > Can any one think of a way around this. Yes. Presuming you are using 1.x, it's 8196 characters per line -- xdata/xodtemplate.h #define MAX_XODTEMPLATE_INPUT_BUFFER 8196 I've increased that in the past to 65535 with no problems and Nagios-2 uses that length by default. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ewh at groupoliver.com Mon Jun 19 19:37:17 2006 From: ewh at groupoliver.com (Eric X. Holzapfel) Date: Mon, 19 Jun 2006 10:37:17 -0700 Subject: FW: Nagios-users Digest, Vol 1, Issue 3224 - Verify and Status ok Message-ID: Hello List - See reponse to topic 3 below -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Saturday, June 17, 2006 12:04 To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 1, Issue 3224 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Problems with the web interface of Nagios (Hugo van der Kooij) 2. Re: Nagios 2.4 upgrade (Hugo van der Kooij) 3. Re: FW: Will not read config files, verfiy good and status good (Hugo van der Kooij) 4. Nagios 2.4 sarge debian packages (Pietro Bertera) ---------------------------------------------------------------------- Message: 1 Date: Fri, 16 Jun 2006 22:34:19 +0200 (CEST) From: Hugo van der Kooij Subject: Re: [Nagios-users] Problems with the web interface of Nagios To: Nagios Users Mailinglist Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 16 Jun 2006, REMY Julien wrote: > I don't understand what you want I do Read the mailinglist archives and look for the keyword selinux. Or spend 5 seconds and use google to find hits like: http://www.experts-exchange.com/Networking/Linux_Networking/Q_21516031.h tml Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------ Message: 2 Date: Fri, 16 Jun 2006 22:41:51 +0200 (CEST) From: Hugo van der Kooij Subject: Re: [Nagios-users] Nagios 2.4 upgrade To: Nagios Users Mailinglist Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 16 Jun 2006, Ravi Kumar wrote: > Can someone share their experience to upgrade Nagios V2.4? You need to better then this. v2.4 is the latest so where do you want to upgrade to if you are running v2.4 allready? If you are running an older version you have to tell is what older version you run and how you installed it. I can tell that 2.3.1. to 2.4 was a charm. But all I needed to do was 'yum update' my X/OS 4 system. Doing a 1.0 to 2.4 upgrade is an entirely different story. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------ Message: 3 Date: Fri, 16 Jun 2006 22:45:34 +0200 (CEST) From: Hugo van der Kooij Subject: Re: [Nagios-users] FW: Will not read config files, verfiy good and status good To: Nagios Users Mailinglist Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 16 Jun 2006, Eric X. Holzapfel wrote: > I have installed the nagios 2.3 on a red hat fedora system. It was > working, and web access, etc. > I went on vacation for 2 weeks, and now nagios will not read the > config files. Proves once and and for all that vacations are not just bliss. You may be correct as to vacations! > When I navigate to the nagios app using apache (http://jersua/nagios) > I get the home page ok, etc. When I click on the "Tactical Overview" > link (or any other link) I get the standard error "Cannot read > configuration files". > > My nagios -v /user/local/nagios/etc/nagios.cfg command show all hosts, > services, etc as AOK. My nagions status command shows good as well. > When I start the daemon, and navigate as above, I still get the error > in regard to the config files! And is this the regular nagios config file? I am using a "directory" for the config files - The nagios.cfg file used is the one in /usr/local/nagios/etc/nagios.cfg (I think that is the default) Did you do an installation from source? Because this would not be the place to find a nagios config by default if you install DAG's RPM. I did the install from source, with the builds, makes, and etc. Is nagios running? Which config file is it using? Nagios shows as a process. I will search for other nagios files. Thanks, eric Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------ Message: 4 Date: Fri, 16 Jun 2006 23:35:49 +0200 From: Pietro Bertera Subject: [Nagios-users] Nagios 2.4 sarge debian packages To: nagios-users at lists.sourceforge.net Message-ID: <1150493749.9282.12.camel at localhost.localdomain> Content-Type: text/plain Hi list, if someone need a debian sarge package of Nagios 2.4 I try to maintain a repository: deb http://www.bertera.it/debian sarge nagios2 lsb-base rergards ------------------------------ ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 1, Issue 3224 ********************************************* _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Mon Jun 19 20:40:53 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 19 Jun 2006 11:40:53 -0700 Subject: FW: Nagios-users Digest, Vol 1, Issue 3224 - Verify and Status ok In-Reply-To: References: Message-ID: <20060619184053.GX8279@hermes.americas.hpqcorp.net> On Mon, 19 Jun 2006, Eric X. Holzapfel wrote: > Hello List - See reponse to topic 3 below > > I have installed the nagios 2.3 on a red hat fedora system. It was > > working, and web access, etc. > > I went on vacation for 2 weeks, and now nagios will not read the > > config files. > > Proves once and and for all that vacations are not just bliss. > You may be correct as to vacations! > > > When I navigate to the nagios app using apache (http://jersua/nagios) > > I get the home page ok, etc. When I click on the "Tactical Overview" > > link (or any other link) I get the standard error "Cannot read > > configuration files". > > > > My nagios -v /user/local/nagios/etc/nagios.cfg command show all hosts, > > > services, etc as AOK. My nagions status command shows good as well. > > When I start the daemon, and navigate as above, I still get the error > > in regard to the config files! > > And is this the regular nagios config file? > I am using a "directory" for the config files - The nagios.cfg file used > is the one in /usr/local/nagios/etc/nagios.cfg (I think that is the > default) > > Did you do an installation from source? > Because this would not be the place to find a nagios config by default > if you install DAG's RPM. > > I did the install from source, with the builds, makes, and etc. > > Is nagios running? Which config file is it using? Nagios shows as a > process. > I will search for other nagios files. Just an FYI, but it may help get responses... copying back an entire digest to the list is really bad form. It sounds like your config files are not readable by whatever user your webserver runs as. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smoccio at ureach.com Mon Jun 19 20:59:36 2006 From: smoccio at ureach.com (Stephen Moccio) Date: Mon, 19 Jun 2006 14:59:36 -0400 Subject: Creating a Hierarchical Overview Message-ID: <002501c693d2$829dc230$6705370a@ureach.com> Hello all, I am setting up Nagios to monitor multiple sites. Each site contains 100+ servers. I want to be able to quickly look to see if all servers under a particular site are running smoothly. I've configured the hostgroups but all the hosts under that hostgroup is viewable. Is there a way to show a top level? If all hosts and services under that hostgroup are alive and well - I only want to see: Host Status Services Sitea UP 100 OK <-- 20 Servers - each with 5 process checks. Siteb UP 270 OK <-- 15 Servers - each with 18 process checks. Etc.... Is this possible in Nagios? Thanks, Steve Moccio smoccio at ureach.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smoccio at ureach.com Mon Jun 19 21:09:58 2006 From: smoccio at ureach.com (Stephen Moccio) Date: Mon, 19 Jun 2006 15:09:58 -0400 Subject: Creating a Hierarchical Overview In-Reply-To: <7FCB0E206880084DB3D57CBAA2119F1202366FE1@blums0010> References: <7FCB0E206880084DB3D57CBAA2119F1202366FE1@blums0010> Message-ID: <003301c693d3$f6174320$6705370a@ureach.com> Jonathan, (And All), I apologize for such a dumb question. I will be more careful next time. Thanks, Steve -----Original Message----- From: Miner, Jonathan W (CSC) (US SSA) [mailto:jonathan.w.miner at baesystems.com] Sent: Monday, June 19, 2006 3:06 PM To: Stephen Moccio; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Creating a Hierarchical Overview Stephen - You might want to look at the "Status Summary For All Host Groups" page, unless I've mis-read your email, I think it contains what you want: http://{server}/cgi-bin/status.cgi?hostgroup=all&style=summary -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Stephen Moccio Sent: Mon 06/19/2006 02:59 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Creating a Hierarchical Overview Hello all, I am setting up Nagios to monitor multiple sites. Each site contains 100+ servers. I want to be able to quickly look to see if all servers under a particular site are running smoothly. I've configured the hostgroups but all the hosts under that hostgroup is viewable. Is there a way to show a top level? If all hosts and services under that hostgroup are alive and well - I only want to see: Host Status Services Sitea UP 100 OK <-- 20 Servers - each with 5 process checks. Siteb UP 270 OK <-- 15 Servers - each with 18 process checks. Etc.... Is this possible in Nagios? Thanks, Steve Moccio smoccio at ureach.com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jun 19 21:15:53 2006 From: marc at ena.com (Marc Powell) Date: Mon, 19 Jun 2006 14:15:53 -0500 Subject: Creating a Hierarchical Overview Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Stephen Moccio > Sent: Monday, June 19, 2006 2:00 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Creating a Hierarchical Overview > > Hello all, > > > > I am setting up Nagios to monitor multiple sites. Each site contains 100+ > servers. I want to be able to quickly look to see if all servers under a > particular site are running smoothly. I've configured the hostgroups but > all the hosts under that hostgroup is viewable. Is there a way to show a > top level? If all hosts and services under that hostgroup are alive and > well - I only want to see: > > > > Host Status Services > > Sitea UP 100 OK <-- 20 Servers - each with 5 process checks. > > Siteb UP 270 OK <-- 15 Servers - each with 18 process checks. Is it me or did you just exactly describe the Hostgroup Overview, available from the main menu? An even higher level view would be the Hostgroup Summary. Higher than that is the Tactical Overview. If you fudged above and SiteA really isn't a Host but rather a Hostgroup, then you're probably looking for the Hostgroup Summary. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frcaen at gmail.com Tue Jun 20 01:11:59 2006 From: frcaen at gmail.com (Francois Caen) Date: Mon, 19 Jun 2006 16:11:59 -0700 Subject: nagios pages to verizon / blackberries Message-ID: <58cfe2840606191611p27746b86vb5571ddcddd2b1b@mail.gmail.com> Hello, I want to set up nagios to send out-of-band text messages to my Verizon Blackberry. I want those pages to go out over a phone line, to remain totally independant from our IP network. Anyone got this working? Using sendpage? Are you calling 1-866-823-0501 ? Some other TAP gateway? Anything Blackberry-specific provided by RIM? Thanks, -- Francois Caen, RHCE, CCNA SpiderMaker, LLC _______________________________________________ Nagios-users mailing list Nagios-users at 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 From robin.brown at uconn.edu Tue Jun 20 01:17:17 2006 From: robin.brown at uconn.edu (Brown, Robin) Date: Mon, 19 Jun 2006 19:17:17 -0400 Subject: nagios pages to verizon / blackberries Message-ID: <7CFCCE15FC109143AA78DF2FFF60CC7D057BB214@EXCHANGEA.mgmt.ad.uconn.edu> I can only say that while this used to work for us it no longer does. We are using the same Verizon number. Verizon was no help and they claim the problem is our third party software(sendpage) and nothing on their end. Sendpage indicates the page is successfully delivered to the Verizon modem but it never reaches the Blackberry. Is this what you are seeing? -Robin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Francois Caen Sent: Monday, June 19, 2006 7:12 PM To: Nagios Users Mailing List Subject: [Nagios-users] nagios pages to verizon / blackberries Hello, I want to set up nagios to send out-of-band text messages to my Verizon Blackberry. I want those pages to go out over a phone line, to remain totally independant from our IP network. Anyone got this working? Using sendpage? Are you calling 1-866-823-0501 ? Some other TAP gateway? Anything Blackberry-specific provided by RIM? Thanks, -- Francois Caen, RHCE, CCNA SpiderMaker, LLC _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frcaen at gmail.com Tue Jun 20 01:22:48 2006 From: frcaen at gmail.com (Francois Caen) Date: Mon, 19 Jun 2006 16:22:48 -0700 Subject: nagios pages to verizon / blackberries In-Reply-To: <7CFCCE15FC109143AA78DF2FFF60CC7D057BB214@EXCHANGEA.mgmt.ad.uconn.edu> References: <7CFCCE15FC109143AA78DF2FFF60CC7D057BB214@EXCHANGEA.mgmt.ad.uconn.edu> Message-ID: <58cfe2840606191622y63f3080drc8b4c94fd795c1d8@mail.gmail.com> On 6/19/06, Brown, Robin wrote: > I can only say that while this used to work for us it no longer does. > We are using the same Verizon number. > > Verizon was no help and they claim the problem is our third party > software(sendpage) and nothing on their end. Sendpage indicates the > page is successfully delivered to the Verizon modem but it never reaches > the Blackberry. > > Is this what you are seeing? I haven't made it that far yet. I having issues with the handshake between sendpage and Verizon: Jun 19 16:20:07 cacti sendpage[15505]: lost carrier during chat Jun 19 16:20:07 cacti sendpage[15505]: PC did not send 'ID=' tag Jun 19 16:20:07 cacti sendpage[15505]: proto startup failed (Could not perform protocol startup) However, I saw 1-2 posts on the sendpage list reporting a problem similar to yours. So I was wondering if I was wasting my time with this whole thing. Hey, have you tried the "Verizon US (cell phones)" number on this list? http://www.notepage.net/tap-phone-numbers-u.htm -- Francois Caen, RHCE, CCNA SpiderMaker, LLC _______________________________________________ Nagios-users mailing list Nagios-users at 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 From filip.sneppe at gmail.com Tue Jun 20 02:15:43 2006 From: filip.sneppe at gmail.com (Filip Sneppe) Date: Tue, 20 Jun 2006 02:15:43 +0200 Subject: Running redundant nagios on shared storage (eg. NFS) In-Reply-To: <1150686476.3427.2107.camel@compulsion> References: <1150644928.5788.34.camel@xbox> <1150686476.3427.2107.camel@compulsion> Message-ID: <9151ac2a0606191715i19c1da44v3200bca528e68785@mail.gmail.com> Hi, On 6/19/06, Brian A. Seklecki wrote: > The Linux-HA project can do this for you. Actually i've been referring > to recently as POSIX-HA. > Yes, I have already worked with Linux-HA and I had planned on using it for this setup. > Plus you might consider shared-scsi storage as an alternative to shared > NFS to eliminate SPOFs Sure, that would also be possible. But I want to know if there are any drawbacks wrt starting up one nagios process on one node with the retention data that was kept up-to-date by the other node. In other words: if you could put the nagios state data on some storage that is not a SPOF, would there still be a compelling reason to use some NSCA-like replication from one Nagios process to the other ? Regards, Filip _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Tue Jun 20 07:45:34 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 20 Jun 2006 07:45:34 +0200 Subject: Running redundant nagios on shared storage (eg. NFS) In-Reply-To: <9151ac2a0606191715i19c1da44v3200bca528e68785@mail.gmail.com> References: <1150644928.5788.34.camel@xbox> <1150686476.3427.2107.camel@compulsion> <9151ac2a0606191715i19c1da44v3200bca528e68785@mail.gmail.com> Message-ID: <200606200745.34550.pitchfork@ederdrom.de> Am Dienstag, 20. Juni 2006 02:15 schrieb Filip Sneppe: > > The Linux-HA project can do this for you. Actually i've been referring > > to recently as POSIX-HA. > > Yes, I have already worked with Linux-HA and I had planned on using it > for this setup. > > > Plus you might consider shared-scsi storage as an alternative to shared > > NFS to eliminate SPOFs > > Sure, that would also be possible. But I want to know if there are any > drawbacks wrt starting up one nagios process on one node with the > retention data that was kept up-to-date by the other node. Hi Filip, have a look on DRBD ( www.drbd.org ) Joerg --- SNIP ---- What is DRBD ? DRBD is a block device which is designed to build high availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a network raid-1. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Alex.Moore at dataconnection.com Tue Jun 20 12:51:30 2006 From: Alex.Moore at dataconnection.com (Alex Moore) Date: Tue, 20 Jun 2006 11:51:30 +0100 Subject: check_ping is segfaulting Message-ID: <52A0FF47062B0B4C80862F2526E02409EE48AC@enfimail2.datcon.co.uk> Hello, Nagios mostly works just fine, but I have found that check_ping will always crash when it runs against a couple of particular hosts. These hosts have IP addresses: 172.25.1.99 and 172.25.1.98. Check ping succeeds for all other hosts, but just not these two. If I use the hostnames of these machines instead of the IP addresses in the "address" field of the host definitions then it works fine as well. I can't see any logical reason why check_ping should crash on these two IP addresses but nothing else. This is an example of running check_ping from the command line: # /usr/local/libexec/nagios/check_ping -H 172.25.1.98 -w 100.0,20% -c 500.0,60% -p 5 Segmentation fault (core dumped) But most other addresses work: # /usr/local/libexec/nagios/check_ping -H 172.19.15.58 -w 100.0,20% -c 500.0,60% -p 5 PING OK - Packet loss = 0%, RTA = 0.44 ms # /usr/local/libexec/nagios/check_ping -H 172.25.1.93 -w 100.0,20% -c 500.0,60% -p 5 PING WARNING - Packet loss = 0%, RTA = 170.30 ms Note that this is reproducible 100% of the time. And the segfault does not occur when using the hostname instead of the IP address. I tried a tcpdump of check_ping when it succeeds and when it fails, and comparing the two. In both cases it seems to try an AAAA DNS lookup on the IP address (which fails, of course, since they are not IPv6 addresses). In the working scenario, check_ping then sends out its ICMP packet direct to the IP address and receives a reply, etc. In the segfault scenario check_ping never even sends out an ICMP echo request at all. It just waits for a few seconds and then segfaults. Anyone know why this might be happening? Obviously, using the hostname instead of IP address for these 2 machines is a reasonable workaround, but it seems very strange! Note: I am using the OpenBSD 3.9 stable packages for nagios, which are version 2.0rc2. Was this a known bug in that version which has since been fixed? _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mramos at co.sapo.pt Tue Jun 20 13:18:35 2006 From: mramos at co.sapo.pt (Marco Ramos) Date: Tue, 20 Jun 2006 12:18:35 +0100 Subject: check_ping is segfaulting In-Reply-To: <52A0FF47062B0B4C80862F2526E02409EE48AC@enfimail2.datcon.co.uk> References: <52A0FF47062B0B4C80862F2526E02409EE48AC@enfimail2.datcon.co.uk> Message-ID: <1150802318.3709.2.camel@dhcppc1> Hi, On Tue, 2006-06-20 at 11:51 +0100, Alex Moore wrote: > Hello, > > Nagios mostly works just fine, but I have found that check_ping will > always crash when it runs against a couple of particular hosts. > > These hosts have IP addresses: 172.25.1.99 and 172.25.1.98. Check ping > succeeds for all other hosts, but just not these two. If I use the > hostnames of these machines instead of the IP addresses in the "address" > field of the host definitions then it works fine as well. I can't see > any logical reason why check_ping should crash on these two IP addresses > but nothing else. This is an example of running check_ping from the > command line: > > # /usr/local/libexec/nagios/check_ping -H 172.25.1.98 -w 100.0,20% -c > 500.0,60% -p 5 > Segmentation fault (core dumped) > > But most other addresses work: > > # /usr/local/libexec/nagios/check_ping -H 172.19.15.58 -w 100.0,20% -c > 500.0,60% -p 5 > PING OK - Packet loss = 0%, RTA = 0.44 ms > # /usr/local/libexec/nagios/check_ping -H 172.25.1.93 -w 100.0,20% -c > 500.0,60% -p 5 > PING WARNING - Packet loss = 0%, RTA = 170.30 ms > > Note that this is reproducible 100% of the time. And the segfault does > not occur when using the hostname instead of the IP address. > > I tried a tcpdump of check_ping when it succeeds and when it fails, and try to strace check_ping (strace -f -o strace.output /usr/local/libexec/nagios/check_ping -H 172.25.1.98 -w 100.0,20% -c 500.0,60% -p 5). Maybe this will give and idea of what's happening. I'm guessing that's some kind of issue with libresolve. HTH, Marco Ramos > comparing the two. In both cases it seems to try an AAAA DNS lookup on > the IP address (which fails, of course, since they are not IPv6 > addresses). In the working scenario, check_ping then sends out its ICMP > packet direct to the IP address and receives a reply, etc. In the > segfault scenario check_ping never even sends out an ICMP echo request > at all. It just waits for a few seconds and then segfaults. > > Anyone know why this might be happening? Obviously, using the hostname > instead of IP address for these 2 machines is a reasonable workaround, > but it seems very strange! > > Note: I am using the OpenBSD 3.9 stable packages for nagios, which are > version 2.0rc2. Was this a known bug in that version which has since > been fixed? > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Samba at guidemail.com Tue Jun 20 13:32:51 2006 From: Samba at guidemail.com (Samba) Date: Tue, 20 Jun 2006 06:32:51 -0500 Subject: nagios pages to verizon / blackberries Message-ID: I have it working. In my sendpage.cf I have: [pc:verizon] phonenum=9,18668230501 stricttap=true Josh -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Francois Caen Posted At: Monday, June 19, 2006 6:23 PM Posted To: Samba Conversation: [Nagios-users] nagios pages to verizon / blackberries Subject: Re: [Nagios-users] nagios pages to verizon / blackberries On 6/19/06, Brown, Robin wrote: > I can only say that while this used to work for us it no longer does. > We are using the same Verizon number. > > Verizon was no help and they claim the problem is our third party > software(sendpage) and nothing on their end. Sendpage indicates the > page is successfully delivered to the Verizon modem but it never reaches > the Blackberry. > > Is this what you are seeing? I haven't made it that far yet. I having issues with the handshake between sendpage and Verizon: Jun 19 16:20:07 cacti sendpage[15505]: lost carrier during chat Jun 19 16:20:07 cacti sendpage[15505]: PC did not send 'ID=' tag Jun 19 16:20:07 cacti sendpage[15505]: proto startup failed (Could not perform protocol startup) However, I saw 1-2 posts on the sendpage list reporting a problem similar to yours. So I was wondering if I was wasting my time with this whole thing. Hey, have you tried the "Verizon US (cell phones)" number on this list? http://www.notepage.net/tap-phone-numbers-u.htm -- Francois Caen, RHCE, CCNA SpiderMaker, LLC _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.traylen at rl.ac.uk Tue Jun 20 14:26:06 2006 From: s.traylen at rl.ac.uk (Steve Traylen) Date: Tue, 20 Jun 2006 13:26:06 +0100 Subject: Is there a max length for a command_line ? In-Reply-To: References: Message-ID: <20060620122606.GB25654@x.esc.rl.ac.uk> On Mon, Jun 19, 2006 at 11:58:45AM -0500 or thereabouts, Marc Powell wrote: > > > Hi, > > > > I've been trying to use check_cluster2 to monitor over all state of > a > > 1000 node batch farm . > > > > [chop[] > > > > > on a cammand line for 1000 nodes okay the command when run within > nagios > > is trucated at a certain > > length. Probably 1024 though I have not counted. Only the first 500 > or > > so nodes are considered. > > > > Is there a limit on command_line length somewhere within nagios? > > Can any one think of a way around this. > > Yes. Presuming you are using 1.x, it's 8196 characters per line -- > > xdata/xodtemplate.h > #define MAX_XODTEMPLATE_INPUT_BUFFER 8196 I don't see how it can be this, currently the command looks to be being truncated at a very bizare 342 characters long. > > I've increased that in the past to 65535 with no problems and Nagios-2 > uses that length by default. > > -- > Marc > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Steve Traylen s.traylen at rl.ac.uk http://www.gridpp.ac.uk/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at sisyphus.ch Tue Jun 20 16:05:09 2006 From: nagios at sisyphus.ch (nagios at sisyphus.ch) Date: Tue, 20 Jun 2006 16:05:09 +0200 Subject: Is there a max length for a command_line ? In-Reply-To: <20060620122606.GB25654@x.esc.rl.ac.uk> References: <20060620122606.GB25654@x.esc.rl.ac.uk> Message-ID: <20060620140509.GR6495@machine-18.sisyphus.loc> On Tue, Jun 20, 2006 at 01:26:06PM +0100, Steve Traylen wrote: [...] > I don't see how it can be this, currently the command looks to be being truncated at > a very bizare 342 characters long. in include/objects.h: #define MAX_PLUGINOUTPUT_LENGTH 332 /* max. length of plugin output */ -- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rainer at ultra-secure.de Tue Jun 20 16:10:10 2006 From: rainer at ultra-secure.de (Rainer Duffner) Date: Tue, 20 Jun 2006 16:10:10 +0200 Subject: How to report the number of RDP session on a W2K3 Terminal Server Message-ID: <449801C2.5050704@ultra-secure.de> Hi, I would like to monitor the number of RDP sessions that a W2K3-server currently uses. Preferrably via SNMP. Is there a way to do this? Also, I would need the same functionality for Citrix Presentation Server 4.0, later. cheers, Rainer _______________________________________________ Nagios-users mailing list Nagios-users at 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 From robin.brown at uconn.edu Tue Jun 20 16:13:15 2006 From: robin.brown at uconn.edu (Brown, Robin) Date: Tue, 20 Jun 2006 10:13:15 -0400 Subject: nagios pages to verizon / blackberries Message-ID: <7CFCCE15FC109143AA78DF2FFF60CC7D057BB282@EXCHANGEA.mgmt.ad.uconn.edu> Interesting. Are you using the Blackberry phone number or a PIN? -Robin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Samba Sent: Tuesday, June 20, 2006 7:33 AM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios pages to verizon / blackberries I have it working. In my sendpage.cf I have: [pc:verizon] phonenum=9,18668230501 stricttap=true Josh -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Francois Caen Posted At: Monday, June 19, 2006 6:23 PM Posted To: Samba Conversation: [Nagios-users] nagios pages to verizon / blackberries Subject: Re: [Nagios-users] nagios pages to verizon / blackberries On 6/19/06, Brown, Robin wrote: > I can only say that while this used to work for us it no longer does. > We are using the same Verizon number. > > Verizon was no help and they claim the problem is our third party > software(sendpage) and nothing on their end. Sendpage indicates the > page is successfully delivered to the Verizon modem but it never reaches > the Blackberry. > > Is this what you are seeing? I haven't made it that far yet. I having issues with the handshake between sendpage and Verizon: Jun 19 16:20:07 cacti sendpage[15505]: lost carrier during chat Jun 19 16:20:07 cacti sendpage[15505]: PC did not send 'ID=' tag Jun 19 16:20:07 cacti sendpage[15505]: proto startup failed (Could not perform protocol startup) However, I saw 1-2 posts on the sendpage list reporting a problem similar to yours. So I was wondering if I was wasting my time with this whole thing. Hey, have you tried the "Verizon US (cell phones)" number on this list? http://www.notepage.net/tap-phone-numbers-u.htm -- Francois Caen, RHCE, CCNA SpiderMaker, LLC _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ccarlton at apple.com Tue Jun 20 18:49:46 2006 From: ccarlton at apple.com (Craig Carlton) Date: Tue, 20 Jun 2006 09:49:46 -0700 Subject: NSCA stops listening Message-ID: I'm having an issue with NSCA 2.6. I'm starting it in daemon mode like: /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg --daemon Everything works great until I get this: Jun 20 09:32:57 monitor14 nsca[18664]: Network server accept failure (9: Bad file descriptor) At that time the daemon is still running but it is no longer listening on port 5667. This is Mac OS X Server 10.4.6. I have logging enabled: root# cat /usr/local/nagios/etc/nsca.cfg pid_file=/var/run/nsca.pid server_port=5667 server_address=XXXX #allowed_hosts=XXXX nsca_user=nagios nsca_group=nagios #nsca_chroot=/var/run/nagios/rw debug=1 command_file=/var/nagios/rw/nagios.cmd alternate_dump_file=/var/nagios/rw/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=60 password=XXXXX decryption_method=1 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Tue Jun 20 20:35:43 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 20 Jun 2006 20:35:43 +0200 (CEST) Subject: FW: Nagios-users Digest, Vol 1, Issue 3224 - Verify and Status ok In-Reply-To: References: Message-ID: On Mon, 19 Jun 2006, Eric X. Holzapfel wrote: > Hello List - See reponse to topic 3 below .... > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Nagios-users digest..." .... Can we vote on chaning the policy? I think anyone reading digests should not be able to post messages. Because they never follow instructions and mess up normal threads. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jun 20 21:02:59 2006 From: marc at ena.com (Marc Powell) Date: Tue, 20 Jun 2006 14:02:59 -0500 Subject: FW: Nagios-users Digest, Vol 1, Issue 3224 - Verify and Status ok Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Tuesday, June 20, 2006 1:36 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] FW: Nagios-users Digest, Vol 1, Issue 3224 - > Verify and Status ok > > On Mon, 19 Jun 2006, Eric X. Holzapfel wrote: > > > Hello List - See reponse to topic 3 below > > > .... > > > When replying, please edit your Subject line so it is more specific than > > "Re: Contents of Nagios-users digest..." > > .... > > Can we vote on chaning the policy? I think anyone reading digests should > not be able to post messages. Because they never follow instructions and > mess up normal threads. That's a gross generalization, wouldn't you say? I don't think we have a big problem with it at all, IMHO. How would you propose such a policy be enforced? I'm not aware of any Mailman configuration option to automagically prevent digest subscribers from posting. I prefer the use of killfiles for abusers or miscreants myself ;) -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From siemsen at UCAR.EDU Tue Jun 20 22:14:44 2006 From: siemsen at UCAR.EDU (Pete Siemsen) Date: Tue, 20 Jun 2006 14:14:44 -0600 Subject: statusmap.cgi - how to break up map Message-ID: <09F9B308-3D40-4ABC-9725-9C81D90B3CBE@UCAR.EDU> We monitor about 240 things with Nagios. We don't use the Status Map because it's so cluttered. Is there a way to control what's on the graphical map, or is there a way to make separate maps or something? -- Pete _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andrew at profitability.net Tue Jun 20 22:24:40 2006 From: andrew at profitability.net (Andrew Cruse) Date: Tue, 20 Jun 2006 16:24:40 -0400 Subject: statusmap.cgi - how to break up map In-Reply-To: <09F9B308-3D40-4ABC-9725-9C81D90B3CBE@UCAR.EDU> References: <09F9B308-3D40-4ABC-9725-9C81D90B3CBE@UCAR.EDU> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote: > We monitor about 240 things with Nagios. We don't use the > Status Map because it's so cluttered. Is there a way to > control what's on the graphical map, or is there a way to > make separate maps or something? You can create a map using your own coordinates, but you'll need to set the coordinates for each of your 240 hosts. So I guess it depends on how bad you want it. :-) Andrew _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andrew at profitability.net Tue Jun 20 23:11:03 2006 From: andrew at profitability.net (Andrew Cruse) Date: Tue, 20 Jun 2006 17:11:03 -0400 Subject: statusmap.cgi - how to break up map In-Reply-To: References: Message-ID: Pete Siemsen wrote: >>> We monitor about 240 things with Nagios. We don't use the Status >>> Map because it's so cluttered. Is there a way to control what's on >>> the graphical map, or is there a way to make separate maps or >>> something? >> >> You can create a map using your own coordinates, but you'll need to >> set the coordinates for each of your 240 hosts. So I guess it >> depends on how bad you want it. :-) >> >> Andrew > > Ok, but there's no way to fit 240 things onto one map. Depends on your screen resolution :-) I haven't tried this, so take it with a grain of salt, but you could only define coordinates for the hosts you want to see. Not sure if that will work or not, but I suppose you could give it a shot. Andrew _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lucian.gutu at apabucur.ro Wed Jun 21 08:02:06 2006 From: lucian.gutu at apabucur.ro (Lucian Gutu) Date: Wed, 21 Jun 2006 09:02:06 +0300 Subject: statusmap.cgi - how to break up map References: Message-ID: <049001c694f8$3972e870$430010ac@unidti007> > Pete Siemsen wrote: >>>> We monitor about 240 things with Nagios. We don't use the Status >>>> Map because it's so cluttered. Is there a way to control what's on >>>> the graphical map, or is there a way to make separate maps or >>>> something? >>> >>> You can create a map using your own coordinates, but you'll need to >>> set the coordinates for each of your 240 hosts. So I guess it >>> depends on how bad you want it. :-) >>> >>> Andrew >> >> Ok, but there's no way to fit 240 things onto one map. > > Depends on your screen resolution :-) > > I haven't tried this, so take it with a grain of salt, but you could > only define coordinates for the hosts you want to see. Not sure if that > will work or not, but I suppose you could give it a shot. > > Andrew > I have about 140 hosts. In Status Map, I choose "Circular" and the map looks ok. The map is made from "parents" option in hosts.cfg. I also use 3-D Status Map, but you must have a plugin installed on for your browser. This 3-D Map also uses the parents defined in hosts.cfg. Lucian _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frcaen at gmail.com Wed Jun 21 08:49:13 2006 From: frcaen at gmail.com (Francois Caen) Date: Tue, 20 Jun 2006 23:49:13 -0700 Subject: statusmap.cgi - how to break up map In-Reply-To: <09F9B308-3D40-4ABC-9725-9C81D90B3CBE@UCAR.EDU> References: <09F9B308-3D40-4ABC-9725-9C81D90B3CBE@UCAR.EDU> Message-ID: <58cfe2840606202349l71b52a3cvad7f4acc4de55580@mail.gmail.com> On 6/20/06, Pete Siemsen wrote: > We monitor about 240 things with Nagios. We don't use the Status Map > because it's so cluttered. Is there a way to control what's on the > graphical map, or is there a way to make separate maps or something? Have you looked at this? http://www.nagiosexchange.org/Configuration.40.0.html?&tx_netnagext_pi1[p_view]=198 -- Francois Caen, RHCE, CCNA SpiderMaker, LLC _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kyle at caosdigital.com Wed Jun 21 10:11:55 2006 From: kyle at caosdigital.com (kyle) Date: Wed, 21 Jun 2006 10:11:55 +0200 Subject: nagios 1.x vs 2.x Message-ID: Hi folks, I'm currently involved in a new, large deployment of Nagios (1000+ machines). Since my experience is rather limited with nagios, I'd like to know what's the most adisable branch, either 1.x or 2.x . Is there any roadmap? What I've noticed is there are a number of tools (oreon, nagmin...) which seem to only support 1.x . Is there any way to make this tools run under 2.x ? Thanks in advance! _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dravail at cvf.fr Wed Jun 21 10:49:22 2006 From: dravail at cvf.fr (David RAVAIL) Date: Wed, 21 Jun 2006 10:49:22 +0200 Subject: nagios 1.x vs 2.x In-Reply-To: References: Message-ID: <44990812.4010808@cvf.fr> hi kyle, kyle a ?crit : > Hi folks, > > I'm currently involved in a new, large deployment of Nagios (1000+ > machines). Since my experience is rather limited with nagios, I'd like > to know what's the most adisable branch, either 1.x or 2.x . > > Is there any roadmap? What I've noticed is there are a number of tools > (oreon, nagmin...) which seem to only support 1.x . Is there any way > to make this tools run under 2.x ? > > Oreon v1.3 supports nagios v2.x > Thanks in advance! > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From riky.none at email.it Wed Jun 21 11:51:43 2006 From: riky.none at email.it (Riccardo Gaggero) Date: Wed, 21 Jun 2006 11:51:43 +0200 (CEST) Subject: nagios2 Ubuntu Message-ID: <20060621095143.332EF4F4045@desire.netways.de> Hi list how to install nagiso2 on ubuntu server??? bye ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html _______________________________________________ Nagios-users mailing list Nagios-users at 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 From yatindra.ranpura at ukbroadband.com Wed Jun 21 13:18:20 2006 From: yatindra.ranpura at ukbroadband.com (Yatindra Ranpura) Date: Wed, 21 Jun 2006 12:18:20 +0100 Subject: nagios2 Ubuntu Message-ID: Hi Riccardo Nagios is one of the packages on advanced part of add packages so search for nagios, it will show you the package to install with dependencies and all. bye Yatindra -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Riccardo Gaggero Sent: 21 June 2006 10:52 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios2 Ubuntu Hi list how to install nagiso2 on ubuntu server??? bye ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From n3tvicious-nagios at yahoo.es Wed Jun 21 13:50:44 2006 From: n3tvicious-nagios at yahoo.es (NetVicious) Date: Wed, 21 Jun 2006 13:50:44 +0200 (CEST) Subject: nagios 1.x vs 2.x In-Reply-To: <44990812.4010808@cvf.fr> References: <44990812.4010808@cvf.fr> Message-ID: <20060621115044.79281.qmail@web27612.mail.ukl.yahoo.com> Hi! I think oreon it's a full replacement of nagios not a config editor as nagmin it's. Or I'm wrong and oreon it's a simply new frontend for nagios? .. //\/ e t . \/ i c i o u s .. ----- Original Message ---- From: David RAVAIL To: kyle Cc: nagios-users at lists.sourceforge.net Sent: Wednesday, June 21, 2006 10:49:22 AM Subject: Re: [Nagios-users] nagios 1.x vs 2.x hi kyle, kyle a ?crit : > Hi folks, > > I'm currently involved in a new, large deployment of Nagios (1000+ > machines). Since my experience is rather limited with nagios, I'd like > to know what's the most adisable branch, either 1.x or 2.x . > > Is there any roadmap? What I've noticed is there are a number of tools > (oreon, nagmin...) which seem to only support 1.x . Is there any way > to make this tools run under 2.x ? > > Oreon v1.3 supports nagios v2.x > Thanks in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dravail at cvf.fr Wed Jun 21 14:10:59 2006 From: dravail at cvf.fr (David RAVAIL) Date: Wed, 21 Jun 2006 14:10:59 +0200 Subject: nagios 1.x vs 2.x In-Reply-To: <20060621115044.79281.qmail@web27612.mail.ukl.yahoo.com> References: <20060621115044.79281.qmail@web27612.mail.ukl.yahoo.com> Message-ID: <44993753.5070308@cvf.fr> NetVicious a ?crit : > Hi! > > I think oreon it's a full replacement of nagios not a config editor as > nagmin it's. > > Or I'm wrong and oreon it's a simply new frontend for nagios? > hi, it's a fontend for nagios, for more details go to their website. > .. //\/ e t . \/ i c i o u s .. > > > ----- Original Message ---- > From: David RAVAIL > To: kyle > Cc: nagios-users at lists.sourceforge.net > Sent: Wednesday, June 21, 2006 10:49:22 AM > Subject: Re: [Nagios-users] nagios 1.x vs 2.x > > hi kyle, > > kyle a ?crit : > > Hi folks, > > > > I'm currently involved in a new, large deployment of Nagios (1000+ > > machines). Since my experience is rather limited with nagios, I'd like > > to know what's the most adisable branch, either 1.x or 2.x . > > > > Is there any roadmap? What I've noticed is there are a number of tools > > (oreon, nagmin...) which seem to only support 1.x . Is there any way > > to make this tools run under 2.x ? > > > > > Oreon v1.3 supports nagios v2.x > > Thanks in advance! > _______________________________________________ Nagios-users mailing list Nagios-users at 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 From narendran.neelamegam at wipro.com Wed Jun 21 14:37:36 2006 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Wed, 21 Jun 2006 18:07:36 +0530 Subject: Nagios Distributed Monitoring Message-ID: <8EFA81424BDADF4EB943E5A53420D7E3025CFBCE@BLR-EC-MBX03.wipro.com> We are looking at a solution to Monitor three datacentre which are located geographically apart. France Brazil US Central Nagios Management server at India My plan was to have a Nagios distributed Monitoring setup Central Monitoring Server at India Three Nagios servers at the three locations. We will be managing around 8000 nodes. We need to ensure that the at no point of time no nagios server fails. What kind of redundancy can be planned. I was thinking of each nagios server monitoring itself and having three different configuration files on these three servers and incase one fails the other restarts with the configuration(A+B).. Is that possible? Also what kind of network bandwidth will such a setup require and will there be latency in the alerts being received at the central monitoring server. Thanks and Regards, Narendran Neelamegam _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Wed Jun 21 14:45:57 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 21 Jun 2006 14:45:57 +0200 Subject: Nagios Distributed Monitoring In-Reply-To: <8EFA81424BDADF4EB943E5A53420D7E3025CFBCE@BLR-EC-MBX03.wipro.com> References: <8EFA81424BDADF4EB943E5A53420D7E3025CFBCE@BLR-EC-MBX03.wipro.com> Message-ID: On 21 Jun, 2006, at 14:37, wrote: > > We are looking at a solution to Monitor three datacentre which are > located geographically apart. Actually, We just had a discussion about this a few days ago.. I guess you joined the list quite recently. Anywho: * The book "Pro Nagios 2.0" has a chapter on redundancy which explains some good ideas. * The basic principle is that you build clusters, where each node has the same Nagios config. * One node is the primary, which performs all the checks * The secondaries are running, but not active (no checks/ notifications/whatever) * The primary forwards status messages to the secondaries through NSCA. Of course you'll need a way to keep the configs in sync and the solution is not perfect, but it's a start. A better idea entirely would be to use clustering software and shared storage for the config and status files. Cheers, Thomas _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mstevens at chace.enfield.sch.uk Wed Jun 21 15:16:38 2006 From: mstevens at chace.enfield.sch.uk (Martin Stevens) Date: Wed, 21 Jun 2006 14:16:38 +0100 Subject: Nagios Distributed Monitoring In-Reply-To: <8EFA81424BDADF4EB943E5A53420D7E3025CFBCE@BLR-EC-MBX03.wipro.com> References: <8EFA81424BDADF4EB943E5A53420D7E3025CFBCE@BLR-EC-MBX03.wipro.com> Message-ID: <449946B6.8090707@chace.enfield.sch.uk> narendran.neelamegam at wipro.com wrote: > We are looking at a solution to Monitor three datacentre which are > located geographically apart. > > We need to ensure that the at no point of time no nagios server fails. > > I was thinking of each nagios server monitoring itself and having three > different configuration files on these three servers and incase one > fails the other restarts with the configuration(A+B).. > > Is that possible? > > You could probably do something with CFEngine, and nagios triggers. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Wed Jun 21 15:38:56 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Wed, 21 Jun 2006 15:38:56 +0200 Subject: Nagios don't start Message-ID: Hello I installed Nagios while completely following official documentation on the official site of Nagios. I started again httpd, it does not have no problem there. I checked the configuration of Nagios (/usr/local/nagios/bin/nagios - v /usr/local/nagios/etc/nagios.cfg), it does not have no problem there. But, I want to restart Nagiosbut messages appear : Running configuration check ... done Stopping network monitor : Nagios Waiting for Nagios to exit. ERROR : list of process IDs must follow -p Starting network monitor : Nagios. If I go on the web interface, I connect me with my login and my password but a message INTERNAL SERVER ERROR appears when I click on each menu. Can you help me please ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From red.kryptonite at gmail.com Wed Jun 21 16:15:48 2006 From: red.kryptonite at gmail.com (Ben Rosenberg) Date: Wed, 21 Jun 2006 09:15:48 -0500 Subject: nagios2 Ubuntu In-Reply-To: <20060621095143.332EF4F4045@desire.netways.de> References: <20060621095143.332EF4F4045@desire.netways.de> Message-ID: On 6/21/06, Riccardo Gaggero wrote: > > Hi list > > how to install nagiso2 on ubuntu server??? > > Nagios 2.x is part of the Ubuntu repositories. Just do this... apt-get install nagios This will pull down everything you need for Nagios. :) -Ben -- Faith is the truth of passion. Since no passion is more true than another, faith is the truth of nothing. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 21 16:16:03 2006 From: marc at ena.com (Marc Powell) Date: Wed, 21 Jun 2006 09:16:03 -0500 Subject: Nagios don't start Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Wednesday, June 21, 2006 8:39 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios don't start > > Hello > > > > I installed Nagios while completely following official documentation on > the official site of Nagios. I started again httpd, it does not have no > problem there. I checked the configuration of Nagios > (/usr/local/nagios/bin/nagios - v /usr/local/nagios/etc/nagios.cfg), it > does not have no problem there. > > But, I want to restart Nagiosbut messages appear : > > > > Running configuration check ... done > > Stopping network monitor : Nagios > > Waiting for Nagios to exit. ERROR : list of process IDs must follow -p > > Starting network monitor : Nagios. Was nagios running when you did the restart? Did nagios start (do you see it in your process list)? > Can you help me please ? Internal server errors can be caused by lots of things from misconfigurations, missing libraries or other external issues. Check your web server error log for specific information about the error. That should give you (and us) a direction for resolution. Provide information about the OS you installed on, nagios version, configure options, etc. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 21 16:24:53 2006 From: marc at ena.com (Marc Powell) Date: Wed, 21 Jun 2006 09:24:53 -0500 Subject: nagios 1.x vs 2.x Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of kyle > Sent: Wednesday, June 21, 2006 3:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios 1.x vs 2.x > > Hi folks, > > I'm currently involved in a new, large deployment of Nagios (1000+ > machines). Since my experience is rather limited with nagios, I'd like > to know what's the most adisable branch, either 1.x or 2.x . IMHO, 2.x, as there is no further development happening on 1.x. > Is there any roadmap? What I've noticed is there are a number of tools http://www.nagios.org/development/upcoming.php is the latest published information. You can also follow the nagios-devel list if you like. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Wed Jun 21 16:49:06 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Wed, 21 Jun 2006 16:49:06 +0200 Subject: Nagios don't start Message-ID: When I execute the command ps -ef | grep nagios, Nagios isn't started. I can't start it. In the file /var/log/httpd/error_log : [Wed Jun 21 16:34:29 2006] [notice] caught SIGTERM, shutting down [Wed Jun 21 16:34:30 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Jun 21 16:34:30 2006] [notice] Digest: generating secret for digest authentication ... [Wed Jun 21 16:34:30 2006] [notice] Digest: done [Wed Jun 21 16:34:30 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK [Wed Jun 21 16:34:30 2006] [notice] LDAP: SSL support unavailable [Wed Jun 21 16:34:30 2006] [notice] Apache/2.0.52 (Red Hat) configured -- resuming normal operations -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell Envoy??: mercredi 21 juin 2006 16:16 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Nagios don't start > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Wednesday, June 21, 2006 8:39 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios don't start > > Hello > > > > I installed Nagios while completely following official documentation on > the official site of Nagios. I started again httpd, it does not have no > problem there. I checked the configuration of Nagios > (/usr/local/nagios/bin/nagios - v /usr/local/nagios/etc/nagios.cfg), it > does not have no problem there. > > But, I want to restart Nagiosbut messages appear : > > > > Running configuration check ... done > > Stopping network monitor : Nagios > > Waiting for Nagios to exit. ERROR : list of process IDs must follow -p > > Starting network monitor : Nagios. Was nagios running when you did the restart? Did nagios start (do you see it in your process list)? > Can you help me please ? Internal server errors can be caused by lots of things from misconfigurations, missing libraries or other external issues. Check your web server error log for specific information about the error. That should give you (and us) a direction for resolution. Provide information about the OS you installed on, nagios version, configure options, etc. -- Marc _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sergio at gridshield.net Wed Jun 21 16:51:47 2006 From: sergio at gridshield.net (Sergio Guzman Lorz) Date: Wed, 21 Jun 2006 08:51:47 -0600 Subject: statusmap.cgi - how to break up map In-Reply-To: <09F9B308-3D40-4ABC-9725-9C81D90B3CBE@UCAR.EDU> References: <09F9B308-3D40-4ABC-9725-9C81D90B3CBE@UCAR.EDU> Message-ID: <44995D03.6030807@gridshield.net> Pete Siemsen wrote: > We monitor about 240 things with Nagios. We don't use the Status Map > because it's so cluttered. Is there a way to control what's on the I made a status map in Java 1.5 for the company I work for, it's released under GPL. I haven't made a public release yet, because I don't think it's ready but I may never think it's ready. Currently we've test it with ~450 hosts. You need a parser which is not released under GPL but you can download it from http://notsopublic.sergioguzman.com/libs/java/qdxml.jar The project's webpage is http://nexsm.sourceforge.net (if you want to give it a try) sergio, _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bren.smith at gmail.com Wed Jun 21 17:48:41 2006 From: bren.smith at gmail.com (Bren Smith) Date: Wed, 21 Jun 2006 08:48:41 -0700 Subject: nagios2 Ubuntu In-Reply-To: <20060621095143.332EF4F4045@desire.netways.de> References: <20060621095143.332EF4F4045@desire.netways.de> Message-ID: On 6/21/06, Riccardo Gaggero wrote: > how to install nagiso2 on ubuntu server??? Hey Riccardo, If you want to install from source, here's what I did: Start by installing the LAMP server option of the Dapper distro, and do a normal setup. Once setup is complete and you've rebooted the server, make the following additions with apt-get: $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install lynx $ sudo apt-get install gcc $ sudo apt-get install g++ $ sudo apt-get install libc6-dev $ sudo apt-get install make $ sudo apt-get install automake $ sudo apt-get install openssh-server $ sudo apt-get install mutt (if you need a mail client) $ sudo apt-get install postfix When required to configure postfix, use the "satellite" option, and choose your mailserver as the SMTP server. A nasty "gotcha" is that the Status Map feature of Nagios, which is the one that displays a graphical map of your net, requires that the "gd" library be installed before you build Nagios. If gd is not pre-installed, everything will seem fine during the build of Nagios but the statusmap.cgi program won't be created and you'll get a 404 error when you click on "Status Map" from the main Nagios web page. $ sudo apt-get install libgd2-xpm Using Lynx, go get Nagios and the plugins at http://www.nagios.org/downloads Setting Nagios for automatic start: As root: # ln -s /etc/init.d/nagios /etc/rc2.d/S99nagios # ln -s /etc/init.d/nagios /etc/rc2.d/K99nagios Once you've made configuration changes to any of the config files, you'll need to reload the nagios configurations not by restarting Nagios, but by forcing it to reload the configuration files. This is done as root by: # /etc/init.d/nagios reload Note that the causes nagios to reread the config files, but also will end tests and services that no longer exist. With each reload there is a renewed scheduling of checks. Hope this helps! Bren _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 21 18:07:25 2006 From: marc at ena.com (Marc Powell) Date: Wed, 21 Jun 2006 11:07:25 -0500 Subject: Nagios don't start Message-ID: > -----Original Message----- > From: REMY Julien [mailto:julien.remy at ohs.asso.fr] > Sent: Wednesday, June 21, 2006 9:49 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios don't start > > When I execute the command ps -ef | grep nagios, Nagios isn't started. I > can't start it. Check nagios.log for errors. > > In the file /var/log/httpd/error_log : > > [Wed Jun 21 16:34:29 2006] [notice] caught SIGTERM, shutting down > [Wed Jun 21 16:34:30 2006] [notice] suEXEC mechanism enabled (wrapper: > /usr/sbin/suexec) > [Wed Jun 21 16:34:30 2006] [notice] Digest: generating secret for digest > authentication ... > [Wed Jun 21 16:34:30 2006] [notice] Digest: done > [Wed Jun 21 16:34:30 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK > [Wed Jun 21 16:34:30 2006] [notice] LDAP: SSL support unavailable > [Wed Jun 21 16:34:30 2006] [notice] Apache/2.0.52 (Red Hat) configured -- > resuming normal operations > Odd. Check your access_log then for error information. Internal Server Errors always generate something in the apache logs. > Provide information about the OS you installed on, nagios version, > configure options, etc. ^^^^^^^^^^^^^^^^^^^ -- Marc > -----Message d'origine----- > De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] De la part de Marc Powell > Envoy??: mercredi 21 juin 2006 16:16 > ??: nagios-users at lists.sourceforge.net > Objet?: Re: [Nagios-users] Nagios don't start > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > > Sent: Wednesday, June 21, 2006 8:39 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios don't start > > > > Hello > > > > > > > > I installed Nagios while completely following official documentation > on > > the official site of Nagios. I started again httpd, it does not have > no > > problem there. I checked the configuration of Nagios > > (/usr/local/nagios/bin/nagios - v /usr/local/nagios/etc/nagios.cfg), > it > > does not have no problem there. > > > > But, I want to restart Nagiosbut messages appear : > > > > > > > > Running configuration check ... done > > > > Stopping network monitor : Nagios > > > > Waiting for Nagios to exit. ERROR : list of process IDs must follow -p > > > > Starting network monitor : Nagios. > > Was nagios running when you did the restart? Did nagios start (do you > see it in your process list)? > > > Can you help me please ? > > Internal server errors can be caused by lots of things from > misconfigurations, missing libraries or other external issues. Check > your web server error log for specific information about the error. That > should give you (and us) a direction for resolution. _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ajit.Mohan at dc.gov Wed Jun 21 20:36:30 2006 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Wed, 21 Jun 2006 14:36:30 -0400 Subject: Check_oracle Message-ID: <03BC54053BE9A843B1785F0185A1F7EABE5882@emo-exch2k3-210.dcgov.priv> Hi, I am trying to monitor the oracle database using the "check_oracle" plugin. I have installed Oracle client on the machine and configured the TNSNAMES.ORA file to point to the oracle server. However when I try to test the connection using "check_oracle" I get the below error message. I have verified the ORA_HOME and the TNSNAMES use the IP address of the Oracle server "No TNS Listener on XXX" The database is up and running Any ideas? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rns3 at psu.edu Wed Jun 21 21:15:15 2006 From: rns3 at psu.edu (Robert Snyder) Date: Wed, 21 Jun 2006 15:15:15 -0400 Subject: Re(2): statusmap.cgi - how to break up map In-Reply-To: <44995D03.6030807@gridshield.net> References: <09F9B308-3D40-4ABC-9725-9C81D90B3CBE@UCAR.EDU> <44995D03.6030807@gridshield.net> Message-ID: <20060621191515.24682@studentservices.outreach.psu.edu> On Wed, Jun 21, 2006, Sergio Guzman Lorz wrote: >I made a status map in Java 1.5 for the company I work for, it's >released under GPL. > >I haven't made a public release yet, because I don't think it's ready >but I may never think it's ready. Sergio, THANK YOU! THANK YOU! THANK YOU! ____________________________________________ Robert Snyder All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From John.Furlong at dsl.pipex.com Wed Jun 21 21:18:16 2006 From: John.Furlong at dsl.pipex.com (John Furlong) Date: Wed, 21 Jun 2006 20:18:16 +0100 Subject: Check_oracle In-Reply-To: <03BC54053BE9A843B1785F0185A1F7EABE5882@emo-exch2k3-210.dcgov.priv> References: <03BC54053BE9A843B1785F0185A1F7EABE5882@emo-exch2k3-210.dcgov.priv> Message-ID: What?s the full command you?re running ? check_oracle ?WHAT ? Are you running the check_oracle on the system running Oracle or another box ? Postie. On 21/6/06 19:36, Mohan, Ajit (CFSA) (Ajit.Mohan at dc.gov) wrote: > Hi, > > I am trying to monitor the oracle database using the ?check_oracle? plugin. I > have installed Oracle client on the machine and configured the TNSNAMES.ORA > file to point to the oracle server. However when I try to test the connection > using ?check_oracle? I get the below error message. I have verified the > ORA_HOME and the TNSNAMES use the IP address of the Oracle server > > ?No TNS Listener on XXX? > > The database is up and running > > Any ideas? > > Thank you > > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 postie at dsl.pipex.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ajit.Mohan at dc.gov Wed Jun 21 21:23:11 2006 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Wed, 21 Jun 2006 15:23:11 -0400 Subject: Check_oracle Message-ID: <03BC54053BE9A843B1785F0185A1F7EABE5890@emo-exch2k3-210.dcgov.priv> Command I am running is "/usr/local/nagios/libexec/check_oracle -tns XXX" . Where XXX is the DB/INSTANCE name of the database I am running this command on the Nagios server and trying to monitor a remote Oracle 9i database The env variables set are /usr/local/nagios/libexec> env | grep "ORA" ORACLE_SID=XXX ORACLE_BASE=/opt/oracle ORA_NLS33=/opt/oracle/product/9ir2/ocommon/nls/admin/data ORACLE_HOME=/opt/oracle/product/9ir2 ________________________________ From: John Furlong [mailto:John.Furlong at dsl.pipex.com] Sent: Wednesday, June 21, 2006 3:18 PM To: Mohan, Ajit (CFSA); nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_oracle What's the full command you're running - check_oracle -WHAT ? Are you running the check_oracle on the system running Oracle or another box ? Postie. On 21/6/06 19:36, Mohan, Ajit (CFSA) (Ajit.Mohan at dc.gov) wrote: Hi, I am trying to monitor the oracle database using the "check_oracle" plugin. I have installed Oracle client on the machine and configured the TNSNAMES.ORA file to point to the oracle server. However when I try to test the connection using "check_oracle" I get the below error message. I have verified the ORA_HOME and the TNSNAMES use the IP address of the Oracle server "No TNS Listener on XXX" The database is up and running Any ideas? Thank you ________________________________ All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ________________________________ _______________________________________________ Nagios-users mailing list Nagios-users at 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 postie at dsl.pipex.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jbenson at netdeposit.com Wed Jun 21 21:33:25 2006 From: jbenson at netdeposit.com (Joe Benson) Date: Wed, 21 Jun 2006 13:33:25 -0600 Subject: Check_oracle In-Reply-To: <03BC54053BE9A843B1785F0185A1F7EABE5890@emo-exch2k3-210.dcgov.priv> References: <03BC54053BE9A843B1785F0185A1F7EABE5890@emo-exch2k3-210.dcgov.priv> Message-ID: <44999F05.1000003@netdeposit.com> Can you telnet to the oracle server on port 1521 ? ( I'm assuming you are running on the default port). If not make sure the listener is running. The database can be up without the listener running. It also could be a firewall issue. Joe Mohan, Ajit (CFSA) wrote: > Command I am running is ?/usr/local/nagios/libexec/check_oracle ?tns > XXX? . Where XXX is the DB/INSTANCE name of the database > > I am running this command on the Nagios server and trying to monitor a > remote Oracle 9i database > > > > The env variables set are > > /usr/local/nagios/libexec> env | grep "ORA" > > ORACLE_SID=XXX > > ORACLE_BASE=/opt/oracle > > ORA_NLS33=/opt/oracle/product/9ir2/ocommon/nls/admin/data > > ORACLE_HOME=/opt/oracle/product/9ir2 > > > > ------------------------------------------------------------------------ > > *From:* John Furlong [mailto:John.Furlong at dsl.pipex.com] > *Sent:* Wednesday, June 21, 2006 3:18 PM > *To:* Mohan, Ajit (CFSA); nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Check_oracle > > > > > What?s the full command you?re running ? check_oracle ?WHAT ? > > Are you running the check_oracle on the system running Oracle or another > box ? > > Postie. > > On 21/6/06 19:36, Mohan, Ajit (CFSA) (Ajit.Mohan at dc.gov) wrote: > > Hi, > > I am trying to monitor the oracle database using the ?check_oracle? > plugin. I have installed Oracle client on the machine and configured the > TNSNAMES.ORA file to point to the oracle server. However when I try to > test the connection using ?check_oracle? I get the below error message. > I have verified the ORA_HOME and the TNSNAMES use the IP address of the > Oracle server > > */?No TNS Listener on XXX? > /* > The database is up and running > > Any ideas? > > Thank you > > ------------------------------------------------------------------------ > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > > postie at dsl.pipex.com > > > ------------------------------------------------------------------------ > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Joe Benson NetDeposit 4141 South Highland Dr. Suite 220 Salt Lake City, UT 84124 801-273-6031 jbenson at netdeposit.com All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ajit.Mohan at dc.gov Wed Jun 21 21:34:59 2006 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Wed, 21 Jun 2006 15:34:59 -0400 Subject: Check_oracle Message-ID: <03BC54053BE9A843B1785F0185A1F7EABE5894@emo-exch2k3-210.dcgov.priv> Yes I am able to telnet on port 1521. Both the nagios and the oracle server are on the same LAN. -----Original Message----- From: Joe Benson [mailto:jbenson at netdeposit.com] Sent: Wednesday, June 21, 2006 3:33 PM To: Mohan, Ajit (CFSA) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_oracle Can you telnet to the oracle server on port 1521 ? ( I'm assuming you are running on the default port). If not make sure the listener is running. The database can be up without the listener running. It also could be a firewall issue. Joe Mohan, Ajit (CFSA) wrote: > Command I am running is "/usr/local/nagios/libexec/check_oracle -tns > XXX" . Where XXX is the DB/INSTANCE name of the database > > I am running this command on the Nagios server and trying to monitor a > remote Oracle 9i database > > > > The env variables set are > > /usr/local/nagios/libexec> env | grep "ORA" > > ORACLE_SID=XXX > > ORACLE_BASE=/opt/oracle > > ORA_NLS33=/opt/oracle/product/9ir2/ocommon/nls/admin/data > > ORACLE_HOME=/opt/oracle/product/9ir2 > > > > ------------------------------------------------------------------------ > > *From:* John Furlong [mailto:John.Furlong at dsl.pipex.com] > *Sent:* Wednesday, June 21, 2006 3:18 PM > *To:* Mohan, Ajit (CFSA); nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Check_oracle > > > > > What's the full command you're running - check_oracle -WHAT ? > > Are you running the check_oracle on the system running Oracle or another > box ? > > Postie. > > On 21/6/06 19:36, Mohan, Ajit (CFSA) (Ajit.Mohan at dc.gov) wrote: > > Hi, > > I am trying to monitor the oracle database using the "check_oracle" > plugin. I have installed Oracle client on the machine and configured the > TNSNAMES.ORA file to point to the oracle server. However when I try to > test the connection using "check_oracle" I get the below error message. > I have verified the ORA_HOME and the TNSNAMES use the IP address of the > Oracle server > > */"No TNS Listener on XXX" > /* > The database is up and running > > Any ideas? > > Thank you > > ------------------------------------------------------------------------ > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > > postie at dsl.pipex.com > > > ------------------------------------------------------------------------ > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Joe Benson NetDeposit 4141 South Highland Dr. Suite 220 Salt Lake City, UT 84124 801-273-6031 jbenson at netdeposit.com All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jbenson at netdeposit.com Wed Jun 21 21:44:37 2006 From: jbenson at netdeposit.com (Joe Benson) Date: Wed, 21 Jun 2006 13:44:37 -0600 Subject: Check_oracle In-Reply-To: <03BC54053BE9A843B1785F0185A1F7EABE5894@emo-exch2k3-210.dcgov.priv> References: <03BC54053BE9A843B1785F0185A1F7EABE5894@emo-exch2k3-210.dcgov.priv> Message-ID: <4499A1A5.7030700@netdeposit.com> Can you tnsping the oracle SID? The check_oracle plugin uses tnsping. If it works than the monitor should also. Make sure the Oracle env variables are set for the user that nagios runs as. Mohan, Ajit (CFSA) wrote: > Yes I am able to telnet on port 1521. Both the nagios and the oracle > server are on the same LAN. > > -----Original Message----- > From: Joe Benson [mailto:jbenson at netdeposit.com] > Sent: Wednesday, June 21, 2006 3:33 PM > To: Mohan, Ajit (CFSA) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_oracle > > Can you telnet to the oracle server on port 1521 ? ( I'm assuming you > are running on the default port). If not make sure the listener is > running. The database can be up without the listener running. It also > could be a firewall issue. > > Joe > > Mohan, Ajit (CFSA) wrote: >> Command I am running is "/usr/local/nagios/libexec/check_oracle -tns >> XXX" . Where XXX is the DB/INSTANCE name of the database >> >> I am running this command on the Nagios server and trying to monitor a > >> remote Oracle 9i database >> >> >> >> The env variables set are >> >> /usr/local/nagios/libexec> env | grep "ORA" >> >> ORACLE_SID=XXX >> >> ORACLE_BASE=/opt/oracle >> >> ORA_NLS33=/opt/oracle/product/9ir2/ocommon/nls/admin/data >> >> ORACLE_HOME=/opt/oracle/product/9ir2 >> >> >> >> > ------------------------------------------------------------------------ >> *From:* John Furlong [mailto:John.Furlong at dsl.pipex.com] >> *Sent:* Wednesday, June 21, 2006 3:18 PM >> *To:* Mohan, Ajit (CFSA); nagios-users at lists.sourceforge.net >> *Subject:* Re: [Nagios-users] Check_oracle >> >> >> >> >> What's the full command you're running - check_oracle -WHAT ? >> >> Are you running the check_oracle on the system running Oracle or > another >> box ? >> >> Postie. >> >> On 21/6/06 19:36, Mohan, Ajit (CFSA) (Ajit.Mohan at dc.gov) wrote: >> >> Hi, >> >> I am trying to monitor the oracle database using the "check_oracle" >> plugin. I have installed Oracle client on the machine and configured > the >> TNSNAMES.ORA file to point to the oracle server. However when I try to > >> test the connection using "check_oracle" I get the below error > message. >> I have verified the ORA_HOME and the TNSNAMES use the IP address of > the >> Oracle server >> >> */"No TNS Listener on XXX" >> /* >> The database is up and running >> >> Any ideas? >> >> Thank you >> >> > ------------------------------------------------------------------------ >> All the advantages of Linux Managed Hosting--Without the Cost and > Risk! >> Fully trained technicians. The highest number of Red Hat > certifications in >> the hosting industry. Fanatical Support. Click to learn more >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > > 2> >> > ------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> >> >> >> >> postie at dsl.pipex.com >> >> >> > ------------------------------------------------------------------------ >> All the advantages of Linux Managed Hosting--Without the Cost and > Risk! >> Fully trained technicians. The highest number of Red Hat > certifications in >> the hosting industry. Fanatical Support. Click to learn more >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >> >> > ------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > > -- Joe Benson NetDeposit 4141 South Highland Dr. Suite 220 Salt Lake City, UT 84124 801-273-6031 jbenson at netdeposit.com All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dustin.berube at gmail.com Thu Jun 22 04:42:40 2006 From: dustin.berube at gmail.com (Dustin Berube) Date: Wed, 21 Jun 2006 22:42:40 -0400 Subject: check_diskspace SNMP plugin Message-ID: <449A03A0.4070908@gmail.com> I am having problems trying to run the check_diskspace.sh plugin to monitor drive space on a Windows host. below is the error that I receive. I ran snmpwalk with the following syntax and it worked: snmpwalk -v 1 -c public 192.168.0.11 .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageDescr and it works properly nagios at netfx-fs1:/usr/local/nagios/libexec$ ./check_diskspace.sh usage : check_diskspace.sh example: check_diskspace.sh 192.168.1.1 public E: 100 1000 nagios at netfx-fs1:/usr/local/nagios/libexec$ ./check_diskspace.sh 192.168.0.11 public C: 1000 100 snmpwalk: Timeout (Sub-id not found: iso -> public) .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.: Unknown Object Identifier (Index out of range: (hrStorageIndex)) .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.: Unknown Object Identifier (Index out of range: (hrStorageIndex)) .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits.: Unknown Object Identifier (Index out of range: (hrStorageIndex)) (standard_in) 1: parse error ./check_diskspace.sh: line 98: [: : integer expression expected ./check_diskspace.sh: line 102: [: : integer expression expected ./check_diskspace.sh: line 106: [: : integer expression expected DISKSPACE - UNKNOWN C: MB Thanks in advance. Dustin Berube All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dustin.berube at gmail.com Thu Jun 22 05:21:48 2006 From: dustin.berube at gmail.com (Dustin Berube) Date: Wed, 21 Jun 2006 23:21:48 -0400 Subject: check_diskspace SNMP plugin In-Reply-To: References: <449A03A0.4070908@gmail.com> Message-ID: <449A0CCC.2090606@gmail.com> John Daily wrote: > I haven't played with SNMP via Nagios yet, but one thing I see: the > snmpwalk invocation in check_diskspace.sh includes a 5 second timeout. > Is your server responding within 5 seconds? You might try -t 5 when you > call snmpwalk directly. > > -John > I tried snmpwalk with -t 5 and it worked, but to give it the benefit of the doubt I changed the script to use a 20 second timeout instead and had the same results. > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net on behalf of Dustin Berube > Sent: Wed 6/21/2006 10:42 PM > To: Nagios Users > Subject: [Nagios-users] check_diskspace SNMP plugin > > I am having problems trying to run the check_diskspace.sh plugin to > monitor drive space on a Windows host. > > below is the error that I receive. I ran snmpwalk with the following > syntax and it worked: > > snmpwalk -v 1 -c public 192.168.0.11 > .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageDescr > and it works properly > > nagios at netfx-fs1:/usr/local/nagios/libexec$ ./check_diskspace.sh > usage : check_diskspace.sh > > example: check_diskspace.sh 192.168.1.1 public E: 100 1000 > > nagios at netfx-fs1:/usr/local/nagios/libexec$ ./check_diskspace.sh > 192.168.0.11 public C: 1000 100 > snmpwalk: Timeout (Sub-id not found: iso -> public) > .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.: > Unknown Object Identifier (Index out of range: (hrStorageIndex)) > .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.: > Unknown Object Identifier (Index out of range: (hrStorageIndex)) > .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits.: > Unknown Object Identifier (Index out of range: (hrStorageIndex)) > (standard_in) 1: parse error > ./check_diskspace.sh: line 98: [: : integer expression expected > ./check_diskspace.sh: line 102: [: : integer expression expected > ./check_diskspace.sh: line 106: [: : integer expression expected > DISKSPACE - UNKNOWN C: MB > > > Thanks in advance. > > Dustin Berube > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Thu Jun 22 05:30:24 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 21 Jun 2006 23:30:24 -0400 Subject: check_diskspace SNMP plugin In-Reply-To: <449A0CCC.2090606@gmail.com> References: <449A03A0.4070908@gmail.com> <449A0CCC.2090606@gmail.com> Message-ID: <449A0ED0.2050306@verizon.net> Dustin Berube wrote: > > > I tried snmpwalk with -t 5 and it worked, but to give it the benefit of > the doubt I changed the script to use a 20 second timeout instead and > had the same results. > > Sorry for replying to you personally. The Nagios list doesn't have the reply-to fields set up the way I'm used to in other lists. In case that one doesn't work for you, check out: There's a switch to check Windows and Linux machines. It requires Perl on the Nagios box. Max All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ecasbas at unav.es Thu Jun 22 08:51:04 2006 From: ecasbas at unav.es (Emilio Casbas) Date: Thu, 22 Jun 2006 08:51:04 +0200 Subject: jabber notification script Message-ID: <449A3DD8.6050209@unav.es> Hi, I set up nagios-notifications via jabber. I used the notify_via_jabber script from David Cox found. It's a little perl script to transforms your message to a valid jabber message and sends it to the jabber-server. Now, I made some enhancements to the script, so that you can add the subject as an argument from a nagios macro. I think it could be interesting. ------------------------------------- #!/usr/bin/perl # # Author David Cox # Created from various code examples found on the web # Last Modified 08/06/2002 # Added the subject as parameter from nagios # Modified by Emilio Casbas on 21/06/2006 # Feel free to use or modify as needed to suit your needs ####################################################### # MAXWAIT is used because the send message function didn't seem to # like being called to fast. The message would be sent unless I waited a second # or so. You can experiment with it but I just went with 2 seconds. ####################################################### use strict; use Net::Jabber qw(Client) ; use Net::Jabber qw(Message) ; use Net::Jabber qw(Protocol) ; use Net::Jabber qw(Presence) ; my $len = scalar @ARGV; if ($len ne 3) { die "Usage...\n notify [jabberid] [message] [subject]\n"; } my @field=split(/,/,$ARGV[0]); use constant RECIPIENT => $ARGV[0]; use constant SERVER => 'icaro.cti.unav.es'; use constant PORT => 5222; use constant USER => 'nagios'; use constant PASSWORD => 'ShJRRUQg'; use constant RESOURCE => 'resource'; use constant MESSAGE => $ARGV[1]; use constant MYSUBJECT => $ARGV[2]; use constant MAXWAIT => 2 ; my $connection = Net::Jabber::Client->new(); $connection->Connect( "hostname" => SERVER,"port" => PORT ) or die "Cannot connect ($!)\n"; my @result = $connection->AuthSend( "username" => USER,"password" => PASSWORD,"resource" => RESOURCE ); if ($result[0] ne "ok") { die "Ident/Auth with server failed: $result[0] - $result[1]\n"; } foreach ( @field ) { my $message = Net::Jabber::Message->new(); $message->SetMessage( "to" => $_, "subject" => MYSUBJECT, "type" => "chat", "body" => MESSAGE); $connection->Send($message); sleep(MAXWAIT); } $connection->Disconnect(); exit; ------------------------------------- Thanks Emilio C. All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From terrybb at paradise.net.nz Thu Jun 22 12:39:41 2006 From: terrybb at paradise.net.nz (Terry) Date: Thu, 22 Jun 2006 22:39:41 +1200 Subject: max_attempts, max_check_attempts & notify_recovery Message-ID: <009a01c695e8$2bedbdb0$96f1fea9@Acer> Hi list I've read the Nagios 2.0 documentation PDF, and I can't understand some things about max_attempts, max_check_attempts, and notify_recovery. My questions are: 1. What's the difference between max_attempts and max_check_attempts? 2. I see both max_attempts and max_check_attempts mentioned many times in the documentation, and there are 2 paragraphs which specificall y define max_check_attempts, but no such specific paragraphs for max_attempts. Why could this be? 3. I see max_attempts and notify_recovery specified in the check_log plugin (and it's newer versions - check_log2 and check_log3). Why will Nagios not start when I try to put "max_attempts 1" into my service definition? 3. Why will Nagios not start when I try to put "notify_recovery 0" into my service definition? Can anyone help me, please? Thanks. - Terry Speirs (Terry) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagiosplug-devel.31.0.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dustin.berube at gmail.com Thu Jun 22 14:20:15 2006 From: dustin.berube at gmail.com (Dustin Berube) Date: Thu, 22 Jun 2006 08:20:15 -0400 Subject: check_diskspace SNMP plugin In-Reply-To: <449A0ED0.2050306@verizon.net> References: <449A03A0.4070908@gmail.com> <449A0CCC.2090606@gmail.com> <449A0ED0.2050306@verizon.net> Message-ID: <449A8AFF.1060807@gmail.com> Max H. wrote: > Dustin Berube wrote: >> >> I tried snmpwalk with -t 5 and it worked, but to give it the benefit of >> the doubt I changed the script to use a 20 second timeout instead and >> had the same results. >> >> > > Sorry for replying to you personally. The Nagios list doesn't have the > reply-to fields set up the way I'm used to in other lists. > > In case that one doesn't work for you, check out: > > > > There's a switch to check Windows and Linux machines. It requires Perl > on the Nagios box. > > Max I looked into those scripts and I did not see a switch that lets me tell the script if I'm checking Windows or Linux. Although I did not receive any parse errors so these look promising. Thanks for the link. > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Thu Jun 22 14:49:01 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 22 Jun 2006 08:49:01 -0400 Subject: check_diskspace SNMP plugin In-Reply-To: <449A8AFF.1060807@gmail.com> References: <449A03A0.4070908@gmail.com> <449A0CCC.2090606@gmail.com> <449A0ED0.2050306@verizon.net> <449A8AFF.1060807@gmail.com> Message-ID: <449A91BD.4030703@verizon.net> Dustin Berube wrote: > > > I looked into those scripts and I did not see a switch that lets me tell > the script if I'm checking Windows or Linux. Although I did not receive > any parse errors so these look promising. Thanks for the link. > I double checked, I'm using check_snmp_storage.pl for Windows machines, not check_snmp_disk.pl. It's been awhile since I configured any Windows disk checks, sorry. checkcommand.cfg looks like this: # 'snmp_doze_disk' Windoze disk check for C: drive define command{ command_name snmp_doze_disk command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C public -m ^C: -w $ARG1$ -c $ARG2$ } Max All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Thu Jun 22 14:15:53 2006 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 22 Jun 2006 13:15:53 +0100 Subject: Check_oracle In-Reply-To: <4499A1A5.7030700@netdeposit.com> References: <03BC54053BE9A843B1785F0185A1F7EABE5894@emo-exch2k3-210.dcgov.priv> <4499A1A5.7030700@netdeposit.com> Message-ID: <765d77c80606220515l4d697ceds8e75d86e648a0486@mail.gmail.com> As an aside, there is a lightweight Oracle client which can be quite handy for some applications; unfortunately it doesn't (or didn't last time I looked) include "tnsping" so isn't too much use with the current nagios oracle plugins as far as I am aware. I'm sorry I haven't gotten around to writing any plugins which can use it yet. I expect to soon though unless I give up and install the full-blown Oracle client instead. Jim Avery All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thoanluutran at yahoo.com Thu Jun 22 15:45:38 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Thu, 22 Jun 2006 06:45:38 -0700 (PDT) Subject: check_diskspace SNMP plugin In-Reply-To: <449A03A0.4070908@gmail.com> References: <449A03A0.4070908@gmail.com> Message-ID: <20060622134538.68962.qmail@web60522.mail.yahoo.com> Hi Dustin, Why don't you use this.. I have it on my system and it works.. Thanks to Jorg. # added by Tom Tran # Arg1 = public, arg2 = disk name, arg3 and 4 are capacity define command{ command_name check_snmp_storage command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ } define service{ use generic-service ; Name of service template to use host_name EESI_SERVER service_description Partitions is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_snmp_storage!public!^C!20%!90% ; } Hope this help. Tom Tran eesimed inc. Dustin Berube wrote: I am having problems trying to run the check_diskspace.sh plugin to monitor drive space on a Windows host. below is the error that I receive. I ran snmpwalk with the following syntax and it worked: snmpwalk -v 1 -c public 192.168.0.11 .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageDescr and it works properly nagios at netfx-fs1:/usr/local/nagios/libexec$ ./check_diskspace.sh usage : check_diskspace.sh example: check_diskspace.sh 192.168.1.1 public E: 100 1000 nagios at netfx-fs1:/usr/local/nagios/libexec$ ./check_diskspace.sh 192.168.0.11 public C: 1000 100 snmpwalk: Timeout (Sub-id not found: iso -> public) .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.: Unknown Object Identifier (Index out of range: (hrStorageIndex)) .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.: Unknown Object Identifier (Index out of range: (hrStorageIndex)) .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits.: Unknown Object Identifier (Index out of range: (hrStorageIndex)) (standard_in) 1: parse error ./check_diskspace.sh: line 98: [: : integer expression expected ./check_diskspace.sh: line 102: [: : integer expression expected ./check_diskspace.sh: line 106: [: : integer expression expected DISKSPACE - UNKNOWN C: MB Thanks in advance. Dustin Berube All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 22 16:58:33 2006 From: marc at ena.com (Marc Powell) Date: Thu, 22 Jun 2006 09:58:33 -0500 Subject: max_attempts, max_check_attempts & notify_recovery Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Terry > Sent: Thursday, June 22, 2006 5:40 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] max_attempts, max_check_attempts & notify_recovery > > Hi list > > I've read the Nagios 2.0 documentation PDF, and I can't understand some > things about max_attempts, max_check_attempts, and notify_recovery. > > My questions are: > > 1. What's the difference between max_attempts and max_check_attempts? Docco bug I would say. Max_attempts was the terminology used for the old (now deprecated), non-template host and service definitions (see http://nagios.sourceforge.net/docs/1_0/xoddefault.html#service). It is equivalent to the newer max_check_attempts option. > 2. I see both max_attempts and max_check_attempts mentioned many > times in the documentation, and there are 2 paragraphs which specificall > y define max_check_attempts, but no such specific paragraphs for > max_attempts. Why could this be? Answered above. > 3. I see max_attempts and notify_recovery specified in the check_log > plugin (and it's newer versions - check_log2 and check_log3). Why will > Nagios not start when I try to put "max_attempts 1" into my service > definition? Max_attempts was never a valid template option. This is the resource for valid object definition variables -- http://nagios.sourceforge.net/docs/1_0/xodtemplate.html > 3. Why will Nagios not start when I try to put "notify_recovery 0" into my > service definition? That's not a valid template object variable. Like check_attempts, that was the terminology used pre-templates for a specific notification option. It has been superseded by 'notification_options' under the template system. I don't see it referenced anywhere in the current documentation. Where did you see it? > > Can anyone help me, please? Hope it did =) -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ton.voon at altinity.com Thu Jun 22 17:38:43 2006 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 22 Jun 2006 16:38:43 +0100 Subject: Notifications in a distributed setup Message-ID: <9219DD57-519B-446F-BF1D-73B7B41CE75D@altinity.com> Hi! I'm interested in what people have designed for notifications in a distributed setup. The official line is the master server should handle all notifications. However, in a geographically disbursed environment, there are two big advantages of slave notifications: - the slave is autonomous - if you lose connection to the master (whether scheduled or not), you will still get alerts - pager notifications are routed locally, thus cost less However, we're hitting problems because some notifications should be handled from the master, such as RSS or helpdesk integration. The only comms we allow from the slave to the master is NSCA. Has anyone solved this? Or is this why the docs recommend master notifications? Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 22 17:56:08 2006 From: marc at ena.com (Marc Powell) Date: Thu, 22 Jun 2006 10:56:08 -0500 Subject: Notifications in a distributed setup Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ton Voon > Sent: Thursday, June 22, 2006 10:39 AM > To: nagios-users at lists.sourceforge.net Users > Subject: [Nagios-users] Notifications in a distributed setup > > Hi! > > I'm interested in what people have designed for notifications in a > distributed setup. The official line is the master server should > handle all notifications. However, in a geographically disbursed > environment, there are two big advantages of slave notifications: > > - the slave is autonomous - if you lose connection to the master > (whether scheduled or not), you will still get alerts > - pager notifications are routed locally, thus cost less > > However, we're hitting problems because some notifications should be > handled from the master, such as RSS or helpdesk integration. The > only comms we allow from the slave to the master is NSCA. I use the standard model myself but my thoughts are that you could build some simple logic into your notification script on the slave that determines if it should send a notification or not. For example, part of the notification routine on the slave could be to check the status of the master. If the master is available, don't notify. If it isn't reachable, do send the notification. The same could be done for the pager notifications. If the number is local (should be an easy =~/NPA-NXX/ test with perl) send the page locally. For this last test you'd need to have corresponding test on your master server. Just off the cuff thoughts but maybe it'll help you think about the problem differently. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Thu Jun 22 18:13:23 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 22 Jun 2006 12:13:23 -0400 Subject: Notifications in a distributed setup In-Reply-To: <9219DD57-519B-446F-BF1D-73B7B41CE75D@altinity.com> References: <9219DD57-519B-446F-BF1D-73B7B41CE75D@altinity.com> Message-ID: > I'm interested in what people have designed for notifications > in a distributed setup. The official line is the master > server should handle all notifications. However, in a > geographically disbursed environment, there are two big > advantages of slave notifications: > > - the slave is autonomous - if you lose connection to the > master (whether scheduled or not), you will still get alerts > - pager notifications are routed locally, thus cost less > > However, we're hitting problems because some notifications > should be handled from the master, such as RSS or helpdesk > integration. The only comms we allow from the slave to the > master is NSCA. > > Has anyone solved this? Or is this why the docs recommend > master notifications? In my typical setups, I'll have the slave servers check that nsca on the master is working, and may add other checks to ensure the master's operating correctly. If one of those checks fail, I'll globally turn on notifications on the slave server. Otherwise, I'll have the master handle all notifications. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gbellettini at genetsis.com Thu Jun 22 18:37:12 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Thu, 22 Jun 2006 18:37:12 +0200 Subject: print a graph with the traffic of a certain host Message-ID: Does anyone know the Perl instructions to setup the map file of nagiosgraph in order to graph the traffic on a certain host? I'have the following lines to make that but it does not show a thing. #Service type:Band_Width_FastEth0/0 #output: Band_Width 100 Mbits/seg /perfdata: Band_Width.*?(\d+)/ and push @s, [Band_Width _FastEth0, [Band_Width _FastEth0, COUNTER, $1 ] ]; I did something similar to this regarding the temperature and it did work. thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Thu Jun 22 18:47:34 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 22 Jun 2006 12:47:34 -0400 Subject: print a graph with the traffic of a certain host In-Reply-To: References: Message-ID: > Does anyone know the Perl instructions to setup the map file of nagiosgraph > in order to graph the traffic on a certain host? > I'have the following lines to make that but it does not show a thing... > /perfdata: Band_Width.*?(\d+)/ You're telling it to graph from perfdata, but your number is in the check output. Use "/output:" instead of "/perfdata:". Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jbortega at gmail.com Thu Jun 22 20:41:24 2006 From: jbortega at gmail.com (Bernardo Ortega) Date: Thu, 22 Jun 2006 14:41:24 -0400 Subject: Nagios User map Message-ID: Let me know where do you use Nagios. Register in http://www.frappr.com/nagios+ Bernardo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From teng at dataway.com Thu Jun 22 21:15:43 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 22 Jun 2006 12:15:43 -0700 Subject: statusmap.cgi - how to break up map Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2DF7@dw-mail.dataway.com> One method you can use is create 'dummy' parent objects. These parent objects are stading in for hostgroups in functionality, but are to be used for tidying up the auto-map layouts. Group all objects that you want "clumped together" by setting them to have a common dummy parent. Name them according to your desired grouping scheme. [ Nagios ] | / \ / \ / \ / \ dummy1 dummy2 | |\ / \ | \ / \ | \ / \ | \ / \ | \ host1 host2 host3 host4 etc.. > -----Original Message----- > From: Pete Siemsen [mailto:siemsen at UCAR.EDU] > Sent: Tuesday, June 20, 2006 1:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] statusmap.cgi - how to break up map > > > We monitor about 240 things with Nagios. We don't use the > Status Map > because it's so cluttered. Is there a way to control what's on the > graphical map, or is there a way to make separate maps or something? > > -- Pete > > > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jeremy.Pavleck at capella.edu Thu Jun 22 21:50:18 2006 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy D.) Date: Thu, 22 Jun 2006 14:50:18 -0500 Subject: statusmap.cgi - how to break up map Message-ID: <0F1A5F3993566D4883C596CB56E59B9A05F80E92@mspmail02.int.capella.lan> As for if there's a way to make separate maps, it should already be built in! If you've created Host groups and assigned devices to them, you can filter the Status Map by using the "Drawing Layers" area. Additionally you can adjust the 2D coordinates via the Extended Information config: 2d_coords: This variable is used to define coordinates to use when drawing the host in the statusmap CGI. Coordinates should be given in positive integers, as the correspond to physical pixels in the generated image. The origin for drawing (0,0) is in the upper left hand corner of the image and extends in the positive x direction (to the right) along the top of the image and in the positive y direction (down) along the left hand side of the image. For reference, the size of the icons drawn is usually about 40x40 pixels (text takes a little extra space). The coordinates you specify here are for the upper left hand corner of the host icon that is drawn. Note: Don't worry about what the maximum x and y coordinates that you can use are. The CGI will automatically calculate the maximum dimensions of the image it creates based on the largest x and y coordinates you specify. > >-----Original Message----- > >From: nagios-users-bounces at lists.sourceforge.net > >[mailto:nagios-users-bounces at lists.sourceforge.net] On > >Behalf Of Tedman Eng > >Sent: Thursday, June 22, 2006 2:16 PM > >To: 'Pete Siemsen'; nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] statusmap.cgi - how to break up map > > > >One method you can use is create 'dummy' parent objects. > >These parent objects are stading in for hostgroups in > >functionality, but are to be used for tidying up the > >auto-map layouts. Group all objects that you want "clumped > >together" by setting them to have a common dummy parent. > >Name them according to your desired grouping scheme. > > > > > > [ Nagios ] > > | > > / \ > > / \ > > / \ > > / \ > > dummy1 dummy2 > > | |\ > > / \ | \ > > / \ | \ > > / \ | \ > > / \ | \ > >host1 host2 host3 host4 etc.. > > > > > > > >> -----Original Message----- > >> From: Pete Siemsen [mailto:siemsen at UCAR.EDU] > >> Sent: Tuesday, June 20, 2006 1:15 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] statusmap.cgi - how to break up map > >> > >> > >> We monitor about 240 things with Nagios. We don't use the > >Status Map > >> because it's so cluttered. Is there a way to control > >what's on the > >> graphical map, or is there a way to make separate maps or > >something? > >> > >> -- Pete > >> > >> > >> > >> > >> > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at 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 > >> > > > >Using Tomcat but need to do more? Need to support web > >services, security? > >Get stuff done quickly with pre-integrated technology to > >make your job easier > >Download IBM WebSphere Application Server v.1.0.1 based on > >Apache Geronimo > >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057 > >&dat=121642 > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at 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 > > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andrew at profitability.net Thu Jun 22 21:58:11 2006 From: andrew at profitability.net (Andrew Cruse) Date: Thu, 22 Jun 2006 15:58:11 -0400 Subject: statusmap.cgi - how to break up map In-Reply-To: <0F1A5F3993566D4883C596CB56E59B9A05F80E92@mspmail02.int.capella.lan> References: <0F1A5F3993566D4883C596CB56E59B9A05F80E92@mspmail02.int.capella.lan> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote: > As for if there's a way to make separate maps, it should > already be built in! > If you've created Host groups and assigned devices to them, > you can filter the Status Map by using the "Drawing Layers" area. The only problem with that is it still draws the whole map, but doesn't draw in the icons and lines for hosts not part of the particular hostgroup you're displaying. So the hostgroup you're trying to see is still cluttered and unreadable. Andrew Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jeremy.Pavleck at capella.edu Thu Jun 22 22:20:29 2006 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy D.) Date: Thu, 22 Jun 2006 15:20:29 -0500 Subject: statusmap.cgi - how to break up map Message-ID: <0F1A5F3993566D4883C596CB56E59B9A05F80E93@mspmail02.int.capella.lan> Ah, that's very true - did you happen to check out the Presentation (think that's the category) over at NagiosExchange.org? I believe they have several alternatives. There's also other things you could do, such as using Visio Enterprise or another program like that to create your own seperate map that live updates based on Nagios data - I've done something similar at a NOC years ago. -------------------------- Jeremy D. Pavleck via BlackBerry Network Engineer - Systems Management IT Network and Infrastructure Dept. Capella Education Company DIRECT: (612) 977 - 5881 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net To: nagios-users at lists.sourceforge.net Sent: Thu Jun 22 14:58:11 2006 Subject: Re: [Nagios-users] statusmap.cgi - how to break up map nagios-users-bounces at lists.sourceforge.net wrote: > As for if there's a way to make separate maps, it should > already be built in! > If you've created Host groups and assigned devices to them, > you can filter the Status Map by using the "Drawing Layers" area. The only problem with that is it still draws the whole map, but doesn't draw in the icons and lines for hosts not part of the particular hostgroup you're displaying. So the hostgroup you're trying to see is still cluttered and unreadable. Andrew Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dustin.berube at gmail.com Fri Jun 23 02:48:00 2006 From: dustin.berube at gmail.com (Dustin Berube) Date: Thu, 22 Jun 2006 20:48:00 -0400 Subject: check_diskspace SNMP plugin In-Reply-To: <20060622134538.68962.qmail@web60522.mail.yahoo.com> References: <20060622134538.68962.qmail@web60522.mail.yahoo.com> Message-ID: <449B3A40.8000603@gmail.com> Tom, Thanks for the info on that script, it works great in my environment. Dustin Tom Tran wrote: > Hi Dustin, > > Why don't you use this.. I have it on my system and it works.. Thanks > to Jorg. > > # added by Tom Tran > # Arg1 = public, arg2 = disk name, arg3 and 4 are capacity > define command{ > command_name check_snmp_storage > command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ > -C $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ > } > > define service{ > use generic-service ; Name > of service template to use > host_name EESI_SERVER > service_description Partitions > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_options w,u,c,r > notification_interval 960 > notification_period 24x7 > check_command > check_snmp_storage!public!^C!20%!90% ; > } > > Hope this help. > > Tom Tran > eesimed inc. > > */Dustin Berube /* wrote: > > I am having problems trying to run the check_diskspace.sh plugin to > monitor drive space on a Windows host. > > below is the error that I receive. I ran snmpwalk with the following > syntax and it worked: > > snmpwalk -v 1 -c public 192.168.0.11 > .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageDescr > and it works properly > > nagios at netfx-fs1:/usr/local/nagios/libexec$ ./check_diskspace.sh > usage : check_diskspace.sh > > example: check_diskspace.sh 192.168.1.1 public E: 100 1000 > > nagios at netfx-fs1:/usr/local/nagios/libexec$ ./check_diskspace.sh > 192.168.0.11 public C: 1000 100 > snmpwalk: Timeout (Sub-id not found: iso -> public) > .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.: > > Unknown Object Identifier (Index out of range: (hrStorageIndex)) > .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.: > > Unknown Object Identifier (Index out of range: (hrStorageIndex)) > .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits.: > > Unknown Object Identifier (Index out of range: (hrStorageIndex)) > (standard_in) 1: parse error > ./check_diskspace.sh: line 98: [: : integer expression expected > ./check_diskspace.sh: line 102: [: : integer expression expected > ./check_diskspace.sh: line 106: [: : integer expression expected > DISKSPACE - UNKNOWN C: MB > > > Thanks in advance. > > Dustin Berube > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > ------------------------------------------------------------------------ > Do you Yahoo!? > Next-gen email? Have it all with the all-new Yahoo! Mail Beta. > > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From engelenh at gmail.com Fri Jun 23 10:21:54 2006 From: engelenh at gmail.com (Hans Engelen) Date: Fri, 23 Jun 2006 10:21:54 +0200 Subject: Check_oracle In-Reply-To: <03BC54053BE9A843B1785F0185A1F7EABE5882@emo-exch2k3-210.dcgov.priv> References: <03BC54053BE9A843B1785F0185A1F7EABE5882@emo-exch2k3-210.dcgov.priv> Message-ID: <5383c62b0606230121xf4c348fx525db8d781d70f06@mail.gmail.com> Hi, actually if you look inside the check_oracle script you will see that it is trying to determiing the oracle home based on whats in /etc/oratab or /opt/var/etcoratab (not sure about the last one, have to work from memory here). Failure to get a valid oracle_home from that it falls back to a default and hardcoded (in the check_oracle shell script) setting. I just cannot remember if it uses the oratab method even with an ORACLE_HOME already being defined. Also you might want to check permissions on the tnsping binary and for that matter most of the other stuff installed by the oracle client setup. Possibly the nagios user (the one running the nagios process) does not have the right to execute the tnsping binary which, again if memory serves, leads to the, in this case misleading, no tns listener output. Much of all this depends on which client version you have installed. Everytime I install a new one I spend a lot of time figuring out silly little quirks and changes. Cheers, Hans On 6/21/06, Mohan, Ajit (CFSA) wrote: > > Hi, > > > > I am trying to monitor the oracle database using the "check_oracle" > plugin. I have installed Oracle client on the machine and configured the > TNSNAMES.ORA file to point to the oracle server. However when I try to > test the connection using "check_oracle" I get the below error message. I > have verified the ORA_HOME and the TNSNAMES use the IP address of the Oracle > server > > > > *"No TNS Listener on XXX"* > > > > The database is up and running > > > > Any ideas? > > > > Thank you > > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From engelenh at gmail.com Fri Jun 23 10:36:29 2006 From: engelenh at gmail.com (Hans Engelen) Date: Fri, 23 Jun 2006 10:36:29 +0200 Subject: How to report the number of RDP session on a W2K3 Terminal Server In-Reply-To: <449801C2.5050704@ultra-secure.de> References: <449801C2.5050704@ultra-secure.de> Message-ID: <5383c62b0606230136u2242448j72bf7e56c1c99d7b@mail.gmail.com> I believe it is available as a perfmon counter. Using an agent such as nc_net will allow you to poll that value via the agent. Citrix is harder. Will have to check that myself first. Cheers, Hans On 6/20/06, Rainer Duffner wrote: > > Hi, > I would like to monitor the number of RDP sessions that a W2K3-server > currently uses. > Preferrably via SNMP. > > Is there a way to do this? > > > Also, I would need the same functionality for Citrix Presentation Server > 4.0, later. > > > > cheers, > Rainer > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tgenessay at aliadis.fr Fri Jun 23 10:43:04 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Fri, 23 Jun 2006 10:43:04 +0200 Subject: How to report the number of RDP session on a W2K3 Terminal Server In-Reply-To: <5383c62b0606230136u2242448j72bf7e56c1c99d7b@mail.gmail.com> References: <449801C2.5050704@ultra-secure.de> <5383c62b0606230136u2242448j72bf7e56c1c99d7b@mail.gmail.com> Message-ID: <449BA998.7010300@aliadis.fr> Hans Engelen wrote: > I believe it is available as a perfmon counter. Using an agent such as > nc_net will allow you to poll that value via the agent. Citrix is > harder. Will have to check that myself first. > For TSE, more precisely, the WQL query is something like: SELECT ActiveSessions FROM Win32_Perf[Raw/Formatted]Data_TermService_TerminalServices Citrix is, AFAIK, based on TSE so that counter might also work for Citrix sessions. Thibault Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From david.latorre at zertia.es Fri Jun 23 10:58:16 2006 From: david.latorre at zertia.es (David Latorre) Date: Fri, 23 Jun 2006 10:58:16 +0200 Subject: Access group of hosts per user Message-ID: <449BAD28.7070004@zertia.es> Hello. We are starting using Nagios and it looks great but we are wondering if there is any way to have users access only to a determined group of hosts/services, instead of the whole. We have to manage the hosts of several groups of people and we would like to show them individually the state of their hosts but only their hosts, not the whole, for example one user USER1 who could see the state of the hosts of GROUP1 and another USER2, who could see the state of the hosts of group GROUP2. Reading the doc about users and authorizations, it seems it is only possible to access all or nothing. Is it true or is there any workaround possible? We have thought of trying the plugin for cacti to see if it could be possible to do it so, but it seems not. Any other idea? Thanks in advance David Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 23 11:06:58 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 23 Jun 2006 11:06:58 +0200 Subject: nagios list of process IDs must follow -p Message-ID: Hello, Nagios don't start in my computer (/etc/init.d/nagios start). If I do /etc/init.d/nagios status, an error message appears : ERROR: list of process IDs must follow -p What wants to say this message? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 23 11:10:07 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 23 Jun 2006 11:10:07 +0200 Subject: TR: nagios list of process IDs must follow -p Message-ID: Sorry OS : Redhat EL 4 Nagios : 2.4 Plugins : 1.4.3 ________________________________ De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de REMY Julien Envoy? : vendredi 23 juin 2006 11:07 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] nagios list of process IDs must follow -p Hello, Nagios don't start in my computer (/etc/init.d/nagios start). If I do /etc/init.d/nagios status, an error message appears : ERROR: list of process IDs must follow -p What wants to say this message? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Fri Jun 23 11:10:35 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 23 Jun 2006 11:10:35 +0200 Subject: nagios list of process IDs must follow -p In-Reply-To: References: Message-ID: Hey Remy, > Nagios don't start in my computer (/etc/init.d/nagios start). If I do > /etc/init.d/nagios status, an error message appears : > > ERROR: list of process IDs must follow -p > > What wants to say this message? The script probably contains a call to "ps -p" which requires a number of PIDs. My guess is that these PIDs should be generated by the script, but that something's going wrong :) EDIT: Ah, found it: > NagiosPID=`head -n 1 $NagiosRun` > if test -x $NagiosCGI/daemonchk.cgi; then > if $NagiosCGI/daemonchk.cgi -l $NagiosRun; then > return 0 > else > return 1 > fi > else > if ps -p $NagiosPID; then > return 0 > else > return 1 > fi > fi So it's trying to get the PID from the Nagios lock file, but apparently there is no PID in there and thus the script borks :) Should be easy to fix this, though IMHO this should be fixed in the source/package so everyone benefits from it. Cheers! Thomas Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Roberto.Raffo at enterpriseda.com Fri Jun 23 11:14:00 2006 From: Roberto.Raffo at enterpriseda.com (Roberto Raffo) Date: Fri, 23 Jun 2006 11:14:00 +0200 Subject: Perfparse problem: datas on mysql but no graphs Message-ID: Hi. I'm reposting this because I didn't resolve. We have a problem with perfparse: after having added only some service checks and having restarted nagios, perfparse stopped to draw graphs. Apparently the data continue to be loaded in mysql, but with no grah. Previously all worked correctly, with the sequent action scheduled in crontab every 30 minutes: 0,30 * * * * /usr/local/nagios/bin/perfparse-log2mysql If I put on crontab the script perfparse.sh, that send a sighup to Nagios, it seems to work correctly (it makes graphs) but after a random time Nagios stop doing check, I think because of the numerouse sighup. Any ideas? Some more information: - We use Nagios 2.1 and Perfparse 0.105.6. - Here are the config files: ******************** perfparse.cfg ******************** Error_Log = "/usr/local/nagios/var/perfparse.log" Error_Log_Rotate = "yes" Error_Log_Keep_N_Days = "7" Drop_File = "/usr/local/nagios/var/perfparse.drop" Drop_File_Rotate = "yes" Drop_File_Keep_N_Days = "7" Server_Port = "1976" Service_Log = "/usr/local/nagios/var/perfdata-service.log" Service_Log_Save_Position = "yes" Service_Log_Position_Mark_Path = "/usr/local/nagios/var" Daemon_Lock = "/usr/local/nagios//var/perfparsed.lock" Daemonize = "no" Periodic_Cleanup = "yes" Periodic_Cleanup_Lock = "/usr/local/nagios//var/perfparsed_periodic_cleanup.lock" Periodic_Cleanup_Hour = "0430" Dummy_Hostname = "LinuxSAM" No_Raw_Data = "no" No_Bin_Data = "no" Storage_Modules_Dir = "/usr/local/nagios//lib" Storage_Modules_Load = "mysql" Storage_Modules_Status_File = "/usr/local/nagios/var/storage_modules.status" # Storage Module : mysql # ============================== DB_User = "nagios" DB_Pass = "" DB_Name = "nagios" DB_Host = "LinuxSAM" ******************** nagios.cfg ******************** log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/contact_templates.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/extended_host_info.cfg cfg_file=/usr/local/nagios/etc/extended_host_info_templates.cfg cfg_file=/usr/local/nagios/etc/host_templates.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/service_templates.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/time_periods.cfg cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg xpdfile_host_perfdata_file=/usr/local/nagios/var/perfdata-host.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdata_file=/usr/local/nagios/var/perfdata-service.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$O UTPUT$\t$SERVICESTATE$\t$PERFDATA$ object_cache_file=/usr/local/nagios/var/objects.cache resource_file=/usr/local/nagios/etc/resource.cfg temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd downtime_file=/usr/local/nagios/var/downtime.dat comment_file=/usr/local/nagios/var/comments.dat lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=0 use_retained_scheduling_info=1 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 sleep_time=0.25 service_inter_check_delay_method=s max_service_check_spread=10 service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 host_inter_check_delay_method=s max_host_check_spread=30 interval_length=60 auto_reschedule_checks=1 auto_rescheduling_interval=30 auto_rescheduling_window=180 use_agressive_host_checking=0 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 soft_state_dependencies=0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 obsess_over_services=0 process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata service_perfdata_file=/usr/local/nagios/var/perfdata.log service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICESPERDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 check_host_freshness=1 host_freshness_check_interval=60 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()'= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios admin_pager=pagenagios Roberto Raffo Application & Service Providing -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4551 bytes Desc: image001.gif URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 23 11:36:58 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 23 Jun 2006 11:36:58 +0200 Subject: nagios list of process IDs must follow -p Message-ID: In /etc/init.d/nagios : status_nagios () { if test ! -f $NagiosRunFile; then echo "No lock file found in $NagiosRunFile" return 1 fi NagiosPID=`head -n 1 $NagiosRunFile` if test -x $NagiosCGI/daemonchk.cgi; then if $NagiosCGI/daemonchk.cgi -l $NagiosRunFile; then return 0 else return 1 fi else if ps -p $NagiosPID; then return 0 else return 1 fi fi return 1 } -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Thomas Sluyter Envoy??: vendredi 23 juin 2006 11:11 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] nagios list of process IDs must follow -p Hey Remy, > Nagios don't start in my computer (/etc/init.d/nagios start). If I do > /etc/init.d/nagios status, an error message appears : > > ERROR: list of process IDs must follow -p > > What wants to say this message? The script probably contains a call to "ps -p" which requires a number of PIDs. My guess is that these PIDs should be generated by the script, but that something's going wrong :) EDIT: Ah, found it: > NagiosPID=`head -n 1 $NagiosRun` > if test -x $NagiosCGI/daemonchk.cgi; then > if $NagiosCGI/daemonchk.cgi -l $NagiosRun; then > return 0 > else > return 1 > fi > else > if ps -p $NagiosPID; then > return 0 > else > return 1 > fi > fi So it's trying to get the PID from the Nagios lock file, but apparently there is no PID in there and thus the script borks :) Should be easy to fix this, though IMHO this should be fixed in the source/package so everyone benefits from it. Cheers! Thomas Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Fri Jun 23 11:43:06 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 23 Jun 2006 11:43:06 +0200 Subject: nagios list of process IDs must follow -p In-Reply-To: References: Message-ID: <78FA54F2-B645-419F-878A-C66A3CF51559@kilala.nl> On 23 Jun, 2006, at 11:36, REMY Julien wrote: > In /etc/init.d/nagios : > > status_nagios () > { > > if test ! -f $NagiosRunFile; then > echo "No lock file found in $NagiosRunFile" > return 1 > ... > and so on... I know what /etc/init.d/nagios looks like, thank you :) My point was that the "ps -p" check is currently not the most elegant solution to perform the check. It would be better if Ethan or someone else fixed the init script in the various packages, so that it would work properly. He could include something like: [ -f $NagiosPID == "" ] || (echo "Something went wrong reading the Nagios PID from $NagiosRunFile); Which should come right after the setting of $NagiosPID. I know, it's a nasty kludge, but at least it'll catch the error if $NagiosPID isn't read properly. Cheers, Thomas Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 23 12:13:26 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 23 Jun 2006 12:13:26 +0200 Subject: nagios list of process IDs must follow -p Message-ID: I replaced in /etc/init.d/nagios : if ps -p $NagiosPID; by [ if ps -f $NagiosPID == "" ] || (echo "Something went wrong reading the Nagios PID from $NagiosRunFile); Is that which is necessary that I make? thanks -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Thomas Sluyter Envoy??: vendredi 23 juin 2006 11:43 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] nagios list of process IDs must follow -p On 23 Jun, 2006, at 11:36, REMY Julien wrote: > In /etc/init.d/nagios : > > status_nagios () > { > > if test ! -f $NagiosRunFile; then > echo "No lock file found in $NagiosRunFile" > return 1 > ... > and so on... I know what /etc/init.d/nagios looks like, thank you :) My point was that the "ps -p" check is currently not the most elegant solution to perform the check. It would be better if Ethan or someone else fixed the init script in the various packages, so that it would work properly. He could include something like: [ -f $NagiosPID == "" ] || (echo "Something went wrong reading the Nagios PID from $NagiosRunFile); Which should come right after the setting of $NagiosPID. I know, it's a nasty kludge, but at least it'll catch the error if $NagiosPID isn't read properly. Cheers, Thomas Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Fri Jun 23 13:21:19 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 23 Jun 2006 13:21:19 +0200 Subject: nagios list of process IDs must follow -p In-Reply-To: References: Message-ID: On 23 Jun, 2006, at 12:13, REMY Julien wrote: > I replaced in /etc/init.d/nagios : > > if ps -p $NagiosPID; > > by > > [ if ps -f $NagiosPID == "" ] || (echo "Something went wrong > reading the Nagios PID from $NagiosRunFile); > > Is that which is necessary that I make? No... Either I wasn't very clear, or reading english isn't your fort?... It could become something like this: NagiosPID=`head -n 1 $NagiosRun` [ $NagiosPID == "" ] && (echo "Something went wrong reading the Nagios PID from $NagiosRunFile; exit 1) if test -x $NagiosCGI/daemonchk.cgi; then if $NagiosCGI/daemonchk.cgi -l $NagiosRun; then return 0 else return 1 fi else if ps -p $NagiosPID; then return 0 else return 1 fi fi Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Roberto.Raffo at enterpriseda.com Fri Jun 23 13:34:45 2006 From: Roberto.Raffo at enterpriseda.com (Roberto Raffo) Date: Fri, 23 Jun 2006 13:34:45 +0200 Subject: Monitoring without TCP/IP connection Message-ID: Hi Folks. I have to monitor some sites, from the central NOC, where there isn't a VPN connection. I just thinking about using some system that use some non typical connection like analogic phone, gsm, sms, gprs... Than my idea is to create a black box (probe) composed by a pc with Linux inside and on of standard analogic modem or a GSM modem and an Ethernet cable to connect to the customer LAN. Then I have only to configure this probe to monitor some systems on the remote site and put it in the customer site. This probe then call the central Nagios that use the event in a standard way. Do you now some system like this? Have you any idea about? Thank a lot! Bye! Roberto Raffo Application & Service Providing -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4551 bytes Desc: image001.gif URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Fri Jun 23 13:28:02 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 23 Jun 2006 13:28:02 +0200 Subject: nagios list of process IDs must follow -p In-Reply-To: <78FA54F2-B645-419F-878A-C66A3CF51559@kilala.nl> References: <78FA54F2-B645-419F-878A-C66A3CF51559@kilala.nl> Message-ID: Just to be clear, I made a booboo in my e-mail from 11:42: On 23 Jun, 2006, at 11:43, Thomas Sluyter wrote: > [ -f $NagiosPID == "" ] || (echo "Something went wrong reading the > Nagios PID from $NagiosRunFile); Should be: [ $NagiosPID == "" ] && "Something went wrong reading the Nagios PID from $NagiosRunFile; exit 1) I have no clue what was in my coffee, but what I wrote earlier was horse crap. Sorry about that... Cheers! Thomas Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From esmiguelfc at gmail.com Fri Jun 23 13:38:57 2006 From: esmiguelfc at gmail.com (Miguel Fernandes) Date: Fri, 23 Jun 2006 07:38:57 -0400 Subject: SELinux blocking nagios' cgis on FC5 Message-ID: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> Hi, I'm trying to run nagios 2.4 (latest) on Fedora Core 5, and I've installed it with yum. I have SELinux active, and I have the following situation: The nagios service is running, so I go to http://localhost/nagios/ and I enter my password and the site is shown. But when I try to enter on any of the cgi's the following message is shown: > Whoops! > > *Error: Could not read object configuration data!* > > Here are some things you should check in order to resolve this error: > > > 1. Verify configuration options using the *-v* command-line option > to check for errors. > 2. Check the Nagios log file for messages relating to startup or > status data errors. > 3. Make sure you've compiled the main program and the CGIs to use > the same object data storage options (i.e. default text file or > template-based file). > > Make sure you read the documentation on installing, configuring and > running Nagios thoroughly before continuing. If all else fails, try sending > a message to one of the mailing lists. More information can be found at > http://www.nagios.org. > I have checked the configuration with "nagios -v" and it looks fine. I disabled SELinux for a second and everything works fine. I tried then to find out what SELinux rule is blocking the access to the files but couldn't find any log where this is notice. I don't want to disable SELinux, i just want to disable the rule affecting nagios. I would appreciate any advice you could give me. Thanks! MFC Nagios version: 2.4 OS: Red Hat Fedora Core 5 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 23 14:15:19 2006 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jun 2006 07:15:19 -0500 Subject: Access group of hosts per user Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of David Latorre > Sent: Friday, June 23, 2006 3:58 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Access group of hosts per user > > Hello. > > We are starting using Nagios and it looks great but we are wondering if > there is any way to have users access only to a determined group of > hosts/services, instead of the whole. Configure authorization/authentication. When it is enabled, users can only see the hosts and services that they are contacts for. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Fri Jun 23 14:09:37 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 23 Jun 2006 08:09:37 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> Message-ID: <302ce8b50606230509k4f0d89aah29df93c94a2262c7@mail.gmail.com> > I have checked the configuration with "nagios -v" and it looks fine. I > disabled SELinux for a second and everything works fine. I tried then to > find out what SELinux rule is blocking the access to the files but couldn't > find any log where this is notice. I don't want to disable SELinux, i just > want to disable the rule affecting nagios. I would appreciate any advice you > could give me. Thanks! http://article.gmane.org/gmane.network.nagios.user/33586/match=selinux You'll need to salt this to taste, but it should be pretty close to dead on what you need. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 23 14:26:39 2006 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jun 2006 07:26:39 -0500 Subject: nagios list of process IDs must follow -p Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, June 23, 2006 4:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios list of process IDs must follow -p > > Hello, > > > > Nagios don't start in my computer (/etc/init.d/nagios start). If I do > /etc/init.d/nagios status, an error message appears : > > > > ERROR: list of process IDs must follow -p > > > > What wants to say this message? Based on what you said previously, it probably means that nagios isn't starting or isn't able to create the pid file. Try running manually and look for errors with '/path/to/nagios /path/to/nagios.etc'. Make sure nagios can write to the files you've specified as lock_file, state_retention_file, comment_file, downtime_file and temp_file in nagios.cfg. Make sure the command_file directory exists and is configured as per the documentation if you have enabled external commands. As for your CGI errors, the http logs you provided show no attempted access to any of the CGI's. Why is that? Since you're using RHEL4, you'll want to verify that either SELinux is disabled or you've created a policy that allows http access to the CGI's and possibly daemon access to other files. If you see 'avc denied' errors related to nagios in /var/log/messages then you need to disable or modify your SELinux policy. There are several discussions in the archives on how to do this. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From esmiguelfc at gmail.com Fri Jun 23 14:44:16 2006 From: esmiguelfc at gmail.com (Miguel Fernandes) Date: Fri, 23 Jun 2006 08:44:16 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <302ce8b50606230509k4f0d89aah29df93c94a2262c7@mail.gmail.com> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> <302ce8b50606230509k4f0d89aah29df93c94a2262c7@mail.gmail.com> Message-ID: <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> Thanks Jim, Apparently something changed in the SELinux structure on FC5, because the directory src doesn't exists in /etc/selinux/targeted/. Anybody knows about this change? MFC On 6/23/06, Jim Perrin wrote: > > I have checked the configuration with "nagios -v" and it looks fine. I > > disabled SELinux for a second and everything works fine. I tried then to > > find out what SELinux rule is blocking the access to the files but couldn't > > find any log where this is notice. I don't want to disable SELinux, i just > > want to disable the rule affecting nagios. I would appreciate any advice you > > could give me. Thanks! > > > http://article.gmane.org/gmane.network.nagios.user/33586/match=selinux > > You'll need to salt this to taste, but it should be pretty close to > dead on what you need. > > -- > This message has been double ROT13 encoded for security. Anyone other > than the intended recipient attempting to decode this message will be > in violation of the DMCA > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 23 14:59:44 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 23 Jun 2006 14:59:44 +0200 Subject: nagios list of process IDs must follow -p Message-ID: In my /etc/init.d/nagios : status_nagios () { if test ! -f $NagiosRunFile; then echo "No lock file found in $NagiosRunFile" return 1 fi NagiosPID=`head -n 1 $NagiosRun` [ -f $NagiosPID == "" ] && (echo "Something went wrong reading the Nagios PID from $NagiosRunFile; exit 1) if test -x $NagiosCGI/daemonchk.cgi; then if $NagiosCGI/daemonchk.cgi -l $NagiosRun; then return 0 else return 1 fi else if ps -p $NagiosPID; then return 0 else return 1 fi fi return 1 } When I restart Nagios : [root at mercure2 conf]# /etc/rc.d/init.d/nagios start /etc/rc.d/init.d/nagios: line 205: unexpected EOF while looking for matching `"' /etc/rc.d/init.d/nagios: line 212: syntax error: unexpected end of file -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Thomas Sluyter Envoy??: vendredi 23 juin 2006 13:28 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] nagios list of process IDs must follow -p Just to be clear, I made a booboo in my e-mail from 11:42: On 23 Jun, 2006, at 11:43, Thomas Sluyter wrote: > [ -f $NagiosPID == "" ] || (echo "Something went wrong reading the > Nagios PID from $NagiosRunFile); Should be: [ $NagiosPID == "" ] && "Something went wrong reading the Nagios PID from $NagiosRunFile; exit 1) I have no clue what was in my coffee, but what I wrote earlier was horse crap. Sorry about that... Cheers! Thomas Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Fri Jun 23 15:04:57 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 23 Jun 2006 09:04:57 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> <302ce8b50606230509k4f0d89aah29df93c94a2262c7@mail.gmail.com> <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> Message-ID: <302ce8b50606230604w619fc449wd0c2c620b5b7e9c8@mail.gmail.com> On 6/23/06, Miguel Fernandes wrote: > Thanks Jim, > > Apparently something changed in the SELinux structure on FC5, because > the directory src doesn't exists in /etc/selinux/targeted/. Anybody > knows about this change? You have to install the sources package seperately. It's not in the base selinux package. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 23 15:20:07 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 23 Jun 2006 15:20:07 +0200 Subject: nagios list of process IDs must follow -p Message-ID: It's OK for the starting of Nagios. It missed the /var/run/nagios.pid file. Thank you. But in Nagios, if I select menus, the message is : Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. What want to say? -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell Envoy??: vendredi 23 juin 2006 14:27 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] nagios list of process IDs must follow -p > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, June 23, 2006 4:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios list of process IDs must follow -p > > Hello, > > > > Nagios don't start in my computer (/etc/init.d/nagios start). If I do > /etc/init.d/nagios status, an error message appears : > > > > ERROR: list of process IDs must follow -p > > > > What wants to say this message? Based on what you said previously, it probably means that nagios isn't starting or isn't able to create the pid file. Try running manually and look for errors with '/path/to/nagios /path/to/nagios.etc'. Make sure nagios can write to the files you've specified as lock_file, state_retention_file, comment_file, downtime_file and temp_file in nagios.cfg. Make sure the command_file directory exists and is configured as per the documentation if you have enabled external commands. As for your CGI errors, the http logs you provided show no attempted access to any of the CGI's. Why is that? Since you're using RHEL4, you'll want to verify that either SELinux is disabled or you've created a policy that allows http access to the CGI's and possibly daemon access to other files. If you see 'avc denied' errors related to nagios in /var/log/messages then you need to disable or modify your SELinux policy. There are several discussions in the archives on how to do this. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Deborah.Martin at Kognitio.com Fri Jun 23 15:18:18 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Fri, 23 Jun 2006 14:18:18 +0100 Subject: nagios list of process IDs must follow -p Message-ID: and have you followed the advice set out below ? -----Original Message----- From: REMY Julien [mailto:julien.remy at ohs.asso.fr] Sent: 23 June 2006 14:20 To: Marc Powell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios list of process IDs must follow -p It's OK for the starting of Nagios. It missed the /var/run/nagios.pid file. Thank you. But in Nagios, if I select menus, the message is : Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. What want to say? -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell Envoy??: vendredi 23 juin 2006 14:27 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] nagios list of process IDs must follow -p > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, June 23, 2006 4:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios list of process IDs must follow -p > > Hello, > > > > Nagios don't start in my computer (/etc/init.d/nagios start). If I do > /etc/init.d/nagios status, an error message appears : > > > > ERROR: list of process IDs must follow -p > > > > What wants to say this message? Based on what you said previously, it probably means that nagios isn't starting or isn't able to create the pid file. Try running manually and look for errors with '/path/to/nagios /path/to/nagios.etc'. Make sure nagios can write to the files you've specified as lock_file, state_retention_file, comment_file, downtime_file and temp_file in nagios.cfg. Make sure the command_file directory exists and is configured as per the documentation if you have enabled external commands. As for your CGI errors, the http logs you provided show no attempted access to any of the CGI's. Why is that? Since you're using RHEL4, you'll want to verify that either SELinux is disabled or you've created a policy that allows http access to the CGI's and possibly daemon access to other files. If you see 'avc denied' errors related to nagios in /var/log/messages then you need to disable or modify your SELinux policy. There are several discussions in the archives on how to do this. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From esmiguelfc at gmail.com Fri Jun 23 15:44:47 2006 From: esmiguelfc at gmail.com (Miguel Fernandes) Date: Fri, 23 Jun 2006 09:44:47 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <302ce8b50606230604w619fc449wd0c2c620b5b7e9c8@mail.gmail.com> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> <302ce8b50606230509k4f0d89aah29df93c94a2262c7@mail.gmail.com> <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> <302ce8b50606230604w619fc449wd0c2c620b5b7e9c8@mail.gmail.com> Message-ID: <7b5ba3cd0606230644o775c45b3jfe262e105e45a0c4@mail.gmail.com> Thanks for your quick response Jim, I have checked all the selinux related packages on yum repositories and almost all of them are installed (including selinux-policy, checkpolicy, libselinux and libselinux-devel). There isn't a package named selinux-src. Sorry for asking questions about SELinux on the nagios list, but this is one of my first steps on SELinux and nagios. Thanks! MFC On 6/23/06, Jim Perrin wrote: > On 6/23/06, Miguel Fernandes wrote: > > Thanks Jim, > > > > Apparently something changed in the SELinux structure on FC5, because > > the directory src doesn't exists in /etc/selinux/targeted/. Anybody > > knows about this change? > > > You have to install the sources package seperately. It's not in the > base selinux package. > > -- > This message has been double ROT13 encoded for security. Anyone other > than the intended recipient attempting to decode this message will be > in violation of the DMCA > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 23 15:49:46 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 23 Jun 2006 15:49:46 +0200 Subject: nagios list of process IDs must follow -p Message-ID: In my /var/log/httpd/error_log : File does not exist: /var/www/html/favicon.ico In my /var/log/messages : nagios: Error: Unable to create temp file for writing status data! Jun 23 15:45:03 mercure2 pam_timestamp_check: pam_timestamp: `/var/' permissions are lax Jun 23 15:45:13 mercure2 last message repeated 2 times -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell Envoy??: vendredi 23 juin 2006 14:27 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] nagios list of process IDs must follow -p > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, June 23, 2006 4:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios list of process IDs must follow -p > > Hello, > > > > Nagios don't start in my computer (/etc/init.d/nagios start). If I do > /etc/init.d/nagios status, an error message appears : > > > > ERROR: list of process IDs must follow -p > > > > What wants to say this message? Based on what you said previously, it probably means that nagios isn't starting or isn't able to create the pid file. Try running manually and look for errors with '/path/to/nagios /path/to/nagios.etc'. Make sure nagios can write to the files you've specified as lock_file, state_retention_file, comment_file, downtime_file and temp_file in nagios.cfg. Make sure the command_file directory exists and is configured as per the documentation if you have enabled external commands. As for your CGI errors, the http logs you provided show no attempted access to any of the CGI's. Why is that? Since you're using RHEL4, you'll want to verify that either SELinux is disabled or you've created a policy that allows http access to the CGI's and possibly daemon access to other files. If you see 'avc denied' errors related to nagios in /var/log/messages then you need to disable or modify your SELinux policy. There are several discussions in the archives on how to do this. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From engelenh at gmail.com Fri Jun 23 15:50:47 2006 From: engelenh at gmail.com (Hans Engelen) Date: Fri, 23 Jun 2006 15:50:47 +0200 Subject: How to report the number of RDP session on a W2K3 Terminal Server In-Reply-To: <449BA998.7010300@aliadis.fr> References: <449801C2.5050704@ultra-secure.de> <5383c62b0606230136u2242448j72bf7e56c1c99d7b@mail.gmail.com> <449BA998.7010300@aliadis.fr> Message-ID: <5383c62b0606230650m448bfca9t7275e4d1868ad40@mail.gmail.com> Indeed thats a WMI Query you could use already. The counters for perfmon are : Terminal Services\Active Sessions Terminal Services\Inactive Sessions Terminal Services\Total Sessions Which do not distinguish between RDP or ICA sessions I might add. So if you have say 2 admins logged in via RDP, 10 users logged in via ICA and 5 users logged in via ICA but disconnected your counters would respectivly be 12, 5 and 17. At first glance I see no quick way however to split the 12 active sessions into two values (one for RDP and one for ICA sessions). Other then enumerating the actual sessions and doing the math on it in your check (which means you are as good as obligated to run something like a small vbscript on your winbox and have it relay the result through nsca). Maybe I am overlooking a way to sidestep this. Cheers, Hans On 6/23/06, Thibault Genessay wrote: > > Hans Engelen wrote: > > I believe it is available as a perfmon counter. Using an agent such as > > nc_net will allow you to poll that value via the agent. Citrix is > > harder. Will have to check that myself first. > > > For TSE, more precisely, the WQL query is something like: > SELECT ActiveSessions FROM > Win32_Perf[Raw/Formatted]Data_TermService_TerminalServices > > Citrix is, AFAIK, based on TSE so that counter might also work for > Citrix sessions. > > Thibault > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at kilala.nl Fri Jun 23 16:09:23 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 23 Jun 2006 16:09:23 +0200 Subject: nagios list of process IDs must follow -p In-Reply-To: References: Message-ID: On 23 Jun, 2006, at 14:59, REMY Julien wrote: > In my /etc/init.d/nagios : > > NagiosPID=`head -n 1 $NagiosRun` > [ -f $NagiosPID == "" ] && (echo "Something went wrong reading the > Nagios PID from $NagiosRunFile; exit 1) Take out that "-f". That was a mistake of mine and doesn't belong there. It was a typo... Cheers Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Fri Jun 23 16:16:46 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 23 Jun 2006 10:16:46 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <7b5ba3cd0606230644o775c45b3jfe262e105e45a0c4@mail.gmail.com> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> <302ce8b50606230509k4f0d89aah29df93c94a2262c7@mail.gmail.com> <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> <302ce8b50606230604w619fc449wd0c2c620b5b7e9c8@mail.gmail.com> <7b5ba3cd0606230644o775c45b3jfe262e105e45a0c4@mail.gmail.com> Message-ID: <302ce8b50606230716l286599edr9b88475b76e75c28@mail.gmail.com> On 6/23/06, Miguel Fernandes wrote: > Thanks for your quick response Jim, > > I have checked all the selinux related packages on yum repositories > and almost all of them are installed (including selinux-policy, > checkpolicy, libselinux and libselinux-devel). There isn't a package > named selinux-src. Sorry for asking questions about SELinux on the > nagios list, but this is one of my first steps on SELinux and nagios. > Thanks! Hmm. I'm not sure then. I'm still using RHEL4 and Centos, which has a seperate selinux-policy-targeted-sources package. I have no idea how they've modified it for FC5. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 23 16:22:52 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 23 Jun 2006 16:22:52 +0200 Subject: nagios list of process IDs must follow -p Message-ID: It's OK for the restarting of Nagios. But I have the same error when I stop Nagios. In the interface, I have the message : Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Thomas Sluyter Envoy??: vendredi 23 juin 2006 16:09 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] nagios list of process IDs must follow -p On 23 Jun, 2006, at 14:59, REMY Julien wrote: > In my /etc/init.d/nagios : > > NagiosPID=`head -n 1 $NagiosRun` > [ -f $NagiosPID == "" ] && (echo "Something went wrong reading the > Nagios PID from $NagiosRunFile; exit 1) Take out that "-f". That was a mistake of mine and doesn't belong there. It was a typo... Cheers Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris.stankaitis at datawire.net Fri Jun 23 16:31:45 2006 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Fri, 23 Jun 2006 10:31:45 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <302ce8b50606230716l286599edr9b88475b76e75c28@mail.gmail.com> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> <302ce8b50606230509k4f0d89aah29df93c94a2262c7@mail.gmail.com> <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> <302ce8b50606230604w619fc449wd0c2c620b5b7e9c8@mail.gmail.com> <7b5ba3cd0606230644o775c45b3jfe262e105e45a0c4@mail.gmail.com> <302ce8b50606230716l286599edr9b88475b76e75c28@mail.gmail.com> Message-ID: <449BFB51.1010208@datawire.net> Jim Perrin wrote: > On 6/23/06, Miguel Fernandes wrote: >> Thanks for your quick response Jim, >> >> I have checked all the selinux related packages on yum repositories >> and almost all of them are installed (including selinux-policy, >> checkpolicy, libselinux and libselinux-devel). There isn't a package >> named selinux-src. Sorry for asking questions about SELinux on the >> nagios list, but this is one of my first steps on SELinux and nagios. >> Thanks! > > > Hmm. I'm not sure then. I'm still using RHEL4 and Centos, which has a > seperate selinux-policy-targeted-sources package. I have no idea how > they've modified it for FC5. I run a lot of SELinux boxes, but at this moment our Nagios server hasn't been upgraded to an SELinux version of RHEL, so what I am about to say has *not* been tested/confirmed by me. chances are you need to change the context of the cgi's to make sure they have the httpd_sys_script_exec_t set so that apache will be allowed to run the scripts... Post some of the AVC's that it's thowing to syslog, as well as an ls -lZ of /etc/nagios if that doesn't fix the problem and I'll see if I can give you something more concrete to work with. --Chris Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Fri Jun 23 16:40:19 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 23 Jun 2006 16:40:19 +0200 Subject: nagios list of process IDs must follow -p Message-ID: Yes I follow all but it's the same problem -----Message d'origine----- De?: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Envoy??: vendredi 23 juin 2006 15:18 ??: REMY Julien; Marc Powell; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] nagios list of process IDs must follow -p and have you followed the advice set out below ? -----Original Message----- From: REMY Julien [mailto:julien.remy at ohs.asso.fr] Sent: 23 June 2006 14:20 To: Marc Powell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios list of process IDs must follow -p It's OK for the starting of Nagios. It missed the /var/run/nagios.pid file. Thank you. But in Nagios, if I select menus, the message is : Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. What want to say? -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell Envoy??: vendredi 23 juin 2006 14:27 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] nagios list of process IDs must follow -p > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, June 23, 2006 4:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios list of process IDs must follow -p > > Hello, > > > > Nagios don't start in my computer (/etc/init.d/nagios start). If I do > /etc/init.d/nagios status, an error message appears : > > > > ERROR: list of process IDs must follow -p > > > > What wants to say this message? Based on what you said previously, it probably means that nagios isn't starting or isn't able to create the pid file. Try running manually and look for errors with '/path/to/nagios /path/to/nagios.etc'. Make sure nagios can write to the files you've specified as lock_file, state_retention_file, comment_file, downtime_file and temp_file in nagios.cfg. Make sure the command_file directory exists and is configured as per the documentation if you have enabled external commands. As for your CGI errors, the http logs you provided show no attempted access to any of the CGI's. Why is that? Since you're using RHEL4, you'll want to verify that either SELinux is disabled or you've created a policy that allows http access to the CGI's and possibly daemon access to other files. If you see 'avc denied' errors related to nagios in /var/log/messages then you need to disable or modify your SELinux policy. There are several discussions in the archives on how to do this. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fred at derf.nl Fri Jun 23 16:38:03 2006 From: fred at derf.nl (Friedrich Clausen) Date: Fri, 23 Jun 2006 16:38:03 +0200 Subject: Further differentiating between Acknowledged and Un-acknowledged problems Message-ID: <449BFCCB.70601@derf.nl> Hi, I hope my subject is not confusing. A little background first - We have a NOC that monitors that status of various devices and services, through the "service problems" section of the CGI. I received a request to make acknowledged problems "go away" from the "service problems" section. I only way to could see to do this is to modify the CGI's. So there could be couple of side navigation bar link changes, eg. "All Service Problems", "Unacknowledged Service Problems" and "Acknowledged Service Problems". I can't see a way to do this with the existing web interface. Are there alternatives around yet? But to be honest I would rather have modify the existing one because everyone knows how it works. Is it time to start reading the Nagios hacking guidelines? :) Or can this be done in some other way? I have tried to be as clear as possible but if this is not making sense please let me know. Regards, Fred. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From esmiguelfc at gmail.com Fri Jun 23 16:51:17 2006 From: esmiguelfc at gmail.com (Miguel Fernandes) Date: Fri, 23 Jun 2006 10:51:17 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <449BFB51.1010208@datawire.net> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> <302ce8b50606230509k4f0d89aah29df93c94a2262c7@mail.gmail.com> <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> <302ce8b50606230604w619fc449wd0c2c620b5b7e9c8@mail.gmail.com> <7b5ba3cd0606230644o775c45b3jfe262e105e45a0c4@mail.gmail.com> <302ce8b50606230716l286599edr9b88475b76e75c28@mail.gmail.com> <449BFB51.1010208@datawire.net> Message-ID: <7b5ba3cd0606230751o5c9554e8kd16b13776d65d63c@mail.gmail.com> Hi Chris, Jim, I've received the following response from the selinux maillist: There is no longer a selinux-policy--sources RPM > available in FC5. All Policies are build from a selinux-policy.srpm > package, which contains all of the policy source files. > > Happy Day. > Thorsten > Apparently the sources are not available in FC5. The context of the files is the one you wrote: httpd_sys_script_exec_t, in the cgis and also on the configuration files. The cgis are executed, but aren't able to read the objects configuration. I'm appending the list of the directories requested and a part of the syslog related to AVC. Thanks in advance! MFC [root at localhost nagios]# ls --context /usr/lib/nagios/cgi-bin/ > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t avail.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t cmd.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t config.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t > extinfo.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t > histogram.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t > history.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t > notifications.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t > outages.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t > showlog.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t status.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t > statusmap.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t > statuswml.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t > statuswrl.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t > summary.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t tac.cgi > -rwxr-xr-x root root system_u:object_r:httpd_sys_script_exec_t trends.cgi > [root at localhost nagios]# ls --context > -rw-rw-r-- root root system_u:object_r:httpd_sys_script_exec_t > bigger.cfg-sample > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t cgi.cfg > -rw-rw-r-- root root system_u:object_r:httpd_sys_script_exec_t > cgi.cfg-sample > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t > checkcommands.cfg > -rw-rw-r-- root root system_u:object_r:httpd_sys_script_exec_t > checkcommands.cfg-sample > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t > contactgroups.cfg > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t > contacts.cfg > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t > hostgroups.cfg > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t hosts.cfg > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t > htpasswd.users > -rw-rw-r-- root root system_u:object_r:httpd_sys_script_exec_t > minimal.cfg-sample > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t > misccommands.cfg > -rw-rw-r-- root root system_u:object_r:httpd_sys_script_exec_t > misccommands.cfg-sample > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t nagios.cfg > -rw-rw-r-- root root system_u:object_r:httpd_sys_script_exec_t > nagios.cfg-sample > drwxr-x--- root root system_u:object_r:httpd_sys_script_exec_t private > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t > services.cfg > -rw-r--r-- root root system_u:object_r:httpd_sys_script_exec_t > timeperiods.cfg > [root at localhost nagios]# ls --context private/ > -rw-r----- root root system_u:object_r:httpd_sys_script_exec_t > resource.cfg > -rw-r----- root root system_u:object_r:httpd_sys_script_exec_t > resource.cfg-sample audit(1151073510.912:1650): avc: denied { read } for pid=7942 comm=" > status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > audit(1151073601.054:1651): avc: denied { read } for pid=7999 comm=" > status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > audit(1151073696.660:1652): avc: denied { read } for pid=8037 comm=" > status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > audit(1151073787.393:1653): avc: denied { read } for pid=8067 comm=" > status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > audit(1151073877.523:1654): avc: denied { read } for pid=8108 comm=" > status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > audit(1151073967.653:1655): avc: denied { read } for pid=8203 comm=" > status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Deborah.Martin at Kognitio.com Fri Jun 23 16:51:06 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Fri, 23 Jun 2006 15:51:06 +0100 Subject: nagios list of process IDs must follow -p Message-ID: If the configuration can't be read, check the paths in the nagios.cfg correspond to the correct locations of the .cfg files. Check permissions and owner of the files. When you run the nagios -v nagios.cfg preflight check what is the output ? -----Original Message----- From: REMY Julien [mailto:julien.remy at ohs.asso.fr] Sent: 23 June 2006 15:40 To: Deborah Martin; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios list of process IDs must follow -p Yes I follow all but it's the same problem -----Message d'origine----- De?: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Envoy??: vendredi 23 juin 2006 15:18 ??: REMY Julien; Marc Powell; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] nagios list of process IDs must follow -p and have you followed the advice set out below ? -----Original Message----- From: REMY Julien [mailto:julien.remy at ohs.asso.fr] Sent: 23 June 2006 14:20 To: Marc Powell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios list of process IDs must follow -p It's OK for the starting of Nagios. It missed the /var/run/nagios.pid file. Thank you. But in Nagios, if I select menus, the message is : Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. What want to say? -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell Envoy??: vendredi 23 juin 2006 14:27 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] nagios list of process IDs must follow -p > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, June 23, 2006 4:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios list of process IDs must follow -p > > Hello, > > > > Nagios don't start in my computer (/etc/init.d/nagios start). If I do > /etc/init.d/nagios status, an error message appears : > > > > ERROR: list of process IDs must follow -p > > > > What wants to say this message? Based on what you said previously, it probably means that nagios isn't starting or isn't able to create the pid file. Try running manually and look for errors with '/path/to/nagios /path/to/nagios.etc'. Make sure nagios can write to the files you've specified as lock_file, state_retention_file, comment_file, downtime_file and temp_file in nagios.cfg. Make sure the command_file directory exists and is configured as per the documentation if you have enabled external commands. As for your CGI errors, the http logs you provided show no attempted access to any of the CGI's. Why is that? Since you're using RHEL4, you'll want to verify that either SELinux is disabled or you've created a policy that allows http access to the CGI's and possibly daemon access to other files. If you see 'avc denied' errors related to nagios in /var/log/messages then you need to disable or modify your SELinux policy. There are several discussions in the archives on how to do this. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris.stankaitis at datawire.net Fri Jun 23 16:58:10 2006 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Fri, 23 Jun 2006 10:58:10 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <7b5ba3cd0606230751o5c9554e8kd16b13776d65d63c@mail.gmail.com> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> <302ce8b50606230509k4f0d89aah29df93c94a2262c7@mail.gmail.com> <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> <302ce8b50606230604w619fc449wd0c2c620b5b7e9c8@mail.gmail.com> <7b5ba3cd0606230644o775c45b3jfe262e105e45a0c4@mail.gmail.com> <302ce8b50606230716l286599edr9b88475b76e75c28@mail.gmail.com> <449BFB51.1010208@datawire.net> <7b5ba3cd0606230751o5c9554e8kd16b13776d65d63c@mail.gmail.com> Message-ID: <449C0182.5070808@datawire.net> > audit(1151073510.912:1650): avc: denied { read } for pid=7942 > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > audit(1151073601.054:1651): avc: denied { read } for pid=7999 > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > audit(1151073696.660:1652): avc: denied { read } for pid=8037 > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > audit(1151073787.393:1653): avc: denied { read } for pid=8067 > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > audit(1151073877.523:1654): avc: denied { read } for pid=8108 > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > audit(1151073967.653:1655): avc: denied { read } for pid=8203 > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > scontext=root:system_r:httpd_sys_script_t:s0 > tcontext=root:object_r:var_log_t:s0 tclass=file > > what's the context on /var/log/nagios... I am no expert but it looks like status.cgi is not allowed (by SELinux) to read the objects.cache --Chris Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris.stankaitis at datawire.net Fri Jun 23 17:18:28 2006 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Fri, 23 Jun 2006 11:18:28 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <7b5ba3cd0606230802ya0981b1x58b7546489b59f16@mail.gmail.com> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> <302ce8b50606230509k4f0d89aah29df93c94a2262c7@mail.gmail.com> <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> <302ce8b50606230604w619fc449wd0c2c620b5b7e9c8@mail.gmail.com> <7b5ba3cd0606230644o775c45b3jfe262e105e45a0c4@mail.gmail.com> <302ce8b50606230716l286599edr9b88475b76e75c28@mail.gmail.com> <449BFB51.1010208@datawire.net> <7b5ba3cd0606230751o5c9554e8kd16b13776d65d63c@mail.gmail.com> <449C0182.5070808@datawire.net> <7b5ba3cd0606230802ya0981b1x58b7546489b59f16@mail.gmail.com> Message-ID: <449C0644.8030504@datawire.net> Miguel Fernandes wrote: > > These are the results: > > [root at localhost nagios]# ls --context /var/log/nagios/ > drwxr-xr-x nagios nagios system_u:object_r:var_log_t archives > -rw-rw-r-- nagios nagios root:object_r:var_log_t comments.dat > -rw-rw-r-- nagios nagios root:object_r:var_log_t downtime.dat > -rw-r--r-- nagios nagios root:object_r:var_log_t nagios.log > -rw-r--r-- nagios nagios root:object_r:var_log_t objects.cache > -rw------- nagios nagios root:object_r:var_log_t > retention.dat > -rw-rw-r-- nagios nagios root:object_r:var_log_t status.dat > > > MFC > That seems to be it.. the webserver cannot read the objects.cache file. try changing the context on it to httpd_sys_content_t.... if for some reason if it or any other log needs RW access (like the comments.dat or downtime.dat etc) it may need httpd_sys_script_rw_t context.. you'll have to do some trial and error to get it just right but it should get you going. --Chris Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From esmiguelfc at gmail.com Fri Jun 23 17:27:51 2006 From: esmiguelfc at gmail.com (Miguel Fernandes) Date: Fri, 23 Jun 2006 11:27:51 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <449C0644.8030504@datawire.net> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> <302ce8b50606230604w619fc449wd0c2c620b5b7e9c8@mail.gmail.com> <7b5ba3cd0606230644o775c45b3jfe262e105e45a0c4@mail.gmail.com> <302ce8b50606230716l286599edr9b88475b76e75c28@mail.gmail.com> <449BFB51.1010208@datawire.net> <7b5ba3cd0606230751o5c9554e8kd16b13776d65d63c@mail.gmail.com> <449C0182.5070808@datawire.net> <7b5ba3cd0606230802ya0981b1x58b7546489b59f16@mail.gmail.com> <449C0644.8030504@datawire.net> Message-ID: <7b5ba3cd0606230827t26577ccey7a89f6e5f6f04a16@mail.gmail.com> It worked! I ran the following command: chcon -R system_u:object_r:httpd_sys_script_rw_t /var/log/nagios/ And it's working fine now. Thank you Chris and Jim for your help! MFC On 6/23/06, Chris Stankaitis wrote: > > Miguel Fernandes wrote: > > > > These are the results: > > > > [root at localhost nagios]# ls --context /var/log/nagios/ > > drwxr-xr-x nagios nagios system_u:object_r:var_log_t archives > > -rw-rw-r-- nagios nagios root:object_r:var_log_t > comments.dat > > -rw-rw-r-- nagios nagios root:object_r:var_log_t > downtime.dat > > -rw-r--r-- nagios nagios root:object_r:var_log_t > nagios.log > > -rw-r--r-- nagios nagios root:object_r:var_log_t > objects.cache > > -rw------- nagios nagios root:object_r:var_log_t > > retention.dat > > -rw-rw-r-- nagios nagios root:object_r:var_log_t > status.dat > > > > > > MFC > > > > That seems to be it.. the webserver cannot read the objects.cache file. > try changing the context on it to httpd_sys_content_t.... if for some > reason if it or any other log needs RW access (like the comments.dat or > downtime.dat etc) it may need httpd_sys_script_rw_t context.. you'll > have to do some trial and error to get it just right but it should get > you going. > > --Chris > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From esmiguelfc at gmail.com Fri Jun 23 17:29:35 2006 From: esmiguelfc at gmail.com (Miguel Fernandes) Date: Fri, 23 Jun 2006 11:29:35 -0400 Subject: SPAM Possible: Re: SELinux blocking nagios' cgis on FC5 In-Reply-To: <000201c696d9$36f0d3e0$a95a0a0a@yonglaptop> References: <449C0182.5070808@datawire.net> <000201c696d9$36f0d3e0$a95a0a0a@yonglaptop> Message-ID: <7b5ba3cd0606230829s1603028fjc032e7df0b4d2752@mail.gmail.com> Thank you Yong Lee, That's exactly the command that solved the problem. MFC On 6/23/06, Yong Lee wrote: > > Use the command : > > ls -laZ to check on the context of the file (probably > /var/log/nagios/objects.cache > > I've got mine set to : user_u:object_r:httpd_sys_content_t > > you can set it using : > > chcon user_u:object_r:httpd_sys_content_t > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Chris > Stankaitis > Sent: June 23, 2006 7:58 AM > To: Miguel Fernandes > Cc: nagios-users at lists.sourceforge.net > Subject: SPAM Possible: Re: [Nagios-users] SELinux blocking nagios' cgis > on > FC5 > > SPAM: -------------------- Anti-Spam Report ---------------------- > SPAM: > SPAM: YES, score=8.8 threshold=7.2 > SPAM: > SPAM: Hit! DCC ( 0.0 pts) [Distributed Checksum Score] > SPAM: Hit! REFERENCES ( -0.2 pts)['References' matched '/.+/'] > SPAM: Hit! SPFFAIL ( 9.0 pts)['Received-SPF' matched '/^fail /'] > SPAM: ----------------- End of Anti-Spam Report ------------------- > > > > audit(1151073510.912:1650): avc: denied { read } for pid=7942 > > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > > scontext=root:system_r:httpd_sys_script_t:s0 > > tcontext=root:object_r:var_log_t:s0 tclass=file > > audit(1151073601.054:1651): avc: denied { read } for pid=7999 > > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > > scontext=root:system_r:httpd_sys_script_t:s0 > > tcontext=root:object_r:var_log_t:s0 tclass=file > > audit(1151073696.660:1652): avc: denied { read } for pid=8037 > > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > > scontext=root:system_r:httpd_sys_script_t:s0 > > tcontext=root:object_r:var_log_t:s0 tclass=file > > audit(1151073787.393:1653): avc: denied { read } for pid=8067 > > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > > scontext=root:system_r:httpd_sys_script_t:s0 > > tcontext=root:object_r:var_log_t:s0 tclass=file > > audit(1151073877.523:1654): avc: denied { read } for pid=8108 > > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > > scontext=root:system_r:httpd_sys_script_t:s0 > > tcontext=root:object_r:var_log_t:s0 tclass=file > > audit(1151073967.653:1655): avc: denied { read } for pid=8203 > > comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630 > > scontext=root:system_r:httpd_sys_script_t:s0 > > tcontext=root:object_r:var_log_t:s0 tclass=file > > > > > > what's the context on /var/log/nagios... I am no expert but it looks > like status.cgi is not allowed (by SELinux) to read the objects.cache > > --Chris > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris.stankaitis at datawire.net Fri Jun 23 17:38:46 2006 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Fri, 23 Jun 2006 11:38:46 -0400 Subject: SELinux blocking nagios' cgis on FC5 In-Reply-To: <7b5ba3cd0606230827t26577ccey7a89f6e5f6f04a16@mail.gmail.com> References: <7b5ba3cd0606230438s243a936g678a8e138a8a4580@mail.gmail.com> <7b5ba3cd0606230544w537bc440ja201161d961f4019@mail.gmail.com> <302ce8b50606230604w619fc449wd0c2c620b5b7e9c8@mail.gmail.com> <7b5ba3cd0606230644o775c45b3jfe262e105e45a0c4@mail.gmail.com> <302ce8b50606230716l286599edr9b88475b76e75c28@mail.gmail.com> <449BFB51.1010208@datawire.net> <7b5ba3cd0606230751o5c9554e8kd16b13776d65d63c@mail.gmail.com> <449C0182.5070808@datawire.net> <7b5ba3cd0606230802ya0981b1x58b7546489b59f16@mail.gmail.com> <449C0644.8030504@datawire.net> <7b5ba3cd0606230827t26577ccey7a89f6e5f6f04a16@mail.gmail.com> Message-ID: <449C0B06.3020704@datawire.net> Miguel Fernandes wrote: > It worked! > > I ran the following command: > > chcon -R system_u:object_r:httpd_sys_script_rw_t /var/log/nagios/ > > > And it's working fine now. Thank you Chris and Jim for your help! > > MFC > Glad to be of help... Just keep in mind that you have now given the webserver full RW access to /var/log/nagios... From a security perspective, and as I mentioned before you could start with httpd_sys_content_t context and only give RW access to the specific log files that need it. That will take some work to get right and you could very well end up in the same spot with the entire dir needing RW access. Regardless I am happy your up and running. --Chris Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fred at derf.nl Fri Jun 23 17:45:15 2006 From: fred at derf.nl (Friedrich Clausen) Date: Fri, 23 Jun 2006 17:45:15 +0200 Subject: Further differentiating between Acknowledged and Un-acknowledged problems In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB7903BC7CDA@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB7903BC7CDA@MAILBOXSEVEN.home.ku.edu> Message-ID: <449C0C8B.1060602@derf.nl> Thanks! That works, how did you do that BTW? Fred. Sloane, Robert Raymond wrote: > try the following URL in place of the current "Service Problems" in > side.html: > > http://nagioshost/nagios/cgi-bin/status.cgi?host=all&type=detail&service > statustypes=61&serviceprops=10&hostprops=10 > > you may have to play with the arguments to get exactly what you want. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From msugano at uolinc.com Fri Jun 23 18:01:07 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 23 Jun 2006 13:01:07 -0300 Subject: Hibrid configuration, active and passive (syslog-ng) and forkedprocesses not terminating Message-ID: <1151078467.17751.16.camel@localhost> Hello list. Is there someone having problems with Nagios 2.4 forking processes that simply does not terminate in a hibrid monitoring configuration of some active checks and a lot of passive checks? Nagios 2.4, running on SuSE9.3. Passive checks is coming from syslog-ng, from about 200 hosts. And for each host, there is about 3 active checks. It seems that when Nagios forks to execute an active check, the forked process did not terminate itself. Therefore it begins to double submitting check results to our central Nagios, and messing up with services statuses becoming staled. Someone have any advice on how to detect forked Nagios processes that will mess with central Nagios freshness service checking? Just grepping -v `head -n 1 nagiosl.lock` file isn't enough, as some forked process might be actively checking something. But, if that process keep itself running, it should be killed. Still don't know why the forked process did not terminate itself, but i think it might have something to do with syslog-ng, but can't tell for sure. TIA, Marcel AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Fri Jun 23 17:55:49 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 23 Jun 2006 10:55:49 -0500 Subject: Further differentiating between Acknowledged and Un-acknowledged problems In-Reply-To: <449C0C8B.1060602@derf.nl> References: <9632C3DAB675864EB0A9B7724D85DB7903BC7CDA@MAILBOXSEVEN.home.ku.edu> <449C0C8B.1060602@derf.nl> Message-ID: <1151078149.8722.14.camel@slowbox> On Fri, 2006-06-23 at 17:45 +0200, Friedrich Clausen wrote: > Thanks! > > That works, how did you do that BTW? read the source - there are all sorts of undocumented filters. > Fred. > > Sloane, Robert Raymond wrote: > > try the following URL in place of the current "Service Problems" in > > side.html: > > > > http://nagioshost/nagios/cgi-bin/status.cgi?host=all&type=detail&service > > statustypes=61&serviceprops=10&hostprops=10 > > > > you may have to play with the arguments to get exactly what you want. > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rab at walkermartyn.co.uk Fri Jun 23 17:55:55 2006 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Fri, 23 Jun 2006 16:55:55 +0100 Subject: Switch Port Monitoring Message-ID: Anyone like to share how they monitor switch ports? I have a series of switches that I would like to monitor the ports for. However I would only want to see the overall switch as a host and the switch ports as host services. Is this possible, anyone know how to do this? Regards, Rab. =========================================================== Robert Jackson Phone: +44 (0) 141 332 7999 Software Engineer Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk =========================================================== ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk **************************************************************** Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mkoponick at redhawk.info Fri Jun 23 18:03:01 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Fri, 23 Jun 2006 09:03:01 -0700 Subject: Switch Port Monitoring In-Reply-To: References: Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4440076@raptor.redhawk.info> Robert, What I typically do is monitoring the switch with a PING, the I setup services group(s). I have many switches that I watch gig0/1 as an example as this is the port that interconnects all the other switches. I have been grouping services groups based on the port that I monitor, and then add the hosts/hostsgroups. If you want to view ALL the ports, you can do that as well. Check out the "check_snmp_int" command. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Jackson Sent: Friday, June 23, 2006 8:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Switch Port Monitoring Anyone like to share how they monitor switch ports? I have a series of switches that I would like to monitor the ports for. However I would only want to see the overall switch as a host and the switch ports as host services. Is this possible, anyone know how to do this? Regards, Rab. =========================================================== Robert Jackson Phone: +44 (0) 141 332 7999 Software Engineer Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk =========================================================== ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk **************************************************************** Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rab at walkermartyn.co.uk Fri Jun 23 18:03:24 2006 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Fri, 23 Jun 2006 17:03:24 +0100 Subject: rab@walkermartyn.co.uk - Email found in subject - RE: Switch Port Monitoring Message-ID: Mike, Many thanks for your feedback. Regards, Rab. =========================================================== Robert Jackson Phone: +44 (0) 141 332 7999 Software Engineer Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk =========================================================== -----Original Message----- From: Mike Koponick [mailto:mkoponick at redhawk.info] Sent: Friday June 2006 17:03 To: Robert Jackson; nagios-users at lists.sourceforge.net Subject: rab at walkermartyn.co.uk - Email found in subject - RE: [Nagios-users] Switch Port Monitoring Robert, What I typically do is monitoring the switch with a PING, the I setup services group(s). I have many switches that I watch gig0/1 as an example as this is the port that interconnects all the other switches. I have been grouping services groups based on the port that I monitor, and then add the hosts/hostsgroups. If you want to view ALL the ports, you can do that as well. Check out the "check_snmp_int" command. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Jackson Sent: Friday, June 23, 2006 8:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Switch Port Monitoring Anyone like to share how they monitor switch ports? I have a series of switches that I would like to monitor the ports for. However I would only want to see the overall switch as a host and the switch ports as host services. Is this possible, anyone know how to do this? Regards, Rab. =========================================================== Robert Jackson Phone: +44 (0) 141 332 7999 Software Engineer Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk =========================================================== ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk **************************************************************** Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Fri Jun 23 18:05:51 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 23 Jun 2006 11:05:51 -0500 Subject: Switch Port Monitoring In-Reply-To: References: Message-ID: <1151078751.8722.17.camel@slowbox> On Fri, 2006-06-23 at 16:55 +0100, Robert Jackson wrote: > Anyone like to share how they monitor switch ports? > > I have a series of switches that I would like to monitor the ports for. > However > I would only want to see the overall switch as a host and the switch > ports as > host services. > > Is this possible, anyone know how to do this? I use MRTG (which has the lovely benefit of exciting graphs) and then I wrote a plugin that checks all of a host's RRD files (created by MRTG) sequentially and compares them against a threshold. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From msugano at uolinc.com Fri Jun 23 18:36:12 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 23 Jun 2006 13:36:12 -0300 Subject: Hibrid configuration, active and passive(syslog-ng) and forkedprocesses not terminating In-Reply-To: <1151078467.17751.16.camel@localhost> References: <1151078467.17751.16.camel@localhost> Message-ID: <1151080572.17751.24.camel@localhost> Sorry about this, but... On Fri, 2006-06-23 at 13:01 -0300, Marcel Mitsuto Fucatu Sugano wrote: > Is there someone having problems with Nagios 2.4 forking processes that > simply does not terminate in a hibrid monitoring configuration of some > active checks and a lot of passive checks? > > It seems that when Nagios forks to execute an active check, the forked > process did not terminate itself. Therefore it begins to double > submitting check results to our central Nagios, and messing up with > services statuses becoming staled. > > Someone have any advice on how to detect forked Nagios processes that > will mess with central Nagios freshness service checking? > > Just grepping -v `head -n 1 nagiosl.lock` file isn't enough, as some > forked process might be actively checking something. But, if that > process keep itself running, it should be killed. Still don't know why > the forked process did not terminate itself, but i think it might have > something to do with syslog-ng, but can't tell for sure. This is what i'm talking about: nagios 2223 1 2 13:01 ? 00:00:37 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 28074 1 0 13:21 ? 00:00:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 30447 1 0 13:22 ? 00:00:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 30592 1 0 13:22 ? 00:00:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 30865 2223 0 13:22 ? 00:00:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 30867 30865 0 13:22 ? 00:00:00 /bin/sh /opt/nagios-2.4/libexec/submit_check_result sensei4-b Cron Daemon OK proc=cron n_procs=1 threads=1 mem_size=240 mem_vsize=1736 mem_r nagios 30868 30867 0 13:22 ? 00:00:00 /bin/sh /opt/nagios-2.4/libexec/submit_check_result sensei4-b Cron Daemon OK proc=cron n_procs=1 threads=1 mem_size=240 mem_vsize=1736 mem_r nagios 30869 30867 0 13:22 ? 00:00:00 /bin/sh /opt/nagios-2.4/libexec/submit_check_result sensei4-b Cron Daemon OK proc=cron n_procs=1 threads=1 mem_size=240 mem_vsize=1736 mem_r [some other time] nagios 2223 1 3 13:01 ? 00:00:42 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15338 1 0 13:25 ? 00:00:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15661 2223 0 13:25 ? 00:00:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15663 15661 0 13:25 ? 00:00:00 /bin/sh /opt/nagios-2.4/libexec/submit_check_result sensei18-b Disk Space OK (/ 14 90)(/boot 36 90)(/export 7 90)(/opt 46 90)(/usr 25 90)(/v nagios 15664 15663 0 13:25 ? 00:00:00 /bin/sh /opt/nagios-2.4/libexec/submit_check_result sensei18-b Disk Space OK (/ 14 90)(/boot 36 90)(/export 7 90)(/opt 46 90)(/usr 25 90)(/v nagios 15665 15663 0 13:25 ? 00:00:00 /bin/sh /opt/nagios-2.4/libexec/submit_check_result sensei18-b Disk Space OK (/ 14 90)(/boot 36 90)(/export 7 90)(/opt 46 90)(/usr 25 90)(/v [one minute after a restart] nagios 373 1 5 13:27 ? 00:00:01 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 2675 373 0 13:28 ? 00:00:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 2676 2675 0 13:28 ? 00:00:00 /bin/sh /opt/nagios-2.4/libexec/submit_check_result shogun96-c PING OK OK - 172.27.248.195: rta 1.849ms, lost 0% nagios 2679 2676 0 13:28 ? 00:00:00 /bin/sh /opt/nagios-2.4/libexec/submit_check_result shogun96-c PING OK OK - 172.27.248.195: rta 1.849ms, lost 0% As you can see, there is something very strange. The two first, are messages coming from syslog-ng, and the third is active checking. Stracing pids did not lead to anything conclusive, as each process is acting within their processing loop. Will try to recompile Nagios, from the latest cvs. TIA. AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ravikmrs at yahoo.com Fri Jun 23 18:42:57 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Fri, 23 Jun 2006 09:42:57 -0700 (PDT) Subject: Nagios update 2.4 Message-ID: <20060623164258.67759.qmail@web53901.mail.yahoo.com> I want to upgrade current nagios version 2.0 to 2.4. Please suggest which download would easy to install on Linux platform. Nagios 2.4 05/31/2006 Tarball The most recent stable release of Nagios (Changelog). Tarball MD5 Sum: bb8f0106dc7f282c239f54db1f308445 RPMs (created by Dag Wieers) are available for Red Hat Linux, Fedora and Red Hat Enterprise. RPM Tarball or RPM? Please let me know if anyone have installed new one and having issue during upgrade? Do some one have documentation "how to upgrade 2.4 from 2.0 version" like that? Thanks --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1?/min. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Fri Jun 23 18:48:52 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 23 Jun 2006 12:48:52 -0400 Subject: Nagios update 2.4 In-Reply-To: <20060623164258.67759.qmail@web53901.mail.yahoo.com> References: <20060623164258.67759.qmail@web53901.mail.yahoo.com> Message-ID: > I want to upgrade current nagios version 2.0 to 2.4. > Please suggest which download would easy to install on Linux platform. > Tarball or RPM? If you're not sure if a tarball or RPM is easier, you should definitely go with the RPM. :) Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mkoponick at redhawk.info Fri Jun 23 18:51:34 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Fri, 23 Jun 2006 09:51:34 -0700 Subject: Distributed Monitoring - Redundancy Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4440078@raptor.redhawk.info> Hello Everyone, I'm running Nagios is a distributed environment which is working very well. I would like to add a little redundancy to the picture now that I have everything working. ;-) Since I'm running a distributed environment, how can I add a secondary "Central-Server" to the picture? I'm not worried about the sensors or remote Nagios servers, just the central portion of the network. The problems that I see are as follows: The remote servers send data via NSCA to the central server. Would they also have to send a second connection to the secondary server? NDO now sends data to my MySQL server, will the secondary server also need to send data? This opens a can of worms in terms of duplicate data, etc. It seems that a secondary "cold spare" might be the best solution. Then there are maintenance issues with keeping software up to data, etc. So many problems, so little beer. Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mkoponick at redhawk.info Fri Jun 23 18:55:20 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Fri, 23 Jun 2006 09:55:20 -0700 Subject: Nagios update 2.4 In-Reply-To: <20060623164258.67759.qmail@web53901.mail.yahoo.com> References: <20060623164258.67759.qmail@web53901.mail.yahoo.com> Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4440079@raptor.redhawk.info> Ravi, I have installed new, and performed an upgrade recently. The install new (tar ball and RPM) went fairly smooth. The main problem I had was that my configuration tool places the files in a different place, so I needed to link the nagios.cfg file, which wasn't a big deal. The upgrade was also fairly smooth, most the issues that I had again, were with the nagios.cfg file, only because of my environment. Keep in mind that I don't use the CGI's and am in a distributed environment. Thanks! Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ravi Kumar Sent: Friday, June 23, 2006 9:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios update 2.4 I want to upgrade current nagios version 2.0 to 2.4. Please suggest which download would easy to install on Linux platform. Nagios 2.4 05/31/2006 Tarball Download The most recent stable release of Nagios (Changelog ). Tarball MD5 Sum: bb8f0106dc7f282c239f54db1f308445 RPMs (created by Dag Wieers) are available for Red Hat Linux, Fedora and Red Hat Enterprise. RPM Tarball or RPM? Please let me know if anyone have installed new one and having issue during upgrade? Do some one have documentation "how to upgrade 2.4 from 2.0 version" like that? Thanks ________________________________ Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1?/min. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btmanmeh at verizon.net Fri Jun 23 19:11:22 2006 From: btmanmeh at verizon.net (Max H.) Date: Fri, 23 Jun 2006 13:11:22 -0400 Subject: Nagios update 2.4 In-Reply-To: <20060623164258.67759.qmail@web53901.mail.yahoo.com> References: <20060623164258.67759.qmail@web53901.mail.yahoo.com> Message-ID: <449C20BA.4020300@verizon.net> Ravi Kumar wrote: > > Tarball or RPM? I recently did an upgrage with RPM's from Dag on a CentOS 4.3 machine. I was running version 1.2 of Nagios and I simply upgraded the RPM's to version 2.4. I had little trouble doing so. About the only problem I had was some Macro definitions had changed, and I believe where they allow you to call contacts in my one hostgroup file had to be removed and placed in the host file. Other than that, I had no problems. You should have less problems since you're going from 2.0 to 2.4. Good luck! Max Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 23 19:50:21 2006 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jun 2006 12:50:21 -0500 Subject: Nagios update 2.4 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick > Sent: Friday, June 23, 2006 11:49 AM > To: Ravi Kumar; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios update 2.4 > > > I want to upgrade current nagios version 2.0 to 2.4. > > Please suggest which download would easy to install on Linux platform. > > Tarball or RPM? > > If you're not sure if a tarball or RPM is easier, you should definitely > go with the RPM. :) Poor advice if his current installation is not RPM. All things important are located in completely different places. A more suitable answer might be that the easiest route is to determine how nagios 2.0 was installed and do that again ;) -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gena.gulchin at gmail.com Fri Jun 23 19:52:45 2006 From: gena.gulchin at gmail.com (Gena Gulchin) Date: Fri, 23 Jun 2006 10:52:45 -0700 Subject: FreeBSD nagios problem Message-ID: <6d6234dc0606231052y586e48bbu96792ef4590f0b3b@mail.gmail.com> Hello, I have a FreeBSD (6.0) server, Nagios 2.4 and nagiosgraph. After approximately 6 hours I get "Out of memory during request for 1228 bytes, total sbrk() is 532375552 bytes!" I have 1Gb memory on this server. I had version 2.0b3 running on a similar machine and all is fine. Any help is appreciated --gena -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 23 19:54:13 2006 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jun 2006 12:54:13 -0500 Subject: Distributed Monitoring - Redundancy Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mike Koponick > Sent: Friday, June 23, 2006 11:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Distributed Monitoring - Redundancy > > Hello Everyone, > > I'm running Nagios is a distributed environment which is working very > well. I would like to add a little redundancy to the picture now that I > have everything working. ;-) > > The remote servers send data via NSCA to the central server. Would they > also have to send a second connection to the secondary server? Yup. Easy enough to add additional calls to send_nsca in submit_check_result ala -- /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca host1 -p 5668 -c /usr/local/nagios/etc/send_nsca.cfg /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca host2 -p 5668 -c /usr/local/nagios/etc/send_nsca.cfg /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca host2 -p 5669 -c /usr/local/nagios/etc/send_nsca.cfg (yes, I send results to 3 different Nagios installations) > NDO now sends data to my MySQL server, will the secondary server also need > to send data? This opens a can of worms in terms of duplicate data, etc. I don't use NDO yet but I can imagine that you would experience duplication of data unless you had a different DB for your secondary host and reconciled them some other way. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 23 19:56:29 2006 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jun 2006 12:56:29 -0500 Subject: FreeBSD nagios problem Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gena Gulchin > Sent: Friday, June 23, 2006 12:53 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FreeBSD nagios problem > > Hello, > > I have a FreeBSD (6.0) server, Nagios 2.4 and nagiosgraph. After > approximately 6 hours I get "Out of memory during request for 1228 bytes, > total sbrk() is 532375552 bytes!" I have 1Gb memory on this server. I had > version 2.0b3 running on a similar machine and all is fine. > > Any help is appreciated What's using the memory? -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 23 19:59:06 2006 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jun 2006 12:59:06 -0500 Subject: SELinux FAQ Message-ID: Is anybody familiar with the SElinux policies necessary to allow nagios to work properly willing to submit a new FAQ with that information? http://www.nagios.org/faqs/addfaq.php Thanks! -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thoanluutran at yahoo.com Fri Jun 23 20:39:15 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Fri, 23 Jun 2006 11:39:15 -0700 (PDT) Subject: CGI and Status Map In-Reply-To: <6d6234dc0606231052y586e48bbu96792ef4590f0b3b@mail.gmail.com> References: <6d6234dc0606231052y586e48bbu96792ef4590f0b3b@mail.gmail.com> Message-ID: <20060623183915.97598.qmail@web60519.mail.yahoo.com> Dear All, I am new to Nagios and I was able to get Nagios up and running on SuSE and monitor all things i wanted. However, I can't get my Status Map to display.. When I click on Status Map link, it gives me a broken link. and I did run "make cgi" while installing and under Nagios_HOME/sbin, I see the following files: cmd.cgi history.cgi showlog.cgi statuswrl.cgi .. config.cgi notifications.cgi status.cgi summary.cgi avail.cgi extinfo.cgi outages.cgi statuswml.cgi tac.cgi What did I do wrong? or What am I missing? Best regards, Tom Tran EESImed. Gena Gulchin wrote: Hello, I have a FreeBSD (6.0) server, Nagios 2.4 and nagiosgraph. After approximately 6 hours I get "Out of memory during request for 1228 bytes, total sbrk() is 532375552 bytes!" I have 1Gb memory on this server. I had version 2.0b3 running on a similar machine and all is fine. Any help is appreciated --gena Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ Nagios-users mailing list Nagios-users at 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 --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at its-lehmann.de Fri Jun 23 20:53:32 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 23 Jun 2006 20:53:32 +0200 Subject: CGI and Status Map In-Reply-To: <20060623183915.97598.qmail@web60519.mail.yahoo.com> References: <20060623183915.97598.qmail@web60519.mail.yahoo.com> Message-ID: <449C38AC.5000205@its-lehmann.de> This should have been a new thread. If it was, I could tell you that the status map cgi is not built because the prerequisite gd package was not available. In the manual it is stated that you need to make sure you have the gd development files installed before you start the installation of nagios itself. Arno On 6/23/2006 8:39 PM, Tom Tran wrote: > Dear All, > > I am new to Nagios and I was able to get Nagios up and running on SuSE > and monitor all things i wanted. However, I can't get my Status Map to > display.. When I click on Status Map link, it gives me a broken link. > > and I did run "make cgi" while installing and under Nagios_HOME/sbin, > I see the following files: > > cmd.cgi history.cgi showlog.cgi statuswrl.cgi > .. config.cgi notifications.cgi status.cgi summary.cgi > avail.cgi extinfo.cgi outages.cgi statuswml.cgi tac.cgi > > What did I do wrong? or What am I missing? > > Best regards, > Tom Tran > EESImed. > > > */Gena Gulchin /* wrote: > > Hello, > > I have a FreeBSD (6.0) server, Nagios 2.4 and nagiosgraph. After > approximately 6 hours I get "Out of memory during request for 1228 > bytes, total sbrk() is 532375552 bytes!" I have 1Gb memory on this > server. I had version 2.0b3 running on a similar machine and all is > fine. > > Any help is appreciated > --gena > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call > rates. > > > > ------------------------------------------------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thoanluutran at yahoo.com Fri Jun 23 21:17:44 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Fri, 23 Jun 2006 12:17:44 -0700 (PDT) Subject: CGI and Status Map In-Reply-To: <449C38AC.5000205@its-lehmann.de> References: <449C38AC.5000205@its-lehmann.de> Message-ID: <20060623191744.75788.qmail@web60524.mail.yahoo.com> Hello Arno, Can you give me some more details about gd please? or send me the link for the doc please. If i install gd package now, is it too late? Do i have to remove and reinstall Nagios? Best regards, Tom Tran Arno Lehmann wrote: This should have been a new thread. If it was, I could tell you that the status map cgi is not built because the prerequisite gd package was not available. In the manual it is stated that you need to make sure you have the gd development files installed before you start the installation of nagios itself. Arno On 6/23/2006 8:39 PM, Tom Tran wrote: > Dear All, > > I am new to Nagios and I was able to get Nagios up and running on SuSE > and monitor all things i wanted. However, I can't get my Status Map to > display.. When I click on Status Map link, it gives me a broken link. > > and I did run "make cgi" while installing and under Nagios_HOME/sbin, > I see the following files: > > cmd.cgi history.cgi showlog.cgi statuswrl.cgi > .. config.cgi notifications.cgi status.cgi summary.cgi > avail.cgi extinfo.cgi outages.cgi statuswml.cgi tac.cgi > > What did I do wrong? or What am I missing? > > Best regards, > Tom Tran > EESImed. > > > */Gena Gulchin /* wrote: > > Hello, > > I have a FreeBSD (6.0) server, Nagios 2.4 and nagiosgraph. After > approximately 6 hours I get "Out of memory during request for 1228 > bytes, total sbrk() is 532375552 bytes!" I have 1Gb memory on this > server. I had version 2.0b3 running on a similar machine and all is > fine. > > Any help is appreciated > --gena > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call > rates. > > > > ------------------------------------------------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 23 21:18:31 2006 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jun 2006 14:18:31 -0500 Subject: Further differentiating between Acknowledged and Un-acknowledged problems Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Friedrich Clausen > Sent: Friday, June 23, 2006 9:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Further differentiating between Acknowledged and > Un-acknowledged problems > > Hi, > > I hope my subject is not confusing. A little background first - We have > a NOC that monitors that status of various devices and services, through > the "service problems" section of the CGI. > > I received a request to make acknowledged problems "go away" from the > "service problems" section. I only way to could see to do this is to > modify the CGI's. So there could be couple of side navigation bar link > changes, eg. "All Service Problems", "Unacknowledged Service Problems" > and "Acknowledged Service Problems". This is exactly our workflow and no source modifications are needed. It's just a matter of constructing a URL that has the necessary flags. You can go to the tactical overview and click on the 'xx Unhandled Problems' link to only show unhandled problems. To show both Unhandled Critical and Warning Service issues you could use a link like the following that combines both views -- http://your-nagios-host/nagios/cgi-bin/status.cgi?host=all&type=detail&s ervicestatustypes=20&hoststatustypes=3&serviceprops=42 -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 23 21:21:25 2006 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jun 2006 14:21:25 -0500 Subject: CGI and Status Map Message-ID: It's a FAQ. Go to http://www.nagios.org. Click Support. Click FAQs. Search for statusmap. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tom Tran > Sent: Friday, June 23, 2006 2:18 PM > To: Arno Lehmann; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] CGI and Status Map > > Hello Arno, > > Can you give me some more details about gd please? or send me the link > for the doc please. > > If i install gd package now, is it too late? Do i have to remove and > reinstall Nagios? > > Best regards, > Tom Tran > > Arno Lehmann wrote: > > This should have been a new thread. > > If it was, I could tell you that the status map cgi is not built > because > the prerequisite gd package was not available. In the manual it is > stated that you need to make sure you have the gd development files > installed before you start the installation of nagios itself. > > Arno > > On 6/23/2006 8:39 PM, Tom Tran wrote: > > Dear All, > > > > I am new to Nagios and I was able to get Nagios up and running on > SuSE > > and monitor all things i wanted. However, I can't get my Status > Map to > > display.. When I click on Status Map link, it gives me a broken > link. > > > > and I did run "make cgi" while installing and under > Nagios_HOME/sbin, > > I see the following files: > > > > cmd.cgi history.cgi showlog.cgi statuswrl.cgi > > .. config.cgi notifications.cgi status.cgi summary.cgi > > avail.cgi extinfo.cgi outages.cgi statuswml.cgi tac.cgi > > > > What did I do wrong? or What am I missing? > > > > Best regards, > > Tom Tran > > EESImed. > > > > > > */Gena Gulchin /* wrote: > > > > Hello, > > > > I have a FreeBSD (6.0) server, Nagios 2.4 and nagiosgraph. After > > approximately 6 hours I get "Out of memory during request for 1228 > > bytes, total sbrk() is 532375552 bytes!" I have 1Gb memory on this > > server. I had version 2.0b3 running on a similar machine and all > is > > fine. > > > > Any help is appreciated > > --gena > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your > > job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642______________ __ > _______________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > How low will we go? Check out Yahoo! Messenger's low PC-to-Phone > call > > rates. > > > > > > > > ------------------------------------------------------------------ > ------ > > > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your > job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > ------------------------------------------------------------------ > ------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > -- > IT-Service Lehmann al at its-lehmann.de > Arno Lehmann http://www.its-lehmann.de > > > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > ________________________________ > > Do you Yahoo!? > Get on board. You're invited > draisers> to try the new Yahoo! Mail Beta. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thoanluutran at yahoo.com Fri Jun 23 21:23:48 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Fri, 23 Jun 2006 12:23:48 -0700 (PDT) Subject: CGI and Status Map In-Reply-To: References: Message-ID: <20060623192348.28789.qmail@web60513.mail.yahoo.com> Thank you very much Marc. I searched on the forums but didn't see anything. Best regards, Tom Marc Powell wrote: It's a FAQ. Go to http://www.nagios.org. Click Support. Click FAQs. Search for statusmap. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tom Tran > Sent: Friday, June 23, 2006 2:18 PM > To: Arno Lehmann; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] CGI and Status Map > > Hello Arno, > > Can you give me some more details about gd please? or send me the link > for the doc please. > > If i install gd package now, is it too late? Do i have to remove and > reinstall Nagios? > > Best regards, > Tom Tran > > Arno Lehmann wrote: > > This should have been a new thread. > > If it was, I could tell you that the status map cgi is not built > because > the prerequisite gd package was not available. In the manual it is > stated that you need to make sure you have the gd development files > installed before you start the installation of nagios itself. > > Arno > > On 6/23/2006 8:39 PM, Tom Tran wrote: > > Dear All, > > > > I am new to Nagios and I was able to get Nagios up and running on > SuSE > > and monitor all things i wanted. However, I can't get my Status > Map to > > display.. When I click on Status Map link, it gives me a broken > link. > > > > and I did run "make cgi" while installing and under > Nagios_HOME/sbin, > > I see the following files: > > > > cmd.cgi history.cgi showlog.cgi statuswrl.cgi > > .. config.cgi notifications.cgi status.cgi summary.cgi > > avail.cgi extinfo.cgi outages.cgi statuswml.cgi tac.cgi > > > > What did I do wrong? or What am I missing? > > > > Best regards, > > Tom Tran > > EESImed. > > > > > > */Gena Gulchin /* wrote: > > > > Hello, > > > > I have a FreeBSD (6.0) server, Nagios 2.4 and nagiosgraph. After > > approximately 6 hours I get "Out of memory during request for 1228 > > bytes, total sbrk() is 532375552 bytes!" I have 1Gb memory on this > > server. I had version 2.0b3 running on a similar machine and all > is > > fine. > > > > Any help is appreciated > > --gena > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your > > job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642______________ __ > _______________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > How low will we go? Check out Yahoo! Messenger's low PC-to-Phone > call > > rates. > > > > > > > > ------------------------------------------------------------------ > ------ > > > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your > job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > ------------------------------------------------------------------ > ------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > -- > IT-Service Lehmann al at its-lehmann.de > Arno Lehmann http://www.its-lehmann.de > > > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > ________________________________ > > Do you Yahoo!? > Get on board. You're invited > an > draisers> to try the new Yahoo! Mail Beta. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Fri Jun 23 21:23:55 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 23 Jun 2006 12:23:55 -0700 Subject: CGI and Status Map In-Reply-To: <20060623191744.75788.qmail@web60524.mail.yahoo.com> References: <449C38AC.5000205@its-lehmann.de> <20060623191744.75788.qmail@web60524.mail.yahoo.com> Message-ID: <20060623192355.GA29086@hermes.americas.hpqcorp.net> On Fri, 23 Jun 2006, Tom Tran wrote: > Hello Arno, > > Can you give me some more details about gd please? or send me the link for the doc please. http://www.nagios.org/faqs/ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thoanluutran at yahoo.com Fri Jun 23 22:12:26 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Fri, 23 Jun 2006 13:12:26 -0700 (PDT) Subject: CGI and Status Map In-Reply-To: <449C4948.8060901@its-lehmann.de> References: <449C4948.8060901@its-lehmann.de> Message-ID: <20060623201226.42397.qmail@web60522.mail.yahoo.com> Hi Arno, Thanks. I am sorry about that. I'm just afraid that when I am asking an "old" question it will make other people bored to receive and to read. A question may be new to new users like me but for you, you may see it 100 times already... thanks, Tom Arno Lehmann wrote: Please always reply to the list. An also, try to learn how to effectively use a mailing list. For example: No thread hijacking, give sufficient information when you ask questions, reply to the list, quote intelligently. On 6/23/2006 9:03 PM, Tom Tran wrote: > Hello Arno, > > Can you tell me a bit about gd development files or package? > > Where can i get it? or what is the RPM? The easiest thing to do is to install the package for your distribution. Since you didn't tell us which distribution you use you'll have to search yourself. Arno > Best regards, > Tom Tran > > */Arno Lehmann /* wrote: > > This should have been a new thread. > > If it was, I could tell you that the status map cgi is not built > because > the prerequisite gd package was not available. In the manual it is > stated that you need to make sure you have the gd development files > installed before you start the installation of nagios itself. > > Arno > > On 6/23/2006 8:39 PM, Tom Tran wrote: > > Dear All, > > > > I am new to Nagios and I was able to get Nagios up and running on > SuSE > > and monitor all things i wanted. However, I can't get my Status > Map to > > display.. When I click on Status Map link, it gives me a broken > link. > > > > and I did run "make cgi" while installing and under Nagios_HOME/sbin, > > I see the following files: > > > > cmd.cgi history.cgi showlog.cgi statuswrl.cgi > > .. config.cgi notifications.cgi status.cgi summary.cgi > > avail.cgi extinfo.cgi outages.cgi statuswml.cgi tac.cgi > > > > What did I do wrong? or What am I missing? > > > > Best regards, > > Tom Tran > > EESImed. > > > > > > */Gena Gulchin /* wrote: > > > > Hello, > > > > I have a FreeBSD (6.0) server, Nagios 2.4 and nagiosgraph. After > > approximately 6 hours I get "Out of memory during request for 1228 > > bytes, total sbrk() is 532375552 bytes!" I have 1Gb memory on this > > server. I had version 2.0b3 running on a similar machine and all is > > fine. > > > > Any help is appreciated > > --gena > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your > > job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone > call > > rates. > > > > > > > > > ------------------------------------------------------------------------ > > > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make > your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > -- > IT-Service Lehmann al at its-lehmann.de > Arno Lehmann http://www.its-lehmann.de > > > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > Sneak preview the all-new Yahoo.com > . It's > not radically different. Just radically better. -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de --------------------------------- Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 23 22:37:48 2006 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jun 2006 15:37:48 -0500 Subject: CGI and Status Map {Disarmed} {Fraud?} Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tom Tran > Sent: Friday, June 23, 2006 3:12 PM > To: Arno Lehmann; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] CGI and Status Map {Disarmed} {Fraud?} > > Hi Arno, > > Thanks. I am sorry about that. I'm just afraid that when I am asking an > "old" question it will make other people bored to receive and to read. A > question may be new to new users like me but for you, you may see it 100 > times already... That's why FAQs (http://www.nagios.org/faqs/) and list archives (http://news.gmane.org/gmane.network.nagios.user) exist ;) -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thoanluutran at yahoo.com Fri Jun 23 22:47:37 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Fri, 23 Jun 2006 13:47:37 -0700 (PDT) Subject: Thanks: Re: CGI and Status Map {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: <20060623204737.94489.qmail@web60520.mail.yahoo.com> Hello Marc, Thanks... I only read the online help and check the http://www.nagios-forum.co.uk/forum/ but couldn't find the answer I need. I didn't know the FAQ until now.. learning something new today. Thanks for all your helps. The only thing I missed was gd-dev. After installing it and re-configure nagios.. i can see the status map now.. Best regards, Tom Tran Marc Powell wrote: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tom Tran > Sent: Friday, June 23, 2006 3:12 PM > To: Arno Lehmann; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] CGI and Status Map {Disarmed} {Fraud?} > > Hi Arno, > > Thanks. I am sorry about that. I'm just afraid that when I am asking an > "old" question it will make other people bored to receive and to read. A > question may be new to new users like me but for you, you may see it 100 > times already... That's why FAQs (http://www.nagios.org/faqs/) and list archives (http://news.gmane.org/gmane.network.nagios.user) exist ;) -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 --------------------------------- Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 23 22:53:57 2006 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jun 2006 15:53:57 -0500 Subject: Thanks: Re: CGI and Status Map Message-ID: > -----Original Message----- > From: Tom Tran [mailto:thoanluutran at yahoo.com] > Sent: Friday, June 23, 2006 3:48 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Thanks: Re: [Nagios-users] CGI and Status Map {Disarmed} {Fraud?} > {Disarmed} {Fraud?} > > Hello Marc, > > Thanks... I only read the online help and check the http://www.nagios- > forum.co.uk/forum/ but couldn't find the answer I need. I didn't know the > FAQ until now.. learning something new today. > > > Thanks for all your helps. The only thing I missed was gd-dev. > After installing it and re-configure nagios.. i can see the status map > now.. Sure thing. As with any support community, we like helping those who are able to help themselves the most ;) -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rns3 at psu.edu Sat Jun 24 02:59:11 2006 From: rns3 at psu.edu (Robert Snyder) Date: Fri, 23 Jun 2006 20:59:11 -0400 Subject: Access group of hosts per user In-Reply-To: <449BAD28.7070004@zertia.es> References: <449BAD28.7070004@zertia.es> Message-ID: <20060624005911.17300@studentservices.outreach.psu.edu> On Fri, Jun 23, 2006, David Latorre wrote: >Hello. > >We are starting using Nagios and it looks great but we are wondering if >there is any way to have users access only to a determined group of >hosts/services, instead of the whole. You can configure authorization/authentication, as Marc notes in his post. Another approach, that I am in the middle of setting up, is the Nagios sidebar add-on that is outlined on Mark Duling's "Monitoring Network Services with Nagios and Mac OS X" site. While Mark's site focuses on getting Nagios working on a Mac, the sidebar tool is cross platform. If you go to and scroll down about 2/3 of the way, you will find a section called "Display Hosts by Hostgroup" that include links to the script and configuration files you will need to make this work. Here is Mark's description of the add-on: "If you prefer to display hosts organized by a logical grouping, there is an add-on to do just that. The nagside add-on organizes your hosts by higher level groups called domains in the Nagios sidebar (see this example ). This addition does not modify the Nagios object group configuration in any way; it is "merely" for visual elegance and efficiency." Once the scripts are in place, you edit /opt/local/sbin/nagios/side.pl to set up the domains and then which domains, which users can see. The benefit of this approach is that you can separate being a contact for Host/Service from which hosts you can see. You can also group hosts in an order that makes sense to you. As always, your milage may very. I am recovering from some surgery, and have not had a chance to put this into practice. Perhaps someone on the list knows a reason not to use this approach. If you do end up using it, please let me know how it works out for you. Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hannu.liljemark at gstdomain.net Sat Jun 24 11:47:37 2006 From: hannu.liljemark at gstdomain.net (Hannu Liljemark) Date: Sat, 24 Jun 2006 12:47:37 +0300 Subject: nagios and Dell DRAC In-Reply-To: <00fc01c68fae$8a4cac80$0202fea9@rese0001> References: <00fc01c68fae$8a4cac80$0202fea9@rese0001> Message-ID: <20060624094737.GA7812@sigourney> On Wed, Jun 14, 2006 at 02:32:03PM +0200, Sebastien Cantos wrote: > I would like to monitor my DELL hardware using the snmptrap feature in the > DRAC. I?ve seen documentation on how to make snmptrapd asynchronously notify > nagios when a trap is received. > > I?m just a little bit confused with the DELL-DRAC-MIB and I would like to > know if someone has done that before to help me understand which OID I have > to monitor. http://www.samag.com/documents/s=9559/sam0503g/ and check out some older posts like https://sourceforge.net/mailarchive/message.php?msg_id=17028021 https://sourceforge.net/mailarchive/message.php?msg_id=17028904 With those you should have a nice snmptrapd+snmptt+sec+nagios setup that will scale to handle more than just DRAC's traps if you want. -- (Mr.) Hannu Liljemark | Appelsiini Finland Oy | http://appelsiini.fi Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hannu.liljemark at gstdomain.net Sat Jun 24 12:12:56 2006 From: hannu.liljemark at gstdomain.net (Hannu Liljemark) Date: Sat, 24 Jun 2006 13:12:56 +0300 Subject: How to report the number of RDP session on a W2K3 Terminal Server In-Reply-To: <449801C2.5050704@ultra-secure.de> References: <449801C2.5050704@ultra-secure.de> Message-ID: <20060624101256.GB7812@sigourney> On Tue, Jun 20, 2006 at 04:10:10PM +0200, Rainer Duffner wrote: > I would like to monitor the number of RDP sessions that a W2K3-server > currently uses. > Preferrably via SNMP. > > Also, I would need the same functionality for Citrix Presentation Server > 4.0, later. The terminal sessions are available as performance counters, both RDP and Metaframe sessions. Access those via nc_net/nsclient or wasn't there some component that makes counters available through snmp... I don't remember. Metaframe also has some own counters but I haven't found any real good use for those yet. You could also configure Metaframe to send your nagios snmptraps when there's certain amount of sessions on a server (via Resource manager or through Metaframe server's properties / SNMP settings). -- (Mr.) Hannu Liljemark | Appelsiini Finland Oy | http://appelsiini.fi Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jeremy at Malcolm.id.au Sat Jun 24 16:06:15 2006 From: Jeremy at Malcolm.id.au (Jeremy Malcolm) Date: Sat, 24 Jun 2006 22:06:15 +0800 Subject: Pending host check Message-ID: <449D46D7.4070004@Malcolm.id.au> I'm having the same problem as described in this post (http://thread.gmane.org/gmane.network.nagios.user/8176/); that is to say, I have hosts that are forever with status "pending" and status information "(Not enough data to determine host status yet)" in the Host Detail screen. In the Service Detail screen, the "Service check scheduled for" date under status information is shown as within the next minute, but it keeps getting put back and back indefinitely. But the cause of my problem must not be the same as in the above post, because I do have the check-host-alive service defined for my host: define host{ use generic-host host_name albany alias Albany - Second Bonded Link address 192.168.253.200 parents head_office check_command check-host-alive max_check_attempts 20 notification_interval 30 notification_period 24x7 notification_options d,u,r notifications_enabled 1 } Also, there are no errors defined when I run nagios -v /etc/nagios/nagios.cfg, and I also ran nagios -s and made sure I had the recommended service check scheduling. Does anyone have any suggestions? TIA -- Jeremy Malcolm LLB (Hons) B Com Internet and Open Source lawyer, IT consultant, actor host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F! '{print $3}' -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3256 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Sat Jun 24 16:50:02 2006 From: marc at ena.com (Marc Powell) Date: Sat, 24 Jun 2006 09:50:02 -0500 Subject: Pending host check Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeremy Malcolm > Sent: Saturday, June 24, 2006 9:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Pending host check > > I'm having the same problem as described in this post > (http://thread.gmane.org/gmane.network.nagios.user/8176/); that is to > say, I have hosts that are forever with status "pending" and status > information "(Not enough data to determine host status yet)" in the Host > Detail screen. In the Service Detail screen, the "Service check > scheduled for" date under status information is shown as within the next > minute, but it keeps getting put back and back indefinitely. > > But the cause of my problem must not be the same as in the above post, > because I do have the check-host-alive service defined for my host: > > define host{ > use generic-host > host_name albany > alias Albany - Second Bonded Link > address 192.168.253.200 > parents head_office > check_command check-host-alive > max_check_attempts 20 > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > notifications_enabled 1 > } > > Also, there are no errors defined when I run nagios -v > /etc/nagios/nagios.cfg, and I also ran nagios -s and made sure I had the > recommended service check scheduling. > > Does anyone have any suggestions? What do the service definitions for this host look like? Hosts are never checked unless a service on the host fails. If the first check of a service is OK, the host is automatically assumed to be OK and moved out of the pending state. If the services are not being checked then the pending status is never changed. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From greg.cope at e-dba.net Sat Jun 24 20:41:56 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Sat, 24 Jun 2006 19:41:56 +0100 Subject: Distributed Monitoring - Redundancy In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4440078@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4440078@raptor.redhawk.info> Message-ID: <1151174517.4298.1.camel@t22> On Fri, 2006-06-23 at 09:51 -0700, Mike Koponick wrote: > Hello Everyone, > > I?m running Nagios is a distributed environment which is working very > well. I would like to add a little redundancy to the picture now that > I have everything working. ;-) > > Since I?m running a distributed environment, how can I add a secondary > ?Central-Server? to the picture? I?m not worried about the sensors or > remote Nagios servers, just the central portion of the network. The > problems that I see are as follows: > > The remote servers send data via NSCA to the central server. Would > they also have to send a second connection to the secondary server? One way of doing it. > NDO now sends data to my MySQL server, will the secondary server also > need to send data? This opens a can of worms in terms of duplicate > data, etc. You'd need to replicate this as well. > It seems that a secondary ?cold spare? might be the best solution. > Then there are maintenance issues with keeping software up to data, > etc. No - look at linux HA (heartbeat) and drbd. > So many problems, so little beer. The linux HA/drdb setup is well understood and quite easy. Greg > Thanks in advance, > > Mike > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jeremy at Malcolm.id.au Sun Jun 25 05:31:33 2006 From: Jeremy at Malcolm.id.au (Jeremy Malcolm) Date: Sun, 25 Jun 2006 11:31:33 +0800 Subject: Pending host check In-Reply-To: References: Message-ID: <449E0395.4060002@Malcolm.id.au> Marc Powell wrote: > What do the service definitions for this host look like? Hosts are never > checked unless a service on the host fails. If the first check of a > service is OK, the host is automatically assumed to be OK and moved out > of the pending state. If the services are not being checked then the > pending status is never changed. define service{ use generic-service host_name * service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups admins notification_interval 30 notification_period 24x7 notification_options c,r check_command check_ping!200.0,20%!500.0,60% } -- Jeremy Malcolm LLB (Hons) B Com Internet and Open Source lawyer, IT consultant, actor host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F! '{print $3}' -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3256 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lanning at lanning.cc Sun Jun 25 10:04:58 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Sun, 25 Jun 2006 01:04:58 -0700 (PDT) Subject: Group Intersections for Service Escalation Message-ID: <56258.192.168.128.102.1151222698.squirrel@ssl.monsoonwind.com> I have services groups for notification intervals and host groups for locations. Is there a way I can use both hostgroup_name and servicegroup_name in a serviceescalation object? Basically, I want an intersect of a hostgroup and a servicegroup. define serviceescalation{ hostgroup_name Oklahoma servicegroup_name Interval5 contact_groups escalation-group first_notification 3 last_notification 0 notification_interval 5 } define serviceescalation{ hostgroup_name Oklahoma servicegroup_name Interval30 contact_groups escalation-group first_notification 3 last_notification 0 notification_interval 30 } Currently running 2.0 on Solaris 8 SPARC. I am trying to get out of writing 300 odd escalation objects. -- And, did Guloka think the Ulus were too ugly to save? -Centauri Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Sun Jun 25 23:58:17 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 26 Jun 2006 09:58:17 +1200 Subject: Distributed Monitoring - Redundancy In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90F3C5@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90F3C5@vxchange.vcr.auckland.ac.nz> Message-ID: <00e801c698a2$773ae470$8ea8d882@UoA.auckland.ac.nz> > > I'm running Nagios is a distributed environment which is working very > > well. I would like to add a little redundancy to the > picture now that I have everything working. ;-) ... > > It seems that a secondary "cold spare" might be the best solution. > > Then there are maintenance issues with keeping software up to data, > > etc. > No - look at linux HA (heartbeat) and drbd. > > So many problems, so little beer. > The linux HA/drdb setup is well understood and quite easy. We use linux-HA here to have a redundant setup of two servers. In fact, we are running our Nagios on one and our MRTG on the other, and they both provide failover for each other. They both pass between each other a set of virtual IPs, services, disks and filesystems. Works very well, and is very reliable. I uses the v1.x linux HA (trather than the newer feature-rich v2.x) as we only have a 2-machine failover cluster and simplicity makes things easier. We have an external SCSI disk pack connected to two adaptec serveRAID cards (these helpfully have locking capabilities for just this setup). There are two LUNs on the external pack passed between the servers. Heartbeat goes via serial cable, crossover network cable, and the main network. For people who are really paranoid, I also have a little linux-ha plugin which uses a tiny raw partition on the disk to effect an additional lock before mounting the filesystem. In a failover situation, we lose only about 30 seconds and everything is fine. Nagios (since it uses text files) is very stable - however, I also run mysql on the Nagios server to hold archives and summarised logs, and this passes back and forth with no difficulty as well. If anyone would like detailed instructions, please contact me directly. Steve Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Mon Jun 26 00:03:57 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 26 Jun 2006 10:03:57 +1200 Subject: Switch Port Monitoring In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90F3F4@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90F3F4@vxchange.vcr.auckland.ac.nz> Message-ID: <00e901c698a3$41ae21e0$8ea8d882@UoA.auckland.ac.nz> > Anyone like to share how they monitor switch ports? Here, we use MRTG to graph the switch ports, and the routers2 frontend to MRTG to make it pretty. Also, the routers2 frontend has a Nagios plugin to allow the Nagios data to be displayed as well -- and a portstatus plugin to show the current individual port configuration and status. For Nagios, we use a simple ping service and then use the hostextinfo url to link to the MRTG graphs page. On some switches, we also have a CPU use service. We also have an SNMP trap service and the switches send SNMP traps to the Nagios host which are parsed and relayed to the appropriate service. Port up/down etc generate traps which can in turn generate alerts. Finally, for key switch ports, and additional service can be defined for that particular port status OID. It should be possible to do something similar for port traffic thresholding, but we dont. Steve Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stanley.Hopcroft at Dest.gov.au Mon Jun 26 05:26:07 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Mon, 26 Jun 2006 13:26:07 +1000 Subject: Monitoring Cisco 3750 stacks - OIDs or traps ? Message-ID: <42AE08054734A940AE4F983C21324D042B529C@acexp005.portfolio.base> Dear Folks, We like many others have happily deployed the Cisco 370 stackable switch/routers in stacked configurations. Please would anyone with experience of monitoring these units with Nagios comment on how best to monitor the performance of the internals. I am particuarly interested in checking that all the switches in the stack are present and correct. There appear to be 3 ways of checking this 1 Net::Telnet and parsing the output of 'show inventory' 2 Some OID with check_by_snmp (possibly from the CISCO-STACK-MIB) 3 Traps from the stack manager What experience have people had with these methods ? Thank you, Yours sincerely. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Mon Jun 26 05:56:45 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 25 Jun 2006 23:56:45 -0400 Subject: Monitoring Cisco 3750 stacks - OIDs or traps ? In-Reply-To: <42AE08054734A940AE4F983C21324D042B529C@acexp005.portfolio.base> References: <42AE08054734A940AE4F983C21324D042B529C@acexp005.portfolio.base> Message-ID: Traps and polling via SNMP are generally used for two very different purposes, and which is appropriate really depends what you mean by "present and correct." If you want the switches to let you know when something happens, use traps. If you want to pull data at regular intervals, use polling. There's nothing to stop you from doing both. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Stanley.Hopcroft at Dest.gov.au > Sent: Sunday, June 25, 2006 8:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring Cisco 3750 stacks - OIDs or traps ? > > Dear Folks, > > We like many others have happily deployed the Cisco 370 > stackable switch/routers in stacked configurations. > > Please would anyone with experience of monitoring these units > with Nagios comment on how best to monitor the performance of > the internals. > > I am particuarly interested in checking that all the switches > in the stack are present and correct. > > There appear to be 3 ways of checking this > > 1 Net::Telnet and parsing the output of 'show inventory' > > 2 Some OID with check_by_snmp (possibly from the CISCO-STACK-MIB) > > 3 Traps from the stack manager > > What experience have people had with these methods ? Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Mon Jun 26 06:39:39 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 26 Jun 2006 16:39:39 +1200 Subject: Monitoring Cisco 3750 stacks - OIDs or traps ? In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90F407@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90F407@vxchange.vcr.auckland.ac.nz> Message-ID: <015a01c698da$88e8f9e0$8ea8d882@UoA.auckland.ac.nz> > If you want the switches to let you know when something > happens, use traps. If you want to pull data at regular > intervals, use polling. > > There's nothing to stop you from doing both. We use both, although not on precisely this hardware. On our foundry load balancer and SAN, for example, we catch SNMP traps but also poll a few health counters in case the traps were missed. If you put in an snmptrapd that intelligently parses caught traps its no difficulty to catch alerts. As to *which* trap OIDs, or *which* OIDs to monitor, that's a different question. Presumably someone out there can help? Steve Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.remy at ohs.asso.fr Mon Jun 26 09:03:20 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Mon, 26 Jun 2006 09:03:20 +0200 Subject: nagios list of process IDs must follow -p Message-ID: If I run nagios -v nagios.cfg, there isn't error and warning. however nothing is posted but Nagios is started. -----Message d'origine----- De?: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Envoy??: vendredi 23 juin 2006 16:51 ??: REMY Julien; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] nagios list of process IDs must follow -p If the configuration can't be read, check the paths in the nagios.cfg correspond to the correct locations of the .cfg files. Check permissions and owner of the files. When you run the nagios -v nagios.cfg preflight check what is the output ? -----Original Message----- From: REMY Julien [mailto:julien.remy at ohs.asso.fr] Sent: 23 June 2006 15:40 To: Deborah Martin; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios list of process IDs must follow -p Yes I follow all but it's the same problem -----Message d'origine----- De?: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Envoy??: vendredi 23 juin 2006 15:18 ??: REMY Julien; Marc Powell; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] nagios list of process IDs must follow -p and have you followed the advice set out below ? -----Original Message----- From: REMY Julien [mailto:julien.remy at ohs.asso.fr] Sent: 23 June 2006 14:20 To: Marc Powell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios list of process IDs must follow -p It's OK for the starting of Nagios. It missed the /var/run/nagios.pid file. Thank you. But in Nagios, if I select menus, the message is : Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. What want to say? -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell Envoy??: vendredi 23 juin 2006 14:27 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] nagios list of process IDs must follow -p > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, June 23, 2006 4:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios list of process IDs must follow -p > > Hello, > > > > Nagios don't start in my computer (/etc/init.d/nagios start). If I do > /etc/init.d/nagios status, an error message appears : > > > > ERROR: list of process IDs must follow -p > > > > What wants to say this message? Based on what you said previously, it probably means that nagios isn't starting or isn't able to create the pid file. Try running manually and look for errors with '/path/to/nagios /path/to/nagios.etc'. Make sure nagios can write to the files you've specified as lock_file, state_retention_file, comment_file, downtime_file and temp_file in nagios.cfg. Make sure the command_file directory exists and is configured as per the documentation if you have enabled external commands. As for your CGI errors, the http logs you provided show no attempted access to any of the CGI's. Why is that? Since you're using RHEL4, you'll want to verify that either SELinux is disabled or you've created a policy that allows http access to the CGI's and possibly daemon access to other files. If you see 'avc denied' errors related to nagios in /var/log/messages then you need to disable or modify your SELinux policy. There are several discussions in the archives on how to do this. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users maili