From RNathan at baxglobal.com Sat Apr 1 00:28:39 2006 From: RNathan at baxglobal.com (Ranga Nathan) Date: Fri, 31 Mar 2006 14:28:39 -0800 Subject: Nagios Plugins 1.3.1 installation problems In-Reply-To: References: Message-ID: I did earlier and found it all very confusing. Looks like the sources are distro-specific. It would be good to provide links for dependencies from nagios web site. But then the developers are doing over and above what we expect them of :-) I eventually found the plug-ins in SuSE 9 distro. I installed them. I then installed nrpe and installed it. Hope it goes smooth from here on. __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 "Rusty Hall" 03/31/2006 01:53 PM To "Ranga Nathan" cc Subject RE: [Nagios-users] Nagios Plugins 1.3.1 installation problems Try these links http://rpm.pbone.net http://rpmfind.net/linux/RPM/ Rusty From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ranga Nathan Sent: Friday, March 31, 2006 1:36 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Nagios Plugins 1.3.1 installation problems I have been trying to install nagios 1.3.1 plug-ins from a source RPM that I downloaded. When I try to do a build from the spec file I get the following messages: Failed build dependencies: openssl-devel is needed by nagios-plugins-1.3.1-10.rf radiusclient-devel is needed by nagios-plugins-1.3.1-10.rf fping is needed by nagios-plugins-1.3.1-10.rf openssh-clients is needed by nagios-plugins-1.3.1-10.rf qstat is needed by nagios-plugins-1.3.1-10.rf openldap-devel is needed by nagios-plugins-1.3.1-10.rf mysql-devel is needed by nagios-plugins-1.3.1-10.rf perl(Net::SNMP) is needed by nagios-plugins-1.3.1-10.rf net-snmp-devel is needed by nagios-plugins-1.3.1-10.rf net-snmp-utils is needed by nagios-plugins-1.3.1-10.rf I am having a hard time finding these modules for SuSE intel and s390 environments. Does anyone know of a place where I can find source rpms all of these? I am not asking anyone to do the work for me. I have been googling around but not successful. Many of the sources are marked for spefific Linux distros and I do not find this in SuSE distro or at Novell's site. Guidance appreciated. __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 -------------- next part -------------- An HTML attachment was scrubbed... URL: From msugano at uolinc.com Sat Apr 1 02:09:56 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 31 Mar 2006 21:09:56 -0300 Subject: [Problem Compiling Plugins] check_disk plugin error compiling, notfinding -lssl -lcrypto Message-ID: <1143850196.30980.9.camel@localhost> Hello, I am having problems building the plugins 1.4.2, with gcc3.4.2, make3.80, on Solaris8: bash-2.05# uname -sr SunOS 5.8 bash-2.05# Here's the make snip where trouble occurs: ----snip---- gcc -Wall -g -O2 -o check_disk check_disk.o utils.o popen.o -L/home/msugano/src/nagios-plugins-HEAD-200603221252/plu gins ../lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a /usr/local/lib/libiconv.so -lgen -lsocket -lssl - lcrypto -R/usr/local/lib -R/usr/local/lib -R/usr/local/ssl/lib ld: fatal: library -lssl: not found ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to check_disk collect2: ld returned 1 exit status make[3]: *** [check_disk] Error 1 ----pins---- And even setting up LD_LIBRARY_PATH by fingers, and issuing the line before the error above: bash-2.05# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl/lib bash-2.05# gcc -Wall -g -O2 -o check_disk check_disk.o utils.o popen.o -L/home/msugano/src/nagios-plugins-HEAD-200603221252/plugins ../lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a /usr/local/lib/libiconv.so -lgen -lsocket -lssl -lcrypto -R/usr/local/lib -R/usr/local/lib -R/usr/local/ssl/lib ld: fatal: library -lssl: not found ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to check_disk collect2: ld returned 1 exit status bash-2.05# ls /usr/local/ssl/lib/ engines libcrypto.so libcrypto.so.0.9.8 libssl.so libssl.so.0.9.8 libcrypto.a libcrypto.so.0.9.7 libssl.a libssl.so.0.9.7 pkgconfig bash-2.05# As you can see, the libraries are there. Anyone get into problems compiling the plugins on SunOS 5.8 ??? Is there any kind of recommended flags for compiling on Solaris? Thanks in advance. Marcel Mitsuto. 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://sobre.uol.com.br/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 asmoore at edge.net Sat Apr 1 02:36:05 2006 From: asmoore at edge.net (Alex Moore) Date: Fri, 31 Mar 2006 18:36:05 -0600 Subject: [Problem Compiling Plugins] check_disk plugin error compiling, notfinding -lssl -lcrypto In-Reply-To: <1143850196.30980.9.camel@localhost> References: <1143850196.30980.9.camel@localhost> Message-ID: <20060331183605.00001a57@sws602.mcsun.local> On Fri, 31 Mar 2006 21:09:56 -0300 "Marcel Mitsuto Fucatu Sugano" wrote: > Hello, > > I am having problems building the plugins 1.4.2, with gcc3.4.2, > make3.80, on Solaris8: export LDFLAGS='-L/usr/local/lib' should work. Alex ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 devin.noel at gmail.com Sat Apr 1 03:09:52 2006 From: devin.noel at gmail.com (Devin Noel) Date: Fri, 31 Mar 2006 13:09:52 -1200 Subject: Anybody have Nagios monitoring a Cisco IPS? Message-ID: <6d59ce8d0603311709g33744ca4r56823f3ea89d66da@mail.gmail.com> Does anybody have a good setup for monitoring a Cisco (or other) IPS/IDS box? I've seen a few generic Cisco and SNMP plugings, and was wondering if anybody had sucess in making those work well at all for handeling IPS/IDS alerts. -- Devin Noel Kwajalein, Marshall Islands (805)355-0937 Devin.Noel at gmail.com GMT+12 2,500 miles from nowhere in the South Pacific -------------- next part -------------- An HTML attachment was scrubbed... URL: From MThomas at InnovationsTech.com Sat Apr 1 03:10:41 2006 From: MThomas at InnovationsTech.com (InnovationsTech, Matthew Thomas) Date: Fri, 31 Mar 2006 20:10:41 -0500 Subject: [Problem Compiling Plugins] check_disk plugin error compiling, notfinding -lssl -lcrypto Message-ID: Do you have openssl installed? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marcel Mitsuto Fucatu Sugano Sent: Friday, March 31, 2006 19:10 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] [Problem Compiling Plugins] check_disk plugin error compiling, notfinding -lssl -lcrypto Hello, I am having problems building the plugins 1.4.2, with gcc3.4.2, make3.80, on Solaris8: bash-2.05# uname -sr SunOS 5.8 bash-2.05# Here's the make snip where trouble occurs: ----snip---- gcc -Wall -g -O2 -o check_disk check_disk.o utils.o popen.o -L/home/msugano/src/nagios-plugins-HEAD-200603221252/plu gins ../lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a /usr/local/lib/libiconv.so -lgen -lsocket -lssl - lcrypto -R/usr/local/lib -R/usr/local/lib -R/usr/local/ssl/lib ld: fatal: library -lssl: not found ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to check_disk collect2: ld returned 1 exit status make[3]: *** [check_disk] Error 1 ----pins---- And even setting up LD_LIBRARY_PATH by fingers, and issuing the line before the error above: bash-2.05# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl/lib bash-2.05# gcc -Wall -g -O2 -o check_disk check_disk.o utils.o popen.o -L/home/msugano/src/nagios-plugins-HEAD-200603221252/plugins ../lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a /usr/local/lib/libiconv.so -lgen -lsocket -lssl -lcrypto -R/usr/local/lib -R/usr/local/lib -R/usr/local/ssl/lib ld: fatal: library -lssl: not found ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to check_disk collect2: ld returned 1 exit status bash-2.05# ls /usr/local/ssl/lib/ engines libcrypto.so libcrypto.so.0.9.8 libssl.so libssl.so.0.9.8 libcrypto.a libcrypto.so.0.9.7 libssl.a libssl.so.0.9.7 pkgconfig bash-2.05# As you can see, the libraries are there. Anyone get into problems compiling the plugins on SunOS 5.8 ??? Is there any kind of recommended flags for compiling on Solaris? Thanks in advance. Marcel Mitsuto. 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://sobre.uol.com.br/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 neil.lehouillier at telusplanet.net Sat Apr 1 07:32:02 2006 From: neil.lehouillier at telusplanet.net (Neil Lehouillier) Date: Fri, 31 Mar 2006 22:32:02 -0700 Subject: check_snmp_int.pl problem Message-ID: <001101c6554d$adf9cd70$3d2da8c0@comp1> Hi all, I hoping someone out there can help me out. I'm having a problem with the check_snmp_int.pl script. When I issue the following command from the command line "check_snmp_int.pl -H 192.168.0.12 -C public -n -w 600,600 -c 800,800" to display the status of all the network adapters I get the following: MS TCP Loopback interface:UP, 3Com SOHO PCI:UP:2 UP: OK But when I issue the command from nagios I only receive the following on the nagios web screen: (I omitted the date time and other non essential info) NIC Usage MS TCP Loopback interface Why doesn't it show the 3com info or any other status information? Also does anyone know of a way that I can get it to omitt the Loopback interface? Any help is appreciated.... Thanks.... Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at tswireless.net Sat Apr 1 15:40:59 2006 From: lists at tswireless.net (Carl Davis) Date: Sat, 01 Apr 2006 07:40:59 -0600 Subject: Service Dependencies Message-ID: <1143898859.28548.3.camel@localhost> I think I have service dependencies backwards in my head. If I were utilizing a flow chart and b required service on a to be up, I would put a as the dependent_service_description and b as the host_name? I have a long line of wireless links and if the first one fails I do not want to be notified that the others will fail as well. Is the status map built from service dependencies, because it appears correctly, however I get service notifications for everything when we have a link problem. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 surcouf at debianfr.net Sat Apr 1 17:02:12 2006 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl?= 'SurcouF' Bordet) Date: Sat, 01 Apr 2006 17:02:12 +0200 Subject: check_snmp_int.pl problem In-Reply-To: <001101c6554d$adf9cd70$3d2da8c0@comp1> References: <001101c6554d$adf9cd70$3d2da8c0@comp1> Message-ID: <1143903732.30729.4.camel@localhost> Le vendredi 31 mars 2006 ? 22:32 -0700, Neil Lehouillier a ?crit : > Hi all, > > I hoping someone out there can help me out. I'm having a problem with > the check_snmp_int.pl script. > > When I issue the following command from the command line > "check_snmp_int.pl -H 192.168.0.12 -C public -n -w 600,600 -c 800,800" > to display the status of all the network adapters I get the following: > > MS TCP Loopback interface:UP, 3Com SOHO PCI:UP:2 UP: OK > > > But when I issue the command from nagios I only receive the following > on the nagios web screen: (I omitted the date time and other non > essential info) Hi, This plugin can use regex to match interfaces you want. You can use this following regex: ^[^MS TCP Loopback] You've all interfaces without this naming interface. Regards, > -- Rapha?l 'SurcouF' Bordet http://debianfr.net/ | JID: surcouf at debianfr dot net ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 neil.lehouillier at telusplanet.net Sat Apr 1 18:41:46 2006 From: neil.lehouillier at telusplanet.net (Neil Lehouillier) Date: Sat, 1 Apr 2006 09:41:46 -0700 Subject: check_snmp_int.pl problem References: <001101c6554d$adf9cd70$3d2da8c0@comp1> <1143903732.30729.4.camel@localhost> Message-ID: <000901c655ab$2a92cc30$3d2da8c0@comp1> Thanks... that worked great. Anyone out there wouldn't happen to know how to make the check_snmp_int.pl script display the statistics within nagios? Currently when I query the interface on a box I get: a green line with the following: NIC Usage OK 04-01-2006 09:29:54 3d 22h 47m 8s 1/3 3Com 3C90x Ethernet Adapter I would like to see the statistics within the 3com 3C90x line. Also does anyone know what happens when there are multiple nics within the same box? Does it display all the interfaces or just the first one? Thanks again.... Neil From: "Rapha?l 'SurcouF' Bordet" To: Sent: Saturday, April 01, 2006 8:02 AM Subject: Re: [Nagios-users] check_snmp_int.pl problem Le vendredi 31 mars 2006 ? 22:32 -0700, Neil Lehouillier a ?crit : > Hi all, > > I hoping someone out there can help me out. I'm having a problem with > the check_snmp_int.pl script. > > When I issue the following command from the command line > "check_snmp_int.pl -H 192.168.0.12 -C public -n -w 600,600 -c 800,800" > to display the status of all the network adapters I get the following: > > MS TCP Loopback interface:UP, 3Com SOHO PCI:UP:2 UP: OK > > > But when I issue the command from nagios I only receive the following > on the nagios web screen: (I omitted the date time and other non > essential info) Hi, This plugin can use regex to match interfaces you want. You can use this following regex: ^[^MS TCP Loopback] You've all interfaces without this naming interface. Regards, > -- Rapha?l 'SurcouF' Bordet http://debianfr.net/ | JID: surcouf at debianfr dot net ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Sat Apr 1 19:45:25 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 1 Apr 2006 19:45:25 +0200 (CEST) Subject: Service Dependencies In-Reply-To: <1143898859.28548.3.camel@localhost> References: <1143898859.28548.3.camel@localhost> Message-ID: On Sat, 1 Apr 2006, Carl Davis wrote: > I think I have service dependencies backwards in my head. If I were > utilizing a flow chart and b required service on a to be up, I would put > a as the dependent_service_description and b as the host_name? I have a > long line of wireless links and if the first one fails I do not want to > be notified that the others will fail as well. > > Is the status map built from service dependencies, because it appears > correctly, however I get service notifications for everything when we > have a link problem. The status maps does not care about dependencies. It only uses the parent field. Assume router arwen and host bilbo. You can only reach bilbo through arwen. (Or at least your Nagios checks.) Then you would define: define hostdependency { dependent_host_name bilbo hostname arwen ..... I admit it takes some reading and it is propably even more confusing for those whose native language is not English. I would have expected: define hostdependency { hostname bilbo depend_on_hostname arwen .... I do recommend to rewrite this to be less ambigious in v3. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ntserafica at yahoo.com Sun Apr 2 03:59:19 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Sat, 1 Apr 2006 17:59:19 -0800 (PST) Subject: snmp plugins Message-ID: <20060402015919.84334.qmail@web60422.mail.yahoo.com> is it possible to monitor disk usage, load and mem using nagios with only snmp running in remote server? i have no root access to remote server (only in local server) but there was snmp running in remote with community public. i have installed snmp in local and download check_snmp_mem.pl in sourceforge but when i run it manually it shows: perl check_snmp_mem.pl and ./check_snmp_mem.pl Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5 Attache is the script of check_snmp_mem.pl --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_snmp_mem.pl Type: application/x-perl Size: 16153 bytes Desc: 1535370674-check_snmp_mem.pl URL: From oliverrojo at anticogroup.com Sun Apr 2 07:44:41 2006 From: oliverrojo at anticogroup.com (Oliver A. Rojo) Date: Sun, 02 Apr 2006 13:44:41 +0800 Subject: can't get into netsnmp: no output! error Message-ID: <442F64C9.9040908@anticogroup.com> Hi guys, Anyone can help me? I just installed nagios 1.3 version on my FC2 OS. Im trying to monitor my local servers' disk, swap, load resources using snmp. Installed net-snmp net-snmp-devel, net-snmp-utils on all my machines. $ cd /usr/local/nagios/libexec/check_netsnmp -H hostname -d disk Disk ok but on nagios, it keeps on telling the error "no output!" and eventually keeps nagging me with emails. Is this a nagios bug? -- Oliver A. Rojo ______________________________________________________________ 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. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Sun Apr 2 08:36:12 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 2 Apr 2006 08:36:12 +0200 (CEST) Subject: snmp plugins In-Reply-To: <20060402015919.84334.qmail@web60422.mail.yahoo.com> References: <20060402015919.84334.qmail@web60422.mail.yahoo.com> Message-ID: On Sat, 1 Apr 2006, Nelson Serafica wrote: > is it possible to monitor disk usage, load and mem using nagios with only snmp running in remote server? That depends on the server. So you have to ask the admin what (s)he has done. But you need the root of that system to help you if you want to monitor it. snmp can be a great tool but must be setup up and setup properly if you want to use 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Sun Apr 2 08:38:21 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 2 Apr 2006 08:38:21 +0200 (CEST) Subject: snmp plugins In-Reply-To: <20060402015919.84334.qmail@web60422.mail.yahoo.com> References: <20060402015919.84334.qmail@web60422.mail.yahoo.com> Message-ID: On Sat, 1 Apr 2006, Nelson Serafica wrote: > Can't locate Net/SNMP.pm in @INC So where did YOU install this perl module? This is something YOU must fix in your server. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ntserafica at yahoo.com Sun Apr 2 08:41:54 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Sat, 1 Apr 2006 22:41:54 -0800 (PST) Subject: snmp plugins In-Reply-To: References: Message-ID: <20060402064154.37243.qmail@web60416.mail.yahoo.com> This error doesn't occur when i tried one of the local server here. Hugo van der Kooij wrote: On Sat, 1 Apr 2006, Nelson Serafica wrote: > Can't locate Net/SNMP.pm in @INC So where did YOU install this perl module? This is something YOU must fix in your server. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 --------------------------------- 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: From hvdkooij at vanderkooij.org Sun Apr 2 16:13:08 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 2 Apr 2006 16:13:08 +0200 (CEST) Subject: snmp plugins In-Reply-To: <20060402064154.37243.qmail@web60416.mail.yahoo.com> References: <20060402064154.37243.qmail@web60416.mail.yahoo.com> Message-ID: On Sat, 1 Apr 2006, Nelson Serafica wrote: > This error doesn't occur when i tried one of the local server here. So? There could be plenty of reasons why it was not setup correctly but you got away with it untill now. Been there, seen that and got a host of scary stories to tell about them. Some of them showing that something was broken by design yet worked for years untill one wednesday morning it decided to do as it was setup not as it was ecpected. (Over 40 cases of incorrect heartbeat settings on AUI transceivers.) But in your case look at the error and start fixing it by adding the proper perl module. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 simvirus at gmail.com Mon Apr 3 10:12:18 2006 From: simvirus at gmail.com (Sim) Date: Mon, 3 Apr 2006 10:12:18 +0200 Subject: check_load is good? In-Reply-To: References: Message-ID: Hi Marc, Thanks! 2006/3/31, Marc Powell : > Yep, you're right on. The OP would need to use something like -- > > check_procs -m CPU -w 80 -c 90 > > That would warn if any process exceeded 80% cpu and show critical if it > exceeded 90%. > > -- > Marc > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 richard.gliebe at fhv.at Mon Apr 3 11:11:01 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Mon, 03 Apr 2006 11:11:01 +0200 Subject: Notifications Message-ID: <1144055461.7603.16.camel@localhost.localdomain> Hi all, what's going on ;-( Yesterday morning, our Nagios server was freezed, so I have to Power off/on the Server. Nagios is now up and running, but the Notifications (eMail/SMS) doesn't works since this failure. No changes/upgrades where made in the nagios configuration. Notifications are enabled: [...] enable_notifications=1 log_notifications=1 [...] I can see, when nagios want's to send notifications in /var/spool/nagios/nagios.log [...] [Mon Apr 3 09:18:01 2006] SERVICE NOTIFICATION: glr;switch-1;TemperatureState;WARNING;notify-by-epager;WARNING: Temperature (degrees Celsius) - *39* [Mon Apr 3 09:18:01 2006] SERVICE NOTIFICATION: glr;switch-1;TemperatureState;WARNING;notify-by-email;WARNING: Temperature (degrees Celsius) - *39* [...] But nothing is sending out. Sending Emails from commandline (with user nagios/root) works fine. We are running Nagios Version 2.0b3. Thanks in advance Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 george at viamedia.co.za Mon Apr 3 11:16:58 2006 From: george at viamedia.co.za (George Rushby) Date: Mon, 3 Apr 2006 11:16:58 +0200 Subject: hostextinfo.cfg Message-ID: <002e01c656ff$5c9bee50$020aa8c0@viamtech001> Is it possible to display more than one icon for any given host? So I can display OS as well as database server or file server e.g. define hostextinfo{ host_name localhost notes_url http://webserver/hostinfo.pl?host=you_can_edit_this icon_image slackware.png icon_image intel.png icon_image_alt Slackware 10.2 vrml_image slackware.png vrml_image intel.png statusmap_image slackware.gd2 statusmap_image intel.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 2006/03/31 -------------- next part -------------- An HTML attachment was scrubbed... URL: From werner.flamme at ufz.de Mon Apr 3 11:32:28 2006 From: werner.flamme at ufz.de (Werner Flamme) Date: Mon, 03 Apr 2006 11:32:28 +0200 Subject: problems with nrpe 2.0 and 2.4 on x86_64 In-Reply-To: <442C3096.1070600@its-lehmann.de> References: <442C10A8.8060207@ufz.de> <442C3096.1070600@its-lehmann.de> Message-ID: <4430EBAC.5080906@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arno Lehmann schrieb am 30.03.2006 21:25: > Hello, > > On 3/30/2006 7:08 PM, Werner Flamme wrote: > Hi all, > > for about 2 weeks we have problems with 2 monitored servers. Both are > running SuSE Linux Enterprise Server 9 x86_64 on AMD Opteron, both have > following components installed: > > - NRPE Version: 2.3 Last Modified: 01-23-2006 (I downloaded 2.4 ;-) > - nagios-plugins 1.4.2 > - nagios-plugins-sap-ccms-0.7.2-45 > - xinetd-2.3.13-39.11 > >> Which gcc version did you use? sapufp:~ # gcc -v Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/specs Configured with: ../configure --enable-threads=posix --prefix=/usr - --with-local-prefix=/usr/local --infodir=/usr/share/info - --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada - --disable-checking --libdir=/usr/lib64 --enable-libgcj - --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib64 - --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux Thread model: posix gcc version 3.3.3 (SuSE Linux) >> Are these _all_ your SLES/x86 machines, do you have similar software on >> 32-bit-systems, or other software (i.e. older/newer versions, different >> gcc versions, different libraries...) on similar hardware? Yes, I have only 2 x86_64 machines. Yes, I have nrpe 2.0 on 3 machines with SLES8 (using old gcc 2.95.3) and on 1 machine with SLES9 (gcc 3.3.3) in 32bit versions (i386). (On the x86_64 machines the errors startet with nrpe 2.0 and did not stop with 2.4). > > Each time the monitoring server sends a nrpe trap, I find > kernel: nrpe[8893]: segfault at 0000000000000030 rip 0000002a9568a911 rsp > 0000007fbfffb800 error 4 > in /var/log/messages. > >> So I assume it's nrpe crashing. So do I :-/ > >> Anyway, I'd recommend to try compiling nrpe on >> the x64 server without optimization, i.e. using -O0 (Oh-zero). In >> another project there are reports that gcc 4.x on 64-bit-architectures >> may generate faulty code. After a "make distclean I issued export CFLAGS=-O0 && export LIBDIR=/usr/lib64 && ./configure --without-ldap then "make all", and copied the new nrpe over the old one - but still segfaults. The only difference is "rsp 0000007fbfffb7d0" instead of "rsp 0000007fbfffb800" before :-( > What did I do till now? Well, first I tried the rpms delivered with SLES9. > Then I removed them and compiled nrpe 2.0 (and later nrpe 2.4) on the > machines. > >> File a bug report at SuSE / Novell and let theyr support crew work on >> the problem. After all, that's one of the differences between SLES and >> SL without ES. :-) "SL without ES" comes along with nrpe, SL with ES does not... I always wondered... :-> > > No changes - the error appears, nagios shows "good" results. Then > I commented out all the commands in /etc/sapmon/nrpe.cfg. The error is > still there, now nagios shows (correctly) that the service is not defined. > > Can someone please put me on the way to get rid of those error lines? > > Google and alltheweb.com only told me that there was an issue with nrpe > segfaulting when the config was faulty - but this was 3 years ago... BTW, I > did not find something like "nrpe -v -c /etc/sapmon/nrpe.cfg" or something > similar to have nrpe check its config file. Is it planned to support this > check in the future? > >> I don't think this is a configuration issue. Well, I did not really think so too, but what can I do? 3 years ago nrpe *did* segfault on faulty configs... > >> Arno > Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMOusk33Krq8b42MRAg8rAJ47qSY+OFS4rMm+dt/UnbsVSoBdQgCfVCG3 bhw0fRRbEKWVcNb4hXFYXtw= =e8a3 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 me-lists at eichler-fleschuetz.de Mon Apr 3 13:08:50 2006 From: me-lists at eichler-fleschuetz.de (Matthias Eichler) Date: Mon, 03 Apr 2006 13:08:50 +0200 Subject: Scheduling downtimes with external command? Message-ID: <44310242.1020505@eichler-fleschuetz.de> Dear List, maybe I am just blind, but I cant find any documented external command for scheduling downtimes from an external application. Has anybody experiences with this? Thanks, Matthias Eichler ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Ludo.Joris at ua.ac.be Mon Apr 3 13:22:50 2006 From: Ludo.Joris at ua.ac.be (Joris Ludo) Date: Mon, 3 Apr 2006 13:22:50 +0200 Subject: Scheduling downtimes with external command? Message-ID: <6F4167A3F15BC8448499A824129D67E20117143D@xmail04.ad.ua.ac.be> Hi, http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=118 HTH -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Namens Matthias Eichler Verzonden: maandag 3 april 2006 13:09 Aan: nagios-users at lists.sourceforge.net Onderwerp: [Nagios-users] Scheduling downtimes with external command? Dear List, maybe I am just blind, but I cant find any documented external command for scheduling downtimes from an external application. Has anybody experiences with this? Thanks, Matthias Eichler ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 joseph.petrucci at wachovia.com Mon Apr 3 14:01:12 2006 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Mon, 3 Apr 2006 08:01:12 -0400 Subject: start a script automatically In-Reply-To: <00a201c65715$bbaf85d0$0900d40a@intranet.it.net> References: <00a201c65715$bbaf85d0$0900d40a@intranet.it.net> Message-ID: Look into event handlers. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Marco Borsani" Sent by: nagios-users-admin at lists.sourceforge.net 04/03/2006 07:57 AM To "'NAGIOS'" cc Subject [Nagios-users] start a script automatically Hi all! Is it possible to start a script automatically on a remote host in case of a particolar event? For example, if nagios detects that process "named" on a DNS server is down, will Nagios can run a remote command on that server to restart the process? Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ForwardSourceID:NT00014CEE -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Mon Apr 3 13:57:06 2006 From: m.borsani at it.net (Marco Borsani) Date: Mon, 3 Apr 2006 13:57:06 +0200 Subject: start a script automatically Message-ID: <00a201c65715$bbaf85d0$0900d40a@intranet.it.net> Hi all! Is it possible to start a script automatically on a remote host in case of a particolar event? For example, if nagios detects that process "named" on a DNS server is down, will Nagios can run a remote command on that server to restart the process? Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 george at viamedia.co.za Mon Apr 3 15:17:10 2006 From: george at viamedia.co.za (George Rushby) Date: Mon, 3 Apr 2006 15:17:10 +0200 Subject: hostextinfo.cfg In-Reply-To: <44311FCB.4070707@kc.rr.com> References: <44311FCB.4070707@kc.rr.com> Message-ID: <005701c65720$ebd5b8a0$020aa8c0@viamtech001> Thanks for your reply Steven, but unfortunately I am running version 2 -----Original Message----- From: Steven Danz [mailto:steven-danz at kc.rr.com] Sent: 03 April 2006 03:15 PM To: George Rushby Subject: Re: [Nagios-users] hostextinfo.cfg I have a patch for 1.2/1.3 that allows you to have more than one notes_url/icon_image/icon_image_alt set per host and service. I've not updated to 2.x and don't have the same patch for that release (yet). George Rushby wrote: > > Is it possible to display more than one icon for any given host? So I > can display OS as well as database server or file server > > > > e.g. define hostextinfo{ > > host_name localhost > > notes_url > http://webserver/hostinfo.pl?host=you_can_edit_this > > icon_image slackware.png > > icon_image intel.png > > icon_image_alt Slackware 10.2 > > vrml_image slackware.png > > vrml_image intel.png > > statusmap_image slackware.gd2 > > statusmap_image intel.gd2 > > 2d_coords 100,250 > > 3d_coords 100.0,50.0,75.0 > > } > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 2006/03/31 > -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 2006/03/31 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 2006/03/31 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 peter.d.farrell at gmail.com Mon Apr 3 15:35:30 2006 From: peter.d.farrell at gmail.com (Peter Farrell) Date: Mon, 3 Apr 2006 14:35:30 +0100 Subject: Running availability reports automatically Message-ID: Can you run various availability reports automatically? I'd like to run a few on particular services and have them emailed to me each week / month. I had seen a Perl script that pulled a few bits out on a previous post - but is there a facility to do this within the application itself? -Peter Farrell From Ulf.Gunnarson at kau.se Mon Apr 3 15:32:55 2006 From: Ulf.Gunnarson at kau.se (Ulf Gunnarson) Date: Mon, 3 Apr 2006 15:32:55 +0200 Subject: Scheduling downtimes with external command? In-Reply-To: <44310242.1020505@eichler-fleschuetz.de> References: <44310242.1020505@eichler-fleschuetz.de> Message-ID: <00ae01c65723$1d1e1360$77dc0ac1@odo> I use a simple script in crontab which in turn invokes another script made by Sam Tilders. Example of crontab script: --------------------------------------------------------------- [nagios at computer bin]$ crontab -l 00 00 * * * /usr/local/nagios/bin/sched_downtime [nagios at computer bin]$ more sched_downtime #!/bin/sh #Today variable tday=`date +%a` /usr/local/nagios/bin/down_time XXX "`date --iso-8601` 23:30:00" "`date --iso-8601` 23:59:59" 1 3600 nagios "scheduled downtime" /usr/local/nagios/bin/down_time XXX "`date --iso-8601` 00:00:30" "`date --iso-8601` 01:00:00" 1 3600 nagios "scheduled downtime" /usr/local/nagios/bin/down_time YYY "`date --iso-8601` 01:38:00" "`date --iso-8601` 06:30:00" 1 3600 nagios "scheduled downtime" if [ "$tday" = "Fri" ]; then /usr/local/nagios/bin/down_time ZZZ "`date +%F` 06:55:00" "`date +%F` 07:15:00" 1 3600 nagios "Scheduled reboot time" fi [nagios at computer bin]$ --------------------------------------------------------------- Ive attached the script made by Sam as down_time Also make sure that external command is enabled in config and that the proper permissions is set on nagios/var/rw/nagios.cmd Hope this helps /Ulf -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matthias Eichler Sent: den 3 april 2006 13:09 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Scheduling downtimes with external command? Dear List, maybe I am just blind, but I cant find any documented external command for scheduling downtimes from an external application. Has anybody experiences with this? Thanks, Matthias Eichler ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: down_time Type: application/octet-stream Size: 2929 bytes Desc: not available URL: From marc at ena.com Mon Apr 3 16:21:55 2006 From: marc at ena.com (Marc Powell) Date: Mon, 3 Apr 2006 09:21:55 -0500 Subject: Running availability reports automatically Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Peter Farrell > Sent: Monday, April 03, 2006 8:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Running availability reports automatically > > Can you run various availability reports automatically? > > I'd like to run a few on particular services and have them emailed to > me each week / month. > > I had seen a Perl script that pulled a few bits out on a previous post > - but is there a facility to do this within the application itself? There is not. Cron + wget (or LWP's GET) are your friends. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Mon Apr 3 16:31:28 2006 From: marc at ena.com (Marc Powell) Date: Mon, 3 Apr 2006 09:31:28 -0500 Subject: can't get into netsnmp: no output! error Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Oliver A. Rojo > Sent: Saturday, April 01, 2006 11:45 PM > To: nagios > Subject: [Nagios-users] can't get into netsnmp: no output! error > > Hi guys, > > Anyone can help me? > > I just installed nagios 1.3 version on my FC2 OS. Im trying to monitor > my local servers' disk, swap, load resources using snmp. Installed > net-snmp net-snmp-devel, net-snmp-utils on all my machines. > > $ cd /usr/local/nagios/libexec/check_netsnmp -H hostname -d disk > Disk ok > > but on nagios, it keeps on telling the error "no output!" and eventually > keeps nagging me with emails. You have an error somewhere, either permissions or configuration. You haven't provided enough information to tell which and I'm not familiar with the check_netsnmp plugin. Where did you get it? It might be sending output to STDERR. Try redirecting that in your command definition -- define command{ command_name ... command_line $USER1$/check_netsnmp -H $HOSTADDRESS$ -d disk 2>&1 } > Is this a nagios bug? 99.9999999% chance it's not. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 me-lists at eichler-fleschuetz.de Mon Apr 3 19:59:32 2006 From: me-lists at eichler-fleschuetz.de (Matthias Eichler) Date: Mon, 03 Apr 2006 19:59:32 +0200 Subject: Scheduling downtimes with external command? In-Reply-To: <6F4167A3F15BC8448499A824129D67E20117143D@xmail04.ad.ua.ac.be> References: <6F4167A3F15BC8448499A824129D67E20117143D@xmail04.ad.ua.ac.be> Message-ID: <44316284.5070203@eichler-fleschuetz.de> Thanks Joris, I was looking in the In-Software Documentation of external commands, and there is a much smaller list of commands than in this online docu. Matthias Joris Ludo schrieb: > Hi, > > http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com > mand_id=118 > > HTH > > -----Oorspronkelijk bericht----- > Van: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Namens Matthias > Eichler > Verzonden: maandag 3 april 2006 13:09 > Aan: nagios-users at lists.sourceforge.net > Onderwerp: [Nagios-users] Scheduling downtimes with external command? > > Dear List, > > maybe I am just blind, but I cant find any documented > external command for scheduling downtimes from an external > application. > > Has anybody experiences with this? > > Thanks, > > Matthias Eichler > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 pmui at groundworkopensource.com Mon Apr 3 19:56:38 2006 From: pmui at groundworkopensource.com (Peter Mui) Date: Mon, 3 Apr 2006 10:56:38 -0700 Subject: Monarch vs. Fruity GUIs (was) which nagios config gui are you using? References: <20060330223651.72104.qmail@web35101.mail.mud.yahoo.com> Message-ID: Begin forwarded message: > From: Robert Story > Date: March 28, 2006 7:10:22 PM PST > To: "Dany Allard" > Cc: > Subject: Re: [Nagios-users] which nagios config gui are you using? > > > On Tue, 28 Mar 2006 16:54:00 -0700 Dany wrote: > DA> We use monarch from groundwork http://www.itgroundwork.com/ > > They also make fruity, don't they? Seems odd that they have 2 > different nagios > guis. Any reason you choose one over the other? Both Monarch and Fruity are web-based configuration management tools for Nagios. Monarch (MONitor ARCHitecture) is integrated into GroundWork Open Source, which was released last month. GroundWork "inherited" Fruity when Fruity developer Taylor Dondich joined GroundWork last year. Why choose one over the other? * Monarch is probably the better choice for the experienced Nagios user: it has advanced features such as the ability to convert existing Nagios 1.x config files to 2.x.: http://sourceforge.net/ projects/monarch * Fruity is simpler to use, and is probably the better choice for the new Nagios user: however, it only supports Nagios 1.x at the moment: http://sourceforge.net/projects/fruity Both can be used stand-alone: that is, Monarch works with Nagios even if you choose not to implement the rest of GroundWork Open Source. HTH, -Peter Peter Mui Open Source Community Advocate GroundWork Open Source 139 Townsend Street, Suite 100 San Francisco, CA 94107 pmui at groundworkopensource.com +1 415 992 4573 -------------- next part -------------- An HTML attachment was scrubbed... URL: From msugano at uolinc.com Mon Apr 3 21:09:35 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 03 Apr 2006 16:09:35 -0300 Subject: [RETENTION FILE ISSUE] Retention file not being updated? Message-ID: <1144091376.15039.13.camel@localhost> Hi there! I am running into a little issue with retention setup here, and i wish to know if there is anybody out there that is experiencing something related to retention config/ retention file updates. Out of nowhere, an alert appears on Service Status Details page on Central Nagios server, showing an alert with long duration, even when the last check service status on distributed monitoring host is in an OK state. At the retention file, the status is what appears on Service Status Details. But at the distributed Nagios, that espcifically check is OK. I am using: retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 But even indicating 60 seconds for retention file udpates, i am not getting the retention file writen by the Nagios process. The file permissions are fine, so i think it is something to do with the new release. Env: Nagios 2.1, Central Nagios running on SuSE9.3, Nagios 1.X Distributed Nagios running on SunOS 5.8 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 peter.d.farrell at gmail.com Mon Apr 3 21:33:11 2006 From: peter.d.farrell at gmail.com (Peter Farrell) Date: Mon, 3 Apr 2006 20:33:11 +0100 Subject: Running availability reports automatically In-Reply-To: References: Message-ID: Yeah - I've tried the wget method and it's just messy... not really suitable for output into client-side reporting. Essentially you've got to beat it out of Nagios, then format it again so it's usable? There is no 'easy way' as it stands now right? ---------------------------------------------------------------- [peter at server]$ wget --save-cookie cookies https://peter:password at server.example.com/nagios/cgi-bin/avail.cgi?show_log_entries=&host=honda&service=check_orbit_login&timeperiod=thismonth' | mail peter.farrell at example.com --16:50:24-- https://peter:*password*@server.example.com/nagios/cgi-bin/avail.cgi?show_log_entries=&host=honda&service=check_orbit_login&timeperiod=thismonth => `avail.cgi?show_log_entries=&host=honda&service=check_orbit_login&timeperiod=thismonth' Resolving server.example.com... 192.168.100.100 Connecting to server.example.com[192.168.100.100]:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] [ <=> ] 10,383 4.79K/s 16:50:27 (4.79 KB/s) - `avail.cgi?show_log_entries=&host=honda&service=check_orbit_login&timeperiod=thismonth' saved [10383] No message, no subject; hope that's ok ------------------------------------------------------------------------------------------------ I've tried several permutations of this and they are all cantankerous. Although sed and awk are also my friends, spending all my time with them is a bit of a downer... isn't there something that exist now to allow users pull data out for their reports without pestering the sysadmin everytime they want the data manipulated? (I've just been asked to start thinking about a solution for someone, and 'no - I haven't googled it yet') -Peter On 03/04/06, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Peter Farrell > > Sent: Monday, April 03, 2006 8:36 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Running availability reports automatically > > > > Can you run various availability reports automatically? > > > > I'd like to run a few on particular services and have them emailed to > > me each week / month. > > > > I had seen a Perl script that pulled a few bits out on a previous post > > - but is there a facility to do this within the application itself? > > There is not. Cron + wget (or LWP's GET) are your friends. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&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 > N?HS^????X???'???u?? References: <200604032051.k33Kp8vC010676@titan.zonepro-serveurs.net> Message-ID: <1144097618.15039.19.camel@localhost> This user is not valid. Please, remove it from the mailing list. On Mon, 2006-04-03 at 22:51 +0200, Mail Delivery System wrote: > This is the SMTP Server program at host zonepro.fr. > > I'm sorry to have to inform you that your message could not be > be delivered to one or more recipients. It's attached below. > > For further assistance, please send mail to > > If you do so, please include this problem report. You can > delete your own text from the attached returned message. > > The SMTP Server program > > > ----- The following addresses had permanent fatal errors ----- > joel at zonepro.fr (Reason: 550 5.2.1. joel at zonepro.fr... Mailbox disabled, not accepting messages) > > > 550 5.1.1. joel at zonepro.fr ... User unknown > 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 msugano at uolinc.com Mon Apr 3 22:50:08 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 03 Apr 2006 17:50:08 -0300 Subject: [RETENTION FILE ISSUE] Retention file not beingupdated? In-Reply-To: <4431843B.9070008@opservices.com.br> References: <1144091376.15039.13.camel@localhost> <4431843B.9070008@opservices.com.br> Message-ID: <1144097409.15039.16.camel@localhost> Ok, it really is minutes, but even with retention_update_interval=1, the retention file do not get updated. Only when restarting. BTW, is the retention file just a copy of the status file? Thanks for your anwser, but it still troubled here. Marcel. On Mon, 2006-04-03 at 17:23 -0300, Sandro Merg Vaz wrote: > Mr. Sugano: > > As you may see in the the docs, the unit of this parameter > (retention_update_interval) is "minutes", not "seconds". So, wait and > hour or change it. > > HTH, > ____________________________________________ > Sandro Vaz > > OpServices - SP > > ( phone 55(51)3061-3588 > 4 fax 55(51)3061-3588 > > Q mobile 55(11)8263-4582 > : email sandro.vaz at opservices.com.br > > > "In God we trust, the rest we monitor ..." > ____________________________________________ > > "Esta mensagem ? endere?ada exclusivamente ?(s) pessoa(s) e/ou > institui??es acima indicadas e pode conter informa??es confidenciais, > particulares ou privilegiadas, as quais n?o podem, sob qualquer forma > ou pretexto, ser utilizadas, divulgadas, alteradas, impressas ou > copiadas, total ou parcialmente, por pessoas n?o autorizadas. No caso > desta mensagem ser recebida por erro, por favor, providencie sua > exclus?o do sistema, notificando o remetente imediatamente. Eventual > erro de transmiss?o desta mensagem em nenhuma hip?tese constituir? > ren?ncia ? confidencialidade ou a qualquer direito ou prerrogativa da? > decorrente." > > "This message is intended only for the named person's and/or entity's > use and may contain confidential, proprietary or legally privileged > information, which shall not be used, disclosed, changed, printed or > copied, in whole or in part, by not intended recipients. If this > message is received by error, please delete it from your system and > notify the sender, immediately. No confidentiality or privilege is > waived by any mistransmission." > > "Este mensaje est? dirigido solamente para la persona que se menciona > y/o para el uso de la entidad ? empresa correspondiente, pudiendo > contener informaci?n confidencial, propietaria ? legalmente > privilegiada, que no ser? usada, revelada, cambiada, impresa ? > copiada, en su totalidad ? parcialmente, por las personas y/o empresas > a los cuales se les env?a este mensaje. Si este mensaje es recibido > por error, por favor b?rrelo de su sistema y notifique al remitente, > inmediatamente. Ning?n privilegio ? derecho de confidencialidad es > concedido a quien recibe este mensaje debido a un error en la > transmisi?n del mismo." > > > > Marcel Mitsuto Fucatu Sugano wrote: > > Hi there! > > > > I am running into a little issue with retention setup here, and i wish > > to know if there is anybody out there that is experiencing something > > related to retention config/ retention file updates. > > > > Out of nowhere, an alert appears on Service Status Details page on > > Central Nagios server, showing an alert with long duration, even when > > the last check service status on distributed monitoring host is in an OK > > state. At the retention file, the status is what appears on Service > > Status Details. But at the distributed Nagios, that espcifically check > > is OK. > > > > I am using: > > retain_state_information=1 > > state_retention_file=/usr/local/nagios/var/retention.dat > > retention_update_interval=60 > > > > But even indicating 60 seconds for retention file udpates, i am not > > getting the retention file writen by the Nagios process. The file > > permissions are fine, so i think it is something to do with the new > > release. > > > > Env: > > Nagios 2.1, Central Nagios running on SuSE9.3, > > Nagios 1.X Distributed Nagios running on SunOS 5.8 > > > > > > > > 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/. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 > > 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 hvdkooij at vanderkooij.org Mon Apr 3 23:54:38 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 3 Apr 2006 23:54:38 +0200 (CEST) Subject: Nagios 2.1 unstable? Message-ID: Hi, I am just building a new server with Nagios 2.1 and it seems to topple over quite easily. At present it only lasts about 5 to 10 seconds. The syslog consistently shows: Apr 3 23:40:18 arwen.waakhond.net nagios: SERVICE FLAPPING ALERT: arwen;MYSQL;STARTED; Service appears to have started flapping (23.4% change >= 20.0% threshold) Apr 3 23:40:18 arwen.waakhond.net nagios: Caught SIGSEGV, shutting down... The package installed based on XOS/Linux 4 and the recent package from DAG. I have a gut feeling flap detection is the problem. So I disabled it and it seems to hold on for now. Nagios 2.1 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 03-27-2006 - Packages: nagios-2.1-1.el4.rf nagios-plugins-1.4.2-1.2.el4.rf It seems this might be also present in nagios 2.0 as nagios died sometime on another server and i have scheduled a restart each night just to be sure for that server. Anone else have stability issues with flap detection on nagios 2.x? 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ron at tvnz.co.nz Tue Apr 4 01:44:48 2006 From: ron at tvnz.co.nz (Ron Wilson) Date: Tue, 4 Apr 2006 11:44:48 +1200 Subject: Nagios cgi Message-ID: I would like to have some Nagios cgi files similar to the status page but without all the headings etc. Does anyone have some cgi's different from the one supplied with Nagios, or any tips on how to create new ones. ===================================================================== CAUTION: This e-mail and any attachment(s) contains information that is intended to be read only by the named recipient(s). It may contain information that is confidential, proprietary or the subject of legal privilege. This information is not to be used by any other person and/or organisation. If you are not the intended recipient, please advise us immediately and delete this e-mail from your system. Do not use any information contained in it. ================================================================ For more information on the Television New Zealand Group, visit us online at http://www.tvnz.co.nz ================================================================ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 herrmc at gmail.com Tue Apr 4 01:46:58 2006 From: herrmc at gmail.com (Curtis Herrmann) Date: Mon, 3 Apr 2006 18:46:58 -0500 Subject: Nagios - Newbie Message-ID: <4431b3f5.05363df3.33c6.ffff8032@mx.gmail.com> I am currently digesting the documentation for Nagios 2.0 from the Nagios Website. I intend to start my first installation after I finish reading the documentation which seems to be very straightforward. The question that I have is in reference to the base OS installation. I will be using Fedora Core 4, and would like to ask if there are any recommendations or documents about a box specifically dedicated to Nagios. Example: Should I accept the "Web Servers" default installation from Anaconda, or should I download a specific Apache version from any particular place etc. Same question with Compiler installs. These questions all in the context of what is best for a foundation for a Nagios box. Kind Regards, Curtis -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at gmail.com Tue Apr 4 01:59:28 2006 From: td3201 at gmail.com (Terry) Date: Mon, 03 Apr 2006 18:59:28 -0500 Subject: Nagios - Newbie In-Reply-To: <4431b3f5.05363df3.33c6.ffff8032@mx.gmail.com> References: <4431b3f5.05363df3.33c6.ffff8032@mx.gmail.com> Message-ID: <4431B6E0.30503@gmail.com> Curtis, Welcome. I recommend sticking with the rpm installation with both Nagios and Apache. If you need to compile nagios for some reason, use the source rpms. Good luck, Terry Curtis Herrmann wrote: > I am currently digesting the documentation for Nagios 2.0 from the > Nagios Website. I intend to start my first installation after I finish > reading the documentation which seems to be very straightforward. > > The question that I have is in reference to the base OS installation. > I will be using Fedora Core 4, and would like to ask if there are any > recommendations or documents about a box specifically dedicated to > Nagios. > > Example: Should I accept the ?Web Servers? default installation from > Anaconda, or should I download a specific Apache version from any > particular place etc. Same question with Compiler installs. > > These questions all in the context of what is best for a foundation > for a Nagios box. > > Kind Regards, > > Curtis > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Tue Apr 4 02:08:52 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 3 Apr 2006 20:08:52 -0400 Subject: Nagios - Newbie In-Reply-To: <4431b3f5.05363df3.33c6.ffff8032@mx.gmail.com> References: <4431b3f5.05363df3.33c6.ffff8032@mx.gmail.com> Message-ID: <302ce8b50604031708n1207e482oc8d98727eb6ef68d@mail.gmail.com> > I am currently digesting the documentation for Nagios 2.0 from the Nagios > Website. I intend to start my first installation after I finish reading the > documentation which seems to be very straightforward. > > The question that I have is in reference to the base OS installation. I > will be using Fedora Core 4, and would like to ask if there are any > recommendations or documents about a box specifically dedicated to Nagios. Nagios is available via a Fedora Extras rpm for FC4. I would recommend using that. If you have issues configuring nagios on Fedora, I have some documentation done for rpms on centos which should be similar. Consult http://www.cognitive-dissonance.org/journal/category/nagios/ -- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 oliverrojo at anticogroup.com Tue Apr 4 03:40:44 2006 From: oliverrojo at anticogroup.com (Oliver A. Rojo) Date: Tue, 04 Apr 2006 09:40:44 +0800 Subject: can't get into netsnmp: no output! error In-Reply-To: References: Message-ID: <4431CE9C.9030302@anticogroup.com> Marc Powell wrote: > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Oliver A. Rojo >>Sent: Saturday, April 01, 2006 11:45 PM >>To: nagios >>Subject: [Nagios-users] can't get into netsnmp: no output! error >> >>Hi guys, >> >>Anyone can help me? >> >>I just installed nagios 1.3 version on my FC2 OS. Im trying to monitor >>my local servers' disk, swap, load resources using snmp. Installed >>net-snmp net-snmp-devel, net-snmp-utils on all my machines. >> >>$ cd /usr/local/nagios/libexec/check_netsnmp -H hostname -d disk >>Disk ok >> >>but on nagios, it keeps on telling the error "no output!" and >> >> >eventually > > >>keeps nagging me with emails. >> >> > >You have an error somewhere, either permissions or configuration. You >haven't provided enough information to tell which and I'm not familiar >with the check_netsnmp plugin. Where did you get it? It might be sending >output to STDERR. Try redirecting that in your command definition -- > >define command{ > command_name ... > command_line $USER1$/check_netsnmp -H $HOSTADDRESS$ -d disk 2>&1 >} > > > >>Is this a nagios bug? >> >> > >99.9999999% chance it's not. > >-- >Marc > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 > > > > hi! i got it from here.... http://mitya.pp.ru/check_netsnmp.html -- Oliver A. Rojo ______________________________________________________________ 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. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ccyuen at hkcert.org Tue Apr 4 05:05:55 2006 From: ccyuen at hkcert.org (CC Yuen) Date: Tue, 04 Apr 2006 11:05:55 +0800 Subject: any tutorial to teach how to config the site map in Nagios? Message-ID: <4431E293.3090707@hkcert.org> Hi list, I had follow the nagios.org's web page to config the site map, but fail finally. Any other recommanded tutor site that I can read? Thanks a lot!! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Tue Apr 4 06:07:11 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Tue, 4 Apr 2006 14:07:11 +1000 Subject: Running availability reports automatically Message-ID: Dear Folks, I am writing to thank you for your letter and say, >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >Subject: Nagios-users digest, Vol 1 #3117 - 26 msgs > > >Today's Topics: > > 1. Re: check_load is good? (Sim) > 2. Notifications (Richard Gliebe) > 3. hostextinfo.cfg (George Rushby) > 4. Re: problems with nrpe 2.0 and 2.4 on x86_64 (Werner Flamme) > 5. Scheduling downtimes with external command? (Matthias Eichler) > 6. RE: Scheduling downtimes with external command? (Joris Ludo) > 7. start a script automatically (Marco Borsani) > 8. Re: start a script automatically (joseph.petrucci at wachovia.com) > 9. RE: hostextinfo.cfg (George Rushby) > 10. RE: Scheduling downtimes with external command? (Ulf Gunnarson) > 11. Running availability reports automatically (Peter Farrell) > 12. RE: Running availability reports automatically (Marc Powell) .. >--__--__-- > >Message: 11 >Date: Mon, 3 Apr 2006 14:35:30 +0100 >From: "Peter Farrell" >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Running availability reports automatically > >Q2FuIHlvdSBydW4gdmFyaW91cyBhdmFpbGFiaWxpdHkgcmVwb3J0cyBhdXRvbWF >0aWNhbGx5PwoK >SSdkIGxpa2UgdG8gcnVuIGEgZmV3IG9uIHBhcnRpY3VsYXIgc2VydmljZXMgYW5 >kIGhhdmUgdGhl >bSBlbWFpbGVkIHRvCm1lIGVhY2ggd2VlayAvIG1vbnRoLgoKSSBoYWQgc2VlbiB >hIFBlcmwgc2Ny >aXB0IHRoYXQgcHVsbGVkIGEgZmV3IGJpdHMgb3V0IG9uIGEgcHJldmlvdXMgcG9 >zdAotIGJ1dCBp >cyB0aGVyZSBhIGZhY2lsaXR5IHRvIGRvIHRoaXMgd2l0aGluIHRoZSBhcHBsaWN >hdGlvbiBpdHNl >bGY/CgotUGV0ZXIgRmFycmVsbAo= > Yep, that's what the Digest readers see associated with your name. Having a few words to your mailer may be in order. Since Mr Powell replied in the same Digest, I could read your question. You could also to try Nagios::Report (usual places), a Perl class to simplify extracting and munging the output of avail.cgi (which it gets for you using with lynx, wget or running the CGI from the CLI). The distro has a few examples/ that should give you the idea (or see the synopsis at http://search.cpan.org/~hopcrofts/Nagios-Report-0.002/Report.pm) Yours sincerely. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Stanley.Hopcroft at Dest.gov.au Tue Apr 4 06:19:24 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Tue, 4 Apr 2006 14:19:24 +1000 Subject: Ideas sought - reporting on monitored sites in TZs != Nagios TZ. Message-ID: Dear Folks, I am writing to invite ideas about how to report on availability in cases where there is one Nagios monitoring hosts located in other time zones (TZ). In many cases, people want reports of availability in 'business hours' and Nagios does that beautifully by (avail.cgi) accepting the time_period to compute availability over. However, 'business hours' at the Nagios site is not the same as that in the other sites, so outages that should be excluded are not and outages that should be included are excluded. The best I can think of is defining a 'business hours' time_period that spans business hours in all the time zones. This has the advantage of not excluding any outage but the drawback of including outages that fall inside the left hand side of the time period (morning outages at remote sites that are way to early to be included. They are included because it is say 8 am at the site where Nagios is even though it may be 5 am at the remote site). Another solution that doesn't cut it for us is multiple copies of Nagios, each reporting on 'business hours' in the TZ where each copy is located. A real nasty hack would be to wrap the host_check plugin with logic that 1 determines where the host is 2 decides whether or not to pass the down back to Nag depending on the locations TZ Obviously this is useless since it suppresses outages you may want to report on in a 24x7 view. The only other idea I have is 1 abandon Nagios reporting 2 have a global host event handler log outages in a DB 3 report by accumulating outages (depending on TZ) from the DB. None of these are attractive. Any other suggestions are welcome. Thank you, Yours sincerely. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 grover1711 at gmail.com Tue Apr 4 06:59:06 2006 From: grover1711 at gmail.com (ankush grover) Date: Tue, 4 Apr 2006 10:29:06 +0530 Subject: documentation/tutorial for configuring nrpe or ncsa for monitoring remote servers(windows/linux/unix) Message-ID: <5f638b360604032159p7ac5e98ag7f57e73f5728d679@mail.gmail.com> hey friends, I did not find the documentation or tutorial for nrpe or ncsa for monitoring remote servers in Nagios Documentation.I am using Nagios on Centos 4.0 and want to monitor Windows,Linux and Unix servers & clients. Any tutorial on nrpe or ncsa will be very useful. Thanks & Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Tue Apr 4 07:15:35 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 4 Apr 2006 01:15:35 -0400 Subject: Nagios - Newbie Message-ID: I've found a good general practice, for just about any type of server, is to start with a minimal install. Then, as you put the server together, add packages as you need them. It may be a bit slower and more involved than just selecting from a list during a GUI install, but it gives you exactly what you need without any extra junk you don't. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Curtis Herrmann Sent: Monday, April 03, 2006 4:47 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios - Newbie I am currently digesting the documentation for Nagios 2.0 from the Nagios Website. I intend to start my first installation after I finish reading the documentation which seems to be very straightforward. The question that I have is in reference to the base OS installation. I will be using Fedora Core 4, and would like to ask if there are any recommendations or documents about a box specifically dedicated to Nagios. Example: Should I accept the "Web Servers" default installation from Anaconda, or should I download a specific Apache version from any particular place etc. Same question with Compiler installs. These questions all in the context of what is best for a foundation for a Nagios box. Kind Regards, Curtis -------------- next part -------------- An HTML attachment was scrubbed... URL: From herrmc at gmail.com Tue Apr 4 08:40:37 2006 From: herrmc at gmail.com (Curtis Herrmann) Date: Tue, 4 Apr 2006 01:40:37 -0500 Subject: Nagios - Newbie In-Reply-To: References: Message-ID: <443214eb.245ef70b.570c.ffffcc98@mx.gmail.com> Thanks, I have received several replies with great information, but this is the direction my question was aimed at. Do you have any recommendations as to what is needed? I planned to select the "Minimal Install" from the installer, and then only install the packages that were needed. One of my main questions is "What are the packages that are needed?" (as a base. not directly related to the Nagios package or Plugins".. I also have seen that many times the version (Apache, and other programs) that RedHat or Fedora installs is not necessarily the latest version. I would like feedback as to whether it is better to go with the newest version, or if it is better to stay with the "Older Versions" I think it would be cool to have a KickStart file, and Post Installation Script to have a machine primed and ready to go for a Nagios install. I have also received some good feedback about whether to use the precompiled RPM's or to compile. The official Doc that I am reading from the Nagios site details the "compile it yourself" instructions. but I have received a couple of responses recommending to use the precompiled versions. I also want to thank everyone who has responded, the help is much appreciated. Jim Perrin sent me a link to his document and it was very helpful. I think that it will generate some questions with me, but I will try to save most of them till I have tried a few things. one question though about the doc. On Jim's document it lists default install directories as: /usr/share/ /usr/lib/nagios/ /etc/ I may have missed some??? The doc that I am reading from the Nagios site seems to imply to me that the directory structure starts with a base directory of: /usr/local/nagios/ Then that I should have 5 directories in this base directory: (page 14) /usr/local/nagios/bin /usr/local/nagios/etc/ /usr/local/nagios/sbin/ /usr/local/nagios/share/ /usr/local/nagios/var/ I assume that the difference could be attributed to personal preference and the compile time options??? Also, in Jim's document it states: >What you'll have at this point is a nagios directory in /usr/share/ which contains the html interface for >yum, hosted through apache. Can someone explain the significance of the "html interface for yum" to me.. Or is this possibly a typo and should be the "html interface for Nagios". And I want to say that I am not trying to pick at Jim's Doc. I think it is great, it has been really helpful for me to read, and has got me thinking.. I'm just trying to digest it and learn it right the first time. Thanks in advance. Curtis _____ From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Tuesday, April 04, 2006 12:16 AM To: Curtis Herrmann; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios - Newbie I've found a good general practice, for just about any type of server, is to start with a minimal install. Then, as you put the server together, add packages as you need them. It may be a bit slower and more involved than just selecting from a list during a GUI install, but it gives you exactly what you need without any extra junk you don't. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Curtis Herrmann Sent: Monday, April 03, 2006 4:47 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios - Newbie I am currently digesting the documentation for Nagios 2.0 from the Nagios Website. I intend to start my first installation after I finish reading the documentation which seems to be very straightforward. The question that I have is in reference to the base OS installation. I will be using Fedora Core 4, and would like to ask if there are any recommendations or documents about a box specifically dedicated to Nagios. Example: Should I accept the "Web Servers" default installation from Anaconda, or should I download a specific Apache version from any particular place etc. Same question with Compiler installs. These questions all in the context of what is best for a foundation for a Nagios box. Kind Regards, Curtis -------------- next part -------------- An HTML attachment was scrubbed... URL: From thyes at gmx.net Tue Apr 4 08:48:00 2006 From: thyes at gmx.net (Frank Thyes) Date: Tue, 4 Apr 2006 08:48:00 +0200 Subject: documentation/tutorial for configuring nrpe or ncsa for monitoring remote servers(windows/linux/unix) In-Reply-To: <5f638b360604032159p7ac5e98ag7f57e73f5728d679@mail.gmail.com> References: <5f638b360604032159p7ac5e98ag7f57e73f5728d679@mail.gmail.com> Message-ID: <20060404064800.GA74227@gator> +++ ankush grover [Tue, Apr 04, 2006 at 06:59:06AM CEST]: > > I did not find the documentation or tutorial for nrpe or ncsa for monitoring > remote servers in Nagios Documentation.I am using Nagios on Centos 4.0 and > want to monitor Windows,Linux and Unix servers & clients. Download the nrpe Plugin and follow the instructions in den README. Cheers Frank -- Nature always sides with the hidden flaw. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 me at renux.de Tue Apr 4 10:48:23 2006 From: me at renux.de (Rene Fertig) Date: Tue, 4 Apr 2006 10:48:23 +0200 Subject: howto prevent notifications on network outages Message-ID: <200604041048.24669.me@renux.de> Hi. If a network with e.g. 10 hosts becomes unreacable because the router to this network fails, nagios recognize a netwok outage. I get 1 DOWN notification for the router and by and by 10 UNREACHABLE notification for the hosts. How do I prevent these 10 notifications best? Better by setting up host-dependencies (and how) or better by configure the hosts in host.cfg not to send unreachable notification (set notification_options to "d,r,f" instead of "d,u,r,f"). Am I right with my assumption, that nagios only mark a host as unreachable if its parent host is down (I've searched the documentation but didn't find a description about that)? If not, the latter way wouldn't work propperly. And is there a posibility to generate a "network outage" notification? Bye, Rene ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 dhawal at netmagicsolutions.com Tue Apr 4 11:41:40 2006 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Tue, 04 Apr 2006 15:11:40 +0530 Subject: Monarch vs. Fruity GUIs (was) which nagios config gui are you using? In-Reply-To: References: <20060330223651.72104.qmail@web35101.mail.mud.yahoo.com> Message-ID: <44323F54.8060905@netmagicsolutions.com> Peter Mui wrote: [SNIP] > * Fruity is simpler to use, and is probably the better choice for the > new Nagios user: however, it only supports Nagios 1.x at the > moment: http://sourceforge.net/projects/fruity You must be mistaken.. fruity only supports nagios 2.x, from the fruity 1.0 rc1 Install.txt REQUIREMENTS: Nagios v2.0 - Nagios v1.x support is no longer supported. - You can import v1.x configs, however. - dhawal > Both can be used stand-alone: that is, Monarch works with Nagios even if > you choose not to implement the rest of GroundWork Open Source. > > HTH, -Peter > > Peter Mui > Open Source Community Advocate > GroundWork Open Source > 139 Townsend Street, Suite 100 > San Francisco, CA 94107 > pmui at groundworkopensource.com > +1 415 992 4573 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ian.chard at sers.ox.ac.uk Tue Apr 4 12:50:42 2006 From: ian.chard at sers.ox.ac.uk (Ian Chard) Date: Tue, 04 Apr 2006 11:50:42 +0100 Subject: Nagios 2.1 unstable? In-Reply-To: References: Message-ID: <44324F82.1080309@sers.ox.ac.uk> Hugo van der Kooij wrote: > Hi, > > I am just building a new server with Nagios 2.1 and it seems to topple > over quite easily. At present it only lasts about 5 to 10 seconds. > > The syslog consistently shows: > > Apr 3 23:40:18 arwen.waakhond.net nagios: SERVICE FLAPPING ALERT: > arwen;MYSQL;STARTED; Service appears to have started flapping (23.4% > change >= 20.0% threshold) > Apr 3 23:40:18 arwen.waakhond.net nagios: Caught SIGSEGV, shutting > down... Hi, I also had this problem for a while, but it seems to have settled down. I ran it under a debugger for a few days and the damn thing refused to crash! :-) - Ian -- Ian Chard, Unix & Network Administrator | E: ian.chard at sers.ox.ac.uk Systems and Electronic Resources Service | T: 80587 / (01865) 280587 Oxford University Library Services | F: (01865) 242287 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Tue Apr 4 14:25:43 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 4 Apr 2006 08:25:43 -0400 Subject: Nagios - Newbie In-Reply-To: <443214eb.245ef70b.570c.ffffcc98@mx.gmail.com> References: <443214eb.245ef70b.570c.ffffcc98@mx.gmail.com> Message-ID: <302ce8b50604040525i6d8cd614y27d663f128edd476@mail.gmail.com> > Thanks, I have received several replies with great information, but this is > the direction my question was aimed at. Do you have any recommendations as > to what is needed? I planned to select the "Minimal Install" from the > installer, and then only install the packages that were needed? One of my > main questions is "What are the packages that are needed?" (as a base? not > directly related to the Nagios package or Plugins".. I'd question the use of FC4 strictly from a lifetime approach. With FC5 out now, core 4 has about 6 months left. a RHEL 4 rebuild like centos or scientific linux will last you until 2012. As to your question of installs, you can choose the minimum install, and then use yum to get everything else if you use the Extras package. That's a fine course of action. Nagios doesn't need much beyond fping, perl, net-snmp-utils and httpd. > I also have seen that many times the version (Apache, and other programs) > that RedHat or Fedora installs is not necessarily the latest version? I > would like feedback as to whether it is better to go with the newest > version, or if it is better to stay with the "Older Versions" For nagios specifically this doesn't really matter. For server maintenance standards it depends on your goals. A RHEL rebuild is designed to be stable and provide several years of enterprise service where 'new' isn't always what you want. Fedora, gentoo and others move more rapidly. For me, rapid movement isn't what I want in a machine for monitoring. I want it to last, and provide a baseline for everything else. > I think it would be cool to have a KickStart file, and Post Installation > Script to have a machine primed and ready to go for a Nagios install. Indeed, and such a thing is easy. But kickstarts are generally for mass repetitive installs, or machines that are rebuilt quickly. In most environments, this doesn't describe the machine you're using for monitoring others. > I have also received some good feedback about whether to use the > precompiled RPM's or to compile. The official Doc that I am reading from the > Nagios site details the "compile it yourself" instructions? but I have > received a couple of responses recommending to use the precompiled versions. The nagios documentation is very much generic *nix instruction, and is quite thorough and very good. It's the generic nature of it though that leads to the discussion. I recommend that people follow the packaging method of their distribution of choice as much as possible. If you use an rpm based system, use or make an rpm of nagios. If you're a debian fan, make or use a deb of nagios. This simplifies the overall system maitenance requirements and you can use the same tools for every package. If you work in an environment like I do that requires software audits periodically, rpm and other package tools make it easier than saying "Well some are over here, and there are some others over in this general area". > I also want to thank everyone who has responded, the help is much > appreciated. Jim Perrin sent me a link to his document and it was very > helpful. I think that it will generate some questions with me, but I will > try to save most of them till I have tried a few things? one question though > about the doc. > > > > On Jim's document it lists default install directories as: > > > > /usr/share/ > > /usr/lib/nagios/ > > /etc/ > > I may have missed some??? Yes, but that's because I didn't document them. My guide was meant to be taken with the nagios documentation, and I only mentioned what I felt people needed to know to get nagios off the ground. The nagios rpm I describe has things in: /etc/httpd/conf.d/nagios -> the included apache config for authentication/access control. /etc/nagios, /etc/rc.d/init.d/nagios to start and stop the nagios service, /usr/bin/ where the nagios and nagiosstats binaries are, /usr/lib/nagios for plugins and the cgis, /usr/share/doc/nagios and /usr/share/nagios for the documentation and web interface. > I assume that the difference could be attributed to personal preference and > the compile time options??? And distribution type customizations, similar to how apache is set up on rhel,fedora etc. > Also, in Jim's document it states: > > > >What you'll have at this point is a nagios directory in /usr/share/ which > contains the html interface for >yum, hosted through apache. > Can someone explain the significance of the "html interface for yum" to > me?. Or is this possibly a typo and should be the "html interface for > Nagios". Yeah. I have a typo in there. Thanks for catching it, I'm fixing it now. > And I want to say that I am not trying to pick at Jim's Doc? I think it is > great, it has been really helpful for me to read, and has got me thinking?. > I'm just trying to digest it and learn it right the first time. My doc was just to cover the rpm based approach, and to work with the existing documentation. If it got you thinking then that's what matters. If there are things I need to include or correct, by all means point them out. There is no single "right" way to do it. Each way to set nagios up has its own issues. You need to pick the one that's right for you. I recommend a method in keeping with whichever distribution you choose. -- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 gabriel at cinergycom.com Tue Apr 4 15:08:46 2006 From: gabriel at cinergycom.com (Gabriel Matthews) Date: Tue, 04 Apr 2006 08:08:46 -0500 Subject: Errors in my log since upgrade to 2.1 Message-ID: <44326FDE.2030901@cinergycom.com> I upgraded to Nagios 2.1 over the weekend, and since then, I've been having some problems. It runs fine during the day, handles notifications fine, everything works great. When I come in the next day, the process has stopped, and the log file is full of this: [1144102973] Warning: The check of service 'ping' on host 'pmad-sw-01' could not be performed due to a fork() error. The check will be rescheduled. [1144102973] Warning: The check of service 'ping' on host 'pkc-rt-01' could not be performed due to a fork() error. The check will be rescheduled. [1144102973] Warning: The check of service 'ping' on host 'pcc-sw-a9' could not be performed due to a fork() error. The check will be rescheduled. [1144102973] Warning: The check of service 'ping' on host 'evvlinlwt-ert-01' could not be performed due to a fork() error. The check will be rescheduled. And I mean full.. I monitor 87 hosts / 171 services, and it makes that log file a monster to dig through to find anything besides these errors. My 'ping' check is as follows: # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 3 } And.... [root at mithrandir libexec]# ./check_ping -help check_ping (nagios-plugins 1.4.2) 1.49 Any ideas? -- ? Gabriel Matthews Senior Network Support Technician Cinergy Communications ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 mramos at co.sapo.pt Tue Apr 4 15:25:16 2006 From: mramos at co.sapo.pt (Marco Ramos) Date: Tue, 04 Apr 2006 14:25:16 +0100 Subject: Errors in my log since upgrade to 2.1 In-Reply-To: <44326FDE.2030901@cinergycom.com> References: <44326FDE.2030901@cinergycom.com> Message-ID: <1144157116.3679.14.camel@localhost.localdomain> Hi, try to tune your max_concurrent_checks and service_reaper_frequency. Take a look at http://www.nagios.org/faqs/viewfaq.php?faq_id=115 HTH, Marco Ramos On Tue, 2006-04-04 at 08:08 -0500, Gabriel Matthews wrote: > I've been > having some problems. It runs fine during the day, handles > notifications fine, everything works great. When I come in the next > day, the process has stopped, and the log file is full of thi ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 m.borsani at it.net Tue Apr 4 16:04:02 2006 From: m.borsani at it.net (Marco Borsani) Date: Tue, 4 Apr 2006 16:04:02 +0200 Subject: R: start a script automatically In-Reply-To: References: Message-ID: <009501c657f0$a0d4b560$0900d40a@intranet.it.net> I followed istructions on the manual. When Nagios try to run the command, in the nagios.log I still read : Warning: Attempting to execute the command "/usr/local/nagios/libexec/eventhandlers/restart-http .... ls -la /usr/local/nagios/libexec/eventhandlers/restart-http -rwxr-xr-x 1 root sys 489 Apr 4 15:06 /usr/local/nagios/libexec/eventhandlers/restart-http Any idea? Marco _____ Da: joseph.petrucci at wachovia.com [mailto:joseph.petrucci at wachovia.com] Inviato: luned? 3 aprile 2006 14.01 A: Marco Borsani Cc: 'NAGIOS'; nagios-users-admin at lists.sourceforge.net Oggetto: Re: [Nagios-users] start a script automatically Look into event handlers. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Marco Borsani" Sent by: nagios-users-admin at lists.sourceforge.net 04/03/2006 07:57 AM To "'NAGIOS'" cc Subject [Nagios-users] start a script automatically Hi all! Is it possible to start a script automatically on a remote host in case of a particolar event? For example, if nagios detects that process "named" on a DNS server is down, will Nagios can run a remote command on that server to restart the process? Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ForwardSourceID:NT00014CEE -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph.petrucci at wachovia.com Tue Apr 4 16:19:04 2006 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Tue, 4 Apr 2006 10:19:04 -0400 Subject: R: start a script automatically In-Reply-To: <009501c657f0$a0d4b560$0900d40a@intranet.it.net> References: <009501c657f0$a0d4b560$0900d40a@intranet.it.net> Message-ID: The ID and group you start the Nagios process with must have full permissions on the file that needs executed as well as the directory. I usually have NAgios and the group own the directory and files and have a 754 permission on them Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Marco Borsani" 04/04/2006 10:04 AM To cc "'NAGIOS'" Subject R: [Nagios-users] start a script automatically I followed istructions on the manual. When Nagios try to run the command, in the nagios.log I still read : Warning: Attempting to execute the command "/usr/local/nagios/libexec/eventhandlers/restart-http .... ls -la /usr/local/nagios/libexec/eventhandlers/restart-http -rwxr-xr-x 1 root sys 489 Apr 4 15:06 /usr/local/nagios/libexec/eventhandlers/restart-http Any idea? Marco Da: joseph.petrucci at wachovia.com [mailto:joseph.petrucci at wachovia.com] Inviato: luned? 3 aprile 2006 14.01 A: Marco Borsani Cc: 'NAGIOS'; nagios-users-admin at lists.sourceforge.net Oggetto: Re: [Nagios-users] start a script automatically Look into event handlers. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Marco Borsani" Sent by: nagios-users-admin at lists.sourceforge.net 04/03/2006 07:57 AM To "'NAGIOS'" cc Subject [Nagios-users] start a script automatically Hi all! Is it possible to start a script automatically on a remote host in case of a particolar event? For example, if nagios detects that process "named" on a DNS server is down, will Nagios can run a remote command on that server to restart the process? Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ForwardSourceID:NT00014CEE ForwardSourceID:NT000151D2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Apr 4 16:54:38 2006 From: marc at ena.com (Marc Powell) Date: Tue, 4 Apr 2006 09:54:38 -0500 Subject: start a script automatically Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Tuesday, April 04, 2006 9:04 AM > To: joseph.petrucci at wachovia.com > Cc: 'NAGIOS' > Subject: R: [Nagios-users] start a script automatically > > I followed istructions on the manual. > > When Nagios try to run the command, in the nagios.log I still read : > > Warning: Attempting to execute the command > "/usr/local/nagios/libexec/eventhandlers/restart-http .... > > ls -la /usr/local/nagios/libexec/eventhandlers/restart-http > -rwxr-xr-x 1 root sys 489 Apr 4 15:06 > /usr/local/nagios/libexec/eventhandlers/restart-http > > Any idea? Not without the rest of the error that you chopped off. What's the '....' part? That's probably the most useful bit of information. You've been on the list long enough to know we need more information than that ;) Can you run restart-http as the nagios user? Show us the command and service definition. Verify that you're using full paths for commands used within restart-http. Detail what restart-http is doing specifically. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Ajay.MV at UCB-Group.com Tue Apr 4 16:51:24 2006 From: Ajay.MV at UCB-Group.com (M V Ajay (vMoksha)) Date: Tue, 4 Apr 2006 16:51:24 +0200 Subject: automatic discovery of windows services Message-ID: Hi All, Is there any way (tool) to discover all services running on a Windows box and prepare Nagios configuration files to enable monitoring of all windows services? Thanks and in advance! Ajay --------------------------------------------------------- Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlopradissitto at virgilio.it Tue Apr 4 17:27:46 2006 From: carlopradissitto at virgilio.it (carlopradissitto at virgilio.it) Date: Tue, 4 Apr 2006 16:27:46 +0100 (GMT+01:00) Subject: (no subject) Message-ID: <10a65843d88.carlopradissitto@virgilio.it> Hi, I must install nagios standard plugins from the source code, but I installed openldap in non-standard directory. Can someone help me? Regards Carlo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 jhmartin at toger.us Tue Apr 4 17:32:47 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 4 Apr 2006 08:32:47 -0700 Subject: (no subject) In-Reply-To: <10a65843d88.carlopradissitto@virgilio.it> References: <10a65843d88.carlopradissitto@virgilio.it> Message-ID: <20060404153247.GO2900@mal.toger.us> On Tue, Apr 04, 2006 at 04:27:46PM +0100, carlopradissitto at virgilio.it wrote: > I must install nagios standard plugins from the source code, but I > installed openldap in non-standard directory. > Can someone help me? Have you looked at the output of ./configure --help? There should be a line in there to specify the LDAP location. -Jason Martin -- Clarvoiants meeting canceled due to unforseen events. 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: From sandeep-n-murthy at telecom.pt Tue Apr 4 18:07:08 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Tue, 4 Apr 2006 17:07:08 +0100 Subject: ORACLE instance and CHECK_NRPE: No output returned from daemon Message-ID: Hello, My command is invoking a script which verifies the state of an Oracle instance. My problem is when I invoke this command, I get a CHECK_NRPE: No output returned from daemon Error. The problem has to be with invoking this script because if I substitute the code in the script with just an echo, it works fine. I tried implementing what I had posted below earlier on but it doesn't work in this case. Any ideas/ suggestions ?? thanks sg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy Sent: quinta-feira, 30 de Mar?o de 2006 16:51 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Unable to read output Problems Hi again, I solved the problem and thought I should share this here.. The reason I was getting an Unable to read Output error was because the output generated by the called script was not being deciphered by nagios. I had some java commands in the script and possibly Nagios couldn't invoke them.. I solved the issue by creating a new script which then invoked the main script and then read its contents back to nagios. sg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy Sent: quinta-feira, 30 de Mar?o de 2006 11:30 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE: Unable to read output Problems Hi all, I installed a new script in a remote server but on trying to invoke it from my Nagios host with the command : ./check_nrpesun -H 192.168.5.10 -p 5666 -t 5 -c check_wlheap I get a "NRPE: Unable to read output " message. Now, before anybody suggests that I check the file and directory permissions, I have already done that and confirmed and reconfirmed that the script has the proper permissions. :) I have a number of scripts running on this remote server and all of them run fine except for this one. All have the same permissions and are configured Ok in the nrpe.cfg. Is there anything else I should check for ? TIA, sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jhmartin at toger.us Tue Apr 4 18:26:54 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 4 Apr 2006 09:26:54 -0700 Subject: ORACLE instance and CHECK_NRPE: No output returned from daemon In-Reply-To: References: Message-ID: <20060404162654.GP2900@mal.toger.us> On Tue, Apr 04, 2006 at 05:07:08PM +0100, Sandeep Narasimha Murthy wrote: > My command is invoking a script which verifies the state of an Oracle instance. My problem is when I invoke this command, I get a > CHECK_NRPE: No output returned from daemon Error. The problem has to be with invoking this script because if I substitute the code in the script with just an echo, it works fine. > > I tried implementing what I had posted below earlier on but it doesn't work in this case. Does the NRPE user have privileges to execute the script? Does the script load all of its environmental dependencies (there is no .profile loaded under NRPE)? -Jason Martin -- Computer Lie #1: You'll never use all that disk space. 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: From tomvo at absi.be Tue Apr 4 20:00:54 2006 From: tomvo at absi.be (tomvo at absi.be) Date: Tue, 4 Apr 2006 20:00:54 +0200 Subject: integrating swatch with nagios Message-ID: Hi, I'm trying to integrate swatch in nagios (via passive checks, I want swatch as a reaction to a 'hit' run the submit_check_result into a passive check). But I'm having a lot of problems with the commandline parameters. for example, swatch offers the $_ parameter containing the entire line from e.g. a solaris message file. But these files then to contain characters that are interpreted by the shell such as [ and ' and whatever. Basicly, I want to search a logfile for a regular expression, and if there's a match, I want the entire line to be sent to nagios (preferrably via a passive check). I do not want to use the nagios plugin checklog because it's too kludgy for my taste. How do you integrate logfile parsing in to nagios ? I've installed SEC also (http://simple-evcorr.sourceforge.net) but it appears to be far too complex for my needs. Thanks for your input on this matter. regards, Tom. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 kylet at panix.com Tue Apr 4 20:42:41 2006 From: kylet at panix.com (Kyle Tucker) Date: Tue, 4 Apr 2006 14:42:41 -0400 (EDT) Subject: check_service_freshness on central/distributed Message-ID: <200604041842.k34Igff08219@panix3.panix.com> I've set up a distributed server with freshness checks for each service being submitted passively set to 1 on the central server. But in the main nagios.cfg on each server (central and distributed), what should the global check_service_freshness parameter be set to? I don't see anything definitive on the page for setting up distributed server. Thanks. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 carlopradissitto at virgilio.it Tue Apr 4 20:09:36 2006 From: carlopradissitto at virgilio.it (Carlo) Date: Tue, 4 Apr 2006 20:09:36 +0200 Subject: (no subject) In-Reply-To: <20060404153247.GO2900@mal.toger.us> References: <10a65843d88.carlopradissitto@virgilio.it> <20060404153247.GO2900@mal.toger.us> Message-ID: <200604042009.36243.carlopradissitto@virgilio.it> > Have you looked at the output of ./configure --help? There > should be a line in there to specify the LDAP location. > > -Jason Martin There isn't a possinility to specify the LDAP location, but only mysql, postgresql and openssl ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 bhellman at dlz.com Tue Apr 4 21:41:46 2006 From: bhellman at dlz.com (Brian Hellman) Date: Tue, 04 Apr 2006 15:41:46 -0400 Subject: Summary Overview Message-ID: <4432CBFA.9030706@dlz.com> Back in the 1.2 release I asked about a feature to email me a status summary of what is happening on the network. Someone replied saying that it should be implemented in 2.0, however I can't find anything about it. Does someone know if this feature is implemented or if it is still in the process? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 dm.cobite.com Tue Apr 4 21:46:57 2006 From: nagios at dm.cobite.com (David Mansfield) Date: Tue, 04 Apr 2006 15:46:57 -0400 Subject: ORACLE instance and CHECK_NRPE: No output returned from daemon In-Reply-To: <20060404162654.GP2900@mal.toger.us> References: <20060404162654.GP2900@mal.toger.us> Message-ID: <4432CD31.1010203@dm.cobite.com> Jason Martin wrote: > On Tue, Apr 04, 2006 at 05:07:08PM +0100, Sandeep Narasimha Murthy wrote: >> My command is invoking a script which verifies the state of an Oracle instance. My problem is when I invoke this command, I get a >> CHECK_NRPE: No output returned from daemon Error. The problem has to be with invoking this script because if I substitute the code in the script with just an echo, it works fine. >> >> I tried implementing what I had posted below earlier on but it doesn't work in this case. > Does the NRPE user have privileges to execute the script? Does > the script load all of its environmental dependencies (there is > no .profile loaded under NRPE)? > I would tend to second the 'check your environment variables' suggestion. Oracle (and binaries linked to oracle, include DBI::Perl etc). usually requires at least the following env. vars set to function): ORACLE_SID ORACLE_HOME LD_LIBRARY_PATH Good luck, David ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 td3201 at gmail.com Tue Apr 4 22:18:31 2006 From: td3201 at gmail.com (Terry) Date: Tue, 4 Apr 2006 15:18:31 -0500 Subject: Summary Overview In-Reply-To: <4432CBFA.9030706@dlz.com> References: <4432CBFA.9030706@dlz.com> Message-ID: <8ee061010604041318w583c01abs492b3467a2bd8801@mail.gmail.com> I don't see anything in the external commands documentation, but is there a particular CGI that outputs what you would like to see in an email? On 4/4/06, Brian Hellman wrote: > Back in the 1.2 release I asked about a feature to email me a status > summary of what is happening on the network. Someone replied saying that > it should be implemented in 2.0, however I can't find anything about it. > Does someone know if this feature is implemented or if it is still in > the process? > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 pmui at groundworkopensource.com Tue Apr 4 22:25:12 2006 From: pmui at groundworkopensource.com (Peter Mui) Date: Tue, 4 Apr 2006 13:25:12 -0700 Subject: Correction: Monarch vs. Fruity GUIs (was) which nagios config gui are you using? References: <20060330223651.72104.qmail@web35101.mail.mud.yahoo.com> Message-ID: <17151E1D-8FAE-4149-92B6-E0ABD408A338@groundworkopensource.com> Taylor Dondich, Fruity's developer, and several list members have pointed out that Fruity is for Nagios 2.x only, not 1.x only as in my previous post. Sorry for any confusion. Peter Mui Open Source Community Advocate GroundWork Open Source 139 Townsend Street, Suite 100 San Francisco, CA 94107 pmui at groundworkopensource.com +1 415 992 4573 Begin forwarded message: > From: Robert Story > Date: March 28, 2006 7:10:22 PM PST > To: "Dany Allard" > Cc: > Subject: Re: [Nagios-users] which nagios config gui are you using? > > > On Tue, 28 Mar 2006 16:54:00 -0700 Dany wrote: > DA> We use monarch from groundwork http://www.itgroundwork.com/ > > They also make fruity, don't they? Seems odd that they have 2 > different nagios > guis. Any reason you choose one over the other? Both Monarch and Fruity are web-based configuration management tools for Nagios. Monarch (MONitor ARCHitecture) is integrated into GroundWork Open Source, which was released last month. GroundWork "inherited" Fruity when Fruity developer Taylor Dondich joined GroundWork last year. Why choose one over the other? * Monarch is probably the better choice for the experienced Nagios user: it has advanced features such as the ability to convert existing Nagios 1.x config files to 2.x.: http://sourceforge.net/ projects/monarch * Fruity is simpler to use, and is probably the better choice for the new Nagios user: however, it only supports Nagios 2.x,: http:// sourceforge.net/projects/fruity Both can be used stand-alone: that is, Monarch works with Nagios even if you choose not to implement the rest of GroundWork Open Source. HTH, -Peter Peter Mui Open Source Community Advocate GroundWork Open Source 139 Townsend Street, Suite 100 San Francisco, CA 94107 pmui at groundworkopensource.com +1 415 992 4573 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Tue Apr 4 22:58:01 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 4 Apr 2006 22:58:01 +0200 (CEST) Subject: Context help? Message-ID: Hi, I noticed there is a context help but the isn't any data in it. As I am a lousy programmer I will try to update this section and present you with the results. Just curious how popular the concept of this feature is to see how high I will scale it on my to-do list. I will dump some experimental ones on http://hvdkooij.xs4all.nl/NAGIOS/ for thos who wish to test them. Just remove my initials from the filename again to fit them in your Nagios system. (Mainly a security feature so I will not overwrite in an upgrade.) 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Tue Apr 4 23:45:07 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 04 Apr 2006 18:45:07 -0300 Subject: Nagios 2.1 problems. Message-ID: <1144187108.22275.8.camel@localhost> Watching the list activity gives me an impression about the new 2.1 release of Nagios. I have just downgraded to 2.0 version because of some problems with retention setup, and I am also not confortable with the fact of many reports on service flapping detection problems. Is there anyone having status retention problem, or i am alone with that? Or, should I ask, Is there anyone with retention setup using Nagios 2.1? Thanks in advance. 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 estair at ilm.com Wed Apr 5 00:39:06 2006 From: estair at ilm.com (Eli Stair) Date: Tue, 04 Apr 2006 15:39:06 -0700 Subject: Nagios 2.1 problems. In-Reply-To: <1144187108.22275.8.camel@localhost> References: <1144187108.22275.8.camel@localhost> Message-ID: <4432F58A.6070508@ilm.com> What issues are you having with retention, I haven't noticed any posts to that effect on the list. If you search, you'll find the issues I've had with state retention. There is at least one other user having (nearly) identical issues to mine, I'd like to know if you've had similar problems. /eli Marcel Mitsuto Fucatu Sugano wrote: > Watching the list activity gives me an impression about the new 2.1 > release of Nagios. I have just downgraded to 2.0 version because of some > problems with retention setup, and I am also not confortable with the > fact of many reports on service flapping detection problems. > > Is there anyone having status retention problem, or i am alone with > that? Or, should I ask, Is there anyone with retention setup using > Nagios 2.1? > > Thanks in advance. > > 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/. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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.prengel at comline.de Wed Apr 5 09:12:18 2006 From: ralf.prengel at comline.de (Ralf Prengel) Date: Wed, 05 Apr 2006 09:12:18 +0200 Subject: SmartUPS 700, only seriall cable, how to monitor? Message-ID: <44336DD2.2020007@comline.de> Hallo, I've a SmartUPS 700 with a seriall cable. Acpcupdsd is running. It's a Suse10 System. My question: How can I integrate this device into nagios. Is http://www.networkupstools.org/ the right way? Thanks for an hint. Ralf Prengel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 sghosh at sghosh.org Wed Apr 5 09:17:10 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Apr 2006 03:17:10 -0400 (EDT) Subject: SmartUPS 700, only seriall cable, how to monitor? In-Reply-To: <44336DD2.2020007@comline.de> References: <44336DD2.2020007@comline.de> Message-ID: On Wed, 5 Apr 2006, Ralf Prengel wrote: > Hallo, > > I've a SmartUPS 700 with a seriall cable. > Acpcupdsd is running. It's a Suse10 System. > My question: > How can I integrate this device into nagios. > Is http://www.networkupstools.org/ the right way? > Yes - NUT is the right way. Although we may need a patch for the most recent release of NUT.. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 christian.masopust at siemens.com Wed Apr 5 09:29:41 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Wed, 5 Apr 2006 09:29:41 +0200 Subject: SmartUPS 700, only seriall cable, how to monitor? In-Reply-To: <44336DD2.2020007@comline.de> References: <44336DD2.2020007@comline.de> Message-ID: <60721B67EAF0994EAFFB561767B700140ACCF2@nets13ha.ww300.siemens.net> Hello Ralf, you can use APCUPSD (see http://www.apcupsd.org). I've written a small program (which should be part of the current distribution) that does exactly what you need. It's called "nagios_plugin_check_apcupsd.c" and can be found in the examples directory Christian -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Ralf Prengel > Sent: Wednesday, April 05, 2006 9:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SmartUPS 700, only seriall cable, how > to monitor? > > Hallo, > > I've a SmartUPS 700 with a seriall cable. > Acpcupdsd is running. It's a Suse10 System. > My question: > How can I integrate this device into nagios. > Is http://www.networkupstools.org/ the right way? > > > Thanks for an hint. > > > Ralf Prengel > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& 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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 m.borsani at it.net Wed Apr 5 09:59:18 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 5 Apr 2006 09:59:18 +0200 Subject: R: start a script automatically In-Reply-To: References: Message-ID: <004c01c65886$d75bafd0$0900d40a@intranet.it.net> -}Marc wrote: -} -}Not without the rest of the error that you chopped off. -}What's the '....' part? That's probably the most useful bit -}of information. You've been on the list long enough to know -}we need more information than that -};) Complete message is: Warning: Attempting to execute the command "/usr/local/nagios/libexec/eventhandlers/restart-http $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$" I see restart-http script on the manual (in the "event handlers" chapter) and copy it to test and understand how event handlers work. -} -}Can you run restart-http as the nagios user? Show us the -}command and service definition. Verify that you're using full -}paths for commands used within restart-http. Detail what -}restart-http is doing specifically. -} # 'restart-http' command definition define command{ command_name restart-http command_line /usr/local/nagios/libexec/eventhandlers/restart-http $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } One problem could be "where" define restart-http command. Yesterday I put it in the checkcommands.cfg file, today I am defined it in the misccommands.cfg. Another one is how to restart the httpd (in this case) like nagios user (the manual mentions this possibility, but no ideas are given to solve it). Again, if I would run a command on a Windows 2003 server, how will I do ? Regards Marco ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 bart.poort at omroep.nl Wed Apr 5 09:54:06 2006 From: bart.poort at omroep.nl (Bart Poort) Date: Wed, 5 Apr 2006 09:54:06 +0200 (CEST) Subject: Troubles using command argument Message-ID: Hi, I'm having some troubles using command arguments for the client checks. This is what i have done: - I compiled the nrpe 2.4 client with the --enable-command-args option - I placed the new client on the nagios server and the client os check_nrpe should understand command-args. - The dont_blame_nrpe option is set to 1 on the client This is the check i defined on the server: define service{ host_name esmeralda service_description Disk Space / check_command check_nrpe!check_disk!80!90!/ use template } This is the check definition i use on the client: command[check_disk]=/local/nagios-plugins/check_disk $ARG1$ $ARG2$ $ARG3$ I think it should work but status information says "Could not parse arguments". Maybe i did something wrong in the check_command definition. I tried serveral options but none of them works. Can anyone tell me what i'm doing wrong? Met vriendelijke groet, -- Bart Poort Publieke Omroep Internet Services []() --Where's the GUI on this thing?-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 tomvo at absi.be Wed Apr 5 10:20:38 2006 From: tomvo at absi.be (tomvo at absi.be) Date: Wed, 5 Apr 2006 10:20:38 +0200 Subject: start a script automatically In-Reply-To: <00a201c65715$bbaf85d0$0900d40a@intranet.it.net> References: <00a201c65715$bbaf85d0$0900d40a@intranet.it.net> Message-ID: Hi, I just did this a few days ago using eventhandlers, I'll post my config for your convenience, actually, it's dead easy: this is the config of the service check: define service{ use generic-service ; Name of service template to use host_name www.xxxx.be service_description HTTP_check_www.xxxxx.be_.5_interface contact_groups solaris-admins retry_check_interval 3 event_handler restart_xxxweb check_command check_webtest!xxx-5.scr!http://www.xxx.be interface .5 via internet } the key here is the event_handler line. This 'function' is executed whenever a state change occurs. in checkcommands.cfg you must define this function: define command{ command_name restart_xxxweb command_line /usr/lib/nagios/plugins/eventhandlers/restart_xxxxxweb $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } This provides the link to the script that will be executed each time a state change occurs. below the contents of this script (I found it somewhere on a nagios support site) and modified it slightly for my environment. As you will see, I'm using the nagios client mechanism to restart the service on the remote host. #!/bin/sh # # Event handler script for restarting the web server on the local machine # # Note: This script will only restart the web server if the service is # retried 3 times (in a "soft" state) or if the web service somehow # manages to fall into a "hard" error state. # # What state is the HTTP service in? case "$1" in OK) # The service just came back up, so don't do anything... ;; WARNING) # We don't really care about warning states, since the service is probably still running... ;; UNKNOWN) # We don't know what might be causing an unknown error, so don't do anything... ;; CRITICAL) # Aha! The HTTP service appears to have a problem - perhaps we should restart the server... # Is this a "soft" or a "hard" state? case "$2" in # We're in a "soft" state, meaning that Nagios is in the middle of retrying the # check before it turns into a "hard" state and contacts get notified... SOFT) # What check attempt are we on? We don't want to restart the web server on the first # check, because it may just be a fluke! case "$3" in # Wait until the check has been tried 3 times before restarting the web server. # If the check fails on the 4th time (after we restart the web server), the state # type will turn to "hard" and contacts will be notified of the problem. # Hopefully this will restart the web server successfully, so the 4th check will # result in a "soft" recovery. If that happens no one gets notified because we # fixed the problem! 1) echo "$(date): Dit is de eerste soft state voor xxxxweb, we herstarten de gateway" >> /tmp/eventhandler_test /usr/lib/nagios/plugins/check_nrpe -H 193.110.158.5 -c restart_xxxweb ;; 2) echo "$(date): Dit is de tweede soft state voor xxxweb, we herstarten de gateway voor de 2e keer" >> /tmp/eventhandler_test /usr/lib/nagios/plugins/check_nrpe -H 193.110.158.5 -c restart_xxxweb ;; 3) echo "$(date): Dit is de derde soft state voor xxxweb, we herstarten de gateway voor de laatste maal, indien het nog niet werkt is er iets goed fout" >> /tmp/eventhandler_test /usr/lib/nagios/plugins/check_nrpe -H 193.110.158.5 -c restart_xxxweb ;; esac ;; # The HTTP service somehow managed to turn into a hard error without getting fixed. # It should have been restarted by the code above, but for some reason it didn't. # Let's give it one last try, shall we? # Note: Contacts have already been notified of a problem with the service at this # point (unless you disabled notifications for this service) HARD) echo "$(date): na 3x proberen wil de xxxweb gateway nog altijd niet opstarte, misschien eens proberen met de server te rebooten ?" >> /tmp/eventhandler_test ;; esac esac exit 0 --------------------------------------------------------------------------- Tom Van Overbeke - ABSI Service Delivery Coordinator email: tomvo at absi.be Tel: +32 2 333 40 00 - Fax: +32 2 332 34 69 website: http://www.absi.be --------------------------------------------------------------------------- "Marco Borsani" Sent by: nagios-users-admin at lists.sourceforge.net 03/04/2006 13:57 To: "'NAGIOS'" cc: Subject: [Nagios-users] start a script automatically Hi all! Is it possible to start a script automatically on a remote host in case of a particolar event? For example, if nagios detects that process "named" on a DNS server is down, will Nagios can run a remote command on that server to restart the process? Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 andreaco at email.it Wed Apr 5 10:26:27 2006 From: andreaco at email.it (Andreaco) Date: Wed, 5 Apr 2006 10:26:27 +0200 Subject: PAssive Checks Message-ID: <92803e607a8eabaa4a687fe5b88ab443@85.18.90.170> Hi, my central nagios server ignores coming passive checks where hostname contain spaces inside. Do you know if it's a known problem and how to solve it ? Thanks,Andrea Here my sending script: #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac # pipe the service check info into the send_nsca program, which # in turn transmits the data to the nsca daemon on the central # monitoring server #/usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca 192.168.25.188 -c /usr/local/nagios/etc/send_nsca.cfg /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca 192.168.27.29 -c /usr/local/nagios/etc/send_nsca.cfg -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Conto Arancio, il migliore amico dei tuoi risparmi.Prova la differenza! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5040&d=20060405 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 m.borsani at it.net Wed Apr 5 10:26:32 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 5 Apr 2006 10:26:32 +0200 Subject: R: start a script automatically In-Reply-To: <004c01c65886$d75bafd0$0900d40a@intranet.it.net> References: <004c01c65886$d75bafd0$0900d40a@intranet.it.net> Message-ID: <005001c6588a$a5412940$0900d40a@intranet.it.net> Well, now it is working correclty! There was a network problem between the hosts. I still have to know how to run a command with the Event Handler on a Windows 2003 server. Moreover, will I have any authentication problems? Any idea? Regards. Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Marco Borsani -}Inviato: mercoled? 5 aprile 2006 9.59 -}A: 'Marc Powell' -}Cc: 'NAGIOS' -}Oggetto: R: [Nagios-users] start a script automatically -} -} -}-}Marc wrote: -}-} -}-}Not without the rest of the error that you chopped off. -}-}What's the '....' part? That's probably the most useful bit -}-}of information. You've been on the list long enough to know -}-}we need more information than that -}-};) -} -}Complete message is: -}Warning: Attempting to execute the command -}"/usr/local/nagios/libexec/eventhandlers/restart-http -}$SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$" -} -}I see restart-http script on the manual (in the "event -}handlers" chapter) and copy it to test and understand how -}event handlers work. -} -}-} -}-}Can you run restart-http as the nagios user? Show us the -}-}command and service definition. Verify that you're using -}full -}paths for commands used within restart-http. Detail -}what -}restart-http is doing specifically. -}-} -} -}# 'restart-http' command definition -}define command{ -} command_name restart-http -} command_line -}/usr/local/nagios/libexec/eventhandlers/restart-http -}$SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ -} } -} -}One problem could be "where" define restart-http command. -}Yesterday I put it in the checkcommands.cfg file, today I am -}defined it in the misccommands.cfg. -}Another one is how to restart the httpd (in this case) like -}nagios user (the manual mentions this possibility, but no -}ideas are given to solve it). -}Again, if I would run a command on a Windows 2003 server, how -}will I do ? -} -}Regards -}Marco -} -} -} -}------------------------------------------------------- -}This SF.Net email is sponsored by xPML, a groundbreaking -}scripting language that extends applications into web and -}mobile media. Attend the live webcast and join the prime -}developer group breaking into this new coding territory! -}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& -}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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 rashmi83 at gmail.com Wed Apr 5 12:24:21 2006 From: rashmi83 at gmail.com (rash) Date: Wed, 5 Apr 2006 15:54:21 +0530 Subject: To monitor hosts in my network. Message-ID: Hi, I am a newbie to nagios..I have a small network which is a combination of linux and windows box.Instead of having to specify IP address of each host in the hosts.cfg file to monitor, could I specify the subnet mask or some other easier way so I could monitor all the hosts in my network.. Regards, Rashmi -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomvo at absi.be Wed Apr 5 12:33:16 2006 From: tomvo at absi.be (tomvo at absi.be) Date: Wed, 5 Apr 2006 12:33:16 +0200 Subject: To monitor hosts in my network. In-Reply-To: References: Message-ID: Not with nagios you can't. each host must be specified individually to be able to attach 'service checks' to these hosts. If all you want to do is send a ping to a bunch of servers and see if they reply, I think there are other (more lightweight) tools available for that. gr, Tom. --------------------------------------------------------------------------- Tom Van Overbeke - ABSI Service Delivery Coordinator email: tomvo at absi.be Tel: +32 2 333 40 00 - Fax: +32 2 332 34 69 website: http://www.absi.be --------------------------------------------------------------------------- rash Sent by: nagios-users-admin at lists.sourceforge.net 05/04/2006 12:24 Please respond to rashmi.mahadevaiah To: nagios-users at lists.sourceforge.net cc: Subject: [Nagios-users] To monitor hosts in my network. Hi, I am a newbie to nagios..I have a small network which is a combination of linux and windows box.Instead of having to specify IP address of each host in the hosts.cfg file to monitor, could I specify the subnet mask or some other easier way so I could monitor all the hosts in my network.. Regards, Rashmi ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 werner.flamme at ufz.de Wed Apr 5 12:57:00 2006 From: werner.flamme at ufz.de (Werner Flamme) Date: Wed, 05 Apr 2006 12:57:00 +0200 Subject: Troubles using command argument In-Reply-To: References: Message-ID: <4433A27C.6080506@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bart Poort schrieb am 05.04.2006 09:54: > Hi, > > I'm having some troubles using command arguments for the client checks. > This is what i have done: > > - I compiled the nrpe 2.4 client with the --enable-command-args option > - I placed the new client on the nagios server and the client os > check_nrpe should understand command-args. > - The dont_blame_nrpe option is set to 1 on the client > > This is the check i defined on the server: > > define service{ > host_name esmeralda > service_description Disk Space / > check_command check_nrpe!check_disk!80!90!/ > use template > } > > This is the check definition i use on the client: > > command[check_disk]=/local/nagios-plugins/check_disk $ARG1$ $ARG2$ $ARG3$ Maybe you better change the parameters to .../check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ ? > Can anyone tell me what i'm doing wrong? > > Met vriendelijke groet, > HTH, Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEM6J8k33Krq8b42MRAjFvAJ400xePIgD6bOaIwb8yLnVPEY/uKACfQ5/G 9Ay53ipokmm5QLW4nDxqqqk= =vcts -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 bhellman at dlz.com Wed Apr 5 13:15:42 2006 From: bhellman at dlz.com (Brian Hellman) Date: Wed, 05 Apr 2006 07:15:42 -0400 Subject: Summary Overview In-Reply-To: <8ee061010604041318w583c01abs492b3467a2bd8801@mail.gmail.com> References: <4432CBFA.9030706@dlz.com> <8ee061010604041318w583c01abs492b3467a2bd8801@mail.gmail.com> Message-ID: <4433A6DE.7070806@dlz.com> Yes. http://nagios.mycorp.com/nagios/cgi-bin/status.cgi?host=all Something of that nature, just an overview of everything showing that it's all good. Terry wrote: > I don't see anything in the external commands documentation, but is > there a particular CGI that outputs what you would like to see in an > email? > > On 4/4/06, Brian Hellman wrote: > >> Back in the 1.2 release I asked about a feature to email me a status >> summary of what is happening on the network. Someone replied saying that >> it should be implemented in 2.0, however I can't find anything about it. >> Does someone know if this feature is implemented or if it is still in >> the process? >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting language >> that extends applications into web and mobile media. Attend the live webcast >> and join the prime developer group breaking into this new coding territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 shoktai at gmail.com Wed Apr 5 12:52:22 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 5 Apr 2006 12:52:22 +0200 Subject: R: start a script automatically In-Reply-To: <005001c6588a$a5412940$0900d40a@intranet.it.net> References: <004c01c65886$d75bafd0$0900d40a@intranet.it.net> <005001c6588a$a5412940$0900d40a@intranet.it.net> Message-ID: <619cf3c0604050352n652b2c79sb75d2a38f0e85b3e@mail.gmail.com> Just write sc4ripts in whenever languages you feel happy with and then use nrpe to execute them on the Win host. 2006/4/5, Marco Borsani : > > Well, now it is working correclty! > There was a network problem between the hosts. > > I still have to know how to run a command with the Event Handler on a > Windows 2003 server. > Moreover, will I have any authentication problems? > Any idea? > > Regards. > Marco > > -}-----Messaggio originale----- > -}Da: nagios-users-admin at lists.sourceforge.net > -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto > -}di Marco Borsani > -}Inviato: mercoled? 5 aprile 2006 9.59 > -}A: 'Marc Powell' > -}Cc: 'NAGIOS' > -}Oggetto: R: [Nagios-users] start a script automatically > -} > -} > -}-}Marc wrote: > -}-} > -}-}Not without the rest of the error that you chopped off. > -}-}What's the '....' part? That's probably the most useful bit > -}-}of information. You've been on the list long enough to know > -}-}we need more information than that > -}-};) > -} > -}Complete message is: > -}Warning: Attempting to execute the command > -}"/usr/local/nagios/libexec/eventhandlers/restart-http > -}$SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$" > -} > -}I see restart-http script on the manual (in the "event > -}handlers" chapter) and copy it to test and understand how > -}event handlers work. > -} > -}-} > -}-}Can you run restart-http as the nagios user? Show us the > -}-}command and service definition. Verify that you're using > -}full -}paths for commands used within restart-http. Detail > -}what -}restart-http is doing specifically. > -}-} > -} > -}# 'restart-http' command definition > -}define command{ > -} command_name restart-http > -} command_line > -}/usr/local/nagios/libexec/eventhandlers/restart-http > -}$SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ > -} } > -} > -}One problem could be "where" define restart-http command. > -}Yesterday I put it in the checkcommands.cfg file, today I am > -}defined it in the misccommands.cfg. > -}Another one is how to restart the httpd (in this case) like > -}nagios user (the manual mentions this possibility, but no > -}ideas are given to solve it). > -}Again, if I would run a command on a Windows 2003 server, how > -}will I do ? > -} > -}Regards > -}Marco > -} > -} > -} > -}------------------------------------------------------- > -}This SF.Net email is sponsored by xPML, a groundbreaking > -}scripting language that extends applications into web and > -}mobile media. Attend the live webcast and join the prime > -}developer group breaking into this new coding territory! > -}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > -}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 SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&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 > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From admins at nerim.net Wed Apr 5 14:34:55 2006 From: admins at nerim.net (Christophe Mailhebuau) Date: Wed, 5 Apr 2006 14:34:55 +0200 Subject: convert in gd2 Message-ID: <20060405123455.GA13574@justlinux.org> Hi, I try to download on nagiosexchange the archives with the images and the script to convert the gif on gd2 but not run. i can convert img on gd2 but in status map, always (?) display. Have you an idea or adress to dowload .gd2 images ? Regards -- Cordialement, Christophe Mailhebuau - http://www.justlinux.org Administrateur syst?mes et r?seaux GNU/Linux GPG: 1024D/75B07F8D: BD18 2D01 D954 A339 E35B 9EA1 4240 0410 75B0 7F8D ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 m.borsani at it.net Wed Apr 5 14:52:18 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 5 Apr 2006 14:52:18 +0200 Subject: R: R: start a script automatically In-Reply-To: <619cf3c0604050352n652b2c79sb75d2a38f0e85b3e@mail.gmail.com> References: <619cf3c0604050352n652b2c79sb75d2a38f0e85b3e@mail.gmail.com> Message-ID: <00ad01c658af$c6310420$0900d40a@intranet.it.net> I am using NSClient ... Marco _____ Da: Toto Capuccino [mailto:shoktai at gmail.com] Inviato: mercoled? 5 aprile 2006 12.52 A: Marco Borsani Cc: NAGIOS Oggetto: Re: R: [Nagios-users] start a script automatically Just write sc4ripts in whenever languages you feel happy with and then use nrpe to execute them on the Win host. 2006/4/5, Marco Borsani >: Well, now it is working correclty! There was a network problem between the hosts. I still have to know how to run a command with the Event Handler on a Windows 2003 server. Moreover, will I have any authentication problems? Any idea? Regards. Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net ] Per conto -}di Marco Borsani -}Inviato: mercoled? 5 aprile 2006 9.59 -}A: 'Marc Powell' -}Cc: 'NAGIOS' -}Oggetto: R: [Nagios-users] start a script automatically -} -} -}-}Marc wrote: -}-} -}-}Not without the rest of the error that you chopped off. -}-}What's the '....' part? That's probably the most useful bit -}-}of information. You've been on the list long enough to know -}-}we need more information than that -}-};) -} -}Complete message is: -}Warning: Attempting to execute the command -}"/usr/local/nagios/libexec/eventhandlers/restart-http -}$SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$" -} -}I see restart-http script on the manual (in the "event -}handlers" chapter) and copy it to test and understand how -}event handlers work. -} -}-} -}-}Can you run restart-http as the nagios user? Show us the -}-}command and service definition. Verify that you're using -}full -}paths for commands used within restart-http. Detail -}what -}restart-http is doing specifically. -}-} -} -}# 'restart-http' command definition -}define command{ -} command_name restart-http -} command_line -}/usr/local/nagios/libexec/eventhandlers/restart-http -}$SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ -} } -} -}One problem could be "where" define restart-http command. -}Yesterday I put it in the checkcommands.cfg file, today I am -}defined it in the misccommands.cfg. -}Another one is how to restart the httpd (in this case) like -}nagios user (the manual mentions this possibility, but no -}ideas are given to solve it). -}Again, if I would run a command on a Windows 2003 server, how -}will I do ? -} -}Regards -}Marco -} -} -} -}------------------------------------------------------- -}This SF.Net email is sponsored by xPML, a groundbreaking -}scripting language that extends applications into web and -}mobile media. Attend the live webcast and join the prime -}developer group breaking into this new coding territory! -}http://sel.as-us.falkag.net/sel?cmd=lnk &kid=110944&bid=241720& -}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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdlnk &kid0944&bid$1720&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 -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ralph.Grothe at itdz-berlin.de Wed Apr 5 15:06:39 2006 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Wed, 5 Apr 2006 15:06:39 +0200 Subject: Broken check_procs plug-in on Fedora 3 Message-ID: Hello, I stumbeled over a nasty quirk from check_procs that I compiled from the sources. To start, this constitutes my platform and build # /usr/local/src/nagios-plugins-1.4/plugins/check_procs -V check_procs (nagios-plugins 1.4) 1.43 # uname -srv Linux 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 # cat /etc/redhat-release Fedora Core release 3 (Heidelberg) # gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --en able-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --d isable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) What happens is an obvious obsolete (and deprecated) invocation of BSD style ps which causes messages on stderr # /usr/local/src/nagios-plugins-1.4/plugins/check_procs -m PROCS -C httpd -u 0 -p 1 System call sent warnings to stderr PROCS WARNING: 1 process with command name 'httpd', UID = 0 (root), PPID = 1 To see what gets written to stderr I had a look at the syscall trace. # strace -v -f -s 256 -e trace=read /usr/local/src/nagios-plugins-1.4/plugins/check_procs -m PROCS -C httpd -u 0 -p 1 2>&1|tail -6 "", 4096) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- read(5, "Warning: bad syntax, perhaps a bogus \'-\'? See /usr/share/doc/procps-3.2.3/FAQ\n", 4096) = 78 read(5, "", 4096) = 0 System call sent warnings to stderr PROCS WARNING: 1 process with command name 'httpd', UID = 0 (root), PPID = 1 Ah, a helpful reference to the ps FAQ there # head /usr/share/doc/procps-3.2.3/FAQ Frequently Asked Questions about procps Why does "ps -aux" complain? According to the POSIX and UNIX standards, the above command asks to display all processes with a TTY (generally the commands users are running) plus all processes owned by a user named "x". If that user doesn't exist, then ps will assume you really meant "ps aux". The warning is given to gently break you of a habit that will cause you trouble if a user named "x" were created. And, yes ps didn't like to be invoked in an ambiguous old BSD style # ps -aux >/dev/null Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ But the ps hackers did provide a weird kludge (only for such a purpose made the mentioning of that env var in ps's manpage sense to me) # I_WANT_A_BROKEN_PS= ps -aux >/dev/null|wc -l 0 As long as I cannot find a fix for that in check_procs I maybe could set my environment accordingly for my Nagios checks. But how do I propagate this to the plug-in, because it doesn't work like this? # I_WANT_A_BROKEN_PS= /usr/local/src/nagios-plugins-1.4/plugins/check_procs -m PROCS -C httpd -u 0 -p 1 System call sent warnings to stderr PROCS WARNING: 1 process with command name 'httpd', UID = 0 (root), PPID = 1 # env I_WANT_A_BROKEN_PS=1 /usr/local/src/nagios-plugins-1.4/plugins/check_procs -m PROCS -C http d -u 0 -p 1 System call sent warnings to stderr PROCS WARNING: 1 process with command name 'httpd', UID = 0 (root), PPID = 1 # env -i I_WANT_A_BROKEN_PS=1 /usr/local/src/nagios-plugins-1.4/plugins/check_procs -m PROCS -C h ttpd -u 0 -p 1 System call sent warnings to stderr PROCS WARNING: 1 process with command name 'httpd', UID = 0 (root), PPID = 1 # (export I_WANT_A_BROKEN_PS=1; /usr/local/src/nagios-plugins-1.4/plugins/check_procs -m PROCS -C httpd -u 0 -p 1) System call sent warnings to stderr PROCS WARNING: 1 process with command name 'httpd', UID = 0 (root), PPID = 1 Regards Ralph ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 gorste at tesco.net Wed Apr 5 15:09:58 2006 From: gorste at tesco.net (Gordon Stewart) Date: Wed, 5 Apr 2006 13:09:58 +0000 Subject: Installing NRPE Message-ID: <20060405130958.XERD24467.aamtaout02-winn.ispmail.ntl.com@smtp.ntlworld.com> Dear list I have installed NRPE. Whenever I try and run the deamon though the init.d script I get Apr 5 13:47:21 Gollum nrpe[990]: Starting up daemon Apr 5 13:47:21 Gollum nrpe[990]: Network server bind failure (98: Address already in use). Can some one point me in the right in resolving this issue. Thanks Gordon Stewart ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 bart.poort at omroep.nl Wed Apr 5 15:14:53 2006 From: bart.poort at omroep.nl (Bart Poort) Date: Wed, 5 Apr 2006 15:14:53 +0200 (CEST) Subject: Installing NRPE In-Reply-To: <20060405130958.XERD24467.aamtaout02-winn.ispmail.ntl.com@smtp.ntlworld.com> References: <20060405130958.XERD24467.aamtaout02-winn.ispmail.ntl.com@smtp.ntlworld.com> Message-ID: Hi Gordon, On Wed, 5 Apr 2006, Gordon Stewart wrote: > Dear list > > I have installed NRPE. Whenever I try and run the deamon though the init.d script I get > > Apr 5 13:47:21 Gollum nrpe[990]: Starting up daemon > Apr 5 13:47:21 Gollum nrpe[990]: Network server bind failure (98: Address already in use). > > Can some one point me in the right in resolving this issue. Maybe you can take a look at this option in the nrpe.cfg file: # SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all interfaces. # NOTE: This option is ignored if NRPE is running under either inetd or xinetd #server_address=192.168.1.1 Regards, -- Bart Poort, internetbeheerder Publieke Omroep Internet Services []() --Where's the GUI on this thing?-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 grover1711 at gmail.com Wed Apr 5 15:47:45 2006 From: grover1711 at gmail.com (ankush grover) Date: Wed, 5 Apr 2006 19:17:45 +0530 Subject: To monitor hosts in my network. In-Reply-To: References: Message-ID: <5f638b360604050647w60a3cec0hb1e4d4cfe473c4c9@mail.gmail.com> On 4/5/06, rash wrote: > > > Imagine this scenario where there are 1000's of m/cs running across > different networks..Its going to be quite a tedious task to manually enter > the host information eventhough each host could be using different > services.. > May be hosts across different network need different services to be > monitored then there should be a easier way to specify all the hosts under > one network right? > > > > hey, > > There is a gui or editor available for adding hosts for nagios http://sourceforge.net/projects/nagedit/ Regards Ankush -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph.petrucci at wachovia.com Wed Apr 5 16:08:28 2006 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Wed, 5 Apr 2006 10:08:28 -0400 Subject: Installing NRPE In-Reply-To: <20060405130958.XERD24467.aamtaout02-winn.ispmail.ntl.com@smtp.ntlworld.com> References: <20060405130958.XERD24467.aamtaout02-winn.ispmail.ntl.com@smtp.ntlworld.com> Message-ID: It sounds like another process is using the port. try looking for the port in /etc/services. or execute netstat -na and see if its in use. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 Gordon Stewart Sent by: nagios-users-admin at lists.sourceforge.net 04/05/2006 09:09 AM To cc Subject [Nagios-users] Installing NRPE Dear list I have installed NRPE. Whenever I try and run the deamon though the init.d script I get Apr 5 13:47:21 Gollum nrpe[990]: Starting up daemon Apr 5 13:47:21 Gollum nrpe[990]: Network server bind failure (98: Address already in use). Can some one point me in the right in resolving this issue. Thanks Gordon Stewart ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ForwardSourceID:NT000157AE -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabriel at cinergycom.com Wed Apr 5 16:07:56 2006 From: gabriel at cinergycom.com (Gabriel Matthews) Date: Wed, 05 Apr 2006 09:07:56 -0500 Subject: Errors in my log since upgrade to 2.1 In-Reply-To: <44326FDE.2030901@cinergycom.com> References: <44326FDE.2030901@cinergycom.com> Message-ID: <4433CF3C.4030605@cinergycom.com> This is still a problem. The service won't stay running for a 24 hour period.. I don't know exactly how long it stays up, because I don't have any way of monitoring the service without it.. Kinda a vicious cycle. I've tried Marca Ramos' suggestion of reducing the service reaper interval, but this didn't seem to help. Please let me know if I can send any config files or anything that might help solve this puzzle.. it's really hurting us if our process isn't running, and SBC kills the T1s to one of our remote offices and we don't get paged (which is what happened right now :-\ I appreciate any help you can provide! -- ? Gabriel Matthews Senior Network Support Technician Cinergy Communications Gabriel Matthews wrote: > I upgraded to Nagios 2.1 over the weekend, and since then, I've been > having some problems. It runs fine during the day, handles > notifications fine, everything works great. When I come in the next > day, the process has stopped, and the log file is full of this: > > [1144102973] Warning: The check of service 'ping' on host 'pmad-sw-01' > could not be performed due to a fork() error. The check will > be rescheduled. > [1144102973] Warning: The check of service 'ping' on host 'pkc-rt-01' > could not be performed due to a fork() error. The check will > be rescheduled. > [1144102973] Warning: The check of service 'ping' on host 'pcc-sw-a9' > could not be performed due to a fork() error. The check will > be rescheduled. > [1144102973] Warning: The check of service 'ping' on host > 'evvlinlwt-ert-01' could not be performed due to a fork() error. The > check will be rescheduled. > > > And I mean full.. I monitor 87 hosts / 171 services, and it makes that > log file a monster to dig through to find anything besides these errors. > > My 'ping' check is as follows: > > # 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -p 3 > } > > And.... > > [root at mithrandir libexec]# ./check_ping -help > check_ping (nagios-plugins 1.4.2) 1.49 > > > Any ideas? > > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Wed Apr 5 17:13:26 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 5 Apr 2006 16:13:26 +0100 Subject: Errors in my log since upgrade to 2.1 In-Reply-To: <4433CF3C.4030605@cinergycom.com> References: <44326FDE.2030901@cinergycom.com> <4433CF3C.4030605@cinergycom.com> Message-ID: Are there are any errors in syslog? I'm guessing you've run out of memory? Or maybe the nagios user has reached a ulimit for maximum number of processes? On 5 Apr 2006, at 15:07, Gabriel Matthews wrote: > This is still a problem. The service won't stay running for a 24 > hour period.. I don't know exactly how long it stays up, because I > don't have any way of monitoring the service without it.. Kinda a > vicious cycle. > > I've tried Marca Ramos' suggestion of reducing the service reaper > interval, but this didn't seem to help. > > Please let me know if I can send any config files or anything that > might help solve this puzzle.. it's really hurting us if our > process isn't running, and SBC kills the T1s to one of our remote > offices and we don't get paged (which is what happened right now :-\ > > I appreciate any help you can provide! > -- > > ? Gabriel Matthews > Senior Network Support Technician > Cinergy Communications > > Gabriel Matthews wrote: >> I upgraded to Nagios 2.1 over the weekend, and since then, I've >> been having some problems. It runs fine during the day, handles >> notifications fine, everything works great. When I come in the >> next day, the process has stopped, and the log file is full of this: >> [1144102973] Warning: The check of service 'ping' on host 'pmad- >> sw-01' could not be performed due to a fork() error. The check will >> be rescheduled. >> [1144102973] Warning: The check of service 'ping' on host 'pkc- >> rt-01' could not be performed due to a fork() error. The check will >> be rescheduled. >> [1144102973] Warning: The check of service 'ping' on host 'pcc-sw- >> a9' could not be performed due to a fork() error. The check will >> be rescheduled. >> [1144102973] Warning: The check of service 'ping' on host >> 'evvlinlwt-ert-01' could not be performed due to a fork() error. >> The check will be rescheduled. >> And I mean full.. I monitor 87 hosts / 171 services, and it makes >> that log file a monster to dig through to find anything besides >> these errors. >> My 'ping' check is as follows: >> # 'check_ping' command definition >> define command{ >> command_name check_ping >> command_line $USER1$/check_ping -H $HOSTADDRESS$ -w >> $ARG1$ -c $ARG2$ -p 3 >> } >> And.... >> [root at mithrandir libexec]# ./check_ping -help >> check_ping (nagios-plugins 1.4.2) 1.49 >> Any ideas? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=110944&bid=241720&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 message has been scanned for viruses by MailController - > www.MailController.altohiway.com http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Wed Apr 5 15:49:52 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 05 Apr 2006 08:49:52 -0500 Subject: To monitor hosts in my network. In-Reply-To: References: Message-ID: <1144244992.3514.6.camel@chi101100.int.tt.local> On Wed, 2006-04-05 at 19:11 +0530, rash wrote: > > Imagine this scenario where there are 1000's of m/cs running across > different networks..Its going to be quite a tedious task to manually > enter the host information eventhough each host could be using > different services.. > May be hosts across different network need different services to be > monitored then there should be a easier way to specify all the hosts > under one network right? So write a script to write the configs for 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: From rashmi83 at gmail.com Wed Apr 5 15:41:23 2006 From: rashmi83 at gmail.com (rash) Date: Wed, 5 Apr 2006 19:11:23 +0530 Subject: To monitor hosts in my network. In-Reply-To: References: Message-ID: Imagine this scenario where there are 1000's of m/cs running across different networks..Its going to be quite a tedious task to manually enter the host information eventhough each host could be using different services.. May be hosts across different network need different services to be monitored then there should be a easier way to specify all the hosts under one network right? On 4/5/06, tomvo at absi.be wrote: > > Not with nagios you can't. > > each host must be specified individually to be able to attach 'service > checks' to these hosts. > If all you want to do is send a ping to a bunch of servers and see if they > reply, I think there are other (more lightweight) tools available for > that. > > > gr, > Tom. > > > > > --------------------------------------------------------------------------- > Tom Van Overbeke - ABSI Service Delivery Coordinator > email: tomvo at absi.be > Tel: +32 2 333 40 00 - Fax: +32 2 332 34 69 > website: http://www.absi.be > > --------------------------------------------------------------------------- > > > > > > rash > Sent by: nagios-users-admin at lists.sourceforge.net > 05/04/2006 12:24 > Please respond to rashmi.mahadevaiah > > To: nagios-users at lists.sourceforge.net > cc: > Subject: [Nagios-users] To monitor hosts in my network. > > > Hi, I am a newbie to nagios..I have a small network which is a combination > of linux and windows box.Instead of having to specify IP address of each > host in the hosts.cfg file to monitor, could I specify the subnet mask or > some other easier way so I could monitor all the hosts in my network.. > > Regards, > Rashmi > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: From marc at ena.com Wed Apr 5 17:35:12 2006 From: marc at ena.com (Marc Powell) Date: Wed, 5 Apr 2006 10:35:12 -0500 Subject: start a script automatically Message-ID: > -----Original Message----- > From: Marco Borsani [mailto:m.borsani at it.net] > Sent: Wednesday, April 05, 2006 2:59 AM > To: Marc Powell > Cc: 'NAGIOS' > Subject: R: [Nagios-users] start a script automatically > > > -}Marc wrote: > -} > -}Not without the rest of the error that you chopped off. > -}What's the '....' part? That's probably the most useful bit > -}of information. You've been on the list long enough to know > -}we need more information than that > -};) > > Complete message is: > Warning: Attempting to execute the command > "/usr/local/nagios/libexec/eventhandlers/restart-http $SERVICESTATE$ > $STATETYPE$ $SERVICEATTEMPT$" > It's a moot point now it seems but in the future, there should be even more to this error and the variables would have been filled in. From the code, the complete line will look like -- base/utils.c: snprintf(buffer,sizeof(buffer)-1,"Warning: Attempting to execute the command \"%s\" resulted in a return code of %d. Make sure the script or binary you are trying to execute actually exists...\n",cmd,result); The return code would have been the interesting part. A real example -- var/archives/nagios-04-11-2004-00.log:[1081457063] Warning: Attempting to execute the command "/usr/local/nagios/libexec/check_ping 208.182.181.2 100 100 5000.0 5000.0 -p 1 -t 30" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 stephanie.royle at lunarpages.com Wed Apr 5 18:56:46 2006 From: stephanie.royle at lunarpages.com (Steph) Date: Wed, 5 Apr 2006 09:56:46 -0700 (Pacific Standard Time) Subject: NSClient Message-ID: <4433F6CE.00000B.02040@DJJ76Y81> I'm currently monitoring a few windows server 2003 machines with nsclient Does anyone have any suggestions for monitoring smtp and mysql? Can I use commands similar to the ones below and if so does anyone have any samples from checkcommands.cfg and services.cfg? Checkcommands.cfg: Define command{ Command_name check_nt_CPU Command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ } ----------------------------------------------------------------------------- ------------------------------- Services.cfg Define service{ Use generic-service Host_name test-server Service_description CPU Usage is_volatile 0 Check_period 24x7 Max_check_attempts 3 Normal_check_interval 1 Retry_check_interval 1 Contact_groups linux-admins Notification_interval 300 Notification_period 24x7 Notification_options w,U,c,R Check_command check_nt_CPU!10,80,95,60,80,95,1440 80,95 } ----------------------------------------------------------------------------- --------------------------- I'm pretty new to windows servers so any help would be greatly appreciated. Thanks Stephanie -------------- next part -------------- An HTML attachment was scrubbed... URL: From pbrown3 at schsd.org Wed Apr 5 19:06:33 2006 From: pbrown3 at schsd.org (Peter Brown) Date: Wed, 5 Apr 2006 10:06:33 -0700 Subject: NSClient Message-ID: <022FCF216B866845AC244C895E9F1F9804DCF525@HSDMail.schsd.org> With NSCLIENT you can monitor services... so just pick you SQL service and Nagios will let you know if it fails.. as far as SMTP there is a check for that in the nagios plugins.. # 'check_nt_service' command definition define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ } # Service definition #SERVERS CHECK NT SERVICE SQL define service{ use generic-service ; host_name HOST service_description SERVICE SQL is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups nt-admins, db-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!MSSQLSERVER } - Peter Brown -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steph Sent: Wednesday, April 05, 2006 9:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient I'm currently monitoring a few windows server 2003 machines with nsclient Does anyone have any suggestions for monitoring smtp and mysql? Can I use commands similar to the ones below and if so does anyone have any samples from checkcommands.cfg and services.cfg? Checkcommands.cfg: Define command{ Command_name check_nt_CPU Command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ } ------------------------------------------------------------------------ ------------------------------------- Services.cfg Define service{ Use generic-service Host_name test-server Service_description CPU Usage is_volatile 0 Check_period 24x7 Max_check_attempts 3 Normal_check_interval 1 Retry_check_interval 1 Contact_groups linux-admins Notification_interval 300 Notification_period 24x7 Notification_options w,U,c,R Check_command check_nt_CPU!10,80,95,60,80,95,1440,80,95 } ------------------------------------------------------------------------ --------------------------------- I'm pretty new to windows servers so any help would be greatly appreciated. Thanks Stephanie -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabriel at cinergycom.com Wed Apr 5 19:37:46 2006 From: gabriel at cinergycom.com (Gabriel Matthews) Date: Wed, 05 Apr 2006 12:37:46 -0500 Subject: Errors in my log since upgrade to 2.1 In-Reply-To: References: <44326FDE.2030901@cinergycom.com> <4433CF3C.4030605@cinergycom.com> Message-ID: <4434006A.1060608@cinergycom.com> Nothing that I see has anything to do with nagios.. a few errors about smbd looking for a cups printer, that's about it. I don't see any memory usage errors, either.. although, where would that be logged? Also, how do I know what the maximum number of processes is for the nagios user? Forgive my ignorance, I'm no linux-master. -- ? Gabriel Matthews Senior Network Support Technician Cinergy Communications Ton Voon wrote: > Are there are any errors in syslog? I'm guessing you've run out of > memory? Or maybe the nagios user has reached a ulimit for maximum number > of processes? > > On 5 Apr 2006, at 15:07, Gabriel Matthews wrote: > >> This is still a problem. The service won't stay running for a 24 hour >> period.. I don't know exactly how long it stays up, because I don't >> have any way of monitoring the service without it.. Kinda a vicious >> cycle. >> >> I've tried Marca Ramos' suggestion of reducing the service reaper >> interval, but this didn't seem to help. >> >> Please let me know if I can send any config files or anything that >> might help solve this puzzle.. it's really hurting us if our process >> isn't running, and SBC kills the T1s to one of our remote offices and >> we don't get paged (which is what happened right now :-\ >> >> I appreciate any help you can provide! >> -- >> ? Gabriel Matthews >> Senior Network Support Technician >> Cinergy Communications >> >> Gabriel Matthews wrote: >>> I upgraded to Nagios 2.1 over the weekend, and since then, I've been >>> having some problems. It runs fine during the day, handles >>> notifications fine, everything works great. When I come in the next >>> day, the process has stopped, and the log file is full of this: >>> [1144102973] Warning: The check of service 'ping' on host >>> 'pmad-sw-01' could not be performed due to a fork() error. The check >>> will >>> be rescheduled. >>> [1144102973] Warning: The check of service 'ping' on host 'pkc-rt-01' >>> could not be performed due to a fork() error. The check will >>> be rescheduled. >>> [1144102973] Warning: The check of service 'ping' on host 'pcc-sw-a9' >>> could not be performed due to a fork() error. The check will >>> be rescheduled. >>> [1144102973] Warning: The check of service 'ping' on host >>> 'evvlinlwt-ert-01' could not be performed due to a fork() error. The >>> check will be rescheduled. >>> And I mean full.. I monitor 87 hosts / 171 services, and it makes >>> that log file a monster to dig through to find anything besides these >>> errors. >>> My 'ping' check is as follows: >>> # 'check_ping' command definition >>> define command{ >>> command_name check_ping >>> command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ >>> -c $ARG2$ -p 3 >>> } >>> And.... >>> [root at mithrandir libexec]# ./check_ping -help >>> check_ping (nagios-plugins 1.4.2) 1.49 >>> Any ideas? >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 message has been scanned for viruses by MailController - >> www.MailController.altohiway.com > > > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 stucky101 at gmail.com Wed Apr 5 19:57:57 2006 From: stucky101 at gmail.com (stucky) Date: Wed, 5 Apr 2006 10:57:57 -0700 Subject: check_dig bug ? Message-ID: <30997e260604051057y149decb0o84f47e8f6792819c@mail.gmail.com> guys I was using check_dns before but it would constantly give me random timeout alerts although dns is fine. Considering that nslookup is being phased out anyways I decided to give check_dig a try. It works better but seems to have a bug related to the warning timeouts. Check this out : [root at nagios stucky]# /usr/local/nagios/libexec/check_dig -w 1 -c 2 -H {nameserver} -l {fqdn} -a {ip} DNS OK - 0.008 seconds response time ({fqdn} 38400 IN A {ip})|time=0.008196s ;1.000000;2.000000;0.000000 [root at nagios stucky]# /usr/local/nagios/libexec/check_dig -w 1 -c 2 -H {nameserver} -l {fqdn} -a {ip} DNS WARNING - 0.011 seconds response time ({fqdn} 38400 IN A {ip})|time= 0.011227s;1.000000;2.000000;0.000000 Have I totally gone nuts or did I not just tell check_dig to only warn me if the query takes more than one second ? As you can see the tool itself reports it took only 0.011 seconds so why the warning ? It's annoying cause I get those random fake alerts and another recovery messager soon after. Thing is even if I totally leave the -w and -c flags out it'll still do that as if it had a hardcoded value between 0.008 and 0.011 in there that can't be changed. This is from nagios-plugins-1.4.2. -- stucky -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lynne.G.Lawrence at uscg.mil Wed Apr 5 20:19:27 2006 From: Lynne.G.Lawrence at uscg.mil (Lawrence, Lynne) Date: Wed, 5 Apr 2006 14:19:27 -0400 Subject: Context help? Message-ID: <815DEBA40BB0EF4AB429F834E0380C3848CF0F@OSC-EXMB-M-001.main.ads.uscg.mil> Hugo, others interested in context-sensitive help, I have written some context help for my environment with some tools to maintain and install it, as well as brief service description docs that are integrated (and linked through sevice extended info). I have attached a tar.gz file containing my "generic" files (those not containing any site-specific service documentation). Please have a look - there are READMEs - and use whatever you find useful. Basically, unwrap the file, cd to the nagios_userdoc dir, and do 'make all' to generate a linked set of docs in the ./build dir. A 'make install' will install the files in /usr/local/nagios. Maybe this can get you started, Lynne Lawrence >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of >Hugo van der Kooij >Sent: Tuesday, April 04, 2006 4:58 PM >To: Nagios Users Mailinglist >Subject: [Nagios-users] Context help? > >Hi, > >I noticed there is a context help but the isn't any data in >it. As I am a >lousy programmer I will try to update this section and present you with >the results. > >Just curious how popular the concept of this feature is to see >how high I >will scale it on my to-do list. > >I will dump some experimental ones on http://hvdkooij.xs4all.nl/NAGIOS/ >for thos who wish to test them. Just remove my initials from >the filename >again to fit them in your Nagios system. (Mainly a security >feature so I >will not overwrite in an upgrade.) > >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. > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking >scripting language >that extends applications into web and mobile media. Attend >the live webcast >and join the prime developer group breaking into this new >coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&d >at=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: nag_udoc.tar.gz Type: application/x-gzip Size: 75026 bytes Desc: nag_udoc.tar.gz URL: From nagios-users at unspeakable.net Wed Apr 5 22:22:15 2006 From: nagios-users at unspeakable.net (Sam Rowe) Date: Wed, 5 Apr 2006 16:22:15 -0400 Subject: Nagios and its config files Message-ID: <20060405202215.GY13151@samrowe.com> Hi All, Somewhere between Nagios 2.0b4 and 2.1, Nagios started traversing .svn trees looking for config files. Is there any way to get it to ignore them? We have our live config in svn and would love to keep it there. Also, is there any chance that the restriction that only allows the main nagios config file to be called 'nagios.cfg' be removed? I can't imagine why it's there and it causes us to have to jump through lots of needless hoops to fail over (re-symlinking /usr/local/nagios/etc instead of just starting nagios with a different config file.) Thanks, Sam ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ratty at they.org Wed Apr 5 22:35:47 2006 From: ratty at they.org (frank) Date: Wed, 5 Apr 2006 13:35:47 -0700 (PDT) Subject: Nagios and its config files In-Reply-To: <20060405202215.GY13151@samrowe.com> References: <20060405202215.GY13151@samrowe.com> Message-ID: On Wed, 5 Apr 2006, Sam Rowe wrote: > Hi All, > > Somewhere between Nagios 2.0b4 and 2.1, Nagios started traversing > .svn trees looking for config files. Is there any way to get it to > ignore them? > > We have our live config in svn and would love to keep it there. > > Also, is there any chance that the restriction that only allows the > main nagios config file to be called 'nagios.cfg' be removed? I can't > imagine why it's there and it causes us to have to jump through lots > of needless hoops to fail over (re-symlinking /usr/local/nagios/etc > instead of just starting nagios with a different config file.) > > Thanks, > Sam I don't know about the subversion traversal, but you can easily change your default config file. vi /etc/rc.d/init.d/nagios Look for "NagiosCfgFile". Edit as necessary. -f ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 stucky101 at gmail.com Wed Apr 5 22:57:51 2006 From: stucky101 at gmail.com (stucky) Date: Wed, 5 Apr 2006 13:57:51 -0700 Subject: check_dig bug ? In-Reply-To: <20060405203359.GA21908@aurvandil.sahala.org> References: <30997e260604051057y149decb0o84f47e8f6792819c@mail.gmail.com> <20060405203359.GA21908@aurvandil.sahala.org> Message-ID: <30997e260604051357i48cb8069s6685dc94ac424e0@mail.gmail.com> sorry forgot to mention - yes it's RHEL4. Hmm ok I will try the links. Thx On 4/5/06, joshua sahala wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On (2006-04-05 10:57), stucky wrote: > > > > I was using check_dns before but it would constantly give me random > timeout > > alerts although dns is fine. Considering that nslookup is being phased > out > > anyways I decided to give check_dig a try. > > It works better but seems to have a bug related to the warning timeouts. > > Check this out : > > is this on some RedHat variant bychance? there was a known RH kernel bug > that > was supposedly fixed, but my RHES4 still suffers from this same > problem. I > use check_dns.pl instead: > http://www.hannes-schulz.de/?doc=proj&proj=nagios > > http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1%5Bp_view%5D=27 > > hth > /joshua > - -- > A common mistake that people make when trying to design something > completely foolproof is to underestimate the ingenuity of complete > fools. > - Douglas Adams - > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iD8DBQFENCm3Jr8VjiIHVH0RAn6jAKDUvO51XHqGYKfujk0yTekLEYjjYQCgtWpY > wrFkmo2Zo39OjW0JoYFnf5g= > =LqbT > -----END PGP SIGNATURE----- > -- stucky -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at tswireless.net Wed Apr 5 23:02:30 2006 From: lists at tswireless.net (Carl Davis) Date: Wed, 05 Apr 2006 16:02:30 -0500 Subject: Service Dependencies In-Reply-To: References: <1143898859.28548.3.camel@localhost> Message-ID: <1144270950.3479.0.camel@localhost.localdomain> Thank you, this now works as I had hoped. Carl n Sat, 2006-04-01 at 19:45 +0200, Hugo van der Kooij wrote: > On Sat, 1 Apr 2006, Carl Davis wrote: , > > I think I have service dependencies backwards in my head. If I were > > utilizing a flow chart and b required service on a to be up, I would put > > a as the dependent_service_description and b as the host_name? I have a > > long line of wireless links and if the first one fails I do not want to > > be notified that the others will fail as well. > > > > Is the status map built from service dependencies, because it appears > > correctly, however I get service notifications for everything when we > > have a link problem. > > The status maps does not care about dependencies. It only uses the parent > field. > > Assume router arwen and host bilbo. You can only reach bilbo through > arwen. (Or at least your Nagios checks.) > > Then you would define: > > define hostdependency { > dependent_host_name bilbo > hostname arwen > ..... > > I admit it takes some reading and it is propably even more confusing for > those whose native language is not English. > > I would have expected: > > define hostdependency { > hostname bilbo > depend_on_hostname arwen > .... > > I do recommend to rewrite this to be less ambigious in v3. > > Hugo. > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 jejs+lists at sahala.org Wed Apr 5 22:33:59 2006 From: jejs+lists at sahala.org (joshua sahala) Date: Wed, 5 Apr 2006 14:33:59 -0600 Subject: check_dig bug ? In-Reply-To: <30997e260604051057y149decb0o84f47e8f6792819c@mail.gmail.com> References: <30997e260604051057y149decb0o84f47e8f6792819c@mail.gmail.com> Message-ID: <20060405203359.GA21908@aurvandil.sahala.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On (2006-04-05 10:57), stucky wrote: > > I was using check_dns before but it would constantly give me random timeout > alerts although dns is fine. Considering that nslookup is being phased out > anyways I decided to give check_dig a try. > It works better but seems to have a bug related to the warning timeouts. > Check this out : is this on some RedHat variant bychance? there was a known RH kernel bug that was supposedly fixed, but my RHES4 still suffers from this same problem. I use check_dns.pl instead: http://www.hannes-schulz.de/?doc=proj&proj=nagios http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1%5Bp_view%5D=27 hth /joshua - -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. - Douglas Adams - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFENCm3Jr8VjiIHVH0RAn6jAKDUvO51XHqGYKfujk0yTekLEYjjYQCgtWpY wrFkmo2Zo39OjW0JoYFnf5g= =LqbT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 satish_lsurf at yahoo.com Thu Apr 6 03:27:02 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Wed, 5 Apr 2006 18:27:02 -0700 (PDT) Subject: Not able ot view hosts/services in the Trends.cgi link Message-ID: <20060406012702.95957.qmail@web53506.mail.yahoo.com> Hi, I am not able to see the hosts/services when we click the links on trends.cgi, statusmap.cgi & alert histogram.cgi.I get the common message on the lefthand side of the webpage as Host and Service State Trends Last Updated: Thu Apr 6 01:13:00 WET 2006 Nagios? - www.nagios.org Logged in as nagios - Notifications are disabled - Service checks are disabled Please help me in this regard. Thanks, Satish --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Thu Apr 6 07:31:28 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 6 Apr 2006 07:31:28 +0200 (CEST) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: <20060406012702.95957.qmail@web53506.mail.yahoo.com> References: <20060406012702.95957.qmail@web53506.mail.yahoo.com> Message-ID: On Wed, 5 Apr 2006, satish kumar wrote: > I am not able to see the hosts/services when we click the links on trends.cgi, statusmap.cgi & alert histogram.cgi.I get the common message on the lefthand side of the webpage as > > Host and Service State Trends > Last Updated: Thu Apr 6 01:13:00 WET 2006 > Nagios? - www.nagios.org > Logged in as nagios > > - Notifications are disabled > - Service checks are disabled If you read this message you should pay attention to it and enable notifications anc service checks as suggested. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 kl at vsen.dk Thu Apr 6 10:23:48 2006 From: kl at vsen.dk (Klavs Klavsen) Date: Thu, 6 Apr 2006 10:23:48 +0200 (CEST) Subject: timeperiod which excempts 1. monday every month? Message-ID: <4546.62.242.232.132.1144311828.squirrel@www.enableit.dk> Hi guys, I have a few services which we monitor with nagios, where there's a service-window every 1. monday of the month (between 2 and 5 am) and I keep getting woken by it (SMS sent to the guard). Problem is that I don't want to except every monday morning from 2 to 5am. I also have a few other servicewindows which works similarly and annoys me currently. Is this supported by any version of Nagios? -- Regards, Klavs Klavsen, GSEC - kl at vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 ingo.lantschner at edvg.at Thu Apr 6 11:10:11 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Thu, 6 Apr 2006 11:10:11 +0200 Subject: regex: supported multiplyers (f.e {2,124}) Message-ID: Hi all, the suport for regex in Nagios is really a great feature - thanks a lot for implementing it. I am wondering, which multiplyers are supported when refering to hostnames using regular expressions. F.e. [sw].*\.company\.net will match s033dc.company.net If I would like to be more specific I would write [sw][0-9]{3}[a-z]{2,124}\.company\.net This sould match any string starting with either s or w, followed by exactly 3 digits and a resonable number of characters plus the domain suffix. Seems as if Nagios does not understand this form. I could not find a clear documentation, which flavor of regex is supported. TIA, Ingo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From niederha at us.ibm.com Thu Apr 6 12:01:26 2006 From: niederha at us.ibm.com (Kyle Niederhauser) Date: Thu, 6 Apr 2006 04:01:26 -0600 Subject: Kyle Niederhauser is out of the office. Message-ID: I will be out of the office starting 04/05/2006 and will not return until 04/12/2006. I will be out of the office Wednesday April, 5th until Wednesday, April 12th. If you need assistance, please call the BP Operations at 1-877-471-6079 and ask for UNIX support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Thu Apr 6 13:16:06 2006 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 6 Apr 2006 13:16:06 +0200 Subject: CSV output out of availibility Reports Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E0215AAB5@SYGOMAIL.GOE.AD.SYCOR.DE> Hi there, I remember a patch fort he avail.cgi, with which, you could generate a csv output out of each avail.cgi report. I already did some research in this list and with google, but I can't find the patch any more. Can anyone please give me a hint, where I can download this patch? Has anyone tested this patch with the new version of the avail.cgi in Nagios 2.1? Question for Ethan: why isn't this patch integrated into the avail.cgi by default? Is this planned for a future release? Thanks in advance! _____________________________ Philipp Sand Sprach & Datenkommunikation SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ? ******************************************************************************************************************************** sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de sycor plastics - the solution for the plastic industry www.sycor-plastics.com ******************************************************************************************************************************** Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 georgiebryan at gmail.com Thu Apr 6 13:19:46 2006 From: georgiebryan at gmail.com (George Bryan) Date: Thu, 6 Apr 2006 12:19:46 +0100 Subject: Help with different hostnames that are conflicting Message-ID: <9c98ad650604060419t1443ad64tadde6387e5718346@mail.gmail.com> Hi all, i have a nagios setup with a fair lot of hostnames. While adding some more hostnames from my local infrastructure i stumbled upon two hostnames that are very similar. Example Host 1: host1.domain.com Host 2: host2.domain.com and in a different location we have: Host 3: subhost1.domain.com Host 4: subhost2.domain.com Host 3 and 4 were added after Host 1 and 2, everything was fine before adding them. But after adding we did a config check before restarting nagios and the following error came up. Nagios 2.0 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 02-07-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 1624 services. Checking hosts... Checked 372 hosts. Checking host groups... Checked 122 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 22 contacts. Checking contact groups... Checked 15 contact groups. Checking service escalations... Error: Service 'Location 2 - fPing' on host ' subhost1.domain.com' specified in service escalation is not defined anywhere! Error: Service 'Location 2 - fPing' on host 'subhost1.domain.com' specified in service escalation is not defined anywhere! Error: Service 'Location 2 - fPing' on host 'subhost1.domain.com' specified in service escalation is not defined anywhere! Error: Service 'Location 2 - fPing' on host ' subhost2.domain.com' specified in service escalation is not defined anywhere! Error: Service 'Location 2 - fPing' on host 'subhost2.domain.com' specified in service escalation is not defined anywhere! Error: Service 'Location 2 - fPing' on host 'subhost2.domain.com' specified in service escalation is not defined anywhere! Checked 4878 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 740 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 65 commands. Checking time periods... Checked 6 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 1008 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 6 The weird part is, if i remove the "domain.com" part from hosts 3 and 4, config check works fine. But i really can't do this. Can anyone shed me some light on this matter? Thanks George ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 sghosh at sghosh.org Thu Apr 6 15:19:20 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 6 Apr 2006 09:19:20 -0400 (EDT) Subject: timeperiod which excempts 1. monday every month? In-Reply-To: <4546.62.242.232.132.1144311828.squirrel@www.enableit.dk> References: <4546.62.242.232.132.1144311828.squirrel@www.enableit.dk> Message-ID: On Thu, 6 Apr 2006, Klavs Klavsen wrote: > Hi guys, > > I have a few services which we monitor with nagios, where there's a > service-window every 1. monday of the month (between 2 and 5 am) and I > keep getting woken by it (SMS sent to the guard). Problem is that I don't > want to except every monday morning from 2 to 5am. > > I also have a few other servicewindows which works similarly and annoys me > currently. > > Is this supported by any version of Nagios? > > Nagios timeperiods only considers day of week and hours in timeperiods. Otherwise the logic would have to be a whole lot of code and then having to deal with locales... The best way to get the 1st monday of the month would be to schedule down-time for the particular days. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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-users at unspeakable.net Thu Apr 6 15:28:46 2006 From: nagios-users at unspeakable.net (Sam Rowe) Date: Thu, 6 Apr 2006 09:28:46 -0400 Subject: Nagios and its config files In-Reply-To: References: Message-ID: <20060406132846.GB13151@samrowe.com> On Thu, Apr 06, 2006 at 02:08:43PM +0100, Deborah Martin wrote: # Also, one other thing is that you do need to change the cgi.cfg as below : - # # # main_config_file=/usr/local/nagios/etc/nagios.cfg <<---- change to name of # replacement Sorry to be dense, but I don't see how this solves my problem. I looked in /usr/local/nagios/etc/ for cgi.cfg to see if I could pre-populate a copy of nagios.cfg (test.cfg) with an alternate cgi.cfg file that points to test.cfg and I don't see any mention of it. I do see a hard-coded path in the output of 'strings *.cgi | grep cfg' in the nagios/sbin dir! So even if I were able to create an alternate nagios.cfg file, I'd have to modify the cgi.cfg file just to use it. I was hoping for a more elegant solution where I just say "hey nagios start with this file instead of that one!" and it *all* works. I'm guessing there's just no way to do that since the paths are hard-coded in the cgi scripts. Should I send a note to the dev list in an effort to help them not make the same mistake with the new UI? Or do the devlopers read this list? Also, we have a (kludgy) way to get around the above problem, but the .svn thing I mentioned in my first email has us basically dead in the water when it comes to doing this upgrade. Any chance of getting a 2.1.1 that doesn't traverse {RCS,.cvs,.svn} dirs? Or is that another question for the dev list? Thanks for trying to help Deborah! -Sam ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Edwin.Zoeller at ama-assn.org Thu Apr 6 15:51:08 2006 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Thu, 6 Apr 2006 08:51:08 -0500 Subject: Putting Host/Services in maintenance mode Message-ID: Can someone explain to me when putting a host and/or service in maintenance mode how the downtime is calculated? I generate a monthly report for management and a question always comes up about availability and my boss says that it is broken. Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: From kl at vsen.dk Thu Apr 6 16:05:04 2006 From: kl at vsen.dk (Klavs Klavsen) Date: Thu, 6 Apr 2006 16:05:04 +0200 (CEST) Subject: timeperiod which excempts 1. monday every month? In-Reply-To: References: <4546.62.242.232.132.1144311828.squirrel@www.enableit.dk> Message-ID: <3949.62.242.232.132.1144332304.squirrel@www.enableit.dk> On Thu, April 6, 2006 15:19, Subhendu Ghosh said: [SNIP] > Nagios timeperiods only considers day of week and hours in timeperiods. > Otherwise the logic would have to be a whole lot of code and then having > to deal with locales... > > The best way to get the 1st monday of the month would be to schedule > down-time for the particular days. > Can I automatically schedule downtime ? otherwise we'll have to remember to do that every month :( -- Regards, Klavs Klavsen, GSEC - kl at vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 kl at vsen.dk Thu Apr 6 16:12:43 2006 From: kl at vsen.dk (Klavs Klavsen) Date: Thu, 6 Apr 2006 16:12:43 +0200 (CEST) Subject: timeperiod which excempts 1. monday every month? In-Reply-To: References: <4546.62.242.232.132.1144311828.squirrel@www.enableit.dk> Message-ID: <4031.62.242.232.132.1144332763.squirrel@www.enableit.dk> I've heard there's a perl API for nagios, can I schedule downtime via that? (by writing my own script ofcourse :) -- Regards, Klavs Klavsen, GSEC - kl at vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Thomas.Zimmer at oppenheim.de Thu Apr 6 16:17:45 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 6 Apr 2006 16:17:45 +0200 Subject: AW: timeperiod which excempts 1. monday every mont h? Message-ID: There are many posts about this issue in the archives. Have a look here: http://www.nagiosexchange.org/Search_Projects.43.0.html?tx_netnagext_pi1%5Bp hrase%5D=downtime&tx_netnagext_pi1%5Bsearch%5D=1 Greetz, 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 -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Klavs Klavsen Gesendet: Donnerstag, 6. April 2006 16:13 An: Subhendu Ghosh Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] timeperiod which excempts 1. monday every month? I've heard there's a perl API for nagios, can I schedule downtime via that? (by writing my own script ofcourse :) -- Regards, Klavs Klavsen, GSEC - kl at vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From m.degerholm at inpharmatica.co.uk Thu Apr 6 16:20:06 2006 From: m.degerholm at inpharmatica.co.uk (Mathew Degerholm) Date: Thu, 06 Apr 2006 15:20:06 +0100 Subject: max plugin output length Message-ID: <44352396.7060402@inpharmatica.co.uk> Hi all, I have been using Nagios for a few months now, and love it. I've recently started to graph the disk usage, but have run into a problem with my check_disk perfdata being truncated. A quick search through the archives yields some posts which mention MAX_PLUGINOUTPUT_LENGTH being limited to 352 bytes, however these posts were from 2002 so I wonder if things have changed since then? Is this still an issue? Should I increase this buffer and recompile nagios, or is there a better way to solve this problem? Any information would be appreciated. (FYI - I'm using nagios 2.0b4 on Solaris 8.) Thanks in advance, -- mat _________________________________ Mathew Degerholm Unix System Adminstrator Inpharmatica, London e: m.degerholm at inpharmatica.co.uk p: 020 7074 4686 m: 077 6744 5885 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Ludo.Joris at ua.ac.be Thu Apr 6 16:22:06 2006 From: Ludo.Joris at ua.ac.be (Joris Ludo) Date: Thu, 6 Apr 2006 16:22:06 +0200 Subject: timeperiod which excempts 1. monday every month? Message-ID: <6F4167A3F15BC8448499A824129D67E201171441@xmail04.ad.ua.ac.be> Hi, Why don't you use external commands as in http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=118 on the Nagios server from cron or send them with send_nsca from another server? HTH, Ludo -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Namens Klavs Klavsen Verzonden: donderdag 6 april 2006 16:13 Aan: Subhendu Ghosh CC: nagios-users at lists.sourceforge.net Onderwerp: Re: [Nagios-users] timeperiod which excempts 1. monday every month? I've heard there's a perl API for nagios, can I schedule downtime via that? (by writing my own script ofcourse :) -- Regards, Klavs Klavsen, GSEC - kl at vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 kl at vsen.dk Thu Apr 6 16:45:59 2006 From: kl at vsen.dk (Klavs Klavsen) Date: Thu, 6 Apr 2006 16:45:59 +0200 (CEST) Subject: timeperiod which excempts 1. monday every month? In-Reply-To: <6F4167A3F15BC8448499A824129D67E201171441@xmail04.ad.ua.ac.be> References: <6F4167A3F15BC8448499A824129D67E201171441@xmail04.ad.ua.ac.be> Message-ID: <4420.62.242.232.132.1144334759.squirrel@www.enableit.dk> On Thu, April 6, 2006 16:22, Joris Ludo said: > Hi, > > Why don't you use external commands as in > http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com > mand_id=118 > on the Nagios server from cron or send them with send_nsca from another > server? > [SNIP] Thanks Joris - that's a very good solution to the problem :) Nice to learn something new :) -- Regards, Klavs Klavsen, GSEC - kl at vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 mfrost66 at optonline.net Thu Apr 6 16:48:45 2006 From: mfrost66 at optonline.net (Mark Frost) Date: Thu, 06 Apr 2006 10:48:45 -0400 Subject: no macros for service perfdata processing command Message-ID: <44352A4D.7040804@optonline.net> Hello. I was working on making nagiosgraph/rrdtool work with my Nagios 2.0 installation when I came upon this issue. I have the following in nagios.cfg: process_performance_data=1 service_perfdata_file=/var/spool/nagios/perfdata.log service_perfdata_file_template=[SERVICEPERFDATA]\t$TIME$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ service_perfdata_file_processing_command=process-service-perfdata In checkcommands.cfg I initially tried the default of: define command { command_name process-service-perfdata command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /usr/local/nagios/var/service-perfdata.out } I found that I saw output that I expected in /var/spool/nagios/perfdata.log (i.e. real hostname, servicename, stuff, etc), but the target file of the process-service-perfdata command yielded nothing but emtpy lines. I tried replacing the printf with simple echo's of individual macros and got nothing. I changed the command line to a shell script that did nothing but echo it's shell environment to a file and any arguments passed on the command line. The shell environment showed up in the file but the only things that showed up from the shell script's command line were non-macros. For example, I had command_line /usr/local/nagios/etc/M.sh FOO $HOSTNAME$ and I'd see "FOO" in the output file. The shell script had an "env >> /tmp/output" line in it so I could see the shell environment. There were lots of nagios env variables there, but most were empty including things like $NAGIOS_SERVICEDESC. Clearly the macros are being expanded elsewhere (host/service checking commands, and writing directly to the perfdata file), but I can't get them to be available at all with my perfdata processing command. What am I doing wrong? I've recently fired up Nagios 2.1 and run with the same configuration and it made no difference. Thanks Mark ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 pbrown3 at schsd.org Thu Apr 6 17:08:11 2006 From: pbrown3 at schsd.org (Peter Brown) Date: Thu, 6 Apr 2006 08:08:11 -0700 Subject: max plugin output length Message-ID: <022FCF216B866845AC244C895E9F1F9804DCF52B@noc-ex01.schsd.org> Mathew- not to skirt the real issue, but I've always found that you want to use the right tool for the job. Nagios is a great tool but it's primarily a threshold alerter, and not a grapher. Use MRTG/Cricket to track disk usage, they work better at it. ...then again it's just an opinion... - Peter Brown -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mathew Degerholm Sent: Thursday, April 06, 2006 7:20 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] max plugin output length Hi all, I have been using Nagios for a few months now, and love it. I've recently started to graph the disk usage, but have run into a problem with my check_disk perfdata being truncated. A quick search through the archives yields some posts which mention MAX_PLUGINOUTPUT_LENGTH being limited to 352 bytes, however these posts were from 2002 so I wonder if things have changed since then? Is this still an issue? Should I increase this buffer and recompile nagios, or is there a better way to solve this problem? Any information would be appreciated. (FYI - I'm using nagios 2.0b4 on Solaris 8.) Thanks in advance, -- mat _________________________________ Mathew Degerholm Unix System Adminstrator Inpharmatica, London e: m.degerholm at inpharmatica.co.uk p: 020 7074 4686 m: 077 6744 5885 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 td3201 at gmail.com Thu Apr 6 17:49:34 2006 From: td3201 at gmail.com (Terry) Date: Thu, 6 Apr 2006 10:49:34 -0500 Subject: Putting Host/Services in maintenance mode In-Reply-To: References: Message-ID: <8ee061010604060849p258eecd3t9fe7acc4146a5d15@mail.gmail.com> Math sucks: Unscheduled 6d 20h 55m 39s 98.171% 98.212% Scheduled 0d 3h 0m 11s 1.788% 1.788% Total 6d 23h 55m 50s 99.959% 100.000% Break it down into seconds: Unscheduled: 593739 Scheduled : 10811 Total : 604550 10811/604550 == 0.017882723 0.017882723 == 1.788% in the scheduled downtime. I hope I am on the right track with your question. On 4/6/06, Edwin Zoeller wrote: > > Can someone explain to me when putting a host and/or service in maintenance > mode how the downtime is calculated? I generate a monthly report for > management and a question always comes up about availability and my boss > says that it is broken. > > Ed ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 msugano at uolinc.com Thu Apr 6 18:09:23 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 06 Apr 2006 13:09:23 -0300 Subject: Nagios 2.1 problems. In-Reply-To: <4432F58A.6070508@ilm.com> References: <1144187108.22275.8.camel@localhost> <4432F58A.6070508@ilm.com> Message-ID: <1144339763.3286.14.camel@localhost> My problem regards only to nagios 2.1, differently of your recurrent problem since 2.0b+, rc's and 2.1. In my setup, we have status retention configured on the Central Nagios, just to not loose the alarm duration data, it's a request from the NOC people, which go along with the refreshes of Service Status Detail Page to determine if there is a need to open a ticket. We are moving to the direction of automate ticketing, but for now, this is the way things are done. It appears when some new configuration is placed in production and a restart of Nagios is issued, then, the retention file do not get updated as expected, launching some old alerts on the Service Status Detail page, alerts with long duration, that were ticketed and resolved by the time it appears in the first place. For example, an old Disk Space alarm, showing a duration of 2d 12h 32m 43s. Despite that, I have no other problems relating to service scheduling, or Nagios forgetting to follow the service check schedule. The change that make me upgrade from 2.0 to 2.1 was just the freshness check logic improvement, because we suffer a lot with that. Thank you for your time, Marcel Mitsuto. On Tue, 2006-04-04 at 15:39 -0700, Eli Stair wrote: > What issues are you having with retention, I haven't noticed any posts > to that effect on the list. If you search, you'll find the issues I've > had with state retention. There is at least one other user having > (nearly) identical issues to mine, I'd like to know if you've had > similar problems. > > > /eli > > Marcel Mitsuto Fucatu Sugano wrote: > > Watching the list activity gives me an impression about the new 2.1 > > release of Nagios. I have just downgraded to 2.0 version because of some > > problems with retention setup, and I am also not confortable with the > > fact of many reports on service flapping detection problems. > > > > Is there anyone having status retention problem, or i am alone with > > that? Or, should I ask, Is there anyone with retention setup using > > Nagios 2.1? > > > > Thanks in advance. > > > > 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/. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 > > > 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 ktynagios at richard-group.com Thu Apr 6 18:13:51 2006 From: ktynagios at richard-group.com (Kurt Yoder) Date: Thu, 6 Apr 2006 12:13:51 -0400 Subject: "double free or corruption" message In-Reply-To: <851953F2-AC3F-4716-8D67-DB1AF9F0B474@richard-group.com> References: <851953F2-AC3F-4716-8D67-DB1AF9F0B474@richard-group.com> Message-ID: <94C00338-686D-46D8-9054-0CA7A7BDB49E@richard-group.com> No response... anyone?? Bueller? Bueller? At least can I get some more information on how to debug this better? The crashes seem to be almost random. Sometimes it will run for a week, sometimes only 30 minutes. Would it be incompatibility of glibc versions, perl, and the nagios version? On Mar 16, 2006, at 1:52 PM, Kurt Yoder wrote: > Hi list > > Recently my main nagios process started crashing. After switching > it to foreground so I can see what's going on, I found this message > after the latest crash: > > *** glibc detected *** double free or corruption (!prev): > 0x080a4820 *** > Aborted > > > The main process usually runs several hours before it crashes like > this. It seems to have started doing this yesterday, though I can't > think of anything significant that I changed on the monitoring > server around that time. > > I'm using Nagios 1.3 (Debian package is 1.3-cvs.20050402-2.sarge.1) > and glibc 2.95.4. Can anyone offer any suggestions toward fixing > this so it stops crashing? > > -Kurt ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 jgourd at gmail.com Thu Apr 6 18:24:46 2006 From: jgourd at gmail.com (Jonathan Gourd) Date: Thu, 6 Apr 2006 12:24:46 -0400 Subject: Turn on Notifications en masse? Message-ID: I finally got notifications to happen. I have noticed that in the web admin there is a notification icon with an X over it for all the services. I had to manually enable the notifications for each server and host one at a time via the web admin. Is there a config file I can edit that enables them all? -- ----- Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=amdvdXJk ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Deborah.Martin at Kognitio.com Thu Apr 6 18:26:35 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 6 Apr 2006 17:26:35 +0100 Subject: Performance data in web interface of Nagios Message-ID: Hi, I'm using Nagios 2.0 on Suse 9.3 which runs without any issues. However, one thing i've been meaning to find out is why on the web interface, when you select a service check to view, the 'Performance Data' field is empty under the 'Service State information'. What do I need to configure to get this field to give me meaningful info - I've trawled my cfg files and I have enabled the options I think relevant for this so I'm not sure what i've missed. Has anybody else had this working ? Any pointers to docs or suggestions would be appreciated. regs, deborah ************************************************************************ 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. *********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 radhiilu at yahoo.com Thu Apr 6 19:41:19 2006 From: radhiilu at yahoo.com (Radhika) Date: Thu, 6 Apr 2006 10:41:19 -0700 (PDT) Subject: Hosts status updating very slow Message-ID: <20060406174119.47045.qmail@web60725.mail.yahoo.com> Hi Guys, My nagios server host status is updating very slow my configuration setting are correct and i don't know why my host status updating after 15-20 min.We are testing the servers to check the nagios functionality. I am using nagios 1.3 under debian Thanks for your help --------------------------------- Blab-away for as little as 1?/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice. -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at gmail.com Thu Apr 6 20:15:07 2006 From: td3201 at gmail.com (Terry) Date: Thu, 6 Apr 2006 13:15:07 -0500 Subject: Turn on Notifications en masse? In-Reply-To: References: Message-ID: <8ee061010604061115l2bfd6b3dge1a262ae2fba9c0c@mail.gmail.com> I am not sure how you disabled notifications but there is the ENABLE_NOTIFICATIONS external command. Likewise, there is a DISABLE_NOTIFICATIONS external command as well: http://www.nagios.org/developerinfo/externalcommands/commandlist.php You can very easily write a CGI to execute the external commands with a single click. On 4/6/06, Jonathan Gourd wrote: > I finally got notifications to happen. I have noticed that in the web > admin there is a notification icon with an X over it for all the > services. I had to manually enable the notifications for each server > and host one at a time via the web admin. Is there a config file I can > edit that enables them all? > > -- > ----- > Fight back spam! Download the Blue Frog. > http://www.bluesecurity.com/register/s?user=amdvdXJk > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&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 > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 td3201 at gmail.com Thu Apr 6 20:16:42 2006 From: td3201 at gmail.com (Terry) Date: Thu, 6 Apr 2006 13:16:42 -0500 Subject: Performance data in web interface of Nagios In-Reply-To: References: Message-ID: <8ee061010604061116k6aa94c6en155ff4ff9009d16f@mail.gmail.com> process_performance_data=1 in nagios.cfg? On 4/6/06, Deborah Martin wrote: > Hi, > > I'm using Nagios 2.0 on Suse 9.3 which runs without any issues. > > However, one thing i've been meaning to find out is why on the web > interface, when you select a service check to view, the 'Performance Data' > field is empty under the 'Service State information'. > > What do I need to configure to get this field to give me meaningful info - > I've trawled my cfg files and I have > enabled the options I think relevant for this so I'm not sure what i've > missed. > > Has anybody else had this working ? > > Any pointers to docs or suggestions would be appreciated. > > regs, > deborah > > ************************************************************************ > 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. > *********************************************************************** > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 patrick.morris at hp.com Thu Apr 6 20:24:58 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 6 Apr 2006 11:24:58 -0700 Subject: Performance data in web interface of Nagios In-Reply-To: <8ee061010604061116k6aa94c6en155ff4ff9009d16f@mail.gmail.com> References: <8ee061010604061116k6aa94c6en155ff4ff9009d16f@mail.gmail.com> Message-ID: <20060406182458.GY27920@hermes.americas.hpqcorp.net> In this case, that won't help. that just tells Nagios whether or not to process perf data it receives from the plugins. Not all plugins provide performance data, and it sounds like that's the case here. On Thu, 06 Apr 2006, Terry wrote: > process_performance_data=1 in nagios.cfg? > > On 4/6/06, Deborah Martin wrote: > > Hi, > > > > I'm using Nagios 2.0 on Suse 9.3 which runs without any issues. > > > > However, one thing i've been meaning to find out is why on the web > > interface, when you select a service check to view, the 'Performance Data' > > field is empty under the 'Service State information'. > > > > What do I need to configure to get this field to give me meaningful info - > > I've trawled my cfg files and I have > > enabled the options I think relevant for this so I'm not sure what i've > > missed. > > > > Has anybody else had this working ? > > > > Any pointers to docs or suggestions would be appreciated. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 b00mer at gmx.net Thu Apr 6 20:54:39 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Thu, 06 Apr 2006 20:54:39 +0200 Subject: Performance data in web interface of Nagios In-Reply-To: References: Message-ID: <443563EF.4010005@gmx.net> Hi Deborah, you just need to execute Plugins with performance data in their output. AFAIK most of the Plugins out of the actual package (version 1.4.2 I think) are dealing with perfdata. Deborah Martin schrieb: >Hi, > >I'm using Nagios 2.0 on Suse 9.3 which runs without any issues. > >However, one thing i've been meaning to find out is why on the web >interface, when you select a service check to view, the 'Performance Data' >field is empty under the 'Service State information'. > >What do I need to configure to get this field to give me meaningful info - >I've trawled my cfg files and I have >enabled the options I think relevant for this so I'm not sure what i've >missed. > >Has anybody else had this working ? > >Any pointers to docs or suggestions would be appreciated. > >regs, >deborah > >************************************************************************ >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. >*********************************************************************** > > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 bamapookie at gmail.com Thu Apr 6 21:56:29 2006 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Thu, 6 Apr 2006 15:56:29 -0400 Subject: Timeperiods and notifications Message-ID: I would like to configure some services to send initial notifications 24x7, and subsequent notifications only during busines hours. For example, if a host goes down at 3:00pm, and comes back up at 8:00pm, emails would go out at 3:00 (initial down), 3:30 (still down), 4:00 (still down), 4:30 (still down), 5:00 (still down), 8:00pm (recovery). Is it possible to do this? Maybe with service escallations? -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at gmail.com Thu Apr 6 23:10:08 2006 From: td3201 at gmail.com (Terry) Date: Thu, 6 Apr 2006 16:10:08 -0500 Subject: host checks - ping service Message-ID: <8ee061010604061410w78315945w39458b761d8ecaa8@mail.gmail.com> Hello, I think I am confusing myself here as I migrate to 2.0. It is pointless to have a ping service for a host that has a host check_command specified (assuming its check-host-alive), correct? Nagios will, in my case, ping the host if a service check fails anyways, right? Thanks, Terry ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 ricardo.maraschini at opservices.com.br Thu Apr 6 23:11:47 2006 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Thu, 06 Apr 2006 18:11:47 -0300 Subject: Group of hostgroups. In-Reply-To: References: <20060406012702.95957.qmail@web53506.mail.yahoo.com> Message-ID: <44358413.4040700@opservices.com.br> hello people i want to group hostgroups under a generic group. Nagios can do this? For example. I want to create a html link that show me only 3 host groups. Link "Generic Group Business" show me only the hostgroups Windows ane Linux, no the hostgroup AIX. :) thxs ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Thu Apr 6 23:28:31 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 6 Apr 2006 23:28:31 +0200 (CEST) Subject: Group of hostgroups. In-Reply-To: <44358413.4040700@opservices.com.br> References: <20060406012702.95957.qmail@web53506.mail.yahoo.com> <44358413.4040700@opservices.com.br> Message-ID: On Thu, 6 Apr 2006, Ricardo Maraschini wrote: > i want to group hostgroups under a generic group. Nagios can do this? If your question is: Can a hostgroup be a member of another hostgroup? The answer is: no. But you are free to make a host member of multiple host groups. If your question was intended to ask another question you have to rephrase your question I guess. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 askthelist at gmail.com Fri Apr 7 00:30:11 2006 From: askthelist at gmail.com (Ask List) Date: Thu, 6 Apr 2006 15:30:11 -0700 Subject: Freebsd/Nagios Message-ID: We currentlly run nagios 2.0 on FreeBSD 6.0. We noticed the bug that was posted at this link: http://nagios.sourceforge.net/docs/2_0/whatsnew.html . I have noticed on three occassions where one of the nagios-plugins was hung and spiking the load. On two of the occasions no plugins were executed after the plugin that was hung. On the third occasion the plugins were still executing (rather slowly) even after a plugin had hung. Is this the same issue? This has become a major problem for us becuase monitoring is mission critical and we are to the point of moving to a linux based distribution. I'd rather not. Has anyone had similar experiences with nagios on freebsd or nagios plugins hanging? Can anyone tell me anything more about this FreeBSD bug, such as has it been fixed in 2.1 or when/if it will be fixed? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Fri Apr 7 00:35:07 2006 From: jhmartin at toger.us (Jason Martin) Date: Thu, 6 Apr 2006 15:35:07 -0700 Subject: Freebsd/Nagios In-Reply-To: References: Message-ID: <20060406223507.GN23485@mal.toger.us> On Thu, Apr 06, 2006 at 03:30:11PM -0700, Ask List wrote: > We currentlly run nagios 2.0 on FreeBSD 6.0. We noticed the bug that was > posted at this link: http://nagios.sourceforge.net/docs/2_0/whatsnew.html . > I have noticed on three occassions where one of the nagios-plugins was hung It sounds like the problem is plugin based, not Nagios based. Which plugin was hung / spiked? What exact version of the plugin was it? So on and so forth.. -Jason Martin -- If you're not confused, you're not paying attention. 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: From askthelist at gmail.com Fri Apr 7 00:38:59 2006 From: askthelist at gmail.com (Ask List) Date: Thu, 6 Apr 2006 15:38:59 -0700 Subject: Freebsd/Nagios In-Reply-To: <20060406223507.GN23485@mal.toger.us> References: <20060406223507.GN23485@mal.toger.us> Message-ID: Im not sure which plugin it was. On 4/6/06, Jason Martin wrote: > > On Thu, Apr 06, 2006 at 03:30:11PM -0700, Ask List wrote: > > We currentlly run nagios 2.0 on FreeBSD 6.0. We noticed the bug that was > > posted at this link: > http://nagios.sourceforge.net/docs/2_0/whatsnew.html . > > I have noticed on three occassions where one of the nagios-plugins was > hung > It sounds like the problem is plugin based, not Nagios based. > Which plugin was hung / spiked? What exact version of the plugin > was it? So on and so forth.. > > -Jason Martin > -- > If you're not confused, you're not paying attention. > This message is PGP/MIME signed. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From satish_lsurf at yahoo.com Fri Apr 7 04:58:02 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Thu, 6 Apr 2006 19:58:02 -0700 (PDT) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: References: Message-ID: <20060407025802.92711.qmail@web53501.mail.yahoo.com> I have enabled the service check/notification. It is a full fledged monitoring server except for these three links not working. Please let me know Cheers, Hugo van der Kooij wrote: On Wed, 5 Apr 2006, satish kumar wrote: > I am not able to see the hosts/services when we click the links on trends.cgi, statusmap.cgi & alert histogram.cgi.I get the common message on the lefthand side of the webpage as > > Host and Service State Trends > Last Updated: Thu Apr 6 01:13:00 WET 2006 > Nagios? - www.nagios.org > Logged in as nagios > > - Notifications are disabled > - Service checks are disabled If you read this message you should pay attention to it and enable notifications anc service checks as suggested. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 --------------------------------- Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at Dest.gov.au Fri Apr 7 05:43:48 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 7 Apr 2006 13:43:48 +1000 Subject: CSV output out of availibility Reports Message-ID: Dear Sir, I am writing to thank you for your letter and say, >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of >nagios-users-request at lists.sourceforge.net >Sent: Friday, 7 April 2006 13:16 >To: nagios-users at lists.sourceforge.net >Subject: Nagios-users digest, Vol 1 #3123 - 37 msgs ... >Message: 5 >Date: Thu, 6 Apr 2006 13:16:06 +0200 >From: "Sand Philipp" >Subject: [Nagios-users] CSV output out of availibility Reports > >Hi there, > >I remember a patch fort he avail.cgi, with which, you could >generate a cs= v output out of each avail.cgi report. I >already did some research in this list and with google, but I >can't fin= d the patch any more. Can anyone please give me a >hint, where I can download this patch? Has anyone tested this >patch with the new version of the avail.cgi in Nag= ios 2.1? avail.cgi has _always_ done CSV output (as long as you choose all hosts or all services). It's up to you to filter the CSV by any means you care to choose. If you want some help, try - either putting all the CSV records in a DB and use SQL (if you are serious about reporting you prob want to do this). - Nagios::Report (munges and filters the CSV from avail.cgi). > >Question for Ethan: why isn't this patch integrated into the >avail.cgi by= default? Is this planned for a future release? Patches welcome. BTW, there are bugs in avail.cgi relating to scheduled down time that are probably more important than this. > >Thanks in advance! I probably didn't do your letter justice. It seems on reflection that you meant you want the patch for avail.cgi that generates CSV from a specific availability report eg a new link in the report for a host or service that does CSV. However, I think it has been made pretty clear from the Nag roadmap that the CGIs have been end of lifed and will be replaced by PHP. I think that is a much better use of scare developer resources than trying to fix difficult and fragile code. As Radia Perlman said about sub-optimal routing, 'people should be grateful that their data is delivered at all'. Yours sincerely. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 hvdkooij at vanderkooij.org Fri Apr 7 07:22:41 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 7 Apr 2006 07:22:41 +0200 (CEST) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: <20060407025802.92711.qmail@web53501.mail.yahoo.com> References: <20060407025802.92711.qmail@web53501.mail.yahoo.com> Message-ID: On Thu, 6 Apr 2006, satish kumar wrote: > I have enabled the service check/notification. It is a full fledged monitoring server except for these three links not working. And how can we verify your statement? You have to show your config to this list of all relevant parts. None of the readers here can tell anything about your config unless you show 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 rashmi83 at gmail.com Fri Apr 7 08:54:19 2006 From: rashmi83 at gmail.com (rash) Date: Fri, 7 Apr 2006 12:24:19 +0530 Subject: API's . Message-ID: Hi , I am in the process of writing a nagios connector to integrate with our exisiting framework. Could you please send me the link for different programmatic interface that Nagios has and where I could download it. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Fri Apr 7 09:20:26 2006 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 7 Apr 2006 09:20:26 +0200 Subject: AW: RE: CSV output out of availibility Reports Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E0215AAF4@SYGOMAIL.GOE.AD.SYCOR.DE> > >Hi there, > > > >I remember a patch fort he avail.cgi, with which, you could > >generate a cs= v output out of each avail.cgi report. I > >already did some research in this list and with google, but I > >can't fin= d the patch any more. Can anyone please give me a > >hint, where I can download this patch? Has anyone tested this > >patch with the new version of the avail.cgi in Nag= ios 2.1? > avail.cgi has _always_ done CSV output (as long as you choose > all hosts or all services). > It's up to you to filter the CSV by any means you care to choose. > If you want some help, try > - either putting all the CSV records in a DB and use SQL > (if you are serious about reporting you prob want to do this). > - Nagios::Report > (munges and filters the CSV from avail.cgi). I was aware, that you can do this csv output when selecting all services or all hosts. As wehave about 500 Hosts and 3000 Services, this is no option when you want to make a report for the last 90 days. As I said, there had been a patch for this, which I already applied to my old Nagios Installation, but I didn't save this patch, and don't know where I can download it. > >Question for Ethan: why isn't this patch integrated into the > >avail.cgi by= default? Is this planned for a future release? > Patches welcome. When this patch would have been applied to the avail.cgi, I wouldn't have the problem I got now ;) > BTW, there are bugs in avail.cgi relating to scheduled down time > that are probably more important than this. I know, I already had to fight with this Problem, but I think that this bug is fixed in 2.1. > >Thanks in advance! > > I probably didn't do your letter justice. It seems on reflection that > you meant you want the patch for avail.cgi that generates CSV from > a specific availability report eg a new link in the report for > a host or service that does CSV. > However, I think it has been made pretty clear from the Nag roadmap that > the CGIs have been end of lifed and will be replaced by PHP. I think > that > is a much better use of scare developer resources than trying > to fix difficult and fragile code. As I said obove, the patch had already been developed, so you don't need to sink hundrets of hours to apply it. I'm totally aware of the Nagios Roadmap. But I'm not expecting Nagios 3.0 to be released in the near future. > > As Radia Perlman said about sub-optimal routing, 'people should be > grateful > that their data is delivered at all'. Hmm, would be nice to see, when you tell this to your customers :-) Philipp ******************************************************************************************************************************** sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de sycor plastics - the solution for the plastic industry www.sycor-plastics.com ******************************************************************************************************************************** Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 shivkumar at outbackwifi.com Fri Apr 7 12:29:12 2006 From: shivkumar at outbackwifi.com (Shivkumar) Date: Fri, 7 Apr 2006 15:59:12 +0530 (IST) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: References: <20060407025802.92711.qmail@web53501.mail.yahoo.com> Message-ID: <33057.203.197.238.213.1144405752.squirrel@www.outbackwifi.com> Refer Your Mail : Begin Quote Hugo van der KooijEnd Quote > On Thu, 6 Apr 2006, satish kumar wrote: > >> I have enabled the service check/notification. It is a full fledged >> monitoring server except for these three links not working. > > And how can we verify your statement? You have to show your config to this > list of all relevant parts. None of the readers here can tell anything > about your config unless you show 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. > > Hi, What constitutes a "full fledged" monitoring server? One with Notifications & Services disabled? IMHO, its your browser thats broken. Pl check with at least two other (non-proprietary) browsers like firefox etc and let us know what happens ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ingo.lantschner at edvg.at Fri Apr 7 13:06:45 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Fri, 7 Apr 2006 13:06:45 +0200 Subject: Antwort: Turn on Notifications en masse? In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 06.04.2006 18:24:46: > I finally got notifications to happen. I have noticed that in the web > admin there is a notification icon with an X over it for all the > services. I had to manually enable the notifications for each server > and host one at a time via the web admin. Is there a config file I can > edit that enables them all? did you set notifications_enabled to 1 in the cfg-files? You can use templates in the servicedefinitions to set it on all Services by means of a single instance. see http://nagios.sourceforge.net/docs/2_0/templaterecursion.html hth, ingo -------------- next part -------------- An HTML attachment was scrubbed... URL: From melkiades at gmail.com Fri Apr 7 13:16:03 2006 From: melkiades at gmail.com (Melkiades) Date: Fri, 7 Apr 2006 13:16:03 +0200 Subject: PING WARNING - DUPLICATES FOUND! Message-ID: Hi there!! Maybe this is a newbie question, but i haven't been able to found in Meulie's Nagios Forum (http://www.meulie.net/portal_plugins/forum/forum_viewforum.php?21) or Nagios-users Archives (http://sourceforge.net/mailarchive/forum.php?forum=nagios-users) Environment: * Nagios 2.1 on SuSE Linux 10.0 OSS (kernel 2.6.13) * check_ping in checkcommands.cfg ____# 'check_ping' command definition ____define command{ ____ command_name check_ping ____ command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ ____ } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Sameka.Prather at noaa.gov Fri Apr 7 14:52:20 2006 From: Sameka.Prather at noaa.gov (Sameka Prather) Date: Fri, 07 Apr 2006 08:52:20 -0400 Subject: Error when starting nagios In-Reply-To: <1143816581.14065.35.camel@chi101100.int.tt.local> References: <442BEC69.1090204@vegait.com.br> <442C410D.3020500@noaa.gov> <1143751084.14065.18.camel@chi101100.int.tt.local> <442D21E4.1090509@noaa.gov> <1143816581.14065.35.camel@chi101100.int.tt.local> Message-ID: <44366084.5020609@noaa.gov> Hello Again Jeff, I do apologize for the delay in my response. I ran the the nagios script with -x and this was the output. I still unclear to me why I get the error. Any ideas would be greatly appreciated. See below [root at case1 init.d]# service nagios start + '[' -f /etc/rc.d/init.d/functions ']' + . /etc/rc.d/init.d/functions ++ TEXTDOMAIN=initscripts ++ umask 022 ++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin ++ export PATH ++ '[' -z '' ']' ++ COLUMNS=80 ++ '[' -z '' ']' +++ /sbin/consoletype ++ CONSOLETYPE=pty ++ '[' -f /etc/sysconfig/i18n -a -z '' ']' ++ . /etc/sysconfig/i18n +++ LANG=en_US.UTF-8 +++ SUPPORTED=en_US.UTF-8:en_US:en +++ SYSFONT=latarcyrheb-sun16 ++ '[' pty '!=' pty ']' ++ export LANG ++ '[' -z '' ']' ++ '[' -f /etc/sysconfig/init ']' ++ . /etc/sysconfig/init +++ BOOTUP=color +++ GRAPHICAL=yes +++ RES_COL=60 +++ MOVE_TO_COL=echo -en \033[60G +++ SETCOLOR_SUCCESS=echo -en \033[0;32m +++ SETCOLOR_FAILURE=echo -en \033[0;31m +++ SETCOLOR_WARNING=echo -en \033[0;33m +++ SETCOLOR_NORMAL=echo -en \033[0;39m +++ LOGLEVEL=3 +++ PROMPT=yes ++ '[' pty = serial ']' ++ '[' color '!=' verbose ']' ++ INITLOG_ARGS=-q + prefix=/usr/local/nagios + exec_prefix=/usr/local/nagios + NagiosBin=/usr/local/nagios/bin/nagios + NagiosCfg=/usr/local/nagios/etc/nagios.cfg + NagiosLog=/usr/local/nagios/var/status.log + NagiosTmp=/usr/local/nagios/var/nagios.tmp + NagiosSav=/usr/local/nagios/var/status.sav + NagiosCmd=/usr/local/nagios/var/rw/nagios.cmd + NagiosVar=/usr/local/nagios/var + NagiosRun=/usr/local/nagios/var/nagios.lock + NagiosLckDir=/var/lock/subsys + NagiosLckFile=nagios + NagiosCGI=/usr/local/nagios/sbin + Nagios=apache + test -f /usr/local/nagios/bin/nagios + test -f /usr/local/nagios/etc/nagios.cfg + echo 'Starting network monitor: nagios' Starting network monitor: nagios + su -l apache -c 'touch /usr/local/nagios/var/nagios.log /usr/local/nagios/var/status.sav' *This account is currently not available. * + rm -f /usr/local/nagios/var/rw/nagios.cmd + /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg + '[' -d /var/lock/subsys ']' + touch /var/lock/subsys/nagios + sleep 1 + status_nagios nagios + test '!' -f /usr/local/nagios/var/nagios.lock ++ head -n 1 /usr/local/nagios/var/nagios.lock + NagiosPID=18594 + test -x /usr/local/nagios/sbin/daemonchk.cgi + ps -p 18594 PID TTY TIME CMD 18594 ? 00:00:00 nagios + return 0 Thank you, Sameka Prather Office of Internet Services sameka.prather at noaa.gov 301-713-1384 x 109 jeff vier wrote: > On Fri, 2006-03-31 at 07:34 -0500, Sameka Prather wrote: > >> I am not sure what you mean. Do you want me to add -s to the first >> line in the script #! -x? So that line would look like #! /bin/sh -x. >> > > without the space after the #!, yes. > > #!/bin/sh -x > > a quick google search found: > http://www.injunea.demon.co.uk/pages/page213.htm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Fri Apr 7 15:21:53 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 07 Apr 2006 08:21:53 -0500 Subject: Error when starting nagios In-Reply-To: <44366084.5020609@noaa.gov> References: <442BEC69.1090204@vegait.com.br> <442C410D.3020500@noaa.gov> <1143751084.14065.18.camel@chi101100.int.tt.local> <442D21E4.1090509@noaa.gov> <1143816581.14065.35.camel@chi101100.int.tt.local> <44366084.5020609@noaa.gov> Message-ID: <1144416113.18330.53.camel@chi100400> On Fri, 2006-04-07 at 08:52 -0400, Sameka Prather wrote: > Hello Again Jeff, > > I do apologize for the delay in my response. > I ran the the nagios script with -x and this was the output. I still > unclear to me why I get the error. Any ideas would be greatly > appreciated. See below > + su -l apache -c > 'touch /usr/local/nagios/var/nagios.log /usr/local/nagios/var/status.sav' > This account is currently not available. What shell is your apache account? I'm betting it's /bin/true or /bin/false or the login is locked or something. -------------- 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 rafaelc at vegait.com.br Fri Apr 7 15:31:35 2006 From: rafaelc at vegait.com.br (Rafael Bandeira da Costa) Date: Fri, 07 Apr 2006 10:31:35 -0300 Subject: host checks - ping service In-Reply-To: <8ee061010604061410w78315945w39458b761d8ecaa8@mail.gmail.com> References: <8ee061010604061410w78315945w39458b761d8ecaa8@mail.gmail.com> Message-ID: <443669B7.9020901@vegait.com.br> Terry escreveu: >I think I am confusing myself here as I migrate to 2.0. It is >pointless to have a ping service for a host that has a host >check_command specified (assuming its check-host-alive), correct? >Nagios will, in my case, ping the host if a service check fails >anyways, right? > If your interest lays only on verifying if the host is up, them having a service checking ping would be pointless. Although, you could set up a check_ping service to monitor the host response time. Remember that hosts aren't regularly checked unless you have check_interval enabled in your host configuration. -- Rafael Costa rafaelc at vegait.com.br Curitiba - Paran? - Brasil ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ktynagios at richard-group.com Fri Apr 7 15:45:13 2006 From: ktynagios at richard-group.com (Kurt Yoder) Date: Fri, 7 Apr 2006 09:45:13 -0400 Subject: "double free or corruption" message In-Reply-To: <94C00338-686D-46D8-9054-0CA7A7BDB49E@richard-group.com> References: <851953F2-AC3F-4716-8D67-DB1AF9F0B474@richard-group.com> <94C00338-686D-46D8-9054-0CA7A7BDB49E@richard-group.com> Message-ID: <6BED63AC-A165-449D-BD97-FCED3DCF70E1@richard-group.com> Still happening. Should I post to a different list? On Apr 6, 2006, at 12:13 PM, Kurt Yoder wrote: > No response... anyone?? Bueller? Bueller? > > At least can I get some more information on how to debug this > better? The crashes seem to be almost random. Sometimes it will run > for a week, sometimes only 30 minutes. > > Would it be incompatibility of glibc versions, perl, and the nagios > version? > > On Mar 16, 2006, at 1:52 PM, Kurt Yoder wrote: > >> Hi list >> >> Recently my main nagios process started crashing. After switching >> it to foreground so I can see what's going on, I found this >> message after the latest crash: >> >> *** glibc detected *** double free or corruption (!prev): >> 0x080a4820 *** >> Aborted >> >> >> The main process usually runs several hours before it crashes like >> this. It seems to have started doing this yesterday, though I >> can't think of anything significant that I changed on the >> monitoring server around that time. >> >> I'm using Nagios 1.3 (Debian package is 1.3-cvs.20050402-2.sarge. >> 1) and glibc 2.95.4. Can anyone offer any suggestions toward >> fixing this so it stops crashing? >> >> -Kurt ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Jorg.Schulz at systeam.se Fri Apr 7 16:12:12 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Fri, 7 Apr 2006 16:12:12 +0200 Subject: =?ISO-8859-1?Q?J=F6rg_Schulz_=E4r_p=E5_semester_=2F_Glad_P=E5sk_?= Message-ID: I will be out of the office starting 2006-04-07 and will not return until 2006-04-17. ?terkommer m?ndag den 17 april 2006 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Fri Apr 7 16:32:16 2006 From: marc at ena.com (Marc Powell) Date: Fri, 7 Apr 2006 09:32:16 -0500 Subject: Not able ot view hosts/services in the Trends.cgi link Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Thursday, April 06, 2006 12:31 AM > To: nagios > Subject: Re: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > On Wed, 5 Apr 2006, satish kumar wrote: > > > I am not able to see the hosts/services when we click the links on > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the common message > on the lefthand side of the webpage as > > > > Host and Service State Trends > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > Nagios(r) - www.nagios.org > > Logged in as nagios > > > > - Notifications are disabled > > - Service checks are disabled > > If you read this message you should pay attention to it and enable > notifications anc service checks as suggested. And it would do nothing to resolve his problem. Those are just informational messages about the overall nagios configuration and have nothing to do with the functionality of the cgi's in question. To the OP: You have not provided enough information to determine what might be going on. What nagios version are you running? Is there any other information in the right frame when you click on those links? Can you post a screenshot somewhere (don't send it to the list)? Do you see any errors in your web server logs? There are a number of FAQ's related to these CGIs, please review them to make sure you've covered those problems. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Sameka.Prather at noaa.gov Fri Apr 7 16:44:03 2006 From: Sameka.Prather at noaa.gov (Sameka Prather) Date: Fri, 07 Apr 2006 10:44:03 -0400 Subject: Error when starting nagios In-Reply-To: <44366084.5020609@noaa.gov> References: <442BEC69.1090204@vegait.com.br> <442C410D.3020500@noaa.gov> <1143751084.14065.18.camel@chi101100.int.tt.local> <442D21E4.1090509@noaa.gov> <1143816581.14065.35.camel@chi101100.int.tt.local> <44366084.5020609@noaa.gov> Message-ID: <44367AB3.60108@noaa.gov> Hello Again Jeff, I do apologize for the delay in my response. I ran the the nagios script with -x and this was the output. I still unclear to me why I get the error. Any ideas would be greatly appreciated. See below [root at case1 init.d]# service nagios start + '[' -f /etc/rc.d/init.d/functions ']' + . /etc/rc.d/init.d/functions ++ TEXTDOMAIN=initscripts ++ umask 022 ++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin ++ export PATH ++ '[' -z '' ']' ++ COLUMNS=80 ++ '[' -z '' ']' +++ /sbin/consoletype ++ CONSOLETYPE=pty ++ '[' -f /etc/sysconfig/i18n -a -z '' ']' ++ . /etc/sysconfig/i18n +++ LANG=en_US.UTF-8 +++ SUPPORTED=en_US.UTF-8:en_US:en +++ SYSFONT=latarcyrheb-sun16 ++ '[' pty '!=' pty ']' ++ export LANG ++ '[' -z '' ']' ++ '[' -f /etc/sysconfig/init ']' ++ . /etc/sysconfig/init +++ BOOTUP=color +++ GRAPHICAL=yes +++ RES_COL=60 +++ MOVE_TO_COL=echo -en \033[60G +++ SETCOLOR_SUCCESS=echo -en \033[0;32m +++ SETCOLOR_FAILURE=echo -en \033[0;31m +++ SETCOLOR_WARNING=echo -en \033[0;33m +++ SETCOLOR_NORMAL=echo -en \033[0;39m +++ LOGLEVEL=3 +++ PROMPT=yes ++ '[' pty = serial ']' ++ '[' color '!=' verbose ']' ++ INITLOG_ARGS=-q + prefix=/usr/local/nagios + exec_prefix=/usr/local/nagios + NagiosBin=/usr/local/nagios/bin/nagios + NagiosCfg=/usr/local/nagios/etc/nagios.cfg + NagiosLog=/usr/local/nagios/var/status.log + NagiosTmp=/usr/local/nagios/var/nagios.tmp + NagiosSav=/usr/local/nagios/var/status.sav + NagiosCmd=/usr/local/nagios/var/rw/nagios.cmd + NagiosVar=/usr/local/nagios/var + NagiosRun=/usr/local/nagios/var/nagios.lock + NagiosLckDir=/var/lock/subsys + NagiosLckFile=nagios + NagiosCGI=/usr/local/nagios/sbin + Nagios=apache + test -f /usr/local/nagios/bin/nagios + test -f /usr/local/nagios/etc/nagios.cfg + echo 'Starting network monitor: nagios' Starting network monitor: nagios + su -l apache -c 'touch /usr/local/nagios/var/nagios.log /usr/local/nagios/var/status.sav' *This account is currently not available. * + rm -f /usr/local/nagios/var/rw/nagios.cmd + /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg + '[' -d /var/lock/subsys ']' + touch /var/lock/subsys/nagios + sleep 1 + status_nagios nagios + test '!' -f /usr/local/nagios/var/nagios.lock ++ head -n 1 /usr/local/nagios/var/nagios.lock + NagiosPID=18594 + test -x /usr/local/nagios/sbin/daemonchk.cgi + ps -p 18594 PID TTY TIME CMD 18594 ? 00:00:00 nagios + return 0 Thank you, Sameka Prather Office of Internet Services sameka.prather at noaa.gov 301-713-1384 x 109 jeff vier wrote: > On Fri, 2006-03-31 at 07:34 -0500, Sameka Prather wrote: > >> I am not sure what you mean. Do you want me to add -s to the first >> line in the script #! -x? So that line would look like #! /bin/sh -x. >> > > without the space after the #!, yes. > > #!/bin/sh -x > > a quick google search found: > http://www.injunea.demon.co.uk/pages/page213.htm > Thank you, Sameka Prather Office of Internet Services sameka.prather at noaa.gov 301-713-1384 x 109 Sameka Prather wrote: > Hello Again Jeff, > > I do apologize for the delay in my response. > I ran the the nagios script with -x and this was the output. I still unclear to me why I get the error. Any ideas would be greatly appreciated. See below > [root at case1 init.d]# service nagios start > + '[' -f /etc/rc.d/init.d/functions ']' > + . /etc/rc.d/init.d/functions > ++ TEXTDOMAIN=initscripts > ++ umask 022 > ++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin > ++ export PATH > ++ '[' -z '' ']' > ++ COLUMNS=80 > ++ '[' -z '' ']' > +++ /sbin/consoletype > ++ CONSOLETYPE=pty > ++ '[' -f /etc/sysconfig/i18n -a -z '' ']' > ++ . /etc/sysconfig/i18n > +++ LANG=en_US.UTF-8 > +++ SUPPORTED=en_US.UTF-8:en_US:en > +++ SYSFONT=latarcyrheb-sun16 > ++ '[' pty '!=' pty ']' > ++ export LANG > ++ '[' -z '' ']' > ++ '[' -f /etc/sysconfig/init ']' > ++ . /etc/sysconfig/init > +++ BOOTUP=color > +++ GRAPHICAL=yes > +++ RES_COL=60 > +++ MOVE_TO_COL=echo -en \033[60G > +++ SETCOLOR_SUCCESS=echo -en \033[0;32m > +++ SETCOLOR_FAILURE=echo -en \033[0;31m > +++ SETCOLOR_WARNING=echo -en \033[0;33m > +++ SETCOLOR_NORMAL=echo -en \033[0;39m > +++ LOGLEVEL=3 > +++ PROMPT=yes > ++ '[' pty = serial ']' > ++ '[' color '!=' verbose ']' > ++ INITLOG_ARGS=-q > + prefix=/usr/local/nagios > + exec_prefix=/usr/local/nagios > + NagiosBin=/usr/local/nagios/bin/nagios > + NagiosCfg=/usr/local/nagios/etc/nagios.cfg > + NagiosLog=/usr/local/nagios/var/status.log > + NagiosTmp=/usr/local/nagios/var/nagios.tmp > + NagiosSav=/usr/local/nagios/var/status.sav > + NagiosCmd=/usr/local/nagios/var/rw/nagios.cmd > + NagiosVar=/usr/local/nagios/var > + NagiosRun=/usr/local/nagios/var/nagios.lock > + NagiosLckDir=/var/lock/subsys > + NagiosLckFile=nagios > + NagiosCGI=/usr/local/nagios/sbin > + Nagios=apache > + test -f /usr/local/nagios/bin/nagios > + test -f /usr/local/nagios/etc/nagios.cfg > + echo 'Starting network monitor: nagios' > Starting network monitor: nagios > + su -l apache -c 'touch /usr/local/nagios/var/nagios.log /usr/local/nagios/var/status.sav' > *This account is currently not available. * > + rm -f /usr/local/nagios/var/rw/nagios.cmd > + /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > + '[' -d /var/lock/subsys ']' > + touch /var/lock/subsys/nagios > + sleep 1 > + status_nagios nagios > + test '!' -f /usr/local/nagios/var/nagios.lock > ++ head -n 1 /usr/local/nagios/var/nagios.lock > + NagiosPID=18594 > + test -x /usr/local/nagios/sbin/daemonchk.cgi > + ps -p 18594 > PID TTY TIME CMD > 18594 ? 00:00:00 nagios > + return 0 > > > Thank you, > Sameka Prather > Office of Internet Services > sameka.prather at noaa.gov > 301-713-1384 x 109 > > > > > > jeff vier wrote: >> On Fri, 2006-03-31 at 07:34 -0500, Sameka Prather wrote: >> >>> I am not sure what you mean. Do you want me to add -s to the first >>> line in the script #! -x? So that line would look like #! /bin/sh -x. >>> >> >> without the space after the #!, yes. >> >> #!/bin/sh -x >> >> a quick google search found: >> http://www.injunea.demon.co.uk/pages/page213.htm >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Apr 7 16:48:48 2006 From: marc at ena.com (Marc Powell) Date: Fri, 7 Apr 2006 09:48:48 -0500 Subject: "double free or corruption" message Message-ID: >From Google, this appears to be an issue that may not be directly related to Nagios -- (Long Google Link) -- http://tinyurl.com/mvnxx There are lots of Debian bug reports related to that error -- http://groups.google.com/group/linux.debian.bugs.dist/search?group=linux .debian.bugs.dist&q=debian+glibc+detected+***+double+free+or+corruption+ %28%21prev%29&qt_g=1&searchnow=Search+this+group Maybe something in there will help you towards resolution. I see a number of hits related to Perl. Do you have perl compiled into nagios? If perl is crashing due to this bug it's probably taking nagios down as well. Try re-compiling without the embedded perl interpreter. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kurt Yoder > Sent: Thursday, April 06, 2006 11:14 AM > To: Kurt Yoder > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] "double free or corruption" message > > No response... anyone?? Bueller? Bueller? > > At least can I get some more information on how to debug this better? > The crashes seem to be almost random. Sometimes it will run for a > week, sometimes only 30 minutes. > > Would it be incompatibility of glibc versions, perl, and the nagios > version? > > On Mar 16, 2006, at 1:52 PM, Kurt Yoder wrote: > > > Hi list > > > > Recently my main nagios process started crashing. After switching > > it to foreground so I can see what's going on, I found this message > > after the latest crash: > > > > *** glibc detected *** double free or corruption (!prev): > > 0x080a4820 *** > > Aborted > > > > > > The main process usually runs several hours before it crashes like > > this. It seems to have started doing this yesterday, though I can't > > think of anything significant that I changed on the monitoring > > server around that time. > > > > I'm using Nagios 1.3 (Debian package is 1.3-cvs.20050402-2.sarge.1) > > and glibc 2.95.4. Can anyone offer any suggestions toward fixing > > this so it stops crashing? > > > > -Kurt > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Fri Apr 7 16:51:16 2006 From: marc at ena.com (Marc Powell) Date: Fri, 7 Apr 2006 09:51:16 -0500 Subject: Turn on Notifications en masse? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jonathan Gourd > Sent: Thursday, April 06, 2006 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Turn on Notifications en masse? > > I finally got notifications to happen. I have noticed that in the web > admin there is a notification icon with an X over it for all the > services. I had to manually enable the notifications for each server > and host one at a time via the web admin. Is there a config file I can > edit that enables them all? > I'll bet you probably need to read the Retention Notes at http://nagios.sourceforge.net/docs/2_0/xodtemplate.html. Additionally, make sure you have 'notifications_enabled 1' in your host and service definitions or templates. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Fri Apr 7 16:53:50 2006 From: marc at ena.com (Marc Powell) Date: Fri, 7 Apr 2006 09:53:50 -0500 Subject: Hosts status updating very slow Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Radhika > Sent: Thursday, April 06, 2006 12:41 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Hosts status updating very slow > > Hi Guys, > > My nagios server host status is updating very slow my configuration Can you explain this in more detail? What status are you expecting? What status are you seeing? Hosts are never checked unless a service on that host fails. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Fri Apr 7 16:55:26 2006 From: marc at ena.com (Marc Powell) Date: Fri, 7 Apr 2006 09:55:26 -0500 Subject: host checks - ping service Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Terry > Sent: Thursday, April 06, 2006 4:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host checks - ping service > > Hello, > > I think I am confusing myself here as I migrate to 2.0. It is > pointless to have a ping service for a host that has a host > check_command specified (assuming its check-host-alive), correct? If that host has other services associated with it, then you are correct. If the PING service is the only service associated with the host then you still need it. You _could_ schedule regular checks of the host but it's not recommended at this point. > Nagios will, in my case, ping the host if a service check fails > anyways, right? Yes. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Deborah.Martin at Kognitio.com Fri Apr 7 16:56:31 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Fri, 7 Apr 2006 15:56:31 +0100 Subject: Performance data in web interface of Nagios Message-ID: Yes - thats definitely set to 1. ok - so to test this theory about plugins generating the data - which plugins out of the box would do this ? I'd like to satisfy my curiousity on this. thanks, deborah -----Original Message----- ************************************************************************ 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. *********************************************************************** From: Terry [mailto:td3201 at gmail.com] Sent: 06 April 2006 19:17 To: Deborah Martin Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Performance data in web interface of Nagios process_performance_data=1 in nagios.cfg? On 4/6/06, Deborah Martin wrote: > Hi, > > I'm using Nagios 2.0 on Suse 9.3 which runs without any issues. > > However, one thing i've been meaning to find out is why on the web > interface, when you select a service check to view, the 'Performance Data' > field is empty under the 'Service State information'. > > What do I need to configure to get this field to give me meaningful info - > I've trawled my cfg files and I have > enabled the options I think relevant for this so I'm not sure what i've > missed. > > Has anybody else had this working ? > > Any pointers to docs or suggestions would be appreciated. > > regs, > deborah > > ************************************************************************ > 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. > *********************************************************************** > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ktynagios at richard-group.com Fri Apr 7 17:34:00 2006 From: ktynagios at richard-group.com (Kurt Yoder) Date: Fri, 7 Apr 2006 11:34:00 -0400 Subject: "double free or corruption" message In-Reply-To: References: Message-ID: <87A3690E-E66A-4C2E-B53E-8FC2B2AACDD1@richard-group.com> Yeah, I saw similar reports when I first hit the error. I've since submitted a bug report to the Nagios debian package, so maybe they can do something with it. I downgraded to an older version of perl. Hopefully this will fix the problem. thanks On Apr 7, 2006, at 10:48 AM, Marc Powell wrote: > From Google, this appears to be an issue that may not be directly > related to Nagios -- > > (Long Google Link) -- http://tinyurl.com/mvnxx > > There are lots of Debian bug reports related to that error -- > > http://groups.google.com/group/linux.debian.bugs.dist/search? > group=linux > .debian.bugs.dist&q=debian+glibc+detected+***+double+free+or > +corruption+ > %28%21prev%29&qt_g=1&searchnow=Search+this+group > > Maybe something in there will help you towards resolution. I see a > number of hits related to Perl. Do you have perl compiled into nagios? > If perl is crashing due to this bug it's probably taking nagios > down as > well. Try re-compiling without the embedded perl interpreter. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Fri Apr 7 19:08:41 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 7 Apr 2006 19:08:41 +0200 (CEST) Subject: Buggy Nagios 2.x performance data? Message-ID: Hi, I have build a new system which prime task will be nagios. Nagios seems to be running just fine and I was adding NagiosGrapher v1.5 to it to handle the performance data. But it seems I still have issues with performance data missing. I started noticing after I added extra servers instead of graphing just about anything I could check with nagios on my local server. So I did check with tcpdump to see if the checks are done every 3 minutes for a particular host. tcpdumps shows me every 3 minutes the right traffic for the checks (PING + DNS): 08:05:20.144479 IP arwen.waakhond.net.32994 > ns2.mydyndns.org.domain: 20487+ A? www.vanderkooij.org. (37) 08:05:20.263711 IP ns2.mydyndns.org.domain > arwen.waakhond.net.32994: 20487*- 2/5/4 CNAME[|domain] 08:05:45.154599 IP arwen.waakhond.net > ns2.mydyndns.org: icmp 64: echo request seq 0 08:05:45.274403 IP ns2.mydyndns.org > arwen.waakhond.net: icmp 64: echo reply seq 0 08:05:46.155946 IP arwen.waakhond.net > ns2.mydyndns.org: icmp 64: echo request seq 1 08:05:46.271167 IP ns2.mydyndns.org > arwen.waakhond.net: icmp 64: echo reply seq 1 08:05:47.156796 IP arwen.waakhond.net > ns2.mydyndns.org: icmp 64: echo request seq 2 08:05:47.273669 IP ns2.mydyndns.org > arwen.waakhond.net: icmp 64: echo reply seq 2 08:05:48.158648 IP arwen.waakhond.net > ns2.mydyndns.org: icmp 64: echo request seq 3 08:05:48.278399 IP ns2.mydyndns.org > arwen.waakhond.net: icmp 64: echo reply seq 3 08:05:49.159490 IP arwen.waakhond.net > ns2.mydyndns.org: icmp 64: echo request seq 4 08:05:49.274105 IP ns2.mydyndns.org > arwen.waakhond.net: icmp 64: echo reply seq 4 The ngraph.log file show intermittant behavior consistent with the data in the grahps. This behaviour is restricted to the servers I have added after the server itself. All the checks on the local machine work and are logged consistently in the grahps. If I babysit the machine I can see the servers/servicices get updated regular like clockwork in the nagios web pages. There is in fact new performance data every 3 minutes on the pages. At this point I think we can rule out the plugins as Nagios gets the proper data but somehow they do not seem to make it all the way. I do appreciate some help in narrowing this one down and, if nescessary, providing the coders with the right data so it can be solved. Just for good measures here is a lot of details: # uname -a Linux arwen.waakhond.net 2.6.9-34.EL.XOS.1 #1 Sat Mar 11 06:39:32 CET 2006 i686 athlon i386 GNU/Linux # rpm -qa|grep nagios nagios-plugins-1.4.2-1.2.el4.rf nagios-2.1-1.el4.rf NagiosGrapher-1.5-1 define host { name host-template register 0 check_command check-host-alive max_check_attempts 3 active_checks_enabled 1 # passive_checks_enabled 1 check_period 24x7 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options d,u,r,f notifications_enabled 1 } define host { use host-template host_name arwen alias arwen.waakhond.net address 192.0.2.101 hostgroups waakhond-net contact_groups waakhond-net } define service { name service-template register 0 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 } define service { use service-template host_name arwen service_description PING check_command check_ping!10,20%!20,40% contact_groups waakhond-net } # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } define host { name mydyndns-template register 0 check_command check-host-alive max_check_attempts 1 active_checks_enabled 1 # passive_checks_enabled 1 check_period 24x7 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options d,u,r,f notifications_enabled 1 } define host{ use mydyndns-template host_name ns2.mydyndns.org alias DNS server 2 address 204.13.249.82 hostgroups mydyndns-org contact_groups mydyndns-org } define service{ use mydyndns-template host_name ns2.mydyndns.org service_description DNS check_command check_dig!1!5!www.vanderkooij.org contact_groups mydyndns-org } define service{ use mydyndns-template host_name ns2.mydyndns.org service_description PING check_command check_ping!200,20%!500,60% contact_groups mydyndns-org } define command{ command_name check_dig command_line $USER1$/check_dig -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -l $ARG3$ } # --- # Nagios Grapher Main Configuration # --- define config { pipe /var/spool/nagios/ngraph.pipe buffer 1024 interface pipe step 300 heartbeat 600 rrdpath /var/spool/nagios/rrd/ tmppath /tmp/nagiosgrapher/ serviceext_type MULTIPLE serviceext_path /etc/nagios/service-extinfo url /nagios/cgi-bin/graphs.cgi nagios_config /etc/nagios/nagios.cfg cgi_config /etc/nagios/cgi.cfg icon_image_tag dot.gif' border="0"> References: Message-ID: On Fri, 7 Apr 2006, Melkiades wrote: > Environment: > * Nagios 2.1 on SuSE Linux 10.0 OSS (kernel 2.6.13) > * check_ping in checkcommands.cfg > ____# 'check_ping' command definition > ____define command{ > ____ command_name check_ping > ____ command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > $ARG1$ -c $ARG2$ > ____ } Please state the nature of the medi^H^H^H^HNagios emergency. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Fri Apr 7 19:18:39 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 7 Apr 2006 19:18:39 +0200 (CEST) Subject: PING WARNING - DUPLICATES FOUND! In-Reply-To: References: Message-ID: On Fri, 7 Apr 2006, Melkiades wrote: > Maybe this is a newbie question, but i haven't been able to found in > Meulie's Nagios Forum use grep to find the duplicate definition. Seems you have included too many files in your nagios.cfg Use as few as possible and proceed from there in small steps. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Fri Apr 7 19:51:14 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 7 Apr 2006 10:51:14 -0700 Subject: PING WARNING - DUPLICATES FOUND! In-Reply-To: References: Message-ID: <20060407175114.GE25518@hermes.americas.hpqcorp.net> Actually, judging from the subject of the message (and it's not very clear), it appears the ping check is returning the "duplicates found" message. Usually, this happens when a network address is pinged, and multiple hosts respond. On Fri, 07 Apr 2006, Hugo van der Kooij wrote: > On Fri, 7 Apr 2006, Melkiades wrote: > > > Maybe this is a newbie question, but i haven't been able to found in > > Meulie's Nagios Forum > > use grep to find the duplicate definition. Seems you have included too > many files in your nagios.cfg > > Use as few as possible and proceed from there in small steps. > > 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. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Fri Apr 7 19:51:13 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 7 Apr 2006 19:51:13 +0200 (CEST) Subject: Buggy Nagios 2.x performance data? In-Reply-To: References: Message-ID: On Fri, 7 Apr 2006, Hugo van der Kooij wrote: > > I have build a new system which prime task will be nagios. Nagios seems to > be running just fine and I was adding NagiosGrapher v1.5 to it to handle > the performance data. But it seems I still have issues with performance > data missing. > > I started noticing after I added extra servers instead of graphing just > about anything I could check with nagios on my local server. Could this be a case where multiple updates to ngraph happen too close together? So one update effectively denies data passing from nagios to nagiosgrapher through the named pipe untill it is done and other updates would silently be dropped. The relevant sections in the nagios config are: process_performance_data=1 service_perfdata_command=process-service-perfdata # 'process-service-perfdata' command definition define command { command_name process-service-perfdata # command_line /usr/lib/nagios/eventhandlers/fifo_write.pl /var/lib/nagios/ngraph.pipe '$HOSTNAME$ $SERVICEDESC$ $SERVICEOUTPUT$ $SERVICEPERFDATA$' 3 command_line /usr/lib/nagios/nagiosgrapher/fifo_write.pl /var/spool/nagios/ngraph.pipe '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3 } I noticed the socket section in the ngraph.cfg file but could not find how to use sockets instead of a named pipe. Nor do I know if it would remedy the situation. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 td3201 at gmail.com Fri Apr 7 20:04:54 2006 From: td3201 at gmail.com (Terry) Date: Fri, 7 Apr 2006 13:04:54 -0500 Subject: host checks - ping service In-Reply-To: References: Message-ID: <8ee061010604071104q189e4eadl91cf5d0c5afad6bd@mail.gmail.com> My thinking is right then. I don't really care about response time. But, in the event I do, I will set up ping appropriately. Thanks for the help. On 4/7/06, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Terry > > Sent: Thursday, April 06, 2006 4:10 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] host checks - ping service > > > > Hello, > > > > I think I am confusing myself here as I migrate to 2.0. It is > > pointless to have a ping service for a host that has a host > > check_command specified (assuming its check-host-alive), correct? > > If that host has other services associated with it, then you are > correct. If the PING service is the only service associated with the > host then you still need it. You _could_ schedule regular checks of the > host but it's not recommended at this point. > > > Nagios will, in my case, ping the host if a service check fails > > anyways, right? > > Yes. > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&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 > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 askthelist at gmail.com Fri Apr 7 20:26:52 2006 From: askthelist at gmail.com (Ask List) Date: Fri, 7 Apr 2006 11:26:52 -0700 Subject: Freebsd/Nagios In-Reply-To: References: <20060406223507.GN23485@mal.toger.us> Message-ID: Happening again this morning. Load is way up. and nagios is spiking 1 cpu in a dual proc machine. Nagios isnt completely locked up. It is still responsive and firing off active checks. I cant seem to pin it down to one specific plugin. However when looking at the last check time of all the plugins there is a check_ping that hasnt executed since 2:29 am this morning. This is exactly at the time I seen the load shoot straight up according to my cacti snmp graphs. Here is a look at the top. last pid: 75503; load averages: 1.64, 1.39, 1.35 up 35+17:29:03 11:21:07 86 processes: 3 running, 83 sleeping CPU states: 17.2% user, 0.0% nice, 17.2% system, 0.1% interrupt, 65.4%idle Mem: 235M Active, 366M Inact, 186M Wired, 46M Cache, 111M Buf, 162M Free Swap: 4096M Total, 4096M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 62383 nagios 1 111 0 3536K 2696K CPU2 2 516:02 97.46% nagios On 4/6/06, Ask List wrote: > > Im not sure which plugin it was. > > > On 4/6/06, Jason Martin wrote: > > > > On Thu, Apr 06, 2006 at 03:30:11PM -0700, Ask List wrote: > > > We currentlly run nagios 2.0 on FreeBSD 6.0. We noticed the bug that > > was > > > posted at this link: > > http://nagios.sourceforge.net/docs/2_0/whatsnew.html . > > > I have noticed on three occassions where one of the nagios-plugins was > > hung > > It sounds like the problem is plugin based, not Nagios based. > > Which plugin was hung / spiked? What exact version of the plugin > > was it? So on and so forth.. > > > > -Jason Martin > > -- > > If you're not confused, you're not paying attention. > > This message is PGP/MIME signed. > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From askthelist at gmail.com Fri Apr 7 20:32:43 2006 From: askthelist at gmail.com (Ask List) Date: Fri, 7 Apr 2006 11:32:43 -0700 Subject: Freebsd/Nagios In-Reply-To: References: <20060406223507.GN23485@mal.toger.us> Message-ID: # ./check_ping -V check_ping (nagios-plugins 1.4.2) 1.49 On 4/7/06, Ask List wrote: > > Happening again this morning. Load is way up. and nagios is spiking 1 cpu > in a dual proc machine. Nagios isnt completely locked up. It is still > responsive and firing off active checks. I cant seem to pin it down to one > specific plugin. However when looking at the last check time of all the > plugins there is a check_ping that hasnt executed since 2:29 am this > morning. This is exactly at the time I seen the load shoot straight up > according to my cacti snmp graphs. Here is a look at the top. > > last pid: 75503; load averages: 1.64, 1.39, 1.35 > up 35+17:29:03 11:21:07 > 86 processes: 3 running, 83 sleeping > CPU states: 17.2% user, 0.0% nice, 17.2% system, 0.1% interrupt, 65.4%idle > Mem: 235M Active, 366M Inact, 186M Wired, 46M Cache, 111M Buf, 162M Free > Swap: 4096M Total, 4096M Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 62383 nagios 1 111 0 3536K 2696K CPU2 2 516:02 97.46% nagios > > > > > On 4/6/06, Ask List < askthelist at gmail.com> wrote: > > > > Im not sure which plugin it was. > > > > > > On 4/6/06, Jason Martin wrote: > > > > > > On Thu, Apr 06, 2006 at 03:30:11PM -0700, Ask List wrote: > > > > We currentlly run nagios 2.0 on FreeBSD 6.0. We noticed the bug that > > > was > > > > posted at this link: > > > http://nagios.sourceforge.net/docs/2_0/whatsnew.html . > > > > I have noticed on three occassions where one of the nagios-plugins > > > was hung > > > It sounds like the problem is plugin based, not Nagios based. > > > Which plugin was hung / spiked? What exact version of the plugin > > > was it? So on and so forth.. > > > > > > -Jason Martin > > > -- > > > If you're not confused, you're not paying attention. > > > This message is PGP/MIME signed. > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Apr 7 20:52:22 2006 From: marc at ena.com (Marc Powell) Date: Fri, 7 Apr 2006 13:52:22 -0500 Subject: Not able ot view hosts/services in the Trends.cgi link Message-ID: According to your own screenshots Notifications are disabled and Service checks are disabled. While I haven't personally experienced the symptoms you're seeing, the three screenshots seem to imply a problem reading the config files. Does your web server have permission to read the .cfg files? Can you use the View Config link to see your configuration? Also, from the command line as the nagios user run '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' and post it's output. Perhaps if you posted the screenshots where other can see them someone else who has seen the problem before can help you. -- Marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Friday, April 07, 2006 1:25 PM > To: Marc Powell > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > I am forwarding the screenshots, Please let me know for further > troubleshooting. > I am running nagios 2.0, with notification & services enabled.There are no > errors found in the apache logs.Regarding Auth problem, i have enabled all > the parameters with the user nagios as owner. > > Thanks, satish > > Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > > Sent: Thursday, April 06, 2006 12:31 AM > > To: nagios > > Subject: Re: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > I am not able to see the hosts/services when we click the links > on > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the common > message > > on the lefthand side of the webpage as > > > > > > Host and Service State Trends > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > Nagios(r) - www.nagios.org > > > Logged in as nagios > > > > > > - Notifications are disabled > > > - Service checks are disabled > > > > If you read this message you should pay attention to it and enable > > notifications anc service checks as suggested. > > And it would do nothing to resolve his problem. Those are just > informational messages about the overall nagios configuration and > have > nothing to do with the functionality of the cgi's in question. > > To the OP: You have not provided enough information to determine > what > might be going on. What nagios version are you running? Is there any > other information in the right frame when you click on those links? > Can > you post a screenshot somewhere (don't send it to the list)? Do you > see > any errors in your web server logs? There are a number of FAQ's > related > to these CGIs, please review them to make sure you've covered those > problems. > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 at profitability.net Fri Apr 7 22:59:19 2006 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 7 Apr 2006 16:59:19 -0400 Subject: Oreon Project? Message-ID: I was perusing nagiosexchange.org and ran across the Oreon Project (http://www.oreon-project.org/index-en.html). Has anyone given this a shot? Comments? It looks amazing from the screenshots, but it seems to be a pretty young project so I'm concerned it might still be pretty buggy... Andrew ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Apr 7 23:18:16 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 07 Apr 2006 16:18:16 -0500 Subject: Oreon Project? In-Reply-To: References: Message-ID: <1144444696.18330.72.camel@chi100400> On Fri, 2006-04-07 at 16:59 -0400, Andrew Cruse wrote: > I was perusing nagiosexchange.org and ran across the Oreon Project > (http://www.oreon-project.org/index-en.html). Has anyone given this a > shot? Comments? It looks amazing from the screenshots, but it seems to > be a pretty young project so I'm concerned it might still be pretty > buggy... I tried it, but it didn't support v2.x And all the comments and variables and such were in French, so I couldn't efficiently hack it. So I'm writing my own using the NDO Utils DB as a feed. -------------- 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 hvdkooij at vanderkooij.org Fri Apr 7 23:37:01 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 7 Apr 2006 23:37:01 +0200 (CEST) Subject: Better write_fifo.c ? Message-ID: Hi, In my pursuit in getting performance graphs working it seems the culprit is in fact the tool for writing to the fifo. If I use the perl version I am missing entries being send to the named pipe. (Using a loglevel of 36 seems to be the right way to trace this.) If I replace the perl script with the compiled C version it seems all the data is send to the named pipe. But the C program fails to properly terminate the lines as it only converts \t to tabs but ignores the \n at the end. This in fact leads to entries in the named pipe which are logged like: 2006-04-07 23:07:38 PIPE: arwen SSH TCP OK - 0.009 second response time on port 22 time=0.008775s;0.000000;0.000000;0.000000;10.000000arwen LOAD OK - load average: 0.04, 0.11, 0.07 load1=0.040;3.000;6.000;0; load5=0.110;2.500;5.000;0; load15=0.070;2.000;4.000;0; (That's 1 long line.) One may notice the double event into a single line. Due to my poor C writing skills I am unable to fix this little gem myself. But perhaps someone could look at http://www.nagiosexchange.org/Charts.42.0.html?&tx_netnagext_pi1[p_view]=195 and see if they can improve upong the shown 'fifo_write.c' and add the ability to handle \n and convert it into a newline character in the output. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Apr 7 23:52:34 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Fri, 7 Apr 2006 14:52:34 -0700 Subject: Oreon Project? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109D8D@raptor.redhawk.info> >From what I saw while using Oreon under Nagions 1.x, it worked well. The reason I dumped it was because of the Nagions 2.x support (or lack there of). I too am writing my won interface utilizing the NDO table structure for the "monitoring" portion and wrote my own tables for the config. Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier Sent: Friday, April 07, 2006 2:18 PM To: Andrew Cruse Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oreon Project? On Fri, 2006-04-07 at 16:59 -0400, Andrew Cruse wrote: > I was perusing nagiosexchange.org and ran across the Oreon Project > (http://www.oreon-project.org/index-en.html). Has anyone given this a > shot? Comments? It looks amazing from the screenshots, but it seems to > be a pretty young project so I'm concerned it might still be pretty > buggy... I tried it, but it didn't support v2.x And all the comments and variables and such were in French, so I couldn't efficiently hack it. So I'm writing my own using the NDO Utils DB as a feed. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 hvdkooij at vanderkooij.org Fri Apr 7 23:53:08 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 7 Apr 2006 23:53:08 +0200 (CEST) Subject: Better write_fifo.c ? In-Reply-To: References: Message-ID: On Fri, 7 Apr 2006, Hugo van der Kooij wrote: > In my pursuit in getting performance graphs working it seems the culprit > is in fact the tool for writing to the fifo. And sometimes one is using too many complicated tools when an easier answer it to use tools at hand. I have redefined nagios to use printf and it seems to work. If anyone want to try it: # 'process-service-perfdata' command definition define command { command_name process-service-perfdata # command_line /usr/lib/nagios/eventhandlers/fifo_write.pl /var/lib/nagios/ngraph.pipe '$HOSTNAME$ $SERVICEDESC$ $SERVICEOUTPUT$ $SERVICEPERFDATA$' 3 # command_line /usr/lib/nagios/nagiosgrapher/fifo_write.pl /var/spool/nagios/ngraph.pipe '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3 # command_line /usr/lib/nagios/nagiosgrapher/fifo_write /var/spool/nagios/ngraph.pipe '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$' 3 command_line /usr/bin/printf "%b" "$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /var/spool/nagios/ngraph.pipe # command_line /usr/lib/nagios/nagiosgrapher/write_fifo -p /var/spool/nagios/ngraph.pipe -s '$HOSTNAME$ $SERVICEDESC$ $SERVICEOUTPUT$ $SERVICEPERFDATA$' # command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /var/log/nagios/service-perfdata.log } As one can see I have tried quite a few options. I will let it run tonight while I sleep. I will give you an update in the morning. (Fingers crossed ;-) 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 askthelist at gmail.com Sat Apr 8 00:58:01 2006 From: askthelist at gmail.com (Ask List) Date: Fri, 7 Apr 2006 15:58:01 -0700 Subject: Freebsd/Nagios In-Reply-To: References: <20060406223507.GN23485@mal.toger.us> Message-ID: Heres some output from ktrace / kdump. Anyone have a clue what this could mean? 62383 nagios CALL kse_release(0xbfbf9b70) 62383 nagios Events dropped. 62383 nagios CALL kse_release(0xbfbf9b70) 62383 nagios Events dropped. 62383 nagios RET kse_release -1 errno 22 Invalid argument 62383 nagios Events dropped. 62383 nagios RET kse_release -1 errno 22 Invalid argument 62383 nagios Events dropped. 62383 nagios RET kse_release -1 errno 22 Invalid argument 62383 nagios Events dropped. 62383 nagios CALL kse_release(0xbfbf9b70) 62383 nagios Events dropped. 62383 nagios CALL kse_release(0xbfbf9b70) 62383 nagios Events dropped. 62383 nagios CALL kse_release(0xbfbf9b70) On 4/7/06, Ask List wrote: > > # ./check_ping -V > check_ping (nagios-plugins 1.4.2) 1.49 > > > > On 4/7/06, Ask List wrote: > > > > Happening again this morning. Load is way up. and nagios is spiking 1 > > cpu in a dual proc machine. Nagios isnt completely locked up. It is still > > responsive and firing off active checks. I cant seem to pin it down to one > > specific plugin. However when looking at the last check time of all the > > plugins there is a check_ping that hasnt executed since 2:29 am this > > morning. This is exactly at the time I seen the load shoot straight up > > according to my cacti snmp graphs. Here is a look at the top. > > > > last pid: 75503; load averages: 1.64, 1.39, 1.35 > > up 35+17:29:03 11:21:07 > > 86 processes: 3 running, 83 sleeping > > CPU states: 17.2% user, 0.0% nice, 17.2% system, 0.1% interrupt, 65.4%idle > > Mem: 235M Active, 366M Inact, 186M Wired, 46M Cache, 111M Buf, 162M Free > > Swap: 4096M Total, 4096M Free > > > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > > COMMAND > > 62383 nagios 1 111 0 3536K 2696K CPU2 2 516:02 97.46%nagios > > > > > > > > > > On 4/6/06, Ask List < askthelist at gmail.com> wrote: > > > > > > Im not sure which plugin it was. > > > > > > > > > On 4/6/06, Jason Martin wrote: > > > > > > > > On Thu, Apr 06, 2006 at 03:30:11PM -0700, Ask List wrote: > > > > > We currentlly run nagios 2.0 on FreeBSD 6.0. We noticed the bug > > > > that was > > > > > posted at this link: > > > > http://nagios.sourceforge.net/docs/2_0/whatsnew.html . > > > > > I have noticed on three occassions where one of the nagios-plugins > > > > was hung > > > > It sounds like the problem is plugin based, not Nagios based. > > > > Which plugin was hung / spiked? What exact version of the plugin > > > > was it? So on and so forth.. > > > > > > > > -Jason Martin > > > > -- > > > > If you're not confused, you're not paying attention. > > > > This message is PGP/MIME signed. > > > > > > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From satish_lsurf at yahoo.com Sat Apr 8 01:00:39 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Fri, 7 Apr 2006 16:00:39 -0700 (PDT) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: References: Message-ID: <20060407230039.21182.qmail@web53508.mail.yahoo.com> Hi, I have enabled the notification & Service checks and the nagios has sent a lot of notifications for various services.And the permission wise others has rx permissions where apache belongs to.I am pasting the output of the command below. ===================== [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg Nagios 2.1 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 03-27-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 222 services. Checking hosts... Checked 67 hosts. Checking host groups... Checked 19 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 8 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 105 commands. Checking time periods... Checked 3 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check ====================== Thanks, Satish Marc Powell wrote: According to your own screenshots Notifications are disabled and Service checks are disabled. While I haven't personally experienced the symptoms you're seeing, the three screenshots seem to imply a problem reading the config files. Does your web server have permission to read the .cfg files? Can you use the View Config link to see your configuration? Also, from the command line as the nagios user run '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' and post it's output. Perhaps if you posted the screenshots where other can see them someone else who has seen the problem before can help you. -- Marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Friday, April 07, 2006 1:25 PM > To: Marc Powell > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > I am forwarding the screenshots, Please let me know for further > troubleshooting. > I am running nagios 2.0, with notification & services enabled.There are no > errors found in the apache logs.Regarding Auth problem, i have enabled all > the parameters with the user nagios as owner. > > Thanks, satish > > Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > > Sent: Thursday, April 06, 2006 12:31 AM > > To: nagios > > Subject: Re: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > I am not able to see the hosts/services when we click the links > on > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the common > message > > on the lefthand side of the webpage as > > > > > > Host and Service State Trends > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > Nagios(r) - www.nagios.org > > > Logged in as nagios > > > > > > - Notifications are disabled > > > - Service checks are disabled > > > > If you read this message you should pay attention to it and enable > > notifications anc service checks as suggested. > > And it would do nothing to resolve his problem. Those are just > informational messages about the overall nagios configuration and > have > nothing to do with the functionality of the cgi's in question. > > To the OP: You have not provided enough information to determine > what > might be going on. What nagios version are you running? Is there any > other information in the right frame when you click on those links? > Can > you post a screenshot somewhere (don't send it to the list)? Do you > see > any errors in your web server logs? There are a number of FAQ's > related > to these CGIs, please review them to make sure you've covered those > problems. > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2?/min with Yahoo! Messenger with Voice. -------------- next part -------------- An HTML attachment was scrubbed... URL: From askthelist at gmail.com Sat Apr 8 01:14:41 2006 From: askthelist at gmail.com (Ask List) Date: Fri, 7 Apr 2006 23:14:41 +0000 (UTC) Subject: Freebsd/Nagios/Ktrace/Kdump HELP? Message-ID: Heres some output from ktrace / kdump. Anyone have a clue what this could mean? 62383 nagios CALL kse_release(0xbfbf9b70) 62383 nagios Events dropped. 62383 nagios CALL kse_release(0xbfbf9b70) 62383 nagios Events dropped. 62383 nagios RET kse_release -1 errno 22 Invalid argument 62383 nagios Events dropped. 62383 nagios RET kse_release -1 errno 22 Invalid argument 62383 nagios Events dropped. 62383 nagios RET kse_release -1 errno 22 Invalid argument 62383 nagios Events dropped. 62383 nagios CALL kse_release(0xbfbf9b70) 62383 nagios Events dropped. 62383 nagios CALL kse_release(0xbfbf9b70) 62383 nagios Events dropped. 62383 nagios CALL kse_release(0xbfbf9b70) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Aaron.Ferguson at usma.edu Sat Apr 8 02:06:10 2006 From: Aaron.Ferguson at usma.edu (Ferguson, A. DR EECS) Date: Fri, 7 Apr 2006 20:06:10 -0400 Subject: Plug-in Help Message-ID: I am a new user to Nagios and I need to find a plug-in for file sharing, the video-teleconferencing, and E-mail. Documentation is scare. Please help. -@@ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyra at pop-pr.rnp.br Sat Apr 8 02:10:36 2006 From: lyra at pop-pr.rnp.br (Christian Lyra) Date: Fri, 7 Apr 2006 21:10:36 -0300 Subject: strange behavior with multiple failing hosts and nagios 1.3 / 2.1 Message-ID: Hi there, I was evaluating nagios and found a strange behavior on my test setup. After a fresh install, I did a minimal setup, just one contactgroup with one contact. A hostgroup with 4 hosts (no parent relationship). Since I?m only interested to know if a host is up or down I just configured a check_ping service for each host. As I said, a pretty simple setup. The services is schedulled to run every minute with a one try only. To simulate a network problem, I just did a "iptables -A INPUT -p icmp -j DROP". I was expecting that I would see all hosts/services down within a minute, as nagios use to "spread" the checks within the one minute (default configuration). To my suprise I saw just one host coming down on one minute, with the subsequent hosts coming down each minute after that. I mean, host 1 comes down on, say, 8:40:13, host 2 on 8:41:05, host 3 on 8:42:05 and host 5 on host 8:43:05. I saw the last host come down almost 4 minutes after the "network problem". My first try was with nagios 1.3, but the I could reproduce the same problem with nagios 2.1. When I asked a friend to do the same test, he got the same results. A little worst, since he does not check the hosts/services every minute, so he got a host down per 3 minutes, after 10 minutes he couldnt see all the hosts down. To my surprise, all the hosts come up about the same time after removing the iptables rule. I could not find a explanation for this behavior, and couldnt find anything wrong with the configuration. I?m not sure if this is a feature, or if I hit a bug. A serious bug to be true. I did a minimal search on the mailing list archives and forums, so excuse me if this is know issue, and plz point me where I can find more about it. Christian Lyra -------------- next part -------------- An HTML attachment was scrubbed... URL: From Peter at berghold.net Sat Apr 8 03:41:50 2006 From: Peter at berghold.net (Peter L. Berghold) Date: Fri, 07 Apr 2006 21:41:50 -0400 Subject: Quoting passwords correctly. Message-ID: <443714DE.7010501@Berghold.Net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In my setting up tests I found a minor annoyance. Say I have a postgresql database that I want to run the check_postgres check against and the password for the account I'm using to test against looks something like: $a!10rm00n Now that's not really the password I'm using, but it has some of the features of the password that is tripping me up. How do you quote the "$" and "!" in that password. I have a feeling based on the behavior of the Nagios check I've configured that they are being translated by the shell or something else because the login is failing. - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFENxTdUM9/01RIhaARArLDAKC8aT3Fu46BD8fMnLFuoXw81fP8JACfc19o ey1sRcHnvc5s8F4Oc39/kiA= =upZr -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Peter.vcf Type: text/x-vcard Size: 192 bytes Desc: not available URL: From rashmi83 at gmail.com Sat Apr 8 09:06:25 2006 From: rashmi83 at gmail.com (Rash) Date: Sat, 8 Apr 2006 12:36:25 +0530 Subject: Nagios Api's .. Message-ID: Hi , I am looking for different programmatic interface that nagios provides..It would be nice if anybody could send me the link as to where I could find more information regarding this ..Thanks in advance . -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Sat Apr 8 15:04:54 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 8 Apr 2006 15:04:54 +0200 (CEST) Subject: Nagios Api's .. In-Reply-To: References: Message-ID: On Sat, 8 Apr 2006, Rash wrote: > Hi , I am looking for different programmatic interface that nagios > provides..It would be nice if anybody could send me the link as to where I > could find more information regarding this ..Thanks in advance . Please read the instruction on posting (smart) questions to a mailinglist: http://www.catb.org/~esr/faqs/smart-questions.html Untill now there is no indication you have put in any effort from your side. So why should anyone else? Barring that, this is a users mailinglist and not a developers mailinglist. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 moshesharon at gmail.com Sat Apr 8 15:12:38 2006 From: moshesharon at gmail.com (moshe sharon) Date: Sat, 8 Apr 2006 15:12:38 +0200 Subject: [Nagiosplug-help] nrpe_nt, nagios shows the host in red colour but all the checks in green In-Reply-To: <55b4d1210604080541i724dd1aas55782b647a6f9144@mail.gmail.com> References: <55b4d1210604080541i724dd1aas55782b647a6f9144@mail.gmail.com> Message-ID: <88ad29240604080612t550ea7d5ib5c8163a0b85b472@mail.gmail.com> Hello this is becuase your host check-command has failed you should see if you can ping the host( if you are using check_ping for host check) and you can avoid it by disabling host checks Moshe Sharon -------------- next part -------------- An HTML attachment was scrubbed... URL: From roberto6400 at yahoo.com Sun Apr 9 22:00:49 2006 From: roberto6400 at yahoo.com (roberto pereira) Date: Sun, 9 Apr 2006 15:00:49 -0500 (CDT) Subject: user nagiosadmin not found: /nagios/ Message-ID: <20060409200049.50734.qmail@web37009.mail.mud.yahoo.com> Hi, I am installing nagios on FC4, I had modified , the files configurations according to: nagios.org. Now I have this error: user nagiosadmin not found: /nagios/ I can see this error in: ( in tail -f /var/log/httpd/error_log ) My config files: the user files is in: /usr/local/nagios/etc htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin in apache: Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user the cgi.cfg has use_authentication=0, because I would like test before without passwd, but anyway I can't loggin. any idea .. why the nagios search the user in /nagios/ , where is this file ? thank you Robert __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! Reg?strate ya - http://correo.espanol.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Sun Apr 9 23:06:54 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 9 Apr 2006 23:06:54 +0200 (CEST) Subject: user nagiosadmin not found: /nagios/ In-Reply-To: <20060409200049.50734.qmail@web37009.mail.mud.yahoo.com> References: <20060409200049.50734.qmail@web37009.mail.mud.yahoo.com> Message-ID: On Sun, 9 Apr 2006, roberto pereira wrote: > Hi, I am installing nagios on FC4, I had modified , the files configurations according to: nagios.org. > > Now I have this error: user nagiosadmin not found: /nagios/ I doubt this is the real full error message. > I can see this error in: ( in tail -f /var/log/httpd/error_log ) Get both the lines from the error and the access log and show them in full. Describe in exact detail what you are doing and, what you are seeing, what you see in the logs, when you see 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 raoufnezhad at gmail.com Mon Apr 10 05:53:36 2006 From: raoufnezhad at gmail.com (Marzieh Raoufnezhad) Date: Mon, 10 Apr 2006 08:23:36 +0430 Subject: Send notifincation by sms and check_squid in nagios Message-ID: <3db1e2aa0604092053n15a31005sc00871bb2471c20d@mail.gmail.com> Hi, I installed nagios-2.0.tar.gz and nagios-plugin-1.4.2.tar.gz. Now I have some problem. 1-I want to send notification by SMS (whit GSM Modem), I installed smstools.tar.gz. this package work very well when I use it in the command line: # sendsms "my phone number" "my message" But I don't receive any messages in the nagios program. my command that I use to nagios(misccommand) is: define command{ command_name notify-by-sms command_line /usr/bin/printf "%b" "***** Nagios 1.0b3*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/sendsms $CONTACTPAGER$ } 2- I want to check squid status in the nagios. I downloaded check_squid.pl and libplugins.pm and do below steps: - cp check_squid.pl /usr/local/nagios/libexe - cp libplugins.pm /usr/local/nagios/libexe - chmod +x check_squid.pl - and in the checkcommnad: define command{ command_name check_squid command_line $USER1$/check_squid '$ARG1$' '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$' '$ARG6$' '$ARG7$' '$ARG8$' } - then I use this command to services.cfg file. But I have this message to service detail page /information: (Return code of 127 is out of bounds - plugin may be missing) Now would you please help me ? Thanks a lot. Raoufnezhad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Mon Apr 10 07:57:45 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 10 Apr 2006 07:57:45 +0200 (CEST) Subject: Send notifincation by sms and check_squid in nagios In-Reply-To: <3db1e2aa0604092053n15a31005sc00871bb2471c20d@mail.gmail.com> References: <3db1e2aa0604092053n15a31005sc00871bb2471c20d@mail.gmail.com> Message-ID: On Mon, 10 Apr 2006, Marzieh Raoufnezhad wrote: > I installed nagios-2.0.tar.gz and nagios-plugin-1.4.2.tar.gz. > Now I have some problem. And how much have you read before you send this message? Please indicate what you have tested step by step. > 1-I want to send notification by SMS (whit GSM Modem), I installed > smstools.tar.gz. this package work very well when I use it in the command > line: > > # sendsms "my phone number" "my message" > > But I don't receive any messages in the nagios program. First off: Do notification work in general? Do you have log entries for notifications? If not, Look into the general notification area and don't even try to add another notification type untill you can get email notification to work. > my command that I use to nagios(misccommand) is: > define command{ > command_name notify-by-sms > command_line /usr/bin/printf "%b" "***** Nagios > 1.0b3*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | > /usr/bin/sendsms $CONTACTPAGER$ > } And the nagios user (or whome ever you run nagioas as) can use sendsms? And I strongly doubt multiple lines are allowed with SMS. > define command{ > command_name check_squid > command_line $USER1$/check_squid '$ARG1$' '$ARG2$' '$ARG3$' > '$ARG4$' '$ARG5$' '$ARG6$' '$ARG7$' '$ARG8$' > } > - then I use this command to services.cfg file. > But I have this message to service detail page /information: > (Return code of 127 is out of bounds - plugin may be missing) Is $USER1$ set? To where is it set? 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 tomvo at absi.be Mon Apr 10 08:58:00 2006 From: tomvo at absi.be (tomvo at absi.be) Date: Mon, 10 Apr 2006 08:58:00 +0200 Subject: Tom Van Overbeke/AB Computers is out of the office. Message-ID: I will be out of the office starting 06/04/2006 and will not return until 18/04/2006. I will respond to your message when I return. For urgent support issues, you can either send a mail to support at absi.be, or contact the central dispatch at (++32)/2 333 4000 Thank you. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 tomvo at absi.be Mon Apr 10 08:58:30 2006 From: tomvo at absi.be (tomvo at absi.be) Date: Mon, 10 Apr 2006 08:58:30 +0200 Subject: Tom Van Overbeke/AB Computers is out of the office. Message-ID: I will be out of the office starting 06/04/2006 and will not return until 18/04/2006. I will respond to your message when I return. For urgent support issues, you can either send a mail to support at absi.be, or contact the central dispatch at (++32)/2 333 4000 Thank you. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 CKH99 at bbh.hosp.dk Mon Apr 10 09:13:19 2006 From: CKH99 at bbh.hosp.dk (Christian Kammer Have) Date: Mon, 10 Apr 2006 09:13:19 +0200 Subject: Notification difficulties Message-ID: Hello! I'm running nagios 2.2(although the problem was existing in 2.0). I am trying to enable our sms modem( a nokia 30) to send sms messages whenever anything goes down. So far i have setup timeperiods, contacts, contactgroups and enabled which ever notificationoptions that were needed. I have managed to install GSM-lib and have successfully sent sms messages directly from the software supplied. This is my command: define command { command_name notify-by-epager command_line /usr/bin/printf "%b" "$HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ @'$CONTACTPAGER'$" > /var/spool/sms/sms`date +%d%m%Y%H%M%S%N` } The problem seems to be that the $CONTACTPAGER$ variable is empty. the content of my textfile is: HOST: CPU Load is CRITICAL @'' I have tried with the $USERADDRESS1$ variable, with the email variable and so forth. I have tried without single quotation and with double quotation. This is my contacts definition: define contact { contact_name Vagt alias Vagt contactgroups admins,Citrix,Windows host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands host-notify-by-epager service_notification_commands notify-by-epager pager } Here are the time periods: define timeperiod { timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } And from the menu in nagios i can see that the notification has been "processed": Host Service Type Time Contact NotificationCommand Information host Web server CRITICAL 04-09-2006 22:33:01 Vagt notify-by-epager Connection refused I'm really without any clue of what i have been doing wrong. but, as I said earlier, it seems to be as if the variables containing contactinformations are empty. Regards Security Specialist Christian Kammer Have Bispebjerg Hospital MIT (Mediko, Informatik & Tele) Bispebjerg Bakke 23 2400 K?benhavn NV mobil: 2044 0125 E-mail: ckh99 at bbh.hosp.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: From jd at op5.se Mon Apr 10 09:43:23 2006 From: jd at op5.se (Johannes Dagemark) Date: Mon, 10 Apr 2006 09:43:23 +0200 Subject: Notification difficulties In-Reply-To: References: Message-ID: <443A0C9B.6030002@op5.se> Hi Christian > command_line /usr/bin/printf "%b" "$HOSTNAME$: $SERVICEDESC$ is > $SERVICESTATE$ @'$CONTACTPAGER'$" > /var/spool/sms/sms`date > +%d%m%Y%H%M%S%N` I dont know if its a typo but it looks like a ' before the $ in $CONTACTPAGER$ Cheers Johannes Dagemark ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 CKH99 at bbh.hosp.dk Mon Apr 10 09:48:48 2006 From: CKH99 at bbh.hosp.dk (Christian Kammer Have) Date: Mon, 10 Apr 2006 09:48:48 +0200 Subject: Notification difficulties Message-ID: It was a typo when i submitted this to the mailinglists, it isn't in the actual file. Although thanks alot for the input < command_line /usr/bin/printf "%b" "$HOSTNAME$: $SERVICEDESC$ is <<> $SERVICESTATE$ @'$CONTACTPAGER'$" > /var/spool/sms/sms`date <<> +%d%m%Y%H%M%S%N` << < From shoktai at gmail.com Mon Apr 10 09:51:53 2006 From: shoktai at gmail.com (ThomasC.) Date: Mon, 10 Apr 2006 09:51:53 +0200 Subject: /var/log/messages Message-ID: <443A0E99.80608@gmail.com> Hi, The /var/log/messages files is filled with nagios logs: nagios: SERVICE ALERT: usminsv03;File Replication;UNKNOWN;SOFT;1;ERROR: Alarm signal (Nagios time-out) nagios: SERVICE ALERT: sacapsv03;PING;OK;HARD;3;PING OK - Packet loss = 0%, RTA = 300.42 ms Is there's a way to tell nagios not to write inside /var/log/messages ? Thanks Nagios 1.3 Plugins 1.4 Debian unstable ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 srunschke at abit.de Mon Apr 10 10:28:35 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 10 Apr 2006 10:28:35 +0200 Subject: Antwort: check_dig bug ? In-Reply-To: <30997e260604051057y149decb0o84f47e8f6792819c@mail.gmail.com> References: <30997e260604051057y149decb0o84f47e8f6792819c@mail.gmail.com> Message-ID: > [root at nagios stucky]# /usr/local/nagios/libexec/check_dig -w 1 -c 2 -H > {nameserver} -l {fqdn} -a {ip} > DNS WARNING - 0.011 seconds response time ({fqdn} 38400 IN A {ip})|time=0. > 011227s;1.000000;2.000000;0.000000 > > Have I totally gone nuts or did I not just tell check_dig to only warn me > if the query takes more than one second ? As you can see the tool itself > reports it took only 0.011 seconds so why the warning ? > It's annoying cause I get those random fake alerts and another recovery > messager soon after. > Thing is even if I totally leave the -w and -c flags out it'll still do > that as if it had a hardcoded value between 0.008 and 0.011 in there that > can't be changed. This is a redhat issue, there's something they screwed up in the futex handling of their kernel. Do a manual up2date -uf to force the update of kernel packages, which are usually excluded by up2date. Reboot - be happy. This has been fixed with hotfix-kernel-2.6.9-22 (not publicly available) and later on with the last major update 3 (nahant). regards Sascha -- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 henrik at morsing.cc Mon Apr 10 10:33:45 2006 From: henrik at morsing.cc (Henrik Morsing) Date: Mon, 10 Apr 2006 09:33:45 +0100 (BST) Subject: /var/log/messages In-Reply-To: <443A0E99.80608@gmail.com> References: <443A0E99.80608@gmail.com> Message-ID: <27293.84.45.208.77.1144658025.squirrel@webmail.morsing.cc> ThomasC. said: > Hi, > > Is there's a way to tell nagios not to write inside /var/log/messages ? Hi, In nagios.cfg change the line 'use_syslog=1' to 'use_syslog=0'. At the top of the file you can set the log file like this: log_file=/var/log/nagios/nagios.log -- Regards, Henrik Morsing ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 shoktai at gmail.com Mon Apr 10 10:36:16 2006 From: shoktai at gmail.com (ThomasC.) Date: Mon, 10 Apr 2006 10:36:16 +0200 Subject: /var/log/messages In-Reply-To: <27293.84.45.208.77.1144658025.squirrel@webmail.morsing.cc> References: <443A0E99.80608@gmail.com> <27293.84.45.208.77.1144658025.squirrel@webmail.morsing.cc> Message-ID: <443A1900.5000209@gmail.com> Henrik Morsing a ?crit : > ThomasC. said: >> Hi, >> >> Is there's a way to tell nagios not to write inside /var/log/messages ? > > > Hi, > In nagios.cfg change the line 'use_syslog=1' to 'use_syslog=0'. > > At the top of the file you can set the log file like this: > > log_file=/var/log/nagios/nagios.log > > Thanks a lot for the tip. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Thomas.Zimmer at oppenheim.de Mon Apr 10 11:57:34 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Mon, 10 Apr 2006 11:57:34 +0200 Subject: Stop NRPE? Message-ID: Hi all, Excuse my dumb question, is there any way to stop the NRPE-Agent regularly, when running in daemon-mode? Any Script? How is it stopped when using inetd/xinetd (i do not use these..) Thanks i.a., Thomas. Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main <> -------------- 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: From werner.flamme at ufz.de Mon Apr 10 12:24:11 2006 From: werner.flamme at ufz.de (Werner Flamme) Date: Mon, 10 Apr 2006 12:24:11 +0200 Subject: Stop NRPE? In-Reply-To: References: Message-ID: <443A324B.70703@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas.Zimmer at oppenheim.de schrieb am 10.04.2006 11:57: > Hi all, > > Excuse my dumb question, is there any way to stop the NRPE-Agent regularly, > when running in daemon-mode? Any Script? This may vary with your Linux distribution. Something like "killall nrpe" or "kill `cat /var/run/nrpe.pid`" may work. Maybe you like to create /etc/init.d/nrpe, that will start and stop the service: look for a nice file in /etc/init.d, copy to /etc/init.d/nrpe, edit to your needs. > How is it stopped when using inetd/xinetd (i do not use these..) When running via (x)inetd, nrpe executes the given command and stops running afterwards. There is no need to stop nrpe. Look at README in the source archive. > > Thanks i.a., > Thomas. > Thomas Zimmer > Produktservice & Betrieb > Betrieb & Support > Sal. Oppenheim jr. & Cie., Frankfurt a. Main > > > > <> > HTH, Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEOjJLk33Krq8b42MRAhPJAJsEvzK72G6+QzVL3iiUjexLF9MA3ACggdnV cXZ20ncec80ac+u6/+MTpv0= =/pQF -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 james.mohr at elaxy.com Mon Apr 10 13:53:47 2006 From: james.mohr at elaxy.com (Mohr James) Date: Mon, 10 Apr 2006 13:53:47 +0200 Subject: Apologies Message-ID: Hi All! I am deeply sorry that I forgot to unsubscribe when I went on vacation. I know that getting the vacation notices is very annoying. To be honest, I simply spaced on it. Sorry! Regards, Jim Mohr ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 hugo.rebello at dhl.com Mon Apr 10 14:38:35 2006 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Mon, 10 Apr 2006 09:38:35 -0300 Subject: Nagios E-mail Message-ID: <443A51CB.6020503@dhl.com> Guys, I am looking for a solution to send alert by e-mail using my main e-mail server. I wouldn?t like to use the sendmail into the Nagios server. Anybody knows how can I do that ? Thank you. Cheers, Hugo -- Hugo Rebello LISM - Local Information Security Manager DHL Express (Brazil) Ltda Av. Santa Marina, 1660 - Lapa 05036-001 - S?o Paulo - SP Phone : 55 11 3618 3346 FAX : 55 11 3618 3311 Mobile: 55 11 7812 1673 hugo.rebello at dhl.com http://www.dhl.com.br ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 ingo.lantschner at edvg.at Mon Apr 10 15:07:45 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Mon, 10 Apr 2006 15:07:45 +0200 Subject: [RETENTION FILE ISSUE] Retention file not beingupdated? In-Reply-To: <1144097409.15039.16.camel@localhost> References: <1144091376.15039.13.camel@localhost> <4431843B.9070008@opservices.com.br> <1144097409.15039.16.camel@localhost> Message-ID: Marcel Mitsuto Fucatu Sugano schrieb: > Ok, it really is minutes, but even with retention_update_interval=1, the > retention file do not get updated. Only when restarting. BTW, is the > retention file just a copy of the status file? Hi, I am using Nagios 2.0, now updated to 2.2 because I had problems as you described. The retentionfile gets newver written - even not if I restart the process. Unfoirtunatly the update did not solve the problem here. From my nagios.cfg: retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=1 use_retained_program_state=1 ---- $ ll var/ -d drwxrwxr-x 4 nagios nagios 8192 2006-04-10 15:04 var/ ---- $ ls var/*.dat -l -rw-rw-r-- 1 nagios nagios 238 2006-03-20 15:07 var/comments.dat -rw-rw-r-- 1 nagios nagios 239 2006-03-20 15:07 var/downtime.dat -rw-rw-r-- 1 nagios nagios 1712806 2006-04-10 15:05 var/status.dat Any idea? TIA Ingo. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 me at myother.co.uk Mon Apr 10 16:18:08 2006 From: me at myother.co.uk (Tom Craig) Date: Mon, 10 Apr 2006 15:18:08 +0100 Subject: Nagios E-mail In-Reply-To: <443A51CB.6020503@dhl.com> References: <443A51CB.6020503@dhl.com> Message-ID: <7.0.1.0.2.20060410151559.06a6f198@myother.co.uk> Hi Hugo, How about writing a small shell script that wget's a PHP page on the main server that would then send off an email alert. You could even pass some parameters from the shell script that the PHP page could then stick in the email? All the best, Tom.. At 13:38 10/04/2006, Hugo Rebello wrote: >Guys, > >I am looking for a solution to send alert by e-mail using my main e-mail server. I wouldn?t like to use the sendmail into the Nagios server. >Anybody knows how can I do that ? > >Thank you. > >Cheers, >Hugo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 sghosh at sghosh.org Mon Apr 10 16:27:41 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 10 Apr 2006 10:27:41 -0400 (EDT) Subject: Nagios E-mail In-Reply-To: <443A51CB.6020503@dhl.com> References: <443A51CB.6020503@dhl.com> Message-ID: On Mon, 10 Apr 2006, Hugo Rebello wrote: > Guys, > > I am looking for a solution to send alert by e-mail using my main e-mail > server. I wouldn?t like to use the sendmail into the Nagios server. > Anybody knows how can I do that ? > nullmailer http://untroubled.org/nullmailer/ -- -sg From luc.maignan at winxpert.com Mon Apr 10 17:05:57 2006 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Mon, 10 Apr 2006 17:05:57 +0200 Subject: Tutorial requested Message-ID: <443A7455.1030101@winxpert.com> Hi users of list, I apologize for this kind of question, but I need to setup and configure Nagios to monitor my network and I can't find any suitable tutorial or book to help me. Can anyone give an url, a book's reference or so on ? Best regards ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 srunschke at abit.de Mon Apr 10 17:05:59 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 10 Apr 2006 17:05:59 +0200 Subject: Antwort: Nagios E-mail In-Reply-To: <443A51CB.6020503@dhl.com> References: <443A51CB.6020503@dhl.com> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 10.04.2006 14:38:35: > I am looking for a solution to send alert by e-mail using my main e-mail > server. I wouldn?t like to use the sendmail into the Nagios server. > Anybody knows how can I do that ? Uhm, I fail to see why you would want to do that? Sendmail is nothing but a program to deliver the Nagios mail to your main mailserver. If you use another program or solution but sendmail, I don't see any benefit from it. I am curious for the reasons behind your question. regards Sascha -- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 esben at cs.aau.dk Mon Apr 10 17:15:30 2006 From: esben at cs.aau.dk (Esben Bach) Date: Mon, 10 Apr 2006 17:15:30 +0200 Subject: Tutorial requested In-Reply-To: <443A7455.1030101@winxpert.com> References: <443A7455.1030101@winxpert.com> Message-ID: <443A7692.7010705@cs.aau.dk> The official documentation found at www.nagios.org is a near perfect for reference and tutorial. -- Esben Luc MAIGNAN wrote: >Hi users of list, > >I apologize for this kind of question, but I need to setup and configure >Nagios to monitor my network and I can't find any suitable tutorial or >book to help me. >Can anyone give an url, a book's reference or so on ? > >Best regards > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 td3201 at gmail.com Mon Apr 10 17:18:59 2006 From: td3201 at gmail.com (Terry) Date: Mon, 10 Apr 2006 10:18:59 -0500 Subject: Tutorial requested In-Reply-To: <443A7455.1030101@winxpert.com> References: <443A7455.1030101@winxpert.com> Message-ID: <8ee061010604100818y518a9660g2830939daef9d45e@mail.gmail.com> Hello, Check out: http://www.nagiosexchange.org/Wiki.3.0.html http://nagios.sourceforge.net/docs/2_0/toc.html (under Getting Started) Hope this helps. Terry On 4/10/06, Luc MAIGNAN wrote: > Hi users of list, > > I apologize for this kind of question, but I need to setup and configure > Nagios to monitor my network and I can't find any suitable tutorial or > book to help me. > Can anyone give an url, a book's reference or so on ? > > Best regards > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 luc.maignan at winxpert.com Mon Apr 10 17:29:20 2006 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Mon, 10 Apr 2006 17:29:20 +0200 Subject: Error of executing script Message-ID: <443A79D0.5030005@winxpert.com> I've done all what the doc said (in fact I hope), aned when I want to use a cgi script I have the following error in httpd log : (13) permission denied : exec of ...cgi failed Any ideas ? Regards ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 td3201 at gmail.com Mon Apr 10 17:37:28 2006 From: td3201 at gmail.com (Terry) Date: Mon, 10 Apr 2006 10:37:28 -0500 Subject: Error of executing script In-Reply-To: <443A79D0.5030005@winxpert.com> References: <443A79D0.5030005@winxpert.com> Message-ID: <8ee061010604100837n156fbbb8j8ebb2cb0a93299d5@mail.gmail.com> Make sure the user your webserver is running can execute the CGIs. Check the permissinos of the CGIs. On 4/10/06, Luc MAIGNAN wrote: > I've done all what the doc said (in fact I hope), aned when I want to > use a cgi script I have the following error in httpd log : > > (13) permission denied : exec of ...cgi failed > > > Any ideas ? > > Regards > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Mon Apr 10 17:37:06 2006 From: marc at ena.com (Marc Powell) Date: Mon, 10 Apr 2006 10:37:06 -0500 Subject: Error of executing script Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Luc MAIGNAN > Sent: Monday, April 10, 2006 10:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error of executing script > > I've done all what the doc said (in fact I hope), aned when I want to > use a cgi script I have the following error in httpd log : > > (13) permission denied : exec of ...cgi failed > > > Any ideas ? Yep. http://www.catb.org/~esr/faqs/smart-questions.html#beprecise As a mostly arbitrary guess, I'd recommend you look at your SELinux setup if you have that enabled. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Mon Apr 10 17:44:36 2006 From: marc at ena.com (Marc Powell) Date: Mon, 10 Apr 2006 10:44:36 -0500 Subject: Error of executing script Message-ID: Good. You'll probably want to read that link then. -- Marc p.s. Please always respond on list. You've asked everyone to help you and everybody deserves to know your responses. It'll also benefit future users like yourself who search the archives. > -----Original Message----- > From: Luc MAIGNAN [mailto:luc.maignan at winxpert.com] > Sent: Monday, April 10, 2006 10:41 AM > To: Marc Powell > Subject: Re: [Nagios-users] Error of executing script > > SELinux is disabled > > > > Marc Powell a ?crit : > > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > users- > admin at lists.sourceforge.net] On Behalf Of Luc MAIGNAN > Sent: Monday, April 10, 2006 10:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error of executing script > > I've done all what the doc said (in fact I hope), aned when I > want to > use a cgi script I have the following error in httpd log : > > (13) permission denied : exec of ...cgi failed > > > Any ideas ? > > > > Yep. > > http://www.catb.org/~esr/faqs/smart-questions.html#beprecise > > As a mostly arbitrary guess, I'd recommend you look at your SELinux > setup if you have that enabled. > > -- > Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 stinkybob at gmail.com Mon Apr 10 17:47:00 2006 From: stinkybob at gmail.com (Eugene MacDougal) Date: Mon, 10 Apr 2006 10:47:00 -0500 Subject: Oreon Project? Message-ID: <2579c6b20604100847y104457bdj4fb5a453ecbc9fd8@mail.gmail.com> If you check out the Oreon roadmap, it appears they intend to have Nagios 2 support by April 30th of this year. I think I'll wait a bit and check it out when that happens, instead of attempting my own concoction. http://www.oreon-project.org/Oreon-RoadMap-en.html Gene -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto: nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Friday, April 07, 2006 4:53 PM To: jeff vier; Andrew Cruse Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Oreon Project? >From what I saw while using Oreon under Nagions 1.x, it worked well. The reason I dumped it was because of the Nagions 2.x support (or lack there of). I too am writing my won interface utilizing the NDO table structure for the "monitoring" portion and wrote my own tables for the config. Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier Sent: Friday, April 07, 2006 2:18 PM To: Andrew Cruse Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oreon Project? On Fri, 2006-04-07 at 16:59 -0400, Andrew Cruse wrote: > I was perusing nagiosexchange.org and ran across the Oreon Project > (http://www.oreon-project.org/index-en.html). Has anyone given this a > shot? Comments? It looks amazing from the screenshots, but it seems to > be a pretty young project so I'm concerned it might still be pretty > buggy... I tried it, but it didn't support v2.x And all the comments and variables and such were in French, so I couldn't efficiently hack it. So I'm writing my own using the NDO Utils DB as a feed. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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: From Roberto.Raffo at enterpriseda.com Mon Apr 10 18:02:00 2006 From: Roberto.Raffo at enterpriseda.com (Roberto Raffo) Date: Mon, 10 Apr 2006 18:02:00 +0200 Subject: Nagios & PerfParse Message-ID: Hi folks! I installed Nagios with perfparse and Mysql but in the perfparse section of the Nagios web interface I cannot add host becouse the "Add new Host to Group:" is empty. This is the section of my nagios.cfg that talk about perfparse: ******************************************* resource_file=/usr/local/nagios/etc/resource.cfg xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$O UTPUT$\t$SERVICESTATE$\t$PERFDATA$ service_perfdata_file=/usr/local/nagios/var/perfdata.log service_perfdata_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$| |$SERVICEOUTPUT$||$SERVICESPERDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata ******************************************* Any ideas? Thanks a lot. Roberto. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ludwig.Pummer at Copart.Com Mon Apr 10 18:24:20 2006 From: Ludwig.Pummer at Copart.Com (Ludwig Pummer) Date: Mon, 10 Apr 2006 09:24:20 -0700 Subject: strange behavior with multiple failing hosts and nagios 1.3 / 2.1 Message-ID: ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Christian Lyra Sent: Friday, April 07, 2006 5:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] strange behavior with multiple failing hosts and nagios 1.3 / 2.1 Hi there, I was evaluating nagios and found a strange behavior on my test setup. After a fresh install, I did a minimal setup, just one contactgroup with one contact. A hostgroup with 4 hosts (no parent relationship). Since I?m only interested to know if a host is up or down I just configured a check_ping service for each host. As I said, a pretty simple setup. The services is schedulled to run every minute with a one try only. To simulate a network problem, I just did a "iptables -A INPUT -p icmp -j DROP". I was expecting that I would see all hosts/services down within a minute, as nagios use to "spread" the checks within the one minute (default configuration). To my suprise I saw just one host coming down on one minute, with the subsequent hosts coming down each minute after that. I mean, host 1 comes down on, say, 8:40:13, host 2 on 8:41:05, host 3 on 8:42:05 and host 5 on host 8:43:05. I saw the last host come down almost 4 minutes after the "network problem". My first try was with nagios 1.3, but the I could reproduce the same problem with nagios 2.1. When I asked a friend to do the same test, he got the same results. A little worst, since he does not check the hosts/services every minute, so he got a host down per 3 minutes, after 10 minutes he couldnt see all the hosts down. To my surprise, all the hosts come up about the same time after removing the iptables rule. I could not find a explanation for this behavior, and couldnt find anything wrong with the configuration. I?m not sure if this is a feature, or if I hit a bug. A serious bug to be true. I did a minimal search on the mailing list archives and forums, so excuse me if this is know issue, and plz point me where I can find more about it. Christian Lyra This is unfortunately a long-standing deficiency in Nagios. It suspends all parallel checking while it performs the host check. The more downed hosts you have, the farther behind it falls on the rest of your service checks. -- Ludwig Pummer System Administrator Copart Auto Auctions -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Mon Apr 10 18:38:08 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 10 Apr 2006 18:38:08 +0200 (CEST) Subject: strange behavior with multiple failing hosts and nagios 1.3 / 2.1 In-Reply-To: References: Message-ID: On Mon, 10 Apr 2006, Ludwig Pummer wrote: > I was evaluating nagios and found a strange behavior on my test setup. After a fresh install, I did a minimal setup, just one contactgroup with one contact. A hostgroup with 4 hosts (no parent relationship). Since I?m only interested to know if a host is up or down I just configured a check_ping service for each host. As I said, a pretty simple setup. The services is schedulled to run every minute with a one try only. Can you show us the hosts and service entries? Hugo. PS: Could you please use some sane linelength? Quoting is a major pain this way. -- 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 lyra at pop-pr.rnp.br Mon Apr 10 19:21:56 2006 From: lyra at pop-pr.rnp.br (Christian Lyra) Date: Mon, 10 Apr 2006 14:21:56 -0300 Subject: strange behavior with multiple failing hosts and nagios 1.3 / 2.1 In-Reply-To: References: Message-ID: <200604101421.58448.lyra@pop-pr.rnp.br> Hi, I just tried nagios 2.2 and the problem seems to be gonne. Ludwig said about nagios not performing parallel tests while checking a host. This was fixed on the new version? > Can you show us the hosts and service entries? > sure. I have four hosts like the one below: define host{ name generic-host 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 } define host{ use generic-host host_name galaxie alias galalxie address 200.X.X.X check_command check-host-alive max_check_attempts 1 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define service{ name generic-service active_checks_enabled 1 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 } define service{ use generic-service ; Name of service template to use host_name galaxie service_description PING is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } > Hugo. > > PS: Could you please use some sane linelength? Quoting is a major > pain this way. linelength=72 on my kmail settings. Is this sane enough? -- Christian Lyra POP-PR - RNP http://lyra.soueu.com.br Thus spake the master programmer: ``A well-written program is its own heaven; a poorly-written program is its own hell.'' The Tao Of Programing ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Mon Apr 10 20:28:09 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 10 Apr 2006 15:28:09 -0300 Subject: [RETENTION FILE ISSUE] Retention file notbeingupdated? In-Reply-To: References: <1144091376.15039.13.camel@localhost> <4431843B.9070008@opservices.com.br> <1144097409.15039.16.camel@localhost> Message-ID: <1144693689.8104.4.camel@localhost> On Mon, 2006-04-10 at 15:07 +0200, Ingo Lantschner wrote: > Hi, > I am using Nagios 2.0, now updated to 2.2 because I had problems as > you > described. The retentionfile gets newver written - even not if I > restart > the process. Unfoirtunatly the update did not solve the problem here. > > From my nagios.cfg: > > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/retention.dat > retention_update_interval=1 > use_retained_program_state=1 > > ---- > > $ ll var/ -d > drwxrwxr-x 4 nagios nagios 8192 2006-04-10 15:04 var/ > > ---- > > $ ls var/*.dat -l > -rw-rw-r-- 1 nagios nagios 238 2006-03-20 15:07 var/comments.dat > -rw-rw-r-- 1 nagios nagios 239 2006-03-20 15:07 var/downtime.dat > -rw-rw-r-- 1 nagios nagios 1712806 2006-04-10 15:05 var/status.dat > > Any idea? Received last week an email on nagios-devel list, where Bruce sends a patch that Ethan replied it would be in cvs shortly. I still did not have the time to look at the 2.2 code, but it might be there. Well, the patch relates to the nagios process not being able to write some temporary file before flush the content to the retention file. You can reach the post here: http://article.gmane.org/gmane.network.nagios.devel/2662/ Will look at the code of 2.2 to see if it's already patched with Bruce's patch. 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 ron at tvnz.co.nz Tue Apr 11 05:43:40 2006 From: ron at tvnz.co.nz (Ron Wilson) Date: Tue, 11 Apr 2006 15:43:40 +1200 Subject: Windows Event Logs Message-ID: What is the best way to interrogate Windows Event Logs looking for errors using Nagios. I have looked at the eventlog.exe program but not sure how Nagios can use a windows executable like this ===================================================================== CAUTION: This e-mail and any attachment(s) contains information that is intended to be read only by the named recipient(s). It may contain information that is confidential, proprietary or the subject of legal privilege. This information is not to be used by any other person and/or organisation. If you are not the intended recipient, please advise us immediately and delete this e-mail from your system. Do not use any information contained in it. ================================================================ For more information on the Television New Zealand Group, visit us online at http://www.tvnz.co.nz ================================================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue Apr 11 05:46:21 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 10 Apr 2006 23:46:21 -0400 (EDT) Subject: Windows Event Logs In-Reply-To: References: Message-ID: On Tue, 11 Apr 2006, Ron Wilson wrote: > > What is the best way to interrogate Windows Event Logs looking for > errors using Nagios. I have looked at the eventlog.exe program but not > sure how Nagios can use a windows executable like this > NRPE_NT can run any windows based script/programs. Look on Nagios exchange for a set of WMI scripts that do this. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 satish_lsurf at yahoo.com Tue Apr 11 05:59:01 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Mon, 10 Apr 2006 20:59:01 -0700 (PDT) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: <20060407230039.21182.qmail@web53508.mail.yahoo.com> References: <20060407230039.21182.qmail@web53508.mail.yahoo.com> Message-ID: <20060411035901.83327.qmail@web53509.mail.yahoo.com> Hi All, I am still finding the problem and is it related to any rpms missing (gd, libpng,libjpeg etc......).Please help me in this issue. Thanks, Satish satish kumar wrote: Hi, I have enabled the notification & Service checks and the nagios has sent a lot of notifications for various services.And the permission wise others has rx permissions where apache belongs to.I am pasting the output of the command below. ===================== [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg Nagios 2.1 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 03-27-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 222 services. Checking hosts... Checked 67 hosts. Checking host groups... Checked 19 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 8 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 105 commands. Checking time periods... Checked 3 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check ====================== Thanks, Satish Marc Powell wrote: According to your own screenshots Notifications are disabled and Service checks are disabled. While I haven't personally experienced the symptoms you're seeing, the three screenshots seem to imply a problem reading the config files. Does your web server have permission to read the .cfg files? Can you use the View Config link to see your configuration? Also, from the command line as the nagios user run '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' and post it's output. Perhaps if you posted the screenshots where other can see them someone else who has seen the problem before can help you. -- Marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Friday, April 07, 2006 1:25 PM > To: Marc Powell > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > I am forwarding the screenshots, Please let me know for further > troubleshooting. > I am running nagios 2.0, with notification & services enabled.There are no > errors found in the apache logs.Regarding Auth problem, i have enabled all > the parameters with the user nagios as owner. > > Thanks, satish > > Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > > Sent: Thursday, April 06, 2006 12:31 AM > > To: nagios > > Subject: Re: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > I am not able to see the hosts/services when we click the links > on > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the common > message > > on the lefthand side of the webpage as > > > > > > Host and Service State Trends > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > Nagios(r) - www.nagios.org > > > Logged in as nagios > > > > > > - Notifications are disabled > > > - Service checks are disabled > > > > If you read this message you should pay attention to it and enable > > notifications anc service checks as suggested. > > And it would do nothing to resolve his problem. Those are just > informational messages about the overall nagios configuration and > have > nothing to do with the functionality of the cgi's in question. > > To the OP: You have not provided enough information to determine > what > might be going on. What nagios version are you running? Is there any > other information in the right frame when you click on those links? > Can > you post a screenshot somewhere (don't send it to the list)? Do you > see > any errors in your web server logs? There are a number of FAQ's > related > to these CGIs, please review them to make sure you've covered those > problems. > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2???/min with Yahoo! Messenger with Voice. --------------------------------- Blab-away for as little as 1?/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Tue Apr 11 08:08:55 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 11 Apr 2006 08:08:55 +0200 (CEST) Subject: Summary: Nagios / NagiosGrapher / performance monitoring Message-ID: Hi, After doing some tests and keeping it running for several days I can now make a summary of what I did to make NagiosGrapher work for me at this point. 1. Running a perl script to gather data is too slow if multiple events occur. As the C program did not work for me I have opted to use printf and send it to the named pipe like this: # 'process-service-perfdata' command definition define command { command_name process-service-perfdata command_line /usr/bin/printf "%b" "$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /var/spool/nagios/ngraph.pipe } 2. Sending 4 results at once to the named pipe is logged correctly by the collect tool but did not do an update to all of the RRD files. At present the work around is to run just 1 service check at the time and feed it to the collector. For this I modified some other entries in Nagios: max_concurrent_checks=1 service_reaper_frequency=1 This does have an impact on the total number of services you can check. I will try to play with it a bit more to see if changing it will have a reverse effect. But for now all performance grahps show all the data and show them consistently. And of course I did the normal changes to Nagios like: process_performance_data=1 service_perfdata_command=process-service-perfdata If anyone feels like taking these notes and adding them to documentation: Please do. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 tomvo at absi.be Tue Apr 11 08:27:49 2006 From: tomvo at absi.be (tomvo at absi.be) Date: Tue, 11 Apr 2006 08:27:49 +0200 Subject: Tom Van Overbeke is out of the office. Message-ID: I will be out of the office starting 06/04/2006 and will not return until 18/04/2006. I will respond to your message when I return. For urgent support issues, you can either send a mail to support at absi.be, or contact the central dispatch at (++32)/2 333 4000 Thank you. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 tomvo at absi.be Tue Apr 11 08:28:21 2006 From: tomvo at absi.be (tomvo at absi.be) Date: Tue, 11 Apr 2006 08:28:21 +0200 Subject: Tom Van Overbeke is out of the office. Message-ID: I will be out of the office starting 06/04/2006 and will not return until 18/04/2006. I will respond to your message when I return. For urgent support issues, you can either send a mail to support at absi.be, or contact the central dispatch at (++32)/2 333 4000 Thank you. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Philipp.Sand at sycor.de Tue Apr 11 09:42:30 2006 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 11 Apr 2006 09:42:30 +0200 Subject: CSV output out of availibility Reports Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E0215ABDB@SYGOMAIL.GOE.AD.SYCOR.DE> Fyi, I found the patch here: https://sourceforge.net/mailarchive/forum.php?thread_id=7388484&forum_id=1872 as I said before, I would greatly appreaciate it, when this patch would be applied to the avail.cgi by default. As Ethan does a lot of patchwork these days on the avail.cgi, it's pretty hard to always modify the new version of avail.cgi and then test it. > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] Im Auftrag von Sand Philipp > Gesendet: Freitag, 7. April 2006 09:20 > An: nagios-users at lists.sourceforge.net > Betreff: AW: [Nagios-users] RE: CSV output out of availibility Reports > > > >Hi there, > > > > > >I remember a patch fort he avail.cgi, with which, you could > > >generate a cs= v output out of each avail.cgi report. I > > >already did some research in this list and with google, but I > > >can't fin= d the patch any more. Can anyone please give me a > > >hint, where I can download this patch? Has anyone tested this > > >patch with the new version of the avail.cgi in Nag= ios 2.1? > > > avail.cgi has _always_ done CSV output (as long as you choose > > all hosts or all services). > > It's up to you to filter the CSV by any means you care to choose. > > If you want some help, try > > - either putting all the CSV records in a DB and use SQL > > (if you are serious about reporting you prob want to do this). > > - Nagios::Report > > (munges and filters the CSV from avail.cgi). > I was aware, that you can do this csv output when selecting all services > or all hosts. As wehave about 500 Hosts and 3000 Services, this is no > option when you want to make a report for the last 90 days. > As I said, there had been a patch for this, which I already applied to > my old Nagios Installation, but I didn't save this patch, and don't know > where I can download it. > > > >Question for Ethan: why isn't this patch integrated into the > > >avail.cgi by= default? Is this planned for a future release? > > Patches welcome. > When this patch would have been applied to the avail.cgi, I wouldn't > have the problem I got now ;) > > > BTW, there are bugs in avail.cgi relating to scheduled down time > > that are probably more important than this. > I know, I already had to fight with this Problem, but I think that this > bug is fixed in 2.1. > > > >Thanks in advance! > > > > I probably didn't do your letter justice. It seems on reflection that > > you meant you want the patch for avail.cgi that generates CSV from > > a specific availability report eg a new link in the report for > > a host or service that does CSV. > > However, I think it has been made pretty clear from the Nag roadmap > that > > the CGIs have been end of lifed and will be replaced by PHP. I think > > that > > is a much better use of scare developer resources than trying > > to fix difficult and fragile code. > As I said obove, the patch had already been developed, so you don't need > to sink hundrets of hours to apply it. I'm totally aware of the Nagios > Roadmap. But I'm not expecting Nagios 3.0 to be released in the near > future. > > > > > > As Radia Perlman said about sub-optimal routing, 'people should be > > grateful > > that their data is delivered at all'. > Hmm, would be nice to see, when you tell this to your customers :-) > > Philipp > > > > ************************************************************************** > ****************************************************** > sycor plastics - die Branchenloesung fuer die Kunststoffindustrie > www.sycor-plastics.de > > sycor plastics - the solution for the plastic industry > www.sycor-plastics.com > > ************************************************************************** > ****************************************************** > > > Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche > Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse > Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort > und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine > Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, > sofern dies nicht ausdruecklich in schriftlicher Form zwischen den > Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged > information. If you are not the intended recipient please delete this e- > mail and all attachments immediately and inform us. The company sycor does > not agree with contracts or contract obligations sent by e-mail, neither > do we transmit legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and documented in written form. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ******************************************************************************************************************************** sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de sycor plastics - the solution for the plastic industry www.sycor-plastics.com ******************************************************************************************************************************** Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 yghandour at bci.ps Tue Apr 11 13:08:00 2006 From: yghandour at bci.ps (Yazeed Ghandour) Date: Tue, 11 Apr 2006 13:08:00 +0200 Subject: question Message-ID: <562C2841875C6745B7CE1CA76C2F65AD5F5F@mail.bci.ps> Dears I am yazeed Ghandour; working as product manager in a company based on Palestine. We are implementing enterprise project; we are planning to connect many wild sites together through microwave links. Each site will consist of the microwave unites and router. As well as the applications and server in each site. What I am asking for, what are the capabilities of Nagios in this filed (monitoring) To be clearer; can the Nagios monitor the network devices' router and access points (not the services inside the site) Many thanks in advanced. Regards Yazeed Ghandour __________________ yghandour at bci.ps BCI Communication & Advanced Technology * P.O.Box: 3917.* Al-Ersal Tel: +970-2-2981108 * Fax: +970-2-2964167 * www.bci.ps -------------- next part -------------- An HTML attachment was scrubbed... URL: From CKH99 at bbh.hosp.dk Tue Apr 11 12:40:23 2006 From: CKH99 at bbh.hosp.dk (Christian Kammer Have) Date: Tue, 11 Apr 2006 12:40:23 +0200 Subject: question In-Reply-To: <562C2841875C6745B7CE1CA76C2F65AD5F5F@mail.bci.ps> References: <562C2841875C6745B7CE1CA76C2F65AD5F5F@mail.bci.ps> Message-ID: Indeed, if you are able to use snmp against the devices, you can monitor whatever you need in this manner. You should be able to just ping the devices and use that information in nagios, it is very straight forward. Good luck Regards Security Specialist Christian Kammer Have Bispebjerg Hospital MIT (Mediko, Informatik & Tele) Bispebjerg Bakke 23 2400 K?benhavn NV E-mail: ckh99 at bbh.hosp.dk "Yazeed Ghandour" Sendt af: nagios-users-admin at lists.sourceforge.net 11-04-2006 13:08 Til: cc: Vedr.: [Nagios-users] question Dears I am yazeed Ghandour; working as product manager in a company based on Palestine. We are implementing enterprise project; we are planning to connect many wild sites together through microwave links. Each site will consist of the microwave unites and router. As well as the applications and server in each site. What I am asking for, what are the capabilities of Nagios in this filed (monitoring) To be clearer; can the Nagios monitor the network devices? router and access points (not the services inside the site) Many thanks in advanced. Regards Yazeed Ghandour __________________ yghandour at bci.ps BCI Communication & Advanced Technology * P.O.Box: 3917.* Al-Ersal Tel: +970-2-2981108 * Fax: +970-2-2964167 * www.bci.ps -------------- next part -------------- An HTML attachment was scrubbed... URL: From ingo.lantschner at edvg.at Tue Apr 11 13:13:46 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Tue, 11 Apr 2006 13:13:46 +0200 Subject: Antwort: Re: Re: [RETENTION FILE ISSUE] Retention file notbeingupdated? In-Reply-To: <1144693689.8104.4.camel@localhost> References: <1144693689.8104.4.camel@localhost> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 10.04.2006 20:28:09: > You can reach the post here: > http://article.gmane.org/gmane.network.nagios.devel/2662/ Hi Marcel, thanks for your answer. Seems as if the tempfile in my configuration is ok: $ strings -a /usr/local/nagios/bin/nagios |grep tempfile /usr/local/nagios/var/tempfile $ sudo su nagios $ whoami nagios $ if [ ! -w /usr/local/nagios/var ] ; then echo "I cannot write." ; fi $ touch /usr/local/nagios/var/xx But still no state-retentionfile: nagios at sysmon2:/usr/local/nagios/var$ ls *.dat comments.dat downtime.dat status.dat What can I have done wrong? TIA Ingo. P.S: Again my config: Nagios 2.2, Linux (Ubuntu Breezy Server) -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Apr 11 16:41:04 2006 From: marc at ena.com (Marc Powell) Date: Tue, 11 Apr 2006 09:41:04 -0500 Subject: Not able ot view hosts/services in the Trends.cgi link Message-ID: Please post an 'ls -al' of the following directories -- /usr/local/nagios /usr/local/nagios/etc /usr/local/nagios/var Also post your apache config parts related to nagios. Thanks, marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Monday, April 10, 2006 10:59 PM > To: satish kumar; Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > Hi All, > > I am still finding the problem and is it related to any rpms missing (gd, > libpng,libjpeg etc......).Please help me in this issue. > > Thanks, Satish > > satish kumar wrote: > > Hi, > > I have enabled the notification & Service checks and the nagios has > sent a lot of notifications for various services.And the permission wise > others has rx permissions where apache belongs to.I am pasting the output > of the command below. > ===================== > [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg > > Nagios 2.1 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 03-27-2006 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Checked 222 services. > Checking hosts... > Checked 67 hosts. > Checking host groups... > Checked 19 host groups. > Checking service groups... > Checked 0 service groups. > Checking contacts... > Checked 8 contacts. > Checking contact groups... > Checked 5 contact groups. > Checking service escalations... > Checked 0 service escalations. > Checking service dependencies... > Checked 0 service dependencies. > Checking host escalations... > Checked 0 host escalations. > Checking host dependencies... > Checked 0 host dependencies. > Checking commands... > Checked 105 commands. > Checking time periods... > Checked 3 time periods. > Checking extended host info definitions... > Checked 0 extended host info definitions. > Checking extended service info definitions... > Checked 0 extended service info definitions. > Checking for circular paths between hosts... > Checking for circular host and service dependencies... > Checking global event handlers... > Checking obsessive compulsive processor commands... > Checking misc settings... > > Total Warnings: 0 > Total Errors: 0 > > Things look okay - No serious problems were detected during the pre- > flight check > ====================== > > Thanks, Satish > > Marc Powell wrote: > > According to your own screenshots Notifications are disabled > and Service > checks are disabled. While I haven't personally experienced > the symptoms > you're seeing, the three screenshots seem to imply a problem > reading the > config files. Does your web server have permission to read the > .cfg > files? Can you use the View Config link to see your > configuration? > > Also, from the command line as the nagios user run > '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' > and post > it's output. Perhaps if you posted the screenshots where other > can see > them someone else who has seen the problem before can help > you. > > -- > Marc > > > -----Original Message----- > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > Sent: Friday, April 07, 2006 1:25 PM > > To: Marc Powell > > Subject: RE: [Nagios-users] Not able ot view hosts/services > in the > > Trends.cgi link > > > > I am forwarding the screenshots, Please let me know for > further > > troubleshooting. > > I am running nagios 2.0, with notification & services > enabled.There > are no > > errors found in the apache logs.Regarding Auth problem, i > have enabled > all > > the parameters with the user nagios as owner. > > > > Thanks, satish > > > > Marc Powell wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios- > > users- > > > admin at lists.sourceforge.net] On Behalf Of Hugo van der > Kooij > > > Sent: Thursday, April 06, 2006 12:31 AM > > > To: nagios > > > Subject: Re: [Nagios-users] Not able ot view > hosts/services in > the > > > Trends.cgi link > > > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > > > I am not able to see the hosts/services when we click > the > links > > on > > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the > common > > message > > > on the lefthand side of the webpage as > > > > > > > > Host and Service State Trends > > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > > Nagios(r) - www.nagios.org > > > > Logged in as nagios > > > > > > > > - Notifications are disabled > > > > - Service checks are disabled > > > > > > If you read this message you should pay attention to it > and > enable > > > notifications anc service checks as suggested. > > > > And it would do nothing to resolve his problem. Those are > just > > informational messages about the overall nagios > configuration > and > > have > > nothing to do with the functionality of the cgi's in > question. > > > > To the OP: You have not provided enough information to > determine > > what > > might be going on. What nagios version are you running? Is > there > any > > other information in the right frame when you click on those > links? > > Can > > you post a screenshot somewhere (don't send it to the list)? > Do > you > > see > > any errors in your web server logs? There are a number of > FAQ's > > related > > to these CGIs, please review them to make sure you've > covered > those > > problems. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > ________________________________ > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > evt=39666/*http://beta.messenger.yahoo.com/> for just 2???/min with > Yahoo! Messenger with Voice. > > > ________________________________ > > Blab-away for as little as 1?/min. Make PC-to-Phone Calls > evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with Voice. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 bamapookie at gmail.com Tue Apr 11 17:04:30 2006 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Tue, 11 Apr 2006 11:04:30 -0400 Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: References: Message-ID: I was just recently having a very similar problem. When I loaded the statusmap, I was getting an internal server error. Examining the Apache logs showed that the cgi was trying to access an image library that wasn't there (I had upgraded from RHEL3 to RHEL4). Most everything else was ok. I upgraded to a newer version of Nagios (2.0 to 2.2) in an RPM that was compiled for RHEL4 (Thanks, DAG.) and everything works fine now. On 4/11/06, Marc Powell wrote: > > Please post an 'ls -al' of the following directories -- > > /usr/local/nagios > /usr/local/nagios/etc > /usr/local/nagios/var > > Also post your apache config parts related to nagios. > > Thanks, > > marc > > > -----Original Message----- > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > Sent: Monday, April 10, 2006 10:59 PM > > To: satish kumar; Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > Hi All, > > > > I am still finding the problem and is it related to any rpms missing > (gd, > > libpng,libjpeg etc......).Please help me in this issue. > > > > Thanks, Satish > > > > satish kumar wrote: > > > > Hi, > > > > I have enabled the notification & Service checks and the nagios > has > > sent a lot of notifications for various services.And the permission wise > > others has rx permissions where apache belongs to.I am pasting the > output > > of the command below. > > ===================== > > [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg > > > > Nagios 2.1 > > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > > Last Modified: 03-27-2006 > > License: GPL > > > > Reading configuration data... > > > > Running pre-flight check on configuration data... > > > > Checking services... > > Checked 222 services. > > Checking hosts... > > Checked 67 hosts. > > Checking host groups... > > Checked 19 host groups. > > Checking service groups... > > Checked 0 service groups. > > Checking contacts... > > Checked 8 contacts. > > Checking contact groups... > > Checked 5 contact groups. > > Checking service escalations... > > Checked 0 service escalations. > > Checking service dependencies... > > Checked 0 service dependencies. > > Checking host escalations... > > Checked 0 host escalations. > > Checking host dependencies... > > Checked 0 host dependencies. > > Checking commands... > > Checked 105 commands. > > Checking time periods... > > Checked 3 time periods. > > Checking extended host info definitions... > > Checked 0 extended host info definitions. > > Checking extended service info definitions... > > Checked 0 extended service info definitions. > > Checking for circular paths between hosts... > > Checking for circular host and service dependencies... > > Checking global event handlers... > > Checking obsessive compulsive processor commands... > > Checking misc settings... > > > > Total Warnings: 0 > > Total Errors: 0 > > > > Things look okay - No serious problems were detected during the > pre- > > flight check > > ====================== > > > > Thanks, Satish > > > > Marc Powell wrote: > > > > According to your own screenshots Notifications are > disabled > > and Service > > checks are disabled. While I haven't personally > experienced > > the symptoms > > you're seeing, the three screenshots seem to imply a > problem > > reading the > > config files. Does your web server have permission to read > the > > .cfg > > files? Can you use the View Config link to see your > > configuration? > > > > Also, from the command line as the nagios user run > > '/path/to/nagios/bin/nagios -v > /path/to/nagios/etc/nagios.cfg' > > and post > > it's output. Perhaps if you posted the screenshots where > other > > can see > > them someone else who has seen the problem before can help > > you. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > Sent: Friday, April 07, 2006 1:25 PM > > > To: Marc Powell > > > Subject: RE: [Nagios-users] Not able ot view > hosts/services > > in the > > > Trends.cgi link > > > > > > I am forwarding the screenshots, Please let me know for > > further > > > troubleshooting. > > > I am running nagios 2.0, with notification & services > > enabled.There > > are no > > > errors found in the apache logs.Regarding Auth problem, > i > > have enabled > > all > > > the parameters with the user nagios as owner. > > > > > > Thanks, satish > > > > > > Marc Powell wrote: > > > > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios- > > > users- > > > > admin at lists.sourceforge.net] On Behalf Of Hugo van der > > Kooij > > > > Sent: Thursday, April 06, 2006 12:31 AM > > > > To: nagios > > > > Subject: Re: [Nagios-users] Not able ot view > > hosts/services in > > the > > > > Trends.cgi link > > > > > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > > > > > I am not able to see the hosts/services when we > click > > the > > links > > > on > > > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get > the > > common > > > message > > > > on the lefthand side of the webpage as > > > > > > > > > > Host and Service State Trends > > > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > > > Nagios(r) - www.nagios.org > > > > > Logged in as nagios > > > > > > > > > > - Notifications are disabled > > > > > - Service checks are disabled > > > > > > > > If you read this message you should pay attention to > it > > and > > enable > > > > notifications anc service checks as suggested. > > > > > > And it would do nothing to resolve his problem. Those > are > > just > > > informational messages about the overall nagios > > configuration > > and > > > have > > > nothing to do with the functionality of the cgi's in > > question. > > > > > > To the OP: You have not provided enough information to > > determine > > > what > > > might be going on. What nagios version are you running? > Is > > there > > any > > > other information in the right frame when you click on > those > > links? > > > Can > > > you post a screenshot somewhere (don't send it to the > list)? > > Do > > you > > > see > > > any errors in your web server logs? There are a number > of > > FAQ's > > > related > > > to these CGIs, please review them to make sure you've > > covered > > those > > > problems. > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting language > > that extends applications into web and mobile media. > Attend > > the live webcast > > and join the prime developer group breaking into this new > > coding territory! > > http://sel.as- > > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > ________________________________ > > > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > > < > http://us.rd.yahoo.com/mail_us/taglines/postman9/*http://us.rd.yahoo.com/ > > evt=39666/*http://beta.messenger.yahoo.com/> for just 2???/min with > > Yahoo! Messenger with Voice. > > > > > > ________________________________ > > > > Blab-away for as little as 1?/min. Make PC-to-Phone Calls > > < > http://us.rd.yahoo.com/mail_us/taglines/postman2/*http://us.rd.yahoo.com/ > > evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with Voice. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&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: From satish_lsurf at yahoo.com Tue Apr 11 17:13:51 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Tue, 11 Apr 2006 08:13:51 -0700 (PDT) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: References: Message-ID: <20060411151351.11804.qmail@web53511.mail.yahoo.com> Hi Marc, Right now i am not in office and i do not have access to the network. Please let me know what should be the permission/owner of /usr/local/nagios /usr/local/nagios/etc /usr/local/nagios/var And what exactly is required to be inside httpd.conf as part of Nagios in Apache.So that i can verify when i am in office,which avoids me waiting another 12 hours in you replying back to me. Thanks, Satish Marc Powell wrote: Please post an 'ls -al' of the following directories -- /usr/local/nagios /usr/local/nagios/etc /usr/local/nagios/var Also post your apache config parts related to nagios. Thanks, marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Monday, April 10, 2006 10:59 PM > To: satish kumar; Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > Hi All, > > I am still finding the problem and is it related to any rpms missing (gd, > libpng,libjpeg etc......).Please help me in this issue. > > Thanks, Satish > > satish kumar wrote: > > Hi, > > I have enabled the notification & Service checks and the nagios has > sent a lot of notifications for various services.And the permission wise > others has rx permissions where apache belongs to.I am pasting the output > of the command below. > ===================== > [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg > > Nagios 2.1 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 03-27-2006 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Checked 222 services. > Checking hosts... > Checked 67 hosts. > Checking host groups... > Checked 19 host groups. > Checking service groups... > Checked 0 service groups. > Checking contacts... > Checked 8 contacts. > Checking contact groups... > Checked 5 contact groups. > Checking service escalations... > Checked 0 service escalations. > Checking service dependencies... > Checked 0 service dependencies. > Checking host escalations... > Checked 0 host escalations. > Checking host dependencies... > Checked 0 host dependencies. > Checking commands... > Checked 105 commands. > Checking time periods... > Checked 3 time periods. > Checking extended host info definitions... > Checked 0 extended host info definitions. > Checking extended service info definitions... > Checked 0 extended service info definitions. > Checking for circular paths between hosts... > Checking for circular host and service dependencies... > Checking global event handlers... > Checking obsessive compulsive processor commands... > Checking misc settings... > > Total Warnings: 0 > Total Errors: 0 > > Things look okay - No serious problems were detected during the pre- > flight check > ====================== > > Thanks, Satish > > Marc Powell wrote: > > According to your own screenshots Notifications are disabled > and Service > checks are disabled. While I haven't personally experienced > the symptoms > you're seeing, the three screenshots seem to imply a problem > reading the > config files. Does your web server have permission to read the > .cfg > files? Can you use the View Config link to see your > configuration? > > Also, from the command line as the nagios user run > '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' > and post > it's output. Perhaps if you posted the screenshots where other > can see > them someone else who has seen the problem before can help > you. > > -- > Marc > > > -----Original Message----- > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > Sent: Friday, April 07, 2006 1:25 PM > > To: Marc Powell > > Subject: RE: [Nagios-users] Not able ot view hosts/services > in the > > Trends.cgi link > > > > I am forwarding the screenshots, Please let me know for > further > > troubleshooting. > > I am running nagios 2.0, with notification & services > enabled.There > are no > > errors found in the apache logs.Regarding Auth problem, i > have enabled > all > > the parameters with the user nagios as owner. > > > > Thanks, satish > > > > Marc Powell wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios- > > users- > > > admin at lists.sourceforge.net] On Behalf Of Hugo van der > Kooij > > > Sent: Thursday, April 06, 2006 12:31 AM > > > To: nagios > > > Subject: Re: [Nagios-users] Not able ot view > hosts/services in > the > > > Trends.cgi link > > > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > > > I am not able to see the hosts/services when we click > the > links > > on > > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the > common > > message > > > on the lefthand side of the webpage as > > > > > > > > Host and Service State Trends > > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > > Nagios(r) - www.nagios.org > > > > Logged in as nagios > > > > > > > > - Notifications are disabled > > > > - Service checks are disabled > > > > > > If you read this message you should pay attention to it > and > enable > > > notifications anc service checks as suggested. > > > > And it would do nothing to resolve his problem. Those are > just > > informational messages about the overall nagios > configuration > and > > have > > nothing to do with the functionality of the cgi's in > question. > > > > To the OP: You have not provided enough information to > determine > > what > > might be going on. What nagios version are you running? Is > there > any > > other information in the right frame when you click on those > links? > > Can > > you post a screenshot somewhere (don't send it to the list)? > Do > you > > see > > any errors in your web server logs? There are a number of > FAQ's > > related > > to these CGIs, please review them to make sure you've > covered > those > > problems. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > ________________________________ > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > > evt=39666/*http://beta.messenger.yahoo.com/> for just 2???/min with > Yahoo! Messenger with Voice. > > > ________________________________ > > Blab-away for as little as 1???/min. Make PC-to-Phone Calls > > evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with Voice. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Apr 11 17:22:15 2006 From: marc at ena.com (Marc Powell) Date: Tue, 11 Apr 2006 10:22:15 -0500 Subject: Not able ot view hosts/services in the Trends.cgi link Message-ID: Mine are as follows -- $ ls -al /usr/local/nagios / total 5584 drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 . drwxr-xr-x 22 root root 4096 Mar 23 16:13 .. drwxrwxr-x 2 nagios nagios 4096 Apr 4 14:22 bin drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 etc drwxrwxr-x 2 nagios nagios 4096 Apr 3 16:17 sbin drwxrwxr-x 8 nagios nagios 4096 Apr 3 16:17 share drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:12 tmp drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 var $ ls -al /usr/local/nagios/etc total 356 drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 . drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. -rw-r--r-- 1 nagios nagios 9610 Jan 3 09:16 cgi.cfg -rw-r--r-- 1 nagios nagios 44947 Jan 4 10:24 comment.log drwxr-xr-x 5 nagios nagios 4096 Apr 4 17:33 ena_config -rw-r--r-- 1 nagios nagios 32238 Apr 4 14:06 nagios.cfg -rw-r--r-- 1 nagios nagios 1804 Jan 2 16:14 resource.cfg -rw-r--r-- 1 nagios nagios 1640 Nov 29 17:53 send_nsca.cfg -rw-r--r-- 1 nagios nagios 3822 Apr 11 00:12 template.cfg $ ls -al /usr/local/nagios/var total 20440 drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 . drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. drwxrwxr-x 2 nagios nagios 28672 Apr 11 00:00 archives -rw-rw-r-- 1 nagios nagios 30404 Apr 11 09:47 comments.dat -rw-rw-r-- 1 nagios nagios 239 Feb 13 12:10 downtime.dat -rw-r--r-- 1 nagios nagios 6 Apr 11 00:12 nagios.lock -rw-rw-r-- 1 nagios nagios 2677024 Apr 11 10:16 nagios.log -rw-r--r-- 1 nagios nagios 5782334 Apr 11 00:12 objects.cache -rw------- 1 nagios nagios 6315126 Apr 11 10:12 retention.dat drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:07 rw -rw-rw-r-- 1 nagios nagios 6024721 Apr 11 10:16 status.dat Apache configuration documentation is found at http://nagios.sourceforge.net/docs/2_0/installweb.html -- Marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Tuesday, April 11, 2006 10:14 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > Hi Marc, > > Right now i am not in office and i do not have access to the network. > Please let me know what should be the permission/owner of > /usr/local/nagios > /usr/local/nagios/etc > /usr/local/nagios/var > > And what exactly is required to be inside httpd.conf as part of Nagios in > Apache.So that i can verify when i am in office,which avoids me waiting > another 12 hours in you replying back to me. > > Thanks, Satish > > Marc Powell wrote: > > Please post an 'ls -al' of the following directories -- > > /usr/local/nagios > /usr/local/nagios/etc > /usr/local/nagios/var > > Also post your apache config parts related to nagios. > > Thanks, > > marc > > > -----Original Message----- > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > Sent: Monday, April 10, 2006 10:59 PM > > To: satish kumar; Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > Hi All, > > > > I am still finding the problem and is it related to any rpms > missing (gd, > > libpng,libjpeg etc......).Please help me in this issue. > > > > Thanks, Satish > > > > satish kumar wrote: > > > > Hi, > > > > I have enabled the notification & Service checks and the nagios > has > > sent a lot of notifications for various services.And the > permission wise > > others has rx permissions where apache belongs to.I am pasting the > output > > of the command below. > > ===================== > > [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg > > > > Nagios 2.1 > > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > > Last Modified: 03-27-2006 > > License: GPL > > > > Reading configuration data... > > > > Running pre-flight check on configuration data... > > > > Checking services... > > Checked 222 services. > > Checking hosts... > > Checked 67 hosts. > > Checking host groups... > > Checked 19 host groups. > > Checking service groups... > > Checked 0 service groups. > > Checking contacts... > > Checked 8 contacts. > > Checking contact groups... > > Checked 5 contact groups. > > Checking service escalations... > > Checked 0 service escalations. > > Checking service dependencies... > > Checked 0 service dependencies. > > Checking host escalations... > > Checked 0 host escalations. > > Checking host dependencies... > > Checked 0 host dependencies. > > Checking commands... > > Checked 105 commands. > > Checking time periods... > > Checked 3 time periods. > > Checking extended host info definitions... > > Checked 0 extended host info definitions. > > Checking extended service info definitions... > > Checked 0 extended service info definitions. > > Checking for circular paths between hosts... > > Checking for circular host and service dependencies... > > Checking global event handlers... > > Checking obsessive compulsive processor commands... > > Checking misc settings... > > > > Total Warnings: 0 > > Total Errors: 0 > > > > Things look okay - No serious problems were detected during the > pre- > > flight check > > ====================== > > > > Thanks, Satish > > > > Marc Powell wrote: > > > > According to your own screenshots Notifications are disabled > > and Service > > checks are disabled. While I haven't personally experienced > > the symptoms > > you're seeing, the three screenshots seem to imply a problem > > reading the > > config files. Does your web server have permission to read the > > .cfg > > files? Can you use the View Config link to see your > > configuration? > > > > Also, from the command line as the nagios user run > > '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' > > and post > > it's output. Perhaps if you posted the screenshots where other > > can see > > them someone else who has seen the problem before can help > > you. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > Sent: Friday, April 07, 2006 1:25 PM > > > To: Marc Powell > > > Subject: RE: [Nagios-users] Not able ot view hosts/services > > in the > > > Trends.cgi link > > > > > > I am forwarding the screenshots, Please let me know for > > further > > > troubleshooting. > > > I am running nagios 2.0, with notification & services > > enabled.There > > are no > > > errors found in the apache logs.Regarding Auth problem, i > > have enabled > > all > > > the parameters with the user nagios as owner. > > > > > > Thanks, satish > > > > > > Marc Powell wrote: > > > > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios- > > > users- > > > > admin at lists.sourceforge.net] On Behalf Of Hugo van der > > Kooij > > > > Sent: Thursday, April 06, 2006 12:31 AM > > > > To: nagios > > > > Subject: Re: [Nagios-users] Not able ot view > > hosts/services in > > the > > > > Trends.cgi link > > > > > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > > > > > I am not able to see the hosts/services when we click > > the > > links > > > on > > > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the > > common > > > message > > > > on the lefthand side of the webpage as > > > > > > > > > > Host and Service State Trends > > > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > > > Nagios(r) - www.nagios.org > > > > > Logged in as nagios > > > > > > > > > > - Notifications are disabled > > > > > - Service checks are disabled > > > > > > > > If you read this message you should pay attention to it > > and > > enable > > > > notifications anc service checks as suggested. > > > > > > And it would do nothing to resolve his problem. Those are > > just > > > informational messages about the overall nagios > > configuration > > and > > > have > > > nothing to do with the functionality of the cgi's in > > question. > > > > > > To the OP: You have not provided enough information to > > determine > > > what > > > might be going on. What nagios version are you running? Is > > there > > any > > > other information in the right frame when you click on those > > links? > > > Can > > > you post a screenshot somewhere (don't send it to the list)? > > Do > > you > > > see > > > any errors in your web server logs? There are a number of > > FAQ's > > > related > > > to these CGIs, please review them to make sure you've > > covered > > those > > > problems. > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting language > > that extends applications into web and mobile media. Attend > > the live webcast > > and join the prime developer group breaking into this new > > coding territory! > > http://sel.as- > > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > ________________________________ > > > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > > > > evt=39666/*http://beta.messenger.yahoo.com/> for just 2???/min > with > > Yahoo! Messenger with Voice. > > > > > > ________________________________ > > > > Blab-away for as little as 1???/min. Make PC-to-Phone Calls > > > > evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with > Voice. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > ________________________________ > > New Yahoo! Messenger with Voice. Call regular phones from your PC > evt=39666/*http://beta.messenger.yahoo.com> and save big. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Sameka.Prather at noaa.gov Tue Apr 11 17:29:32 2006 From: Sameka.Prather at noaa.gov (Sameka Prather) Date: Tue, 11 Apr 2006 11:29:32 -0400 Subject: Check_NRPE Error In-Reply-To: References: Message-ID: <443BCB5C.4040301@noaa.gov> I am telling my nagios log and I see a Service Alert : samp-02;load;unknown;soft;2;check_nrpe: error receiving data from host. Now the server is not completely in production yet, so the load is 0. Could this be due to the load being 0 or have I configured something wrong? Thank you, Sameka Prather Office of Internet Services sameka.prather at noaa.gov 301-713-1384 x 109 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 dzt52r at yahoo.com Tue Apr 11 18:03:28 2006 From: dzt52r at yahoo.com (Bill Hoffman) Date: Tue, 11 Apr 2006 09:03:28 -0700 (PDT) Subject: getting errors in start/stop script Message-ID: <20060411160328.71009.qmail@web33202.mail.mud.yahoo.com> Hi, When issuing a stop to nagios I receive the following errors. Stopping network monitor: nagios -n Waiting for nagios to exit . /usr/local/nagios/var/nagios.lock: No such file or directory ps: option requires an argument -- p usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ] [ -u userlist ] [ -U userlist ] [ -G grouplist ] [ -p proclist ] [ -g pgrplist ] [ -s sidlist ] 'format' is one or more of: user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid pri opri pcpu pmem vsz rss osz nice class time etime stime f s c lwp nlwp psr tty addr wchan fname comm args projid project pset done. The problem appears to be that the stop calls the status function multiple times. This is happening while testing version 2.1 on Solaris. thanx, bh --------------------------------- 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: From jailbait at gmail.com Tue Apr 11 18:46:40 2006 From: jailbait at gmail.com (JB Segal) Date: Tue, 11 Apr 2006 12:46:40 -0400 Subject: Tracking MySQL threads? Message-ID: <916aba350604110946l72a6f860teb69d62dbb7486ac@mail.gmail.com> So, the check_mysql plugin will tell me how many threads are running: /usr/local/nagios/libexec/check_mysql -H mysql_host -u read_only -p ro_passwd Uptime: 4132404 Threads: 9 Questions: 2062339993 Slow queries: 770 Opens: 3766477 Flush tables: 12 Open tables: 512 Queries per second avg: 499.065 but as near as I can tell it won't let me alert on anything other than a simple up/down (response/no response) test. Does anyone have a plugin that will alert on "Threads: nnn" >foo or References: <916aba350604110946l72a6f860teb69d62dbb7486ac@mail.gmail.com> Message-ID: <00ed01c65d8c$0dff2f30$1e02a8c0@crm.local> Nagios plugins are just scripts. Write a bash script (or your favorite language) to do something like: #!/bin/bash /usr/local/Nagios/libexec/check_mysql -H mysql_host -u read_only -p ro_passwd | grep Threads | awk "{ print $4 }" Etc. Then you can just put into your check commands in your configuration file. Let me know if that makes sense. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of JB Segal > Sent: Tuesday, April 11, 2006 11:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Tracking MySQL threads? > > So, the check_mysql plugin will tell me how many threads are running: > > /usr/local/nagios/libexec/check_mysql -H mysql_host -u read_only -p > ro_passwd > Uptime: 4132404 Threads: 9 Questions: 2062339993 Slow queries: 770 > Opens: 3766477 Flush tables: 12 Open tables: 512 Queries per second > avg: 499.065 > > but as near as I can tell it won't let me alert on anything other than > a simple up/down (response/no response) test. > > Does anyone have a plugin that will alert on "Threads: nnn" >foo or > check_procs, but for a single monolithic binary.) > > Thanks! > JB > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Tue Apr 11 19:41:40 2006 From: marc at ena.com (Marc Powell) Date: Tue, 11 Apr 2006 12:41:40 -0500 Subject: Tracking MySQL threads? Message-ID: There's more to it than just printing out something to screen. The real key is the exit code of the script. http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN75 It is really straightforward though. The most basic plugin will perform some test, print 1 line of output and exit with the proper exit code based on the results of the test. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of David Johnson > Sent: Tuesday, April 11, 2006 12:19 PM > To: 'JB Segal'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Tracking MySQL threads? > > Nagios plugins are just scripts. > > Write a bash script (or your favorite language) to do something like: > > #!/bin/bash > /usr/local/Nagios/libexec/check_mysql -H mysql_host -u read_only -p > ro_passwd | grep Threads | awk "{ print $4 }" > > Etc. > > Then you can just put into your check commands in your configuration file. > Let me know if that makes sense. > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of JB Segal > > Sent: Tuesday, April 11, 2006 11:47 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Tracking MySQL threads? > > > > So, the check_mysql plugin will tell me how many threads are running: > > > > /usr/local/nagios/libexec/check_mysql -H mysql_host -u read_only -p > > ro_passwd > > Uptime: 4132404 Threads: 9 Questions: 2062339993 Slow queries: 770 > > Opens: 3766477 Flush tables: 12 Open tables: 512 Queries per second > > avg: 499.065 > > > > but as near as I can tell it won't let me alert on anything other than > > a simple up/down (response/no response) test. > > > > Does anyone have a plugin that will alert on "Threads: nnn" >foo or > > > check_procs, but for a single monolithic binary.) > > > > Thanks! > > JB > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 trasko at gmail.com Tue Apr 11 23:21:39 2006 From: trasko at gmail.com (Trask) Date: Tue, 11 Apr 2006 14:21:39 -0700 Subject: distributed servers - how to tell which one executed a check? Message-ID: <735379850604111421g4eabffb0ge461147c003bd595@mail.gmail.com> I haven't seen anything in the docs about this... I am hoping to have an indication somewhere of which distributed nagios server executed the last check. A little background into my setup: - 4 nagios servers (all running 2.2 now) - nag1, nag2 and nag3 at each office/colo - nag4 is the central server receiving passive check info and serving as a fallback if one of the other 3 fail (and also importantly, the visual interface to all the checks). These are glued together with some homebrew scripts to ease management of the distributed setup. My goal is to be able to see which of these servers executed the last check. As a stop-gap measure I modified p1.pl to prepend the nagios server's hostname to the plugins output. This is an acceptable solution for the perl scripts, but that doesn't include any of the other (non-perl) plugins. Anyone accomplish this already or have an idea of how to do this? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Tue Apr 11 23:26:49 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 11 Apr 2006 16:26:49 -0500 Subject: distributed servers - how to tell which one executed a check? In-Reply-To: <735379850604111421g4eabffb0ge461147c003bd595@mail.gmail.com> References: <735379850604111421g4eabffb0ge461147c003bd595@mail.gmail.com> Message-ID: <1144790809.5086.7.camel@chi100400> On Tue, 2006-04-11 at 14:21 -0700, Trask wrote: > I haven't seen anything in the docs about this... I am hoping to have > an indication somewhere of which distributed nagios server executed > the last check. > > A little background into my setup: > - 4 nagios servers (all running 2.2 now) > - nag1, nag2 and nag3 at each office/colo > - nag4 is the central server receiving passive check info and serving > as a fallback if one of the other 3 fail (and also importantly, the > visual interface to all the checks). > > These are glued together with some homebrew scripts to ease management > of the distributed setup. My goal is to be able to see which of these > servers executed the last check. > > As a stop-gap measure I modified p1.pl to prepend the nagios server's > hostname to the plugins output. This is an acceptable solution for > the perl scripts, but that doesn't include any of the other (non-perl) > plugins. > > Anyone accomplish this already or have an idea of how to do this? What I do is set $USER32$ to the geographic location (say, UK or DE), then my distributed submit script (via nsca) sends '$USER32$ - $HOSTOUTPUT$' (or '$USER32$ - $SERVICEOUTPUT$') for the output instead of just the output. Works like a charm. -------------- 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 satish_lsurf at yahoo.com Wed Apr 12 02:50:38 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Tue, 11 Apr 2006 17:50:38 -0700 (PDT) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: References: Message-ID: <20060412005038.80487.qmail@web53514.mail.yahoo.com> Hi Marc, The Configs are exactly matching and still i am not able to see the host/service list on trends.cgi link. I am still seeing the: Host and Service State Trends Last Updated: Wed Apr 12 00:47:52 GMT 2006 Nagios?? - www.nagios.org Logged in as nagios - Notifications are disabled - Service checks are disabled But the i have all the service checks, notifications enabled as specified earlier. Thanks, Satish Marc Powell wrote: Mine are as follows -- $ ls -al /usr/local/nagios / total 5584 drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 . drwxr-xr-x 22 root root 4096 Mar 23 16:13 .. drwxrwxr-x 2 nagios nagios 4096 Apr 4 14:22 bin drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 etc drwxrwxr-x 2 nagios nagios 4096 Apr 3 16:17 sbin drwxrwxr-x 8 nagios nagios 4096 Apr 3 16:17 share drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:12 tmp drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 var $ ls -al /usr/local/nagios/etc total 356 drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 . drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. -rw-r--r-- 1 nagios nagios 9610 Jan 3 09:16 cgi.cfg -rw-r--r-- 1 nagios nagios 44947 Jan 4 10:24 comment.log drwxr-xr-x 5 nagios nagios 4096 Apr 4 17:33 ena_config -rw-r--r-- 1 nagios nagios 32238 Apr 4 14:06 nagios.cfg -rw-r--r-- 1 nagios nagios 1804 Jan 2 16:14 resource.cfg -rw-r--r-- 1 nagios nagios 1640 Nov 29 17:53 send_nsca.cfg -rw-r--r-- 1 nagios nagios 3822 Apr 11 00:12 template.cfg $ ls -al /usr/local/nagios/var total 20440 drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 . drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. drwxrwxr-x 2 nagios nagios 28672 Apr 11 00:00 archives -rw-rw-r-- 1 nagios nagios 30404 Apr 11 09:47 comments.dat -rw-rw-r-- 1 nagios nagios 239 Feb 13 12:10 downtime.dat -rw-r--r-- 1 nagios nagios 6 Apr 11 00:12 nagios.lock -rw-rw-r-- 1 nagios nagios 2677024 Apr 11 10:16 nagios.log -rw-r--r-- 1 nagios nagios 5782334 Apr 11 00:12 objects.cache -rw------- 1 nagios nagios 6315126 Apr 11 10:12 retention.dat drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:07 rw -rw-rw-r-- 1 nagios nagios 6024721 Apr 11 10:16 status.dat Apache configuration documentation is found at http://nagios.sourceforge.net/docs/2_0/installweb.html -- Marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Tuesday, April 11, 2006 10:14 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > Hi Marc, > > Right now i am not in office and i do not have access to the network. > Please let me know what should be the permission/owner of > /usr/local/nagios > /usr/local/nagios/etc > /usr/local/nagios/var > > And what exactly is required to be inside httpd.conf as part of Nagios in > Apache.So that i can verify when i am in office,which avoids me waiting > another 12 hours in you replying back to me. > > Thanks, Satish > > Marc Powell wrote: > > Please post an 'ls -al' of the following directories -- > > /usr/local/nagios > /usr/local/nagios/etc > /usr/local/nagios/var > > Also post your apache config parts related to nagios. > > Thanks, > > marc > > > -----Original Message----- > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > Sent: Monday, April 10, 2006 10:59 PM > > To: satish kumar; Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > Hi All, > > > > I am still finding the problem and is it related to any rpms > missing (gd, > > libpng,libjpeg etc......).Please help me in this issue. > > > > Thanks, Satish > > > > satish kumar wrote: > > > > Hi, > > > > I have enabled the notification & Service checks and the nagios > has > > sent a lot of notifications for various services.And the > permission wise > > others has rx permissions where apache belongs to.I am pasting the > output > > of the command below. > > ===================== > > [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg > > > > Nagios 2.1 > > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > > Last Modified: 03-27-2006 > > License: GPL > > > > Reading configuration data... > > > > Running pre-flight check on configuration data... > > > > Checking services... > > Checked 222 services. > > Checking hosts... > > Checked 67 hosts. > > Checking host groups... > > Checked 19 host groups. > > Checking service groups... > > Checked 0 service groups. > > Checking contacts... > > Checked 8 contacts. > > Checking contact groups... > > Checked 5 contact groups. > > Checking service escalations... > > Checked 0 service escalations. > > Checking service dependencies... > > Checked 0 service dependencies. > > Checking host escalations... > > Checked 0 host escalations. > > Checking host dependencies... > > Checked 0 host dependencies. > > Checking commands... > > Checked 105 commands. > > Checking time periods... > > Checked 3 time periods. > > Checking extended host info definitions... > > Checked 0 extended host info definitions. > > Checking extended service info definitions... > > Checked 0 extended service info definitions. > > Checking for circular paths between hosts... > > Checking for circular host and service dependencies... > > Checking global event handlers... > > Checking obsessive compulsive processor commands... > > Checking misc settings... > > > > Total Warnings: 0 > > Total Errors: 0 > > > > Things look okay - No serious problems were detected during the > pre- > > flight check > > ====================== > > > > Thanks, Satish > > > > Marc Powell wrote: > > > > According to your own screenshots Notifications are disabled > > and Service > > checks are disabled. While I haven't personally experienced > > the symptoms > > you're seeing, the three screenshots seem to imply a problem > > reading the > > config files. Does your web server have permission to read the > > .cfg > > files? Can you use the View Config link to see your > > configuration? > > > > Also, from the command line as the nagios user run > > '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' > > and post > > it's output. Perhaps if you posted the screenshots where other > > can see > > them someone else who has seen the problem before can help > > you. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > Sent: Friday, April 07, 2006 1:25 PM > > > To: Marc Powell > > > Subject: RE: [Nagios-users] Not able ot view hosts/services > > in the > > > Trends.cgi link > > > > > > I am forwarding the screenshots, Please let me know for > > further > > > troubleshooting. > > > I am running nagios 2.0, with notification & services > > enabled.There > > are no > > > errors found in the apache logs.Regarding Auth problem, i > > have enabled > > all > > > the parameters with the user nagios as owner. > > > > > > Thanks, satish > > > > > > Marc Powell wrote: > > > > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios- > > > users- > > > > admin at lists.sourceforge.net] On Behalf Of Hugo van der > > Kooij > > > > Sent: Thursday, April 06, 2006 12:31 AM > > > > To: nagios > > > > Subject: Re: [Nagios-users] Not able ot view > > hosts/services in > > the > > > > Trends.cgi link > > > > > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > > > > > I am not able to see the hosts/services when we click > > the > > links > > > on > > > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the > > common > > > message > > > > on the lefthand side of the webpage as > > > > > > > > > > Host and Service State Trends > > > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > > > Nagios(r) - www.nagios.org > > > > > Logged in as nagios > > > > > > > > > > - Notifications are disabled > > > > > - Service checks are disabled > > > > > > > > If you read this message you should pay attention to it > > and > > enable > > > > notifications anc service checks as suggested. > > > > > > And it would do nothing to resolve his problem. Those are > > just > > > informational messages about the overall nagios > > configuration > > and > > > have > > > nothing to do with the functionality of the cgi's in > > question. > > > > > > To the OP: You have not provided enough information to > > determine > > > what > > > might be going on. What nagios version are you running? Is > > there > > any > > > other information in the right frame when you click on those > > links? > > > Can > > > you post a screenshot somewhere (don't send it to the list)? > > Do > > you > > > see > > > any errors in your web server logs? There are a number of > > FAQ's > > > related > > > to these CGIs, please review them to make sure you've > > covered > > those > > > problems. > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting language > > that extends applications into web and mobile media. Attend > > the live webcast > > and join the prime developer group breaking into this new > > coding territory! > > http://sel.as- > > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > ________________________________ > > > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > > > > evt=39666/*http://beta.messenger.yahoo.com/> for just 2???/min > with > > Yahoo! Messenger with Voice. > > > > > > ________________________________ > > > > Blab-away for as little as 1???/min. Make PC-to-Phone Calls > > > > evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with > Voice. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > ________________________________ > > New Yahoo! Messenger with Voice. Call regular phones from your PC > > evt=39666/*http://beta.messenger.yahoo.com> and save big. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 --------------------------------- 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: From yghandour at bci.ps Wed Apr 12 08:46:43 2006 From: yghandour at bci.ps (Yazeed Ghandour) Date: Wed, 12 Apr 2006 08:46:43 +0200 Subject: Question Message-ID: <562C2841875C6745B7CE1CA76C2F65AD5F62@mail.bci.ps> Dears I am yazeed Ghandour; working as product manager in a company based on Palestine. We are implementing enterprise project; we are planning to connect many wild sites together through microwave links. Each site will consist of the microwave unites and router. As well as the applications and server in each site. What I am asking for, what are the capabilities of Nagios in this filed (monitoring) To be clearer; can the Nagios monitor the network devices' router and access points (not the services inside the site) Many thanks in advanced. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 ingo.lantschner at edvg.at Wed Apr 12 09:25:26 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Wed, 12 Apr 2006 09:25:26 +0200 Subject: getting errors in start/stop script In-Reply-To: <20060411160328.71009.qmail@web33202.mail.mud.yahoo.com> References: <20060411160328.71009.qmail@web33202.mail.mud.yahoo.com> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 11.04.2006 18:03:28: > When issuing a stop to nagios I receive the following errors. > > Stopping network monitor: nagios > -n Waiting for nagios to exit . > /usr/local/nagios/var/nagios.lock: No such file or directory > [...] > This is happening while testing version 2.1 on Solaris. I had a similar problem using 2.0 on Ubuntu Server, when using a compiled version of Nagios. I think the start-stop-scripts made by make install-init dont work on any plattform. I worked around this problem by taking a script from a debian-package and adapted it to my situation. HTH Ingo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ingo.lantschner at edvg.at Wed Apr 12 10:09:36 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Wed, 12 Apr 2006 10:09:36 +0200 Subject: SOLVED [RETENTION FILE ISSUE] Retention file notbeingupdated? In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 11.04.2006 13:13:46: > thanks for your answer. Seems as if the tempfile in my configuration is ok: > [...] > But still no state-retentionfile: Well, this was a fault on my side: I had configured the state_retention path 2 times in my nagios.cfg :-( Seems as if the preflightcheck does not find such mistakes. Cheers, Ingo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From LMAIGNAN at fininfo.fr Wed Apr 12 11:12:56 2006 From: LMAIGNAN at fininfo.fr (MAIGNAN Luc) Date: Wed, 12 Apr 2006 11:12:56 +0200 Subject: Problem testing Nagios Message-ID: <6CF6C2B015865B44B7752C9420D0D71602903421@exc2003.int.fininfo.grp> Hi list, I try Nagios to see if it can be suitable for my network monitoring. I've installed the version 2.1 under a Fedora core 4 and Apache 2.0.54 (SELinux disabled) The config seems to be ok : 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 None AllowOverride AuthConfig Order allow,deny Allow from all The rights seems to be ok : -rwxrwxr-x 1 nagios nagcmd 162432 avr 7 16:46 avail.cgi -rwxrwxr-x 1 nagios nagcmd 161460 avr 7 16:46 cmd.cgi -rwxrwxr-x 1 nagios nagcmd 124128 avr 7 16:46 config.cgi -rwxrwxr-x 1 nagios nagcmd 178900 avr 7 16:46 extinfo.cgi -rwxrwxr-x 1 nagios nagcmd 132256 avr 7 16:46 histogram.cgi -rwxrwxr-x 1 nagios nagcmd 112224 avr 7 16:46 history.cgi -rwxrwxr-x 1 nagios nagcmd 108800 avr 7 16:46 notifications.cgi -rwxrwxr-x 1 nagios nagcmd 107932 avr 7 16:46 outages.cgi -rwxrwxr-x 1 nagios nagcmd 107616 avr 7 16:46 showlog.cgi -rwxrwxr-x 1 nagios nagcmd 161212 avr 7 16:46 status.cgi -rwxrwxr-x 1 nagios nagcmd 125696 avr 7 16:46 statusmap.cgi -rwxrwxr-x 1 nagios nagcmd 122080 avr 7 16:46 statuswml.cgi -rwxrwxr-x 1 nagios nagcmd 107936 avr 7 16:46 statuswrl.cgi -rwxrwxr-x 1 nagios nagcmd 129024 avr 7 16:46 summary.cgi -rwxrwxr-x 1 nagios nagcmd 124668 avr 7 16:46 tac.cgi -rwxrwxr-x 1 nagios nagcmd 136160 avr 7 16:46 trends.cgi But when I try to execute a command, the permission is always denied ! [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] (13)Permission denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' failed, referer: http://procyon/nagios/side.html [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] Premature end of script headers: extinfo.cgi, referer: http://procyon/nagios/side.html Any ideas Thanks in advance for any help ********************************************************************* 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. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From satish_lsurf at yahoo.com Wed Apr 12 11:26:33 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Wed, 12 Apr 2006 02:26:33 -0700 (PDT) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: <20060412030905.13756.qmail@web53506.mail.yahoo.com> References: <20060412030905.13756.qmail@web53506.mail.yahoo.com> Message-ID: <20060412092633.71441.qmail@web53505.mail.yahoo.com> I have upgraded to nagios 2.2, still the problem is not solved. Please help me in this regard. Thanks, Satish satish kumar wrote: I am attaching the screenshot of notifications/services enabled.Please let me know if any one has solution to the problem. There is no problem with the dependent libraries. Thanks, Satish satish kumar wrote: Hi Marc, The Configs are exactly matching and still i am not able to see the host/service list on trends.cgi link. I am still seeing the: Host and Service State Trends Last Updated: Wed Apr 12 00:47:52 GMT 2006 Nagios?? - www.nagios.org Logged in as nagios - Notifications are disabled - Service checks are disabled But the i have all the service checks, notifications enabled as specified earlier. Thanks, Satish Marc Powell wrote: Mine are as follows -- $ ls -al /usr/local/nagios / total 5584 drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 . drwxr-xr-x 22 root root 4096 Mar 23 16:13 .. drwxrwxr-x 2 nagios nagios 4096 Apr 4 14:22 bin drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 etc drwxrwxr-x 2 nagios nagios 4096 Apr 3 16:17 sbin drwxrwxr-x 8 nagios nagios 4096 Apr 3 16:17 share drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:12 tmp drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 var $ ls -al /usr/local/nagios/etc total 356 drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 . drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. -rw-r--r-- 1 nagios nagios 9610 Jan 3 09:16 cgi.cfg -rw-r--r-- 1 nagios nagios 44947 Jan 4 10:24 comment.log drwxr-xr-x 5 nagios nagios 4096 Apr 4 17:33 ena_config -rw-r--r-- 1 nagios nagios 32238 Apr 4 14:06 nagios.cfg -rw-r--r-- 1 nagios nagios 1804 Jan 2 16:14 resource.cfg -rw-r--r-- 1 nagios nagios 1640 Nov 29 17:53 send_nsca.cfg -rw-r--r-- 1 nagios nagios 3822 Apr 11 00:12 template.cfg $ ls -al /usr/local/nagios/var total 20440 drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 . drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. drwxrwxr-x 2 nagios nagios 28672 Apr 11 00:00 archives -rw-rw-r-- 1 nagios nagios 30404 Apr 11 09:47 comments.dat -rw-rw-r-- 1 nagios nagios 239 Feb 13 12:10 downtime.dat -rw-r--r-- 1 nagios nagios 6 Apr 11 00:12 nagios.lock -rw-rw-r-- 1 nagios nagios 2677024 Apr 11 10:16 nagios.log -rw-r--r-- 1 nagios nagios 5782334 Apr 11 00:12 objects.cache -rw------- 1 nagios nagios 6315126 Apr 11 10:12 retention.dat drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:07 rw -rw-rw-r-- 1 nagios nagios 6024721 Apr 11 10:16 status.dat Apache configuration documentation is found at http://nagios.sourceforge.net/docs/2_0/installweb.html -- Marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Tuesday, April 11, 2006 10:14 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > Hi Marc, > > Right now i am not in office and i do not have access to the network. > Please let me know what should be the permission/owner of > /usr/local/nagios > /usr/local/nagios/etc > /usr/local/nagios/var > > And what exactly is required to be inside httpd.conf as part of Nagios in > Apache.So that i can verify when i am in office,which avoids me waiting > another 12 hours in you replying back to me. > > Thanks, Satish > > Marc Powell wrote: > > Please post an 'ls -al' of the following directories -- > > /usr/local/nagios > /usr/local/nagios/etc > /usr/local/nagios/var > > Also post your apache config parts related to nagios. > > Thanks, > > marc > > > -----Original Message----- > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > Sent: Monday, April 10, 2006 10:59 PM > > To: satish kumar; Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > Hi All, > > > > I am still finding the problem and is it related to any rpms > missing (gd, > > libpng,libjpeg etc......).Please help me in this issue. > > > > Thanks, Satish > > > > satish kumar wrote: > > > > Hi, > > > > I have enabled the notification & Service checks and the nagios > has > > sent a lot of notifications for various services.And the > permission wise > > others has rx permissions where apache belongs to.I am pasting the > output > > of the command below. > > ===================== > > [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg > > > > Nagios 2.1 > > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > > Last Modified: 03-27-2006 > > License: GPL > > > > Reading configuration data... > > > > Running pre-flight check on configuration data... > > > > Checking services... > > Checked 222 services. > > Checking hosts... > > Checked 67 hosts. > > Checking host groups... > > Checked 19 host groups. > > Checking service groups... > > Checked 0 service groups. > > Checking contacts... > > Checked 8 contacts. > > Checking contact groups... > > Checked 5 contact groups. > > Checking service escalations... > > Checked 0 service escalations. > > Checking service dependencies... > > Checked 0 service dependencies. > > Checking host escalations... > > Checked 0 host escalations. > > Checking host dependencies... > > Checked 0 host dependencies. > > Checking commands... > > Checked 105 commands. > > Checking time periods... > > Checked 3 time periods. > > Checking extended host info definitions... > > Checked 0 extended host info definitions. > > Checking extended service info definitions... > > Checked 0 extended service info definitions. > > Checking for circular paths between hosts... > > Checking for circular host and service dependencies... > > Checking global event handlers... > > Checking obsessive compulsive processor commands... > > Checking misc settings... > > > > Total Warnings: 0 > > Total Errors: 0 > > > > Things look okay - No serious problems were detected during the > pre- > > flight check > > ====================== > > > > Thanks, Satish > > > > Marc Powell wrote: > > > > According to your own screenshots Notifications are disabled > > and Service > > checks are disabled. While I haven't personally experienced > > the symptoms > > you're seeing, the three screenshots seem to imply a problem > > reading the > > config files. Does your web server have permission to read the > > .cfg > > files? Can you use the View Config link to see your > > configuration? > > > > Also, from the command line as the nagios user run > > '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' > > and post > > it's output. Perhaps if you posted the screenshots where other > > can see > > them someone else who has seen the problem before can help > > you. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > Sent: Friday, April 07, 2006 1:25 PM > > > To: Marc Powell > > > Subject: RE: [Nagios-users] Not able ot view hosts/services > > in the > > > Trends.cgi link > > > > > > I am forwarding the screenshots, Please let me know for > > further > > > troubleshooting. > > > I am running nagios 2.0, with notification & services > > enabled.There > > are no > > > errors found in the apache logs.Regarding Auth problem, i > > have enabled > > all > > > the parameters with the user nagios as owner. > > > > > > Thanks, satish > > > > > > Marc Powell wrote: > > > > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios- > > > users- > > > > admin at lists.sourceforge.net] On Behalf Of Hugo van der > > Kooij > > > > Sent: Thursday, April 06, 2006 12:31 AM > > > > To: nagios > > > > Subject: Re: [Nagios-users] Not able ot view > > hosts/services in > > the > > > > Trends.cgi link > > > > > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > > > > > I am not able to see the hosts/services when we click > > the > > links > > > on > > > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the > > common > > > message > > > > on the lefthand side of the webpage as > > > > > > > > > > Host and Service State Trends > > > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > > > Nagios(r) - www.nagios.org > > > > > Logged in as nagios > > > > > > > > > > - Notifications are disabled > > > > > - Service checks are disabled > > > > > > > > If you read this message you should pay attention to it > > and > > enable > > > > notifications anc service checks as suggested. > > > > > > And it would do nothing to resolve his problem. Those are > > just > > > informational messages about the overall nagios > > configuration > > and > > > have > > > nothing to do with the functionality of the cgi's in > > question. > > > > > > To the OP: You have not provided enough information to > > determine > > > what > > > might be going on. What nagios version are you running? Is > > there > > any > > > other information in the right frame when you click on those > > links? > > > Can > > > you post a screenshot somewhere (don't send it to the list)? > > Do > > you > > > see > > > any errors in your web server logs? There are a number of > > FAQ's > > > related > > > to these CGIs, please review them to make sure you've > > covered > > those > > > problems. > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting language > > that extends applications into web and mobile media. Attend > > the live webcast > > and join the prime developer group breaking into this new > > coding territory! > > http://sel.as- > > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > ________________________________ > > > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > > > > evt=39666/*http://beta.messenger.yahoo.com/> for just 2???/min > with > > Yahoo! Messenger with Voice. > > > > > > ________________________________ > > > > Blab-away for as little as 1???/min. Make PC-to-Phone Calls > > > > evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with > Voice. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > ________________________________ > > New Yahoo! Messenger with Voice. Call regular phones from your PC > > evt=39666/*http://beta.messenger.yahoo.com> and save big. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1??/min. --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2???/min or less. --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2?/min with Yahoo! Messenger with Voice. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael.Huettig at medien-systempartner.de Wed Apr 12 12:18:16 2006 From: Michael.Huettig at medien-systempartner.de (Michael Huettig) Date: Wed, 12 Apr 2006 12:18:16 +0200 Subject: Windows Event Logs Message-ID: <635011EBCF7CE44688B03EF3B803AF5C406011@mspsbs1.msp.de> Hi Ron, search for "Nagios Eventlog Control Manager" on nagios-exchange.org or www.steveshipway.org/software. I?m using it with XP and Win2003-Enterprise, it?s working fine. Best regards Michael ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ron Wilson Sent: Tuesday, April 11, 2006 5:44 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Windows Event Logs What is the best way to interrogate Windows Event Logs looking for errors using Nagios. I have looked at the eventlog.exe program but not sure how Nagios can use a windows executable like this ===================================================================== CAUTION: This e-mail and any attachment(s) contains information that is intended to be read only by the named recipient(s). It may contain information that is confidential, proprietary or the subject of legal privilege. This information is not to be used by any other person and/or organisation. If you are not the intended recipient, please advise us immediately and delete this e-mail from your system. Do not use any information contained in it. ================================================================ For more information on the Television New Zealand Group, visit us online at http://www.tvnz.co.nz ================================================================ ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcos.perez at telecyl.com Wed Apr 12 12:27:46 2006 From: marcos.perez at telecyl.com (=?ISO-8859-1?Q?Marcos_P=E9rez_Aguado?=) Date: Wed, 12 Apr 2006 12:27:46 +0200 Subject: Notifications by Mail Message-ID: <443CD622.5020709@telecyl.com> Hi, im starting with Notification in Nagios, my main file is configurated OK , but im trying that when one of my host is down simply send me a mail. can anybody help me, thanks ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From maca02 at atlas.cz Wed Apr 12 12:28:59 2006 From: maca02 at atlas.cz (Tomas Macek) Date: Wed, 12 Apr 2006 12:28:59 +0200 (CEST) Subject: Problem testing Nagios Message-ID: What are your permissions about this file? My are like this: prw-rw---- 1 nagios apache 0 Apr 12 06:46 ./log/nagios/rw/nagios.cmd On Wed, 12 Apr 2006, MAIGNAN Luc wrote: > Hi list, > > I try Nagios to see if it can be suitable for my network monitoring. > I've installed the version 2.1 under a Fedora core 4 and Apache 2.0.54 > (SELinux disabled) > > The config seems to be ok : > > 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 None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > > The rights seems to be ok : > > -rwxrwxr-x 1 nagios nagcmd 162432 avr 7 16:46 avail.cgi > -rwxrwxr-x 1 nagios nagcmd 161460 avr 7 16:46 cmd.cgi > -rwxrwxr-x 1 nagios nagcmd 124128 avr 7 16:46 config.cgi > -rwxrwxr-x 1 nagios nagcmd 178900 avr 7 16:46 extinfo.cgi > -rwxrwxr-x 1 nagios nagcmd 132256 avr 7 16:46 histogram.cgi > -rwxrwxr-x 1 nagios nagcmd 112224 avr 7 16:46 history.cgi > -rwxrwxr-x 1 nagios nagcmd 108800 avr 7 16:46 notifications.cgi > -rwxrwxr-x 1 nagios nagcmd 107932 avr 7 16:46 outages.cgi > -rwxrwxr-x 1 nagios nagcmd 107616 avr 7 16:46 showlog.cgi > -rwxrwxr-x 1 nagios nagcmd 161212 avr 7 16:46 status.cgi > -rwxrwxr-x 1 nagios nagcmd 125696 avr 7 16:46 statusmap.cgi > -rwxrwxr-x 1 nagios nagcmd 122080 avr 7 16:46 statuswml.cgi > -rwxrwxr-x 1 nagios nagcmd 107936 avr 7 16:46 statuswrl.cgi > -rwxrwxr-x 1 nagios nagcmd 129024 avr 7 16:46 summary.cgi > -rwxrwxr-x 1 nagios nagcmd 124668 avr 7 16:46 tac.cgi > -rwxrwxr-x 1 nagios nagcmd 136160 avr 7 16:46 trends.cgi > > > But when I try to execute a command, the permission is always denied ! > > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] (13)Permission > denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' failed, referer: > http://procyon/nagios/side.html > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] Premature end of > script headers: extinfo.cgi, referer: http://procyon/nagios/side.html > > > Any ideas > > Thanks in advance for any help > > > ********************************************************************* > 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. > ********************************************************************** From Thomas.Zimmer at oppenheim.de Wed Apr 12 12:32:58 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Wed, 12 Apr 2006 12:32:58 +0200 Subject: AW: Problem testing Nagios Message-ID: Hi, did you read the threads about SELinux? Greetz,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 -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von MAIGNAN Luc Gesendet: Mittwoch, 12. April 2006 11:13 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem testing Nagios Hi list, I try Nagios to see if it can be suitable for my network monitoring. I've installed the version 2.1 under a Fedora core 4 and Apache 2.0.54 (SELinux disabled) The config seems to be ok : 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 None AllowOverride AuthConfig Order allow,deny Allow from all The rights seems to be ok : -rwxrwxr-x 1 nagios nagcmd 162432 avr 7 16:46 avail.cgi -rwxrwxr-x 1 nagios nagcmd 161460 avr 7 16:46 cmd.cgi -rwxrwxr-x 1 nagios nagcmd 124128 avr 7 16:46 config.cgi -rwxrwxr-x 1 nagios nagcmd 178900 avr 7 16:46 extinfo.cgi -rwxrwxr-x 1 nagios nagcmd 132256 avr 7 16:46 histogram.cgi -rwxrwxr-x 1 nagios nagcmd 112224 avr 7 16:46 history.cgi -rwxrwxr-x 1 nagios nagcmd 108800 avr 7 16:46 notifications.cgi -rwxrwxr-x 1 nagios nagcmd 107932 avr 7 16:46 outages.cgi -rwxrwxr-x 1 nagios nagcmd 107616 avr 7 16:46 showlog.cgi -rwxrwxr-x 1 nagios nagcmd 161212 avr 7 16:46 status.cgi -rwxrwxr-x 1 nagios nagcmd 125696 avr 7 16:46 statusmap.cgi -rwxrwxr-x 1 nagios nagcmd 122080 avr 7 16:46 statuswml.cgi -rwxrwxr-x 1 nagios nagcmd 107936 avr 7 16:46 statuswrl.cgi -rwxrwxr-x 1 nagios nagcmd 129024 avr 7 16:46 summary.cgi -rwxrwxr-x 1 nagios nagcmd 124668 avr 7 16:46 tac.cgi -rwxrwxr-x 1 nagios nagcmd 136160 avr 7 16:46 trends.cgi But when I try to execute a command, the permission is always denied ! [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] (13)Permission denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' failed, referer: http://procyon/nagios/side.html [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] Premature end of script headers: extinfo.cgi, referer: http://procyon/nagios/side.html Any ideas Thanks in advance for any help 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. ********************************************************************** -------------- 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: From hugo.rebello at dhl.com Wed Apr 12 15:24:50 2006 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 12 Apr 2006 10:24:50 -0300 Subject: E-mail Message Message-ID: <443CFFA2.9050502@dhl.com> Guys, Can anyone help me about configure the Nagios to send e-mail message using other SMTP server instead the SMTP server installed in the same server of the Nagios ? We cannot install two SMTP server on the same network, so I need configure the Nagios to use my main SMTP server. Thank you. Hugo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 lars.bruun-hansen at nordea.com Wed Apr 12 15:30:37 2006 From: lars.bruun-hansen at nordea.com (lars.bruun-hansen at nordea.com) Date: Wed, 12 Apr 2006 16:30:37 +0300 Subject: PRODUCTION and DEMO servers - config question Message-ID: <02A80999ABFD6C418E9EDA7CCD41929C017D26EA@fid1ms09.fid1.root4.net> Here is a common one I guess: I have zillions of servers and zillions of services. Some are PRODUCTION and some are DEMO/TEST. In general the same service exist on both PROD hosts and DEMO hosts. For this reason services are defined only once in the cfg file, e.g.: define service{ use generic-service host_name host1, host2, host3, host4 service_description my_service check_command bla bla } In the example you might think of host1 and host as PROD servers, while host3 and host4 are DEMO servers. My problem is that I want different notification setup for services on DEMO hosts as opposed to services on PROD hosts but I do not want to specify everything twice. How can I accomplish this without having to specify everything multiple times ? The first thing to note here is that in this scenario the notification setup is really an attribute on the host rather than on the service, i.e. in ideal world I would like Nagios to derive notification settings for service from the notification settings on the host on which it exist. A suggestion for how Nagios can be changed to accommodate this would be to add some functionality to the way the notifications_enabled settings on a service work. Currently: notifications_enabled : This directive is used to determine whether or not notifications for this service are enabled. Values: 0 = disable service notifications, 1 = enable service notifications. Suggested: notifications_enabled : This directive is used to determine whether or not notifications for this service are enabled. Values: 0 = disable service notifications, 1 = enable service notifications. 2 = derive setting from the host's notification setting (i.e. if host has notifications disabled then so will the service and vice versa). Any other ideas on this? Can you think of other ways of accomplishing the same ? I can see other mails in the archive on similar subject but I don't think a good solution has ever been found. rgds, Lars -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Wed Apr 12 15:36:41 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 12 Apr 2006 08:36:41 -0500 Subject: E-mail Message In-Reply-To: <443CFFA2.9050502@dhl.com> References: <443CFFA2.9050502@dhl.com> Message-ID: <1144849001.5086.21.camel@chi100400> On Wed, 2006-04-12 at 10:24 -0300, Hugo Rebello wrote: > We cannot install two SMTP server on the same network, so I need > configure the Nagios to use my main SMTP server. Why? That's insanity. -------------- 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 hugo.rebello at dhl.com Wed Apr 12 15:43:26 2006 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 12 Apr 2006 10:43:26 -0300 Subject: E-mail Message In-Reply-To: <1144849001.5086.21.camel@chi100400> References: <443CFFA2.9050502@dhl.com> <1144849001.5086.21.camel@chi100400> Message-ID: <443D03FE.8020207@dhl.com> Because the Security Policy. We cannot have two MTA in the same network. There is another problem using the MTA with Nagios. When I try send e-mail to Nextel e-mail, it doesn?t working because the Nextel check if the source e-mail exist. So, I have two problems. Thank you. Hugo jeff vier wrote: >On Wed, 2006-04-12 at 10:24 -0300, Hugo Rebello wrote: > > >>We cannot install two SMTP server on the same network, so I need >>configure the Nagios to use my main SMTP server. >> >> > >Why? >That's insanity. > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 lars.bruun-hansen at nordea.com Wed Apr 12 15:46:23 2006 From: lars.bruun-hansen at nordea.com (lars.bruun-hansen at nordea.com) Date: Wed, 12 Apr 2006 16:46:23 +0300 Subject: E-mail Message Message-ID: <02A80999ABFD6C418E9EDA7CCD41929C017D26EB@fid1ms09.fid1.root4.net> Why no more than one SMTP server on network? Most easy is to install and configure sendmail on the server where Nagios runs. Technically this would be another SMTP server but you would simply use it to forward mail to your main SMTP server. There is lots of information on the Internet about how to configure sendmail to simply forward all e-mail to another SMTP server. Also I suggest you read the Nagios FAQ http://www.nagios.org/faqs/viewfaq.php?faq_id=150&expand=false&showdesc= false which pretty much says it all on this subject. Lars -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hugo Rebello Sent: Wednesday, April 12, 2006 15:25 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] E-mail Message Guys, Can anyone help me about configure the Nagios to send e-mail message using other SMTP server instead the SMTP server installed in the same server of the Nagios ? We cannot install two SMTP server on the same network, so I need configure the Nagios to use my main SMTP server. Thank you. Hugo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 srunschke at abit.de Wed Apr 12 16:03:58 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Wed, 12 Apr 2006 16:03:58 +0200 Subject: Antwort: Re: E-mail Message In-Reply-To: <443D03FE.8020207@dhl.com> References: <443D03FE.8020207@dhl.com> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 12.04.2006 15:43:26: > Because the Security Policy. > We cannot have two MTA in the same network. > > There is another problem using the MTA with Nagios. When I try send > e-mail to Nextel e-mail, it doesn?t working because the Nextel check if > the source e-mail exist. > > So, I have two problems. I suggest you first accumulate some knowledge about *nix architectures like Linux and MTAs (aka Mail Transfer Agents). There needs to be some mechanism to supply mails from a host to the smtp-server. On Unix architectures this is done by the MTA, which is usually sendmail. But then, it is not necessary to have the sendmail daemon process running and listening on the the smtp port, you can just have it run locally and forward locally submitted mails to your main smtp server. What you want to do is read the sendmail manual and learn how to configure your local MTA correctly. But what you are directly asking for is not possible. Neither Nagios, nor any other unix service implements its own smtp engine - this would be quite stupid and a big waste of ressources since EVERY *nix/Linux machine has at least a local MTA - or is majorly misconfigured. SMTP-Server != MTA And you should re-evaluate people in your security department who say "more then 1 SMTP server is a security risk". They obviously don't have much of a clue regarding security and how SMTP servers work ;) regards Sascha -- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Wed Apr 12 16:14:16 2006 From: marc at ena.com (Marc Powell) Date: Wed, 12 Apr 2006 09:14:16 -0500 Subject: Problem testing Nagios Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of MAIGNAN Luc > Sent: Wednesday, April 12, 2006 4:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem testing Nagios > > Hi list, > > I try Nagios to see if it can be suitable for my network monitoring. > I've installed the version 2.1 under a Fedora core 4 and Apache 2.0.54 > (SELinux disabled) > > The config seems to be ok : > > 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 None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > \ Apache was restarted after adding these? > The rights seems to be ok : > I agree. > > > But when I try to execute a command, the permission is always denied ! > > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] (13)Permission > denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' failed, referer: > http://procyon/nagios/side.html > > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] Premature end of > script headers: extinfo.cgi, referer: http://procyon/nagios/side.html That really feels like SELinux. You don't see any 'avc denied' messages in /var/log/messages? Check the permissions on the files in ~nagios/var (and the directory itself). Specifically, comments.dat, downtime.dat, nagios.log, objects.cache, status.dat and the archives. -- marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 LMAIGNAN at fininfo.fr Wed Apr 12 16:20:01 2006 From: LMAIGNAN at fininfo.fr (MAIGNAN Luc) Date: Wed, 12 Apr 2006 16:20:01 +0200 Subject: Problem testing Nagios Message-ID: <6CF6C2B015865B44B7752C9420D0D716029039AB@exc2003.int.fininfo.grp> No, SELinux is definitively disabled. Apache was restarted, the web page http://procyon/nagios/ displays a good page (the links on the page are inoperants) The rights into "var" directory seems to be good : drwxrwxr-x 4 nagios nagcmd 4096 avr 12 11:07 . drwxr-xr-x 8 nagios nagios 4096 avr 12 11:19 .. drwxrwxr-x 2 nagios nagcmd 4096 avr 7 16:46 archives -rw-rw-r-- 1 nagios nagcmd 238 avr 10 16:44 comments.dat -rw-rw-r-- 1 nagios nagcmd 239 avr 10 16:44 downtime.dat -rw-r--r-- 1 nagios nagcmd 879 avr 12 11:07 nagios.log -rw-r--r-- 1 nagios nagcmd 8909 avr 12 11:07 objects.cache drwxrwsr-x 2 nagios nagcmd 4096 avr 7 16:47 rw -rw-rw-r-- 1 nagios nagcmd 6871 avr 12 11:07 status.dat Regards -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]De la part de Marc Powell Envoy? : mercredi 12 avril 2006 16:14 ? : nagios-users at lists.sourceforge.net Objet : RE: [Nagios-users] Problem testing Nagios > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of MAIGNAN Luc > Sent: Wednesday, April 12, 2006 4:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem testing Nagios > > Hi list, > > I try Nagios to see if it can be suitable for my network monitoring. > I've installed the version 2.1 under a Fedora core 4 and Apache 2.0.54 > (SELinux disabled) > > The config seems to be ok : > > 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 None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > \ Apache was restarted after adding these? > The rights seems to be ok : > I agree. > > > But when I try to execute a command, the permission is always denied ! > > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] (13)Permission > denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' failed, referer: > http://procyon/nagios/side.html > > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] Premature end of > script headers: extinfo.cgi, referer: http://procyon/nagios/side.html That really feels like SELinux. You don't see any 'avc denied' messages in /var/log/messages? Check the permissions on the files in ~nagios/var (and the directory itself). Specifically, comments.dat, downtime.dat, nagios.log, objects.cache, status.dat and the archives. -- marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 ********************************************************************* 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. ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Wed Apr 12 16:22:56 2006 From: marc at ena.com (Marc Powell) Date: Wed, 12 Apr 2006 09:22:56 -0500 Subject: Not able ot view hosts/services in the Trends.cgi link Message-ID: I'm running out of ideas myself and your problem seems to be unique. Try running the trends.cgi from the command line as the nagios user -- su - nagios bash cd /path/to/nagios/sbin export REQUEST_METHOD="GET" export QUERY_STRING="input=gethost" ./trends.cgi You should see a lot of HTML but in that should be a listing of your hosts. You may see error information so be on the lookout for it. This will at least move us in the direction of eliminating apache as a problem. I'd also re-verify my installation against the documentation. -- Marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Tuesday, April 11, 2006 7:51 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > Hi Marc, > > The Configs are exactly matching and still i am not able to see the > host/service list on trends.cgi link. I am still seeing the: > > Host and Service State Trends > Last Updated: Wed Apr 12 00:47:52 GMT 2006 > Nagios?? - www.nagios.org > Logged in as nagios > > - Notifications are disabled > - Service checks are disabled > But the i have all the service checks, notifications enabled as specified > earlier. > > Thanks, Satish > > > > Marc Powell wrote: > > Mine are as follows -- > > $ ls -al /usr/local/nagios / > total 5584 > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 . > drwxr-xr-x 22 root root 4096 Mar 23 16:13 .. > drwxrwxr-x 2 nagios nagios 4096 Apr 4 14:22 bin > drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 etc > drwxrwxr-x 2 nagios nagios 4096 Apr 3 16:17 sbin > drwxrwxr-x 8 nagios nagios 4096 Apr 3 16:17 share > drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:12 tmp > drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 var > > $ ls -al /usr/local/nagios/etc > total 356 > drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 . > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. > -rw-r--r-- 1 nagios nagios 9610 Jan 3 09:16 cgi.cfg > -rw-r--r-- 1 nagios nagios 44947 Jan 4 10:24 comment.log > drwxr-xr-x 5 nagios nagios 4096 Apr 4 17:33 ena_config > -rw-r--r-- 1 nagios nagios 32238 Apr 4 14:06 nagios.cfg > -rw-r--r-- 1 nagios nagios 1804 Jan 2 16:14 resource.cfg > -rw-r--r-- 1 nagios nagios 1640 Nov 29 17:53 send_nsca.cfg > -rw-r--r-- 1 nagios nagios 3822 Apr 11 00:12 template.cfg > > $ ls -al /usr/local/nagios/var > total 20440 > drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 . > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. > drwxrwxr-x 2 nagios nagios 28672 Apr 11 00:00 archives > -rw-rw-r-- 1 nagios nagios 30404 Apr 11 09:47 comments.dat > -rw-rw-r-- 1 nagios nagios 239 Feb 13 12:10 downtime.dat > -rw-r--r-- 1 nagios nagios 6 Apr 11 00:12 nagios.lock > -rw-rw-r-- 1 nagios nagios 2677024 Apr 11 10:16 nagios.log > -rw-r--r-- 1 nagios nagios 5782334 Apr 11 00:12 objects.cache > -rw------- 1 nagios nagios 6315126 Apr 11 10:12 retention.dat > drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:07 rw > -rw-rw-r-- 1 nagios nagios 6024721 Apr 11 10:16 status.dat > > Apache configuration documentation is found at > http://nagios.sourceforge.net/docs/2_0/installweb.html > > -- > Marc > > > -----Original Message----- > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > Sent: Tuesday, April 11, 2006 10:14 AM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > Hi Marc, > > > > Right now i am not in office and i do not have access to the > network. > > Please let me know what should be the permission/owner of > > /usr/local/nagios > > /usr/local/nagios/etc > > /usr/local/nagios/var > > > > And what exactly is required to be inside httpd.conf as part of > Nagios in > > Apache.So that i can verify when i am in office,which avoids me > waiting > > another 12 hours in you replying back to me. > > > > Thanks, Satish > > > > Marc Powell wrote: > > > > Please post an 'ls -al' of the following directories -- > > > > /usr/local/nagios > > /usr/local/nagios/etc > > /usr/local/nagios/var > > > > Also post your apache config parts related to nagios. > > > > Thanks, > > > > marc > > > > > -----Original Message----- > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > Sent: Monday, April 10, 2006 10:59 PM > > > To: satish kumar; Marc Powell; nagios- > users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Not able ot view hosts/services in > the > > > Trends.cgi link > > > > > > Hi All, > > > > > > I am still finding the problem and is it related to any rpms > > missing (gd, > > > libpng,libjpeg etc......).Please help me in this issue. > > > > > > Thanks, Satish > > > > > > satish kumar wrote: > > > > > > Hi, > > > > > > I have enabled the notification & Service checks and the nagios > > has > > > sent a lot of notifications for various services.And the > > permission wise > > > others has rx permissions where apache belongs to.I am pasting > the > > output > > > of the command below. > > > ===================== > > > [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg > > > > > > Nagios 2.1 > > > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > > > Last Modified: 03-27-2006 > > > License: GPL > > > > > > Reading configuration data... > > > > > > Running pre-flight check on configuration data... > > > > > > Checking services... > > > Checked 222 services. > > > Checking hosts... > > > Checked 67 hosts. > > > Checking host groups... > > > Checked 19 host groups. > > > Checking service groups... > > > Checked 0 service groups. > > > Checking contacts... > > > Checked 8 contacts. > > > Checking contact groups... > > > Checked 5 contact groups. > > > Checking service escalations... > > > Checked 0 service escalations. > > > Checking service dependencies... > > > Checked 0 service dependencies. > > > Checking host escalations... > > > Checked 0 host escalations. > > > Checking host dependencies... > > > Checked 0 host dependencies. > > > Checking commands... > > > Checked 105 commands. > > > Checking time periods... > > > Checked 3 time periods. > > > Checking extended host info definitions... > > > Checked 0 extended host info definitions. > > > Checking extended service info definitions... > > > Checked 0 extended service info definitions. > > > Checking for circular paths between hosts... > > > Checking for circular host and service dependencies... > > > Checking global event handlers... > > > Checking obsessive compulsive processor commands... > > > Checking misc settings... > > > > > > Total Warnings: 0 > > > Total Errors: 0 > > > > > > Things look okay - No serious problems were detected during the > > pre- > > > flight check > > > ====================== > > > > > > Thanks, Satish > > > > > > Marc Powell wrote: > > > > > > According to your own screenshots Notifications are disabled > > > and Service > > > checks are disabled. While I haven't personally experienced > > > the symptoms > > > you're seeing, the three screenshots seem to imply a problem > > > reading the > > > config files. Does your web server have permission to read the > > > .cfg > > > files? Can you use the View Config link to see your > > > configuration? > > > > > > Also, from the command line as the nagios user run > > > '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' > > > and post > > > it's output. Perhaps if you posted the screenshots where other > > > can see > > > them someone else who has seen the problem before can help > > > you. > > > > > > -- > > > Marc > > > > > > > -----Original Message----- > > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > > Sent: Friday, April 07, 2006 1:25 PM > > > > To: Marc Powell > > > > Subject: RE: [Nagios-users] Not able ot view hosts/services > > > in the > > > > Trends.cgi link > > > > > > > > I am forwarding the screenshots, Please let me know for > > > further > > > > troubleshooting. > > > > I am running nagios 2.0, with notification & services > > > enabled.There > > > are no > > > > errors found in the apache logs.Regarding Auth problem, i > > > have enabled > > > all > > > > the parameters with the user nagios as owner. > > > > > > > > Thanks, satish > > > > > > > > Marc Powell wrote: > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios- > > > > users- > > > > > admin at lists.sourceforge.net] On Behalf Of Hugo van der > > > Kooij > > > > > Sent: Thursday, April 06, 2006 12:31 AM > > > > > To: nagios > > > > > Subject: Re: [Nagios-users] Not able ot view > > > hosts/services in > > > the > > > > > Trends.cgi link > > > > > > > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > > > > > > > I am not able to see the hosts/services when we click > > > the > > > links > > > > on > > > > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the > > > common > > > > message > > > > > on the lefthand side of the webpage as > > > > > > > > > > > > Host and Service State Trends > > > > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > > > > Nagios(r) - www.nagios.org > > > > > > Logged in as nagios > > > > > > > > > > > > - Notifications are disabled > > > > > > - Service checks are disabled > > > > > > > > > > If you read this message you should pay attention to it > > > and > > > enable > > > > > notifications anc service checks as suggested. > > > > > > > > And it would do nothing to resolve his problem. Those are > > > just > > > > informational messages about the overall nagios > > > configuration > > > and > > > > have > > > > nothing to do with the functionality of the cgi's in > > > question. > > > > > > > > To the OP: You have not provided enough information to > > > determine > > > > what > > > > might be going on. What nagios version are you running? Is > > > there > > > any > > > > other information in the right frame when you click on those > > > links? > > > > Can > > > > you post a screenshot somewhere (don't send it to the list)? > > > Do > > > you > > > > see > > > > any errors in your web server logs? There are a number of > > > FAQ's > > > > related > > > > to these CGIs, please review them to make sure you've > > > covered > > > those > > > > problems. > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking > > > scripting language > > > that extends applications into web and mobile media. Attend > > > the live webcast > > > and join the prime developer group breaking into this new > > > coding territory! > > > http://sel.as- > > > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > > > > > ________________________________ > > > > > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > > > > > > evt=39666/*http://beta.messenger.yahoo.com/> for just 2???/min > > with > > > Yahoo! Messenger with Voice. > > > > > > > > > ________________________________ > > > > > > Blab-away for as little as 1???/min. Make PC-to-Phone Calls > > > > > > evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with > > Voice. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the > live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > ________________________________ > > > > New Yahoo! Messenger with Voice. Call regular phones from your PC > > > > evt=39666/*http://beta.messenger.yahoo.com> and save big. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > ________________________________ > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates > starting at 1?/min. > evt=39666/*http://beta.messenger.yahoo.com> ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jhmartin at toger.us Wed Apr 12 16:25:13 2006 From: jhmartin at toger.us (Jason Martin) Date: Wed, 12 Apr 2006 07:25:13 -0700 Subject: distributed servers - how to tell which one executed a check? In-Reply-To: <735379850604111421g4eabffb0ge461147c003bd595@mail.gmail.com> References: <735379850604111421g4eabffb0ge461147c003bd595@mail.gmail.com> Message-ID: <20060412142513.GV10150@mal.toger.us> On Tue, Apr 11, 2006 at 02:21:39PM -0700, Trask wrote: > I haven't seen anything in the docs about this... I am hoping to have > an indication somewhere of which distributed nagios server executed > the last check. How are the check results getting to the central server? Assuming you are using the OCSP, couldn't you just modify that script to prepend the hostname to the plugin output? -Jason Martin > A little background into my setup: > - 4 nagios servers (all running 2.2 now) > - nag1, nag2 and nag3 at each office/colo > - nag4 is the central server receiving passive check info and serving > as a fallback if one of the other 3 fail (and also importantly, the > visual interface to all the checks). > > These are glued together with some homebrew scripts to ease management > of the distributed setup. My goal is to be able to see which of these > servers executed the last check. > > As a stop-gap measure I modified p1.pl to prepend the nagios server's > hostname to the plugins output. This is an acceptable solution for > the perl scripts, but that doesn't include any of the other (non-perl) > plugins. > > Anyone accomplish this already or have an idea of how to do this? > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 -- Brain over - Insert coin 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: From jperrin at gmail.com Wed Apr 12 16:19:12 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 12 Apr 2006 10:19:12 -0400 Subject: Problem testing Nagios In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602903421@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602903421@exc2003.int.fininfo.grp> Message-ID: <302ce8b50604120719k43f78f1bt9d1c75ba2fd3d864@mail.gmail.com> On 4/12/06, MAIGNAN Luc wrote: > > > Hi list, > > I try Nagios to see if it can be suitable for my network monitoring. > I've installed the version 2.1 under a Fedora core 4 and Apache 2.0.54 > (SELinux disabled) > > The config seems to be ok : > > 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 None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > > The rights seems to be ok : > > -rwxrwxr-x 1 nagios nagcmd 162432 avr 7 16:46 avail.cgi > -rwxrwxr-x 1 nagios nagcmd 161460 avr 7 16:46 cmd.cgi > -rwxrwxr-x 1 nagios nagcmd 124128 avr 7 16:46 config.cgi > -rwxrwxr-x 1 nagios nagcmd 178900 avr 7 16:46 extinfo.cgi > -rwxrwxr-x 1 nagios nagcmd 132256 avr 7 16:46 histogram.cgi > -rwxrwxr-x 1 nagios nagcmd 112224 avr 7 16:46 history.cgi > -rwxrwxr-x 1 nagios nagcmd 108800 avr 7 16:46 notifications.cgi > -rwxrwxr-x 1 nagios nagcmd 107932 avr 7 16:46 outages.cgi > -rwxrwxr-x 1 nagios nagcmd 107616 avr 7 16:46 showlog.cgi > -rwxrwxr-x 1 nagios nagcmd 161212 avr 7 16:46 status.cgi > -rwxrwxr-x 1 nagios nagcmd 125696 avr 7 16:46 statusmap.cgi > -rwxrwxr-x 1 nagios nagcmd 122080 avr 7 16:46 statuswml.cgi > -rwxrwxr-x 1 nagios nagcmd 107936 avr 7 16:46 statuswrl.cgi > -rwxrwxr-x 1 nagios nagcmd 129024 avr 7 16:46 summary.cgi > -rwxrwxr-x 1 nagios nagcmd 124668 avr 7 16:46 tac.cgi > -rwxrwxr-x 1 nagios nagcmd 136160 avr 7 16:46 trends.cgi > > > But when I try to execute a command, the permission is always denied ! > > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] (13)Permission > denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' > failed, referer: http://procyon/nagios/side.html > > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] Premature end of > script headers: extinfo.cgi, referer: http://procyon/nagios/side.html > > > Any ideas > > Thanks in advance for any help Seems you've already done this the hard way, but for fedora, I generally recommend 'yum install nagios' which eliminates the headache of building, permissions, adding users, setting up apache, checking selinux, and just leaves you with setting up your hosts and services. Nagios is built and in extras for fedora. You might want to check it out. -- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Wed Apr 12 16:36:09 2006 From: marc at ena.com (Marc Powell) Date: Wed, 12 Apr 2006 09:36:09 -0500 Subject: Problem testing Nagios Message-ID: I'm pretty confident this is a filesystem permissions issue. ~nagios/sbin is accessible by apache? I'd temporarily give apache a shell, su - apache and make sure that I could actually run the files in ~nagios/sbin from the command line. -- Marc > -----Original Message----- > From: MAIGNAN Luc [mailto:LMAIGNAN at fininfo.fr] > Sent: Wednesday, April 12, 2006 9:20 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Problem testing Nagios > > No, SELinux is definitively disabled. > Apache was restarted, the web page http://procyon/nagios/ displays a good > page (the links on the page are inoperants) > > The rights into "var" directory seems to be good : > > drwxrwxr-x 4 nagios nagcmd 4096 avr 12 11:07 . > drwxr-xr-x 8 nagios nagios 4096 avr 12 11:19 .. > drwxrwxr-x 2 nagios nagcmd 4096 avr 7 16:46 archives > -rw-rw-r-- 1 nagios nagcmd 238 avr 10 16:44 comments.dat > -rw-rw-r-- 1 nagios nagcmd 239 avr 10 16:44 downtime.dat > -rw-r--r-- 1 nagios nagcmd 879 avr 12 11:07 nagios.log > -rw-r--r-- 1 nagios nagcmd 8909 avr 12 11:07 objects.cache > drwxrwsr-x 2 nagios nagcmd 4096 avr 7 16:47 rw > -rw-rw-r-- 1 nagios nagcmd 6871 avr 12 11:07 status.dat > > > Regards > > -----Message d'origine----- > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]De la part de Marc > Powell > Envoy? : mercredi 12 avril 2006 16:14 > ? : nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] Problem testing Nagios > > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of MAIGNAN Luc > > Sent: Wednesday, April 12, 2006 4:13 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Problem testing Nagios > > > > Hi list, > > > > I try Nagios to see if it can be suitable for my network monitoring. > > I've installed the version 2.1 under a Fedora core 4 and Apache 2.0.54 > > (SELinux disabled) > > > > The config seems to be ok : > > > > 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 None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > \ > > Apache was restarted after adding these? > > > The rights seems to be ok : > > > > I agree. > > > > > > > But when I try to execute a command, the permission is always denied ! > > > > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] > (13)Permission > > denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' failed, referer: > > http://procyon/nagios/side.html > > > > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] Premature end > of > > script headers: extinfo.cgi, referer: http://procyon/nagios/side.html > > That really feels like SELinux. You don't see any 'avc denied' messages > in /var/log/messages? > > Check the permissions on the files in ~nagios/var (and the directory > itself). Specifically, comments.dat, downtime.dat, nagios.log, > objects.cache, status.dat and the archives. > > -- > marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > ********************************************************************* > 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. > ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 EdLucero at InternetCrusade.com Wed Apr 12 17:03:40 2006 From: EdLucero at InternetCrusade.com (Ed Lucero) Date: Wed, 12 Apr 2006 08:03:40 -0700 Subject: E-mail Message In-Reply-To: <443D03FE.8020207@dhl.com> References: <443D03FE.8020207@dhl.com> Message-ID: <20060412145757.DE6D41CC25@cs3.sandiegort.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Hugo Rebello > Sent: Wednesday, April 12, 2006 6:43 AM > To: jeff vier > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] E-mail Message > > Because the Security Policy. > We cannot have two MTA in the same network. > > There is another problem using the MTA with Nagios. When I try send > e-mail to Nextel e-mail, it doesn?t working because the Nextel check if > the source e-mail exist. > > So, I have two problems. > > Thank you. > Hugo > > > > jeff vier wrote: > > >On Wed, 2006-04-12 at 10:24 -0300, Hugo Rebello wrote: > > > > > >>We cannot install two SMTP server on the same network, so I need > >>configure the Nagios to use my main SMTP server. > >> > >> > > > >Why? > >That's insanity. > > > > Use Postfix as your MTA. You can set it up to not run smtpd so it will not appear as an smtp server on the network. You can configure to also relay all mail thru your Main smtp server. The installation configuration and setup is very easy, much easier than sendmail. Ed ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 wrjacqmein at gmail.com Wed Apr 12 17:16:22 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Wed, 12 Apr 2006 11:16:22 -0400 Subject: Check_NRPE Error In-Reply-To: <443BCB5C.4040301@noaa.gov> References: <443BCB5C.4040301@noaa.gov> Message-ID: <3c9a5bae0604120816t493e1a71w88c17622bb26f06@mail.gmail.com> Sameka, Trying a lower truncate number (512) with nscp (http://nscplus.medin.name/index.php/Main_Page) fixes the similar error message for me. The error in my case is being generated from an event log check overflowing the 1024 return limit on nrpe. Bill On 4/11/06, Sameka Prather wrote: > I am telling my nagios log and I see a Service Alert : > samp-02;load;unknown;soft;2;check_nrpe: error receiving data from host. > > Now the server is not completely in production yet, so the load is 0. > Could this be due to the load being 0 or have I configured something wrong? > > Thank you, > Sameka Prather > Office of Internet Services > sameka.prather at noaa.gov > 301-713-1384 x 109 > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 ka at pacific.net Wed Apr 12 17:52:48 2006 From: ka at pacific.net (Ken A) Date: Wed, 12 Apr 2006 08:52:48 -0700 Subject: E-mail Message In-Reply-To: <20060412145757.DE6D41CC25@cs3.sandiegort.com> References: <20060412145757.DE6D41CC25@cs3.sandiegort.com> Message-ID: <443D2250.6010803@pacific.net> Ed Lucero wrote: > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Hugo Rebello >> Sent: Wednesday, April 12, 2006 6:43 AM >> To: jeff vier >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] E-mail Message >> >> Because the Security Policy. >> We cannot have two MTA in the same network. >> >> There is another problem using the MTA with Nagios. When I try send >> e-mail to Nextel e-mail, it doesn?t working because the Nextel check if >> the source e-mail exist. >> >> So, I have two problems. >> >> Thank you. >> Hugo >> >> >> >> jeff vier wrote: >> >>> On Wed, 2006-04-12 at 10:24 -0300, Hugo Rebello wrote: >>> >>> >>>> We cannot install two SMTP server on the same network, so I need >>>> configure the Nagios to use my main SMTP server. >>>> >>>> >>> Why? >>> That's insanity. >>> >>> > > Use Postfix as your MTA. You can set it up to not run smtpd so it will not > appear as an smtp server on the network. You can configure to also relay all > mail thru your Main smtp server. The installation configuration and setup is > very easy, much easier than sendmail. Postfix is probably easier, but for those used to sendmail, the default sendmail config in most linux distros is to listen on localhost only, so this won't violate your security policy. Setting up forwarding is pretty simple too. Just change the 'smarthost' line in /etc/mail/sendmail.mc. If you don't have that file, then 'yum install sendmail-cf'. Add an alias to root on your mail hub for user nagios and you should be okay with your pager service. Ken Pacific.Net > Ed > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > 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 > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 msugano at uolinc.com Wed Apr 12 17:54:33 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 12 Apr 2006 12:54:33 -0300 Subject: SOLVED [RETENTION FILE ISSUE] Retention filenotbeingupdated? In-Reply-To: References: Message-ID: <1144857273.7599.0.camel@localhost> Nagios 2.2 with retention file updated frequently. Everything running smoothly here. Marcel. On Wed, 2006-04-12 at 10:09 +0200, Ingo Lantschner wrote: > > nagios-users-admin at lists.sourceforge.net schrieb am 11.04.2006 > 13:13:46: > > > > thanks for your answer. Seems as if the tempfile in my configuration > is ok: > > [...] > > But still no state-retentionfile: > Well, this was a fault on my side: I had configured the > state_retention path 2 times in my nagios.cfg :-( Seems as if the > preflightcheck does not find such mistakes. > Cheers, Ingo. 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 alejandro.alfonso at telecyl.com Wed Apr 12 18:00:36 2006 From: alejandro.alfonso at telecyl.com (Alejandro Alfonso) Date: Wed, 12 Apr 2006 18:00:36 +0200 Subject: E-mail Message In-Reply-To: <443CFFA2.9050502@dhl.com> References: <443CFFA2.9050502@dhl.com> Message-ID: <443D2424.70001@telecyl.com> > Can anyone help me about configure the Nagios to send e-mail message > using other SMTP server instead the SMTP server installed in the same > server of the Nagios ? > > We cannot install two SMTP server on the same network, so I need > configure the Nagios to use my main SMTP server. > > Thank you. > Hugo Nagios can't help; use "ssmpt": ftp://ftp.debian.org/debian/pool/main/s/ssmtp/ its a "must-be" in any server (that dosen't user its owns smtp) Best Regards -- ------------------------------------------------------------------------ * Alejandro Alfonso Fern?ndez Dpto de Sistemas. ?rea Corporativa * alejandro.alfonso at telecyl.com http://www.telecyl.com/ Proci?n 7, Portales 1-2 Edificio Am?rica II 28023 Madrid Tfn: 91 452 18 00 - Fax: 91 452 18 08 Juan Garc?a Hortelano, 43 Edificio Telecyl 47014 Valladolid Tfn: 983 428 200 - Fax: 983 428 223 ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From msugano at uolinc.com Wed Apr 12 20:07:15 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 12 Apr 2006 15:07:15 -0300 Subject: Problem testing Nagios In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602903421@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602903421@exc2003.int.fininfo.grp> Message-ID: <1144865236.7599.3.camel@localhost> On Wed, 2006-04-12 at 11:12 +0200, MAIGNAN Luc wrote: [snip] > But when I try to execute a command, the permission is always > denied ! > > [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] > (13)Permission denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' > failed, referer: http://procyon/nagios/side.html [snip] Looks permission problem between apache's running user and the owner of the plugins. You should make apache runs as some user within the nagcmd group. 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 EmmettH at Examen.com Wed Apr 12 20:22:24 2006 From: EmmettH at Examen.com (Emmett Hogan) Date: Wed, 12 Apr 2006 11:22:24 -0700 Subject: OS State Plugins? Message-ID: <443D4560.5040400@Examen.com> I was just talking with my co-worker about the need for us to go through and apply our weekly set of patches and it dawned on me that there should be a plugin for nagios to report back the patch state of a machine. Granted, it would vary widely depending on the OS, but there is usually a command that can be issued that will report back what installed packages are out of date. A VERY simple threshold could be simply a line count (OK - if less than 10 packages need upgrading, WARN - 10 to 20 pkgs, CRIT - more than 20). It could obviously be more robust if the OS would report the "criticality" of the patches. Another bit of info that should be easily obtainable via nagios would be the OS version via uname. I can see where that would be handy to have on the "Service State Details" page. I checked nagiosexchange, but didn't see any plugins like these...does anyone know if they exist? ..or do I have another "spare time" project? ...or is this another one of my "dumb ideas?" :-) Thanks, Emmett -- ========= LexisNexis Examen, Inc. ========== Emmett Hogan Senior UNIX Administrator emmetth at examen.com === Outside Counsel Management Solutions === ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 EdLucero at InternetCrusade.com Wed Apr 12 20:36:35 2006 From: EdLucero at InternetCrusade.com (Ed Lucero) Date: Wed, 12 Apr 2006 11:36:35 -0700 Subject: Web Interface stopped working Message-ID: <20060412183105.C32501CC1C@cs3.sandiegort.com> I recently upgraded Nagios from 2.0b3 to 2.2 The Nagios process appears to be working fine. I am getting notifications. But the web interface has stopped working. In the apache error log I get [Wed Apr 12 11:07:38 2006] [error] [client 192.168.5.30] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http://mon1.icsandiego.com/nagios/side.html I am running FreeBSD 5.3 and Apache 2.0.53 Below is the revelant part of the httpd.conf Ed # Nagios Alias configuration Alias /usr/local/apache2/htdocs/nagios /usr/local/nagios/share Alias /nagios /usr/local/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/" ScriptAlias /var/nagios/cgi-bin /usr/local/nagios/sbin # Nagios cgi configuration AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all # # Bring in additional module-specific configurations # # Nagios Configuration AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI AllowOverride AuthConfig order allow,deny allow from all -------------- next part -------------- An HTML attachment was scrubbed... URL: From trasko at gmail.com Wed Apr 12 20:04:08 2006 From: trasko at gmail.com (Trask) Date: Wed, 12 Apr 2006 11:04:08 -0700 Subject: unexpected host status on central server Message-ID: <735379850604121104w78c4c8cex16027659b5ce1a46@mail.gmail.com> Hi again, I am having another strange issue with my distributed setup (3 distrib. servers sending data to one central server). I followed the official docs for a distributed setup. I am only sending the SERVICE checks passively and I have the central server (cs) setup to do active host checks. The service checks are coming in to the cs correctly, and the cs is executing service checks that it should whenever the "freshness" time expires. However, there is something odd going on with host checks. Distributed server #1 (ds1) sees that a host is down -- it also sees that all of its service checks are failing to CRITICAL. Since I am not doing passive host checks, ds1 sends the information about all the failing services, but does not send anything about the host state (which ds1 detects (accurately) as being down). The cs accurately shows all the services as failing, but it still thinks the host is ok. I am using "check_fping" and the configs for the check are the exact some on cs and ds1. On DS1, the web interface and running the check_fping command both result in this: "FPING CRITICAL - 111.222.333.444 (loss=100%)" If I run this check manually on the command line on CS, I also get: "FPING CRITICAL - 111.222.333.444 (loss=100%)" However, cs's web interface shows the status as: "UP" "FPING WARNING - 111.222.333.444" What's going on? Did I miss some config option on the cs? This is the latest versions of nagios and nsca (v2.2 and v2.6 respectively). Thanks for any help! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 trasko at gmail.com Wed Apr 12 20:38:55 2006 From: trasko at gmail.com (Trask) Date: Wed, 12 Apr 2006 11:38:55 -0700 Subject: Web Interface stopped working In-Reply-To: <20060412183105.C32501CC1C@cs3.sandiegort.com> References: <20060412183105.C32501CC1C@cs3.sandiegort.com> Message-ID: <735379850604121138r73e87668t6bb2cf8a32c185d4@mail.gmail.com> > The Nagios process appears to be working fine. I am getting notifications. > But the web interface has stopped working. Did you run ./configure with the proper values for "url" settings (--with-cgiurl, --with-htmurl) ? Link to official install doc: http://nagios.sourceforge.net/docs/2_0/installing.html ~trasko ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 msugano at uolinc.com Wed Apr 12 21:06:16 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 12 Apr 2006 16:06:16 -0300 Subject: Web Interface stopped working In-Reply-To: <20060412183105.C32501CC1C@cs3.sandiegort.com> References: <20060412183105.C32501CC1C@cs3.sandiegort.com> Message-ID: <1144868777.7645.2.camel@localhost> On Wed, 2006-04-12 at 11:36 -0700, Ed Lucero wrote: [snip] > [Wed Apr 12 11:07:38 2006] [error] [client 192.168.5.30] File does not > exist: /usr/local/nagios/share/cgi-bin, referer: > http://mon1.icsandiego.com/nagios/side.html [snip] > # Nagios Alias configuration > > Alias /usr/local/apache2/htdocs/nagios /usr/local/nagios/share > > Alias /nagios /usr/local/nagios/share > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > > > > > # > > # ScriptAlias: This controls which directories contain server scripts. > > # ScriptAliases are essentially the same as Aliases, except that > > # documents in the realname directory are treated as applications and > > # run by the server when requested rather than as documents sent to > the client. > > # The same rules about trailing "/" apply to ScriptAlias directives as > to > > # Alias. > > # > > ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/" > > ScriptAlias /var/nagios/cgi-bin /usr/local/nagios/sbin > > > > # Nagios cgi configuration > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > > > # > > # Bring in additional module-specific configurations > > # > > > > # Nagios Configuration > > > > > > AllowOverride AuthConfig > > order allow,deny > > allow from all > > Options ExecCGI > > > > > > > > AllowOverride AuthConfig > > order allow,deny > > allow from all > > I solved a similar problem, by inverting the order of Alias and ScriptAlias, looks like if Alias come first, then ScriptAlias did not get translated correctly. So, i've placed ScriptAlias definition before Alias definition. 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 msugano at uolinc.com Wed Apr 12 21:17:26 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 12 Apr 2006 16:17:26 -0300 Subject: unexpected host status on central server In-Reply-To: <735379850604121104w78c4c8cex16027659b5ce1a46@mail.gmail.com> References: <735379850604121104w78c4c8cex16027659b5ce1a46@mail.gmail.com> Message-ID: <1144869446.7645.7.camel@localhost> The same here, but without active checks on central nagios server. Just the passive checks coming in. And Centra Nagios did not know how to tell if the host is down, even with all the services being Critical. Marcel On Wed, 2006-04-12 at 11:04 -0700, Trask wrote: > Hi again, I am having another strange issue with my distributed setup > (3 distrib. servers sending data to one central server). > > I followed the official docs for a distributed setup. I am only > sending the SERVICE checks passively and I have the central server > (cs) setup to do active host checks. > > The service checks are coming in to the cs correctly, and the cs is > executing service checks that it should whenever the "freshness" time > expires. However, there is something odd going on with host checks. > > Distributed server #1 (ds1) sees that a host is down -- it also sees > that all of its service checks are failing to CRITICAL. Since I am > not doing passive host checks, ds1 sends the information about all the > failing services, but does not send anything about the host state > (which ds1 detects (accurately) as being down). > > The cs accurately shows all the services as failing, but it still > thinks the host is ok. I am using "check_fping" and the configs for > the check are the exact some on cs and ds1. > > On DS1, the web interface and running the check_fping command both > result in this: > "FPING CRITICAL - 111.222.333.444 (loss=100%)" > > If I run this check manually on the command line on CS, I also get: > "FPING CRITICAL - 111.222.333.444 (loss=100%)" > > However, cs's web interface shows the status as: > "UP" > "FPING WARNING - 111.222.333.444" > > What's going on? Did I miss some config option on the cs? This is > the latest versions of nagios and nsca (v2.2 and v2.6 respectively). > > Thanks for any help! > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 EdLucero at InternetCrusade.com Wed Apr 12 21:24:38 2006 From: EdLucero at InternetCrusade.com (Ed Lucero) Date: Wed, 12 Apr 2006 12:24:38 -0700 Subject: Web Interface stopped working In-Reply-To: <735379850604121137w6c3330c9pcbbb229a86f19f36@mail.gmail.com> References: <735379850604121137w6c3330c9pcbbb229a86f19f36@mail.gmail.com> Message-ID: <20060412191917.689011CC1E@cs3.sandiegort.com> > -----Original Message----- > From: Trask [mailto:trasko at gmail.com] > Sent: Wednesday, April 12, 2006 11:38 AM > To: Ed Lucero > Subject: Re: [Nagios-users] Web Interface stopped working > > > The Nagios process appears to be working fine. I am getting > notifications. > > But the web interface has stopped working. > > Did you run ./configure with the proper values for "url" settings > (--with-cgiurl, --with-htmurl) ? > > Link to official install doc: > http://nagios.sourceforge.net/docs/2_0/installing.html > > ~trasko Uuuuuuuuuuuuuh! I'm Bad. Thanks for the tip. I went back to the 2.0 config.log to see what configure parameters I used. Re-compiled and Re-installed. It all works now. Thanks :) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Gerhard.Lausser at consol.de Wed Apr 12 21:23:42 2006 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Wed, 12 Apr 2006 21:23:42 +0200 Subject: new plugin for logfile monitoring Message-ID: <03de01c65e66$9f3df230$a601000a@int.consol.de> Hi list, i'd like to introduce check_logfiles, a plugin which searches patterns in logfiles. It's main features are: - Detection of logfile rotation (plus searching in the rotated logfile(s) to allow no gaps) - Searching in multiple Logfiles - New patterns can be added without touching the nagios configuration files and restarting nagios. - on matching lines, a script can be executed You can find it at http://sourceforge.net/projects/check-logfiles If you want just read the README, it's at http://people.consol.de/~lausser/nagios/check_logfiles/README I hope it is useful for you. Greetings from Munich, Gerhard ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Wed Apr 12 21:28:01 2006 From: marc at ena.com (Marc Powell) Date: Wed, 12 Apr 2006 14:28:01 -0500 Subject: unexpected host status on central server Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Trask > Sent: Wednesday, April 12, 2006 1:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] unexpected host status on central server > [chop chop chop] > On DS1, the web interface and running the check_fping command both > result in this: > "FPING CRITICAL - 111.222.333.444 (loss=100%)" > > If I run this check manually on the command line on CS, I also get: > "FPING CRITICAL - 111.222.333.444 (loss=100%)" > > However, cs's web interface shows the status as: > "UP" > "FPING WARNING - 111.222.333.444" > > What's going on? Did I miss some config option on the cs? This is > the latest versions of nagios and nsca (v2.2 and v2.6 respectively). Your check command on cs is probably generating output to STDERR. Did you perform your command line test as the nagios user? Try adding '2>&1' to the end of your command definition ala command_line $USER1$/check_fping $HOSTADDRESS$ -n 1 -w5000.0 100 -c5000.0 100 2>&1 Are you using check_fping or is it a home-brew plugin? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 trasko at gmail.com Wed Apr 12 21:53:07 2006 From: trasko at gmail.com (Trask) Date: Wed, 12 Apr 2006 12:53:07 -0700 Subject: unexpected host status on central server In-Reply-To: References: Message-ID: <735379850604121253g6812419dwdddad1ad79c999c4@mail.gmail.com> > > Your check command on cs is probably generating output to STDERR. Did > you perform your command line test as the nagios user? Try adding '2>&1' > to the end of your command definition ala > > command_line $USER1$/check_fping $HOSTADDRESS$ -n 1 -w5000.0 100 > -c5000.0 100 2>&1 > > Are you using check_fping or is it a home-brew plugin? > > -- > Marc I'm using the check_fping plugin. Your tip to run it as the "nagios" user lead me in the right direction. As root, the command completed as expected on the command line, but when run as the nagios user, it gave the same message I was seeing in the web interface. Here's how it went: root at nag4:/ # /usr/local/nagios/libexec/check_fping -H 127.0.0.1 -n 1 -w 2000,50% -c 5000,80% FPING OK - 127.0.0.1 (loss=0%, rta=0.040000 ms)|loss=0%;50;80;0;100 rta=0.000040s;2.000000;5.000000;0.000000 root at nag4:/ # su - nagios -bash-3.00$ /usr/local/nagios/libexec/check_fping -H 127.0.0.1 -n 1 -w 2000,50% -c 5000,80% FPING WARNING - 127.0.0.1 -bash-3.00$ /usr/local/nagios/libexec/check_fping -H 127.0.0.1 -n 1 -w 2000,50% -c 5000,80% -v /usr/sbin/fping -b 56 -c 1 127.0.0.1 This program can only be run by root, or it must be setuid root. FPING WARNING - 127.0.0.1 -bash-3.00$ logout root at nag4:/ # chmod u+s /usr/sbin/fping root at nag4:/ # su - nagios -bash-3.00$ /usr/local/nagios/libexec/check_fping -H 127.0.0.1 -n 1 -w 2000,50% -c 5000,80% FPING OK - 127.0.0.1 (loss=0%, rta=0.040000 ms)|loss=0%;50;80;0;100 rta=0.000040s;2.000000;5.000000;0.000000 Thanks for the help! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 hvdkooij at vanderkooij.org Wed Apr 12 22:31:19 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Apr 2006 22:31:19 +0200 (CEST) Subject: Question In-Reply-To: <562C2841875C6745B7CE1CA76C2F65AD5F62@mail.bci.ps> References: <562C2841875C6745B7CE1CA76C2F65AD5F62@mail.bci.ps> Message-ID: On Wed, 12 Apr 2006, Yazeed Ghandour wrote: > I am yazeed Ghandour; working as product manager in a company based on > Palestine. Resending the same question withing days is regarded poorly. Ignoring responses will make people ignore 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 MThomas at InnovationsTech.com Thu Apr 13 02:06:08 2006 From: MThomas at InnovationsTech.com (InnovationsTech, Matthew Thomas) Date: Wed, 12 Apr 2006 20:06:08 -0400 Subject: Distributed Monitoring Message-ID: I've setup a distributed monitoring server. One issue I'm seeing is that the distributed server only updates the central server every 4-6 minutes. I have service checks running every 90 seconds on the distributed server. I have it set to obsess over services. Is there any way to adjust how often the send_nsca utility is actually ran, or adjust how often the distributed server updates the central server? I have freshness turned on, and it always wants to go out and get the results, because it thinks they are stale after 2-3 min. (threshold set to 450sec). But this creates double traffic, and kind of defeats the reason for distributed monitoring. Thank You, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Thu Apr 13 02:28:36 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 12 Apr 2006 20:28:36 -0400 Subject: Distributed Monitoring Message-ID: Results will be getting sent to your ocsp command every time a check result comes back on the distributed server if it's obsessing. Are you sure the checks are running every 90 seconds? Or, have you set a long command_check_interval in nagios.cfg? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of InnovationsTech, Matthew Thomas Sent: Wednesday, April 12, 2006 5:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring I've setup a distributed monitoring server. One issue I'm seeing is that the distributed server only updates the central server every 4-6 minutes. I have service checks running every 90 seconds on the distributed server. I have it set to obsess over services. Is there any way to adjust how often the send_nsca utility is actually ran, or adjust how often the distributed server updates the central server? I have freshness turned on, and it always wants to go out and get the results, because it thinks they are stale after 2-3 min. (threshold set to 450sec). But this creates double traffic, and kind of defeats the reason for distributed monitoring. Thank You, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Thu Apr 13 02:31:21 2006 From: jhmartin at toger.us (Jason Martin) Date: Wed, 12 Apr 2006 17:31:21 -0700 Subject: Distributed Monitoring In-Reply-To: References: Message-ID: <20060413003120.GB30570@mal.toger.us> On Wed, Apr 12, 2006 at 08:06:08PM -0400, InnovationsTech, Matthew Thomas wrote: > ran, or adjust how often the distributed server updates the central > server? If you are obsessing over services, then send_nsca is called for each and every service check. > I have freshness turned on, and it always wants to go out and get the > results, because it thinks they are stale after 2-3 min. (threshold set > to 450sec). But this creates double traffic, and kind of defeats the > reason for distributed monitoring. It sounds like send_nsca is not actually succeeding in getting the data to the central server. -Jason Martin > > > Thank You, > > Matt > -- All stressed out, and no one to choke... 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: From MThomas at InnovationsTech.com Thu Apr 13 02:40:37 2006 From: MThomas at InnovationsTech.com (InnovationsTech, Matthew Thomas) Date: Wed, 12 Apr 2006 20:40:37 -0400 Subject: Distributed Monitoring Message-ID: Below is snippets from configuration. Is there a way to debug send_nsca ? I tried snoop and the port, tcpdump and the port, or tail on the nagios.log file and I don't see when it's submitting the results. But according to the website, they are updating every 4-6 minutes. command_check_interval=-1 interval_length=30 log_external_commands=1 log_passive_checks=1 check_period 24x7 max_check_attempts 2 normal_check_interval 3 '90 Seconds per check retry_check_interval 1 '30 second till retry on soft fail Thanks for the assistance. ________________________________ From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Wednesday, April 12, 2006 20:29 To: InnovationsTech, Matthew Thomas; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Distributed Monitoring Results will be getting sent to your ocsp command every time a check result comes back on the distributed server if it's obsessing. Are you sure the checks are running every 90 seconds? Or, have you set a long command_check_interval in nagios.cfg? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of InnovationsTech, Matthew Thomas Sent: Wednesday, April 12, 2006 5:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring I've setup a distributed monitoring server. One issue I'm seeing is that the distributed server only updates the central server every 4-6 minutes. I have service checks running every 90 seconds on the distributed server. I have it set to obsess over services. Is there any way to adjust how often the send_nsca utility is actually ran, or adjust how often the distributed server updates the central server? I have freshness turned on, and it always wants to go out and get the results, because it thinks they are stale after 2-3 min. (threshold set to 450sec). But this creates double traffic, and kind of defeats the reason for distributed monitoring. Thank You, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Thu Apr 13 02:54:24 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 12 Apr 2006 20:54:24 -0400 Subject: Distributed Monitoring Message-ID: If you've got passive check logging turned on, and you're not seeing them in the logs, they aren't coming in. Do the check results you see updating every 5 minutes say they are active or passive? If active, you're not getting results from your distributed servers at all. To debug, what I'd recommend is to manually run the command you use for your ocsp_command as the Nagios user from the distributed box. It sounds like that may be where things are breaking down, as Jason suggested. ________________________________ From: InnovationsTech, Matthew Thomas [mailto:MThomas at InnovationsTech.com] Sent: Wednesday, April 12, 2006 5:41 PM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Distributed Monitoring Below is snippets from configuration. Is there a way to debug send_nsca ? I tried snoop and the port, tcpdump and the port, or tail on the nagios.log file and I don't see when it's submitting the results. But according to the website, they are updating every 4-6 minutes. command_check_interval=-1 interval_length=30 log_external_commands=1 log_passive_checks=1 check_period 24x7 max_check_attempts 2 normal_check_interval 3 '90 Seconds per check retry_check_interval 1 '30 second till retry on soft fail Thanks for the assistance. ________________________________ From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Wednesday, April 12, 2006 20:29 To: InnovationsTech, Matthew Thomas; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Distributed Monitoring Results will be getting sent to your ocsp command every time a check result comes back on the distributed server if it's obsessing. Are you sure the checks are running every 90 seconds? Or, have you set a long command_check_interval in nagios.cfg? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of InnovationsTech, Matthew Thomas Sent: Wednesday, April 12, 2006 5:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring I've setup a distributed monitoring server. One issue I'm seeing is that the distributed server only updates the central server every 4-6 minutes. I have service checks running every 90 seconds on the distributed server. I have it set to obsess over services. Is there any way to adjust how often the send_nsca utility is actually ran, or adjust how often the distributed server updates the central server? I have freshness turned on, and it always wants to go out and get the results, because it thinks they are stale after 2-3 min. (threshold set to 450sec). But this creates double traffic, and kind of defeats the reason for distributed monitoring. Thank You, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From trasko at gmail.com Thu Apr 13 02:36:52 2006 From: trasko at gmail.com (Trask) Date: Wed, 12 Apr 2006 17:36:52 -0700 Subject: one to one service dependencies Message-ID: <735379850604121736s12fa8edeq4bab6ad8434b077c@mail.gmail.com> What I would like: define servicedependency{ hostgroup_name hg_a service_description service_m dependent_host_name hg_a dependent_service_description service_n execution_failure_criteria o notification_failure_criteria w,u } As written, service_n on every host in hg_a is dependent on service_M on EVERY OTHER host in hg_a. I would like to define a dependency for service_n on service_m on EACH host in hg_a (also stated, I want to service_n to be dependent on service_m on the same host, but I don't want to make a servicedependency definition for every single host). I have seen this question come up a few times in the past in the archives, but looking through the official docs and poking at the source leaves me thinking this is not included in version 2.2. Here's a post of someone who made a patch for 2.0: http://article.gmane.org/gmane.network.nagios.user/19511/match=hostgroup+servicedependency I'll make another patch if necessary, but I figured I should check this list first. Is there any plan on having this functionality anytime soon? Does anyone have another way around this? ~trasko ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 estair at ilm.com Thu Apr 13 03:12:36 2006 From: estair at ilm.com (Eli Stair) Date: Wed, 12 Apr 2006 18:12:36 -0700 Subject: one to one service dependencies In-Reply-To: <735379850604121736s12fa8edeq4bab6ad8434b077c@mail.gmail.com> References: <735379850604121736s12fa8edeq4bab6ad8434b077c@mail.gmail.com> Message-ID: <443DA584.3020003@ilm.com> Interesting, I missed the post you referenced altogether... I never saw that this had been handled in the past :) Having this readily available and mainline would be great, IMO the current behaviour severely limits the situations in which you can use servicedependencies AND inherited templates. This would reduce the size of my config trees at _least_ an order of magnitude... /eli Trask wrote: > What I would like: > > > define servicedependency{ > hostgroup_name hg_a > service_description service_m > dependent_host_name hg_a > dependent_service_description service_n > execution_failure_criteria o > notification_failure_criteria w,u > } > > As written, service_n on every host in hg_a is dependent on service_M > on EVERY OTHER host in hg_a. I would like to define a dependency for > service_n on service_m on EACH host in hg_a (also stated, I want to > service_n to be dependent on service_m on the same host, but I don't > want to make a servicedependency definition for every single host). > > I have seen this question come up a few times in the past in the > archives, but looking through the official docs and poking at the > source leaves me thinking this is not included in version 2.2. > > Here's a post of someone who made a patch for 2.0: > http://article.gmane.org/gmane.network.nagios.user/19511/match=hostgroup+servicedependency > > I'll make another patch if necessary, but I figured I should check > this list first. Is there any plan on having this functionality > anytime soon? Does anyone have another way around this? > > ~trasko > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Juliet_Tree at cotyinc.com Thu Apr 13 05:00:37 2006 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Thu, 13 Apr 2006 04:00:37 +0100 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 13/04/2006 and will not return until 24/04/2006. I am away so please contact Mike Procyshyn on 2261 for any urgent issues. Thankyou Thanks. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 satish_lsurf at yahoo.com Thu Apr 13 08:10:09 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Wed, 12 Apr 2006 23:10:09 -0700 (PDT) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: References: Message-ID: <20060413061009.89375.qmail@web53515.mail.yahoo.com> I got this error while compiling executing "make all" command during reinstallation.After installation i did see the trends.cgi statusmap.cgi & histogram.cgi. I tried copying trends.cgi from another box and executed the script, this gave me error in apache log as : [Thu Apr 13 06:06:03 2006] [error] [client 10.127.108.105] Premature end of script headers: trends.cgi, referer: http://192.168.120.85/nagios/side.html [Thu Apr 13 06:06:03 2006] [error] [client 10.127.108.105] /usr/local/nagios/sbin/trends.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory, referer: http://192.168.120.85/nagios/side.html Looks like i have some library missing on the box.Please let me know what can i do? ================================== gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd -lz -lm -lpng /tmp/ccdr0t72.o(.text+0x35d5): In function `load_image_from_file': /home/netops/nagios-2.2/cgi/statusmap.c:2215: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/home/netops/nagios-2.2/cgi' make: *** [all] Error 2 ================================================ Marc Powell wrote: I'm running out of ideas myself and your problem seems to be unique. Try running the trends.cgi from the command line as the nagios user -- su - nagios bash cd /path/to/nagios/sbin export REQUEST_METHOD="GET" export QUERY_STRING="input=gethost" ./trends.cgi You should see a lot of HTML but in that should be a listing of your hosts. You may see error information so be on the lookout for it. This will at least move us in the direction of eliminating apache as a problem. I'd also re-verify my installation against the documentation. -- Marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Tuesday, April 11, 2006 7:51 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > Hi Marc, > > The Configs are exactly matching and still i am not able to see the > host/service list on trends.cgi link. I am still seeing the: > > Host and Service State Trends > Last Updated: Wed Apr 12 00:47:52 GMT 2006 > Nagios?? - www.nagios.org > Logged in as nagios > > - Notifications are disabled > - Service checks are disabled > But the i have all the service checks, notifications enabled as specified > earlier. > > Thanks, Satish > > > > Marc Powell wrote: > > Mine are as follows -- > > $ ls -al /usr/local/nagios / > total 5584 > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 . > drwxr-xr-x 22 root root 4096 Mar 23 16:13 .. > drwxrwxr-x 2 nagios nagios 4096 Apr 4 14:22 bin > drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 etc > drwxrwxr-x 2 nagios nagios 4096 Apr 3 16:17 sbin > drwxrwxr-x 8 nagios nagios 4096 Apr 3 16:17 share > drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:12 tmp > drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 var > > $ ls -al /usr/local/nagios/etc > total 356 > drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 . > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. > -rw-r--r-- 1 nagios nagios 9610 Jan 3 09:16 cgi.cfg > -rw-r--r-- 1 nagios nagios 44947 Jan 4 10:24 comment.log > drwxr-xr-x 5 nagios nagios 4096 Apr 4 17:33 ena_config > -rw-r--r-- 1 nagios nagios 32238 Apr 4 14:06 nagios.cfg > -rw-r--r-- 1 nagios nagios 1804 Jan 2 16:14 resource.cfg > -rw-r--r-- 1 nagios nagios 1640 Nov 29 17:53 send_nsca.cfg > -rw-r--r-- 1 nagios nagios 3822 Apr 11 00:12 template.cfg > > $ ls -al /usr/local/nagios/var > total 20440 > drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 . > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. > drwxrwxr-x 2 nagios nagios 28672 Apr 11 00:00 archives > -rw-rw-r-- 1 nagios nagios 30404 Apr 11 09:47 comments.dat > -rw-rw-r-- 1 nagios nagios 239 Feb 13 12:10 downtime.dat > -rw-r--r-- 1 nagios nagios 6 Apr 11 00:12 nagios.lock > -rw-rw-r-- 1 nagios nagios 2677024 Apr 11 10:16 nagios.log > -rw-r--r-- 1 nagios nagios 5782334 Apr 11 00:12 objects.cache > -rw------- 1 nagios nagios 6315126 Apr 11 10:12 retention.dat > drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:07 rw > -rw-rw-r-- 1 nagios nagios 6024721 Apr 11 10:16 status.dat > > Apache configuration documentation is found at > http://nagios.sourceforge.net/docs/2_0/installweb.html > > -- > Marc > > > -----Original Message----- > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > Sent: Tuesday, April 11, 2006 10:14 AM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > Hi Marc, > > > > Right now i am not in office and i do not have access to the > network. > > Please let me know what should be the permission/owner of > > /usr/local/nagios > > /usr/local/nagios/etc > > /usr/local/nagios/var > > > > And what exactly is required to be inside httpd.conf as part of > Nagios in > > Apache.So that i can verify when i am in office,which avoids me > waiting > > another 12 hours in you replying back to me. > > > > Thanks, Satish > > > > Marc Powell wrote: > > > > Please post an 'ls -al' of the following directories -- > > > > /usr/local/nagios > > /usr/local/nagios/etc > > /usr/local/nagios/var > > > > Also post your apache config parts related to nagios. > > > > Thanks, > > > > marc > > > > > -----Original Message----- > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > Sent: Monday, April 10, 2006 10:59 PM > > > To: satish kumar; Marc Powell; nagios- > users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Not able ot view hosts/services in > the > > > Trends.cgi link > > > > > > Hi All, > > > > > > I am still finding the problem and is it related to any rpms > > missing (gd, > > > libpng,libjpeg etc......).Please help me in this issue. > > > > > > Thanks, Satish > > > > > > satish kumar wrote: > > > > > > Hi, > > > > > > I have enabled the notification & Service checks and the nagios > > has > > > sent a lot of notifications for various services.And the > > permission wise > > > others has rx permissions where apache belongs to.I am pasting > the > > output > > > of the command below. > > > ===================== > > > [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg > > > > > > Nagios 2.1 > > > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > > > Last Modified: 03-27-2006 > > > License: GPL > > > > > > Reading configuration data... > > > > > > Running pre-flight check on configuration data... > > > > > > Checking services... > > > Checked 222 services. > > > Checking hosts... > > > Checked 67 hosts. > > > Checking host groups... > > > Checked 19 host groups. > > > Checking service groups... > > > Checked 0 service groups. > > > Checking contacts... > > > Checked 8 contacts. > > > Checking contact groups... > > > Checked 5 contact groups. > > > Checking service escalations... > > > Checked 0 service escalations. > > > Checking service dependencies... > > > Checked 0 service dependencies. > > > Checking host escalations... > > > Checked 0 host escalations. > > > Checking host dependencies... > > > Checked 0 host dependencies. > > > Checking commands... > > > Checked 105 commands. > > > Checking time periods... > > > Checked 3 time periods. > > > Checking extended host info definitions... > > > Checked 0 extended host info definitions. > > > Checking extended service info definitions... > > > Checked 0 extended service info definitions. > > > Checking for circular paths between hosts... > > > Checking for circular host and service dependencies... > > > Checking global event handlers... > > > Checking obsessive compulsive processor commands... > > > Checking misc settings... > > > > > > Total Warnings: 0 > > > Total Errors: 0 > > > > > > Things look okay - No serious problems were detected during the > > pre- > > > flight check > > > ====================== > > > > > > Thanks, Satish > > > > > > Marc Powell wrote: > > > > > > According to your own screenshots Notifications are disabled > > > and Service > > > checks are disabled. While I haven't personally experienced > > > the symptoms > > > you're seeing, the three screenshots seem to imply a problem > > > reading the > > > config files. Does your web server have permission to read the > > > .cfg > > > files? Can you use the View Config link to see your > > > configuration? > > > > > > Also, from the command line as the nagios user run > > > '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' > > > and post > > > it's output. Perhaps if you posted the screenshots where other > > > can see > > > them someone else who has seen the problem before can help > > > you. > > > > > > -- > > > Marc > > > > > > > -----Original Message----- > > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > > Sent: Friday, April 07, 2006 1:25 PM > > > > To: Marc Powell > > > > Subject: RE: [Nagios-users] Not able ot view hosts/services > > > in the > > > > Trends.cgi link > > > > > > > > I am forwarding the screenshots, Please let me know for > > > further > > > > troubleshooting. > > > > I am running nagios 2.0, with notification & services > > > enabled.There > > > are no > > > > errors found in the apache logs.Regarding Auth problem, i > > > have enabled > > > all > > > > the parameters with the user nagios as owner. > > > > > > > > Thanks, satish > > > > > > > > Marc Powell wrote: > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios- > > > > users- > > > > > admin at lists.sourceforge.net] On Behalf Of Hugo van der > > > Kooij > > > > > Sent: Thursday, April 06, 2006 12:31 AM > > > > > To: nagios > > > > > Subject: Re: [Nagios-users] Not able ot view > > > hosts/services in > > > the > > > > > Trends.cgi link > > > > > > > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > > > > > > > I am not able to see the hosts/services when we click > > > the > > > links > > > > on > > > > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the > > > common > > > > message > > > > > on the lefthand side of the webpage as > > > > > > > > > > > > Host and Service State Trends > > > > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > > > > Nagios(r) - www.nagios.org > > > > > > Logged in as nagios > > > > > > > > > > > > - Notifications are disabled > > > > > > - Service checks are disabled > > > > > > > > > > If you read this message you should pay attention to it > > > and > > > enable > > > > > notifications anc service checks as suggested. > > > > > > > > And it would do nothing to resolve his problem. Those are > > > just > > > > informational messages about the overall nagios > > > configuration > > > and > > > > have > > > > nothing to do with the functionality of the cgi's in > > > question. > > > > > > > > To the OP: You have not provided enough information to > > > determine > > > > what > > > > might be going on. What nagios version are you running? Is > > > there > > > any > > > > other information in the right frame when you click on those > > > links? > > > > Can > > > > you post a screenshot somewhere (don't send it to the list)? > > > Do > > > you > > > > see > > > > any errors in your web server logs? There are a number of > > > FAQ's > > > > related > > > > to these CGIs, please review them to make sure you've > > > covered > > > those > > > > problems. > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking > > > scripting language > > > that extends applications into web and mobile media. Attend > > > the live webcast > > > and join the prime developer group breaking into this new > > > coding territory! > > > http://sel.as- > > > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > > > > > ________________________________ > > > > > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > > > > > > evt=39666/*http://beta.messenger.yahoo.com/> for just 2???/min > > with > > > Yahoo! Messenger with Voice. > > > > > > > > > ________________________________ > > > > > > Blab-away for as little as 1???/min. Make PC-to-Phone Calls > > > > > > evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with > > Voice. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the > live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > ________________________________ > > > > New Yahoo! Messenger with Voice. Call regular phones from your PC > > > > evt=39666/*http://beta.messenger.yahoo.com> and save big. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > ________________________________ > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates > starting at 1???/min. > > evt=39666/*http://beta.messenger.yahoo.com> ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2?/min with Yahoo! Messenger with Voice. -------------- next part -------------- An HTML attachment was scrubbed... URL: From raoufnezhad at gmail.com Thu Apr 13 07:35:13 2006 From: raoufnezhad at gmail.com (Marzieh Raoufnezhad) Date: Thu, 13 Apr 2006 10:05:13 +0430 Subject: send Notify by sms Message-ID: <3db1e2aa0604122235t52bff4b4ocfcbff5dcdd9858d@mail.gmail.com> Hi, I am using nagios-2.0 for Network Monitoring, I want to send notification by sms, so i install smstools. This software work only in command line, but when I add it to nagios program, I don't received any alert with sms. I define below lines in misccommand.cfg file # 'notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTALIAS$:$SERVICEDESC$ is $SERVICESTATE$" | /usr/local/bin/sendsms $CONTACTPAGER$ } # notify-by-SMS command definition define command{ command_name host-notify-by-sms command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/local/bin/sendsms $CONTACTPAGER$ } Would you please help me? Why I can't receive notification by sms? Thanks a lot. Raoufnezhad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From satish_lsurf at yahoo.com Thu Apr 13 09:19:31 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Thu, 13 Apr 2006 00:19:31 -0700 (PDT) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: <20060413061009.89375.qmail@web53515.mail.yahoo.com> References: <20060413061009.89375.qmail@web53515.mail.yahoo.com> Message-ID: <20060413071931.24962.qmail@web53512.mail.yahoo.com> Sorry i did not see the 3 cgi's, since the compilation stopped abruptly during compiling statusmap.cgi. Thanks,Satish satish kumar wrote: I got this error while compiling executing "make all" command during reinstallation.After installation i did see the trends.cgi statusmap.cgi & histogram.cgi. I tried copying trends.cgi from another box and executed the script, this gave me error in apache log as : [Thu Apr 13 06:06:03 2006] [error] [client 10.127.108.105] Premature end of script headers: trends.cgi, referer: http://192.168.120.85/nagios/side.html [Thu Apr 13 06:06:03 2006] [error] [client 10.127.108.105] /usr/local/nagios/sbin/trends.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory, referer: http://192.168.120.85/nagios/side.html Looks like i have some library missing on the box.Please let me know what can i do? ================================== gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd -lz -lm -lpng /tmp/ccdr0t72.o(.text+0x35d5): In function `load_image_from_file': /home/netops/nagios-2.2/cgi/statusmap.c:2215: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/home/netops/nagios-2.2/cgi' make: *** [all] Error 2 ================================================ Marc Powell wrote: I'm running out of ideas myself and your problem seems to be unique. Try running the trends.cgi from the command line as the nagios user -- su - nagios bash cd /path/to/nagios/sbin export REQUEST_METHOD="GET" export QUERY_STRING="input=gethost" ./trends.cgi You should see a lot of HTML but in that should be a listing of your hosts. You may see error information so be on the lookout for it. This will at least move us in the direction of eliminating apache as a problem. I'd also re-verify my installation against the documentation. -- Marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Tuesday, April 11, 2006 7:51 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > Hi Marc, > > The Configs are exactly matching and still i am not able to see the > host/service list on trends.cgi link. I am still seeing the: > > Host and Service State Trends > Last Updated: Wed Apr 12 00:47:52 GMT 2006 > Nagios?? - www.nagios.org > Logged in as nagios > > - Notifications are disabled > - Service checks are disabled > But the i have all the service checks, notifications enabled as specified > earlier. > > Thanks, Satish > > > > Marc Powell wrote: > > Mine are as follows -- > > $ ls -al /usr/local/nagios / > total 5584 > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 . > drwxr-xr-x 22 root root 4096 Mar 23 16:13 .. > drwxrwxr-x 2 nagios nagios 4096 Apr 4 14:22 bin > drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 etc > drwxrwxr-x 2 nagios nagios 4096 Apr 3 16:17 sbin > drwxrwxr-x 8 nagios nagios 4096 Apr 3 16:17 share > drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:12 tmp > drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 var > > $ ls -al /usr/local/nagios/etc > total 356 > drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 . > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. > -rw-r--r-- 1 nagios nagios 9610 Jan 3 09:16 cgi.cfg > -rw-r--r-- 1 nagios nagios 44947 Jan 4 10:24 comment.log > drwxr-xr-x 5 nagios nagios 4096 Apr 4 17:33 ena_config > -rw-r--r-- 1 nagios nagios 32238 Apr 4 14:06 nagios.cfg > -rw-r--r-- 1 nagios nagios 1804 Jan 2 16:14 resource.cfg > -rw-r--r-- 1 nagios nagios 1640 Nov 29 17:53 send_nsca.cfg > -rw-r--r-- 1 nagios nagios 3822 Apr 11 00:12 template.cfg > > $ ls -al /usr/local/nagios/var > total 20440 > drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 . > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. > drwxrwxr-x 2 nagios nagios 28672 Apr 11 00:00 archives > -rw-rw-r-- 1 nagios nagios 30404 Apr 11 09:47 comments.dat > -rw-rw-r-- 1 nagios nagios 239 Feb 13 12:10 downtime.dat > -rw-r--r-- 1 nagios nagios 6 Apr 11 00:12 nagios.lock > -rw-rw-r-- 1 nagios nagios 2677024 Apr 11 10:16 nagios.log > -rw-r--r-- 1 nagios nagios 5782334 Apr 11 00:12 objects.cache > -rw------- 1 nagios nagios 6315126 Apr 11 10:12 retention.dat > drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:07 rw > -rw-rw-r-- 1 nagios nagios 6024721 Apr 11 10:16 status.dat > > Apache configuration documentation is found at > http://nagios.sourceforge.net/docs/2_0/installweb.html > > -- > Marc > > > -----Original Message----- > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > Sent: Tuesday, April 11, 2006 10:14 AM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > Hi Marc, > > > > Right now i am not in office and i do not have access to the > network. > > Please let me know what should be the permission/owner of > > /usr/local/nagios > > /usr/local/nagios/etc > > /usr/local/nagios/var > > > > And what exactly is required to be inside httpd.conf as part of > Nagios in > > Apache.So that i can verify when i am in office,which avoids me > waiting > > another 12 hours in you replying back to me. > > > > Thanks, Satish > > > > Marc Powell wrote: > > > > Please post an 'ls -al' of the following directories -- > > > > /usr/local/nagios > > /usr/local/nagios/etc > > /usr/local/nagios/var > > > > Also post your apache config parts related to nagios. > > > > Thanks, > > > > marc > > > > > -----Original Message----- > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > Sent: Monday, April 10, 2006 10:59 PM > > > To: satish kumar; Marc Powell; nagios- > users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Not able ot view hosts/services in > the > > > Trends.cgi link > > > > > > Hi All, > > > > > > I am still finding the problem and is it related to any rpms > > missing (gd, > > > libpng,libjpeg etc......).Please help me in this issue. > > > > > > Thanks, Satish > > > > > > satish kumar wrote: > > > > > > Hi, > > > > > > I have enabled the notification & Service checks and the nagios > > has > > > sent a lot of notifications for various services.And the > > permission wise > > > others has rx permissions where apache belongs to.I am pasting > the > > output > > > of the command below. > > > ===================== > > > [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg > > > > > > Nagios 2.1 > > > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > > > Last Modified: 03-27-2006 > > > License: GPL > > > > > > Reading configuration data... > > > > > > Running pre-flight check on configuration data... > > > > > > Checking services... > > > Checked 222 services. > > > Checking hosts... > > > Checked 67 hosts. > > > Checking host groups... > > > Checked 19 host groups. > > > Checking service groups... > > > Checked 0 service groups. > > > Checking contacts... > > > Checked 8 contacts. > > > Checking contact groups... > > > Checked 5 contact groups. > > > Checking service escalations... > > > Checked 0 service escalations. > > > Checking service dependencies... > > > Checked 0 service dependencies. > > > Checking host escalations... > > > Checked 0 host escalations. > > > Checking host dependencies... > > > Checked 0 host dependencies. > > > Checking commands... > > > Checked 105 commands. > > > Checking time periods... > > > Checked 3 time periods. > > > Checking extended host info definitions... > > > Checked 0 extended host info definitions. > > > Checking extended service info definitions... > > > Checked 0 extended service info definitions. > > > Checking for circular paths between hosts... > > > Checking for circular host and service dependencies... > > > Checking global event handlers... > > > Checking obsessive compulsive processor commands... > > > Checking misc settings... > > > > > > Total Warnings: 0 > > > Total Errors: 0 > > > > > > Things look okay - No serious problems were detected during the > > pre- > > > flight check > > > ====================== > > > > > > Thanks, Satish > > > > > > Marc Powell wrote: > > > > > > According to your own screenshots Notifications are disabled > > > and Service > > > checks are disabled. While I haven't personally experienced > > > the symptoms > > > you're seeing, the three screenshots seem to imply a problem > > > reading the > > > config files. Does your web server have permission to read the > > > .cfg > > > files? Can you use the View Config link to see your > > > configuration? > > > > > > Also, from the command line as the nagios user run > > > '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' > > > and post > > > it's output. Perhaps if you posted the screenshots where other > > > can see > > > them someone else who has seen the problem before can help > > > you. > > > > > > -- > > > Marc > > > > > > > -----Original Message----- > > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > > Sent: Friday, April 07, 2006 1:25 PM > > > > To: Marc Powell > > > > Subject: RE: [Nagios-users] Not able ot view hosts/services > > > in the > > > > Trends.cgi link > > > > > > > > I am forwarding the screenshots, Please let me know for > > > further > > > > troubleshooting. > > > > I am running nagios 2.0, with notification & services > > > enabled.There > > > are no > > > > errors found in the apache logs.Regarding Auth problem, i > > > have enabled > > > all > > > > the parameters with the user nagios as owner. > > > > > > > > Thanks, satish > > > > > > > > Marc Powell wrote: > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios- > > > > users- > > > > > admin at lists.sourceforge.net] On Behalf Of Hugo van der > > > Kooij > > > > > Sent: Thursday, April 06, 2006 12:31 AM > > > > > To: nagios > > > > > Subject: Re: [Nagios-users] Not able ot view > > > hosts/services in > > > the > > > > > Trends.cgi link > > > > > > > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > > > > > > > I am not able to see the hosts/services when we click > > > the > > > links > > > > on > > > > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the > > > common > > > > message > > > > > on the lefthand side of the webpage as > > > > > > > > > > > > Host and Service State Trends > > > > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > > > > Nagios(r) - www.nagios.org > > > > > > Logged in as nagios > > > > > > > > > > > > - Notifications are disabled > > > > > > - Service checks are disabled > > > > > > > > > > If you read this message you should pay attention to it > > > and > > > enable > > > > > notifications anc service checks as suggested. > > > > > > > > And it would do nothing to resolve his problem. Those are > > > just > > > > informational messages about the overall nagios > > > configuration > > > and > > > > have > > > > nothing to do with the functionality of the cgi's in > > > question. > > > > > > > > To the OP: You have not provided enough information to > > > determine > > > > what > > > > might be going on. What nagios version are you running? Is > > > there > > > any > > > > other information in the right frame when you click on those > > > links? > > > > Can > > > > you post a screenshot somewhere (don't send it to the list)? > > > Do > > > you > > > > see > > > > any errors in your web server logs? There are a number of > > > FAQ's > > > > related > > > > to these CGIs, please review them to make sure you've > > > covered > > > those > > > > problems. > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking > > > scripting language > > > that extends applications into web and mobile media. Attend > > > the live webcast > > > and join the prime developer group breaking into this new > > > coding territory! > > > http://sel.as- > > > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > > > > > ________________________________ > > > > > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > > > > > > evt=39666/*http://beta.messenger.yahoo.com/> for just 2???/min > > with > > > Yahoo! Messenger with Voice. > > > > > > > > > ________________________________ > > > > > > Blab-away for as little as 1???/min. Make PC-to-Phone Calls > > > > > > evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with > > Voice. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the > live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > ________________________________ > > > > New Yahoo! Messenger with Voice. Call regular phones from your PC > > > > evt=39666/*http://beta.messenger.yahoo.com> and save big. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > ________________________________ > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates > starting at 1???/min. > > evt=39666/*http://beta.messenger.yahoo.com> ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2???/min with Yahoo! Messenger with Voice. --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2???/min with Yahoo! Messenger with Voice. --------------------------------- Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andreaco at email.it Thu Apr 13 10:40:44 2006 From: andreaco at email.it (Andreaco) Date: Thu, 13 Apr 2006 10:40:44 +0200 Subject: HOST dependencies Message-ID: <79c776cab8b52aa3099ca0fd37997a0e@85.18.90.170> Why any "check ping" services depend to the HOSTs STATUS? I need that "check ping" services send notifications in case HOST unrecheable. How can I break this dependency ? Thanks, Andrea -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Prestiti e Finanziamenti con un semplice click, scopri subito se sei finanziabile cliccando qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2910&d=20060413 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 frontin at irit.fr Thu Apr 13 11:02:19 2006 From: frontin at irit.fr (Jean Frontin) Date: Thu, 13 Apr 2006 11:02:19 +0200 Subject: usage variables with NRPE 2.4 Message-ID: <5.0.2.1.2.20060413105722.00bc05a0@mailhost.irit.fr> Hello, check_nrpe and nrpe are working fine but I should want to store nrpe result response in the $SERVICESTATE$ variable. So nagios will tell me if the state is OK, WARNING or UNKONWN. Of course the result is an integer. Many thanks Jean Frontin System team I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 04 France tel (33)(0)5 61 55 63 03 mail frontin at irit.fr ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jan at tomasek.cz Thu Apr 13 12:43:42 2006 From: jan at tomasek.cz (Jan Tomasek) Date: Thu, 13 Apr 2006 12:43:42 +0200 Subject: HOST dependencies In-Reply-To: <79c776cab8b52aa3099ca0fd37997a0e@85.18.90.170> References: <79c776cab8b52aa3099ca0fd37997a0e@85.18.90.170> Message-ID: <443E2B5E.9080608@tomasek.cz> Hi Andrea, > Why any "check ping" services depend to the HOSTs STATUS? > I need that "check ping" services send notifications in case HOST > unrecheable. > How can I break this dependency ? any service depends on host it is running on. I disabled all hosts checks it by defining check_command = host-is-alive on every host: define command{ command_name host-is-alive command_line $USER1$/check_ping -H 127.0.0.1 -w 3000.0,80% -c 5000.0,100% -p 1 } Later I learned that there is also check_dummy plugin which better suited for this. Best regards -- ----------------------- Jan Tomasek aka Semik http://www.tomasek.cz/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From jan at tomasek.cz Thu Apr 13 13:00:34 2006 From: jan at tomasek.cz (Jan Tomasek) Date: Thu, 13 Apr 2006 13:00:34 +0200 Subject: Everyone can issue commands on Service and Host - posible bug in nagios Message-ID: <443E2F52.9060209@tomasek.cz> Hi, I'm running Nagios version 2.2 and I discovered that permisions are not correctly evaluated at host and service groups by CGI interface. I have defined: define contactgroup { contactgroup_name radius2.zcu.cz alias radius2.zcu.cz members cizek, petrovic } define contactgroup { contactgroup_name radius.zcu.cz alias radius.zcu.cz members cizek, petrovic } define host { use generic-host host_name radius.zcu.cz alias radius.zcu.cz address 147.228.52.13 check_command host-is-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r notifications_enabled 0 contact_groups radius.zcu.cz } define host { use generic-host host_name radius2.zcu.cz alias radius2.zcu.cz address 147.228.52.23 check_command host-is-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r notifications_enabled 0 contact_groups radius2.zcu.cz } define host { use generic-host host_name aggregated.zcu.cz alias aggregated.zcu.cz address 127.0.0.1 check_command host-is-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups radius.zcu.cz,radius2.zcu.cz } define service { use ping-service host_name radius.zcu.cz service_description PING contact_groups radius.zcu.cz check_command check_ping!100.0,20%!500.0,60% } . . . define hostgroup { hostgroup_name zcu.cz alias Everyone at zcu.cz members radius.zcu.cz, radius2.zcu.cz, aggregated.zcu.cz } Every host have defined buch services but I show only one here. In cgi.cfg I've: main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path=/nagios show_context_help=0 use_authentication=1 authorized_for_system_information=semiks,adamec,polish authorized_for_configuration_information=semiks,adamec,polish authorized_for_system_commands=semiks authorized_for_all_services=* authorized_for_all_hosts=* default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=90 I expect that on hostgroup zcu.cz can only users cizek, petrovic issue comands. But sadly other users can also disable/enable checks, notification... It looks like command authorization for hostgroups and servicegroups is not working properly. Authorization for hosts and services alone is working correctly. Can I provide some more information to developers to get this fixed? At this moment I put authorized=FALSE; to: case CMD_ENABLE_HOSTGROUP_SVC_NOTIFICATIONS: case CMD_DISABLE_HOSTGROUP_SVC_NOTIFICATIONS: case CMD_ENABLE_HOSTGROUP_HOST_NOTIFICATIONS: case CMD_DISABLE_HOSTGROUP_HOST_NOTIFICATIONS: case CMD_ENABLE_HOSTGROUP_SVC_CHECKS: case CMD_DISABLE_HOSTGROUP_SVC_CHECKS: case CMD_SCHEDULE_HOSTGROUP_HOST_DOWNTIME: case CMD_SCHEDULE_HOSTGROUP_SVC_DOWNTIME: case CMD_ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS: case CMD_DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS: case CMD_ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS: case CMD_DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS: case CMD_ENABLE_SERVICEGROUP_SVC_CHECKS: case CMD_DISABLE_SERVICEGROUP_SVC_CHECKS: case CMD_SCHEDULE_SERVICEGROUP_HOST_DOWNTIME: case CMD_SCHEDULE_SERVICEGROUP_SVC_DOWNTIME: in function commit_command_data() in cgi/cmd.c but that is not fix. That is ughly hack which disable this functions for everyone. Thanks for any posible help. -- ----------------------- Jan Tomasek aka Semik http://www.tomasek.cz/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From einar.indrida at gmail.com Thu Apr 13 13:54:07 2006 From: einar.indrida at gmail.com (Einar Indridason) Date: Thu, 13 Apr 2006 11:54:07 +0000 Subject: biggest 'status.dat' file you have seen? Message-ID: <32603e510604130454g113e01ecp1265535a6adb6c84@mail.gmail.com> Hi folks. I'm wondering on writing a "simplified-view" cgi program to read and display information from the 'status.dat' file. How big status.dat file have you seen in your setup? (should I read it wholly into memory, and then parse it, or should I only store those bits and pieces that I need?) I have seen a status.dat file with a size of approximately 750KB. Bigger files? Cheers, -- Einar.Indrida at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Apr 13 15:58:30 2006 From: marc at ena.com (Marc Powell) Date: Thu, 13 Apr 2006 08:58:30 -0500 Subject: Not able ot view hosts/services in the Trends.cgi link Message-ID: http://www.nagios.org/faqs/viewfaq.php?faq_id=55 -- Marc > -----Original Message----- > From: satish kumar [mailto:satish_lsurf at yahoo.com] > Sent: Thursday, April 13, 2006 1:10 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > Trends.cgi link > > I got this error while compiling executing "make all" command during > reinstallation.After installation i did see the trends.cgi statusmap.cgi & > histogram.cgi. > > I tried copying trends.cgi from another box and executed the script, this > gave me error in apache log as : > [Thu Apr 13 06:06:03 2006] [error] [client 10.127.108.105] Premature end > of script headers: trends.cgi, referer: > http://192.168.120.85/nagios/side.html > [Thu Apr 13 06:06:03 2006] [error] [client 10.127.108.105] > /usr/local/nagios/sbin/trends.cgi: error while loading shared libraries: > libgd.so.2: cannot open shared object file: No such file or directory, > referer: http://192.168.120.85/nagios/side.html > > Looks like i have some library missing on the box.Please let me know what > can i do? > ================================== > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o > cgiutils.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o > xstatusdata-cgi.o -lgd -lz -lm -lpng > /tmp/ccdr0t72.o(.text+0x35d5): In function `load_image_from_file': > /home/netops/nagios-2.2/cgi/statusmap.c:2215: undefined reference to > `gdImageCreateFromJpeg' > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/home/netops/nagios-2.2/cgi' > make: *** [all] Error 2 > ================================================ > > Marc Powell wrote: > > I'm running out of ideas myself and your problem seems to be unique. > Try running the trends.cgi from the command line as the nagios user -- > > su - nagios > bash > cd /path/to/nagios/sbin > export REQUEST_METHOD="GET" > export QUERY_STRING="input=gethost" > ./trends.cgi > > You should see a lot of HTML but in that should be a listing of your > hosts. You may see error information so be on the lookout for it. This > will at least move us in the direction of eliminating apache as a problem. > > I'd also re-verify my installation against the documentation. > > -- > Marc > > > -----Original Message----- > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > Sent: Tuesday, April 11, 2006 7:51 PM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Not able ot view hosts/services in the > > Trends.cgi link > > > > Hi Marc, > > > > The Configs are exactly matching and still i am not able to see > the > > host/service list on trends.cgi link. I am still seeing the: > > > > Host and Service State Trends > > Last Updated: Wed Apr 12 00:47:52 GMT 2006 > > Nagios?? - www.nagios.org > > Logged in as nagios > > > > - Notifications are disabled > > - Service checks are disabled > > But the i have all the service checks, notifications enabled as > specified > > earlier. > > > > Thanks, Satish > > > > > > > > Marc Powell wrote: > > > > Mine are as follows -- > > > > $ ls -al /usr/local/nagios / > > total 5584 > > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 . > > drwxr-xr-x 22 root root 4096 Mar 23 16:13 .. > > drwxrwxr-x 2 nagios nagios 4096 Apr 4 14:22 bin > > drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 etc > > drwxrwxr-x 2 nagios nagios 4096 Apr 3 16:17 sbin > > drwxrwxr-x 8 nagios nagios 4096 Apr 3 16:17 share > > drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:12 tmp > > drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 var > > > > $ ls -al /usr/local/nagios/etc > > total 356 > > drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 . > > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. > > -rw-r--r-- 1 nagios nagios 9610 Jan 3 09:16 cgi.cfg > > -rw-r--r-- 1 nagios nagios 44947 Jan 4 10:24 comment.log > > drwxr-xr-x 5 nagios nagios 4096 Apr 4 17:33 ena_config > > -rw-r--r-- 1 nagios nagios 32238 Apr 4 14:06 nagios.cfg > > -rw-r--r-- 1 nagios nagios 1804 Jan 2 16:14 resource.cfg > > -rw-r--r-- 1 nagios nagios 1640 Nov 29 17:53 send_nsca.cfg > > -rw-r--r-- 1 nagios nagios 3822 Apr 11 00:12 template.cfg > > > > $ ls -al /usr/local/nagios/var > > total 20440 > > drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 . > > drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. > > drwxrwxr-x 2 nagios nagios 28672 Apr 11 00:00 archives > > -rw-rw-r-- 1 nagios nagios 30404 Apr 11 09:47 comments.dat > > -rw-rw-r-- 1 nagios nagios 239 Feb 13 12:10 downtime.dat > > -rw-r--r-- 1 nagios nagios 6 Apr 11 00:12 nagios.lock > > -rw-rw-r-- 1 nagios nagios 2677024 Apr 11 10:16 nagios.log > > -rw-r--r-- 1 nagios nagios 5782334 Apr 11 00:12 objects.cache > > -rw------- 1 nagios nagios 6315126 Apr 11 10:12 retention.dat > > drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:07 rw > > -rw-rw-r-- 1 nagios nagios 6024721 Apr 11 10:16 status.dat > > > > Apache configuration documentation is found at > > http://nagios.sourceforge.net/docs/2_0/installweb.html > > > > -- > > Marc > > > > > -----Original Message----- > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > Sent: Tuesday, April 11, 2006 10:14 AM > > > To: Marc Powell; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Not able ot view hosts/services in > the > > > Trends.cgi link > > > > > > Hi Marc, > > > > > > Right now i am not in office and i do not have access to the > > network. > > > Please let me know what should be the permission/owner of > > > /usr/local/nagios > > > /usr/local/nagios/etc > > > /usr/local/nagios/var > > > > > > And what exactly is required to be inside httpd.conf as part of > > Nagios in > > > Apache.So that i can verify when i am in office,which avoids me > > waiting > > > another 12 hours in you replying back to me. > > > > > > Thanks, Satish > > > > > > Marc Powell wrote: > > > > > > Please post an 'ls -al' of the following directories -- > > > > > > /usr/local/nagios > > > /usr/local/nagios/etc > > > /usr/local/nagios/var > > > > > > Also post your apache config parts related to nagios. > > > > > > Thanks, > > > > > > marc > > > > > > > -----Original Message----- > > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > > Sent: Monday, April 10, 2006 10:59 PM > > > > To: satish kumar; Marc Powell; nagios- > > users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] Not able ot view hosts/services in > > the > > > > Trends.cgi link > > > > > > > > Hi All, > > > > > > > > I am still finding the problem and is it related to any rpms > > > missing (gd, > > > > libpng,libjpeg etc......).Please help me in this issue. > > > > > > > > Thanks, Satish > > > > > > > > satish kumar wrote: > > > > > > > > Hi, > > > > > > > > I have enabled the notification & Service checks and the > nagios > > > has > > > > sent a lot of notifications for various services.And the > > > permission wise > > > > others has rx permissions where apache belongs to.I am pasting > > the > > > output > > > > of the command below. > > > > ===================== > > > > [root at exlinux3 bin]# ./nagios -v ../etc/nagios.cfg > > > > > > > > Nagios 2.1 > > > > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > > > > Last Modified: 03-27-2006 > > > > License: GPL > > > > > > > > Reading configuration data... > > > > > > > > Running pre-flight check on configuration data... > > > > > > > > Checking services... > > > > Checked 222 services. > > > > Checking hosts... > > > > Checked 67 hosts. > > > > Checking host groups... > > > > Checked 19 host groups. > > > > Checking service groups... > > > > Checked 0 service groups. > > > > Checking contacts... > > > > Checked 8 contacts. > > > > Checking contact groups... > > > > Checked 5 contact groups. > > > > Checking service escalations... > > > > Checked 0 service escalations. > > > > Checking service dependencies... > > > > Checked 0 service dependencies. > > > > Checking host escalations... > > > > Checked 0 host escalations. > > > > Checking host dependencies... > > > > Checked 0 host dependencies. > > > > Checking commands... > > > > Checked 105 commands. > > > > Checking time periods... > > > > Checked 3 time periods. > > > > Checking extended host info definitions... > > > > Checked 0 extended host info definitions. > > > > Checking extended service info definitions... > > > > Checked 0 extended service info definitions. > > > > Checking for circular paths between hosts... > > > > Checking for circular host and service dependencies... > > > > Checking global event handlers... > > > > Checking obsessive compulsive processor commands... > > > > Checking misc settings... > > > > > > > > Total Warnings: 0 > > > > Total Errors: 0 > > > > > > > > Things look okay - No serious problems were detected during > the > > > pre- > > > > flight check > > > > ====================== > > > > > > > > Thanks, Satish > > > > > > > > Marc Powell wrote: > > > > > > > > According to your own screenshots Notifications are disabled > > > > and Service > > > > checks are disabled. While I haven't personally experienced > > > > the symptoms > > > > you're seeing, the three screenshots seem to imply a problem > > > > reading the > > > > config files. Does your web server have permission to read the > > > > .cfg > > > > files? Can you use the View Config link to see your > > > > configuration? > > > > > > > > Also, from the command line as the nagios user run > > > > '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' > > > > and post > > > > it's output. Perhaps if you posted the screenshots where other > > > > can see > > > > them someone else who has seen the problem before can help > > > > you. > > > > > > > > -- > > > > Marc > > > > > > > > > -----Original Message----- > > > > > From: satish kumar [mailto:satish_lsurf at yahoo.com] > > > > > Sent: Friday, April 07, 2006 1:25 PM > > > > > To: Marc Powell > > > > > Subject: RE: [Nagios-users] Not able ot view hosts/services > > > > in the > > > > > Trends.cgi link > > > > > > > > > > I am forwarding the screenshots, Please let me know for > > > > further > > > > > troubleshooting. > > > > > I am running nagios 2.0, with notification & services > > > > enabled.There > > > > are no > > > > > errors found in the apache logs.Regarding Auth problem, i > > > > have enabled > > > > all > > > > > the parameters with the user nagios as owner. > > > > > > > > > > Thanks, satish > > > > > > > > > > Marc Powell wrote: > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: nagios-users-admin at lists.sourceforge.net > > > > [mailto:nagios- > > > > > users- > > > > > > admin at lists.sourceforge.net] On Behalf Of Hugo van der > > > > Kooij > > > > > > Sent: Thursday, April 06, 2006 12:31 AM > > > > > > To: nagios > > > > > > Subject: Re: [Nagios-users] Not able ot view > > > > hosts/services in > > > > the > > > > > > Trends.cgi link > > > > > > > > > > > > On Wed, 5 Apr 2006, satish kumar wrote: > > > > > > > > > > > > > I am not able to see the hosts/services when we click > > > > the > > > > links > > > > > on > > > > > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the > > > > common > > > > > message > > > > > > on the lefthand side of the webpage as > > > > > > > > > > > > > > Host and Service State Trends > > > > > > > Last Updated: Thu Apr 6 01:13:00 WET 2006 > > > > > > > Nagios(r) - www.nagios.org > > > > > > > Logged in as nagios > > > > > > > > > > > > > > - Notifications are disabled > > > > > > > - Service checks are disabled > > > > > > > > > > > > If you read this message you should pay attention to it > > > > and > > > > enable > > > > > > notifications anc service checks as suggested. > > > > > > > > > > And it would do nothing to resolve his problem. Those are > > > > just > > > > > informational messages about the overall nagios > > > > configuration > > > > and > > > > > have > > > > > nothing to do with the functionality of the cgi's in > > > > question. > > > > > > > > > > To the OP: You have not provided enough information to > > > > determine > > > > > what > > > > > might be going on. What nagios version are you running? Is > > > > there > > > > any > > > > > other information in the right frame when you click on those > > > > links? > > > > > Can > > > > > you post a screenshot somewhere (don't send it to the list)? > > > > Do > > > > you > > > > > see > > > > > any errors in your web server logs? There are a number of > > > > FAQ's > > > > > related > > > > > to these CGIs, please review them to make sure you've > > > > covered > > > > those > > > > > problems. > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by xPML, a groundbreaking > > > > scripting language > > > > that extends applications into web and mobile media. Attend > > > > the live webcast > > > > and join the prime developer group breaking into this new > > > > coding territory! > > > > http://sel.as- > > > > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > > > > > > > > evt=39666/*http://beta.messenger.yahoo.com/> for just 2???/min > > > with > > > > Yahoo! Messenger with Voice. > > > > > > > > > > > > ________________________________ > > > > > > > > Blab-away for as little as 1???/min. Make PC-to-Phone Calls > > > > > > > > evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with > > > Voice. > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking > scripting > > > language > > > that extends applications into web and mobile media. Attend the > > live > > > webcast > > > and join the prime developer group breaking into this new coding > > > territory! > > > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > > > > > ________________________________ > > > > > > New Yahoo! Messenger with Voice. Call regular phones from your > PC > > > > > > evt=39666/*http://beta.messenger.yahoo.com> and save big. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the > live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > > > > > ________________________________ > > > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. > Great rates > > starting at 1???/min. > > > > evt=39666/*http://beta.messenger.yahoo.com> > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > > > ________________________________ > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries > evt=39666/*http://beta.messenger.yahoo.com/> for just 2?/min with Yahoo! > Messenger with Voice. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Apr 13 16:04:47 2006 From: marc at ena.com (Marc Powell) Date: Thu, 13 Apr 2006 09:04:47 -0500 Subject: biggest 'status.dat' file you have seen? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Einar Indridason > Sent: Thursday, April 13, 2006 6:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] biggest 'status.dat' file you have seen? > > Hi folks. I'm wondering on writing a "simplified-view" cgi program to > read and display information from the 'status.dat' file. How big > status.dat file have you seen in your setup? > (should I read it wholly into memory, and then parse it, or should I only > store those bits and pieces that I need?) > > I have seen a status.dat file with a size of approximately 750KB. Bigger > files? > Mines about 6M right now. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 patrick.morris at hp.com Thu Apr 13 16:18:35 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 13 Apr 2006 10:18:35 -0400 Subject: Everyone can issue commands on Service and Host - posible bug in nagios Message-ID: You've authorized everyone for everything: authorized_for_all_services=* authorized_for_all_hosts=* -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jan Tomasek Sent: Thursday, April 13, 2006 4:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Everyone can issue commands on Service and Host - posible bug in nagios Hi, I'm running Nagios version 2.2 and I discovered that permisions are not correctly evaluated at host and service groups by CGI interface. I have defined: define contactgroup { contactgroup_name radius2.zcu.cz alias radius2.zcu.cz members cizek, petrovic } define contactgroup { contactgroup_name radius.zcu.cz alias radius.zcu.cz members cizek, petrovic } define host { use generic-host host_name radius.zcu.cz alias radius.zcu.cz address 147.228.52.13 check_command host-is-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r notifications_enabled 0 contact_groups radius.zcu.cz } define host { use generic-host host_name radius2.zcu.cz alias radius2.zcu.cz address 147.228.52.23 check_command host-is-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r notifications_enabled 0 contact_groups radius2.zcu.cz } define host { use generic-host host_name aggregated.zcu.cz alias aggregated.zcu.cz address 127.0.0.1 check_command host-is-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups radius.zcu.cz,radius2.zcu.cz } define service { use ping-service host_name radius.zcu.cz service_description PING contact_groups radius.zcu.cz check_command check_ping!100.0,20%!500.0,60% } . . . define hostgroup { hostgroup_name zcu.cz alias Everyone at zcu.cz members radius.zcu.cz, radius2.zcu.cz, aggregated.zcu.cz } Every host have defined buch services but I show only one here. In cgi.cfg I've: main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path=/nagios show_context_help=0 use_authentication=1 authorized_for_system_information=semiks,adamec,polish authorized_for_configuration_information=semiks,adamec,polish authorized_for_system_commands=semiks authorized_for_all_services=* authorized_for_all_hosts=* default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=90 I expect that on hostgroup zcu.cz can only users cizek, petrovic issue comands. But sadly other users can also disable/enable checks, notification... It looks like command authorization for hostgroups and servicegroups is not working properly. Authorization for hosts and services alone is working correctly. Can I provide some more information to developers to get this fixed? At this moment I put authorized=FALSE; to: case CMD_ENABLE_HOSTGROUP_SVC_NOTIFICATIONS: case CMD_DISABLE_HOSTGROUP_SVC_NOTIFICATIONS: case CMD_ENABLE_HOSTGROUP_HOST_NOTIFICATIONS: case CMD_DISABLE_HOSTGROUP_HOST_NOTIFICATIONS: case CMD_ENABLE_HOSTGROUP_SVC_CHECKS: case CMD_DISABLE_HOSTGROUP_SVC_CHECKS: case CMD_SCHEDULE_HOSTGROUP_HOST_DOWNTIME: case CMD_SCHEDULE_HOSTGROUP_SVC_DOWNTIME: case CMD_ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS: case CMD_DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS: case CMD_ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS: case CMD_DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS: case CMD_ENABLE_SERVICEGROUP_SVC_CHECKS: case CMD_DISABLE_SERVICEGROUP_SVC_CHECKS: case CMD_SCHEDULE_SERVICEGROUP_HOST_DOWNTIME: case CMD_SCHEDULE_SERVICEGROUP_SVC_DOWNTIME: in function commit_command_data() in cgi/cmd.c but that is not fix. That is ughly hack which disable this functions for everyone. Thanks for any posible help. -- ----------------------- Jan Tomasek aka Semik http://www.tomasek.cz/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jan at tomasek.cz Thu Apr 13 16:23:10 2006 From: jan at tomasek.cz (Jan Tomasek) Date: Thu, 13 Apr 2006 16:23:10 +0200 Subject: Everyone can issue commands on Service and Host - posible bug in nagios In-Reply-To: References: Message-ID: <443E5ECE.4020608@tomasek.cz> Morris, Patrick wrote: > You've authorized everyone for everything: > > authorized_for_all_services=* > authorized_for_all_hosts=* I hope not. In comment for those options is writen: # GLOBAL HOST/SERVICE VIEW ACCESS # These two options are comma-delimited lists of all usernames that # can view information for all hosts and services that are being # monitored. By default, users can only view information # for hosts or services that they are contacts for (unless you # you choose to not use authorization). You may use an asterisk (*) # to authorize any user who has authenticated to the web server. That paragraph is speaking only about viewing information not sending commands. Or am I wrong? -- ----------------------- Jan Tomasek aka Semik http://www.tomasek.cz/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From tiagocruz at forumgdh.net Thu Apr 13 17:14:03 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Thu, 13 Apr 2006 12:14:03 -0300 Subject: Problem with $OUTPUT$ Message-ID: <443E6ABB.6090406@forumgdh.net> Hello guys, I think that I have some problem with the submit_check_result.sh script, because the client send the correct data to "distributed" server: [1144938605] SERVICE ALERT: golum.br.inter.net;Apache WWW;CRITICAL;SOFT;2;Connection refused Bu my server receive this information: [1144938605] SERVICE ALERT: golum.br.inter.net;Apache WWW;CRITICAL;SOFT;2;$OUTPUT$ And I ask: Why? :-) Thanks!!! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Thomas.Zimmer at oppenheim.de Thu Apr 13 17:23:13 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 13 Apr 2006 17:23:13 +0200 Subject: AW: Problem with $OUTPUT$ Message-ID: Did you upgrade from version 1.x to 2.x? There?s no macro $OUTPUT$ in version 2.x any more... Use $SERVICEOUTPUT$ or $HOSTOUTPUT$ instead. Greetz, 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 -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Tiago Cruz Gesendet: Donnerstag, 13. April 2006 17:14 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem with $OUTPUT$ Hello guys, I think that I have some problem with the submit_check_result.sh script, because the client send the correct data to "distributed" server: [1144938605] SERVICE ALERT: golum.br.inter.net;Apache WWW;CRITICAL;SOFT;2;Connection refused Bu my server receive this information: [1144938605] SERVICE ALERT: golum.br.inter.net;Apache WWW;CRITICAL;SOFT;2;$OUTPUT$ And I ask: Why? :-) Thanks!!! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From patrick.morris at hp.com Thu Apr 13 17:49:35 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 13 Apr 2006 11:49:35 -0400 Subject: Everyone can issue commands on Service and Host - posible bug in nagios Message-ID: Sorry -- my mistake. Coffee first, then reply to emails. You're right; those options should not allow commands to be executed, according to the docs. -----Original Message----- From: Jan Tomasek [mailto:jan at tomasek.cz] Sent: Thursday, April 13, 2006 7:23 AM To: Morris, Patrick Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Everyone can issue commands on Service and Host - posible bug in nagios Morris, Patrick wrote: > You've authorized everyone for everything: > > authorized_for_all_services=* > authorized_for_all_hosts=* I hope not. In comment for those options is writen: # GLOBAL HOST/SERVICE VIEW ACCESS # These two options are comma-delimited lists of all usernames that # can view information for all hosts and services that are being # monitored. By default, users can only view information # for hosts or services that they are contacts for (unless you # you choose to not use authorization). You may use an asterisk (*) # to authorize any user who has authenticated to the web server. That paragraph is speaking only about viewing information not sending commands. Or am I wrong? -- ----------------------- Jan Tomasek aka Semik http://www.tomasek.cz/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jrhett at svcolo.com Thu Apr 13 18:12:21 2006 From: jrhett at svcolo.com (Jo Rhett) Date: Thu, 13 Apr 2006 09:12:21 -0700 Subject: OS State Plugins? In-Reply-To: <443D4560.5040400@Examen.com> References: <443D4560.5040400@Examen.com> Message-ID: <20060413161221.GG63342@svcolo.com> On Wed, Apr 12, 2006 at 11:22:24AM -0700, Emmett Hogan wrote: > I was just talking with my co-worker about the need for us to go through > and apply our weekly set of patches and it dawned on me that there > should be a plugin for nagios to report back the patch state of a machine. The problem is that the question isn't the same -- it varies depending on my factors. I would suggest something like cfengine, which can tell you state and also update the system to the proper state. -- Jo Rhett senior geek SVcolo : Silicon Valley Colocation ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 tom at trelvik.net Thu Apr 13 18:19:50 2006 From: tom at trelvik.net (Tom Trelvik) Date: Thu, 13 Apr 2006 12:19:50 -0400 Subject: OS State Plugins? In-Reply-To: <443D4560.5040400@Examen.com> References: <443D4560.5040400@Examen.com> Message-ID: <82a5ca600604130919r2e0d91fbxbeb7864aeade1fa3@mail.gmail.com> Speaking of patch management, I just learned that Oracle Enterprise Manager works with patch management (I had thought it was primarily a Nagios-like product). Has anybody here tried OEM? Any thoughts on how it compares to Nagios? Are they different enough that one might want to run both in parallel, or are they mostly the same? Thanks, Tom On 4/12/06, Emmett Hogan wrote: > I was just talking with my co-worker about the need for us to go through > and apply our weekly set of patches and it dawned on me that there > should be a plugin for nagios to report back the patch state of a machine. > > Granted, it would vary widely depending on the OS, but there is usually > a command that can be issued that will report back what installed > packages are out of date. A VERY simple threshold could be simply a > line count (OK - if less than 10 packages need upgrading, WARN - 10 to > 20 pkgs, CRIT - more than 20). It could obviously be more robust if the > OS would report the "criticality" of > the patches. > > Another bit of info that should be easily obtainable via nagios would be > the OS version via uname. I can see where that would be handy to have > on the "Service State Details" page. > > I checked nagiosexchange, but didn't see any plugins like these...does > anyone know if they exist? > ..or do I have another "spare time" project? > > ...or is this another one of my "dumb ideas?" :-) > Thanks, > Emmett > > -- > ========= LexisNexis Examen, Inc. ========== > Emmett Hogan > Senior UNIX Administrator > emmetth at examen.com > === Outside Counsel Management Solutions === > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 tiagocruz at forumgdh.net Thu Apr 13 18:51:45 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Thu, 13 Apr 2006 13:51:45 -0300 Subject: AW: Problem with $OUTPUT$ In-Reply-To: References: Message-ID: <443E81A1.9010500@forumgdh.net> Thomas.Zimmer at oppenheim.de wrote: > Did you upgrade from version 1.x to 2.x? Yes Thomas, many thanks by reply!!! > There?s no macro $OUTPUT$ in version 2.x any more... Use $SERVICEOUTPUT$ or > $HOSTOUTPUT$ instead. Great! Now I can see this information: [1144945775] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;golum.br.xxxxx.net;Apache;-1;CRITICAL Very good, thanks again! Now... let me know two more things: 1-) The status that goes to my nagios server are E.O.K, but the information still wrong in my Apache, like this: Apache WWW - CRITICAL - 13-04-2006 - 0d 2h 16m 38s - 1/5 - $OUTPUT$ Process - OK 13-04-2006 - 0d 3h 27m 29s - 1/5 - PROCS 2-) The "ping" command not work any more? This information are sent by my station: [1144945646] INITIAL SERVICE STATE: golum.br.xxxxx.net;Ping;UNKNOWN;HARD;5;/bin/ping -n -U -w 10 -c 5 10.0.0.197 This information are sent by my nagios distributed to my nagios server: [1144945895] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;golum.br.xxxxx.net;Ping;-1;/bin/ping And this is the result in web interface: Ping - UNKNOWN - 13-04-2006 - 0d 21h 35m 0s - 5/5 - /bin/ping Do you know where am I wrong? Many thanks! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 andreaco at email.it Thu Apr 13 19:02:58 2006 From: andreaco at email.it (Andreaco) Date: Thu, 13 Apr 2006 19:02:58 +0200 Subject: HOST dependencies Message-ID: Hi, ok tu use check_dummy for HOSTs or disable checks at all, the problem is that the host's colour remain green when unrecheable. I find a workaroud for it. I define host like this: define host{ use generic-host host_name linuxbox1 alias linuxbox1 address 192.168.120.1 check_command check-host-macro!$SERVICESTATE:linuxbox1:check_ping$!$SERVICEDURATION:linuxbox1:check_ping$ max_check_attempts 1 contact_groups mycontact notification_interval 0 notification_period none notification_options n } Then I defined the command check-host-macro like this: define command{ command_name check-host-macro command_line $USER1$/check_host_macro.sh $ARG1$ $ARG2$ } The script check_host_macro.sh outputs "exit 2" only when service check_ping is CRITICAL and its SERVICEDURATION is greater than 10 minutes. In this case HOSTS become red when check_ping notifications are already sent. I hope there's a shorter way to obtain the same... Bye, Andrea > Hi Andrea, > > > Why any "check ping" services depend to the HOSTs STATUS? > > I need that "check ping" services send notifications in case HOST > > unrecheable. > > How can I break this dependency ? > > any service depends on host it is running on. I disabled all hosts > checks it by defining check_command = host-is-alive on every host: > > define command{ > command_name host-is-alive > command_line $USER1$/check_ping -H 127.0.0.1 -w 3000.0,80% -c > 5000.0,100% -p 1 > } > > Later I learned that there is also check_dummy plugin which better > suited for this. > > Best regards > -- > ----------------------- > Jan Tomasek aka Semik > http://www.tomasek.cz/ > > -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: I migliori giochi Jamba! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4844&d=20060413 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 lludlow at gmail.com Thu Apr 13 19:06:53 2006 From: lludlow at gmail.com (Larry Ludlow) Date: Thu, 13 Apr 2006 13:06:53 -0400 Subject: Strange NRPE / Nagios problem Message-ID: <61f0cc960604131006gebdbed4g470f7fea2be14ad@mail.gmail.com> I have been all over the forums and lists and don't see anyone else having the exact same problem. I have Nagios 2.2 running on RedHat ES4 U3, monitoring 28 RedHat ES4 servers fine. NRPE is running on all of the hosts. I have 1 redhat box that I am getting CHECK_NRPE: Socket timeout after 10 seconds. Also I started rolling this out into my Solaris environment. I have it on 4 servers 2 are working and 2 are getting this time out error. the logs have not been usefull. For the solaris box's I am using the -n flag to disable ssl. (the same for the check command) The strange part is I can run the command manually as root or nagios and I get a good reply... [root at bpas-02 libexec]# ./check_nrpe -n -H prddb880-1 -c check_disk1 DISK OK - free space: / 5361 MB (53%);| /=4721MB;10061;10071;0;10081 Any ideas??? Thanks, - Larry -------------- next part -------------- An HTML attachment was scrubbed... URL: From JLaack at alegent.org Thu Apr 13 19:10:19 2006 From: JLaack at alegent.org (Jacob Laack) Date: Thu, 13 Apr 2006 12:10:19 -0500 Subject: Strange NRPE / Nagios problem Message-ID: Larry- First guess: Make sure the Nagios Server's IP is in the nrpe.cfg as an allowed_hosts. This is assuming you're running NRPE as a daemon. Jake Laack Alegent Health Open Systems Engineer >>> "Larry Ludlow" 4/13/2006 12:06:53 PM >>> I have been all over the forums and lists and don't see anyone else having the exact same problem. I have Nagios 2.2 running on RedHat ES4 U3, monitoring 28 RedHat ES4 servers fine. NRPE is running on all of the hosts. I have 1 redhat box that I am getting CHECK_NRPE: Socket timeout after 10 seconds. Also I started rolling this out into my Solaris environment. I have it on 4 servers 2 are working and 2 are getting this time out error. the logs have not been usefull. For the solaris box's I am using the -n flag to disable ssl. (the same for the check command) The strange part is I can run the command manually as root or nagios and I get a good reply... [root at bpas-02 libexec]# ./check_nrpe -n -H prddb880-1 -c check_disk1 DISK OK - free space: / 5361 MB (53%);| /=4721MB;10061;10071;0;10081 Any ideas??? Thanks, - Larry ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Thomas.Zimmer at oppenheim.de Thu Apr 13 19:15:57 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 13 Apr 2006 19:15:57 +0200 Subject: AW: Strange NRPE / Nagios problem Message-ID: It would have been helpful, if you had posted all parts of the command (checkcommand, resourcepath?) and specially the output you get in Nagios. Did you try to raise the timeout-value (even if this shouldn?t be the problem). Iassume you ran the test check from your Nagios host, so this shouldn?t be the prob, right? Greetz, 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 -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Jacob Laack Gesendet: Donnerstag, 13. April 2006 19:10 An: lludlow at gmail.com; nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] Strange NRPE / Nagios problem Larry- First guess: Make sure the Nagios Server's IP is in the nrpe.cfg as an allowed_hosts. This is assuming you're running NRPE as a daemon. Jake Laack Alegent Health Open Systems Engineer >>> "Larry Ludlow" 4/13/2006 12:06:53 PM >>> I have been all over the forums and lists and don't see anyone else having the exact same problem. I have Nagios 2.2 running on RedHat ES4 U3, monitoring 28 RedHat ES4 servers fine. NRPE is running on all of the hosts. I have 1 redhat box that I am getting CHECK_NRPE: Socket timeout after 10 seconds. Also I started rolling this out into my Solaris environment. I have it on 4 servers 2 are working and 2 are getting this time out error. the logs have not been usefull. For the solaris box's I am using the -n flag to disable ssl. (the same for the check command) The strange part is I can run the command manually as root or nagios and I get a good reply... [root at bpas-02 libexec]# ./check_nrpe -n -H prddb880-1 -c check_disk1 DISK OK - free space: / 5361 MB (53%);| /=4721MB;10061;10071;0;10081 Any ideas??? Thanks, - Larry ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From listsub at systame.com Thu Apr 13 19:16:43 2006 From: listsub at systame.com (Randall Perry) Date: Thu, 13 Apr 2006 13:16:43 -0400 Subject: NRPE SSL fails on Mac OSXS Message-ID: <443E877B.8070305@systame.com> Got Nagios monitor running fine on it's main box. But, am having troubles getting nrpe_check command to talk to a remote host. I've read the FAQ on this issue and verified that everything is kosher. http://www.nagios.org/faqs/viewfaq.php?faq_id=191 But I get this from nrpe (with debugging on): Error: Could not complete SSL handshake. 2\n And this from check_nrpe: CHECK_NRPE: Error - Could not complete SSL handshake. Also tried running both without ssl. nrpe crashed on the remote machine, while nagios host gave error: CHECK_NRPE: Socket timeout after 10 seconds Anyone got nrpe working on Mac OSX? -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 lludlow at gmail.com Thu Apr 13 19:53:45 2006 From: lludlow at gmail.com (Larry Ludlow) Date: Thu, 13 Apr 2006 13:53:45 -0400 Subject: Strange NRPE / Nagios problem In-Reply-To: References: Message-ID: <61f0cc960604131053h79eb5ac3w25650ebab59cfd0c@mail.gmail.com> Here are some of my configs... comands.cfg define command{ command_name check_sun_disk1 command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -t 30 -c check_disk1 } nrpe.cfg command[check_disk1]=/export/nagios/libexec/check_disk -w 20 -c 10 -p /dev/vx/dsk/rootvol service for this particular host define service { use check_sun_disk1 service_description / check_command check_sun_disk1 host_name ######## servicegroups Sun contact_groups LAdmins } I can run this command manually. When nagios performs the check I get a socket time out... I am getting very frustrated... I have used nagios for a few years now.. and this is the 1st time I have ran into this problem... there are no firewalls, iptables, filtering or anyhting running on these boxes yet.... -------------- next part -------------- An HTML attachment was scrubbed... URL: From Thomas.Zimmer at oppenheim.de Thu Apr 13 20:11:24 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 13 Apr 2006 20:11:24 +0200 Subject: AW: Strange NRPE / Nagios problem Message-ID: I had this problem like others, too. I paste som archive-mail concerning this issue: (but none of them helped with my probs or i didn?t try the solutions. the problem cleared itself, don?t ask my why), You?ll find more searching the archives for "timeout", good luck :) Andreas Ericsson wrote: PEYRE Julien wrote: > Hello everybody, > > I'm trying to use Nagios in order to survey our databases with custom > plug-in. On Nagios browser, if I choose a host and I launch "Schedule > an immediate check of all services on this host", I have all status > for all services that take value " CHECK_NRPE: Socket Timeout after 10 > seconds". > > If I launch an immediate check service by service (one by one), it's > OK, it functions. > > Any idea would be welcome ! > You're most likely flooding the socket receive buffers in the kernel. What systems are you seeing this on and how many checks are there to run? Most systems have an accept(2) queue size of five, so above that and you're in uncharted territory unless you fiddle with the receive-buffers directly through fcntl(2) in which case it should be possible to set it to some quite large value (see check_icmp.c on how to do this). Another one: Thomas.Zimmer at oppenheim.de wrote: > Hi Andreas, > Many thanks for the solution of the timout-prob. Do you think the > modification the socket receive buffers could cause undesireble > consequences for the system nagios is running on? The program enhancing the buffers will ofcourse consume more memory. On some systems this comes from the kernel's pre-allocated chunks which it is either expensive or impossible to grow. Since it's only one program and one socket though it shouldn't make much difference. > Any security-related issues? Not with a sane implementation which most systems have these days. Ancient True64 had some problems, as did HPUX and UniCOS. To my knowledge this has been fixed though (except possibly UniCOS which I doubt you're running). And this one Hello everybody, I'm trying to use Nagios in order to survey our databases with custom plug-in. On Nagios browser, if I choose a host and I launch "Schedule an immediate check of all services on this host", I have all status for all services that take value " CHECK_NRPE: Socket Timeout after 10 seconds". If I launch an immediate check service by service (one by one), it's OK, it functions. Any idea would be welcome ! Thanks in advance, Julien. 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 -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Larry Ludlow Gesendet: Donnerstag, 13. April 2006 19:54 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] Strange NRPE / Nagios problem Here are some of my configs... comands.cfg define command{ command_name check_sun_disk1 command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -t 30 -c check_disk1 } nrpe.cfg command[check_disk1]=/export/nagios/libexec/check_disk -w 20 -c 10 -p /dev/vx/dsk/rootvol service for this particular host define service { use check_sun_disk1 service_description / check_command check_sun_disk1 host_name ######## servicegroups Sun contact_groups LAdmins } I can run this command manually. When nagios performs the check I get a socket time out... I am getting very frustrated... I have used nagios for a few years now.. and this is the 1st time I have ran into this problem... there are no firewalls, iptables, filtering or anyhting running on these boxes yet.... -------------- 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: From hvdkooij at vanderkooij.org Thu Apr 13 20:14:53 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 13 Apr 2006 20:14:53 +0200 (CEST) Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: <20060413061009.89375.qmail@web53515.mail.yahoo.com> References: <20060413061009.89375.qmail@web53515.mail.yahoo.com> Message-ID: On Wed, 12 Apr 2006, satish kumar wrote: > Looks like i have some library missing on the box.Please let me know what can i do? Install them. But frankly. If you need to be told each and every step then I think installing and maintaining nagios is not ment for you. I suggest you hire someone to do the job and write a maintenance manual for your setup. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Thu Apr 13 20:26:43 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 13 Apr 2006 20:26:43 +0200 (CEST) Subject: Everyone can issue commands on Service and Host - posible bug in nagios In-Reply-To: References: Message-ID: On Thu, 13 Apr 2006, Morris, Patrick wrote: > Sorry -- my mistake. Coffee first, then reply to emails. You're right; > those options should not allow commands to be executed, according to the > docs. It's one thing to assume things based on the manual. It is another to put it to the test. If only to confirm the option works as advertised. Troubleshooting is mainly about elimination the working parts. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 bart.poort at omroep.nl Thu Apr 13 20:44:44 2006 From: bart.poort at omroep.nl (Bart Poort) Date: Thu, 13 Apr 2006 20:44:44 +0200 (CEST) Subject: nrpe upgrade v2.0 --> v2.5.1 Message-ID: Hi List, I'm about to upgrade the nrpe daemon from version 2.0 to 2.5.1 on my clients (about 200). I saw that the sample nrpe.cfg file in 2.5.1 slightly differs from the one that is used for 2.0. Has anyone tried to use the nrpe.cfg from an older version on 2.5.1? If so, did it worked fine. If not, what do you recomment? Thanks in advance, Kind regards, -- Bart Poort, internetbeheerder Publieke Omroep Internet Services []() --Where's the GUI on this thing?-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 einar.indrida at gmail.com Thu Apr 13 20:48:38 2006 From: einar.indrida at gmail.com (Einar Indridason) Date: Thu, 13 Apr 2006 18:48:38 +0000 Subject: biggest 'status.dat' file you have seen? In-Reply-To: References: Message-ID: <32603e510604131148x5d27621cv129ef46f77a24417@mail.gmail.com> On 4/13/06, Marc Powell wrote: > > > > Hi folks. I'm wondering on writing a "simplified-view" cgi program to > > read and display information from the 'status.dat' file. How big > > status.dat file have you seen in your setup? > > (should I read it wholly into memory, and then parse it, or should I > only > > store those bits and pieces that I need?) > > Mines about 6M right now. > > -- > Marc Ok. Thanks... that gives me some idea about the size to handle... Cheers, -- EinarI -------------- next part -------------- An HTML attachment was scrubbed... URL: From msugano at uolinc.com Thu Apr 13 22:10:58 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 13 Apr 2006 17:10:58 -0300 Subject: biggest 'status.dat' file you have seen? In-Reply-To: <32603e510604130454g113e01ecp1265535a6adb6c84@mail.gmail.com> References: <32603e510604130454g113e01ecp1265535a6adb6c84@mail.gmail.com> Message-ID: <1144959058.17286.5.camel@localhost> On Thu, 2006-04-13 at 11:54 +0000, Einar Indridason wrote: > I have seen a status.dat file with a size of approximately 750KB. > Bigger files? It will depend on how big is your configuration. With over 11k services being checked, my status.dat file was around 15M. It scales with the number of service checks. 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 trasko at gmail.com Thu Apr 13 22:02:03 2006 From: trasko at gmail.com (Trask) Date: Thu, 13 Apr 2006 13:02:03 -0700 Subject: notice: embedded perl, getopts and emtpy string in ARGV Message-ID: <735379850604131302m144ec909l44b04512d627a137@mail.gmail.com> This took me so long to figure out, I figured I would share just in case someone else hits upon this problem one day in the future... I had an eventhandler that was not working -- It was getting called by nagios, but it wasn't actually doing its job. Also, if you ran it from the command line as root or the nagios user, the script worked fine. Complicating things is the fact I am using the embedded perl interpretter (p1.pl). Also interestingly enough, another event handler script I wrote that is nearly identical to this one does not suffer the same problem. Well here is why my script wasn't working: In check_commands.cfg, I had these lines for these two event handlers: --------------- define command { command_name fix_script_that_works command_line $USER1$/event/fix_script_that_works -S $SERVICESTATE$ -T $SERVICESTATETYPE$ -A $SERVICEATTEMPT$ -H $HOSTADDRESS$ } define command { command_name fix_script_that_breaks command_line $USER1$/event/fix_script_that_breaks -S $SERVICESTATE$ -T $SERVICESTATETYPE$ -A $SERVICEATTEMPT$ -H $HOSTADDRESS$ -a A } --------------- Well, there you go! Can you see the problem? As it ends up, I could use the exact same script, but write the command definitions slightly differently and one would break and the other would not! The problem is that there were 2 spaces between "$USER1$/event/fix_script_that_breaks" and "-S" while only 1 space between "$USER1$/event/fix_script_that_works" and "-S". (I did this to simply even up the columns in the config file to satisfy my O/C urges). Well, that extra space causes the embedded perl interpretter to make $ARGV[0] be equal to '' (the empty string) and as a result, causes getopts to fail silently in taking in options off of the command line. (Note that when you run a script off of the command line (say in bash), you can use any number of spaces between the program name and the first argument). The script I was using defaulted to values that would cause the event handling code to not run, so that explains why the event handler never did anything. Anyway, I hope this saves someone some frustration. ~trasko ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 shivkumar at outbackwifi.com Fri Apr 14 04:23:08 2006 From: shivkumar at outbackwifi.com (Shivkumar) Date: Fri, 14 Apr 2006 07:53:08 +0530 Subject: Not able ot view hosts/services in the Trends.cgi link In-Reply-To: References: <20060413061009.89375.qmail@web53515.mail.yahoo.com> Message-ID: <443F078C.7050104@outbackwifi.com> Hugo van der Kooij said the following: > On Wed, 12 Apr 2006, satish kumar wrote: > > >> Looks like i have some library missing on the box.Please let me know what can i do? >> > > Install them. > > But frankly. If you need to be told each and every step then I think > installing and maintaining nagios is not ment for you. > > I suggest you hire someone to do the job and write a maintenance manual > for your setup. > > Hi, Id like to volunteer for this task!!!! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 jan at tomasek.cz Fri Apr 14 08:18:04 2006 From: jan at tomasek.cz (Jan Tomasek) Date: Fri, 14 Apr 2006 08:18:04 +0200 Subject: HOST dependencies In-Reply-To: References: Message-ID: <443F3E9C.90309@tomasek.cz> Hi, Andreaco wrote: > ok tu use check_dummy for HOSTs or disable checks at all, > the problem is that the host's colour remain green when unrecheable. Well that is what I decided to live with. For my point view is service PING and host check is duplicated. Personaly I think that you can say that host is dead by any remote testing method. It might be alive and only it's network card might be dead ;) But users do not care... dead netcard or power lost service is not working... > I find a workaroud for it. > [...] > check_command > check-host-macro!$SERVICESTATE:linuxbox1:check_ping$!$SERVICEDURATION:linuxbox1:check_ping$ > [...] > define command{ > command_name check-host-macro > command_line $USER1$/check_host_macro.sh $ARG1$ $ARG2$ > } > > The script check_host_macro.sh outputs "exit 2" only when service check_ping > is CRITICAL and its SERVICEDURATION is greater than 10 minutes. > > In this case HOSTS become red when check_ping notifications are already > sent. WOW! This very nice! I didn't know that trick. Thanks for learning me :) > I hope there's a shorter way to obtain the same... Do you know about event handlers? Maybe you can set host only for passive check and you can send from PING's service event handler pasive checks that host is alive/dead. This will reduce some delay due nagios check sheduling but I like your way more. Best regards -- ----------------------- Jan Tomasek aka Semik http://www.tomasek.cz/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: OpenPGP digital signature URL: From jan at tomasek.cz Fri Apr 14 09:47:55 2006 From: jan at tomasek.cz (Jan Tomasek) Date: Fri, 14 Apr 2006 09:47:55 +0200 Subject: DB support for nagios 2.2 Message-ID: <443F53AB.6000104@tomasek.cz> Hello, I need to have nagios status data available for nagios indenpendend processing in a SQL. I learned from docs that Event Broker API is suposed to be used for writing some shared library, is somewhere available such library? If not is someone working on this? Thanks -- ----------------------- Jan Tomasek aka Semik http://www.tomasek.cz/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From b00mer at gmx.net Fri Apr 14 09:52:27 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Fri, 14 Apr 2006 09:52:27 +0200 Subject: DB support for nagios 2.2 In-Reply-To: <443F53AB.6000104@tomasek.cz> References: <443F53AB.6000104@tomasek.cz> Message-ID: <443F54BB.9040508@gmx.net> Jan Tomasek schrieb: >Hello, > >I need to have nagios status data available for nagios indenpendend >processing in a SQL. I learned from docs that Event Broker API is >suposed to be used for writing some shared library, is somewhere >available such library? > >If not is someone working on this? > >Thanks > > Hello, try to google for "ndoutils". ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 carlopradissitto at virgilio.it Fri Apr 14 10:17:45 2006 From: carlopradissitto at virgilio.it (carlo) Date: Fri, 14 Apr 2006 10:17:45 +0200 Subject: check_http Message-ID: <1145002666.7632.4.camel@localhost.localdomain> hello What can I do for using check_http plugin? What the correct configuration is in the checkcommand.cfg and services.cfg files? I just tried many times ... Thanks to all Carlo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Fri Apr 14 10:25:36 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 14 Apr 2006 04:25:36 -0400 Subject: check_http Message-ID: Have you looked at the example config files? It's all there. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of carlo Sent: Friday, April 14, 2006 1:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http hello What can I do for using check_http plugin? What the correct configuration is in the checkcommand.cfg and services.cfg files? I just tried many times ... Thanks to all Carlo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 rick.vandermieden at orangemail.nl Fri Apr 14 12:46:57 2006 From: rick.vandermieden at orangemail.nl (Mieden, Rick van der) Date: Fri, 14 Apr 2006 12:46:57 +0200 Subject: Epn problems with perl plugin Message-ID: Hi All, I'm installing a new nagios server with 2.1 (upgrade 2.2 will follow soon) We've have a running nagios 2.0b3 server and I just copied over my homebrewed perl plugins to the new server. I noticed the embedded perl is a bit stricter in this 2.1 version, I compiled nagios with embedded-perl and some of my plugins were not using the use strict option, I adjusted all of them and they are working fine except one. To check some processes I've created a perl script which uses ssh to login gather the info I need and do some checkings: .... open (PS, "ssh -p 22 -o Protocol=2 $o_host -C \"ps -ef| /bin/grep $o_name | /bin/grep -v grep\" |") || die("ps -ef????"); ...... This works for all my processes in the datacenter, except one. there I need to check for the following proces: HLRTMD3 -t The -t has to be included and I covered this in the 2.0b3 version with "HLRTMD3\ -t" the backslash did the trick to deal with the -t part. In 2.1 I have the correct output on commandline, but in the Nagios Interface I get: (0 of HLRTMD3 -t processes running <= 0 : CRITICAL) Anybody an idea how to tackle this? Is there a way I can re-produce this on commandline and have some troubleshooting output. Anybody experience with this and a solution? Regards, Rick =========================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen in deze email of attachments te voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor computervirussen die veroorzaakt zijn door deze email. The information contained in this message may be confidential and is intended to be only for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. Although Orange has taken steps to ensure that this email and attachments are free from any virus, you do need to verify the possibility of their existence as Orange can take no responsibility for any computer virus which might be transferred by way of this email. =========================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagiosadmin at snef.fr Fri Apr 14 14:34:49 2006 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Fri, 14 Apr 2006 14:34:49 +0200 Subject: Nagiosgrapher rrd problem Message-ID: <002301c65fbf$d250c9e0$c26710ac@sneftech.local> Hi everybody, I am trying to use Nagiosgrapher-1.5 with Nagios 2.0. I successfully install nagiosgrapher but I didn't have any rrd files in /var/lib/nagios/rrd. Here is my ngraph.log 2006-04-14 14:31:01 PRG: Starting up collect2.pl (PID: 31286) ... 2006-04-14 14:31:02 PRG: using FIFO 2006-04-14 14:31:02 PIPE: created 2006-04-14 14:31:03 PIPE: 2006-04-14 14:31:33 PIPE: 2006-04-14 14:32:02 PIPE: 2006-04-14 14:32:27 PIPE: AS PING PING OK - Paquets perdus = 0%, RTA = 78.10 ms 2006-04-14 14:32:27 PIPE: Everest Service IIS All services are running 2006-04-14 14:32:30 PIPE: HotlineSRV Charge Processeur Charge CPU 2% (10 moyenne minimale) 2% (60 moyenne minimale) 3% (1440 moyenne minimale) 10 Charge moyenne minimale=2%;80;95;0;100 60 Charge moyenne minimale=2%;80;95;0;100 1440 Charge moyenne minimale=3%;80;95;0;100 2006-04-14 14:32:33 PIPE: Everest PING PING OK - Paquets perdus = 0%, RTA = 27.63 ms 2006-04-14 14:32:36 PIPE: HotlineSRV Check Port HTTPS 443 TCP OK - 0,524 second response time on port 443 time=0,524456s;0,000000;0,000000;0,000000;60,000000 2006-04-14 14:32:36 PIPE: 2006-04-14 14:32:47 PIPE: HotlineSRV Server Protect processus STOPP All processes are running 2006-04-14 14:32:48 PIPE: HotlineSRV Usage Disque D D:\ - total: 17,26 Gb - utilis: 7,46 Gb (43%) - libre 9,80 Gb (57%) D:\ Espace Utilis=7,46Gb;16,75;17,09;0.00;17,26 2006-04-14 14:32:49 PIPE: NS Charge CPU OK - load average: 2.59, 2.56, 1.89 2006-04-14 14:32:50 PIPE: NS Check HTTP HTTP OK HTTP/1.1 200 OK - 6084 bytes in 0.458 seconds time=0.458469s;;;0.000000 size=6084B;;;0 2006-04-14 14:32:53 PIPE: NS Check SSH TCP OK - 0,761 second response time on port 22 time=0,761169s;0,000000;0,000000;0,000000;60,000000 2006-04-14 14:32:54 PIPE: HotlineSRV PING PING OK - Paquets perdus = 0%, RTA = 503.05 ms 2006-04-14 14:33:01 PIPE: IMP_HOTRES PING PING OK - Paquets perdus = 0%, RTA = 361.66 ms 2006-04-14 14:33:02 PIPE: NS Espace Disque Space DISK OK [62282128 kB (58%) free on /dev/cciss/c0d0p5] 2006-04-14 14:33:02 PIPE: NS Processus ISFTPD OK - Le processus isftpd tourne 2006-04-14 14:33:03 PIPE: NS Users en cours USERS OK - 2 users currently logged in 2006-04-14 14:33:05 PIPE: NS PING PING OK - Paquets perdus = 0%, RTA = 146.04 ms 2006-04-14 14:33:08 PIPE: I never have a line with < RRD : create rrd file > or something. Someone have an idea on this please ?? I am quite lost ! Davy Gaussen -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lynne.G.Lawrence at uscg.mil Fri Apr 14 14:58:09 2006 From: Lynne.G.Lawrence at uscg.mil (Lawrence, Lynne) Date: Fri, 14 Apr 2006 08:58:09 -0400 Subject: Epn problems with perl plugin Message-ID: <815DEBA40BB0EF4AB429F834E0380C3850CC77@OSC-EXMB-M-001.main.ads.uscg.mil> lgl> my notes inline -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Mieden, Rick van der Sent: Fri 4/14/2006 6:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Epn problems with perl plugin Hi All, I'm installing a new nagios server with 2.1 (upgrade 2.2 will follow soon) We've have a running nagios 2.0b3 server and I just copied over my homebrewed perl plugins to the new server. I noticed the embedded perl is a bit stricter in this 2.1 version, I compiled nagios with embedded-perl and some of my plugins were not using the use strict option, I adjusted all of them and they are working fine except one. To check some processes I've created a perl script which uses ssh to login gather the info I need and do some checkings: .... open (PS, "ssh -p 22 -o Protocol=2 $o_host -C \"ps -ef| /bin/grep $o_name | /bin/grep -v grep\" |") || die("ps -ef????"); ...... lgl> maybe try: lgl> open (PS, qq;ssh -p 22 -o Protocol=2 $o_host -C 'ps -ef| /bin/grep "$o_name" | /bin/grep -v grep' |;) || die("ps -ef????"); This works for all my processes in the datacenter, except one. there I need to check for the following proces: HLRTMD3 -t The -t has to be included and I covered this in the 2.0b3 version with "HLRTMD3\ -t" the backslash did the trick to deal with the -t part. In 2.1 I have the correct output on commandline, but in the Nagios Interface I get: (0 of HLRTMD3 -t processes running <= 0 : CRITICAL) Anybody an idea how to tackle this? Is there a way I can re-produce this on commandline and have some troubleshooting output. Anybody experience with this and a solution? Regards, Rick =========================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen in deze email of attachments te voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor computervirussen die veroorzaakt zijn door deze email. The information contained in this message may be confidential and is intended to be only for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. Although Orange has taken steps to ensure that this email and attachments are free from any virus, you do need to verify the possibility of their existence as Orange can take no responsibility for any computer virus which might be transferred by way of this email. =========================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick.vandermieden at orangemail.nl Fri Apr 14 15:10:58 2006 From: rick.vandermieden at orangemail.nl (Mieden, Rick van der) Date: Fri, 14 Apr 2006 15:10:58 +0200 Subject: Epn problems with perl plugin Message-ID: I tried your suggestion, but it didn't work out. Any other sugestions are very welcome. Regards, Rick -----Original Message----- From: Lynne.G.Lawrence at uscg.mil [mailto:Lynne.G.Lawrence at uscg.mil] Sent: Friday, April 14, 2006 14:58 To: Mieden, Rick van der; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Epn problems with perl plugin lgl> my notes inline -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Mieden, Rick van der Sent: Fri 4/14/2006 6:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Epn problems with perl plugin Hi All, I'm installing a new nagios server with 2.1 (upgrade 2.2 will follow soon) We've have a running nagios 2.0b3 server and I just copied over my homebrewed perl plugins to the new server. I noticed the embedded perl is a bit stricter in this 2.1 version, I compiled nagios with embedded-perl and some of my plugins were not using the use strict option, I adjusted all of them and they are working fine except one. To check some processes I've created a perl script which uses ssh to login gather the info I need and do some checkings: .... open (PS, "ssh -p 22 -o Protocol=2 $o_host -C \"ps -ef| /bin/grep $o_name | /bin/grep -v grep\" |") || die("ps -ef????"); ...... lgl> maybe try: lgl> open (PS, qq;ssh -p 22 -o Protocol=2 $o_host -C 'ps -ef| /bin/grep "$o_name" | /bin/grep -v grep' |;) || die("ps -ef????"); This works for all my processes in the datacenter, except one. there I need to check for the following proces: HLRTMD3 -t The -t has to be included and I covered this in the 2.0b3 version with "HLRTMD3\ -t" the backslash did the trick to deal with the -t part. In 2.1 I have the correct output on commandline, but in the Nagios Interface I get: (0 of HLRTMD3 -t processes running <= 0 : CRITICAL) Anybody an idea how to tackle this? Is there a way I can re-produce this on commandline and have some troubleshooting output. Anybody experience with this and a solution? Regards, Rick =========================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen in deze email of attachments te voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor computervirussen die veroorzaakt zijn door deze email. The information contained in this message may be confidential and is intended to be only for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. Although Orange has taken steps to ensure that this email and attachments are free from any virus, you do need to verify the possibility of their existence as Orange can take no responsibility for any computer virus which might be transferred by way of this email. =========================================================== =========================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen in deze email of attachments te voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor computervirussen die veroorzaakt zijn door deze email. The information contained in this message may be confidential and is intended to be only for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. Although Orange has taken steps to ensure that this email and attachments are free from any virus, you do need to verify the possibility of their existence as Orange can take no responsibility for any computer virus which might be transferred by way of this email. =========================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From jan at tomasek.cz Fri Apr 14 15:22:32 2006 From: jan at tomasek.cz (Jan Tomasek) Date: Fri, 14 Apr 2006 15:22:32 +0200 Subject: DB support for nagios 2.2 In-Reply-To: <443F54BB.9040508@gmx.net> References: <443F53AB.6000104@tomasek.cz> <443F54BB.9040508@gmx.net> Message-ID: <443FA218.2080709@tomasek.cz> Hendrik Baecker wrote: >> I need to have nagios status data available for nagios indenpendend >> processing in a SQL. I learned from docs that Event Broker API is >> suposed to be used for writing some shared library, is somewhere >> available such library? > > try to google for "ndoutils". Thanks! That is very impresive. -- ----------------------- Jan Tomasek aka Semik http://www.tomasek.cz/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From kylet at panix.com Fri Apr 14 15:54:35 2006 From: kylet at panix.com (Kyle Tucker) Date: Fri, 14 Apr 2006 09:54:35 -0400 (EDT) Subject: Submitting active check results? Message-ID: <200604141354.k3EDsZg19187@panix1.panix.com> Hi, I'm missing something here. In the extinfo.cgi page, all my active service checks on my central server have a link to submit "passive" service checks, which actually allow me to change the state of service checks and I assume the external command for this is PROCESS_SERVICE_CHECK_RESULT, true? Why is there no corresponding active check command? Also, if I set the service to active_checks_enabled=1 and passive_checks_enabled=0, I don't have the ability to submit this result. So is an active service check also always a passive? -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 tgenessay at aliadis.fr Fri Apr 14 16:26:37 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Fri, 14 Apr 2006 16:26:37 +0200 Subject: Submitting active check results? In-Reply-To: <200604141354.k3EDsZg19187@panix1.panix.com> References: <200604141354.k3EDsZg19187@panix1.panix.com> Message-ID: <443FB11C.9050800@aliadis.fr> Kyle Tucker wrote: >Hi, > I'm missing something here. > Certainly :) >In the extinfo.cgi page, >all my active service checks on my central server have a link >to submit "passive" service checks, which actually allow me to >change the state of service checks and I assume the external >command for this is PROCESS_SERVICE_CHECK_RESULT, true? Why is >there no corresponding active check command? Also, if I set the >service to active_checks_enabled=1 and passive_checks_enabled=0, >I don't have the ability to submit this result. So is an active >service check also always a passive? > > An active check result is a the rseult of a checking action that was initiated by Nagios, a passive check result is one that was not. What Nagios actually handles in the passive checking model are only the *results* that are fed to the daemon through the external command file. It would be meaningless to sumbit an "active" check result to Nagios. This is why a service or host is not by nature "active" or "passive". It can be checked using one method, the other or both, according to the settings of the two config variables you mention. Regards -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Apr 14 16:58:50 2006 From: marc at ena.com (Marc Powell) Date: Fri, 14 Apr 2006 09:58:50 -0500 Subject: check_http Message-ID: As with any standard plugin, 'check_http --help' will provide information on the command line arguments that you can use. Here are a couple of examples -- Get the default page for a passed host and verify that I see '/html' - Service definition check_command verify_http!www.example.foo define command{ command_name verify_http command_line $USER1$/check_http -H $ARG1$ -I $HOSTADDRESS$ -s \/html } Get a variable page on a passed host and search for variable text - Service definition check_command check_http_url!www.example.foo!/coolpage.html!searchword $ARG1$ define command{ command_name check_http_url command_line $USER1$/check_http -H $ARG1$ -I $HOSTADDRESS$ -u $ARG2$ -wt 20 -ct 30 -to 35 -s $ARG3$ } Hth, -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Morris, Patrick > Sent: Friday, April 14, 2006 3:26 AM > To: carlo; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_http > > Have you looked at the example config files? It's all there. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of carlo > Sent: Friday, April 14, 2006 1:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http > > hello > What can I do for using check_http plugin? > What the correct configuration is in the checkcommand.cfg and > services.cfg files? > I just tried many times ... > Thanks to all > Carlo > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Fri Apr 14 17:11:27 2006 From: marc at ena.com (Marc Powell) Date: Fri, 14 Apr 2006 10:11:27 -0500 Subject: Submitting active check results? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kyle Tucker > Sent: Friday, April 14, 2006 8:55 AM > To: Nagios Mailing List > Subject: [Nagios-users] Submitting active check results? > > Hi, > I'm missing something here. In the extinfo.cgi page, > all my active service checks on my central server have a link > to submit "passive" service checks, which actually allow me to > change the state of service checks and I assume the external > command for this is PROCESS_SERVICE_CHECK_RESULT, true? Why is Yes. > there no corresponding active check command? Also, if I set the > service to active_checks_enabled=1 and passive_checks_enabled=0, > I don't have the ability to submit this result. So is an active > service check also always a passive? Active checks and passive checks are two different and independent ways of providing status information to nagios. An active check is one in which the host or service check_command is run by nagios itself. You can force an active check to happen by re-scheduling the next check of the service. A passive check is one in which the host or service state is determined by another program (submitting a passive result via the GUI, NSCA, a cron job or other external process). In this case, nagios isn't actively determining the state of the service itself but is simply taking the results of a PROCESS_SERVICE_CHECK_RESULT directive in the external command file at face value. Passive checks are most often utilized for a distributed monitoring configuration but can have other uses like SNMP trap handling, etc. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jhmartin at toger.us Fri Apr 14 17:27:01 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 14 Apr 2006 08:27:01 -0700 Subject: Submitting active check results? In-Reply-To: References: Message-ID: <20060414152701.GI10150@mal.toger.us> On Fri, Apr 14, 2006 at 10:11:27AM -0500, Marc Powell wrote: > An active check is one in which the host or service check_command is run > by nagios itself. You can force an active check to happen by > re-scheduling the next check of the service. > > A passive check is one in which the host or service state is determined > by another program (submitting a passive result via the GUI, NSCA, a > cron job or other external process). In this case, nagios isn't actively > determining the state of the service itself but is simply taking the > results of a PROCESS_SERVICE_CHECK_RESULT directive in the external > command file at face value. Passive checks are most often utilized for a > distributed monitoring configuration but can have other uses like SNMP > trap handling, etc. > I'd like to add that there is no penalty for submitting a passive check result for a service that performs active checks -- it'll be treated as if nagios performed the check itself. -JM -- Look out for #1. Don't step in #2 either. 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: From pedro at miami.edu Fri Apr 14 18:03:40 2006 From: pedro at miami.edu (Pedro Davila) Date: Fri, 14 Apr 2006 12:03:40 -0400 Subject: Lab Monitoring Plugin Message-ID: <443FC7DC.5070109@miami.edu> Is there any Nagios plugin that return the status of a Windows Lab PC, like if the PC is being used? I read about using netbios scan to check if a user is logged in, but what about auto login computers. I'm thinking such a plugin would need a client that perhaps closes a port if it has not seen any keyboard/mouse activity in "n" minutes. When Nagios checks port, it gets no responce, hence PC is available. Thanks for reading, Pedro ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 kylet at panix.com Fri Apr 14 18:30:09 2006 From: kylet at panix.com (Kyle Tucker) Date: Fri, 14 Apr 2006 12:30:09 -0400 (EDT) Subject: Submitting active check results? In-Reply-To: <20060414152701.GI10150@mal.toger.us> References: <20060414152701.GI10150@mal.toger.us> Message-ID: <200604141630.k3EGU9h08778@panix1.panix.com> > On Fri, Apr 14, 2006 at 10:11:27AM -0500, Marc Powell wrote: > > An active check is one in which the host or service check_command is run > > by nagios itself. You can force an active check to happen by > > re-scheduling the next check of the service. > > A passive check is one in which the host or service state is determined > > by another program (submitting a passive result via the GUI, NSCA, a > > cron job or other external process). In this case, nagios isn't actively > > determining the state of the service itself but is simply taking the > > results of a PROCESS_SERVICE_CHECK_RESULT directive in the external > > command file at face value. Passive checks are most often utilized for a > > distributed monitoring configuration but can have other uses like SNMP > > trap handling, etc. > I'd like to add that there is no penalty for submitting a > passive check result for a service that performs active checks > -- it'll be treated as if nagios performed the check itself. Thanks all for the clarifications. This begs one more question. There seems to be no option to log active checks. Why not? I'd think it would be useful at times to just see what Nagios is checking as it happens. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 phallstrom at gmail.com Fri Apr 14 18:34:17 2006 From: phallstrom at gmail.com (Philip Hallstrom) Date: Fri, 14 Apr 2006 09:34:17 -0700 Subject: Contacts that can "watch", but are never notified (not as simple as twiddling their contact definition) Message-ID: Hi - I've got nagios pretty much setup, but there's one thing I'm struggling with -- how to let a group of contacts see their servers, but only notify one of them (as they rotate on call..). I'm using authentication. I'm monitoring two separate (political) networks so I can't just open things up and let everyone see everything. One network has four admins: tim, justin, alex, and philip. All of us need to see everything in our network, but I only want to notify philip. Right now I just set notification_period=none for the others. But next week I want to change it. And I would rather not have to update the contacts everytime. What I really want to do is have two contactgroups: admins - would contain all of us, but wouldn't notify any of us regardless of our contact settings. oncall-admin - would contain just the one oncall admin and would notify them. I guess what I really want is the notification_* options to be available on contactgroups, but it doesn't seem they are. Any ideas on how to best accomplish this? One thought I had was to duplicate everyone's contact entries. Have one for just logging in and watching things with no notifications enabled. Then have another (say "notify-philip") that would get notified. Or perhaps I could use escalations to do this by adding the 'admins' contactgroup to an escalation that is never notified? If 'admins' was only part of an escalation would the nagios web interface let members of that contactgroup see hosts that were also part of that escalation? Thanks! -philip ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jhmartin at toger.us Fri Apr 14 18:41:15 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 14 Apr 2006 09:41:15 -0700 Subject: Submitting active check results? In-Reply-To: <200604141630.k3EGU9h08778@panix1.panix.com> References: <20060414152701.GI10150@mal.toger.us> <200604141630.k3EGU9h08778@panix1.panix.com> Message-ID: <20060414164115.GK10150@mal.toger.us> On Fri, Apr 14, 2006 at 12:30:09PM -0400, Kyle Tucker wrote: > Thanks all for the clarifications. This begs one more question. There > seems to be no option to log active checks. Why not? I'd think it would > be useful at times to just see what Nagios is checking as it happens. You can get this by turning on the OCSP to log to a file, which will get you both active and passive checks. Alternatively, turning on Stalking should do it too. -Jason Martin -- The future 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: From hvdkooij at vanderkooij.org Fri Apr 14 18:47:41 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 14 Apr 2006 18:47:41 +0200 (CEST) Subject: Nagiosgrapher rrd problem In-Reply-To: <002301c65fbf$d250c9e0$c26710ac@sneftech.local> References: <002301c65fbf$d250c9e0$c26710ac@sneftech.local> Message-ID: On Fri, 14 Apr 2006, Davy Gaussen wrote: > I am trying to use Nagiosgrapher-1.5 with Nagios 2.0. > > I successfully install nagiosgrapher but I didn't have any rrd files in > /var/lib/nagios/rrd. Which are only created after you setup service-type definitions and your first data is added to the named pipe. > I never have a line with < RRD : create rrd file > or something. > > Someone have an idea on this please ?? I am quite lost ! Show us the Nagiosgrapher definitions for your service-types. There are samples present but you must define them and match the names. In fact the whole thing is documented but it takes some reading to get the hang of it. For example. 1. My service definition: define service { use service-template host_name arwen service_description PING check_command check_ping!10,20%!20,40% contact_groups waakhond-net } 2. Suitable ngrapg.ncfg section: define ngraph{ service_name PING graph_log_regex loss = ([0-9]+) graph_value Loss graph_units % graph_legend Packet Lost rrd_plottype LINE2 rrd_color ff0000 page Packet Lost } # Ping RTA define ngraph{ service_name PING graph_log_regex rta = ([0-9]+\.+[0-9]*) ms graph_value RTA graph_units ms graph_legend Time to answer rrd_plottype AREA rrd_color 00A348 page RTA } 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 estair at ilm.com Fri Apr 14 18:49:36 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 14 Apr 2006 09:49:36 -0700 Subject: Contacts that can "watch", but are never notified (not as simple as twiddling their contact definition) In-Reply-To: References: Message-ID: <443FD2A0.3030906@ilm.com> I've historically used a mailinglist for this anyway... that way people subscribe/unsubscribe themselves when they go on/off call, and you can have as many people as appropriate on it. Not to mention it doesn't require modifying the nagios configs and re-loading. /eli Philip Hallstrom wrote: > Hi - > > I've got nagios pretty much setup, but there's one thing I'm > struggling with -- how to let a group of contacts see their servers, > but only notify one of them (as they rotate on call..). > > I'm using authentication. I'm monitoring two separate (political) > networks so I can't just open things up and let everyone see > everything. > > One network has four admins: tim, justin, alex, and philip. All of us > need to see everything in our network, but I only want to notify > philip. > > Right now I just set notification_period=none for the others. But > next week I want to change it. And I would rather not have to update > the contacts everytime. > > What I really want to do is have two contactgroups: > > admins - would contain all of us, but wouldn't notify any of us > regardless of our contact settings. > > oncall-admin - would contain just the one oncall admin and would notify them. > > I guess what I really want is the notification_* options to be > available on contactgroups, but it doesn't seem they are. > > Any ideas on how to best accomplish this? > > One thought I had was to duplicate everyone's contact entries. Have > one for just logging in and watching things with no notifications > enabled. Then have another (say "notify-philip") that would get > notified. > > Or perhaps I could use escalations to do this by adding the 'admins' > contactgroup to an escalation that is never notified? If 'admins' was > only part of an escalation would the nagios web interface let members > of that contactgroup see hosts that were also part of that escalation? > > Thanks! > > -philip > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Fri Apr 14 18:52:28 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 14 Apr 2006 18:52:28 +0200 (CEST) Subject: Contacts that can "watch", but are never notified (not as simple as twiddling their contact definition) In-Reply-To: References: Message-ID: On Fri, 14 Apr 2006, Philip Hallstrom wrote: > I've got nagios pretty much setup, but there's one thing I'm > struggling with -- how to let a group of contacts see their servers, > but only notify one of them (as they rotate on call..). Considere not using notifications directly but define your escalation path. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 mark at redbrick.dcu.ie Fri Apr 14 20:28:03 2006 From: mark at redbrick.dcu.ie (Mark Campbell) Date: Fri, 14 Apr 2006 18:28:03 +0000 Subject: Nagios Indicateding critical file system usage Message-ID: <20060414182803.GA20821@carbon.redbrick.dcu.ie> Hey Guys, I have a standard nrpe setup to check local disks, however at regular intervals I'm getting critical alerts. I'm pretty sure these are ocnnected to the /tmp file system which is a swap partition, however whenever there is a critical alert hte check_disks output doesn't indicate a problem: ***** Nagios ***** Notification Type: PROBLEM Service: File Systems State: CRITICAL Date/Time: Fri Apr 14 15:22:09 EDT 2006 Additional Info: DISK CRITICAL - free space: / 40284 MB (83%): /var 3352 MB (83%): /tmp 21853 MB (100%): Here is the excerpt from the nrpe config file command[check_disk]=/usr/local/nagios/libexec/check_disk -p / -p /var -p /tmp -p /boot -w 10% -c 5% And here is the output from df and some other system identification metrics bash-3.00# df -h; uname -a; swap -l Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s0 47G 7.6G 39G 17% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 21G 676K 21G 1% /etc/svc/volatile objfs 0K 0K 0K 0% /system/object /usr/lib/libc/libc_hwcap2.so.1 47G 7.6G 39G 17% /lib/libc.so.1 fd 0K 0K 0K 0% /dev/fd /dev/dsk/c1t0d0s3 3.9G 648M 3.3G 17% /var swap 21G 44K 21G 1% /tmp swap 21G 36K 21G 1% /var/run /dev/dsk/c1t0d0p0:boot 16M 1.4M 14M 9% /stubboot SunOS dc1sfapp09 5.10 Generic_Patch_118844-30 i86pc i386 i86pc swapfile dev swaplo blocks free /dev/dsk/c1t0d0s1 28,65 8 33559776 33559776 I hope I'm not missing anything that's going to make me look sheepish :) Thanks Mark -- Mark Campbell http://mark.redbrick.dcu.ie - "Trying is the first step towards Failure"- Homer J. Simpson ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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-to.dave at dave.to Fri Apr 14 20:36:36 2006 From: nagios-to.dave at dave.to (Dave E Martin) Date: Fri, 14 Apr 2006 12:36:36 -0600 Subject: Status map circular markup background bug Message-ID: <443FEBB4.3010600@dave.to> I have noticed the following bug and am not sure where to report it. We have a number of hosts with multiple parent links, and this seems to confuse the circular markup status map. It draws the green (or pink) background colors in BOTH places where the relevent nodes could be, even though the nodes are only drawn in one of the places. Also sometimes it seems to crowd things together a little too much (icons and text overlapping other icons and text), even when there is room for it to spread things out more. I suspect this may also be related; when there are two parent links, and as a result it could draw the icons in the 3rd outer circle in one position, or in the 7th outer circle in the other position, it seems to draw the icons in the 3rd outer circle, but using the spacing for the 7th outer circle, or vs versa. I couldn't find any other reports of these particular status map problems. I can provide an example image of the status map showing these problems if necessary and someone tells me where to put/email it. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 az at whoever.org Fri Apr 14 23:38:50 2006 From: az at whoever.org (Az) Date: Sat, 15 Apr 2006 07:38:50 +1000 Subject: Lab Monitoring Plugin In-Reply-To: <443FC7DC.5070109@miami.edu> References: <443FC7DC.5070109@miami.edu> Message-ID: <4440166A.9060404@whoever.org> Just thinking out loud... enable the screen saver... if its running, its likely that no-one is actively using that machine. There are a number of plugins that could be used to monitor the "screen saver" process already. Cheers. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 jailbait at gmail.com Fri Apr 14 20:22:55 2006 From: jailbait at gmail.com (JB Segal) Date: Fri, 14 Apr 2006 14:22:55 -0400 Subject: Tracking MySQL threads? In-Reply-To: <916aba350604110946l72a6f860teb69d62dbb7486ac@mail.gmail.com> References: <916aba350604110946l72a6f860teb69d62dbb7486ac@mail.gmail.com> Message-ID: <916aba350604141122n54415c0dn214153d0b7744dcf@mail.gmail.com> Thanks, David and Marc, for your comments. I have, in fact, hacked up an ugly little bash script to keep an eye on things, but I was hoping that someone with more coding style and talent than I have might have already worked up something. If anyone has, or wants to, I'm sure I'm not the only one who'd find it useful. :) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 pedro at miami.edu Sat Apr 15 01:41:53 2006 From: pedro at miami.edu (Pedro Davila) Date: Fri, 14 Apr 2006 19:41:53 -0400 Subject: Lab Monitoring Plugin In-Reply-To: <4440166A.9060404@whoever.org> References: <443FC7DC.5070109@miami.edu> <4440166A.9060404@whoever.org> Message-ID: <44403341.1040502@miami.edu> :) Thank you. Az wrote: > Just thinking out loud... enable the screen saver... if its running, > its likely that no-one is actively using that machine. There are a > number of plugins that could be used to monitor the "screen saver" > process already. > > Cheers. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ron at rongage.org Sat Apr 15 02:56:20 2006 From: ron at rongage.org (Ron Gage) Date: Fri, 14 Apr 2006 20:56:20 -0400 Subject: Scheduler issue - nagios 2.0 Message-ID: <20060414205620.dnmgod3d168sg88s@webmail.rongage.org> Greetings: I have a nagios implementation on Suse SLES 9.0, compiled 2.0 from source. I am seeing extremely high latency - in excess of 300 seconds on average with service checks. Host checks are running fairly high too - also over 300 seconds on average. Not exactly a large config either - 128 hosts, 235 services. Machine is a single P3-1000 with a gig of memory. Uptime shows cpu utilization at a respectable 0.02 load. /proc/meminfo shows over 700 meg free memory. Host checks are averaging 4.16 seconds execution time and service checks are averaging 2.42 seconds. I am using the "smart scheduler" with both the hosts and service checks. Any ideas why I am seeing such high latency rates? -- Ron Gage (LPIC1 MCP A+ Net+) Westland, Michigan ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Sat Apr 15 04:20:35 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 14 Apr 2006 22:20:35 -0400 Subject: For those using the altinity issue commands patch Message-ID: <302ce8b50604141920w6ba653fej2d1eaa92dc54dece@mail.gmail.com> Just an FYI to the list. The issue commands patch located here http://altinity.blogs.com/dotorg/2006/02/index.html which was written for nagios 2.0 also works just fine with nagios 2.2 For what it's worth, this patch is making my life loads easier and I'd like to thank the people behind it. I'm all for including it in the next 2.x release and making it a documented feature. -- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 raoufnezhad at gmail.com Sat Apr 15 08:08:27 2006 From: raoufnezhad at gmail.com (Marzieh Raoufnezhad) Date: Sat, 15 Apr 2006 10:38:27 +0430 Subject: send Notify by sms In-Reply-To: <3db1e2aa0604122235t52bff4b4ocfcbff5dcdd9858d@mail.gmail.com> References: <3db1e2aa0604122235t52bff4b4ocfcbff5dcdd9858d@mail.gmail.com> Message-ID: <3db1e2aa0604142308q33afe724ied354111cd7f150b@mail.gmail.com> Hi, I have used smstools for send notification in nagios by SMS. And I have defined related commands as: # 'notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTALIAS$:$SERVICEDESC$ is $SERVICESTATE$" | /usr/local/bin/sendsms $CONTACTPAGER$ } # notify-by-SMS command definition define command{ command_name host-notify-by-sms command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/local/bin/sendsms $CONTACTPAGER$ } Maybe I will be force that change /var/spool/sms directory permission. Becuase I don't receive any notifincation by sms from nagios. Now it is: drwxr-xr-x 10 root root 4096 Mar 12 13:15 sms Would you please help me? What is correct permission for /var/spool/sms directory? Best regards, Raoufnezhad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From az at whoever.org Sat Apr 15 10:04:24 2006 From: az at whoever.org (Az) Date: Sat, 15 Apr 2006 18:04:24 +1000 Subject: send Notify by sms In-Reply-To: <3db1e2aa0604142308q33afe724ied354111cd7f150b@mail.gmail.com> References: <3db1e2aa0604122235t52bff4b4ocfcbff5dcdd9858d@mail.gmail.com> <3db1e2aa0604142308q33afe724ied354111cd7f150b@mail.gmail.com> Message-ID: <4440A908.7030605@whoever.org> Resending the same question after a few days is poor form. Not everyone reads the list everyday, so you wont always get an answer straight away, if at all. Not to mention this doesnt appear to be a Nagios issue on the surface. You said it works from the command line... but as what user? Did you try command as the nagios user? Don't test it as root as you are less likely to spot any permission issues. The SMS spool directory needs to be writable by the user running sendsms. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 yghandour at bci.ps Sun Apr 16 10:45:15 2006 From: yghandour at bci.ps (Yazeed Ghandour) Date: Sun, 16 Apr 2006 10:45:15 +0200 Subject: Nagios proposal Message-ID: <562C2841875C6745B7CE1CA76C2F65AD046577@mail.bci.ps> Dear I do assume that most of u are expert in such software's (Nagios). Now I have strange demand. I am currently preparing for enterprise solution (connecting most of the country universities together through microwave links. My technical back ground concentrated on Microsoft solutions, and high technical switching/routing skills. I discovered through out my researches that Nagios in powerful product in the field of monitoring (services/ network nodes). Unfortunately, my UNIX technical skills are almost nothing. I need the best way to start with Nagios (technically). Can any body give me a hand? Note: I am already familiar with HP openview. One final thing, what about the costs, is it for free, what about the platform, is it for free. Sorry for these beginner question, but really I want to prepare complete technical proposal for the above mentioned proposal including the monitoring issues. Many thanks in advanced. Regards Yazeed Ghandour __________________ yghandour at bci.ps BCI Communication & Advanced Technology * P.O.Box: 3917.* Al-Ersal Tel: +970-2-2981108 * Fax: +970-2-2964167 * www.bci.ps -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Sun Apr 16 11:00:31 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 16 Apr 2006 11:00:31 +0200 (CEST) Subject: Nagios proposal In-Reply-To: <562C2841875C6745B7CE1CA76C2F65AD046577@mail.bci.ps> References: <562C2841875C6745B7CE1CA76C2F65AD046577@mail.bci.ps> Message-ID: On Sun, 16 Apr 2006, Yazeed Ghandour wrote: > I do assume that most of u are expert in such software's (Nagios). Given the questions posted here I sometimes have serious doubts ;-) (That's all questions in general. Not just yours.) I think the impact of people having to translate their thoughts to English adds to the confusion. While reasonable versed in English it is not my native language and I make the occasional error of interpreting it incorrectly. And Dutch and English are relative closely related languages. > Unfortunately, my UNIX technical skills are almost nothing. Then I advise you to hire someone who is more skillfull to help you setup that part. Make sure (s)he is familiar with the OS, setting up apache and the other requirements. > I need the best way to start with Nagios (technically). Can any body > give me a hand? Please read the manual (http://www.nagios.org/docs/) before you even begin to install. > Note: I am already familiar with HP openview. Which is unfortunatly not much of a help. I think you can hire someone to do a good setup for less then 25% of the costs of HPOV. But that is just my opinion on HPOV. > One final thing, what about the costs, is it for free, what about the > platform, is it for free. You mean hardware? I don't think so. If you mean the OS then you can pick whatever OS you like and is supported. I made the choice for XOS linux based on almost 10 experience with Red Hat but the big pricetag attached to RHEL (Red Hat Enterprise Linux) drove me away. Knowing the XOS company a bit also helped in this as I tested some other RHEL clones as well. But if you can get support on another supported Linux or Unix platform then most definitly go with whatever you can get local support for. Support in your native language is a big plus if you can get it. > Sorry for these beginner question, but really I want to prepare complete > technical proposal for the above mentioned proposal including the > monitoring issues. Please print the manual. Find a place where you feel comfortable and read it. It will be a real good investment of your time. Once you have read through the manual you still may have questions but by that time you can send off less generic questions and who ever answers your questions can be more specific. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 cedric.temple at linagora.com Sun Apr 16 11:24:29 2006 From: cedric.temple at linagora.com (=?iso-8859-1?q?C=E9dric_Temple?=) Date: Sun, 16 Apr 2006 11:24:29 +0200 Subject: Nagios Indicateding critical file system usage In-Reply-To: <20060414182803.GA20821@carbon.redbrick.dcu.ie> References: <20060414182803.GA20821@carbon.redbrick.dcu.ie> Message-ID: <200604161124.30013.cedric.temple@linagora.com> Hello, Le Vendredi 14 Avril 2006 20:28, Mark Campbell a ?crit?: [...] > command[check_disk]=/usr/local/nagios/libexec/check_disk -p / -p /var -p > /tmp -p /boot -w 10% -c 5% [...] > bash-3.00# df -h; uname -a; swap -l > Filesystem size used avail capacity Mounted on > /dev/dsk/c1t0d0s0 47G 7.6G 39G 17% / > /devices 0K 0K 0K 0% /devices > ctfs 0K 0K 0K 0% /system/contract > proc 0K 0K 0K 0% /proc > mnttab 0K 0K 0K 0% /etc/mnttab > swap 21G 676K 21G 1% /etc/svc/volatile > objfs 0K 0K 0K 0% /system/object > /usr/lib/libc/libc_hwcap2.so.1 > 47G 7.6G 39G 17% /lib/libc.so.1 > fd 0K 0K 0K 0% /dev/fd > /dev/dsk/c1t0d0s3 3.9G 648M 3.3G 17% /var > swap 21G 44K 21G 1% /tmp > swap 21G 36K 21G 1% /var/run > /dev/dsk/c1t0d0p0:boot > 16M 1.4M 14M 9% /stubboot > SunOS dc1sfapp09 5.10 Generic_Patch_118844-30 i86pc i386 i86pc > swapfile dev swaplo blocks free > /dev/dsk/c1t0d0s1 28,65 8 33559776 33559776 It seems that you not have a /boot mountpoint on this server. But in the nrpe.cfg, the /boot mounpoint is present. Try with this directive in nrpe.cfg: command[check_disk]=/usr/local/nagios/libexec/check_disk -p / -p /var -p /tmp -w 10% -c 5% Regards. -- C?dric Temple Administrateur Syst?mes et R?seaux Linagora SA http://www.linagora.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 cedric.temple at linagora.com Sun Apr 16 11:24:32 2006 From: cedric.temple at linagora.com (=?iso-8859-1?q?C=E9dric_Temple?=) Date: Sun, 16 Apr 2006 11:24:32 +0200 Subject: Scheduler issue - nagios 2.0 In-Reply-To: <20060414205620.dnmgod3d168sg88s@webmail.rongage.org> References: <20060414205620.dnmgod3d168sg88s@webmail.rongage.org> Message-ID: <200604161124.33171.cedric.temple@linagora.com> Hi, Le Samedi 15 Avril 2006 02:56, Ron Gage a ?crit?: > Greetings: > > I have a nagios implementation on Suse SLES 9.0, compiled 2.0 from source. > I am seeing extremely high latency - in excess of 300 seconds on average > with service checks. Host checks are running fairly high too - also over > 300 seconds on average. [...] > Any ideas why I am seeing such high latency rates? Try to change service_reaper_frequency value (in nagios.cfg) from 10 to 2. Regards. -- C?dric Temple Administrateur Syst?mes et R?seaux Linagora SA http://www.linagora.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 listsub at systame.com Sun Apr 16 17:56:18 2006 From: listsub at systame.com (Randall Perry) Date: Sun, 16 Apr 2006 11:56:18 -0400 Subject: Remote host check methods In-Reply-To: <30997e260603301638n7fade793rb1cfa7d792d97872@mail.gmail.com> References: <442A0146.6090805@systame.com> <442B3C52.6020600@systame.com> <3c9a5bae0603301623t57399f1arc167876a23f1cfc3@mail.gmail.com> <30997e260603301638n7fade793rb1cfa7d792d97872@mail.gmail.com> Message-ID: <44426922.9080804@systame.com> Thanks to everyone for their replies. I couldn't reply sooner because my posts were being refused by the list for some reason -- had to sign up with a different email address. stucky wrote: > I can only agree. I do all my checking with ssh and it works > wonderfully. Every monitored machine has a 'nagios' user that is used > to log on to it via an ssh key where only the nagios box has the > privkey to. In the pubkey I use the 'command' directive to force a > sanity check on every command that is passed via ssh. This command > compares what's in the SSH_ORIGINAL_COMMAND environment variable to a > list of allowed commands. If it passes it get executed, otherwise > nagios errors. It's a simple perl script I wrote. > So the authorized_keys file on all hosts for user 'nagios' looks like > that: > > from="{nagioshost}",command="/usr/local/nagios/home/acl_agent",no-port-forwarding,no-X11-forwarding,no-agent-forwarding > ssh-dss..key stuff > > This way the key can only be used from the nagios box for exactly the > commands that the plugins need to run. acl_agent is the perl script > and the acl's themselves are maintained via cfengine. > > On 3/30/06, *Bill Jacqmein* > wrote: > > Im a bigger fan of check by ssh for unix like OSes. > > On 3/29/06, Randall Perry < listsub at systame.com > > wrote: > > Got it running, but am having trouble with SSL, which I'll > detail in a > > separate post. > > > > > > > > Randall Perry wrote: > > > I'm new to Nagios. Got it configured and running on my > monitoring box. > > > Tried installing NRPE on a remote host running Mac OSX but > couldn't get > > > it to run as daemon or through xinetd. > > > > > > There seem to be several methods to check remote hosts > including SSH > > > plugins. > > > > > > Just wondering what other's method of choice is for this -- > especially > > > on OSXS. > > > > > > TIA > > > > > > > > > -- > > Randall Perry > > sysTame > > > > Xserve Web Hosting/Co-location/Leasing > > QuickTime Streaming > > Mac Consulting/Sales > > > > http://www.systame.com/ > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > > that extends applications into web and mobile media. Attend the > live webcast > > and join the prime developer group breaking into this new coding > territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&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 > > > > > -- > stucky -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 saetaes at gmail.com Sun Apr 16 21:07:46 2006 From: saetaes at gmail.com (Mike M) Date: Sun, 16 Apr 2006 15:07:46 -0400 Subject: Nagios proposal In-Reply-To: References: <562C2841875C6745B7CE1CA76C2F65AD046577@mail.bci.ps> Message-ID: <8552c3a30604161207i7925a916vcc53b8ec3c99bbf3@mail.gmail.com> > > Unfortunately, my UNIX technical skills are almost nothing. > > Then I advise you to hire someone who is more skillfull to help you setup > that part. Make sure (s)he is familiar with the OS, setting up apache and > the other requirements. I would agree with Hugo that managing and tuning the OS and its related parts are much more difficult than managing Nagios. I would recommend finding someone well-versed in *NIX to get the environment set up before you tackle Nagios. Also, you will need to be comfortable editing text files instead of a nice GUI like those Microsoft provides. > > I need the best way to start with Nagios (technically). Can any body > > give me a hand? > > Please read the manual (http://www.nagios.org/docs/) before you even begin > to install. Again, Hugo is correct. If you thoroughly read the manual and follow it step-by-step, then you will have a fully-functioning Nagios installation in a few hours. Take your time and document the steps you perform. The Nagios documention is excellent and should answer many of your questions. I do, however, think you are looking in the right place. The open source community is usually very good about answering questions, even those from beginners, so long as they are well-thought-out and not answered previously (i.e. within a mailing list archive, FAQ, or product documentation). Good luck, Mike ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Tony.Mencevski at interactivedata.com Mon Apr 17 15:30:18 2006 From: Tony.Mencevski at interactivedata.com (Tony.Mencevski at interactivedata.com) Date: Mon, 17 Apr 2006 23:30:18 +1000 Subject: checking url without "www" syntax Message-ID: We have actively checking many addresses but we are stuck on " http://hostname.interactivedata.com/controlmanager/" this do checking our server access to trendmicro control manager web interface.How do we get around not using www syntax in the URL? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Mon Apr 17 15:33:10 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 17 Apr 2006 15:33:10 +0200 (CEST) Subject: checking url without "www" syntax In-Reply-To: References: Message-ID: On Mon, 17 Apr 2006 Tony.Mencevski at interactivedata.com wrote: > We have actively checking many addresses but we are stuck on " > http://hostname.interactivedata.com/controlmanager/" this > do checking our server access to trendmicro control manager web > interface.How do we get around not using www syntax in the URL? Can you rephrase this question? However I look at it I simply can not understand this message. Or at least not without making heaps of assumptions and some guess works and then I only understand you want to known how to check a website which is not using www in the hostname. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Tony.Mencevski at interactivedata.com Mon Apr 17 15:39:32 2006 From: Tony.Mencevski at interactivedata.com (Tony.Mencevski at interactivedata.com) Date: Mon, 17 Apr 2006 23:39:32 +1000 Subject: Checking url without "www" syntax In-Reply-To: References: Message-ID: We have actively checking many addresses but we are stuck on " http://lisa.ap.ftid.com/controlmanager/" this do checking the server for access to trendmicro control manager web interface. How do we get around not using www syntax in the URL? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Mon Apr 17 15:48:18 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 17 Apr 2006 15:48:18 +0200 (CEST) Subject: Checking url without "www" syntax In-Reply-To: References: Message-ID: On Mon, 17 Apr 2006 Tony.Mencevski at interactivedata.com wrote: > We have actively checking many addresses but we are stuck on > " http://lisa.ap.ftid.com/controlmanager/" this do checking > the server for access to trendmicro control manager web interface. > > How do we get around not using www syntax in the URL? This is not much clearer! Why do you bother with "www" in the URL? What is your real problem? Use complete paragraphs to clearly describe your issue and do not use oneliner with unclear information. Please read http://www.catb.org/~esr/faqs/smart-questions.html#writewell There is no such thing as a "www syntax" to name one unclear issue. The URL it self is just fine. Try it with telnet to lisa.ap.ftid.com on port 80 and ask for it with the following lines: GET /controlmanager/ HTTP/1.0 Host: lisa.ap.ftid.com You need two times 'enter' (CR/LF) before you get a response as one might send additional headers this way. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Mon Apr 17 15:58:18 2006 From: marc at ena.com (Marc Powell) Date: Mon, 17 Apr 2006 08:58:18 -0500 Subject: checking url without "www" syntax Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of > Tony.Mencevski at interactivedata.com > Sent: Monday, April 17, 2006 8:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] checking url without "www" syntax > > > > > > We have actively checking many addresses but we are stuck on " > http://hostname.interactivedata.com/controlmanager/" this > do checking our server access to trendmicro control manager web > interface.How do we get around not using www syntax in the URL? There is no strict requirement on the format of the hostname. You want the -u and -H parameters to check_http probably. 'check_http --help'. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 tdelunel at free.fr Mon Apr 17 19:49:36 2006 From: tdelunel at free.fr (tdelunel) Date: Mon, 17 Apr 2006 19:49:36 +0200 Subject: execute a program with NRPE Message-ID: <4443D530.6040700@free.fr> Hi, I'm using a v2 of nagios and check_nrpe and nrpe_nt.exe 0.8. I have some troubles with starting an .exe on a remote windows 2000 Server. Here is my config: nrpe.cfg --------------- allowed_hosts=127.0.0.1, at IPnagios dont_blame_nrpe=1 debug=1 command[putty]=c:\nrpe\putty.exe --------------- Other parameters are set to default. On the Monitoring Computer i use the command: ./chek_nrpe -H @ipHost -c putty After 10 seconds i receive the following message: CHECK_NRPE: Socket timeout after 10 seconds In the nrpe_nt log file on the remote host: "Host is askng command 'putty' to be run" "Running command: c:\nrpe\putty.exe" "Command completed with return code 5" "Bad return code for [The check didn't respond within the timeout]" Putty is not started, but if I open the task manager, I can see that putty.exe is present. If I try to kill the process, i receive the message "Acces Denied". In parallele, i tried to start a windows service (W32Time i.e) remotely. So i copied the "sc.exe" file from a windows XP on my 2000 server, and i wrote my command into the nrpe.cfg: ------------- command[start_service]=c:\nrpe\sc.exe start "W32Time" command[stop_service]=c:\nrpe\sc.exe stop "W32Time" ------------- Then i sent the command: ./check_nrpe -H @ipHost -c stop_service ./check_nrpe -H @ipHost -c start_service The both commands work, it stops and restart my service correctly. I don't understand why my command for putty doesn't work... Did I forget something in the configuration ? Help please ...! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 sghosh at sghosh.org Mon Apr 17 19:58:20 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 17 Apr 2006 13:58:20 -0400 (EDT) Subject: execute a program with NRPE In-Reply-To: <4443D530.6040700@free.fr> References: <4443D530.6040700@free.fr> Message-ID: On Mon, 17 Apr 2006, tdelunel wrote: > Hi, > I'm using a v2 of nagios and check_nrpe and nrpe_nt.exe 0.8. > I have some troubles with starting an .exe on a remote windows 2000 Server. > Here is my config: > nrpe.cfg > --------------- > allowed_hosts=127.0.0.1, at IPnagios > dont_blame_nrpe=1 > debug=1 > command[putty]=c:\nrpe\putty.exe > --------------- > Other parameters are set to default. > > On the Monitoring Computer i use the command: > > ./chek_nrpe -H @ipHost -c putty > > After 10 seconds i receive the following message: > CHECK_NRPE: Socket timeout after 10 seconds > > In the nrpe_nt log file on the remote host: > "Host is askng command 'putty' to be run" > "Running command: c:\nrpe\putty.exe" > "Command completed with return code 5" > "Bad return code for [The check didn't respond within the timeout]" > > Putty is not started, but if I open the task manager, I can see that > putty.exe is present. > If I try to kill the process, i receive the message "Acces Denied". Putty needs access to the Desktop to open the window - is the NRPE user same as the desktop/console user? If you are trying to run another ssh session form the windows host, try plink (command line ssh) that is part of the putty package. > > In parallele, i tried to start a windows service (W32Time i.e) remotely. So i > copied the "sc.exe" file from a windows XP on my 2000 server, and i wrote my > command into the nrpe.cfg: > ------------- > command[start_service]=c:\nrpe\sc.exe start "W32Time" > command[stop_service]=c:\nrpe\sc.exe stop "W32Time" > ------------- > Then i sent the command: > ./check_nrpe -H @ipHost -c stop_service > ./check_nrpe -H @ipHost -c start_service > > The both commands work, it stops and restart my service correctly. > > I don't understand why my command for putty doesn't work... > Did I forget something in the configuration ? > Help please ...! > -- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 tiagocruz at forumgdh.net Mon Apr 17 20:13:52 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Mon, 17 Apr 2006 15:13:52 -0300 Subject: execute a program with NRPE In-Reply-To: <4443D530.6040700@free.fr> References: <4443D530.6040700@free.fr> Message-ID: <4443DAE0.1060901@forumgdh.net> tdelunel wrote: > Hi, > I'm using a v2 of nagios and check_nrpe and nrpe_nt.exe 0.8. One question: I'm upgrading my Nagios 1.x to 2.x now, and I wold like to know if the old nrpe daemon is able to talk with the new check_nrpe... I'm getting the message: Apr 17 15:04:58 dc1 nrpe[12468]: Could not read request from client, bailing out... Thanks! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 sghosh at sghosh.org Mon Apr 17 20:42:55 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 17 Apr 2006 14:42:55 -0400 (EDT) Subject: execute a program with NRPE In-Reply-To: <4443DAE0.1060901@forumgdh.net> References: <4443D530.6040700@free.fr> <4443DAE0.1060901@forumgdh.net> Message-ID: On Mon, 17 Apr 2006, Tiago Cruz wrote: > tdelunel wrote: >> Hi, >> I'm using a v2 of nagios and check_nrpe and nrpe_nt.exe 0.8. > > One question: > > I'm upgrading my Nagios 1.x to 2.x now, and I wold like to know if the old > nrpe daemon is able to talk with the new check_nrpe... > > I'm getting the message: > Apr 17 15:04:58 dc1 nrpe[12468]: Could not read request from client, bailing > out... > The plugins are independent of the Nagios version. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 tdelunel at free.fr Mon Apr 17 20:44:01 2006 From: tdelunel at free.fr (tdelunel) Date: Mon, 17 Apr 2006 20:44:01 +0200 Subject: execute a program with NRPE In-Reply-To: References: <4443D530.6040700@free.fr> Message-ID: <4443E1F1.5060403@free.fr> Thank you for your reply, The NRPE user I configured in the nrpe.cfg file is "nagios": nrpe_user=nagios nrpe_group=nagios Putty is on the windows 2000 server, and the session is opened by an "admin" user. What I want is to execute putty with this command: --------- putty.exe -ssh @IP -load "myprofile" -l "mylogin" -pw "mypassword" --------- How can I configure NRPE for having the same user name than my windows session ? What I have to do ? The windows user name is of that kind: "MySociety\admin" > Subhendu Ghosh wrote : > > Putty needs access to the Desktop to open the window - is the NRPE > user same as the desktop/console user? > > If you are trying to run another ssh session form the windows host, > try plink (command line ssh) that is part of the putty package. > tdelunel wrote >> Hi, >> I'm using a v2 of nagios and check_nrpe and nrpe_nt.exe 0.8. >> I have some troubles with starting an .exe on a remote windows 2000 >> Server. >> Here is my config: >> nrpe.cfg >> --------------- >> allowed_hosts=127.0.0.1, at IPnagios >> dont_blame_nrpe=1 >> debug=1 >> command[putty]=c:\nrpe\putty.exe >> --------------- >> Other parameters are set to default. >> >> On the Monitoring Computer i use the command: >> >> ./chek_nrpe -H @ipHost -c putty >> >> After 10 seconds i receive the following message: >> CHECK_NRPE: Socket timeout after 10 seconds >> >> In the nrpe_nt log file on the remote host: >> "Host is askng command 'putty' to be run" >> "Running command: c:\nrpe\putty.exe" >> "Command completed with return code 5" >> "Bad return code for [The check didn't respond within the timeout]" >> >> Putty is not started, but if I open the task manager, I can see that >> putty.exe is present. >> If I try to kill the process, i receive the message "Acces Denied". >> In parallele, i tried to start a windows service (W32Time i.e) >> remotely. So i copied the "sc.exe" file from a windows XP on my 2000 >> server, and i wrote my command into the nrpe.cfg: >> ------------- >> command[start_service]=c:\nrpe\sc.exe start "W32Time" >> command[stop_service]=c:\nrpe\sc.exe stop "W32Time" >> ------------- >> Then i sent the command: >> ./check_nrpe -H @ipHost -c stop_service >> ./check_nrpe -H @ipHost -c start_service >> >> The both commands work, it stops and restart my service correctly. >> >> I don't understand why my command for putty doesn't work... >> Did I forget something in the configuration ? >> Help please ...! >> > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 sghosh at sghosh.org Mon Apr 17 20:56:27 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 17 Apr 2006 14:56:27 -0400 (EDT) Subject: execute a program with NRPE In-Reply-To: <4443E1F1.5060403@free.fr> References: <4443D530.6040700@free.fr> <4443E1F1.5060403@free.fr> Message-ID: On Mon, 17 Apr 2006, tdelunel wrote: > Thank you for your reply, > > The NRPE user I configured in the nrpe.cfg file is "nagios": > nrpe_user=nagios > nrpe_group=nagios > > Putty is on the windows 2000 server, and the session is opened by an "admin" > user. > What I want is to execute putty with this command: > --------- > putty.exe -ssh @IP -load "myprofile" -l "mylogin" -pw "mypassword" > --------- > > How can I configure NRPE for having the same user name than my windows > session ? What I have to do ? > The windows user name is of that kind: "MySociety\admin" Why do you want NRPE to open the SSH window? Plink offer a much better batch ssh functionality. Also if the plugin does not exit within the default timeout - Nagios will get an unknown error code. > >> Subhendu Ghosh wrote : >> >> Putty needs access to the Desktop to open the window - is the NRPE user >> same as the desktop/console user? >> >> If you are trying to run another ssh session form the windows host, try >> plink (command line ssh) that is part of the putty package. >> > tdelunel wrote > >>> Hi, >>> I'm using a v2 of nagios and check_nrpe and nrpe_nt.exe 0.8. >>> I have some troubles with starting an .exe on a remote windows 2000 >>> Server. >>> Here is my config: >>> nrpe.cfg >>> --------------- >>> allowed_hosts=127.0.0.1, at IPnagios >>> dont_blame_nrpe=1 >>> debug=1 >>> command[putty]=c:\nrpe\putty.exe >>> --------------- >>> Other parameters are set to default. >>> >>> On the Monitoring Computer i use the command: >>> >>> ./chek_nrpe -H @ipHost -c putty >>> >>> After 10 seconds i receive the following message: >>> CHECK_NRPE: Socket timeout after 10 seconds >>> >>> In the nrpe_nt log file on the remote host: >>> "Host is askng command 'putty' to be run" >>> "Running command: c:\nrpe\putty.exe" >>> "Command completed with return code 5" >>> "Bad return code for [The check didn't respond within the timeout]" >>> >>> Putty is not started, but if I open the task manager, I can see that >>> putty.exe is present. >>> If I try to kill the process, i receive the message "Acces Denied". >>> In parallele, i tried to start a windows service (W32Time i.e) remotely. >>> So i copied the "sc.exe" file from a windows XP on my 2000 server, and i >>> wrote my command into the nrpe.cfg: >>> ------------- >>> command[start_service]=c:\nrpe\sc.exe start "W32Time" >>> command[stop_service]=c:\nrpe\sc.exe stop "W32Time" >>> ------------- >>> Then i sent the command: >>> ./check_nrpe -H @ipHost -c stop_service >>> ./check_nrpe -H @ipHost -c start_service >>> >>> The both commands work, it stops and restart my service correctly. >>> >>> I don't understand why my command for putty doesn't work... >>> Did I forget something in the configuration ? >>> Help please ...! >>> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 motionbox.com Mon Apr 17 21:05:43 2006 From: jim at motionbox.com (James Nachlin) Date: Mon, 17 Apr 2006 15:05:43 -0400 Subject: Checking time on remote host Message-ID: <4443E707.30605@motionbox.com> Hi, I'm trying to figure out a way to check that my clocks are realtively in synch, without running an extra service on port 37 on all of my machines. This rules out the check_time plugin. In order to write my own plugin, I would have to get check_nrpe to send out the current time to the remote nrpe daemon. Is there a way to do this, or a better way in general to check time? Thanks for any suggestions. -- Jim Nachlin Motionbox Systems Administrator ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 tiagocruz at forumgdh.net Mon Apr 17 21:09:55 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Mon, 17 Apr 2006 16:09:55 -0300 Subject: execute a program with NRPE In-Reply-To: References: <4443D530.6040700@free.fr> <4443DAE0.1060901@forumgdh.net> Message-ID: <4443E803.1020507@forumgdh.net> Hello list, Subhendu Ghosh wrote: >> I'm upgrading my Nagios 1.x to 2.x now, and I wold like to know if the >> old nrpe daemon is able to talk with the new check_nrpe... >> >> I'm getting the message: >> Apr 17 15:04:58 dc1 nrpe[12468]: Could not read request from client, >> bailing out... > The plugins are independent of the Nagios version. Ok... I'm using severs debian sarge with version 2 of Nagios and Red Hats 8.0 with version 1.0. The NRPE versions is different too (Red Hat with 1.8 and Debian with 2.5.1), and I tried with and without SSL, without success. The error is listed in FAQ, but is not my case: http://www.nagios.org/faqs/viewfaq.php?faq_id=275&expand=false&showdesc=false Somebody can help me? Thanks a lot! Brazilian Regards ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Apr 17 21:17:00 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 17 Apr 2006 12:17:00 -0700 Subject: Checking time on remote host In-Reply-To: <4443E707.30605@motionbox.com> References: <4443E707.30605@motionbox.com> Message-ID: <20060417191700.GI7819@hermes.americas.hpqcorp.net> How about using NRPE to execute the check_time plugin remotely against a known good time source? On Mon, 17 Apr 2006, James Nachlin wrote: > Hi, > > I'm trying to figure out a way to check that my clocks are realtively in > synch, without running an extra service on port 37 on all of my > machines. This rules out the check_time plugin. > > In order to write my own plugin, I would have to get check_nrpe to send > out the current time to the remote nrpe daemon. Is there a way to do > this, or a better way in general to check time? > > Thanks for any suggestions. > > -- > Jim Nachlin > Motionbox Systems Administrator > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Mon Apr 17 21:23:02 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 17 Apr 2006 21:23:02 +0200 (CEST) Subject: Checking time on remote host In-Reply-To: <4443E707.30605@motionbox.com> References: <4443E707.30605@motionbox.com> Message-ID: On Mon, 17 Apr 2006, James Nachlin wrote: > I'm trying to figure out a way to check that my clocks are realtively in > synch, without running an extra service on port 37 on all of my > machines. This rules out the check_time plugin. > > In order to write my own plugin, I would have to get check_nrpe to send > out the current time to the remote nrpe daemon. Is there a way to do > this, or a better way in general to check time? Is this about keeping nagios componentns in sync? Because I think any effort you need to take to keep them into sync is worth it. If it is about the hosts you are checking it depends on the hosts. Most linux machines have a way of telling if they use ntp and are in sync. The ntpq manual page will tell you all about it. As I know little about windows I can't help you there. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 sghosh at sghosh.org Mon Apr 17 21:23:20 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 17 Apr 2006 15:23:20 -0400 (EDT) Subject: execute a program with NRPE In-Reply-To: <4443E803.1020507@forumgdh.net> References: <4443D530.6040700@free.fr> <4443DAE0.1060901@forumgdh.net> <4443E803.1020507@forumgdh.net> Message-ID: On Mon, 17 Apr 2006, Tiago Cruz wrote: > Hello list, > > Subhendu Ghosh wrote: > >>> I'm upgrading my Nagios 1.x to 2.x now, and I wold like to know if the old >>> nrpe daemon is able to talk with the new check_nrpe... >>> >>> I'm getting the message: >>> Apr 17 15:04:58 dc1 nrpe[12468]: Could not read request from client, >>> bailing out... > >> The plugins are independent of the Nagios version. > > Ok... I'm using severs debian sarge with version 2 of Nagios and Red Hats 8.0 > with version 1.0. > > The NRPE versions is different too (Red Hat with 1.8 and Debian with 2.5.1), > and I tried with and without SSL, without success. > > The error is listed in FAQ, but is not my case: > http://www.nagios.org/faqs/viewfaq.php?faq_id=275&expand=false&showdesc=false > > Somebody can help me? > > Thanks a lot! > Brazilian Regards > more detailed info always helps. Try using the same version. There haven't been any protocol level chages, but there have been a number of SSL and TCP wrapper fixes for NRPE. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 motionbox.com Mon Apr 17 21:45:45 2006 From: jim at motionbox.com (James Nachlin) Date: Mon, 17 Apr 2006 15:45:45 -0400 Subject: Checking time on remote host In-Reply-To: References: <4443E707.30605@motionbox.com> Message-ID: <4443F069.5090305@motionbox.com> Hugo van der Kooij wrote: > On Mon, 17 Apr 2006, James Nachlin wrote: > >>I'm trying to figure out a way to check that my clocks are realtively in >>synch, without running an extra service on port 37 on all of my >>machines. This rules out the check_time plugin. >> >>In order to write my own plugin, I would have to get check_nrpe to send >>out the current time to the remote nrpe daemon. Is there a way to do >>this, or a better way in general to check time? > > Is this about keeping nagios componentns in sync? Because I think any > effort you need to take to keep them into sync is worth it. > Not precisely. It's just about being sure that the ntpds work properly. > If it is about the hosts you are checking it depends on the hosts. Most > linux machines have a way of telling if they use ntp and are in sync. The > ntpq manual page will tell you all about it. Yeah, but how to check this with nagios, without running an ntp server (which seems like overkill if only for this)? Writing the plugin would be easy if there were a way to transmit the results of `date +%s` via check_nrpe. Jim ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 jhmartin at toger.us Mon Apr 17 22:43:43 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 17 Apr 2006 13:43:43 -0700 Subject: Checking time on remote host In-Reply-To: <4443F069.5090305@motionbox.com> References: <4443E707.30605@motionbox.com> <4443F069.5090305@motionbox.com> Message-ID: <20060417204343.GT10150@mal.toger.us> On Mon, Apr 17, 2006 at 03:45:45PM -0400, James Nachlin wrote: > Writing the plugin would be easy if there were a way to transmit the > results of `date +%s` via check_nrpe. Have Nagios invoke the following script, passing in the appropriate arguments #!/bin/sh TIME=`perl -e 'print time()'`; check_nrpe -H $1 -c the_command -a $TIME $2 $3 #EOF On the remote end, compare the argument passed by check_nrpe to the current time and alarm if the time differs by more than $WARNTIME and $CRITTIME. Alternatively, run the 'daytime' xinetd server on the nagios host and have the script invoked on the client by check_nrpe call back to the nagios host and get the time. -Jason Martin > > Jim > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 -- When I tried to take an ego trip I got stopped at the border 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: From jwhardeman at gmail.com Tue Apr 18 03:13:31 2006 From: jwhardeman at gmail.com (Joseph Hardeman) Date: Mon, 17 Apr 2006 21:13:31 -0400 Subject: nsca failing due to looping Message-ID: Hello Everyone, Has anyone else been experiencing nsca failing? It has been running for a while with no problems, but is now starting to fail. I have it running in inetd with wait.600 so that it will be able to accept all the connections from our hosts. I had over 400 machines pushing to it at one time, but now due to reloads on the machines I have maybe 250 left pushing to it. I need to push my scripts back out, but until I get this issue figured out, I have to wait. Here is the error I am receiving: nsca/tcp server failing (looping), service terminated Running on Debian 2.6.15-8. I have set debug to 1 in the nsca.cfg but all I am getting is this error from inetd. Thanks Joseph -------------- next part -------------- An HTML attachment was scrubbed... URL: From chantal at antenna.nl Tue Apr 18 08:07:18 2006 From: chantal at antenna.nl (Chantal Rosmuller) Date: Tue, 18 Apr 2006 08:07:18 +0200 Subject: mysql user in resources.cfg Message-ID: <200604180807.20321.chantal@antenna.nl> Hi everyone, I have a question, I want to monitor mysql service on a remote machine, so I created a mysql user that is allowed to log in from the nagios server when I add the following to checkcommands.cfg # 'check_mysql' command definition define command{ command_name check_mysql command_line $USER1$/check_mysql -H $HOSTADDRESS$ -u username -p password } It works but when I want to add username and password to resources.cfg like this: $MYSQLUSER$=username $MYSQLPASSWORD$=password and add this to checkcommands.cfg: # 'check_mysql' command definition define command{ command_name check_mysql command_line $USER1$/check_mysql -H $HOSTADDRESS$ -u $MYSQLUSER$ -p $MYSQLPASSWORD$ } it doesn't work, in fact I get the following message user "$"@server is not allowed to log in Can anyone point me in the right direction? Regards, Chantal ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Tue Apr 18 08:35:37 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 18 Apr 2006 02:35:37 -0400 Subject: mysql user in resources.cfg Message-ID: Look at the $USERn$ macros. For example, $USER2$ and $USER4$ instead of $MYSQLUSER$ and $MYSQLPASSWORD$. -----Original Message----- [snip] It works but when I want to add username and password to resources.cfg like this: $MYSQLUSER$=username $MYSQLPASSWORD$=password [snip] it doesn't work, in fact I get the following message user "$"@server is not allowed to log in ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 chantal at antenna.nl Tue Apr 18 08:46:18 2006 From: chantal at antenna.nl (Chantal Rosmuller) Date: Tue, 18 Apr 2006 08:46:18 +0200 Subject: mysql user in resources.cfg In-Reply-To: References: Message-ID: <200604180846.20903.chantal@antenna.nl> Thanks Patrick, of course that must be it. regards On Tuesday 18 April 2006 08:35, Morris, Patrick wrote: > Look at the $USERn$ macros. For example, $USER2$ and $USER4$ instead of > $MYSQLUSER$ and $MYSQLPASSWORD$. > > -----Original Message----- > > [snip] > > It works but when I want to add username and password to resources.cfg > like > this: > > $MYSQLUSER$=username > $MYSQLPASSWORD$=password > > [snip] > > it doesn't work, in fact I get the following message > > user "$"@server is not allowed to log in ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 ingo.lantschner at edvg.at Tue Apr 18 10:32:38 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Tue, 18 Apr 2006 10:32:38 +0200 Subject: Small Doc-Error about "sticky bits" Message-ID: IMHO the file http://nagios.sourceforge.net/docs/2_0/commandfile.html talks about "sticky bits" but it should call them SGID-bit. drwxrws--- is SGID and has the desired efect of setting the Groups Ownership on newly created files. drwxrwxrwt is the sticky-bit and allows only the owner of a file to modify it. The examples given in this FAQ are correct and like the whole nagios documentaion its brilliant - thanks by the way, to the ones who wrote it! HTH Ingo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandeep-n-murthy at telecom.pt Tue Apr 18 10:49:56 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Tue, 18 Apr 2006 09:49:56 +0100 Subject: Nagios GUI Message-ID: Hi, We have number of servers which are being monitored using Nagios (Version 2.0b3). Is there any way to separate/ categorize the servers according to their platform - Production, Tests, Development etc.. ? On clicking the Service Detail on the left hand Menu, all servers show up as a list. Is it possible to filter them accd to their respective platforms ? Thanks, sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 cedric.temple at linagora.com Tue Apr 18 10:56:51 2006 From: cedric.temple at linagora.com (=?iso-8859-1?Q?C=E9dric_Temple?=) Date: Tue, 18 Apr 2006 10:56:51 +0200 (CEST) Subject: Nagios GUI In-Reply-To: References: Message-ID: <49598.192.168.1.254.1145350611.squirrel@tomate.linagora.lan> On Mar 18 avril 2006 10:49, Sandeep Narasimha Murthy wrote: > Hi, Hi, > We have number of servers which are being monitored using Nagios > (Version 2.0b3). Is there any way to separate/ categorize the servers > according to their platform - Production, Tests, Development etc.. ? Usuallu, i prefix name of servers by platform name and type : Production_Www_Linux1 Production_Db_Linux2 Tests_Www_Linux1 Tests_FileShare_Linux2 ... Regards. -- C?dric Temple - Linagora http://www.linagora.com 30, rue Saint Augustin 75002 Paris Cedex ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 tdelunel at free.fr Tue Apr 18 10:58:28 2006 From: tdelunel at free.fr (tdelunel at free.fr) Date: Tue, 18 Apr 2006 10:58:28 +0200 Subject: execute a program with NRPE In-Reply-To: References: <4443D530.6040700@free.fr> <4443E1F1.5060403@free.fr> Message-ID: <1145350708.4444aa341cf9d@imp2-g19.free.fr> Hi, I tried to open my ssh session with plink.exe In my nrpe.cfg file I wrote: ----------- command[plink]=c:\nrpe\plink.exe -load "myprofile" -l "mylogin" -pw "mypassword" ----------- If I try this command on the windows server, it works. But if I try with the check_nrpe command it doesn't. In the nrpe_nt logfile, the error returned is: "command completed with return code 1" If I understand well, check_nrpe is waiting for a return code that plink doesn't give (?). How can I solve this problem ? WBS Subhendu Ghosh wrote: > On Mon, 17 Apr 2006, tdelunel wrote: > > > Thank you for your reply, > > > > The NRPE user I configured in the nrpe.cfg file is "nagios": > > nrpe_user=nagios > > nrpe_group=nagios > > > > Putty is on the windows 2000 server, and the session is opened by an > "admin" > > user. > > What I want is to execute putty with this command: > > --------- > > putty.exe -ssh @IP -load "myprofile" -l "mylogin" -pw "mypassword" > > --------- > > > > How can I configure NRPE for having the same user name than my windows > > session ? What I have to do ? > > The windows user name is of that kind: "MySociety\admin" > > > Why do you want NRPE to open the SSH window? > > Plink offer a much better batch ssh functionality. > > Also if the plugin does not exit within the default timeout - Nagios will > get an unknown error code. > > > > >> Subhendu Ghosh wrote : > >> > >> Putty needs access to the Desktop to open the window - is the NRPE user > >> same as the desktop/console user? > >> > >> If you are trying to run another ssh session form the windows host, try > >> plink (command line ssh) that is part of the putty package. > >> > > tdelunel wrote > > > >>> Hi, > >>> I'm using a v2 of nagios and check_nrpe and nrpe_nt.exe 0.8. > >>> I have some troubles with starting an .exe on a remote windows 2000 > >>> Server. > >>> Here is my config: > >>> nrpe.cfg > >>> --------------- > >>> allowed_hosts=127.0.0.1, at IPnagios > >>> dont_blame_nrpe=1 > >>> debug=1 > >>> command[putty]=c:\nrpe\putty.exe > >>> --------------- > >>> Other parameters are set to default. > >>> > >>> On the Monitoring Computer i use the command: > >>> > >>> ./chek_nrpe -H @ipHost -c putty > >>> > >>> After 10 seconds i receive the following message: > >>> CHECK_NRPE: Socket timeout after 10 seconds > >>> > >>> In the nrpe_nt log file on the remote host: > >>> "Host is askng command 'putty' to be run" > >>> "Running command: c:\nrpe\putty.exe" > >>> "Command completed with return code 5" > >>> "Bad return code for [The check didn't respond within the timeout]" > >>> > >>> Putty is not started, but if I open the task manager, I can see that > >>> putty.exe is present. > >>> If I try to kill the process, i receive the message "Acces Denied". > >>> In parallele, i tried to start a windows service (W32Time i.e) remotely. > >>> So i copied the "sc.exe" file from a windows XP on my 2000 server, and i > >>> wrote my command into the nrpe.cfg: > >>> ------------- > >>> command[start_service]=c:\nrpe\sc.exe start "W32Time" > >>> command[stop_service]=c:\nrpe\sc.exe stop "W32Time" > >>> ------------- > >>> Then i sent the command: > >>> ./check_nrpe -H @ipHost -c stop_service > >>> ./check_nrpe -H @ipHost -c start_service > >>> > >>> The both commands work, it stops and restart my service correctly. > >>> > >>> I don't understand why my command for putty doesn't work... > >>> Did I forget something in the configuration ? > >>> Help please ...! > >>> > >> > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 nagiosadmin at snef.fr Tue Apr 18 11:07:52 2006 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Tue, 18 Apr 2006 11:07:52 +0200 Subject: Nagiosgrapher rrd problem In-Reply-To: References: Message-ID: <001b01c662c7$92b8db00$c26710ac@sneftech.local> Here is my service definition for PING services : define service { name PING-SW-template check_command check_ping!500.0,50%!600.0,60% max_check_attempts 3 normal_check_interval 5 retry_check_interval 5 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 event_handler_enabled 1 process_perf_data 1 notification_period 24x7 notifications_enabled 1 register 0 notification_options w,u,c,r contact_groups Switchs-admins } define service { use PING-SW-template service_description PING check_command check_ping!2500.0,50%!6000.0,60% max_check_attempts 3 normal_check_interval 5 retry_check_interval 5 notification_interval 0 host_name serveur_bureautique contact_groups Switchs-admins } In ngraph.ncfg I have these lines : define ngraph{ service_name PING graph_log_regex perdus = ([0-9]+) graph_value Loss graph_units % graph_legend Packet Lost rrd_plottype LINE2 rrd_color ff0000 page Packet Lost } # Ping RTA define ngraph{ service_name PING graph_log_regex RTA = ([0-9]+\.+[0-9]*) ms graph_value RTA graph_units ms graph_legend Time to answer rrd_plottype AREA rrd_color 00A348 page RTA } And in ngraph.log I have : 2006-04-18 11:04:07 PIPE: SW-2 PING PING OK - Paquets perdus = 0%, RTA = 70.98 ms 2006-04-18 11:04:08 PIPE: SW-5 PING PING OK - Paquets perdus = 0%, RTA = 70.12 ms 2006-04-18 11:04:08 PIPE: Sacha Port 8081 TCP OK - 0,050 second response time on port 8081 time=0,049855s;0,000000;0,000000;0,000000;60,000000 2006-04-18 11:04:08 PIPE: SW-8 PING PING OK - Paquets perdus = 0%, RTA = 25.19 ms I still do not have any rrd files in /var/lib/nagios/rrd ..... I do not have either any RRD: log entries in ngraph.log, I don't understand why ?? Do you have an idea to help me please ? -----Message d'origine----- De?: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Hugo van der Kooij Envoy??: vendredi 14 avril 2006 18:48 ??: nagios-users Objet?: Re: [Nagios-users] Nagiosgrapher rrd problem On Fri, 14 Apr 2006, Davy Gaussen wrote: > I am trying to use Nagiosgrapher-1.5 with Nagios 2.0. > > I successfully install nagiosgrapher but I didn't have any rrd files in > /var/lib/nagios/rrd. Which are only created after you setup service-type definitions and your first data is added to the named pipe. > I never have a line with < RRD : create rrd file > or something. > > Someone have an idea on this please ?? I am quite lost ! Show us the Nagiosgrapher definitions for your service-types. There are samples present but you must define them and match the names. In fact the whole thing is documented but it takes some reading to get the hang of it. For example. 1. My service definition: define service { use service-template host_name arwen service_description PING check_command check_ping!10,20%!20,40% contact_groups waakhond-net } 2. Suitable ngrapg.ncfg section: define ngraph{ service_name PING graph_log_regex loss = ([0-9]+) graph_value Loss graph_units % graph_legend Packet Lost rrd_plottype LINE2 rrd_color ff0000 page Packet Lost } # Ping RTA define ngraph{ service_name PING graph_log_regex rta = ([0-9]+\.+[0-9]*) ms graph_value RTA graph_units ms graph_legend Time to answer rrd_plottype AREA rrd_color 00A348 page RTA } 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 werner.flamme at ufz.de Tue Apr 18 11:10:02 2006 From: werner.flamme at ufz.de (Werner Flamme) Date: Tue, 18 Apr 2006 11:10:02 +0200 Subject: Nagios GUI In-Reply-To: References: Message-ID: <4444ACEA.5080707@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sandeep Narasimha Murthy schrieb am 18.04.2006 10:49: > Hi, > > We have number of servers which are being monitored using Nagios > (Version 2.0b3). Is there any way to separate/ categorize the servers > according to their platform - Production, Tests, Development etc.. ? > > On clicking the Service Detail on the left hand Menu, all servers show > up as a list. Is it possible to filter them accd to their respective > platforms ? > > Thanks, > > sg Hi sg, you may define some "pseudo hosts" with IP 127.0.0.1 and call them "production", "devel" and so on to meet your needs. Then you enter these pseudo hosts as parent in the host definition. After a restart of nagios you will see them in the status map in fine order ;-) When you want some ordering in e. g. "Status Overview", you should consider to read the manual where "hostgroups" are handled ;-) HTH, Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFERKzpk33Krq8b42MRAnxPAJ96hWIQCdCSPxx4n4Q5OZ6uuL06kwCfamO3 z2Hu8BEi12sQzSTF/nGxsp8= =MQfs -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 pascal.miquet at wanadoo.fr Tue Apr 18 11:10:27 2006 From: pascal.miquet at wanadoo.fr (Pascal MIQUET) Date: Tue, 18 Apr 2006 11:10:27 +0200 Subject: Nagios GUI References: Message-ID: <002801c662c7$ef409980$0200a8c0@hafiba.local> You can create some groups of hosts and groups of services. HTH Regards Pascal ----- Original Message ----- From: "Sandeep Narasimha Murthy" To: Sent: Tuesday, April 18, 2006 10:49 AM Subject: [Nagios-users] Nagios GUI Hi, We have number of servers which are being monitored using Nagios (Version 2.0b3). Is there any way to separate/ categorize the servers according to their platform - Production, Tests, Development etc.. ? On clicking the Service Detail on the left hand Menu, all servers show up as a list. Is it possible to filter them accd to their respective platforms ? Thanks, sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 me-lists at eichler-fleschuetz.de Tue Apr 18 13:09:49 2006 From: me-lists at eichler-fleschuetz.de (Matthias Eichler) Date: Tue, 18 Apr 2006 13:09:49 +0200 Subject: API's . In-Reply-To: References: Message-ID: <4444C8FD.1040508@eichler-fleschuetz.de> We made it KISS (keep it stupid & simple): Our framework here uses the external command interface of nagios. (I think its a pipe...usually under ~nagios/var/rw/nagios.cmd). Find a description under: http://nagios.org/developerinfo/externalcommands/commandlist.php Matthias rash schrieb: > Hi , I am in the process of writing a nagios connector to integrate with > our exisiting framework. Could you please send me the link for different > programmatic interface that Nagios has and where I could download it. > > Thanks in advance. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 shoktai at gmail.com Tue Apr 18 13:18:38 2006 From: shoktai at gmail.com (ThomasC.) Date: Tue, 18 Apr 2006 13:18:38 +0200 Subject: Recompiling plugins Message-ID: <4444CB0E.4040805@gmail.com> Hi, I made a change in the source code of the check_snmp plugin. I would like now to recompile it. When i run gcc -o check_snmp check_snmp.c i get a lot of errors. I know this is a question about compiling but can you help me please to learn how to recompile transformed code in Nagios plugs. Thanks a lot. The errors are : In file included from check_snmp.c:26: common.h:35:20: error: config.h: No such file or directory In file included from check_snmp.c:26: common.h:146: error: syntax error before 'va_list' common.h:187:21: error: gettext.h: No such file or directory In file included from check_snmp.c:27: utils.h:30: error: syntax error before 'timeout_alarm_handler' utils.h:30: warning: data definition has no type or storage class utils.h:53: error: redefinition of 'struct timeval' utils.h:60: warning: 'struct timezone' declared inside parameter list utils.h:60: warning: its scope is only this definition or declaration, which is probably not what you want In file included from check_snmp.c:28: popen.h:9: error: syntax error before 'popen_timeout_alarm_handler' popen.h:9: warning: data definition has no type or storage class check_snmp.c: In function 'main': check_snmp.c:145: error: 'LC_ALL' undeclared (first use in this function) check_snmp.c:145: error: (Each undeclared identifier is reported only once check_snmp.c:145: error: for each function it appears in.) check_snmp.c:146: error: 'PACKAGE' undeclared (first use in this function) check_snmp.c:146: error: 'LOCALEDIR' undeclared (first use in this function) check_snmp.c:155: warning: incompatible implicit declaration of built-in function 'strdup' check_snmp.c:168: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c:173: error: 'PATH_TO_SNMPGETNEXT' undeclared (first use in this function) check_snmp.c:178: error: 'PATH_TO_SNMPGET' undeclared (first use in this function) check_snmp.c:206: warning: incompatible implicit declaration of built-in function 'strcat' check_snmp.c:206: error: 'perfstr' undeclared (first use in this function) check_snmp.c:210: warning: incompatible implicit declaration of built-in function 'strstr' check_snmp.c:211: warning: incompatible implicit declaration of built-in function 'strncat' check_snmp.c:217: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c:218: warning: incompatible implicit declaration of built-in function 'strspn' check_snmp.c:225: warning: incompatible implicit declaration of built-in function 'strpbrk' check_snmp.c:230: warning: incompatible implicit declaration of built-in function 'strpbrk' check_snmp.c:251: warning: incompatible implicit declaration of built-in function 'strcpy' check_snmp.c:276: warning: incompatible implicit declaration of built-in function 'strpbrk' check_snmp.c: In function 'process_arguments': check_snmp.c:416: warning: incompatible implicit declaration of built-in function 'strcpy' check_snmp.c:432: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c:486: warning: incompatible implicit declaration of built-in function 'strspn' check_snmp.c:486: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c:493: warning: incompatible implicit declaration of built-in function 'index' check_snmp.c:504: warning: incompatible implicit declaration of built-in function 'index' check_snmp.c:524: warning: incompatible implicit declaration of built-in function 'index' check_snmp.c:539: warning: incompatible implicit declaration of built-in function 'strncpy' check_snmp.c:586: warning: incompatible implicit declaration of built-in function 'strstr' check_snmp.c:640: warning: incompatible implicit declaration of built-in function 'strdup' check_snmp.c: In function 'validate_arguments': check_snmp.c:674: warning: incompatible implicit declaration of built-in function 'strdup' check_snmp.c:707: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c:715: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c:724: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c: In function 'clarify_message': check_snmp.c:739: warning: incompatible implicit declaration of built-in function 'strcpy' check_snmp.c:741: warning: assignment makes pointer from integer without a cast check_snmp.c:742: warning: assignment makes pointer from integer without a cast check_snmp.c: In function 'lu_getll': check_snmp.c:817: warning: incompatible implicit declaration of built-in function 'strchr' check_snmp.c: In function 'thisarg': check_snmp.c:849: warning: incompatible implicit declaration of built-in function 'strspn' check_snmp.c:850: warning: incompatible implicit declaration of built-in function 'strstr' check_snmp.c:851: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c:852: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c: In function 'nextarg': check_snmp.c:866: warning: incompatible implicit declaration of built-in function 'strstr' check_snmp.c:868: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c:878: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c:885: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c: In function 'print_help': check_snmp.c:901: warning: incompatible implicit declaration of built-in function 'gettext' ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 CKH99 at bbh.hosp.dk Tue Apr 18 13:22:29 2006 From: CKH99 at bbh.hosp.dk (Christian Kammer Have) Date: Tue, 18 Apr 2006 13:22:29 +0200 Subject: Vedr.: Recompiling plugins In-Reply-To: <4444CB0E.4040805@gmail.com> References: <4444CB0E.4040805@gmail.com> Message-ID: The error indicates that you need to have some more files present before starting to compile. Download the entire plugins tar from the website, extract, copy your changed sourcefile and issue the make command. Med venlig hilsen Ekstern konsulent Christian Kammer Have Bispebjerg Hospital MIT (Mediko, Informatik & Tele) Bispebjerg Bakke 23 2400 K?benhavn NV mobil: 2044 0125 E-mail: ckh99 at bbh.hosp.dk "ThomasC." Sendt af: nagios-users-admin at lists.sourceforge.net 18-04-2006 13:18 Besvar venligst til shoktai-nospam Til: nagios-users at lists.sourceforge.net cc: Vedr.: [Nagios-users] Recompiling plugins Hi, I made a change in the source code of the check_snmp plugin. I would like now to recompile it. When i run gcc -o check_snmp check_snmp.c i get a lot of errors. I know this is a question about compiling but can you help me please to learn how to recompile transformed code in Nagios plugs. Thanks a lot. The errors are : In file included from check_snmp.c:26: common.h:35:20: error: config.h: No such file or directory In file included from check_snmp.c:26: common.h:146: error: syntax error before 'va_list' common.h:187:21: error: gettext.h: No such file or directory In file included from check_snmp.c:27: utils.h:30: error: syntax error before 'timeout_alarm_handler' utils.h:30: warning: data definition has no type or storage class utils.h:53: error: redefinition of 'struct timeval' utils.h:60: warning: 'struct timezone' declared inside parameter list utils.h:60: warning: its scope is only this definition or declaration, which is probably not what you want In file included from check_snmp.c:28: popen.h:9: error: syntax error before 'popen_timeout_alarm_handler' popen.h:9: warning: data definition has no type or storage class check_snmp.c: In function 'main': check_snmp.c:145: error: 'LC_ALL' undeclared (first use in this function) check_snmp.c:145: error: (Each undeclared identifier is reported only once check_snmp.c:145: error: for each function it appears in.) check_snmp.c:146: error: 'PACKAGE' undeclared (first use in this function) check_snmp.c:146: error: 'LOCALEDIR' undeclared (first use in this function) check_snmp.c:155: warning: incompatible implicit declaration of built-in function 'strdup' check_snmp.c:168: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c:173: error: 'PATH_TO_SNMPGETNEXT' undeclared (first use in this function) check_snmp.c:178: error: 'PATH_TO_SNMPGET' undeclared (first use in this function) check_snmp.c:206: warning: incompatible implicit declaration of built-in function 'strcat' check_snmp.c:206: error: 'perfstr' undeclared (first use in this function) check_snmp.c:210: warning: incompatible implicit declaration of built-in function 'strstr' check_snmp.c:211: warning: incompatible implicit declaration of built-in function 'strncat' check_snmp.c:217: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c:218: warning: incompatible implicit declaration of built-in function 'strspn' check_snmp.c:225: warning: incompatible implicit declaration of built-in function 'strpbrk' check_snmp.c:230: warning: incompatible implicit declaration of built-in function 'strpbrk' check_snmp.c:251: warning: incompatible implicit declaration of built-in function 'strcpy' check_snmp.c:276: warning: incompatible implicit declaration of built-in function 'strpbrk' check_snmp.c: In function 'process_arguments': check_snmp.c:416: warning: incompatible implicit declaration of built-in function 'strcpy' check_snmp.c:432: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c:486: warning: incompatible implicit declaration of built-in function 'strspn' check_snmp.c:486: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c:493: warning: incompatible implicit declaration of built-in function 'index' check_snmp.c:504: warning: incompatible implicit declaration of built-in function 'index' check_snmp.c:524: warning: incompatible implicit declaration of built-in function 'index' check_snmp.c:539: warning: incompatible implicit declaration of built-in function 'strncpy' check_snmp.c:586: warning: incompatible implicit declaration of built-in function 'strstr' check_snmp.c:640: warning: incompatible implicit declaration of built-in function 'strdup' check_snmp.c: In function 'validate_arguments': check_snmp.c:674: warning: incompatible implicit declaration of built-in function 'strdup' check_snmp.c:707: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c:715: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c:724: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c: In function 'clarify_message': check_snmp.c:739: warning: incompatible implicit declaration of built-in function 'strcpy' check_snmp.c:741: warning: assignment makes pointer from integer without a cast check_snmp.c:742: warning: assignment makes pointer from integer without a cast check_snmp.c: In function 'lu_getll': check_snmp.c:817: warning: incompatible implicit declaration of built-in function 'strchr' check_snmp.c: In function 'thisarg': check_snmp.c:849: warning: incompatible implicit declaration of built-in function 'strspn' check_snmp.c:850: warning: incompatible implicit declaration of built-in function 'strstr' check_snmp.c:851: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c:852: warning: incompatible implicit declaration of built-in function 'gettext' check_snmp.c: In function 'nextarg': check_snmp.c:866: warning: incompatible implicit declaration of built-in function 'strstr' check_snmp.c:868: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c:878: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c:885: warning: incompatible implicit declaration of built-in function 'strlen' check_snmp.c: In function 'print_help': check_snmp.c:901: warning: incompatible implicit declaration of built-in function 'gettext' ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: From nagiosadmin at snef.fr Tue Apr 18 14:06:12 2006 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Tue, 18 Apr 2006 14:06:12 +0200 Subject: Nagiosgrapher rrd problem In-Reply-To: <200604181217.16832.johan.corsini@guest.minfin.fed.be> References: <200604181217.16832.johan.corsini@guest.minfin.fed.be> Message-ID: <002201c662e0$7c3e1e80$c26710ac@sneftech.local> Johan, I tried to remove lines in my ngraph.ncfg like you said but so far it does not seem to repair the problem. And, like you said, the daemon don't try to parse my definitions!! An other idea ?? ;-) Davy -----Message d'origine----- De?: Johan Corsini [mailto:johan.corsini at guest.minfin.fed.be] Envoy??: mardi 18 avril 2006 12:17 ??: nagios-users at lists.sourceforge.net Cc?: Davy Gaussen Objet?: Re: [Nagios-users] Nagiosgrapher rrd problem It looks like Ngrapher is not even trying to parse the infos. I know that there is a bug with the Ngrapher version I use that makes it ignoring the "graph definitions". ?If there is not exactly ONE (no more, no less) blank line between two graph definitions, then one of the definitions will just be ignored. ?I do not know if this bug has been corrected in newer versions, if not, it might be the cause of your problems. Here is what I would do : 1) Remove every graph definitions in "ngraph.ncfg". 2) Add only one graph definition in the file. So, it would be something like : define config { ? ? ? ? pipe ? ? ? ? ? ? ? ? ? ?/var/nagios/ngraph.pipe ? ? ? ? step ? ? ? ? ? ? ? ? ? ?60 ? ? ? ? heartbeat ? ? ? ? ? ? ? 300 ? ? ? ? rrdpath ? ? ? ? ? ? ? ? /var/nagios/rrd/ ? ? ? ? tmppath ? ? ? ? ? ? ? ? /tmp/nagiosgrapher/ ????????... ? ? ? ? } ?define ngraph{ ? ? ? ? ?service_name ? ? ? ? ? ?PING ? ? ? ? ?graph_log_regex ? ? ? ? perdus = ([0-9]+) ? ? ? ? ?graph_value ? ? ? ? ? ? Loss ? ? ? ? ?graph_units ? ? ? ? ? ? % ? ? ? ? ?graph_legend ? ? ? ? ? ?Packet Lost ? ? ? ? ?rrd_plottype ? ? ? ? ? ?LINE2 ? ? ? ? ?rrd_color ? ? ? ? ? ? ? ff0000 ? ? ? ? ?page ? ? ? ? ? ? ? ? ? ?Packet Lost ? ? ? ? ?} 3) Check if it is working (at least, if it is trying to parse the datas) Johan Le Mardi 18 Avril 2006 11:07, Davy Gaussen a ?crit?: > Here is my service definition for PING services : > > define service { > name PING-SW-template > check_command check_ping!500.0,50%!600.0,60% > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 5 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > event_handler_enabled 1 > process_perf_data 1 > notification_period 24x7 > notifications_enabled 1 > register 0 > notification_options w,u,c,r > contact_groups Switchs-admins > } > > define service { > use PING-SW-template > service_description PING > check_command check_ping!2500.0,50%!6000.0,60% > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 5 > notification_interval 0 > host_name serveur_bureautique > contact_groups Switchs-admins > } > > In ngraph.ncfg I have these lines : > > define ngraph{ > service_name PING > graph_log_regex perdus = ([0-9]+) > graph_value Loss > graph_units % > graph_legend Packet Lost > rrd_plottype LINE2 > rrd_color ff0000 > page Packet Lost > } > > # Ping RTA > define ngraph{ > service_name PING > graph_log_regex RTA = ([0-9]+\.+[0-9]*) ms > graph_value RTA > graph_units ms > graph_legend Time to answer > rrd_plottype AREA > rrd_color 00A348 > page RTA > } > > > And in ngraph.log I have : > 2006-04-18 11:04:07 PIPE: SW-2 PING PING OK - Paquets perdus = 0%, RTA > = 70.98 ms > 2006-04-18 11:04:08 PIPE: SW-5 PING PING OK - Paquets perdus = 0%, RTA > = 70.12 ms > 2006-04-18 11:04:08 PIPE: Sacha Port 8081 TCP OK - 0,050 second > response time on port 8081 > time=0,049855s;0,000000;0,000000;0,000000;60,000000 > 2006-04-18 11:04:08 PIPE: SW-8 PING PING OK - Paquets perdus = 0%, RTA > = 25.19 ms > > > I still do not have any rrd files in /var/lib/nagios/rrd ..... > I do not have either any RRD: log entries in ngraph.log, I don't understand > why ?? > > Do you have an idea to help me please ? > > > > -----Message d'origine----- > De?: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Hugo van > der Kooij > Envoy??: vendredi 14 avril 2006 18:48 > ??: nagios-users > Objet?: Re: [Nagios-users] Nagiosgrapher rrd problem > > On Fri, 14 Apr 2006, Davy Gaussen wrote: > > I am trying to use Nagiosgrapher-1.5 with Nagios 2.0. > > > > I successfully install nagiosgrapher but I didn't have any rrd files in > > /var/lib/nagios/rrd. > > Which are only created after you setup service-type definitions and your > first data is added to the named pipe. > > > I never have a line with < RRD : create rrd file > or something. > > > > Someone have an idea on this please ?? I am quite lost ! > > Show us the Nagiosgrapher definitions for your service-types. There are > samples present but you must define them and match the names. > > In fact the whole thing is documented but it takes some reading to get the > hang of it. > > For example. > > 1. My service definition: > > define service { > use service-template > host_name arwen > service_description PING > check_command check_ping!10,20%!20,40% > contact_groups waakhond-net > } > > 2. Suitable ngrapg.ncfg section: > > define ngraph{ > service_name PING > graph_log_regex loss = ([0-9]+) > graph_value Loss > graph_units % > graph_legend Packet Lost > rrd_plottype LINE2 > rrd_color ff0000 > page Packet Lost > } > > # Ping RTA > define ngraph{ > service_name PING > graph_log_regex rta = ([0-9]+\.+[0-9]*) ms > graph_value RTA > graph_units ms > graph_legend Time to answer > rrd_plottype AREA > rrd_color 00A348 > page RTA > } > > > Hugo. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 nagiosadmin at snef.fr Tue Apr 18 15:20:38 2006 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Tue, 18 Apr 2006 15:20:38 +0200 Subject: Nagiosgrapher rrd problem In-Reply-To: <002201c662e0$7c3e1e80$c26710ac@sneftech.local> References: <002201c662e0$7c3e1e80$c26710ac@sneftech.local> Message-ID: <002301c662ea$e26ef670$c26710ac@sneftech.local> Ok thanks to all for your response, I tried to install Nagiosgrapher-1.4 and it works perfectly ! -----Message d'origine----- De?: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Davy Gaussen Envoy??: mardi 18 avril 2006 14:06 ??: johan.corsini at guest.minfin.fed.be; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] Nagiosgrapher rrd problem Johan, I tried to remove lines in my ngraph.ncfg like you said but so far it does not seem to repair the problem. And, like you said, the daemon don't try to parse my definitions!! An other idea ?? ;-) Davy -----Message d'origine----- De?: Johan Corsini [mailto:johan.corsini at guest.minfin.fed.be] Envoy??: mardi 18 avril 2006 12:17 ??: nagios-users at lists.sourceforge.net Cc?: Davy Gaussen Objet?: Re: [Nagios-users] Nagiosgrapher rrd problem It looks like Ngrapher is not even trying to parse the infos. I know that there is a bug with the Ngrapher version I use that makes it ignoring the "graph definitions". ?If there is not exactly ONE (no more, no less) blank line between two graph definitions, then one of the definitions will just be ignored. ?I do not know if this bug has been corrected in newer versions, if not, it might be the cause of your problems. Here is what I would do : 1) Remove every graph definitions in "ngraph.ncfg". 2) Add only one graph definition in the file. So, it would be something like : define config { ? ? ? ? pipe ? ? ? ? ? ? ? ? ? ?/var/nagios/ngraph.pipe ? ? ? ? step ? ? ? ? ? ? ? ? ? ?60 ? ? ? ? heartbeat ? ? ? ? ? ? ? 300 ? ? ? ? rrdpath ? ? ? ? ? ? ? ? /var/nagios/rrd/ ? ? ? ? tmppath ? ? ? ? ? ? ? ? /tmp/nagiosgrapher/ ????????... ? ? ? ? } ?define ngraph{ ? ? ? ? ?service_name ? ? ? ? ? ?PING ? ? ? ? ?graph_log_regex ? ? ? ? perdus = ([0-9]+) ? ? ? ? ?graph_value ? ? ? ? ? ? Loss ? ? ? ? ?graph_units ? ? ? ? ? ? % ? ? ? ? ?graph_legend ? ? ? ? ? ?Packet Lost ? ? ? ? ?rrd_plottype ? ? ? ? ? ?LINE2 ? ? ? ? ?rrd_color ? ? ? ? ? ? ? ff0000 ? ? ? ? ?page ? ? ? ? ? ? ? ? ? ?Packet Lost ? ? ? ? ?} 3) Check if it is working (at least, if it is trying to parse the datas) Johan Le Mardi 18 Avril 2006 11:07, Davy Gaussen a ?crit?: > Here is my service definition for PING services : > > define service { > name PING-SW-template > check_command check_ping!500.0,50%!600.0,60% > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 5 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > event_handler_enabled 1 > process_perf_data 1 > notification_period 24x7 > notifications_enabled 1 > register 0 > notification_options w,u,c,r > contact_groups Switchs-admins > } > > define service { > use PING-SW-template > service_description PING > check_command check_ping!2500.0,50%!6000.0,60% > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 5 > notification_interval 0 > host_name serveur_bureautique > contact_groups Switchs-admins > } > > In ngraph.ncfg I have these lines : > > define ngraph{ > service_name PING > graph_log_regex perdus = ([0-9]+) > graph_value Loss > graph_units % > graph_legend Packet Lost > rrd_plottype LINE2 > rrd_color ff0000 > page Packet Lost > } > > # Ping RTA > define ngraph{ > service_name PING > graph_log_regex RTA = ([0-9]+\.+[0-9]*) ms > graph_value RTA > graph_units ms > graph_legend Time to answer > rrd_plottype AREA > rrd_color 00A348 > page RTA > } > > > And in ngraph.log I have : > 2006-04-18 11:04:07 PIPE: SW-2 PING PING OK - Paquets perdus = 0%, RTA > = 70.98 ms > 2006-04-18 11:04:08 PIPE: SW-5 PING PING OK - Paquets perdus = 0%, RTA > = 70.12 ms > 2006-04-18 11:04:08 PIPE: Sacha Port 8081 TCP OK - 0,050 second > response time on port 8081 > time=0,049855s;0,000000;0,000000;0,000000;60,000000 > 2006-04-18 11:04:08 PIPE: SW-8 PING PING OK - Paquets perdus = 0%, RTA > = 25.19 ms > > > I still do not have any rrd files in /var/lib/nagios/rrd ..... > I do not have either any RRD: log entries in ngraph.log, I don't understand > why ?? > > Do you have an idea to help me please ? > > > > -----Message d'origine----- > De?: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Hugo van > der Kooij > Envoy??: vendredi 14 avril 2006 18:48 > ??: nagios-users > Objet?: Re: [Nagios-users] Nagiosgrapher rrd problem > > On Fri, 14 Apr 2006, Davy Gaussen wrote: > > I am trying to use Nagiosgrapher-1.5 with Nagios 2.0. > > > > I successfully install nagiosgrapher but I didn't have any rrd files in > > /var/lib/nagios/rrd. > > Which are only created after you setup service-type definitions and your > first data is added to the named pipe. > > > I never have a line with < RRD : create rrd file > or something. > > > > Someone have an idea on this please ?? I am quite lost ! > > Show us the Nagiosgrapher definitions for your service-types. There are > samples present but you must define them and match the names. > > In fact the whole thing is documented but it takes some reading to get the > hang of it. > > For example. > > 1. My service definition: > > define service { > use service-template > host_name arwen > service_description PING > check_command check_ping!10,20%!20,40% > contact_groups waakhond-net > } > > 2. Suitable ngrapg.ncfg section: > > define ngraph{ > service_name PING > graph_log_regex loss = ([0-9]+) > graph_value Loss > graph_units % > graph_legend Packet Lost > rrd_plottype LINE2 > rrd_color ff0000 > page Packet Lost > } > > # Ping RTA > define ngraph{ > service_name PING > graph_log_regex rta = ([0-9]+\.+[0-9]*) ms > graph_value RTA > graph_units ms > graph_legend Time to answer > rrd_plottype AREA > rrd_color 00A348 > page RTA > } > > > Hugo. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 me at renux.de Tue Apr 18 15:21:30 2006 From: me at renux.de (Rene Fertig) Date: Tue, 18 Apr 2006 15:21:30 +0200 Subject: ASCII-Characters >127 stripped in macros Message-ID: <200604181521.32206.me@renux.de> Hi. Since I updated to nagios 2.0 I don't see german "umlaute" (ASCII-Characters greater than 127, e.g. ? ? ?) in the notifications no more. With nagios 1.1 this worked. The characters are stripped only in the marcos (e.g. $HOSTALIAS$ or $SERVICEDESC$). In nagios.cfg the variable illegal_macro_output_chars is set to `~$&|'"<> I have just updated to nagios 2.2, but it didn't helped. Do I do anything wrong or ist it a real bug? Bye, Rene ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 sandeep-n-murthy at telecom.pt Tue Apr 18 15:40:56 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Tue, 18 Apr 2006 14:40:56 +0100 Subject: Nagios Web Plugin Message-ID: Hi, I am trying to monitor a Web Service and I am able to send a GET request via a browser and obtain a result appropriate for Nagios. I am not exactly sure how to integrate this with Nagios. I could print the output to a file and make nagios read the file but this doesn't seem to be a very clean solution. Is there any other alternative ? Tia, sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 sandeep-n-murthy at telecom.pt Tue Apr 18 15:47:12 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Tue, 18 Apr 2006 14:47:12 +0100 Subject: Nagios Web Plugin Message-ID: I could probably use the check_http plugin or the webinject.. has anyone used this before successfully ? thnx -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy Sent: ter?a-feira, 18 de Abril de 2006 14:41 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Web Plugin Hi, I am trying to monitor a Web Service and I am able to send a GET request via a browser and obtain a result appropriate for Nagios. I am not exactly sure how to integrate this with Nagios. I could print the output to a file and make nagios read the file but this doesn't seem to be a very clean solution. Is there any other alternative ? Tia, sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Tue Apr 18 16:09:41 2006 From: marc at ena.com (Marc Powell) Date: Tue, 18 Apr 2006 09:09:41 -0500 Subject: Recompiling plugins Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of ThomasC. > Sent: Tuesday, April 18, 2006 6:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Recompiling plugins > > Hi, > > > I made a change in the source code of the check_snmp plugin. I would > like now to recompile it. > > When i run > gcc -o check_snmp check_snmp.c i get a lot of errors. > > I know this is a question about compiling but can you help me please to > learn how to recompile transformed code in Nagios plugs. If you've already run ./configure at the very least, you can just run 'make all' then 'make install' to update any modified plugins. Coding problems are another issue altogether ;) -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Tue Apr 18 16:13:37 2006 From: marc at ena.com (Marc Powell) Date: Tue, 18 Apr 2006 09:13:37 -0500 Subject: Nagios Web Plugin Message-ID: Yes. That's basic functionality of check_http. It can GET or POST data and look for designated content in the response. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy > Sent: Tuesday, April 18, 2006 8:47 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios Web Plugin > > I could probably use the check_http plugin or the webinject.. has anyone > used this before successfully ? > > thnx > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy > Sent: ter?a-feira, 18 de Abril de 2006 14:41 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Web Plugin > > Hi, > > I am trying to monitor a Web Service and I am able to send a GET request > via a browser and obtain a result appropriate for Nagios. > > I am not exactly sure how to integrate this with Nagios. I could print > the output to a file and make nagios read the file but this doesn't seem > to be a very clean solution. > > Is there any other alternative ? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Tue Apr 18 16:14:07 2006 From: marc at ena.com (Marc Powell) Date: Tue, 18 Apr 2006 09:14:07 -0500 Subject: Nagios GUI Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy > Sent: Tuesday, April 18, 2006 3:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios GUI > > Hi, > > We have number of servers which are being monitored using Nagios > (Version 2.0b3). Is there any way to separate/ categorize the servers > according to their platform - Production, Tests, Development etc.. ? > > On clicking the Service Detail on the left hand Menu, all servers show > up as a list. Is it possible to filter them accd to their respective > platforms ? Use hostgroups. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 me at renux.de Tue Apr 18 16:21:29 2006 From: me at renux.de (Rene Fertig) Date: Tue, 18 Apr 2006 16:21:29 +0200 Subject: Nagios Web Plugin In-Reply-To: References: Message-ID: <200604181621.30231.me@renux.de> Hi. Am Dienstag, 18. April 2006 15:40 schrieb Sandeep Narasimha Murthy: > I am trying to monitor a Web Service and I am able to send a GET request > via a browser and obtain a result appropriate for Nagios. > > I am not exactly sure how to integrate this with Nagios. I could print > the output to a file and make nagios read the file but this doesn't seem > to be a very clean solution. Of cause. But I'm not sure what you really waht do do %-( With the check_http pluging you can do a lot of tests, including check the response of the web-server for a specific string. Give "check_http --help" a try to see a complete list of the posibilities. Or descibe more precisely what you like to check. Bye, Rene ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 selundgr at email.uncc.edu Tue Apr 18 16:22:24 2006 From: selundgr at email.uncc.edu (Scott Lundgren) Date: Tue, 18 Apr 2006 10:22:24 -0400 Subject: Nagios Web Plugin In-Reply-To: References: Message-ID: I'm using Nagios 1.2 with APAN .3-sql and that's what I'm doing. I call a wrapper shell script that calls check_http : VALUE=`$PLUGINSDIR/check_http -I $HOST -H $VHOST -p $PORT -w $WARN -c $CRIT $XARGS` RESULT=$? # debug "`date` HTTP snu, Res: $RESULT, Val: $VALUE" FOUND=`echo $VALUE|grep "|"|wc -l|awk '{print $NF}'` if [ $FOUND = 0 ]; then ERR=1 fi TIME=`echo $VALUE|awk '{print $NF}'` #RESULT=2 RES=`echo $VALUE|cut -d "|" -f 2|sed "s/time= /Time: /g"` CODE=`echo $VALUE|cut -d "|" -f 1|cut -d "-" -f 1|cut -d ":" -f 2` RETSTR="Request Response:$CODE
Request $RES seconds" if [ $RESULT -gt $RETVAL ]; then RETVAL=$RESULT fi On 4/18/06 9:47 AM, "Sandeep Narasimha Murthy" wrote: > I could probably use the check_http plugin or the webinject.. has anyone used > this before successfully ? > > thnx ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 mailinglist at ebox.gr Tue Apr 18 16:47:48 2006 From: mailinglist at ebox.gr (Brandino Andreas) Date: Tue, 18 Apr 2006 17:47:48 +0300 Subject: (No output!) message Message-ID: <1736659393.20060418174748@ebox.gr> Hi all. I will make a question about the famous "(No output!)" error. I am trying to watch cpu usage on a cisco router. I am using check_snmp_load.pl from here http://www.manubulon.com/nagios/index_commands.html ####### CONFIGURATION ####### ##### checkcommands.cfg define command { command_name check_snmp_cisco_cpu command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG1$ -T cisco -w $ARG2$ -c $ARG3$ # comment community warning critical } ###### services.cfg define service { name Cisco_check_cpu service_description CPU check_command check_snmp_cisco_cpu!my_community!30,300,30!40,40,40 register 0 } define service{ use Cisco_check_cpu ; Name of service template to use host_name MYHOST service_description CPU2 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups all notification_interval 240 notification_period 24x7 notification_options c,r check_command check_snmp_cisco_cpu } From command line, logged in as root or apache2 user, it works. However, # su - nagios whoami root ping & snmp checks work. Any idea what can cause this error? ---------------- Brandino Andreas mailinglist at ebox.gr ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 sandeep-n-murthy at telecom.pt Tue Apr 18 16:46:30 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Tue, 18 Apr 2006 15:46:30 +0100 Subject: Nagios Web Plugin Message-ID: Hi, Thanks for the responses. I have 2 problems using check_http : 1. check_http runs fine on my host machine but when I execute it on the machine I want to monitor I get the fwg error: ld.so.1: ./check_http: fatal: libssl.so.0.9.7: open failed: No such file or directory Killed Any idea whats wrong here ?? 2. I need to obtain the output shown on the browser on invoking the GET URL. Thanks, -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rene Fertig Sent: ter?a-feira, 18 de Abril de 2006 15:21 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Nagios Web Plugin Hi. Am Dienstag, 18. April 2006 15:40 schrieb Sandeep Narasimha Murthy: > I am trying to monitor a Web Service and I am able to send a GET request > via a browser and obtain a result appropriate for Nagios. > > I am not exactly sure how to integrate this with Nagios. I could print > the output to a file and make nagios read the file but this doesn't seem > to be a very clean solution. Of cause. But I'm not sure what you really waht do do %-( With the check_http pluging you can do a lot of tests, including check the response of the web-server for a specific string. Give "check_http --help" a try to see a complete list of the posibilities. Or descibe more precisely what you like to check. Bye, Rene ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 selundgr at email.uncc.edu Tue Apr 18 16:52:06 2006 From: selundgr at email.uncc.edu (Scott Lundgren) Date: Tue, 18 Apr 2006 10:52:06 -0400 Subject: Socket Errors Message-ID: I'm running Nagios 1.2 and APAN 0.3.0-sql. Recently I've changed 5 monitored Windows servers to a set of 2 hostgroups. Hostgroup A has 1 server and a CPU warning threshold of 25% Hostgroup B has 4 servers and a CPU warning threshold of 15% Since implementing this none of the 5 servers in either hostgroup has exceeded 10% CPU usage but both hostgroups occasionally (no definitive pattern of a specific server or at a specific time) give socket errors for the CPU service. So I'm getting 2-6 emails from Nagios for this. How can I fix this problem ? Thanks, Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.edu ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 at jolet.net Tue Apr 18 16:54:50 2006 From: john at jolet.net (John Jolet) Date: Tue, 18 Apr 2006 09:54:50 -0500 Subject: Nagios Web Plugin In-Reply-To: References: Message-ID: On 4/18/06 9:46 AM, "Sandeep Narasimha Murthy" wrote: > Hi, > > Thanks for the responses. I have 2 problems using check_http : > > 1. check_http runs fine on my host machine but when I execute it on the > machine I want to monitor I get the fwg error: > > ld.so.1: ./check_http: fatal: libssl.so.0.9.7: open failed: No such file or > directory > Killed > > Any idea whats wrong here ?? > > 2. I need to obtain the output shown on the browser on invoking the GET URL. > You execute the check_http on the nagios host, pointing it at the web server you want to check, right? You don't run check_http ON the web server. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 sandeep-n-murthy at telecom.pt Tue Apr 18 16:56:46 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Tue, 18 Apr 2006 15:56:46 +0100 Subject: Nagios Web Plugin Message-ID: I should have pointed this out before.. I cant run it on the Host as the host doesn't have access to the remote server I want to check.. Only one machine - our Production machine is authorized to connect to the remote server.. hence I need check_http to run on the prod machine.. thnx -----Original Message----- From: John Jolet [mailto:john at jolet.net] Sent: ter?a-feira, 18 de Abril de 2006 15:55 To: Sandeep Narasimha Murthy; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: Nagios Web Plugin On 4/18/06 9:46 AM, "Sandeep Narasimha Murthy" wrote: > Hi, > > Thanks for the responses. I have 2 problems using check_http : > > 1. check_http runs fine on my host machine but when I execute it on the > machine I want to monitor I get the fwg error: > > ld.so.1: ./check_http: fatal: libssl.so.0.9.7: open failed: No such file or > directory > Killed > > Any idea whats wrong here ?? > > 2. I need to obtain the output shown on the browser on invoking the GET URL. > You execute the check_http on the nagios host, pointing it at the web server you want to check, right? You don't run check_http ON the web server. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 selundgr at email.uncc.edu Tue Apr 18 17:01:01 2006 From: selundgr at email.uncc.edu (Scott Lundgren) Date: Tue, 18 Apr 2006 11:01:01 -0400 Subject: Nagios Web Plugin In-Reply-To: References: Message-ID: > 1. check_http runs fine on my host machine but when I execute it on the > machine I want to monitor I get the fwg error: > > ld.so.1: ./check_http: fatal: libssl.so.0.9.7: open failed: No such file or > directory > Killed > > Any idea whats wrong here ?? How did you install the nagios plugins? This error is because you are missing the OpenSSL library that your plugins were compiled with. Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.edu ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Tue Apr 18 17:00:32 2006 From: marc at ena.com (Marc Powell) Date: Tue, 18 Apr 2006 10:00:32 -0500 Subject: Nagios Web Plugin Message-ID: That's fine. You'll just need to use on of the remote plugin execution methodologies then; NRPE or check-by-ssh probably. Install the check_http plugin on you production machine then have your nagios server execute the plugin on that machine to check your third machine. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy > Sent: Tuesday, April 18, 2006 9:57 AM > To: John Jolet; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Re: Nagios Web Plugin > > I should have pointed this out before.. I cant run it on the Host as the > host doesn't have access to the remote server I want to check.. > > Only one machine - our Production machine is authorized to connect to the > remote server.. hence I need check_http to run on the prod machine.. > > thnx > > -----Original Message----- > From: John Jolet [mailto:john at jolet.net] > Sent: ter?a-feira, 18 de Abril de 2006 15:55 > To: Sandeep Narasimha Murthy; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: Nagios Web Plugin > > > > > On 4/18/06 9:46 AM, "Sandeep Narasimha Murthy" murthy at telecom.pt> > wrote: > > > Hi, > > > > Thanks for the responses. I have 2 problems using check_http : > > > > 1. check_http runs fine on my host machine but when I execute it on the > > machine I want to monitor I get the fwg error: > > > > ld.so.1: ./check_http: fatal: libssl.so.0.9.7: open failed: No such file > or > > directory > > Killed > > > > Any idea whats wrong here ?? > > > > 2. I need to obtain the output shown on the browser on invoking the GET > URL. > > > > You execute the check_http on the nagios host, pointing it at the web > server > you want to check, right? You don't run check_http ON the web server. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 selundgr at email.uncc.edu Tue Apr 18 17:12:52 2006 From: selundgr at email.uncc.edu (Scott Lundgren) Date: Tue, 18 Apr 2006 11:12:52 -0400 Subject: Nagios Web Plugin In-Reply-To: References: Message-ID: > Hi, > > The plugins were already installed when I came in.. can I copy the required > plugins from host.. ? > > One other thing, host OS is Linux and the plugin is on a Solaris 9 OS. Please correct if I'm wrong: The remote web server that you want to monitor is Linux The production server that is allowed to connect to the remote web server and has Nagios installed is Solaris 9 Do I understand your setup correctly? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 sandeep-n-murthy at telecom.pt Tue Apr 18 17:28:13 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Tue, 18 Apr 2006 16:28:13 +0100 Subject: Nagios Web Plugin Message-ID: Nope.. NAGIOS Host OS - LINUX CENTOS The remote web server that I want to monitor - Don't Know and doenst really interest me ! The production server that is allowed to connect to the remote webserver and has some plugins such as check_ping, check_memory etc... OS - SOLARIS 9 thnx -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Lundgren Sent: ter?a-feira, 18 de Abril de 2006 16:13 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Re: Nagios Web Plugin > Hi, > > The plugins were already installed when I came in.. can I copy the required > plugins from host.. ? > > One other thing, host OS is Linux and the plugin is on a Solaris 9 OS. Please correct if I'm wrong: The remote web server that you want to monitor is Linux The production server that is allowed to connect to the remote web server and has Nagios installed is Solaris 9 Do I understand your setup correctly? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 shoktai at gmail.com Tue Apr 18 17:49:15 2006 From: shoktai at gmail.com (ThomasC.) Date: Tue, 18 Apr 2006 17:49:15 +0200 Subject: restart http with ssl certificate pass Message-ID: <44450A7B.9000006@gmail.com> Hi, I would like to use eventhandlers to restart apache on nagios server because it sometimes fails. My issue is that i have a password on the certificate that i have to give when restarting apache...do you know how i can handle this ? Thanks for all. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 sghosh at sghosh.org Tue Apr 18 18:07:35 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 18 Apr 2006 12:07:35 -0400 (EDT) Subject: restart http with ssl certificate pass In-Reply-To: <44450A7B.9000006@gmail.com> References: <44450A7B.9000006@gmail.com> Message-ID: On Tue, 18 Apr 2006, ThomasC. wrote: > Hi, > > I would like to use eventhandlers to restart apache on nagios server because > it sometimes fails. > My issue is that i have a password on the certificate that i have to give > when restarting apache...do you know how i can handle this ? > > Thanks for all. > > Use expect as a wrapper script to supply the password. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 SELundgr at email.uncc.edu Tue Apr 18 18:49:20 2006 From: SELundgr at email.uncc.edu (Lundgren, Scott) Date: Tue, 18 Apr 2006 12:49:20 -0400 Subject: restart http with ssl certificate pass Message-ID: You could remove the password on the key: To remove the pass phrase on an RSA private key: openssl rsa -in key.pem -out keyout.pem To remove the pass phrase on a DSA private key: openssl dsa -in key.pem -out keyout.pem Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.edu ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 gbellettini at genetsis.com Tue Apr 18 18:57:02 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Tue, 18 Apr 2006 18:57:02 +0200 Subject: question Message-ID: Hi there, do you have anu idea how to upgrade Net Saint 0.0.7 to Nagios 2.2? Is there any plug-in to install? Thanks for your help Guillermo Bellettini -------------- next part -------------- An HTML attachment was scrubbed... URL: From CKH99 at bbh.hosp.dk Tue Apr 18 19:01:25 2006 From: CKH99 at bbh.hosp.dk (Christian Kammer Have) Date: Tue, 18 Apr 2006 19:01:25 +0200 Subject: Vedr.: question In-Reply-To: References: Message-ID: I would recommend you to do a fresh install of nagios 2.2 instead and then try to migrate the host/service-definitions. I would suspect the checks and core components have improved and changed so drastically that you have to do so much work in order to get an upgrade to work that a fresh reinstall would be much easier and give a cleaner result. Med venlig hilsen / Regards Sikkerhedsspecialist / Security Specialist Christian Kammer Have Bispebjerg Hospital MIT (Mediko, Informatik & Tele) Bispebjerg Bakke 23 2400 K?benhavn NV mobil: 2044 0125 E-mail: ckh99 at bbh.hosp.dk "Guillermo Bellettini" Sendt af: nagios-users-admin at lists.sourceforge.net 18-04-2006 18:57 Til: cc: Vedr.: [Nagios-users] question Hi there, do you have anu idea how to upgrade Net Saint 0.0.7 to Nagios 2.2? Is there any plug-in to install? Thanks for your help Guillermo Bellettini -------------- next part -------------- An HTML attachment was scrubbed... URL: From kylet at panix.com Tue Apr 18 19:06:46 2006 From: kylet at panix.com (Kyle Tucker) Date: Tue, 18 Apr 2006 13:06:46 -0400 (EDT) Subject: restart http with ssl certificate pass In-Reply-To: References: Message-ID: <200604181706.k3IH6kq28971@panix3.panix.com> > > On Tue, 18 Apr 2006, ThomasC. wrote: > > > I would like to use eventhandlers to restart apache on nagios server because > > it sometimes fails. > > My issue is that i have a password on the certificate that i have to give > > when restarting apache...do you know how i can handle this ? > > Use expect as a wrapper script to supply the password. If it's mod_ssl, use the SSLPassPhraseDialog directive which points to a script that simply echoes out the passphrase. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Tue Apr 18 20:41:22 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 18 Apr 2006 20:41:22 +0200 (CEST) Subject: restart http with ssl certificate pass In-Reply-To: References: <44450A7B.9000006@gmail.com> Message-ID: On Tue, 18 Apr 2006, Subhendu Ghosh wrote: > On Tue, 18 Apr 2006, ThomasC. wrote: > > > I would like to use eventhandlers to restart apache on nagios server because > > it sometimes fails. > > My issue is that i have a password on the certificate that i have to give > > when restarting apache...do you know how i can handle this ? > > Use expect as a wrapper script to supply the password. If you can automate it then there is no use for the password. I suggest using a key without a password instead of putting another password out for display in a script. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 hvdkooij at vanderkooij.org Tue Apr 18 20:43:49 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 18 Apr 2006 20:43:49 +0200 (CEST) Subject: question In-Reply-To: References: Message-ID: On Tue, 18 Apr 2006, Guillermo Bellettini wrote: > Hi there, do you have anu idea how to upgrade Net Saint 0.0.7 to Nagios 2.2? I suggest you print the old configs and start to write them from scratch. If you have 1000's of service you may make it worth to write a custom migration script. But if you are around a 100 or less then I would not bother to try to automate 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Tue Apr 18 21:04:42 2006 From: marc at ena.com (Marc Powell) Date: Tue, 18 Apr 2006 14:04:42 -0500 Subject: question Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Tuesday, April 18, 2006 1:44 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] question > > On Tue, 18 Apr 2006, Guillermo Bellettini wrote: > > > Hi there, do you have anu idea how to upgrade Net Saint 0.0.7 to Nagios > 2.2? > > I suggest you print the old configs and start to write them from scratch. > > If you have 1000's of service you may make it worth to write a custom > migration script. But if you are around a 100 or less then I would not > bother to try to automate it. Andreas Ericsson has written a script called object_config_fix.php found at http://oss.op5.se/nagios/ that I found useful in my migration from nagios-1.0 to 2.0. To get from Netsaint style configs I would suggest starting with the convertcfg program found in the contrib. directory. That will convert old style Netsaint object files to the Nagios-1.0 template format. From there you can either manually edit to update them to the nagios-2.0 format (essentially updating changed macros and moving contact_groups from hostgroup to host definitions) or playing around with Andreas's script to do that for you. I had to tweak it a little bit to get it to work with my configs but now it's working great while I run both in parallel. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 skorbets at rambler.ru Tue Apr 18 22:24:47 2006 From: skorbets at rambler.ru (Danila Kutepkin) Date: Wed, 19 Apr 2006 00:24:47 +0400 Subject: Non latin symbols in $HOSTALIAS$ Message-ID: Hi there! I use cyrillic symbols (koi8-r) in "alias" field of a host definition. An e-mail that is generated when a host goes down, contains all info I need but only alias ($HOSTALIAS$ macro value) containes only numeric symbols and no cyrillic symbols. I had such kind of problem in status.cgi. I solved it by commenting a part, where text is encoded to html compartible kind. But I can't find the place, from whitch the bug with $HOSTALIAS$ begins. 8( Can anyone help me? I use Nagios 2.0 on Debian Sarge, all locale settings for nagios user are "KOI8-R". ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 hvdkooij at vanderkooij.org Tue Apr 18 23:09:33 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 18 Apr 2006 23:09:33 +0200 (CEST) Subject: Apache rewrites to run only /nagios at SSL? Message-ID: Hi, I have been playing with apache rewrites to get /nagios (and some other parts) behind SSL but without the rest of the site ending up as SSL website. (Technically it is offtopic, I guess, but close enough to entertain the Nagios crowd and get some samples documented to prevent others to fall into this pit.) Basically I want /nagios and /boss to be redirected to the https server and anything else going to remain on plain mode. Forcing /boss is not the issue as it is a directory. Getting /nagios to do the same seems to be much harder. The /boss environment works with: RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/boss(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] Within the section. I tried to modify the nagios config to: ScriptAlias /nagios/cgi-bin "/usr/lib/nagios/cgi" RewriteEngine On RewriteBase /nagios/cgi-bin RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/nagios(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] # SSLRequireSSL 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" RewriteEngine On RewriteBase /nagios RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/nagios(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user But somehow it does not redirect as I would expect it to do. Could some kind sould tell me where I went wrong? I have also tested with the SSLRequireSSL part enabled but it also resulted in 403 errors. Without the rewrite part both http and https access to /nagios works fine on the server. Some tech details: - XOS 4 (RHEL 4 clone) - Apache 2.0 - Nagios 2.2 All of it installed via packages (Thanks Dag!) Hugo. PS: The usual investigation tools (Google) were used before I wrote the message. There I learned that Alias constructs in apache require more work with rewrites. -- 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Wed Apr 19 00:55:47 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 18 Apr 2006 18:55:47 -0400 Subject: nagios dns resolver checks Message-ID: <302ce8b50604181555o2e4b320s5ce3658ec23ed6f6@mail.gmail.com> I've been playing around with getting nagios to check information coming dns, however I need to check a variety of queries and check_dns doesn't really do quite what I want. The check_dns_random.pl plugin in contrib does what I want in theory, but it seems to have some fairly bad flaws in the perl logic (shell calls to wc -l, weird randomization etc) and it doesn't appear to have been updated recently. After some assistance with colleagues, we've attempted a bit of a rewrite for the plugin but it's not quite there, and it really doesn't use utils.pm or any of the nagios handling. I'm a bit of an idiot when it comes to perl, so I was hoping someone else might be able to take a look at what we've done and offer some suggestions/patches/updates/working code.... you get the idea. We've tried to keep the original functionality of check_dns_random.pl, but any help would really be appreciated. check_resolver.pl is a complete rewrite of the dns query using Net::DNS. check_dns_random-new.pl is a rewrite of the original plugin with updated random function and file parsing. -- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke -------------- next part -------------- A non-text attachment was scrubbed... Name: check_resolver.pl Type: application/x-perl Size: 967 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_dns_random-new.pl Type: application/x-perl Size: 1261 bytes Desc: not available URL: From msugano at uolinc.com Wed Apr 19 01:29:09 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 18 Apr 2006 20:29:09 -0300 Subject: [ Compiling problem ] nagios plugins 1.4.2 (check_ldap problem) Message-ID: <1145402950.15369.1.camel@localhost> Hello list. I've just fetched the nagios-plugins-1.4.2 package. Installed openldap-1.2.11 from sunfreeware (solaris 8 - sparc) and i am trying to compile check_ldap here. I also have installed openssl-0.9.8, mysql, etc. I want to compile all the plugins and create a set to put into production. But when it's the check_ldap's turn, i keep getting these errors: ---[~~~]--- if gcc -DLOCALEDIR=\"/export/nagios-2.2/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/usr/local/include -g -O2 -MT check_ldap.o -MD -MP -MF ".deps/check_ldap.Tpo" -c -o check_ldap.o check_ldap.c; \ then mv -f ".deps/check_ldap.Tpo" ".deps/check_ldap.Po"; else rm -f ".deps/check_ldap.Tpo"; exit 1; fi check_ldap.c: In function `main': check_ldap.c:128: error: `LDAPS_PORT' undeclared (first use in this function) check_ldap.c:128: error: (Each undeclared identifier is reported only once check_ldap.c:128: error: for each function it appears in.) make[2]: *** [check_ldap.o] Error 1 make[2]: Leaving directory `/home/msugano/src/nagios-plugins-1.4.2/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/msugano/src/nagios-plugins-1.4.2' make: *** [all] Error 2 ---[~~~]--- Does anyone have a clue of what is going on here? Already tried to find Libraries missing with find-sym (http://dcs.nac.uci.edu/~strombrg/find-sym.html) and will keep to try compiling this, but I've thought that would be handy to ask here if anyone already has gone through this problem before. Searching gmane did not raised anything helpful, so, here i am. Thanks in advance 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Stanley.Hopcroft at Dest.gov.au Wed Apr 19 01:43:17 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Wed, 19 Apr 2006 09:43:17 +1000 Subject: (No output!) message Message-ID: Dear Sir, I am writing to thank you for your letter and say, >Message: 24 >Date: Tue, 18 Apr 2006 17:47:48 +0300 >From: Brandino Andreas >Subject: [Nagios-users] (No output!) message > >Hi all. >I will make a question about the famous "(No output!)" error. > >I am trying to watch cpu usage on a cisco router. >I am using check_snmp_load.pl from here >http://www.manubulon.com/nagios/ind= >ex_commands.html > >####### CONFIGURATION ####### >##### checkcommands.cfg >define command { > command_name check_snmp_cisco_cpu > command_line $USER1$/check_snmp_load.pl -H >$HOSTADDRESS$ -C $ARG1$ = >-T cisco -w $ARG2$ -c $ARG3$ ># comment community warning critical >} > >###### services.cfg >define service { > name Cisco_check_cpu > service_description CPU > check_command >check_snmp_cisco_cpu!my_community!30,300,30!40,40,40 > register 0 >} > >From=20command line, logged in as root or apache2 user, it works. >However, ># su - nagios >whoami >root > > >ping & snmp checks work. > >Any idea what can cause this error? No but this may help, 1 If you are using embedded Perl, try calling the plugin from either a /bin/sh or C wrapper ie replace your command_line in checkcommands.cfg with command_line WRAPPER $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG1$ -T cisco -w $ARG2$ -c $ARG3$ WRAPPER is something like #!/bin/sh PLUGIN/PATH/check_snmp.pl $@ or main(int argc, char *argv[]) { execve("/PLUGIN/PATH/check_snmp.pl", argv) ; } gcc -o WRAPPER WRAPPER.c 2 Otherwise, it may be better to write a small wrapper that appends the arguments that Nagios calls the plugins with to a file #!/bin/sh echo $@ >> /Some/file/writable/by/Nagios Yours sincerely. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 msugano at uolinc.com Wed Apr 19 01:50:08 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 18 Apr 2006 20:50:08 -0300 Subject: [ Compiling problem ] nagios plugins 1.4.2(check_ldap problem) In-Reply-To: <1145402950.15369.1.camel@localhost> References: <1145402950.15369.1.camel@localhost> Message-ID: <1145404208.15369.4.camel@localhost> Sorry to reply my own post. Just figured out what was worng. in /usr/local/include/ldap.h do not exists the declaration of LDAPS_PORT, as in check_ldap.c just modifying it to LDAP_PORT did the trick. See ya! On Tue, 2006-04-18 at 20:29 -0300, Marcel Mitsuto Fucatu Sugano wrote: > Hello list. > > I've just fetched the nagios-plugins-1.4.2 package. Installed > openldap-1.2.11 from sunfreeware (solaris 8 - sparc) and i am trying to > compile check_ldap here. I also have installed openssl-0.9.8, mysql, > etc. I want to compile all the plugins and create a set to put into > production. But when it's the check_ldap's turn, i keep getting these > errors: > > ---[~~~]--- > if gcc -DLOCALEDIR=\"/export/nagios-2.2/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/usr/local/include -g -O2 -MT check_ldap.o -MD -MP -MF ".deps/check_ldap.Tpo" -c -o check_ldap.o check_ldap.c; \ > then mv -f ".deps/check_ldap.Tpo" ".deps/check_ldap.Po"; else rm -f ".deps/check_ldap.Tpo"; exit 1; fi > check_ldap.c: In function `main': > check_ldap.c:128: error: `LDAPS_PORT' undeclared (first use in this function) > check_ldap.c:128: error: (Each undeclared identifier is reported only once > check_ldap.c:128: error: for each function it appears in.) > make[2]: *** [check_ldap.o] Error 1 > make[2]: Leaving directory `/home/msugano/src/nagios-plugins-1.4.2/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/msugano/src/nagios-plugins-1.4.2' > make: *** [all] Error 2 > ---[~~~]--- > > Does anyone have a clue of what is going on here? > > Already tried to find Libraries missing with find-sym > (http://dcs.nac.uci.edu/~strombrg/find-sym.html) and will keep to try > compiling this, but I've thought that would be handy to ask here if > anyone already has gone through this problem before. Searching gmane did > not raised anything helpful, so, here i am. > > Thanks in advance > > > 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/. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 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/. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 tcruicksh at gmail.com Wed Apr 19 04:35:16 2006 From: tcruicksh at gmail.com (Tom Cruickshank) Date: Tue, 18 Apr 2006 22:35:16 -0400 Subject: is my syntax ok for escalation? In-Reply-To: <1145404208.15369.4.camel@localhost> References: <1145404208.15369.4.camel@localhost> Message-ID: <4445a104.2d3bff34.6dce.ffffd950@mx.gmail.com> Hello, I'm trying to get escalation working on a service I have running. This is what I currently have. define serviceescalation{ host_name web3.host.com service_description Bacula Process first_notification 3 last_notification 10 notification_interval 90 contact_groups admin-escalate } define service{ use generic-service host_name web3.host.com service_description Bacula Process is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nt_bacula!192.168.1.5 } I know that the contact_groups 'admin-escalate' works since I tried it in "define service" for "contact_groups" and it worked fine. Is there anything that I might of missed in defining my serviceescalation? Would appreciate any assistance. Thanks! Tom -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.4/318 - Release Date: 4/18/2006 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 bjones at mcclainfinlon.com Wed Apr 19 04:52:41 2006 From: bjones at mcclainfinlon.com (Jones, Brian) Date: Tue, 18 Apr 2006 20:52:41 -0600 Subject: Nagios 2.2, check_ifoperstatus running on OS X 10.4 Message-ID: I recently installed Nagios 2.2 onto a Mac G4 running OSX 10.4 Everything is working extremely well except for one service check based on 'check_ifoperstatus'. Inside the web interface for Nagios all these service checks get (No Output!) returned. Here is the configuration: checkcommands.cfg has: # 'check_ifoperstatus' command definition define command{ command_name check_ifoperstatus command_line $USER1$/check_ifoperstatus -H $HOSTADDRESS$ -k $ARG1$ -C $ARG2$ } minimal.cfg has: define service{ name chkifoperstatus-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts service_description UPLINK is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 notification_interval 30 notification_period 24x7 notification_options w,u,c,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service{ use chkifoperstatus-service host_name Cisco_Switch_Solo contact_groups admins check_command check_ifoperstatus!4!mfread <<<<--notice the command is 'check_ifoperstatus' and passing interface index '4' and the community string 'mfread' } nagios.cfg is configured to look to checkcommands.cfg for external commands and this is working as all the other checks I am performing operate perfectly. Has anyone else run across this problem, and if so, have any advice on what I can do to fix it? Thanks in advance for any help you can offer! Brian Jones IT Director McClainFinlon Advertising 303-436-9400 Main 303-383-7200 Direct -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Wed Apr 19 04:57:42 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 18 Apr 2006 22:57:42 -0400 Subject: Nagios 2.2, check_ifoperstatus running on OS X 10.4 Message-ID: Have you tried running the plugin from the command line as the Nagios user with the same parameters? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jones, Brian Sent: Tuesday, April 18, 2006 7:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 2.2, check_ifoperstatus running on OS X 10.4 I recently installed Nagios 2.2 onto a Mac G4 running OSX 10.4 Everything is working extremely well except for one service check based on 'check_ifoperstatus'. Inside the web interface for Nagios all these service checks get (No Output!) returned. Here is the configuration: -------------- next part -------------- An HTML attachment was scrubbed... URL: From bjones at mcclainfinlon.com Wed Apr 19 05:03:21 2006 From: bjones at mcclainfinlon.com (Brian Jones) Date: Wed, 19 Apr 2006 03:03:21 +0000 (UTC) Subject: Nagios 2.2, =?utf-8?b?Y2hlY2tfaWZvcGVyc3RhdHVz?= running on OS X 10.4 References: Message-ID: Jones, Brian mcclainfinlon.com> writes: > check_ifoperstatus!4!mfread } I should add that I did execute the command from command line logged in as the nagios user and it does return what is expected. For example, the command documented below would return: OK: Interface Vlan 4 (Index 4) is up. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 grover1711 at gmail.com Wed Apr 19 07:04:40 2006 From: grover1711 at gmail.com (ankush grover) Date: Wed, 19 Apr 2006 10:34:40 +0530 Subject: Apache rewrites to run only /nagios at SSL? In-Reply-To: References: Message-ID: <5f638b360604182204u7ee9359cy4662cddceb03a256@mail.gmail.com> On > > RewriteEngine On > RewriteCond %{SERVER_PORT} !^443$ > RewriteRule ^/boss(.*)$ > https://%{SERVER_NAME}%{REQUEST_URI} [L,R] > > > > RewriteEngine On > RewriteBase /nagios/cgi-bin > RewriteCond %{SERVER_PORT} !^443$ > RewriteRule ^/nagios(.*)$ > https://%{SERVER_NAME}%{REQUEST_URI} [L,R] > # SSLRequireSSL > 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" > > > RewriteEngine On > RewriteBase /nagios > RewriteCond %{SERVER_PORT} !^443$ > RewriteRule ^/nagios(.*)$ > https://%{SERVER_NAME}%{REQUEST_URI} [L,R] > # SSLRequireSSL > Options None > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > Require valid-user > hey, I have done rewriting for webmail on my server change the settings are per your need. RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^/webmail(.*)$ https://ipaddress/webmail$1 [L,R] RewriteLog "/var/log/httpd/rewrite.log" RewriteLogLevel 4 I am using FC3 with Apache 2.0.52. Regards Ankush -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Wed Apr 19 07:29:41 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 19 Apr 2006 07:29:41 +0200 (CEST) Subject: Apache rewrites to run only /nagios at SSL? In-Reply-To: <5f638b360604182204u7ee9359cy4662cddceb03a256@mail.gmail.com> References: <5f638b360604182204u7ee9359cy4662cddceb03a256@mail.gmail.com> Message-ID: On Wed, 19 Apr 2006, ankush grover wrote: > > RewriteEngine On > > RewriteCond %{SERVER_PORT} !^443$ > > RewriteRule ^/boss(.*)$ > > https://%{SERVER_NAME}%{REQUEST_URI} [L,R] > > > > > > > > RewriteEngine On > > RewriteBase /nagios/cgi-bin > > RewriteCond %{SERVER_PORT} !^443$ > > RewriteRule ^/nagios(.*)$ > > https://%{SERVER_NAME}%{REQUEST_URI} [L,R] > > I have done rewriting for webmail on my server change the settings are > per your need. > > RewriteEngine on > RewriteCond %{SERVER_PORT} ^80$ > RewriteRule ^/webmail(.*)$ https://ipaddress/webmail$1 [L,R] > RewriteLog "/var/log/httpd/rewrite.log" > RewriteLogLevel 4 You may have noticed the specifics above. It works for a real directory aka: /boss but not for the aliased parts aka: /nagios So this post does not add anything new. 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. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Philipp.Sand at sycor.de Wed Apr 19 08:31:55 2006 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 19 Apr 2006 08:31:55 +0200 Subject: CSV output out of availibility Reports Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E0223CC9E@SYGOMAIL.GOE.AD.SYCOR.DE> Fyi, we found the old patch for avail.cgi in nagios 1.2 and modified it, so it can be used with the Nagios-cvs released on Thursday 13.April 2006. I attached the file and already asked Ethan, if he can apply it the the official avail.c. Have fun with it! Regards, Philipp > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] Im Auftrag von Sand Philipp > Gesendet: Freitag, 7. April 2006 09:20 > An: nagios-users at lists.sourceforge.net > Betreff: AW: [Nagios-users] RE: CSV output out of availibility Reports > > > >Hi there, > > > > > >I remember a patch fort he avail.cgi, with which, you could > > >generate a cs= v output out of each avail.cgi report. I > > >already did some research in this list and with google, but I > > >can't fin= d the patch any more. Can anyone please give me a > > >hint, where I can download this patch? Has anyone tested this > > >patch with the new version of the avail.cgi in Nag= ios 2.1? > > > avail.cgi has _always_ done CSV output (as long as you choose > > all hosts or all services). > > It's up to you to filter the CSV by any means you care to choose. > > If you want some help, try > > - either putting all the CSV records in a DB and use SQL > > (if you are serious about reporting you prob want to do this). > > - Nagios::Report > > (munges and filters the CSV from avail.cgi). > I was aware, that you can do this csv output when selecting all services > or all hosts. As wehave about 500 Hosts and 3000 Services, this is no > option when you want to make a report for the last 90 days. > As I said, there had been a patch for this, which I already applied to > my old Nagios Installation, but I didn't save this patch, and don't know > where I can download it. > > > >Question for Ethan: why isn't this patch integrated into the > > >avail.cgi by= default? Is this planned for a future release? > > Patches welcome. > When this patch would have been applied to the avail.cgi, I wouldn't > have the problem I got now ;) > > > BTW, there are bugs in avail.cgi relating to scheduled down time > > that are probably more important than this. > I know, I already had to fight with this Problem, but I think that this > bug is fixed in 2.1. > > > >Thanks in advance! > > > > I probably didn't do your letter justice. It seems on reflection that > > you meant you want the patch for avail.cgi that generates CSV from > > a specific availability report eg a new link in the report for > > a host or service that does CSV. > > However, I think it has been made pretty clear from the Nag roadmap > that > > the CGIs have been end of lifed and will be replaced by PHP. I think > > that > > is a much better use of scare developer resources than trying > > to fix difficult and fragile code. > As I said obove, the patch had already been developed, so you don't need > to sink hundrets of hours to apply it. I'm totally aware of the Nagios > Roadmap. But I'm not expecting Nagios 3.0 to be released in the near > future. > > > > > > As Radia Perlman said about sub-optimal routing, 'people should be > > grateful > > that their data is delivered at all'. > Hmm, would be nice to see, when you tell this to your customers :-) > > Philipp > > > > ************************************************************************** > ****************************************************** > sycor plastics - die Branchenloesung fuer die Kunststoffindustrie > www.sycor-plastics.de > > sycor plastics - the solution for the plastic industry > www.sycor-plastics.com > > ************************************************************************** > ****************************************************** > > > Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche > Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse > Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort > und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine > Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, > sofern dies nicht ausdruecklich in schriftlicher Form zwischen den > Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged > information. If you are not the intended recipient please delete this e- > mail and all attachments immediately and inform us. The company sycor does > not agree with contracts or contract obligations sent by e-mail, neither > do we transmit legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and documented in written form. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 ******************************************************************************************************************************** sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de sycor plastics - the solution for the plastic industry www.sycor-plastics.com ******************************************************************************************************************************** Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ******************************************************************************************************************************** sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de sycor plastics - the solution for the plastic industry www.sycor-plastics.com ******************************************************************************************************************************** Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. -------------- next part -------------- A non-text attachment was scrubbed... Name: avail.c.patch_csv-output Type: application/octet-stream Size: 52413 bytes Desc: avail.c.patch_csv-output URL: From grover1711 at gmail.com Wed Apr 19 09:26:16 2006 From: grover1711 at gmail.com (ankush grover) Date: Wed, 19 Apr 2006 12:56:16 +0530 Subject: Apache rewrites to run only /nagios at SSL? In-Reply-To: References: <5f638b360604182204u7ee9359cy4662cddceb03a256@mail.gmail.com> Message-ID: <5f638b360604190026o4c90d916qcc99810b4172a66e@mail.gmail.com> > > > > > > RewriteEngine on > > RewriteCond %{SERVER_PORT} ^80$ > > RewriteRule ^/webmail(.*)$ https://ipaddress/webmail$1 [L,R] > > RewriteLog "/var/log/httpd/rewrite.log" > > RewriteLogLevel 4 > > You may have noticed the specifics above. It works for a real directory > aka: /boss but not for the aliased parts aka: /nagios > > So this post does not add anything new. > > Hugo. > > hey, But this is alias(webmail for /usr/share/squirrelmail) and I am using webmail as alias(defined in squirrelmail.conf in /etc/httpd/conf.d/). Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Wed Apr 19 10:54:01 2006 From: shoktai at gmail.com (ThomasC.) Date: Wed, 19 Apr 2006 10:54:01 +0200 Subject: restart http with ssl certificate pass In-Reply-To: References: <44450A7B.9000006@gmail.com> Message-ID: <4445FAA9.20408@gmail.com> Subhendu Ghosh a ?crit : > On Tue, 18 Apr 2006, ThomasC. wrote: > >> Hi, >> >> I would like to use eventhandlers to restart apache on nagios server >> because it sometimes fails. >> My issue is that i have a password on the certificate that i have to >> give when restarting apache...do you know how i can handle this ? >> >> Thanks for all. >> >> > > Use expect as a wrapper script to supply the password. > > What is expect? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 me-lists at eichler-fleschuetz.de Wed Apr 19 12:29:11 2006 From: me-lists at eichler-fleschuetz.de (Matthias Eichler) Date: Wed, 19 Apr 2006 12:29:11 +0200 Subject: No Putput of check_http Message-ID: <444610F7.5030805@eichler-fleschuetz.de> Hi, I have the problem, that a special check_http-command is not sending output to the nagios process. In the GUI I get OK, but Info "(No output!)" If I send the command via the bash of the server I get an output of the plugin. I use check_http (nagios-plugins 1.4.1) 1.81 with Nagios 2.0b4 on a SuSE something. The command definition is: define command { command_name check_http_status command_line $USER1$/check_http -H status.$HOSTADDRESS$ -a $USERS5$:$USERS6$ } The service definition is: define service { host_name blade5.projektron.de service_description HTTP - Statusseite is_volatile 0 check_command check_http_status max_check_attempts 3 normal_check_interval 15 retry_check_interval 5 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 0 retain_status_information 1 retain_nonstatus_information 1 contact_groups support notification_interval 15 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 register 1 } The plugin execution in the CLI works very fine: # ./check_http -H status.blade5.projektron.de -a Username:Password HTTP OK HTTP/1.1 200 OK - 4317 bytes in 0.276 seconds |time=0.276459s;;;0.000000 size=4317B;;;0 Anybody any idea?!? Thanks, Matthias ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 shoktai at gmail.com Wed Apr 19 14:03:59 2006 From: shoktai at gmail.com (ThomasC.) Date: Wed, 19 Apr 2006 14:03:59 +0200 Subject: Upgrading from 1.3 to 2.2 Message-ID: <4446272F.8020908@gmail.com> Hi Guys, What is the most easy and enjoyable way to upgrade from nagios 1.3 to version 2.2 ? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 Wed Apr 19 14:17:35 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 19 Apr 2006 08:17:35 -0400 Subject: Upgrading from 1.3 to 2.2 In-Reply-To: <4446272F.8020908@gmail.com> References: <4446272F.8020908@gmail.com> Message-ID: <302ce8b50604190517pb9390bof7b05d165af98090@mail.gmail.com> On 4/19/06, ThomasC. wrote: > Hi Guys, > > What is the most easy and enjoyable way to upgrade from nagios 1.3 to > version 2.2 ? Enjoyable? Not overly sure about that one.... I stood up a second nagios system with notifications turned off and recreated everything. It gave me a chance to better template things. The config file formats have been redone, so if you just move them over, you'll be bitten by a bunch of little things. You might be able to import your configs into a tool like fruity, and then export them as 2.x, but that might be more work than reward. -- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jeekay at gmail.com Wed Apr 19 14:23:34 2006 From: jeekay at gmail.com (Jee Kay) Date: Wed, 19 Apr 2006 13:23:34 +0100 Subject: Initial check scheduling Message-ID: (Disclaimer: Currently running 1.3 as 2.x havn't made it into any apt repos yet) I've got a strange problem with the initial scheduling of active service checks.. Basically I have a bunch of service templates all of which have checks at various intervals. For example, I have generic-service-1m, generic-service-5m, generic-service-1h, etc, etc. The problem I have is that then Nagios starts (or reloads...), it schedules _all_ services evenly spaced out over an hour. Services that are supposed to be checked every minute may thus not be checked for a full hour after a reload. Interestingly, once the service has been checked once it is then correctly scheduled for the next run (ie i get a cluster of 1m services at the top of the scheduling queue after Nagios has been running for a full hour). Has anyone else seen this or know why this is happening? Thanks, Ras ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 james at cloud9.co.uk Wed Apr 19 14:41:40 2006 From: james at cloud9.co.uk (James Fidell) Date: Wed, 19 Apr 2006 13:41:40 +0100 Subject: Upgrading from 1.3 to 2.2 In-Reply-To: <302ce8b50604190517pb9390bof7b05d165af98090@mail.gmail.com> References: <4446272F.8020908@gmail.com> <302ce8b50604190517pb9390bof7b05d165af98090@mail.gmail.com> Message-ID: <44463004.1020307@cloud9.co.uk> Jim Perrin wrote: > On 4/19/06, ThomasC. wrote: > >>Hi Guys, >> >>What is the most easy and enjoyable way to upgrade from nagios 1.3 to >>version 2.2 ? > > > Enjoyable? Not overly sure about that one.... > I stood up a second nagios system with notifications turned off and > recreated everything. It gave me a chance to better template things. > The config file formats have been redone, so if you just move them > over, you'll be bitten by a bunch of little things. > > You might be able to import your configs into a tool like fruity, and > then export them as 2.x, but that might be more work than reward. I'm in the middle of doing just this at the moment and fully concur. It's a reasonably large configuration I'm working with (a total of around 1500 checks over ~130 hosts), but I've found no useful short cuts and had to slog through everything by hand. James ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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.Laden at tudor.com Wed Apr 19 14:50:54 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Wed, 19 Apr 2006 08:50:54 -0400 Subject: is my syntax ok for escalation? Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA0389D27D@tudor.com> Depends on what you are trying to accomplish. The syntax is fine assuming nagios isnt complaining about it. What problem are you seeing? What you have Notify admins (1) Wait 240 min (4 hours) Notify admins (2) Wait 240 min (4 hours) Notify admin-escalate (3) Wait 90 min (1.5 hours) Notify admin-escalate (4) Wait 90 min Repeat to 10. Notify admin-escalate (10) Wait 90 min Notify admin (11) Wait 240 min Repeat till the world ends. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Tom Cruickshank > Sent: Tuesday, April 18, 2006 10:35 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] is my syntax ok for escalation? > > Hello, > I'm trying to get escalation working on a service I have running. > This is what I currently have. > > define serviceescalation{ > host_name web3.host.com > service_description Bacula Process > first_notification 3 > last_notification 10 > notification_interval 90 > contact_groups admin-escalate > } > > define service{ > use generic-service > host_name web3.host.com > service_description Bacula Process > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 2 > contact_groups admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nt_bacula!192.168.1.5 > } > > I know that the contact_groups 'admin-escalate' works since I > tried it in "define service" for "contact_groups" and it worked fine. > > Is there anything that I might of missed in defining my > serviceescalation? > > Would appreciate any assistance. Thanks! > > Tom > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.4.4/318 - Release > Date: 4/18/2006 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > 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 SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 selundgr at email.uncc.edu Wed Apr 19 15:16:35 2006 From: selundgr at email.uncc.edu (Scott Lundgren) Date: Wed, 19 Apr 2006 09:16:35 -0400 Subject: Nagios Web Plugin In-Reply-To: References: Message-ID: Here's what you need to do: Production Server Make sure you have OpenSSL installed otherwise you'll not solve those ld.so errors. Make sure the version of OpenSSL installed on this Solaris 9 server matches the version installed on the Linux Server with Nagios installed. You have to do this for NRPE checks over SSL. Recompile and reinstall the nagios plugions yourself. Install NRPE. Monitoring Server Install NRPE and configure it to execute the check_http check remotely on the Production Server. > Nope.. > > NAGIOS Host OS - LINUX CENTOS > > The remote web server that I want to monitor - Don't Know and doenst really > interest me ! > > The production server that is allowed to connect to the remote webserver and > has some plugins such as check_ping, check_memory etc... OS - SOLARIS 9 > > thnx > ------------------------------------------------------- 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 selundgr at email.uncc.edu Wed Apr 19 15:33:31 2006 From: selundgr at email.uncc.edu (Scott Lundgren) Date: Wed, 19 Apr 2006 09:33:31 -0400 Subject: Is it possible to prevent messages about service unknown? Message-ID: I received another round of 32 emails from nagios last night from services that went unknown due to a socket error and then recovered. Is is possible to prevent emails about when a service becomes unknown (perhaps because of a socket error) ? or What causes socket errors and how can I prevent them? Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.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 jhmartin at toger.us Wed Apr 19 15:42:07 2006 From: jhmartin at toger.us (Jason Martin) Date: Wed, 19 Apr 2006 06:42:07 -0700 Subject: Is it possible to prevent messages about service unknown? In-Reply-To: References: Message-ID: <20060419134207.GG10150@mal.toger.us> On Wed, Apr 19, 2006 at 09:33:31AM -0400, Scott Lundgren wrote: > Is is possible to prevent emails about when a service becomes unknown > (perhaps because of a socket error) ? You can turn off 'unkonwn' error messages by configuring the notifiation_options for that service to not have 'u'. > What causes socket errors and how can I prevent them? What was the exact error message? -Jason Martin -- Is "tired old cliche" one? 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: From johan.corsini at guest.minfin.fed.be Wed Apr 19 15:44:48 2006 From: johan.corsini at guest.minfin.fed.be (Johan Corsini) Date: Wed, 19 Apr 2006 15:44:48 +0200 Subject: Is it possible to prevent messages about service unknown? In-Reply-To: References: Message-ID: <200604191544.48074.johan.corsini@guest.minfin.fed.be> If you want to prevent emails about services becoming unknow for some users, no matter what the service is, then edit the concerned contact definitions and remove the "u" in the service_notification_options field. If you want to prevent emails about specific services becoming unknow, no matter what the contact is, then edit the concerned service definitions and remove the "u" in the service_notification_options field. Johan. Le Mercredi 19 Avril 2006 15:33, Scott Lundgren a ?crit?: > I received another round of 32 emails from nagios last night from services > that went unknown due to a socket error and then recovered. > > Is is possible to prevent emails about when a service becomes unknown > (perhaps because of a socket error) ? > > or > > What causes socket errors and how can I prevent them? > > Scott Lundgren > ITS - Web Services > UNC at Charlotte > http://www.uncc.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&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 From marc at ena.com Wed Apr 19 16:15:27 2006 From: marc at ena.com (Marc Powell) Date: Wed, 19 Apr 2006 09:15:27 -0500 Subject: No Putput of check_http Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matthias Eichler > Sent: Wednesday, April 19, 2006 5:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No Putput of check_http > > Hi, > > I have the problem, that a special check_http-command is not > sending output to the nagios process. > > In the GUI I get OK, but Info "(No output!)" > If I send the command via the bash of the server I get an > output of the plugin. > > I use check_http (nagios-plugins 1.4.1) 1.81 > with Nagios 2.0b4 on a SuSE something. > > The command definition is: > define command { > command_name check_http_status > command_line $USER1$/check_http -H status.$HOSTADDRESS$ -a > $USERS5$:$USERS6$ > } Your user macro names are wrong. They should be $USER5$ and $USER6$. -- 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&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 From boinger at tradingtechnologies.com Wed Apr 19 16:20:53 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 19 Apr 2006 09:20:53 -0500 Subject: restart http with ssl certificate pass In-Reply-To: <4445FAA9.20408@gmail.com> References: <44450A7B.9000006@gmail.com> <4445FAA9.20408@gmail.com> Message-ID: <1145456453.5743.33.camel@chi100400> On Wed, 2006-04-19 at 10:54 +0200, ThomasC. wrote: > What is expect? Man, if only some evil genius could come up with a way of searching through web sites for an arbitrary word or phrase that interested me. If it were me, I would call it an Engine of Searching. -------------- 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 bjones at mcclainfinlon.com Wed Apr 19 16:29:43 2006 From: bjones at mcclainfinlon.com (Jones, Brian) Date: Wed, 19 Apr 2006 08:29:43 -0600 Subject: Nagios 2.2, check_ifoperstatus running on OS X 10.4 Message-ID: Mark Duling, the gentleman who wrote the guide to setting up Nagios 2.2 on OSX, discovered the issue with the DarwinPort port of Nagios. The is a temporary fix - a longer term fix would be to modify the port so nagios can find utils.pm. Here is the fix: > cd /opt/local/libexec/nagios > sudo cp utils.pm /opt/local/lib/perl5/5.8.8/darwin-2level/ > > That will do it. The utils.pm needs to be copied to where perl knows about it. I'm asking the DP folks how to do it for a more permanent fix. > > Mark This fixed the problem and I wanted to post it to share with anyone else who may run across this issue. Best regards, Brian -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian Jones Sent: Tuesday, April 18, 2006 9:03 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Nagios 2.2, check_ifoperstatus running on OS X 10.4 Jones, Brian mcclainfinlon.com> writes: > check_ifoperstatus!4!mfread } I should add that I did execute the command from command line logged in as the nagios user and it does return what is expected. For example, the command documented below would return: OK: Interface Vlan 4 (Index 4) is up. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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&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 From selundgr at email.uncc.edu Wed Apr 19 16:30:53 2006 From: selundgr at email.uncc.edu (Scott Lundgren) Date: Wed, 19 Apr 2006 10:30:53 -0400 Subject: Is it possible to prevent messages about service unknown? In-Reply-To: <20060419134207.GG10150@mal.toger.us> References: <20060419134207.GG10150@mal.toger.us> Message-ID: > On Wed, Apr 19, 2006 at 09:33:31AM -0400, Scott Lundgren wrote: >> Is is possible to prevent emails about when a service becomes unknown >> (perhaps because of a socket error) ? > You can turn off 'unkonwn' error messages by configuring the > notifiation_options for that service to not have 'u'. Thanks, it's been a while since I've set those config settings. One of the things I found on my server running nagios was that there were a large number of 0 byte length files with the IP address of the server with a randomization string at the end. I theorized that if a socket file already exists, nagios sees it as an error. Therefore I deleted all the files and I wonder why they're not being deleted automagically. > >> What causes socket errors and how can I prevent them? > What was the exact error message? Here is the message I received: Notification Type: PROBLEM Service: System-CPU Host: WWW03 Address: <-- snip --> State: UNKNOWN Date/Time: Tue Apr 18 23:51:25 EDT 2006 Additional Info: Socket Error ------------------------------------------------------- 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 shoktai at gmail.com Wed Apr 19 17:36:01 2006 From: shoktai at gmail.com (ThomasC.) Date: Wed, 19 Apr 2006 17:36:01 +0200 Subject: restart http with ssl certificate pass In-Reply-To: <1145456453.5743.33.camel@chi100400> References: <44450A7B.9000006@gmail.com> <4445FAA9.20408@gmail.com> <1145456453.5743.33.camel@chi100400> Message-ID: <444658E1.2000409@gmail.com> jeff vier a ?crit : > On Wed, 2006-04-19 at 10:54 +0200, ThomasC. wrote: >> What is expect? > > Man, if only some evil genius could come up with a way of searching > through web sites for an arbitrary word or phrase that interested me. > > If it were me, I would call it an Engine of Searching. lol, you are too much!! ------------------------------------------------------- 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 shoktai at gmail.com Wed Apr 19 17:19:39 2006 From: shoktai at gmail.com (ThomasC.) Date: Wed, 19 Apr 2006 17:19:39 +0200 Subject: Is it possible to prevent messages about service unknown? In-Reply-To: References: Message-ID: <4446550B.9000606@gmail.com> Scott Lundgren a ?crit : > I received another round of 32 emails from nagios last night from services > that went unknown due to a socket error and then recovered. > > Is is possible to prevent emails about when a service becomes unknown > (perhaps because of a socket error) ? > > or > > What causes socket errors and how can I prevent them? > > I never receive alerts for UNKNOWN states, for that you just have to look to notifications_options remove the 'u', i only get notifications for c,r ------------------------------------------------------- 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 jlin at myvest.com Wed Apr 19 19:39:00 2006 From: jlin at myvest.com (Julie S. Lin) Date: Wed, 19 Apr 2006 10:39:00 -0700 Subject: compliation error In-Reply-To: <4446550B.9000606@gmail.com> References: <4446550B.9000606@gmail.com> Message-ID: <444675B4.1050407@myvest.com> Hi i'm in the middle of doing a fresh install of latest and greatest 2.2 nagios however, i can't seem to get the plugins to compile. i get no errors on the "configure" other than a few warnings about no ldap, msql, etc... but get the following errors after i type "make". could someone kindly assist me in getting past the check_snmp.c compile? i would really appreciate any advice or pointing in the right direction. thanks. Julie depfile='.deps/check_hpjd.Po' tmpdepfile='.deps/check_hpjd.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DLOCALEDIR=\"/etc/nagios22/libexec/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -c check_hpjd.c gcc -g -O2 -L. -L/usr/lib -o check_hpjd check_hpjd.o netutils.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv popen.o -I/usr/include source='check_snmp.c' object='check_snmp.o' libtool=no \ depfile='.deps/check_snmp.Po' tmpdepfile='.deps/check_snmp.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DLOCALEDIR=\"/etc/nagios22/libexec/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2 -c check_snmp.c check_snmp.c: In function `main': check_snmp.c:341: parse error before `char' check_snmp.c:342: `str' undeclared (first use in this function) check_snmp.c:342: (Each undeclared identifier is reported only once check_snmp.c:342: for each function it appears in.) make[2]: *** [check_snmp.o] Error 1 make[2]: Leaving directory `/tmp/nagios-plugins-1.4.2/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/nagios-plugins-1.4.2' make: *** [all] Error 2 xxx:/tmp/nagios-plugins-1.4.2# ------------------------------------------------------- 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 skorbets at rambler.ru Wed Apr 19 19:57:45 2006 From: skorbets at rambler.ru (Danila Kutepkin) Date: Wed, 19 Apr 2006 21:57:45 +0400 Subject: parallel host check Message-ID: Hi there! Is there any sercet way to parallelize active host checks? I have about 600 host (ethernet bridges) and I have to check every 10 minutes for host faults. Is there any over ways to get actual results (it is veery useful for me to know, if host is down or unreachable)without using active host checks? ------------------------------------------------------- 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&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 From bill.kimura at baesystems.com Wed Apr 19 20:09:27 2006 From: bill.kimura at baesystems.com (Kimura, Bill (US SSA)) Date: Wed, 19 Apr 2006 14:09:27 -0400 Subject: Solaris (Could not complete SSL handshake) Message-ID: <9570F1681AC3D5498D54FC9D4A6FADABFD254B@blums0017.alphatech.com> Hello, I'm using NRPE 2.5.1 where the Nagios server is a Red Hat FC4 system and the client is a Solaris 8 system. When executing check_nrpe from the server to the client I'm getting the "Could not complete SSL handshake" error. I've tried numerous things and can't get this to work. I've got NRPE working fine on other Red Hat clients however. The nrpe binary on the client was compiled against SSL libraries version 0.9.8. I've ran ldd against nrpe on the client and it looks fine. (I see it linked to the appropriate SSL libraries under /usr/local/ssl/lib) Any ideas? Thanks, Bill Kimura Senior Unix Administrator BAE Systems Advanced Information Technologies 6 New England Executive Park Burlington, MA 01803 Phone: 781-273-3388 x545 Cell: 781-389-2572 Email: bill.kimura at baesystems.com ------------------------------------------------------- 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&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 From estair at ilm.com Wed Apr 19 20:11:34 2006 From: estair at ilm.com (Eli Stair) Date: Wed, 19 Apr 2006 11:11:34 -0700 Subject: parallel host check In-Reply-To: References: Message-ID: <44467D56.6030306@ilm.com> FAQ. No. See host vs. service checks in the docs. Look at what you're using for a host check, and run that same thing as a regularly scheduled service check... I'm guessing that's just a check_ping anyway. /eli Danila Kutepkin wrote: > Hi there! > > Is there any sercet way to parallelize active host checks? > I have about 600 host (ethernet bridges) and I have to check every 10 > minutes for host faults. > Is there any over ways to get actual results (it is veery useful for me > to know, if host is down or unreachable)without using active host checks? > > > ------------------------------------------------------- > 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?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 Gerhard.Lausser at consol.de Wed Apr 19 20:13:42 2006 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Wed, 19 Apr 2006 20:13:42 +0200 Subject: AW: Solaris (Could not complete SSL handshake) In-Reply-To: <9570F1681AC3D5498D54FC9D4A6FADABFD254B@blums0017.alphatech.com> References: <9570F1681AC3D5498D54FC9D4A6FADABFD254B@blums0017.alphatech.com> Message-ID: <004b01c663dd$00d57830$a601000a@int.consol.de> Hi Bill, > getting the "Could not complete SSL handshake" error. I've > tried numerous things and can't get this to work. I've got did you try the allow_weak_random_seed=1 setting in your nrpe.cfg? Greetings from Munich, Gerhard ------------------------------------------------------- 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 shoktai at gmail.com Wed Apr 19 19:27:32 2006 From: shoktai at gmail.com (Gapy) Date: Wed, 19 Apr 2006 19:27:32 +0200 Subject: Upgrading from 1.3 to 2.2 In-Reply-To: <44463004.1020307@cloud9.co.uk> References: <4446272F.8020908@gmail.com> <302ce8b50604190517pb9390bof7b05d165af98090@mail.gmail.com> <44463004.1020307@cloud9.co.uk> Message-ID: <1145467653.9579.12.camel@localhost> Le mercredi 19 avril 2006 ? 13:41 +0100, James Fidell a ?crit : > Jim Perrin wrote: > > On 4/19/06, ThomasC. wrote: > > > >>Hi Guys, > >> > >>What is the most easy and enjoyable way to upgrade from nagios 1.3 to > >>version 2.2 ? > > > > > > Enjoyable? Not overly sure about that one.... > > I stood up a second nagios system with notifications turned off and > > recreated everything. It gave me a chance to better template things. > > The config file formats have been redone, so if you just move them > > over, you'll be bitten by a bunch of little things. > > > > You might be able to import your configs into a tool like fruity, and > > then export them as 2.x, but that might be more work than reward. > > I'm in the middle of doing just this at the moment and fully concur. > It's a reasonably large configuration I'm working with (a total of > around 1500 checks over ~130 hosts), but I've found no useful short > cuts and had to slog through everything by hand. > > James It is said in Fruity homepage, that it can take nagios-1.3 conf files, i installed it but so far i can't get it import properly the old nagios.cfg and cgi.cfg files, it displays no errors but import 0 host, 0 service, 0...besides the mailing list there doesnt look so active. ------------------------------------------------------- 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 bill.kimura at baesystems.com Wed Apr 19 21:15:44 2006 From: bill.kimura at baesystems.com (Kimura, Bill (US SSA)) Date: Wed, 19 Apr 2006 15:15:44 -0400 Subject: Solaris (Could not complete SSL handshake) Message-ID: <9570F1681AC3D5498D54FC9D4A6FADABFD25DB@blums0017.alphatech.com> I discovered the problem. It appears that on Solaris, it's looking for nrpe.cfg in // according to truss: 18351: open("//nrpe.cfg", O_RDONLY) Err#2 ENOENT Even though, I have the following entry defined in /etc/inetd.conf: nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i BTW, the instructions also said to use "--inetd", and I discovered that was an invalid option. Should be "-i". Anyhow, for now, I just copied my nrpe.cfg to /. Has anyone else ran into this? Is this a bug? Thanks, - Bill -----Original Message----- From: Kimura, Bill (US SSA) Sent: Wednesday, April 19, 2006 2:09 PM To: nagios-users at lists.sourceforge.net Subject: Solaris (Could not complete SSL handshake) Hello, I'm using NRPE 2.5.1 where the Nagios server is a Red Hat FC4 system and the client is a Solaris 8 system. When executing check_nrpe from the server to the client I'm getting the "Could not complete SSL handshake" error. I've tried numerous things and can't get this to work. I've got NRPE working fine on other Red Hat clients however. The nrpe binary on the client was compiled against SSL libraries version 0.9.8. I've ran ldd against nrpe on the client and it looks fine. (I see it linked to the appropriate SSL libraries under /usr/local/ssl/lib) Any ideas? Thanks, Bill Kimura Senior Unix Administrator BAE Systems Advanced Information Technologies 6 New England Executive Park Burlington, MA 01803 Phone: 781-273-3388 x545 Cell: 781-389-2572 Email: bill.kimura at baesystems.com ------------------------------------------------------- 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&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 From bgibson at wheatonma.edu Wed Apr 19 22:27:34 2006 From: bgibson at wheatonma.edu (Brian Gibson) Date: Wed, 19 Apr 2006 16:27:34 -0400 Subject: dollar sign in check_command Message-ID: I have a service defined (below) to use the NSClient tool to check if a service is running on a Windows 2000 system. The service on the Win2k box is an instance of SQL server for a particular application and the service has a "$" in its name, that is just how SQL 2000 distinguishes between NT services for different instances. Nagios is complaining about the "$". I have tried enclosing the service name in double quotes and I have tried escaping the dollar sign with a backtick and also with another dollar sign but have had no luck. Also, I tried creating its own entry in the checkcommands.cfg file so I wouldn't have to pass the NT service name as an argument but that didn't help either. Any suggestions? define service{ use generic-service host_name server_name service_description SVC-SQL-AGENT is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 15 retry_check_interval 1 contact_groups nt-admins notification_options w,u,c,r notification_interval 960 check_command check_nt_service!SQLAgent$SPSQL } ------------------------------------------------------- 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&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 From marc at ena.com Wed Apr 19 22:40:48 2006 From: marc at ena.com (Marc Powell) Date: Wed, 19 Apr 2006 15:40:48 -0500 Subject: dollar sign in check_command Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brian Gibson > Sent: Wednesday, April 19, 2006 3:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] dollar sign in check_command > > I have a service defined (below) to use the NSClient tool to check if a > service is running on a Windows 2000 system. The service on the Win2k > box is an instance of SQL server for a particular application and the > service has a "$" in its name, that is just how SQL 2000 distinguishes > between NT services for different instances. Nagios is complaining about > the "$". I have tried enclosing the service name in double quotes and I > have tried escaping the dollar sign with a backtick and also with > another dollar sign but have had no luck. Also, I tried creating its own > entry in the checkcommands.cfg file so I wouldn't have to pass the NT > service name as an argument but that didn't help either. > > Any suggestions? check_command check_nt_service!SQLAgent\$SPSQL -- 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&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 From tcruicksh at gmail.com Thu Apr 20 05:06:01 2006 From: tcruicksh at gmail.com (Tom Cruickshank) Date: Wed, 19 Apr 2006 23:06:01 -0400 Subject: is my syntax ok for escalation? In-Reply-To: <56EAA5BC64E6C34F8C9EE6725D4A2DFA0389D27D@tudor.com> References: <56EAA5BC64E6C34F8C9EE6725D4A2DFA0389D27D@tudor.com> Message-ID: <4446f9b3.64b737ba.58b5.1ef4@mx.gmail.com> Hello, I just wanted to give you a big thank you. I had misinterpreted some variables which made my choices rather ineffective to the testing I was doing. Works very well now! Tom -----Original Message----- From: Andrew Laden [mailto:Andrew.Laden at tudor.com] Sent: Wednesday, April 19, 2006 8:51 AM To: Tom Cruickshank; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] is my syntax ok for escalation? Depends on what you are trying to accomplish. The syntax is fine assuming nagios isnt complaining about it. What problem are you seeing? What you have Notify admins (1) Wait 240 min (4 hours) Notify admins (2) Wait 240 min (4 hours) Notify admin-escalate (3) Wait 90 min (1.5 hours) Notify admin-escalate (4) Wait 90 min Repeat to 10. Notify admin-escalate (10) Wait 90 min Notify admin (11) Wait 240 min Repeat till the world ends. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Tom Cruickshank > Sent: Tuesday, April 18, 2006 10:35 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] is my syntax ok for escalation? > > Hello, > I'm trying to get escalation working on a service I have running. > This is what I currently have. > > define serviceescalation{ > host_name web3.host.com > service_description Bacula Process > first_notification 3 > last_notification 10 > notification_interval 90 > contact_groups admin-escalate > } > > define service{ > use generic-service > host_name web3.host.com > service_description Bacula Process > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 2 > contact_groups admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nt_bacula!192.168.1.5 > } > > I know that the contact_groups 'admin-escalate' works since I > tried it in "define service" for "contact_groups" and it worked fine. > > Is there anything that I might of missed in defining my > serviceescalation? > > Would appreciate any assistance. Thanks! > > Tom > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.4.4/318 - Release > Date: 4/18/2006 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > 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 > -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.4/319 - Release Date: 4/19/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.4/319 - Release Date: 4/19/2006 ------------------------------------------------------- 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 sghosh at sghosh.org Thu Apr 20 05:47:07 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 19 Apr 2006 23:47:07 -0400 (EDT) Subject: compliation error In-Reply-To: <444675B4.1050407@myvest.com> References: <4446550B.9000606@gmail.com> <444675B4.1050407@myvest.com> Message-ID: Could you try the 1.4.3 release of the plugins? On Wed, 19 Apr 2006, Julie S. Lin wrote: > Hi > > i'm in the middle of doing a fresh install of latest and greatest 2.2 nagios > however, i can't seem to get the plugins to compile. > > i get no errors on the "configure" other than a few warnings about no ldap, > msql, etc... > but get the following errors after i type "make". > > could someone kindly assist me in getting past the check_snmp.c compile? > i would really appreciate any advice or pointing in the right direction. > thanks. > > Julie > > depfile='.deps/check_hpjd.Po' tmpdepfile='.deps/check_hpjd.TPo' \ > depmode=gcc /bin/sh ../depcomp \ > gcc -DLOCALEDIR=\"/etc/nagios22/libexec/share/locale\" -DHAVE_CONFIG_H -I. > -I. -I.. -I.. -I../lib -I../intl -g -O2 -c check_hpjd.c > gcc -g -O2 -L. -L/usr/lib -o check_hpjd check_hpjd.o netutils.o utils.o > ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv popen.o > -I/usr/include > source='check_snmp.c' object='check_snmp.o' libtool=no \ > depfile='.deps/check_snmp.Po' tmpdepfile='.deps/check_snmp.TPo' \ > depmode=gcc /bin/sh ../depcomp \ > gcc -DLOCALEDIR=\"/etc/nagios22/libexec/share/locale\" -DHAVE_CONFIG_H -I. > -I. -I.. -I.. -I../lib -I../intl -g -O2 -c check_snmp.c > check_snmp.c: In function `main': > check_snmp.c:341: parse error before `char' > check_snmp.c:342: `str' undeclared (first use in this function) > check_snmp.c:342: (Each undeclared identifier is reported only once > check_snmp.c:342: for each function it appears in.) > make[2]: *** [check_snmp.o] Error 1 > make[2]: Leaving directory `/tmp/nagios-plugins-1.4.2/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tmp/nagios-plugins-1.4.2' > make: *** [all] Error 2 > xxx:/tmp/nagios-plugins-1.4.2# > > > > ------------------------------------------------------- > 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 rick.vandermieden at orangemail.nl Thu Apr 20 13:17:24 2006 From: rick.vandermieden at orangemail.nl (Mieden, Rick van der) Date: Thu, 20 Apr 2006 13:17:24 +0200 Subject: Sun Management Center to Nagios Message-ID: Is there anybody who has tried to port the Sun Management Center to Nagios? I want to add all the things monitored by SMC in Nagios, to only have one screen to look at for our Management Center. Anybody a clue? =========================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen in deze email of attachments te voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor computervirussen die veroorzaakt zijn door deze email. The information contained in this message may be confidential and is intended to be only for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. Although Orange has taken steps to ensure that this email and attachments are free from any virus, you do need to verify the possibility of their existence as Orange can take no responsibility for any computer virus which might be transferred by way of this email. =========================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.kimura at baesystems.com Thu Apr 20 14:10:15 2006 From: bill.kimura at baesystems.com (Kimura, Bill (US SSA)) Date: Thu, 20 Apr 2006 08:10:15 -0400 Subject: disabling notifications for a host Message-ID: <9570F1681AC3D5498D54FC9D4A6FADABFD2780@blums0017.alphatech.com> Is there an easy way to disable notifications globally for a given host, or does it require modifying each of the individual services, etc.? I was hoping I could do something like set "notifications_enabled 0" in the hosts.cfg for the given host, but I'm still receiving notifications for all the services that this host is a member of. Thanks, Bill Kimura Senior Unix Administrator BAE Systems Advanced Information Technologies 6 New England Executive Park Burlington, MA 01803 Phone: 781-273-3388 x545 Cell: 781-389-2572 Email: bill.kimura at baesystems.com ------------------------------------------------------- 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&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 From bgibson at wheatonma.edu Thu Apr 20 14:26:50 2006 From: bgibson at wheatonma.edu (Brian Gibson) Date: Thu, 20 Apr 2006 08:26:50 -0400 Subject: dollar sign in check_command In-Reply-To: References: Message-ID: <30a362ca8e017642b4a94724c5c92821@mail2.wheatonma.edu> Thanks for the suggestion, I tried escaping the dollar sign with a backslash and didn't have any luck. -----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, April 19, 2006 4:41 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] dollar sign in check_command > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brian Gibson > Sent: Wednesday, April 19, 2006 3:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] dollar sign in check_command > > I have a service defined (below) to use the NSClient tool to check if a > service is running on a Windows 2000 system. The service on the Win2k > box is an instance of SQL server for a particular application and the > service has a "$" in its name, that is just how SQL 2000 distinguishes > between NT services for different instances. Nagios is complaining about > the "$". I have tried enclosing the service name in double quotes and I > have tried escaping the dollar sign with a backtick and also with > another dollar sign but have had no luck. Also, I tried creating its own > entry in the checkcommands.cfg file so I wouldn't have to pass the NT > service name as an argument but that didn't help either. > > Any suggestions? check_command check_nt_service!SQLAgent\$SPSQL -- 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?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?cmd=lnk&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 From shoktai at gmail.com Thu Apr 20 14:36:14 2006 From: shoktai at gmail.com (ThomasC.) Date: Thu, 20 Apr 2006 14:36:14 +0200 Subject: disabling notifications for a host In-Reply-To: <9570F1681AC3D5498D54FC9D4A6FADABFD2780@blums0017.alphatech.com> References: <9570F1681AC3D5498D54FC9D4A6FADABFD2780@blums0017.alphatech.com> Message-ID: <4447803E.6050504@gmail.com> Kimura, Bill (US SSA) a ?crit : > Is there an easy way to disable notifications globally > for a given host Yes from the web interface. ------------------------------------------------------- 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 bill.kimura at baesystems.com Thu Apr 20 15:14:35 2006 From: bill.kimura at baesystems.com (Bill Kimura) Date: Thu, 20 Apr 2006 09:14:35 -0400 Subject: Ping service Message-ID: Is it necessary to create PING service, or does the host definition already take care of that? I currently have a PING service defined for all my hosts, but the host definitions all include the check-host-alive command. I'm wondering if the PING service is redundant. Thanks, - Bill ------------------------------------------------------- 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 gorste at tesco.net Thu Apr 20 16:09:19 2006 From: gorste at tesco.net (Gordon Stewart) Date: Thu, 20 Apr 2006 14:09:19 +0000 Subject: NSCA - server Message-ID: <20060420140919.TSUM24467.aamtaout02-winn.ispmail.ntl.com@smtp.ntlworld.com> Dear List I have installed NSCA deamon on a server, It is running on the default port of 5667. When I run telnet 127.0.0.1 5667 I get a telnet prompt and several lines of strage character. Is this normal? Clients servers are runing the clients. I assume they write to the /var/log/nagios/rw/nagios.rw (which is a pipe). How do I get the central nagios to read it and what check command do I put in to the service check commands. Thanks Gordon ------------------------------------------------------- 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 Apr 20 16:17:13 2006 From: marc at ena.com (Marc Powell) Date: Thu, 20 Apr 2006 09:17:13 -0500 Subject: Ping service Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Bill Kimura > Sent: Thursday, April 20, 2006 8:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Ping service > > Is it necessary to create PING service, or does the host definition > already take care of that? I currently have a PING service defined > for all my hosts, but the host definitions all include the check-host- > alive > command. I'm wondering if the PING service is redundant. If you have at least one other service defined for the host then it's redundant. As a general rule, every host needs to have at least one service definition to be checked. -- 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&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 From marc at ena.com Thu Apr 20 16:23:42 2006 From: marc at ena.com (Marc Powell) Date: Thu, 20 Apr 2006 09:23:42 -0500 Subject: NSCA - server Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Gordon Stewart > Sent: Thursday, April 20, 2006 9:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSCA - server > > Dear List > > I have installed NSCA deamon on a server, It is running on the default > port of 5667. When I run telnet 127.0.0.1 5667 I get a telnet prompt and > several lines of strage character. Is this normal? Yes. > Clients servers are runing the clients. I assume they write to the > /var/log/nagios/rw/nagios.rw (which is a pipe). How do I get the central > nagios to read it and what check command do I put in to the service check > commands. Read http://nagios.sourceforge.net/docs/2_0/distributed.html. NSCA is a passive check method. Your client machines need to perform the check themselves, then send the results to your central nagios machine via send_nsca. A properly configured NSCA daemon on your central machine will write those results to the nagios external command pipe. As far as your central nagios service check commands, if these will be entirely passive checks and you are going to be using freshness checking then it needs to be some command that will return some appropriate output should the results go stale. The above link give an example. If you are not going to be performing freshness checking, then the command can be anything as it will never get executed. -- 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&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 From melkiades at gmail.com Thu Apr 20 14:14:22 2006 From: melkiades at gmail.com (Melkiades) Date: Thu, 20 Apr 2006 14:14:22 +0200 Subject: Monitor DHCP Server [] Message-ID: Hi there NAGIOS FAQ F0074: "How do I monitor DHCP services on my network?" [..]Note that the plugin *must* best installed suid root in order to run, as it binds to a privileged port (UDP 67) in order to listen to DHCPOFFER packets. -------------------------------------------------------------------------------------------------------- #ls -lpsa -rwxr-xr-x 1 nagios nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... #chown root:nagios check_dhcp #chmod 4710 check_dhcp #ls -lpsa -rws--x--- 1 root nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... -------------------------------------------------------------------------------------------------------- Any help? Thanks! ------------------------------------------------------- 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&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 From benny at bennyvision.com Thu Apr 20 17:18:13 2006 From: benny at bennyvision.com (C. Bensend) Date: Thu, 20 Apr 2006 10:18:13 -0500 (CDT) Subject: Monitor DHCP Server [] In-Reply-To: References: Message-ID: <2617.134.244.169.17.1145546293.squirrel@webmail.stinkweasel.net> > #chown root:nagios check_dhcp > #chmod 4710 check_dhcp > > #ls -lpsa > -rws--x--- 1 root nagios 56028 Mar 29 09:23 check_dhcp > > #./check_dhcp my.dhcp.server > Error: Could not bind to DHCP socket (port 68)! Check your privileges... You're not on a disk partition mounted nosuid, are you? Benny -- "God help us all if cats had thumbs." -- Me, 2006 ------------------------------------------------------- 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 bill.kimura at baesystems.com Thu Apr 20 17:42:55 2006 From: bill.kimura at baesystems.com (Bill Kimura) Date: Thu, 20 Apr 2006 11:42:55 -0400 Subject: snmp plugin for monitoring uptime (Windows) Message-ID: Does anyone have a plugin that uses SNMP to monitor uptime on a Windows systems? I think I've identified the OID (hrsystemuptime.0), but wanted to see if someone else has already coded this prior to writing something myself. Thanks! - Bill ------------------------------------------------------- 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 ssmith at siu.edu Thu Apr 20 18:42:06 2006 From: ssmith at siu.edu (Scott Smith) Date: Thu, 20 Apr 2006 11:42:06 -0500 Subject: SNMP Check straight to Critical Message-ID: <4447B9DE.3030808@siu.edu> I want to be able to send an SMMP check straight to critical instead of warning. I.e. a Wireless AP Interface has UP and Down. So instead of sending that to a Warning status I would like it to go straight to Critical. I have tried using the check_snmp string, however it requires a -w and -c, so it will only see it as a warning. Any ideas? -- Scott Smith Network Engineering Services Southern Illinois University Carbondale ssmith at siu.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 patrick.morris at hp.com Thu Apr 20 18:56:30 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 20 Apr 2006 12:56:30 -0400 Subject: SNMP Check straight to Critical Message-ID: Wrap it in a shell script that returns critical if the plugin returns warning. -----Original Message----- I want to be able to send an SMMP check straight to critical instead of warning. I.e. a Wireless AP Interface has UP and Down. So instead of sending that to a Warning status I would like it to go straight to Critical. I have tried using the check_snmp string, however it requires a -w and -c, so it will only see it as a warning. ------------------------------------------------------- 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&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 From ssmith at siu.edu Thu Apr 20 18:58:11 2006 From: ssmith at siu.edu (Scott Smith) Date: Thu, 20 Apr 2006 11:58:11 -0500 Subject: SNMP Check straight to Critical In-Reply-To: References: Message-ID: <4447BDA3.1080301@siu.edu> Would you happen to have an example? or a URL that gives one? Morris, Patrick wrote: >Wrap it in a shell script that returns critical if the plugin returns >warning. > >-----Original Message----- >I want to be able to send an SMMP check straight to critical instead of >warning. I.e. a Wireless AP Interface has UP and Down. So instead of >sending that to a Warning status I would like it to go straight to >Critical. I have tried using the check_snmp string, however it requires >a -w and -c, so it will only see it as a warning. > > > > -- Scott Smith Network Engineering Services Southern Illinois University Carbondale ssmith at siu.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 andrew at profitability.net Thu Apr 20 19:01:59 2006 From: andrew at profitability.net (Andrew Cruse) Date: Thu, 20 Apr 2006 13:01:59 -0400 Subject: SNMP Check straight to Critical In-Reply-To: <4447B9DE.3030808@siu.edu> References: <4447B9DE.3030808@siu.edu> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > I want to be able to send an SMMP check straight to critical > instead of warning. I.e. a Wireless AP Interface has UP and > Down. So instead of sending that to a Warning status I would > like it to go straight to Critical. I have tried using the > check_snmp string, however it requires a -w and -c, so it > will only see it as a warning. > > Any ideas? check_snmp requires a -w, but there's nothing to say that the value you use for the warning range has to be something returned by your AP. Just set the warning range to be something the AP never returns and it will never go into warning status. 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 patrick.morris at hp.com Thu Apr 20 19:01:47 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 20 Apr 2006 13:01:47 -0400 Subject: SNMP Check straight to Critical Message-ID: I don't know the specifics of how you're running the plugin, but a quick off-the-top-of-the-head example would be: #!/bin/sh /usr/lib/nagios/plugins/check-snmp blah blah blah $RESULT=$? if [ "$RESULT" eq "1" ]; then RESULT=2; fi Return $RESULT -----Original Message----- From: Scott Smith [mailto:ssmith at siu.edu] Subject: Re: [Nagios-users] SNMP Check straight to Critical Would you happen to have an example? or a URL that gives one? Morris, Patrick wrote: >Wrap it in a shell script that returns critical if the plugin returns >warning. > >-----Original Message----- >I want to be able to send an SMMP check straight to critical instead of >warning. I.e. a Wireless AP Interface has UP and Down. So instead of >sending that to a Warning status I would like it to go straight to >Critical. I have tried using the check_snmp string, however it >requires a -w and -c, so it will only see it as a warning. ------------------------------------------------------- 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&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 From ssmith at siu.edu Thu Apr 20 19:05:28 2006 From: ssmith at siu.edu (Scott Smith) Date: Thu, 20 Apr 2006 12:05:28 -0500 Subject: SNMP Check straight to Critical In-Reply-To: References: Message-ID: <4447BF58.5070408@siu.edu> An HTML attachment was scrubbed... URL: From kylet at panix.com Thu Apr 20 19:06:57 2006 From: kylet at panix.com (Kyle Tucker) Date: Thu, 20 Apr 2006 13:06:57 -0400 (EDT) Subject: SNMP Check straight to Critical In-Reply-To: <4447B9DE.3030808@siu.edu> References: <4447B9DE.3030808@siu.edu> Message-ID: <200604201706.k3KH6vf06414@panix2.panix.com> > I want to be able to send an SMMP check straight to critical instead of > warning. I.e. a Wireless AP Interface has UP and Down. So instead of > sending that to a Warning status I would like it to go straight to > Critical. I have tried using the check_snmp string, however it requires > a -w and -c, so it will only see it as a warning. My check_snmp command from the 1.4.2 plugins allows me to just use a -c arg and I use it a lot so that any non-zero return triggers critical. # ls -l /usr/local/src/nagios-plugins-1.4.2/plugins/check_snmp -rwxr-xr-x 1 root root 509072 Mar 6 14:14 /usr/local/src/nagios-plugins-1.4.2/plugins/check_snmp # ls -l /usr/local/nagios/libexec/check_snmp -rwxr-xr-x 1 root root 509072 Mar 6 14:14 /usr/local/nagios/libexec/check_snmp # /usr/local/nagios/libexec/check_snmp -u "load average" -t 3 -P 3 -H some.loaded.host -L authPriv -U xxxxx -a MD5 -A xxxxx -X xxxxx -o laLoad.2 -c 0 SNMP CRITICAL - *1* load average | UCD-SNMP-MIB::laLoad.2=1;;;; -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- 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 shoktai at gmail.com Thu Apr 20 20:18:36 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 20 Apr 2006 20:18:36 +0200 Subject: Upgrading from 1.3 to 2.2 In-Reply-To: <1145467653.9579.12.camel@localhost> References: <4446272F.8020908@gmail.com> <302ce8b50604190517pb9390bof7b05d165af98090@mail.gmail.com> <44463004.1020307@cloud9.co.uk> <1145467653.9579.12.camel@localhost> Message-ID: <619cf3c0604201118p5fc71515q3d93d1ea8ca02b58@mail.gmail.com> well it was not true i get replies and finally was able to import old nagios-1.3 files imported into fruity 2006/4/19, Gapy : > > Le mercredi 19 avril 2006 ? 13:41 +0100, James Fidell a ?crit : > > Jim Perrin wrote: > > > On 4/19/06, ThomasC. wrote: > > > > > >>Hi Guys, > > >> > > >>What is the most easy and enjoyable way to upgrade from nagios 1.3 to > > >>version 2.2 ? > > > > > > > > > Enjoyable? Not overly sure about that one.... > > > I stood up a second nagios system with notifications turned off and > > > recreated everything. It gave me a chance to better template things. > > > The config file formats have been redone, so if you just move them > > > over, you'll be bitten by a bunch of little things. > > > > > > You might be able to import your configs into a tool like fruity, and > > > then export them as 2.x, but that might be more work than reward. > > > > I'm in the middle of doing just this at the moment and fully concur. > > It's a reasonably large configuration I'm working with (a total of > > around 1500 checks over ~130 hosts), but I've found no useful short > > cuts and had to slog through everything by hand. > > > > James > > It is said in Fruity homepage, that it can take nagios-1.3 conf files, i > installed it but so far i can't get it import properly the old > nagios.cfg and cgi.cfg files, it displays no errors but import 0 host, 0 > service, 0...besides the mailing list there doesnt look so active. > > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.kimura at baesystems.com Thu Apr 20 22:17:22 2006 From: bill.kimura at baesystems.com (Bill Kimura) Date: Thu, 20 Apr 2006 16:17:22 -0400 Subject: Windows 2003 server OID for uptime? Message-ID: Does anyone know what the snmp OID is for reporting system uptime on a Windows 2003 server? I've looked at both hrSystemUptime.0 and sysUpTime.0, but neither agree with the output of "net statistics server" on the actual server. Any help would be greatly appreciated. Thanks, - Bill ------------------------------------------------------- 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 az at whoever.org Thu Apr 20 22:58:25 2006 From: az at whoever.org (Az) Date: Fri, 21 Apr 2006 06:58:25 +1000 Subject: disabling notifications for a host In-Reply-To: <9570F1681AC3D5498D54FC9D4A6FADABFD2780@blums0017.alphatech.com> References: <9570F1681AC3D5498D54FC9D4A6FADABFD2780@blums0017.alphatech.com> Message-ID: <4447F5F1.3060305@whoever.org> Kimura, Bill (US SSA) wrote: >Is there an easy way to disable notifications globally >for a given host, or does it require modifying each >of the individual services, etc.? I was hoping I could >do something like set "notifications_enabled 0" in the >hosts.cfg for the given host, but I'm still receiving >notifications for all the services that this host is a member >of. > > Notification control is seperate for hosts and services. You could use a service template to disable (service) notifications and inherit that into each relevant service definition. ------------------------------------------------------- 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 az at whoever.org Thu Apr 20 23:00:16 2006 From: az at whoever.org (Az) Date: Fri, 21 Apr 2006 07:00:16 +1000 Subject: dollar sign in check_command In-Reply-To: References: Message-ID: <4447F660.1090507@whoever.org> IIRC, we ran into the same issue. I dont have access to my configs at this moment, but I am fairly sure we used two dollar signs. > check_command check_nt_service!SQLAgent$SPSQL > > check_command check_nt_service!SQLAgent$$SPSQL Ugly, isnt it. :) ------------------------------------------------------- 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 SrvFaucon at cslaval.qc.ca Thu Apr 20 23:07:56 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 20 Apr 2006 17:07:56 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20Monitor=20DHCP=20Se?= =?ISO-8859-1?Q?rver=20[]?= Message-ID: ls -lh -rwxr-xr-x 1 root root 108K Mar 8 11:19 check_dhcp Mine is root.root and work for the binding. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> Melkiades 2006-04-20 08:14:22 >>> Hi there NAGIOS FAQ F0074: "How do I monitor DHCP services on my network?" [..]Note that the plugin *must* best installed suid root in order to run, as it binds to a privileged port (UDP 67) in order to listen to DHCPOFFER packets. -------------------------------------------------------------------------------------------------------- #ls -lpsa -rwxr-xr-x 1 nagios nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... #chown root:nagios check_dhcp #chmod 4710 check_dhcp #ls -lpsa -rws--x--- 1 root nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... -------------------------------------------------------------------------------------------------------- Any help? Thanks! ------------------------------------------------------- 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&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?cmd=lnk&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 From shoktai at gmail.com Thu Apr 20 14:51:59 2006 From: shoktai at gmail.com (ThomasC.) Date: Thu, 20 Apr 2006 14:51:59 +0200 Subject: Exchange database monitoring size Message-ID: <444783EF.3060809@gmail.com> Hi, Is there's anyone monitoring the size of MS Exchange database ? As far as i know, there is a perl script that checks filesize of one file but not two... Exchange database is made of two files i assume (priv1.stm & priv1.edb). Thanks. ------------------------------------------------------- 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 jakosalem at telpacific.com.au Fri Apr 21 04:06:55 2006 From: jakosalem at telpacific.com.au (ECJ) Date: Fri, 21 Apr 2006 12:06:55 +1000 (EST) Subject: (no subject) Message-ID: <2992.203.88.231.77.1145585215.squirrel@203.88.231.77> Hello all, I have been googling for the last week for this 'No Output' problem. Sadly I can't find any helpful solution so I am bringing this up to the list. I am running Nagios 1.2 to monitor routers and Unix/Linux servers for sometime now without any issue. But a few days ago, I added an entry to my config files to monitor a Windows server. The only correct thing I can see is that it sees that the server is up. Other than that, all I see are 'No output' critical errors. The other thing is that I see a valid output using command line. Here is my entry in the checkcommands.cfg file: define command{ command_name check_win_mem command_line /usr/lib/nagios/plugins/check_win_mem.pl $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ } And here is the entry in the hosts.cfg file: define service{ use check-windows-generic host_name my-server contact_groups windows_admin service_description MEM Usage check_command check_win_mem!public!50!90! } When I run /usr/lib/nagios/plugins/check_win_mem.pl , it gives me a useful output. But when it comes to the web interface, I only see 'No output.' I know this can be done but just don't know what else to do. I hope someone can help me out. Thanks a heap in advance!!! Cheers, Edward ------------------------------------------------------- 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 wrjacqmein at gmail.com Fri Apr 21 04:09:30 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Thu, 20 Apr 2006 22:09:30 -0400 Subject: Exchange database monitoring size In-Reply-To: <444783EF.3060809@gmail.com> References: <444783EF.3060809@gmail.com> Message-ID: <3c9a5bae0604201909u79ed6109i2aec303217f7e484@mail.gmail.com> Nagios Client with filesize check: http://nscplus.medin.name/index.php/CheckFileSize On 4/20/06, ThomasC. wrote: > Hi, > > Is there's anyone monitoring the size of MS Exchange database ? > As far as i know, there is a perl script that checks filesize of one > file but not two... > Exchange database is made of two files i assume (priv1.stm & priv1.edb). > > Thanks. > > > ------------------------------------------------------- > 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&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 From jakosalem at telpacific.com.au Fri Apr 21 04:12:57 2006 From: jakosalem at telpacific.com.au (ECJ) Date: Fri, 21 Apr 2006 12:12:57 +1000 (EST) Subject: That "No Output" Error Message-ID: <3050.203.88.231.77.1145585577.squirrel@203.88.231.77> Hello all, I have been googling for the last week for this 'No Output' problem. Sadly I can't find any helpful solution so I am bringing this up to the list. I am running Nagios 1.2 to monitor routers and Unix/Linux servers for sometime now without any issue. But a few days ago, I added an entry to my config files to monitor a Windows server. The only correct thing I can see is that it sees that the server is up. Other than that, all I see are 'No output' critical errors. The other thing is that I see a valid output using command line. Here is my entry in the checkcommands.cfg file: define command{ command_name check_win_mem command_line /usr/lib/nagios/plugins/check_win_mem.pl $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ } And here is the entry in the hosts.cfg file: define service{ use check-windows-generic host_name my-server contact_groups windows_admin service_description MEM Usage check_command check_win_mem!public!50!90! } When I run /usr/lib/nagios/plugins/check_win_mem.pl , it gives me a useful output. But when it comes to the web interface, I only see 'No output.' I know this can be done but just don't know what else to do. I hope someone can help me out. Thanks a heap in advance!!! Cheers, Edward ------------------------------------------------------- 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 wrjacqmein at gmail.com Fri Apr 21 04:15:47 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Thu, 20 Apr 2006 22:15:47 -0400 Subject: (no subject) In-Reply-To: <2992.203.88.231.77.1145585215.squirrel@203.88.231.77> References: <2992.203.88.231.77.1145585215.squirrel@203.88.231.77> Message-ID: <3c9a5bae0604201915j2c559747t87de50049b65fd59@mail.gmail.com> Edward, Some quick check the power type questions: Does it work as the user nagios? Ive had to put the /path/to/perl in the check_command to get some of the perl stuff to work back in the 1.3 age. Probably could have fixed it with pathes but it was just clearer to put it in the check command. Bill On 4/20/06, ECJ wrote: > Hello all, > > I have been googling for the last week for this 'No Output' problem. Sadly > I can't find any helpful solution so I am bringing this up to the list. I > am running Nagios 1.2 to monitor routers and Unix/Linux servers for > sometime now without any issue. But a few days ago, I added an entry to my > config files to monitor a Windows server. The only correct thing I can see > is that it sees that the server is up. Other than that, all I see are 'No > output' critical errors. The other thing is that I see a valid output > using command line. > > Here is my entry in the checkcommands.cfg file: > define command{ > command_name check_win_mem > command_line /usr/lib/nagios/plugins/check_win_mem.pl > $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ > } > > And here is the entry in the hosts.cfg file: > define service{ > use check-windows-generic > host_name my-server > contact_groups windows_admin > service_description MEM Usage > check_command check_win_mem!public!50!90! > } > > When I run > /usr/lib/nagios/plugins/check_win_mem.pl , > it gives me a useful output. But when it comes to the web interface, I > only see 'No output.' I know this can be done but just don't know what > else to do. I hope someone can help me out. > > Thanks a heap in advance!!! > > Cheers, > > Edward > > > > ------------------------------------------------------- > 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&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 From jakosalem at telpacific.com.au Fri Apr 21 04:33:16 2006 From: jakosalem at telpacific.com.au (ECJ) Date: Fri, 21 Apr 2006 12:33:16 +1000 (EST) Subject: That "No Output" Error In-Reply-To: <3c9a5bae0604201915j2c559747t87de50049b65fd59@mail.gmail.com> References: <2992.203.88.231.77.1145585215.squirrel@203.88.231.77> <3c9a5bae0604201915j2c559747t87de50049b65fd59@mail.gmail.com> Message-ID: <3233.203.88.231.77.1145586796.squirrel@203.88.231.77> Well I'll be damned! That's it! I just needed to add the full path to perl in the command_line on the checkcommands.cfg file. Now it works like a charm. Now my entry in the checkcommands.cfg file looks like this: define command{ command_name check_win_mem command_line /usr/bin/perl /usr/lib/nagios/plugins/check_win_mem.pl $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ } Thanks a lot Bill! > Edward, > > Some quick check the power type questions: > Does it work as the user nagios? > Ive had to put the /path/to/perl in the check_command to get > some of the perl stuff to work back in the 1.3 age. Probably could > have fixed it with pathes but it was just clearer to put it in the > check command. > > Bill > > > On 4/20/06, ECJ wrote: >> Hello all, >> >> I have been googling for the last week for this 'No Output' problem. >> Sadly >> I can't find any helpful solution so I am bringing this up to the list. >> I >> am running Nagios 1.2 to monitor routers and Unix/Linux servers for >> sometime now without any issue. But a few days ago, I added an entry to >> my >> config files to monitor a Windows server. The only correct thing I can >> see >> is that it sees that the server is up. Other than that, all I see are >> 'No >> output' critical errors. The other thing is that I see a valid output >> using command line. >> >> Here is my entry in the checkcommands.cfg file: >> define command{ >> command_name check_win_mem >> command_line /usr/lib/nagios/plugins/check_win_mem.pl >> $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ >> } >> >> And here is the entry in the hosts.cfg file: >> define service{ >> use check-windows-generic >> host_name my-server >> contact_groups windows_admin >> service_description MEM Usage >> check_command check_win_mem!public!50!90! >> } >> >> When I run >> /usr/lib/nagios/plugins/check_win_mem.pl , >> it gives me a useful output. But when it comes to the web interface, I >> only see 'No output.' I know this can be done but just don't know what >> else to do. I hope someone can help me out. >> >> Thanks a heap in advance!!! >> >> Cheers, >> >> Edward >> >> >> >> ------------------------------------------------------- >> 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&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 > Cheers, Edward ------------------------------------------------------- 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 d.wuethrich.h at gmx.net Fri Apr 21 07:38:42 2006 From: d.wuethrich.h at gmx.net (=?ISO-8859-1?Q?=22D=2E_W=FCthrich=22?=) Date: Fri, 21 Apr 2006 07:38:42 +0200 Subject: Monitor DHCP Server [] In-Reply-To: References: Message-ID: <44486FE2.5040904@gmx.net> Hi I use 'sudo' with the 'NOPASSWD' option for the dhcp-check - not the best solution but it works ... Daniel Melkiades wrote: > Hi there > > NAGIOS FAQ F0074: "How do I monitor DHCP services on my network?" > > [..]Note that the plugin *must* best installed suid root in order to > run, as it binds to a privileged port (UDP 67) in order to listen to > DHCPOFFER packets. > > -------------------------------------------------------------------------------------------------------- > #ls -lpsa > -rwxr-xr-x 1 nagios nagios 56028 Mar 29 09:23 check_dhcp > > #./check_dhcp my.dhcp.server > Error: Could not bind to DHCP socket (port 68)! Check your privileges... > > #chown root:nagios check_dhcp > #chmod 4710 check_dhcp > > #ls -lpsa > -rws--x--- 1 root nagios 56028 Mar 29 09:23 check_dhcp > > #./check_dhcp my.dhcp.server > Error: Could not bind to DHCP socket (port 68)! Check your privileges... > -------------------------------------------------------------------------------------------------------- > > Any help? > Thanks! > > > ------------------------------------------------------- > 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?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 Jorg.Schulz at systeam.se Fri Apr 21 07:58:19 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Fri, 21 Apr 2006 07:58:19 +0200 Subject: Windows 2003 server OID for uptime? In-Reply-To: References: Message-ID: Hej Bill i tried this on our W2003 server (HP) the check plugin called check_snmp_cpquptime $USER1$/check_snmp -H $HOSTADDRESS$ -o compaq.19.2.2.2.0 -l 'System Uptime' $ARG1 -C public try with SNMP /usr/local/nagios/libexec/check_snmp -H -o compaq.19.2.2.2.0 -l 'System Uptime' -C public output System Uptime OK - "9 Day(s) 4 Hour(s) 42 Minute(s) 8 Second(s)" | CPQHOST-MIB::compaq.19.2.2.2.0="9 Day(s) 4 Hour(s) 42 Minute(s) 8 Second(s)";;;; If you have another Hardware try to find the OID from http://www.oidview.com/mibs/detail.html Best regards J?rg Schulz SYSteam Kalmar AB Str?mgatan 15 Box 99, 391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se Webb www.systeam.se Bill Kimura Sent by: nagios-users-admin at lists.sourceforge.net 2006-04-20 22:17 To cc Subject [Nagios-users] Windows 2003 server OID for uptime? Does anyone know what the snmp OID is for reporting system uptime on a Windows 2003 server? I've looked at both hrSystemUptime.0 and sysUpTime.0, but neither agree with the output of "net statistics server" on the actual server. Any help would be greatly appreciated. Thanks, - Bill ------------------------------------------------------- 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: From melkiades at gmail.com Fri Apr 21 08:31:46 2006 From: melkiades at gmail.com (Melkiades) Date: Fri, 21 Apr 2006 08:31:46 +0200 Subject: Monitor DHCP Server [] In-Reply-To: <44486FE2.5040904@gmx.net> References: <44486FE2.5040904@gmx.net> Message-ID: Hi! -------------------------------------------------------------------------- -------------------------------------------------------------------------- > [D. W?thrich] > I use 'sudo' with the 'NOPASSWD' option for the dhcp-check - not the best > solution but it works ... # sudo /usr/local/nagios/libexec/check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... -------------------------------------------------------------------------- -------------------------------------------------------------------------- > [C. Bensend] > You're not on a disk partition mounted nosuid, are you? Only one "/" partition # df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 3678728 2688596 990132 74% / tmpfs 127316 0 127316 0% /dev/shm -------------------------------------------------------------------------- -------------------------------------------------------------------------- > [SrvFaucon] > ls -lh > -rwxr-xr-x 1 root root 108K Mar 8 11:19 check_dhcp > Mine is root.root and work for the binding. # chown root:root /usr/local/nagios/libexec/check_dhcp #/usr/local/nagios/libexec/check_dhcp -s 10.1.2.97 -v DHCP socket: 3 Error: Could not bind to DHCP socket (port 68)! Check your privileges... -------------------------------------------------------------------------- -------------------------------------------------------------------------- More info: NAGIOS: SuSE Linux 10 OSS (kernel 2.6.13-15.8-smp) && Nagios v2.1 DHCP: Win2003 + MS DHCP Server I does not work :-( Thanks for your help. ------------------------------------------------------- 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&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 From me at renux.de Fri Apr 21 09:57:34 2006 From: me at renux.de (Rene Fertig) Date: Fri, 21 Apr 2006 09:57:34 +0200 Subject: Monitor DHCP Server [] In-Reply-To: References: <44486FE2.5040904@gmx.net> Message-ID: <200604210957.35518.me@renux.de> Hi. Am Freitag, 21. April 2006 08:31 schrieb Melkiades: > More info: > NAGIOS: SuSE Linux 10 OSS (kernel 2.6.13-15.8-smp) && Nagios v2.1 > DHCP: Win2003 + MS DHCP Server > I am running nagios on SuSE 10, too, and without problems like this. check_dhcp is set suid (by make install, AFAIR): ll check_dhcp -rwsr-xr-x 1 root root 56032 Mar 20 15:16 check_dhcp ./check_dhcp -s 192.168.130.200 DHCP ok: Received 1 DHCPOFFER(s), 1 of 1 requested servers responded, max lease time = 3600 sec. I don't know if that matters, but I have compiled nagios an the plugings (still 1.4.2) by myself. I'm not using the rpm's comming with SuSE. Perhaps you have played with /etc/permissions? Check /var/log/messages if there is any hint. Bye, Rene ------------------------------------------------------- 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 melkiades at gmail.com Fri Apr 21 10:23:55 2006 From: melkiades at gmail.com (Melkiades) Date: Fri, 21 Apr 2006 10:23:55 +0200 Subject: Monitor DHCP Server [] In-Reply-To: <200604210957.35518.me@renux.de> References: <44486FE2.5040904@gmx.net> <200604210957.35518.me@renux.de> Message-ID: > [Rene] > I don't know if that matters, but I have compiled nagios an the plugings > (still 1.4.2) by myself. I'm not using the rpm's comming with SuSE. Hi, me too. I've installed from Nagio's tgz. # pwd /opt/nagios/nagios-plugins-1.4.2/plugins # ls -lsa | grep dhcp 56 -rwxr-xr-x 1 root root 56028 Mar 14 14:57 check_dhcp 36 -rw-r--r-- 1 root root 34869 Jan 25 2005 check_dhcp.c 32 -rw-r--r-- 1 root root 31540 Mar 14 14:57 check_dhcp.o # rm check_dhcp # make check_dhcp gcc -g -O2 -L. -o check_dhcp check_dhcp.o netutils.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -I/usr/include # ls -ls|grep dhcp 56 -rwxr-xr-x 1 root root 56028 Apr 21 10:21 check_dhcp 36 -rw-r--r-- 1 root root 34869 Jan 25 2005 check_dhcp.c 32 -rw-r--r-- 1 root root 31540 Mar 14 14:57 check_dhcp.o # sudo /opt/nagios/nagios-plugins-1.4.2/plugins/check_dhcp -s my.dhcp.server -v DHCP socket: 3 Error: Could not bind to DHCP socket (port 68)! Check your privileges... ------------------------------------------------------- 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&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 From lars.bruun-hansen at nordea.com Fri Apr 21 10:50:21 2006 From: lars.bruun-hansen at nordea.com (lars.bruun-hansen at nordea.com) Date: Fri, 21 Apr 2006 11:50:21 +0300 Subject: disabling notifications for a host Message-ID: <02A80999ABFD6C418E9EDA7CCD41929C017D29B6@fid1ms09.fid1.root4.net> Bill, I had similar question. As do a lot other on the list. I think the common denominator for those questions is that people a looking for a way to let the service notification setting be derived from the host notification setting. In my posting https://sourceforge.net/mailarchive/message.php?msg_id=15380227 I've made a suggestion for that. Are we in sync that this is what we need? Or are we talking about different things ? If so I think we should raise it is a change request to Nagios Core. Lars -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Az Sent: Thursday, April 20, 2006 22:58 To: Kimura, Bill (US SSA) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] disabling notifications for a host Kimura, Bill (US SSA) wrote: >Is there an easy way to disable notifications globally for a given >host, or does it require modifying each of the individual services, >etc.? I was hoping I could do something like set >"notifications_enabled 0" in the hosts.cfg for the given host, but I'm >still receiving notifications for all the services that this host is a >member of. > > Notification control is seperate for hosts and services. You could use a service template to disable (service) notifications and inherit that into each relevant service definition. ------------------------------------------------------- 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&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 From me at renux.de Fri Apr 21 10:58:39 2006 From: me at renux.de (Rene Fertig) Date: Fri, 21 Apr 2006 10:58:39 +0200 Subject: Monitor DHCP Server [] In-Reply-To: References: <200604210957.35518.me@renux.de> Message-ID: <200604211058.40663.me@renux.de> Am Freitag, 21. April 2006 10:23 schrieb Melkiades: > # make check_dhcp > gcc -g -O2 -L. -o check_dhcp check_dhcp.o netutils.o utils.o > ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -I/usr/include > > # ls -ls|grep dhcp > 56 -rwxr-xr-x 1 root root 56028 Apr 21 10:21 check_dhcp > 36 -rw-r--r-- 1 root root 34869 Jan 25 2005 check_dhcp.c > 32 -rw-r--r-- 1 root root 31540 Mar 14 14:57 check_dhcp.o > > # sudo /opt/nagios/nagios-plugins-1.4.2/plugins/check_dhcp -s > my.dhcp.server -v DHCP socket: 3 > Error: Could not bind to DHCP socket (port 68)! Check your privileges... You're still in the compliation directory. check_dhcp is not set suid. If you do "make install" it will be copied to the plugin directory (usually /usr/local/nagios/libexec) and will get suid BUT as it seems you're execute check_dhcp as root in the example above (according to the '#'). This should work! Perhaps the problem isn't check_dhcp, but there's missing something... Please try to run check_dhcp directly as root without sudo. If this work, try chmod u+s check_dhcp and then run it as a normal user like su - rene cd /opt/nagios/nagios-plugins-1.4.2/plugins ./check_dhcp -s my.dhcp.server In the meantime I have compiled and updated to plugins 1.4.3. There are no problems with check_dhcp, execpt that make install didn't set the execution permissions for all users. So if nagios runs as user daemon one need to make chmod a+x check_dhcp Bye, Rene ------------------------------------------------------- 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 melkiades at gmail.com Fri Apr 21 11:34:39 2006 From: melkiades at gmail.com (Melkiades) Date: Fri, 21 Apr 2006 11:34:39 +0200 Subject: Monitor DHCP Server [] In-Reply-To: <200604211058.40663.me@renux.de> References: <200604210957.35518.me@renux.de> <200604211058.40663.me@renux.de> Message-ID: > [Rene] > You're still in the compliation directory. check_dhcp is not set suid. > If you do "make install" it will be copied to the plugin directory > (usually /usr/local/nagios/libexec) and will get suid > BUT as it seems you're execute check_dhcp as root in the example above > (according to the '#'). This should work! Perhaps the problem isn't > check_dhcp, but there's missing something... > Please try to run check_dhcp directly as root without sudo. So, as root # rm /opt/nagios/nagios-plugins-1.4.2/plugins/check_dhcp # rm /usr/local/nagios/libexec/check_dhcp # cd /opt/nagios/nagios-plugins-1.4.2/plugins/ # make check_dhcp gcc -g -O2 -L. -o check_dhcp check_dhcp.o netutils.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -I/usr/include # make install make[1]: Entering directory `/opt/nagios/nagios-plugins-1.4.2/plugins' mkdir -m 0755 -p -- /usr/local/nagios/libexec /usr/bin/install -c check_dhcp /usr/local/nagios/libexec/check_dhcp ... # ll /opt/nagios/nagios-plugins-1.4.2/plugins/check_dhcp -rwxr-xr-x 1 root root 56028 Apr 21 11:26 check_dhcp # ll /usr/local/nagios/libexec/check_dhcp -rwxr-xr-x 1 root root 56028 Apr 21 11:26 check_dhcp # cd /usr/local/nagios/libexec # ./check_dhcp -s 10.1.2.97 -v DHCP socket: 3 Error: Could not bind to DHCP socket (port 68)! Check your privileges... :-( Thanks for your help, Rene ------------------------------------------------------- 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&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 From JasonFrank at srcp.com Fri Apr 21 16:39:46 2006 From: JasonFrank at srcp.com (Frank, Jason) Date: Fri, 21 Apr 2006 09:39:46 -0500 Subject: Monitor DHCP Server [] Message-ID: <741E24F735AED141B61948AC155E7DAA905765@CORPDALLMSG05.na.srcp.net> There are several reasons to fail to bind a low numbered port. The most obvious is not having root privileges. If you running as root (regardless if the program is setuid root), that is not in play. The second most obvious is that something else is already listening on that port. I'd check that next. Jason -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Melkiades Sent: Friday, April 21, 2006 4:35 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: Monitor DHCP Server [] > [Rene] > You're still in the compliation directory. check_dhcp is not set suid. > If you do "make install" it will be copied to the plugin directory > (usually /usr/local/nagios/libexec) and will get suid BUT as it seems > you're execute check_dhcp as root in the example above (according to > the '#'). This should work! Perhaps the problem isn't check_dhcp, but > there's missing something... > Please try to run check_dhcp directly as root without sudo. So, as root # rm /opt/nagios/nagios-plugins-1.4.2/plugins/check_dhcp # rm /usr/local/nagios/libexec/check_dhcp # cd /opt/nagios/nagios-plugins-1.4.2/plugins/ # make check_dhcp gcc -g -O2 -L. -o check_dhcp check_dhcp.o netutils.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -I/usr/include # make install make[1]: Entering directory `/opt/nagios/nagios-plugins-1.4.2/plugins' mkdir -m 0755 -p -- /usr/local/nagios/libexec /usr/bin/install -c check_dhcp /usr/local/nagios/libexec/check_dhcp ... # ll /opt/nagios/nagios-plugins-1.4.2/plugins/check_dhcp -rwxr-xr-x 1 root root 56028 Apr 21 11:26 check_dhcp # ll /usr/local/nagios/libexec/check_dhcp -rwxr-xr-x 1 root root 56028 Apr 21 11:26 check_dhcp # cd /usr/local/nagios/libexec # ./check_dhcp -s 10.1.2.97 -v DHCP socket: 3 Error: Could not bind to DHCP socket (port 68)! Check your privileges... :-( Thanks for your help, Rene ------------------------------------------------------- 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 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 ------------------------------------------------------- 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&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 From rouilj at cs.umb.edu Fri Apr 21 16:56:56 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Fri, 21 Apr 2006 10:56:56 -0400 Subject: Monitor DHCP Server [] In-Reply-To: Your message of "Fri, 21 Apr 2006 08:31:46 +0200." References: Message-ID: <200604211456.k3LEuuT5027765@mx1.cs.umb.edu> In message , Melkiades writes: >Hi! >-------------------------------------------------------------------------- >-------------------------------------------------------------------------- >> [D. W?thrich] >> I use 'sudo' with the 'NOPASSWD' option for the dhcp-check - not the best >> solution but it works ... > ># sudo /usr/local/nagios/libexec/check_dhcp my.dhcp.server >Error: Could not bind to DHCP socket (port 68)! Check your privileges... >-------------------------------------------------------------------------- I am assuming that sudo works for other purposes so your solo partition is not mounted nosuid. Well since most of the obvious causes are taken care of is anything already bound to port 68? Check netstat. Other than that analyse the strace output and see if that helps. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- 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 rouilj at cs.umb.edu Fri Apr 21 16:58:28 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Fri, 21 Apr 2006 10:58:28 -0400 Subject: Monitor DHCP Server [] In-Reply-To: Your message of "Fri, 21 Apr 2006 09:57:34 +0200." <200604210957.35518.me@renux.de> References: <200604210957.35518.me@renux.de> Message-ID: <200604211458.k3LEwSO1027935@mx1.cs.umb.edu> In message <200604210957.35518.me at renux.de>, Rene Fertig writes: >Am Freitag, 21. April 2006 08:31 schrieb Melkiades: >> More info: >> NAGIOS: SuSE Linux 10 OSS (kernel 2.6.13-15.8-smp) && Nagios v2.1 >> DHCP: Win2003 + MS DHCP Server >> >I am running nagios on SuSE 10, too, and without problems like this. > >check_dhcp is set suid (by make install, AFAIR): > >ll check_dhcp >-rwsr-xr-x 1 root root 56032 Mar 20 15:16 check_dhcp > >./check_dhcp -s 192.168.130.200 >DHCP ok: Received 1 DHCPOFFER(s), 1 of 1 requested servers responded, max >lease time = 3600 sec. > >I don't know if that matters, but I have compiled nagios an the plugings >(still 1.4.2) by myself. I'm not using the rpm's comming with SuSE. > >Perhaps you have played with /etc/permissions? Check /var/log/messages if >there is any hint. Another idea. See if SE (security enhanced) linux is running. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- 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 fabio at link.it Fri Apr 21 19:14:36 2006 From: fabio at link.it (Fabio Lo Votrico) Date: Fri, 21 Apr 2006 19:14:36 +0200 Subject: Cross authorizations for contacts Message-ID: <1145639676.6411.52.camel@fire.sede-pisa.link.it> Hi all, I'm using Nagios 2 and I want to define a contact who can see hosts status and the status of only some of their services. If I assign only these services to this contact, he can't see the status of the host. If I assign the host to this contact he automatically can see all this host's services, even if they are assigned to someone else. Example of what I want to do: contacts: contact1, contact2 servicegroups: group1, group2 contact1 can see everything contact1 can see host status and only service status of group1 (I use servicegroups in this example only for simplicity, they are not required) Is there a way to obtain this? thanks! -- Fabio ------------------------------------------------------- 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 bill.kimura at baesystems.com Fri Apr 21 19:39:41 2006 From: bill.kimura at baesystems.com (Kimura, Bill (US SSA)) Date: Fri, 21 Apr 2006 13:39:41 -0400 Subject: nagios-new folder Message-ID: <9570F1681AC3D5498D54FC9D4A6FADAB0102FAAF@blums0017.alphatech.com> Chris, It does appear to be a little newer based on the dll reported version. Thanks, Bill Kimura Senior Unix Administrator BAE Systems Advanced Information Technologies 6 New England Executive Park Burlington, MA 01803 Phone: 781-273-3388 x545 Cell: 781-389-2572 Email: bill.kimura at baesystems.com ------------------------------------------------------- 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&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 From mkoponick at redhawk.info Sat Apr 22 01:52:11 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Fri, 21 Apr 2006 16:52:11 -0700 Subject: NDO - Notifications Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD443FF51@raptor.redhawk.info> Hello Everyone, I was wondering I currently have Nagios configured to notify me after it has seen a problem twice, which means I have the retry value set to two. This works fine for me since I don't want to get notified if there is some sort of anomaly on the network. My issue is that Nagios is writing to the MySQL NDO tables. When I query the table for the current status, I see "Critical" for a particular host/service, but it appears to be seeing the FIRST attempt which is where I don't get notified, which is OK. I'm almost OK with living with it but would like NOT to see the Critical messages in NDO. Is there a configuration option that I am missing? 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&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 From cshaffer at gmail.com Sat Apr 22 02:36:46 2006 From: cshaffer at gmail.com (Curt Shaffer) Date: Fri, 21 Apr 2006 20:36:46 -0400 Subject: web interface oddity Message-ID: <000801c665a4$d65e3d20$181b10ac@betsy> I have a weird issue going on with a new Nagios install. I am running 2.2 (although I was on 2.0 and tried 2.1 then 2.2 to fix this) on CentOS 4 built from source, Apache 2.0.52-22, kernel version 2.6.9-34.EL. So here is my issue. I started by adding some NRPE checks for my Windows servers. I then went in to add check_icmp via generic-services (it was check-ping previously) I modify the parameters to fit etc, etc. I restart Nagios and cruse on over to the web interface and click service detail and there they are in a pending state, all is well. I wait around for the checks to happen and as soon as the page refreshes or if I go to another link on Nagios then back to service detail those checks only are gone! Completely gone! I restart Nagios and go back to the web interface -> Service detail and there they are in a pending state, then after a refresh or change to another link and back, gone again! Happens every time. The odd thing is it doesn't happen all of the time. What I mean is that if I continue to click to different links and back they will come back then some continued refreshing or changing of links will make them disappear. Sometimes they will stay there for a bit but you can guarantee sooner or later they will disappear. To add to the oddity, those checks all show as warning even though the perfdata is showing that it is not in a warning state per my definition and a manual run from the command line shows OK. Now just to make sure I didn't do something stupid with configs I did a diff on this section on this config vurses a config that I have on another Nagios box doing the same exact check (running 2.1 btw) and they are identical. I hate to say it but this really sounds like a bug but I am willing to try some suggestions if anyone out there has any. Thanks Curt -------------- 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: 3115 bytes Desc: not available URL: From teng at dataway.com Sat Apr 22 02:43:58 2006 From: teng at dataway.com (Tedman Eng) Date: Fri, 21 Apr 2006 17:43:58 -0700 Subject: web interface oddity Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D72@dw-mail.dataway.com> This sounds like an old Nagios 1.x problem: Hosts and services intermittently disappear from the web interface http://www.nagios.org/faqs/viewfaq.php?faq_id=21 stop the nagios service check for straggler nagios processes kill any you find start nagios -----Original Message----- From: Curt Shaffer [mailto:cshaffer at gmail.com] Sent: Friday, April 21, 2006 5:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] web interface oddity I have a weird issue going on with a new Nagios install. I am running 2.2 (although I was on 2.0 and tried 2.1 then 2.2 to fix this) on CentOS 4 built from source, Apache 2.0.52-22, kernel version 2.6.9-34.EL. So here is my issue. I started by adding some NRPE checks for my Windows servers. I then went in to add check_icmp via generic-services (it was check-ping previously) I modify the parameters to fit etc, etc. I restart Nagios and cruse on over to the web interface and click service detail and there they are in a pending state, all is well. I wait around for the checks to happen and as soon as the page refreshes or if I go to another link on Nagios then back to service detail those checks only are gone! Completely gone! I restart Nagios and go back to the web interface -> Service detail and there they are in a pending state, then after a refresh or change to another link and back, gone again! Happens every time. The odd thing is it doesn't happen all of the time. What I mean is that if I continue to click to different links and back they will come back then some continued refreshing or changing of links will make them disappear. Sometimes they will stay there for a bit but you can guarantee sooner or later they will disappear. To add to the oddity, those checks all show as warning even though the perfdata is showing that it is not in a warning state per my definition and a manual run from the command line shows OK. Now just to make sure I didn't do something stupid with configs I did a diff on this section on this config vurses a config that I have on another Nagios box doing the same exact check (running 2.1 btw) and they are identical. I hate to say it but this really sounds like a bug but I am willing to try some suggestions if anyone out there has any. Thanks Curt ------------------------------------------------------- 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 cshaffer at gmail.com Sat Apr 22 02:53:57 2006 From: cshaffer at gmail.com (Curt Shaffer) Date: Fri, 21 Apr 2006 20:53:57 -0400 Subject: web interface oddity In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D72@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D72@dw-mail.dataway.com> Message-ID: <001101c665a7$3e09a0c0$181b10ac@betsy> Right on top of that! That was it! Odd. I wonder how that happened. I calling my partner now to check how he is starting the process, maybe he is doing manual and I am using an init script? Thanks! Gatta love the community! Curt -----Original Message----- From: Tedman Eng [mailto:teng at dataway.com] Sent: Friday, April 21, 2006 8:44 PM To: 'Curt Shaffer'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] web interface oddity This sounds like an old Nagios 1.x problem: Hosts and services intermittently disappear from the web interface http://www.nagios.org/faqs/viewfaq.php?faq_id=21 stop the nagios service check for straggler nagios processes kill any you find start nagios -----Original Message----- From: Curt Shaffer [mailto:cshaffer at gmail.com] Sent: Friday, April 21, 2006 5:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] web interface oddity I have a weird issue going on with a new Nagios install. I am running 2.2 (although I was on 2.0 and tried 2.1 then 2.2 to fix this) on CentOS 4 built from source, Apache 2.0.52-22, kernel version 2.6.9-34.EL. So here is my issue. I started by adding some NRPE checks for my Windows servers. I then went in to add check_icmp via generic-services (it was check-ping previously) I modify the parameters to fit etc, etc. I restart Nagios and cruse on over to the web interface and click service detail and there they are in a pending state, all is well. I wait around for the checks to happen and as soon as the page refreshes or if I go to another link on Nagios then back to service detail those checks only are gone! Completely gone! I restart Nagios and go back to the web interface -> Service detail and there they are in a pending state, then after a refresh or change to another link and back, gone again! Happens every time. The odd thing is it doesn't happen all of the time. What I mean is that if I continue to click to different links and back they will come back then some continued refreshing or changing of links will make them disappear. Sometimes they will stay there for a bit but you can guarantee sooner or later they will disappear. To add to the oddity, those checks all show as warning even though the perfdata is showing that it is not in a warning state per my definition and a manual run from the command line shows OK. Now just to make sure I didn't do something stupid with configs I did a diff on this section on this config vurses a config that I have on another Nagios box doing the same exact check (running 2.1 btw) and they are identical. I hate to say it but this really sounds like a bug but I am willing to try some suggestions if anyone out there has any. Thanks Curt -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3115 bytes Desc: not available URL: From jsullivan at opensourcedevel.com Sat Apr 22 10:17:45 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Sat, 22 Apr 2006 04:17:45 -0400 Subject: Host RegEx in servicegroups members Message-ID: <1145693865.2924.58.camel@localhost> Hello, all. I'm thoroughly enjoying Nagios (I am very new to it) but am having a difficult time using regular expressions in Nagios 2.0 while trying to define members in a service group. I've even generated segfaults during the pre-flight check! use_regexp_matching=1 use_true_regexp_matching=0 Here is a segment of a large file which is causing me grief (I also tried without escaping the legitimate ".": define servicegroup{ servicegroup_name Tunnels2Buffalo alias Tunnels terminating in Buffalo members ^.*GW\.niag$,^Tun.*-10.[125]$ } #---------------------------------------------------------NiagaraRASGW define service{ host_name NiagaraRASGW.niag service_description Tun172.20.100-10.1 check_command check_tunnelping!atlas!172.20.100.1! 10.1.1.36!10.1.1.22 use NiagService } define service{ host_name NiagaraRASGW.niag service_description Tun172.20.98-10.1 check_command check_tunnelping!atlas!172.20.98.1! 10.1.1.36!10.1.1.22 use NiagService } define service{ host_name NiagaraRASGW.niag service_description Tun172.20.100-10.2 check_command check_tunnelping!atlas!172.20.100.1! 10.2.1.20!10.2.1.70 use NiagService } define service{ host_name NiagaraRASGW.niag service_description Tun172.20.98-10.2 check_command check_tunnelping!atlas!172.20.98.1! 10.2.1.20!10.2.1.70 use NiagService } Here is what I get on a pre-flight check: Checking service groups... Error: Service 'Tun10.50-10.1' on host '^.*GW\.niag$' specified in service group 'Tunnels2Buffalo' is not defined anywhere! Error: Service 'Tun10.50-10.2' on host '^.*GW\.niag$' specified in service group 'Tunnels2Buffalo' is not defined anywhere! Error: Service 'Tun10.50-10.5' on host '^.*GW\.niag$' specified in service group 'Tunnels2Buffalo' is not defined anywhere! Error: Service 'Tun10.51-10.1' on host '^.*GW\.niag$' specified in service group 'Tunnels2Buffalo' is not defined anywhere! Error: Service 'Tun10.51-10.2' on host '^.*GW\.niag$' specified in service group 'Tunnels2Buffalo' is not defined anywhere! Error: Service 'Tun10.51-10.5' on host '^.*GW\.niag$' specified in service group 'Tunnels2Buffalo' is not defined anywhere! And a whole lot more. The services are indeed in the file but it seems like it is interpreting the host name literally. I then changed the file to this (snippet): define servicegroup{ servicegroup_name Tunnels2Buffalo alias Tunnels terminating in Buffalo members ^.*GW\.niag$,Tun172.20.100-10.1 } #---------------------------------------------------------NiagaraRASGW define service{ host_name NiagaraRASGW.niag service_description Tun172.20.100-10.1 check_command check_tunnelping!atlas!172.20.100.1! 10.1.1.36!10.1.1.22 use NiagService } define service{ host_name NiagaraRASGW.niag service_description Tun172.20.98-10.1 check_command check_tunnelping!atlas!172.20.98.1! 10.1.1.36!10.1.1.22 use NiagService } Note that the service is an exact match of the first service listed. To my shock, I got this: [nagios at ltskbunk bin]$ ./nagios -v ../etc/nagios.cfg Nagios 2.0 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 02-07-2006 License: GPL Reading configuration data... Segmentation fault Can anyone tell me what is going on and what I am doing wrong? Using regexps would make my life dramatically easier on this moderately large installation. Thanks - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net ------------------------------------------------------- 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 shoktai at gmail.com Fri Apr 21 16:09:12 2006 From: shoktai at gmail.com (ThomasC.) Date: Fri, 21 Apr 2006 16:09:12 +0200 Subject: nsclient++ configuration, i am lost Message-ID: <4448E788.2020805@gmail.com> I installed nsclient++. Put in checkcommands.cfg according to documentation the check : define command { command_name check_exchangeDB command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckFileSize -a MaxWarn=15G MaxCrit=16G File=d:\Program Files\Exchsrvr\MDBDATA\priv1.stm File=d:\Program Files\Exchsrvr\MDBDATA\priv1.edb } What i dont understand is that it uses nrpe but the documentation doesnt show how to set the nrpe command. I had enabled in NSC.ini the needed module : [modules] ;CheckSystem.dll I have tried a nrpe handler like this [NRPE Handlers] check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G File=d:\Program Files\Exchsrvr\MDBDATA\priv1.stm File=d:\Program Files\Exchsrvr\MDBDATA\priv1.edb but it doesnt work. Can someone help me please? ------------------------------------------------------- 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 b00mer at gmx.net Sat Apr 22 12:25:33 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Sat, 22 Apr 2006 12:25:33 +0200 Subject: NDO - Notifications In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD443FF51@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD443FF51@raptor.redhawk.info> Message-ID: <444A049D.9050604@gmx.net> Hi Mike, this is quiet normal Nagios doing. The "secret" are the difference states of a check. You set you retry value to two, so the first Critical is a Softstate Critical and the second one a hard state Critical. The Notifications are triggered only on a hard state - so it works for you for notifications. You can see the first Critical Messages in NDO because of they are simply existant only as a soft state but existant. I can't know what you are doing with NDO, but if you catch some information out of the ndo-db you are able to look only for hardstate Messages. Mike Koponick schrieb: >Hello Everyone, > >I was wondering I currently have Nagios configured to notify me after it >has seen a problem twice, which means I have the retry value set to two. >This works fine for me since I don't want to get notified if there is >some sort of anomaly on the network. > >My issue is that Nagios is writing to the MySQL NDO tables. When I query >the table for the current status, I see "Critical" for a particular >host/service, but it appears to be seeing the FIRST attempt which is >where I don't get notified, which is OK. I'm almost OK with living with >it but would like NOT to see the Critical messages in NDO. Is there a >configuration option that I am missing? > > >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=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?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 Apr 21 19:21:35 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 21 Apr 2006 13:21:35 -0400 Subject: authentication check Message-ID: <302ce8b50604211021j2192616bsec4736aec2d4985a@mail.gmail.com> Is anyone aware of a patch or method to restrict nagios web interface access to only people listed as contacts? Currently with our authentication structure, people who are not listed as contacts can log in, but they cannot view anything. Rather than having them see a screen with a bunch of "0 hosts, 0 Services" etc, I'd rather be able to pass a message that they're not not a contact, and/or don't have permission to view hosts/services. Nothing in the manuals (or google that I've found) seems to show how to go about doing this. Ideas are warmly welcomed. -- 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&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 From jsullivan at opensourcedevel.com Sat Apr 22 15:56:17 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Sat, 22 Apr 2006 09:56:17 -0400 Subject: Host RegEx in servicegroups members In-Reply-To: <1145693865.2924.58.camel@localhost> References: <1145693865.2924.58.camel@localhost> Message-ID: <1145714177.2924.95.camel@localhost> On Sat, 2006-04-22 at 04:17 -0400, John A. Sullivan III wrote: > Hello, all. I'm thoroughly enjoying Nagios (I am very new to it) but am > having a difficult time using regular expressions in Nagios 2.0 while > trying to define members in a service group. I've even generated > segfaults during the pre-flight check! > > use_regexp_matching=1 > use_true_regexp_matching=0 > > Here is a segment of a large file which is causing me grief (I also > tried without escaping the legitimate ".": > > define servicegroup{ > servicegroup_name Tunnels2Buffalo > alias Tunnels terminating in Buffalo > members ^.*GW\.niag$,^Tun.*-10.[125]$ > } > > #---------------------------------------------------------NiagaraRASGW > define service{ > host_name NiagaraRASGW.niag > service_description Tun172.20.100-10.1 > check_command check_tunnelping!atlas!172.20.100.1! > 10.1.1.36!10.1.1.22 > use NiagService > } > define service{ > host_name NiagaraRASGW.niag > service_description Tun172.20.98-10.1 > check_command check_tunnelping!atlas!172.20.98.1! > 10.1.1.36!10.1.1.22 > use NiagService > } > define service{ > host_name NiagaraRASGW.niag > service_description Tun172.20.100-10.2 > check_command check_tunnelping!atlas!172.20.100.1! > 10.2.1.20!10.2.1.70 > use NiagService > } > define service{ > host_name NiagaraRASGW.niag > service_description Tun172.20.98-10.2 > check_command check_tunnelping!atlas!172.20.98.1! > 10.2.1.20!10.2.1.70 > use NiagService > } > > Here is what I get on a pre-flight check: > > Checking service groups... > Error: Service 'Tun10.50-10.1' on host '^.*GW\.niag$' specified in > service group 'Tunnels2Buffalo' is not defined anywhere! > Error: Service 'Tun10.50-10.2' on host '^.*GW\.niag$' specified in > service group 'Tunnels2Buffalo' is not defined anywhere! > Error: Service 'Tun10.50-10.5' on host '^.*GW\.niag$' specified in > service group 'Tunnels2Buffalo' is not defined anywhere! > Error: Service 'Tun10.51-10.1' on host '^.*GW\.niag$' specified in > service group 'Tunnels2Buffalo' is not defined anywhere! > Error: Service 'Tun10.51-10.2' on host '^.*GW\.niag$' specified in > service group 'Tunnels2Buffalo' is not defined anywhere! > Error: Service 'Tun10.51-10.5' on host '^.*GW\.niag$' specified in > service group 'Tunnels2Buffalo' is not defined anywhere! > > And a whole lot more. The services are indeed in the file but it seems > like it is interpreting the host name literally. > > I then changed the file to this (snippet): > > define servicegroup{ > servicegroup_name Tunnels2Buffalo > alias Tunnels terminating in Buffalo > members ^.*GW\.niag$,Tun172.20.100-10.1 > } > > #---------------------------------------------------------NiagaraRASGW > define service{ > host_name NiagaraRASGW.niag > service_description Tun172.20.100-10.1 > check_command check_tunnelping!atlas!172.20.100.1! > 10.1.1.36!10.1.1.22 > use NiagService > } > define service{ > host_name NiagaraRASGW.niag > service_description Tun172.20.98-10.1 > check_command check_tunnelping!atlas!172.20.98.1! > 10.1.1.36!10.1.1.22 > use NiagService > } > > Note that the service is an exact match of the first service listed. To > my shock, I got this: > > [nagios at ltskbunk bin]$ ./nagios -v ../etc/nagios.cfg > > Nagios 2.0 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 02-07-2006 > License: GPL > > Reading configuration data... > > Segmentation fault > > Can anyone tell me what is going on and what I am doing wrong? Using > regexps would make my life dramatically easier on this moderately large > installation. Thanks - John I did notice the unescaped "." in the IP address. I changed it and still had the same results - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.com ------------------------------------------------------- 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 hvdkooij at vanderkooij.org Sat Apr 22 16:36:38 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 22 Apr 2006 16:36:38 +0200 (CEST) Subject: authentication check In-Reply-To: <302ce8b50604211021j2192616bsec4736aec2d4985a@mail.gmail.com> References: <302ce8b50604211021j2192616bsec4736aec2d4985a@mail.gmail.com> Message-ID: On Fri, 21 Apr 2006, Jim Perrin wrote: > Is anyone aware of a patch or method to restrict nagios web interface > access to only people listed as contacts? Currently with our > authentication structure, people who are not listed as contacts can > log in, but they cannot view anything. Rather than having them see a > screen with a bunch of "0 hosts, 0 Services" etc, I'd rather be able > to pass a message that they're not not a contact, and/or don't have > permission to view hosts/services. Nothing in the manuals (or google > that I've found) seems to show how to go about doing this. Ideas are > warmly welcomed. If you share your user database with other applications then there is little hope of doing this the extreme easy way. You could throw all of your nagios users into a group and use the group definition to grant them access instead of a valid-user. That would still be relative easy to maintain. Hugo. PS: Tagline separators are Dash-Dash-Space and not Dash-Dash. -- 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. ------------------------------------------------------- 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 bamapookie at gmail.com Sat Apr 22 18:13:57 2006 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Sat, 22 Apr 2006 12:13:57 -0400 Subject: nsclient++ configuration, i am lost In-Reply-To: <4448E788.2020805@gmail.com> References: <4448E788.2020805@gmail.com> Message-ID: What error message are you getting? Have you tried the check from the command line on the host? run nsclient++ /test and try a few commands Have you tried the check from the command line on the Nagios server? run the check_nrpe line replacing all the arguements with their actual values In the NSC.ini file, have you: uncommented the appropriate modules? set the allowed hosts line? Allowed arguements? restart the nsclient++ process after making these changes On 4/21/06, ThomasC. wrote: > > I installed nsclient++. Put in checkcommands.cfg according to > documentation the check : > > define command { > command_name check_exchangeDB > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c > CheckFileSize -a MaxWarn=15G MaxCrit=16G File=d:\Program > Files\Exchsrvr\MDBDATA\priv1.stm File=d:\Program > Files\Exchsrvr\MDBDATA\priv1.edb > } > > What i dont understand is that it uses nrpe but the documentation doesnt > show how to set the nrpe command. > > I had enabled in NSC.ini the needed module : > > [modules] > > ;CheckSystem.dll > > I have tried a nrpe handler like this > > [NRPE Handlers] > check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G > File=d:\Program Files\Exchsrvr\MDBDATA\priv1.stm File=d:\Program > Files\Exchsrvr\MDBDATA\priv1.edb > > but it doesnt work. > > Can someone help me please? > > > ------------------------------------------------------- > 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: From shoktai at gmail.com Sat Apr 22 18:54:31 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Sat, 22 Apr 2006 18:54:31 +0200 Subject: nsclient++ configuration, i am lost In-Reply-To: <4448E788.2020805@gmail.com> References: <4448E788.2020805@gmail.com> Message-ID: <619cf3c0604220954u6db3b71er2a7f38c915878f9f@mail.gmail.com> Hi Shawn, On the first hand i get errors related to ncsclient itself : The error on the monitored host is : Event Source: NRPE_NT Description: NRPE_NT: Error: Request contained illegal metachars! The error on NSC.log is 2006-04-22 12:35:59: error:../../include\Socket.h:443: bind failed: 10048 When i look to netstat i get (i kept the most relevant lines): TCP 0.0.0.0:5666 0.0.0.0:0 LISTENING 6896 [NRPE_NT.exe] TCP 0.0.0.0:12489 0.0.0.0:0 LISTENING 14168 [NSClient++.exe] TCP 0.0.0.0:1248 0.0.0.0:0 LISTENING 1052 [pNSClient.exe] So i have NRPE_NT and nsclient (not ++) installed, is there's a conflict with nsclient++ ? On the second hand i get errors related to the check_command: The error on the monitored host is : Event Source: NRPE_NT Description: NRPE_NT: Error: Request contained illegal metachars! When i try nsclient++ /test, the first error i notice is that it doesnt handle the space in the path of the files ( Program Files) --> File=d:\Program Files\Exchsrvr\MDBDATA\priv1 > > .stm File=d:\Program > Files\Exchsrvr\MDBDATA\priv1.edb I tried both 'Program Files' and "Program Files" but it doesnt work. From the command line on the nagios server i try like this : ../libexec/check_nrpe -H catorsv03 -c check_exchangeDB -a MaxWarn=15G MaxCrit=16G File=d:\'Program Files'\Exchsrvr\MDBDATA\priv1.stm File=d:\'Program Files'\Exchsrvr\MDBDATA\priv1.edb' CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. Here is the NSC.ini file : [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=martin ; ;# 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=10.1.1.13 ; ;# 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=c:\nsclient-plus-plus\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=10.1.1.13 ; ;# 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=1h ; ;# 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=1 ; ;# USE SSL SOCKET ; This option controls if SSL should be used on the socket. ;use_ssl=1 ; ;# 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= ; ;# 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= [NRPE Handlers] check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G File='d:\Program Files\Exchsrvr\MDBDATA\priv1.stm' File='d:\Program Files\Exchsrvr\MDBDATA\priv1.edb' ;# COMMAND DEFINITIONS ;# Command definitions that this daemon will run. ;# Can be either NRPE syntax: ;command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 ;# Or simplified syntax: ;test=c:\test.bat foo $ARG1$ bar ;check_disk1=/usr/local/nagios/libexec/check_disk -w 5 -c 10 ;# Or even loopback (inject) syntax (to run internal commands) ;# This is a way to run "NSClient" commands and other internal module commands such as check eventlog etc. ;check_cpu=inject checkCPU warn=80 crit=90 5 10 15 ;check_eventlog=inject CheckEventLog Application warn.require.eventType=error warn.require.eventType=warning critical.require.eventType=error critical.exclude.eventType=infotruncate=1024 descriptions ;check_disk_c=inject CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M File:WIN=c:\ATI\*.* ;# But be careful: ; dont_check=inject dont_check This will "loop forever" so be careful with the inject command... ;# Check some escapings... ; check_escape=inject CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M "File: foo \" WIN=c:\\WINDOWS\\*.*" -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Fri Apr 21 09:58:34 2006 From: shoktai at gmail.com (ThomasC.) Date: Fri, 21 Apr 2006 09:58:34 +0200 Subject: Exchange database monitoring size In-Reply-To: <3c9a5bae0604201909u79ed6109i2aec303217f7e484@mail.gmail.com> References: <444783EF.3060809@gmail.com> <3c9a5bae0604201909u79ed6109i2aec303217f7e484@mail.gmail.com> Message-ID: <444890AA.3030504@gmail.com> Bill Jacqmein a ?crit : > Nagios Client with filesize check: > http://nscplus.medin.name/index.php/CheckFileSize That's exactly what i need. Do you know if that would be an issue to install nsclient++ on a host that already has nsclient ( not ++ ) installed ? ------------------------------------------------------- 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 Sat Apr 22 18:09:56 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sat, 22 Apr 2006 12:09:56 -0400 Subject: authentication check In-Reply-To: References: <302ce8b50604211021j2192616bsec4736aec2d4985a@mail.gmail.com> Message-ID: <302ce8b50604220909p4cc46d7cva35df6f038c45e8b@mail.gmail.com> > If you share your user database with other applications then there is > little hope of doing this the extreme easy way. We're using a single-sign on authentication system is fairly brain-dead in my opinion. It's not really my call, and there isn't much of a way to fix it. That's why I was hoping for a patch that says "Hmmm, I can't show you anything, so piss off", only a little more polite :-P > You could throw all of your nagios users into a group and use the group > definition to grant them access instead of a valid-user. That would still > be relative easy to maintain. This was one of the first things I tried actually, but the authentication system pukes all over it for some reason. > PS: Tagline separators are Dash-Dash-Space and not Dash-Dash. Yep, but tell that to google's settings. I have it setup correctly in there, but they trim my space. I prefer to use gmail for mailing lists, so the most I can do is acknowledge the problem. -- 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&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 From sw.nagios at saarmail.de Sun Apr 23 00:30:43 2006 From: sw.nagios at saarmail.de (Sven Werdehausen) Date: Sun, 23 Apr 2006 00:30:43 +0200 (CEST) Subject: NRPE SSL fails on Mac OSXS In-Reply-To: <443E877B.8070305@systame.com> References: <443E877B.8070305@systame.com> Message-ID: <20060422223043.4A89F4F40E3@desire.netways.de> Hi Randall the SSL problem has been fixed with the newest release of the nrpe DP. Verison 2.4 What still doesn't work is the sending of arguments. - Sven Werdehausen (desven) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=17350 ------------------------------------------------------- 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&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 From mailinglist at ebox.gr Sun Apr 23 10:18:48 2006 From: mailinglist at ebox.gr (Brandino Andreas) Date: Sun, 23 Apr 2006 11:18:48 +0300 Subject: multipile line command Message-ID: <313440638.20060423111848@ebox.gr> Is possible to split a command (misccommands.cfg) in multiple lines? If not , is there an alternative way to insert crlf characters?? thx ---------------- Brandino Andreas mailinglist at ebox.gr ------------------------------------------------------- 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 bamapookie at gmail.com Sun Apr 23 18:35:02 2006 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Sun, 23 Apr 2006 12:35:02 -0400 Subject: nsclient++ configuration, i am lost In-Reply-To: <619cf3c0604220954u6db3b71er2a7f38c915878f9f@mail.gmail.com> References: <4448E788.2020805@gmail.com> <619cf3c0604220954u6db3b71er2a7f38c915878f9f@mail.gmail.com> Message-ID: Ok. I can answer more thoroughly when I get to work Monday and can look at my config files there, but this may help for now... First, unless you have a specific need for it, I would disallow "nasty metacharacters." They can, indeed, be nasty. :) Second, for the space in "Program Files", put quotes around the entire path and filename. I believe you should use doublequotes, but I'm not sure. I will check this on Monday. Try: ../libexec/check_nrpe -H catorsv03 -c check_exchangeDB -a MaxWarn=15G MaxCrit=16G File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" File="d:\Program Files\Exchsrvr\MDBDATA\priv1.edb" Third, you should probably comment out everything in the NSClient section of the config file unless you are using check_nt. Again, I'll post more tomorrow after trying a few things myself in my test environment at work. Shawn Kovalchick On 4/22/06, Toto Capuccino wrote: > > Hi Shawn, > > On the first hand i get errors related to ncsclient itself : > > The error on the monitored host is : > Event Source: NRPE_NT > Description: > NRPE_NT: Error: Request contained illegal metachars! > > The error on NSC.log is 2006-04-22 12:35:59: > error:../../include\Socket.h:443: bind failed: 10048 > > When i look to netstat i get (i kept the most relevant lines): > TCP 0.0.0.0:5666 0.0.0.0:0 LISTENING > 6896 > [NRPE_NT.exe] > TCP 0.0.0.0:12489 0.0.0.0:0 LISTENING 14168 > > [NSClient++.exe] > TCP 0.0.0.0:1248 0.0.0.0:0 LISTENING > 1052 > [pNSClient.exe] > > So i have NRPE_NT and nsclient (not ++) installed, is there's a conflict > with nsclient++ ? > > > On the second hand i get errors related to the check_command: > > The error on the monitored host is : > Event Source: NRPE_NT > Description: > NRPE_NT: Error: Request contained illegal metachars! > > When i try nsclient++ /test, the first error i notice is that it doesnt > handle the space in the path of the files ( Program Files) --> > File=d:\Program > > Files\Exchsrvr\MDBDATA\priv1 > > > > .stm File=d:\Program > > Files\Exchsrvr\MDBDATA\priv1.edb > > > I tried both 'Program Files' and "Program Files" but it doesnt work. > > From the command line on the nagios server i try like this : > ../libexec/check_nrpe -H catorsv03 -c check_exchangeDB -a MaxWarn=15G > MaxCrit=16G File=d:\'Program Files'\Exchsrvr\MDBDATA\priv1.stm > File=d:\'Program Files'\Exchsrvr\MDBDATA\priv1.edb' > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs > for error messages. > > Here is the NSC.ini file : > [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=martin > ; > ;# 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=10.1.1.13 > ; > ;# 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=c:\nsclient-plus-plus\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= 10.1.1.13 > ; > ;# 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=1h > ; > ;# 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=1 > ; > ;# USE SSL SOCKET > ; This option controls if SSL should be used on the socket. > ;use_ssl=1 > ; > ;# 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= > ; > ;# 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= > > > [NRPE Handlers] > check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G > File='d:\Program Files\Exchsrvr\MDBDATA\priv1.stm' File='d:\Program > Files\Exchsrvr\MDBDATA\priv1.edb' > > ;# COMMAND DEFINITIONS > ;# Command definitions that this daemon will run. > ;# Can be either NRPE syntax: > ;command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > ;# Or simplified syntax: > ;test=c:\test.bat foo $ARG1$ bar > ;check_disk1=/usr/local/nagios/libexec/check_disk -w 5 -c 10 > ;# Or even loopback (inject) syntax (to run internal commands) > ;# This is a way to run "NSClient" commands and other internal module > commands such as check eventlog etc. > ;check_cpu=inject checkCPU warn=80 crit=90 5 10 15 > ;check_eventlog=inject CheckEventLog Application > warn.require.eventType=error warn.require.eventType=warning > critical.require.eventType=error critical.exclude.eventType=infotruncate=1024 descriptions > ;check_disk_c=inject CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M > File:WIN=c:\ATI\*.* > ;# But be careful: > ; dont_check=inject dont_check This will "loop forever" so be careful with > the inject command... > ;# Check some escapings... > ; check_escape=inject CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M > "File: foo \" WIN=c:\\WINDOWS\\*.*" > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From frcaen at gmail.com Sun Apr 23 22:10:20 2006 From: frcaen at gmail.com (Francois Caen) Date: Sun, 23 Apr 2006 13:10:20 -0700 Subject: which dns check to use? Message-ID: <58cfe2840604231310o3af16e5bkdf627cd0628189d@mail.gmail.com> Hello all, There are several dns service checks out there: check_dns, check_dig, the broken check_dns_random, and then a couple user-created ones. Which one do you use to check the health of your name servers, and why? -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------- 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&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 From mailinglist at ebox.gr Mon Apr 24 00:10:59 2006 From: mailinglist at ebox.gr (Brandino Andreas) Date: Mon, 24 Apr 2006 01:10:59 +0300 Subject: Antwort: Re: E-mail Message In-Reply-To: References: <443D03FE.8020207@dhl.com> Message-ID: <363128924.20060424011059@ebox.gr> Maybe i am replying too late.... You can find perl scripts that forward your mails to specific smtp server (the mta you have already have!). So you just replace the command in nagios - nothing more ;) Wednesday, April 12, 2006, 5:03:58 PM, you wrote: > nagios-users-admin at lists.sourceforge.net schrieb am 12.04.2006 15:43:26: >> Because the Security Policy. >> We cannot have two MTA in the same network. >> >> There is another problem using the MTA with Nagios. When I try send >> e-mail to Nextel e-mail, it doesn?t working because the Nextel check if >> the source e-mail exist. >> >> So, I have two problems. > I suggest you first accumulate some knowledge about *nix > architectures like Linux and MTAs (aka Mail Transfer Agents). > There needs to be some mechanism to supply mails from a host > to the smtp-server. On Unix architectures this is done by > the MTA, which is usually sendmail. But then, it is not necessary > to have the sendmail daemon process running and listening on the > the smtp port, you can just have it run locally and forward > locally submitted mails to your main smtp server. > What you want to do is read the sendmail manual and learn how > to configure your local MTA correctly. > But what you are directly asking for is not possible. Neither Nagios, > nor any other unix service implements its own smtp engine - this would > be quite stupid and a big waste of ressources since EVERY *nix/Linux > machine has at least a local MTA - or is majorly misconfigured. > SMTP-Server != MTA > And you should re-evaluate people in your security department who say > "more then 1 SMTP server is a security risk". They obviously don't have > much of a clue regarding security and how SMTP servers work ;) > regards > Sascha > -- > Sascha Runschke > Netzwerk Administration > IT-Services > ABIT AG > Robert-Bosch-Str. 1 > 40668 Meerbusch > Tel.:+49 (0) 2150.9153.226 > Mobil:+49 (0) 173.5419665 > mailto:SRunschke at abit.de > http://www.abit.net > http://www.abit-epos.net > --------------------------------- > Sicherheitshinweis zur E-Mail Kommunikation / > Security note regarding email communication: > http://www.abit.net/sicherheitshinweis.html > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > 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 ---------------- Brandino Andreas mailinglist at ebox.gr ------------------------------------------------------- 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&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 From fmaduro at gmail.com Mon Apr 24 00:16:07 2006 From: fmaduro at gmail.com (Franklin Maduro) Date: Sun, 23 Apr 2006 18:16:07 -0400 Subject: load specific mib file Message-ID: <2cedbdf90604231516k1f47cb9p113ab51e1c138800@mail.gmail.com> Hello I want monitoring a specific application, that run in a HP and Nokia hardware, I have the mib file for this application, but i don't know how to load the mib file, with nagios is this possible? BR fmaduro -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Mon Apr 24 07:37:14 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 24 Apr 2006 07:37:14 +0200 (CEST) Subject: load specific mib file In-Reply-To: <2cedbdf90604231516k1f47cb9p113ab51e1c138800@mail.gmail.com> References: <2cedbdf90604231516k1f47cb9p113ab51e1c138800@mail.gmail.com> Message-ID: On Sun, 23 Apr 2006, Franklin Maduro wrote: > I want monitoring a specific application, that run in a HP and Nokia > hardware, I have the mib file for this application, but i don't know how to > load the mib file, with nagios is this possible? For instruction on your mib file you need to read the net-snmp manual. But in general dumping it in the right directory will do nicely. With Nagios you can use the OID as number (for which you do not need mib files anyway) or by name. Verify with a tool like snmpwalk you can access the proper snmp sections on your hosts. 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. ------------------------------------------------------- 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 tdelunel at free.fr Mon Apr 24 08:50:53 2006 From: tdelunel at free.fr (tdelunel at free.fr) Date: Mon, 24 Apr 2006 08:50:53 +0200 Subject: event_handler and argument Message-ID: <1145861453.444c754da81fc@imp4-g19.free.fr> Hi, I'm trying to restart windows services and to send notifications in the same time, thanks to the check_nrpe command. here is my service: define service{ host_name Server service_description Server Sql is_volatile 0 check_period always max_check_attempts 1 normal_check_interval 20 retry_check_interval 0 contact_groups Admin notification_interval 0 notification_period always notification_options c,r event_handler restart_mssql check_command check_nt_process! SQLSERVR.EXE And here is my check_command: define command{ command_name restart_mssql command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$:$SERVICEDESC$=$SERVICESTATE$ on $HOSTALIAS$ " | /usr/bin/mail -s "$SERVICEDESC$=$SERVICESTATE$ on $HOSTALIAS$" $CONTACTEMAIL$ \&& $USER1$/check_nrpe -H $HOSTADDRESS$ -c restart_mssql } This works very well, but what I want is to use this kind of check_command in order to restart any service. Here is the check_command: define command{ command_name restart_service command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$:$SERVICEDESC$=$SERVICESTATE$ on $HOSTALIAS$" | /usr/bin/mail -s "$SERVICEDESC$=$SERVICESTATE$ on $HOSTALIAS$" $CONTACTEMAIL$ \&& $USER1$/check_nrpe -H $HOSTADDRESS$ -c restart_service -a $ARG1$ } But this command requires an argument... Is it possible to specify one with event_handler ? Is there an other method for doing what I want ? Or Do I have to create one command for one service ? Thanks ------------------------------------------------------- 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&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 From melkiades at gmail.com Mon Apr 24 11:12:31 2006 From: melkiades at gmail.com (Melkiades) Date: Mon, 24 Apr 2006 11:12:31 +0200 Subject: Monitor DHCP Server [] In-Reply-To: <200604211458.k3LEwSO1027935@mx1.cs.umb.edu> References: <200604210957.35518.me@renux.de> <200604211458.k3LEwSO1027935@mx1.cs.umb.edu> Message-ID: > [Jason, Frank] > The second most obvious is that something else is already listening on that > port. I'd check that next." > [John P. Rouillard] > Well since most of the obvious causes are taken care of is anything > already bound to port 68? Check netstat That was it! # grep 68 /etc/services ... bootpc 68/tcp # Bootstrap Protocol Client bootpc 68/udp # Bootstrap Protocol Client ... # netstat -a | grep bootpc udp 0 0 *:bootpc After closing all bootpc connections (due to dhcp-client on some interfaces) it all worked fine :-) Thank you very much for your support ------------------------------------------------------- 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&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 From gbellettini at genetsis.com Mon Apr 24 12:31:26 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Mon, 24 Apr 2006 12:31:26 +0200 Subject: inquiry Message-ID: Hi there, I'm trying to start nagios like this: /etc/init.d/nagios start and I get this message: No directory, logging in with HOME=/ Any idea about this error? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Mon Apr 24 13:15:01 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 24 Apr 2006 07:15:01 -0400 (EDT) Subject: inquiry In-Reply-To: References: Message-ID: On Mon, 24 Apr 2006, Guillermo Bellettini wrote: > Hi there, I'm trying to start nagios like this: /etc/init.d/nagios start > > and I get this message: > > No directory, logging in with HOME=/ > Nagios user does not have a home directory mounted... -- ------------------------------------------------------- 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 john at jolet.net Mon Apr 24 13:19:48 2006 From: john at jolet.net (John Jolet) Date: Mon, 24 Apr 2006 06:19:48 -0500 Subject: inquiry In-Reply-To: References: Message-ID: On 4/24/06 5:31 AM, "Guillermo Bellettini" wrote: > Hi there, I?m trying to start nagios like this: /etc/init.d/nagios start > > and I get this message: > > No directory, logging in with HOME=/ > > Any idea about this error? > > Thanks, > Yeah, check what the home directory in /etc/password is for whatever user you?re running nagios as, and make sure it exists. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gbellettini at genetsis.com Mon Apr 24 14:20:54 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Mon, 24 Apr 2006 14:20:54 +0200 Subject: inquiry In-Reply-To: References: Message-ID: Thanks John. It helped a lot Guillermo _____ De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] En nombre de John Jolet Enviado el: lunes, 24 de abril de 2006 13:20 Para: Guillermo Bellettini; nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] inquiry Importancia: Alta On 4/24/06 5:31 AM, "Guillermo Bellettini" wrote: Hi there, I'm trying to start nagios like this: /etc/init.d/nagios start and I get this message: No directory, logging in with HOME=/ Any idea about this error? Thanks, Yeah, check what the home directory in /etc/password is for whatever user you're running nagios as, and make sure it exists. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gbellettini at genetsis.com Mon Apr 24 16:26:27 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Mon, 24 Apr 2006 16:26:27 +0200 Subject: question Message-ID: Hi, I'm trying to configure Nagios 2 to monitor a server with the check_ping command. I've the services.cfg file right configured and the plugins also, but seems to be that Nagios is not recognizing the check_ping command. I've got the following error on the log file: Warning: Attempting to execute the command "/check_ping -H 82.144.102.244 -w 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... What else do I have to change in order to monitor the server? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Apr 24 16:52:35 2006 From: marc at ena.com (Marc Powell) Date: Mon, 24 Apr 2006 09:52:35 -0500 Subject: question Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Guillermo Bellettini > Sent: Monday, April 24, 2006 9:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] question > Importance: High > > Hi, I'm trying to configure Nagios 2 to monitor a server with the > check_ping command. > > > > I've the services.cfg file right configured and the plugins also, but > seems to be that Nagios is not recognizing the check_ping command. > > > > I've got the following error on the log file: > > > > Warning: Attempting to execute the command "/check_ping -H 82.144.102.244 > -w > > 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of 127. Make > sure the script or > > binary you are trying to execute actually exists... > > > > > > What else do I have to change in order to monitor the server? http://www.catb.org/~esr/faqs/smart-questions.html#formats http://www.catb.org/~esr/faqs/smart-questions.html#urgent nagios is trying to look for the program check_ping under / (root). That is not the correct location for it. This could be due to a number of configuration gaffs. - verify that your command definition for check_ping uses either the full path to the check_ping plugin or uses the $USER1$ macro in place of the path. (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command) - verify that $USER1$ in resource.cfg is pointing to the correct path to the plugins directory - verify that resource.cfg is included as a resource_file in nagios.cfg The sample config files show the proper use of the $USER1$ macro to substitute for the plugins path. -- 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&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 From jperrin at gmail.com Mon Apr 24 16:53:43 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 24 Apr 2006 10:53:43 -0400 Subject: question In-Reply-To: References: Message-ID: <302ce8b50604240753ud709b44x3291565a878c539@mail.gmail.com> > Hi, I'm trying to configure Nagios 2 to monitor a server with the check_ping > command. > > Warning: Attempting to execute the command "/check_ping -H 82.144.102.244 -w > > 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of 127. Make sure > the script or Looks like $USER1$ isn't set. It's trying to execute a path of /check_ping rather than /some/path/to/nagios/plugins/check_ping. > What else do I have to change in order to monitor the server? Set $USER1$ or don't use that variable in your check definitions. -- 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&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 From gorste at tesco.net Mon Apr 24 16:55:25 2006 From: gorste at tesco.net (Gordon Stewart) Date: Mon, 24 Apr 2006 14:55:25 +0000 Subject: NSCA - closing conections Message-ID: <20060424145525.ZJLG24467.aamtaout02-winn.ispmail.ntl.com@smtp.ntlworld.com> Dear List I have installed NSCA on my main server and the client on a remote server. When I start the deamon on the main server and run the send_nsca I get back 0 data packet(s) sent to host successfully. if I run the commnd again I get the send_nsca timimng out. Error: Timeout after 10 seconds When I do a netstat -an |grep 5667 I get on the central_server tcp 0 0 10.10.10.2:5667 0.0.0.0:* LISTEN tcp 1 0 10.10.10.2:5667 10.8.0.10:56140 CLOSE_WAIT if I run the send_nsca command 4 time I get # netstat -an |grep 5667 tcp 0 0 10.10.10.2:5667 0.0.0.0:* LISTEN tcp 0 0 10.10.10.2:5667 10.8.0.10:56146 ESTABLISHED tcp 1 0 10.10.10.2:5667 10.8.0.10:56144 CLOSE_WAIT tcp 1 0 10.10.10.2:5667 10.8.0.10:56145 CLOSE_WAIT tcp 1 0 10.10.10.2:5667 10.8.0.10:56140 CLOSE_WAIT Is there away of resolving this without restaring the nsca as I am monitering of 250 remote sites. It seams like it is not dropping it first connection. Thanks Gordon Stewart ------------------------------------------------------- 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 werner.flamme at ufz.de Mon Apr 24 16:55:57 2006 From: werner.flamme at ufz.de (Werner Flamme) Date: Mon, 24 Apr 2006 16:55:57 +0200 Subject: question In-Reply-To: References: Message-ID: <444CE6FD.5020903@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Guillermo Bellettini schrieb am 24.04.2006 16:26: > Hi, I'm trying to configure Nagios 2 to monitor a server with the check_ping > command. > > > > I've the services.cfg file right configured and the plugins also, but seems > to be that Nagios is not recognizing the check_ping command. No, it seems that you do not have it configured correctly. :-> > > > > I've got the following error on the log file: > > > > Warning: Attempting to execute the command "/check_ping -H 82.144.102.244 -w And? do you have ^^^^^^^^^^^^^ ? I think (you did not give any info about this) that the command is defined with something like $USER1$/check_ping and $USER1$ is empty, so that $USER1$/check_ping is translated into /check_ping. > > 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of 127. Make sure > the script or > > binary you are trying to execute actually exists... > What else do I have to change in order to monitor the server? Look into your configuration. Post the definition of check_ping, and along the info where you set the variables used in there. > > > > thanks > > HTH, Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFETOb9k33Krq8b42MRAlXSAJ4j4IEpF7FyYpRDPMnQMD5YtEXnTgCfdGCW YsIynnri/Ypp9WeM3sC1jos= =Vyxx -----END PGP SIGNATURE----- ------------------------------------------------------- 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 j.bessels at degelderseroos.nl Mon Apr 24 16:57:41 2006 From: j.bessels at degelderseroos.nl (Jan Bessels) Date: Mon, 24 Apr 2006 16:57:41 +0200 Subject: Reportings CGI's -- where do they get their information from and how to 'reset' them... Message-ID: I've installed Nagios, configured it and I'm almost ready for production. Now I want to start with a clean sheet. Eg, remove all previous warnings, alerts etc. Have RTFM-ed and googled but can't find it. I'm guessing that Nagios gets this info from the var/nagios.log file and the logfiles in dir var/archives/ but I'm not sure. Any help is appreciated... Jan Bessels ------------------------------------------------------- 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 shoktai at gmail.com Mon Apr 24 17:28:41 2006 From: shoktai at gmail.com (ThomasC.) Date: Mon, 24 Apr 2006 17:28:41 +0200 Subject: nsclient++ configuration, i am lost In-Reply-To: References: <4448E788.2020805@gmail.com> <619cf3c0604220954u6db3b71er2a7f38c915878f9f@mail.gmail.com> Message-ID: <444CEEA9.3080907@gmail.com> First of all, thanks for your help. > First, unless you have a specific need for it, I would disallow "nasty > metacharacters." They can, indeed, be nasty. :) Done > Second, for the space in "Program Files", put quotes around the entire > path and filename. I believe you should use doublequotes, but I'm not > sure. I will check this on Monday. > Try: > ../libexec/check_nrpe -H catorsv03 -c check_exchangeDB -a MaxWarn=15G > MaxCrit=16G File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" > File="d:\Program Files\Exchsrvr\MDBDATA\priv1.edb" > Done too Anyway i don't think it will work. I still get that error : 2006-04-24 10:49:17: debug:.\NSClient++.cpp:305: Loading plugin: NSClient server... 2006-04-24 10:49:17: error:../../include\Socket.h:443: bind failed: 10048 Besides, The command use check_nrpe --> in NSC.ini i got [NRPE Handlers] check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" File="d:\Program Files\Exchsrvr\MDBDATA\priv1.edb" but the command is launched this way : ../libexec/check_nrpe -H catorsv03 -c check_exchangeDB -a MaxWarn=15G MaxCrit=16G File='d:\Program Files\Exchsrvr\MDBDATA\priv1.stm' File='d:\Program Files\Exchsrvr\MDBDATA\priv1.edb' So i have to define it (the command check_exchangeDB) in the nrpe.cfg file in order to work? Or do nsclient++ uses nrpe automatically... ------------------------------------------------------- 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 estair at ilm.com Mon Apr 24 17:36:28 2006 From: estair at ilm.com (Eli Stair) Date: Mon, 24 Apr 2006 08:36:28 -0700 Subject: which dns check to use? References: <58cfe2840604231310o3af16e5bkdf627cd0628189d@mail.gmail.com> Message-ID: <6E56E676C9D6A74EBC980144BC06A17D01469843@mailbox03.lucas.alllucas.com> I don't recall what (if any) issues I had with check_dig, but check_dns doesn't handle responses from nslookup for matching an A record when checking a PTR (leaves the trailing "." in the match string). While I was at it, I added DNS roundrobin matching, and numeric number-of-return-record matching. check_dns_host on nagiosexchange.com. Let me know if you've got any feedback/requests/suggestions. /eli -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Francois Caen Sent: Sun 4/23/2006 1:10 PM To: Nagios Users Mailing List Subject: [Nagios-users] which dns check to use? Hello all, There are several dns service checks out there: check_dns, check_dig, the broken check_dns_random, and then a couple user-created ones. Which one do you use to check the health of your name servers, and why? -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Mon Apr 24 17:53:59 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 24 Apr 2006 11:53:59 -0400 Subject: nsclient++ configuration, i am lost Message-ID: Did you mention earlier that you are also running nsclient? Are they both running on the same port? Looks like a simple port conflict. -----Original Message----- From: ThomasC. Sent: Monday, April 24, 2006 8:29 AM Subject: Re: [Nagios-users] Re: nsclient++ configuration, i am lost [snip] Anyway i don't think it will work. I still get that error : 2006-04-24 10:49:17: debug:.\NSClient++.cpp:305: Loading plugin: NSClient server... 2006-04-24 10:49:17: error:../../include\Socket.h:443: bind failed: 10048 ------------------------------------------------------- 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&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 From bamapookie at gmail.com Mon Apr 24 17:58:39 2006 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Mon, 24 Apr 2006 11:58:39 -0400 Subject: nsclient++ configuration, i am lost In-Reply-To: <444CEEA9.3080907@gmail.com> References: <4448E788.2020805@gmail.com> <619cf3c0604220954u6db3b71er2a7f38c915878f9f@mail.gmail.com> <444CEEA9.3080907@gmail.com> Message-ID: If you define it in the NSC.ini file, then you don't need to pass the arguements from check_nrpe. Using the handler set in the the NSC.ini file, try this: >From the client machine: nsclient++ /test check_exchangeDB >From the Nagios Server: ../libexec/check_nrpe -H catorsv03 -c check_exchangeDB Also, about the bind error you are getting: Are you getting that when you run test? If so, that just means that nsclient is already running, and the test instance can't connect to the same port. It is OK unless you get that when you run nsclient /start. On 4/24/06, ThomasC. wrote: > > First of all, thanks for your help. > > > First, unless you have a specific need for it, I would disallow "nasty > > metacharacters." They can, indeed, be nasty. :) > > Done > > > Second, for the space in "Program Files", put quotes around the entire > > path and filename. I believe you should use doublequotes, but I'm not > > sure. I will check this on Monday. > > Try: > > ../libexec/check_nrpe -H catorsv03 -c check_exchangeDB -a MaxWarn=15G > > MaxCrit=16G File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" > > File="d:\Program Files\Exchsrvr\MDBDATA\priv1.edb" > > > > Done too > > > Anyway i don't think it will work. I still get that error : > > 2006-04-24 10:49:17: debug:.\NSClient++.cpp:305: Loading plugin: > NSClient server... > 2006-04-24 10:49:17: error:../../include\Socket.h:443: bind failed: 10048 > > Besides, > The command use check_nrpe > > --> in NSC.ini i got > [NRPE Handlers] > check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G > File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" File="d:\Program > Files\Exchsrvr\MDBDATA\priv1.edb" > > but the command is launched this way : > > ../libexec/check_nrpe -H catorsv03 -c check_exchangeDB -a MaxWarn=15G > MaxCrit=16G File='d:\Program Files\Exchsrvr\MDBDATA\priv1.stm' > File='d:\Program Files\Exchsrvr\MDBDATA\priv1.edb' > > So i have to define it (the command check_exchangeDB) in the nrpe.cfg > file in order to work? Or do nsclient++ uses nrpe automatically... > > > ------------------------------------------------------- > 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: From hvdkooij at vanderkooij.org Mon Apr 24 19:35:44 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 24 Apr 2006 19:35:44 +0200 (CEST) Subject: Reportings CGI's -- where do they get their information from and how to 'reset' them... In-Reply-To: References: Message-ID: On Mon, 24 Apr 2006, Jan Bessels wrote: > I've installed Nagios, configured it and I'm almost ready for > production. Now I want to start with a clean sheet. Eg, remove all > previous warnings, alerts etc. Have RTFM-ed and googled but can't find > it. I'm guessing that Nagios gets this info from the var/nagios.log file > and the logfiles in dir var/archives/ but I'm not sure. Any help is > appreciated... If you realy want a clean slate I suggest you export your config files. Then remove all of nagios, reinstall nagios and import your config. A less brutal way is to find your status files and clean those. But the location of those files is depending on the exact install procedure. (And we do not know how you did 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. ------------------------------------------------------- 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 LUIS.WIEDEMANN at FLHosp.org Mon Apr 24 22:50:21 2006 From: LUIS.WIEDEMANN at FLHosp.org (Wiedemann, Luis) Date: Mon, 24 Apr 2006 16:50:21 -0400 Subject: Nagios/Monarch with ldap authentication? Message-ID: Hello all, I am currently setting up a Nagios test environment and the question came up of connecting Monarch to our LDAP servers for authentication and possible contacts configuration. Any one have any ideas on how to achieve this? TIA!! Luis Wiedemann -------------- next part -------------- An HTML attachment was scrubbed... URL: From estair at ilm.com Mon Apr 24 23:06:25 2006 From: estair at ilm.com (Eli Stair) Date: Mon, 24 Apr 2006 14:06:25 -0700 Subject: Nagios/Monarch with ldap authentication? In-Reply-To: References: Message-ID: <444D3DD1.2000403@ilm.com> I haven't had a chance yet to play with the "free" Monarch versions, so this may be off-base. I run my Nagios (and Ganglia and Cacti, et al) through mod_kerb under Apache. IMO, I prefer to use K5 for the ticket passing/audit features, but you can go the mod_authzldap (or whatever) with just a little more complexity. If it's not built-in, you might want to reference Cacti's PHP as it has full per-user LDAP authentication/configuration. /eli Wiedemann, Luis wrote: > Hello all, > > > > I am currently setting up a Nagios test environment and the question > came up of connecting Monarch to our LDAP servers for authentication and > possible contacts configuration. > > > > Any one have any ideas on how to achieve this? > > > > TIA!! > > > > > > /*/Luis Wiedemann/*/*/ > /** > > * > > > ------------------------------------------------------- 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 Mon Apr 24 23:14:49 2006 From: marc at ena.com (Marc Powell) Date: Mon, 24 Apr 2006 16:14:49 -0500 Subject: Reportings CGI's -- where do they get their information from and how to 'reset' them... Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jan Bessels > Sent: Monday, April 24, 2006 9:58 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Reportings CGI's -- where do they get their > information from and how to 'reset' them... > > I've installed Nagios, configured it and I'm almost ready for > production. Now I want to start with a clean sheet. Eg, remove all > previous warnings, alerts etc. Have RTFM-ed and googled but can't find > it. I'm guessing that Nagios gets this info from the var/nagios.log file > and the logfiles in dir var/archives/ but I'm not sure. Any help is > appreciated... Stop nagios, remove var/nagios.log, var/archives/*, and any var/*.dat files (or the files pointed to by status_file, comment_file, downtime_file and state_retention_file in nagios.cfg if you've modified those values from the defaults). -- 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&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 From shoktai at gmail.com Tue Apr 25 09:52:02 2006 From: shoktai at gmail.com (ThomasC.) Date: Tue, 25 Apr 2006 09:52:02 +0200 Subject: nsclient++ configuration, i am lost In-Reply-To: References: <4448E788.2020805@gmail.com> <619cf3c0604220954u6db3b71er2a7f38c915878f9f@mail.gmail.com> Message-ID: <444DD522.4070901@gmail.com> Ok so the port conflict is solved. But not the syntaxic one. ../libexec/check_nrpe -H catorsv03 -p 5667 -c check_exchangeDB -a MaxWarn=15G MaxCrit=16G File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" File="d:\Program Files\Exchsrvr\MDBDATA\priv1.edb" OK all file sizes are within bounds.|'"d:\ProgramFiles\Exchsrvr\MDBDATA\priv1.stm"'=0;16106127360;17179869184; '"d:\ProgramFiles\Exchsrvr\MDBDATA\priv1.edb"'=0;16106127360;17179869184; It appears that the space between Program and Files is not interpreted so the result is wrong...I have tried simple quotes and ------------------------------------------------------- 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 j.bessels at degelderseroos.nl Tue Apr 25 11:11:28 2006 From: j.bessels at degelderseroos.nl (Jan Bessels) Date: Tue, 25 Apr 2006 11:11:28 +0200 Subject: Reportings CGI's -- where do they get their information from and how to 'reset' Message-ID: I want to thank both of you for answering my question. Deleting all *.dat files is to drastic I think. This will also delete the comments.dat and downtime.dat file. Afaik they don't have anything to do with reporting. Did some more RTFM (now that I know where to look) and did come up with the following: nagios-dir=/usr/local/nagios stop nagios rm $nagios-dir/var/nagios.log rm $nagios-dir/var/archives/*.loh m status.dat rm retention.dat Do NOT delete the following .dat files in dir $nagiosd-ri/var: downtime.dat comments.dat Not totally sure about the following -- think they can be removed. host-perfdata.dat ; default not enabled/created. service-perfdata.dat; default not enabled/created ------------------------------------------------------- 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 j.bessels at degelderseroos.nl Tue Apr 25 13:16:19 2006 From: j.bessels at degelderseroos.nl (Jan Bessels) Date: Tue, 25 Apr 2006 13:16:19 +0200 Subject: Is this possible: Debugging Nagios -- logging commands and their exit codes. Message-ID: Using Nagios 2.1. When adding things to the .cfg files sometimes things go wrong. The output of a plugin is then for example 'No output'. This is NOT very usefull at all. It would be usefull to see which cmd is really being executed. Am I missing here something or..... Older msgs on the mailinglist (don't know for which versiion) suggest trying to log things usings commands like 'ps -efU or top and putting things in a logfile. Doesn't workl that well for me. The only thing I can come up with is the following. Hopefully you can provide me with a better solution..... Extending the command_line option for a command. define command { command_name check_ping command_line } When I change it to the following I get things logged in a logfile define command { command_name check_ping command_line /bin/echo " " >> /tmp/ping.log } Of course this is NOT a very good solution. Though the commands you want to log is added to the logfile but the command is NOT executed. UNFORTUNATELY the following is NOT possible. command_line ; echo " " >> /tmp/ping.log Everything after the ; is removed be Nagios (checked objects.cache). The only thing I can imagine which hopefully wil do the trick is the followig. define command { command_name check_ping command_line /user/home/jbessels/log_and_exec_cmd.sh " " } The log_and_exec_cmd.sh script should do the following: Parse the commandline args supplied to log_and_exec_cmd.sh to get the cmd to execute (will be called $cmd) echo "$cmd" >> /tmp/logfile execute $cmd and store contents in pluginoutput variable store exit code of cmd run in returncode variable echo $pluginoutput variable >> /tmp/logfile echo $pluginout exit $returncode The last two lines are crucial I think. Because command_line has to return an ascii string and and exitcode. Does perhaps anyone have created such a script. If so I would be VERY happy if you could supply me with it. Haven't that much time to figure it all out...... If what I do is nonsense and can be accomplished in a better way I would like to know also..... PS. I had hoped Nagios would have had support for this kind of things out of the box, but maybe I didn't RTFM thoroughly enough..... Grtz, Jan Bessels ------------------------------------------------------- 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 Tue Apr 25 13:40:01 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Tue, 25 Apr 2006 12:40:01 +0100 Subject: Is this possible: Debugging Nagios -- logging commands and their exit codes. Message-ID: Have you tried manually running the plugin on the command-line ? 'No output' usually means Nagios doesn't get a result back that it understands. A manual test of the plugin may tell you why... -----Original Message----- From: Jan Bessels [mailto:j.bessels at degelderseroos.nl] Sent: 25 April 2006 12:16 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Is this possible: Debugging Nagios -- logging commands and their exit codes. Using Nagios 2.1. When adding things to the .cfg files sometimes things go wrong. The output of a plugin is then for example 'No output'. This is NOT very usefull at all. It would be usefull to see which cmd is really being executed. Am I missing here something or..... Older msgs on the mailinglist (don't know for which versiion) suggest trying to log things usings commands like 'ps -efU or top and putting things in a logfile. Doesn't workl that well for me. The only thing I can come up with is the following. Hopefully you can provide me with a better solution..... Extending the command_line option for a command. define command { command_name check_ping command_line } When I change it to the following I get things logged in a logfile define command { command_name check_ping command_line /bin/echo " " >> /tmp/ping.log } Of course this is NOT a very good solution. Though the commands you want to log is added to the logfile but the command is NOT executed. UNFORTUNATELY the following is NOT possible. command_line ; echo " " >> /tmp/ping.log Everything after the ; is removed be Nagios (checked objects.cache). The only thing I can imagine which hopefully wil do the trick is the followig. define command { command_name check_ping command_line /user/home/jbessels/log_and_exec_cmd.sh " " } The log_and_exec_cmd.sh script should do the following: Parse the commandline args supplied to log_and_exec_cmd.sh to get the cmd to execute (will be called $cmd) echo "$cmd" >> /tmp/logfile execute $cmd and store contents in pluginoutput variable store exit code of cmd run in returncode variable echo $pluginoutput variable >> /tmp/logfile echo $pluginout exit $returncode The last two lines are crucial I think. Because command_line has to return an ascii string and and exitcode. Does perhaps anyone have created such a script. If so I would be VERY happy if you could supply me with it. Haven't that much time to figure it all out...... If what I do is nonsense and can be accomplished in a better way I would like to know also..... PS. I had hoped Nagios would have had support for this kind of things out of the box, but maybe I didn't RTFM thoroughly enough..... Grtz, Jan Bessels ------------------------------------------------------- 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 j.bessels at degelderseroos.nl Tue Apr 25 14:03:38 2006 From: j.bessels at degelderseroos.nl (Jan Bessels) Date: Tue, 25 Apr 2006 14:03:38 +0200 Subject: Is this possible: Debugging Nagios -- logging commands and their exit codes. Message-ID: >>> Deborah Martin 25-4-2006 13:49:58 >>> >As an example, if you run the following command-line from wherever you have >the plugins installed :- >./check_ping -H localhost -w 3000.0,80% -c 5000.0,100% -p 1 >you would get the following output which Nagios can understand :- >PING OK - Packet loss = 0%, RTA = 0.16 ms >You'd need to amend the -H, -w, -c and -p options to your requirements of > course. Thanks for the info. As you also suggested I always start with the commandline. If that works (and only then) I put the commands in the .cfg files. Sometimes things go wrong and then it would be great to see what Nagios is actually executing. Hence logging what exacalty is executed and their exit status seems a good idea to start the debugging proces and figure out whats gooing on. ------------------------------------------------------- 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 moshesharon at gmail.com Tue Apr 25 15:37:09 2006 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 25 Apr 2006 15:37:09 +0200 Subject: Is this possible: Debugging Nagios -- logging commands and their exit codes. In-Reply-To: References: Message-ID: <88ad29240604250637n1b2a2c26sd11f4ecf2bf4c450@mail.gmail.com> hi if you want to see exactly whats going on compile / configure your nagios with --enable-DEBUGALL Moshe Sharon On 4/25/06, Jan Bessels wrote: > > > > >>> Deborah Martin 25-4-2006 13:49:58 > >>> > >As an example, if you run the following command-line from wherever you > have > >the plugins installed :- > > >./check_ping -H localhost -w 3000.0,80% -c 5000.0,100% -p 1 > > >you would get the following output which Nagios can understand :- > > >PING OK - Packet loss = 0%, RTA = 0.16 ms > > >You'd need to amend the -H, -w, -c and -p options to your requirements > of > > course. > > Thanks for the info. As you also suggested I always start with the > commandline. If that works (and only then) I put the commands in the > .cfg files. Sometimes things go wrong and then it would be great to see > what Nagios is actually executing. Hence logging what exacalty is > executed and their exit status seems a good idea to start the debugging > proces and figure out whats gooing on. > > > > > > > ------------------------------------------------------- > 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: From ktynagios at richard-group.com Tue Apr 25 15:53:41 2006 From: ktynagios at richard-group.com (Kurt Yoder) Date: Tue, 25 Apr 2006 09:53:41 -0400 Subject: Is this possible: Debugging Nagios -- logging commands and their exit codes. In-Reply-To: References: Message-ID: Also ensure you are running the command using the same environment that nagios is using. For instance, if your nagios process runs as user "nagios", you should `su - nagios` before running the command. That will allow you to exactly replicate what is happening when nagios attempts to run the command. For things like check_by_ssh this can be especially crucial, since the ssh command is using authentication keys, etc from the local user. If you have set up ssh with trusted keys from your standard account but not from nagios, you may be able to run the command perfectly well with your own account, but the nagios user will not be able to. I do like the idea of a "debugging wrapper" for executing nagios commands though. If you find out more about such a thing or write one yourself, please follow up to the list and/or post it to nagiosexchange, etc. On Apr 25, 2006, at 7:40 AM, Deborah Martin wrote: > Have you tried manually running the plugin on the command-line ? > > 'No output' usually means Nagios doesn't get a result back that it > understands. > > A manual test of the plugin may tell you why... > > -----Original Message----- > From: Jan Bessels [mailto:j.bessels at degelderseroos.nl] > Sent: 25 April 2006 12:16 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Is this possible: Debugging Nagios -- logging > commands and their exit codes. > > > Using Nagios 2.1. When adding things to the .cfg files sometimes > things > go wrong. The output of a plugin is then for example 'No output'. > This > is NOT very usefull at all. It would be usefull to see which cmd is > really being executed. Am I missing here something or..... > > Older msgs on the mailinglist (don't know for which versiion) suggest > trying to log things usings commands like 'ps -efU or top > and putting things in a logfile. Doesn't workl that well for me. > > The only thing I can come up with is the following. Hopefully you can > provide me with a better solution..... > > Extending the command_line option for a command. > > define command { > command_name check_ping > command_line > } > > When I change it to the following I get things logged in a logfile > > define command { > command_name check_ping > command_line /bin/echo " " >> /tmp/ping.log > } > > Of course this is NOT a very good solution. Though the commands you > want to log is added to the logfile but the command is NOT executed. > UNFORTUNATELY the following is NOT possible. > > command_line ; echo " " >> > /tmp/ping.log > > Everything after the ; is removed be Nagios (checked objects.cache). > > The only thing I can imagine which hopefully wil do the trick is the > followig. > > define command { > command_name check_ping > command_line /user/home/jbessels/log_and_exec_cmd.sh > " " > } > > The log_and_exec_cmd.sh script should do the following: > > Parse the commandline args supplied to log_and_exec_cmd.sh to get > the cmd to execute (will be called $cmd) > echo "$cmd" >> /tmp/logfile > execute $cmd and store contents in pluginoutput variable > store exit code of cmd run in returncode variable > echo $pluginoutput variable >> /tmp/logfile > > echo $pluginout > exit $returncode > > The last two lines are crucial I think. Because command_line has to > return an ascii string and and exitcode. > > Does perhaps anyone have created such a script. If so I would be VERY > happy if you could supply me with it. Haven't that much time to figure > it all out...... > > If what I do is nonsense and can be accomplished in a better way I > would like to know also..... > > PS. I had hoped Nagios would have had support for this kind of things > out of the box, but maybe I didn't RTFM thoroughly enough..... > > Grtz, > Jan Bessels ------------------------------------------------------- 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 kylet at panix.com Tue Apr 25 16:04:13 2006 From: kylet at panix.com (Kyle Tucker) Date: Tue, 25 Apr 2006 10:04:13 -0400 (EDT) Subject: Acknowledgement triggered actions Message-ID: <200604251404.k3PE4D617665@panix2.panix.com> Hi all, I have modified my notifications command such that it checks that if $NOTIFICATIONTYPE = "ACKNOWLEDGEMENT" then I am kicking off a couple actions; a snmpget and then an external Nagios command to submit the service check. But it runs the notification command for each recipient and I only want to trigger these actions once per acknowledgment. Any thoughts where I could tap into the CGI's action to kick off my triggers? I'm trying to avoid writing some elaborate tracing mechanism into my notification command. Thanks. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- 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 Mark.Law at thomson.com Tue Apr 25 16:18:14 2006 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Tue, 25 Apr 2006 10:18:14 -0400 Subject: NC_NET / Windows 2003 / MSSQLSERVER - not recognized Message-ID: 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=lnk&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 From tgenessay at aliadis.fr Tue Apr 25 16:30:13 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Tue, 25 Apr 2006 16:30:13 +0200 Subject: NC_NET / Windows 2003 / MSSQLSERVER - not recognized In-Reply-To: References: Message-ID: <444E3275.60409@aliadis.fr> Mark.Law at thomson.com wrote: > 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. > I don't know how NC_NET performs its checks, but if it is through WMI then you might fall into the same problem that we have. In a nutshell, the SQL Server 2000 WMI provider is buggy and the counters may stop responding. You can figure this out by checking in the perfmon; the counters might be there but invisible to WMI consumers (aka soft bug) or totally missing (hard bug). In both cases, only a server reboot can solve the problem. It might be worth having a look at CleWMI - great command line tool to query WMI - to check whether the counters are present. -- 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 nagiosadmin at snef.fr Tue Apr 25 16:39:54 2006 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Tue, 25 Apr 2006 16:39:54 +0200 Subject: NC_NET / Windows 2003 / MSSQLSERVER - not recognized In-Reply-To: References: Message-ID: <000901c66876$1e3ef570$c26710ac@sneftech.local> 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?cmd=lnk&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 From Mark.Law at thomson.com Tue Apr 25 17:19:53 2006 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Tue, 25 Apr 2006 11:19:53 -0400 Subject: NC_NET / Windows 2003 / MSSQLSERVER - not recognized Message-ID: >From the command line "net start" returns "SQL Server (MSSQLSERVER)" without the quotes for the SQL service. I wrote a short script that does the service check below with this result (it only seems that the SQL stuff is failing) Testing: SQL Server (MSSQLSERVER) SQL Server (MSSQLSERVER): Unknown Testing: SQL Server Agent (MSSQLSERVER) SQL Server Agent (MSSQLSERVER): Unknown Testing: SQL Server Broswer SQL Server Broswer: Unknown Testing: SQL Server FullText Search (MSSQLSERVER) SQL Server FullText Search (MSSQLSERVER): Unknown Testing: SQL Server Integration Services SQL Server Integration Services: Unknown Testing: System Event Notification System Event Notification: Started Testing: Automatic Updates Automatic Updates: Started -----Original Message----- From: Davy Gaussen [mailto:nagiosadmin at snef.fr] Sent: Tuesday, April 25, 2006 10:40 AM To: Law, Mark (TSH Center); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NC_NET / Windows 2003 / MSSQLSERVER - not recognized 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?cmd=lnk&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 From Janet.Post at excapsa.ca Tue Apr 25 17:52:47 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Tue, 25 Apr 2006 11:52:47 -0400 Subject: nagios 1.2 and permissions issues Message-ID: Hello Everyone. I have just inherited a fairly large 1.2 Nagios setup to maintain. It contains over 1500 services and 1000 hosts, and I need to add several more and crop a number that are no longer active. Everything works fine until I edit the hosts.cfg file. I tried commenting out a host (and leaving everything else in tact) but as soon as I do, I receive this error: 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. Would someone be able to shed some light on this error? As soon as I revert the hosts.cfg file to the way I found it, everything just startes working again. Thanks, Janet ------------------------------------------------------- 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&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 From patrick.morris at hp.com Tue Apr 25 17:55:53 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 25 Apr 2006 11:55:53 -0400 Subject: nagios 1.2 and permissions issues Message-ID: Several things can cause this, the most likely being (in my opinion) that Nagios isn't running. Use nagios -v [nagios config file] to verify your config's not broken, and make sure to reload it before hitting the web interface. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Janet Post Sent: Tuesday, April 25, 2006 8:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios 1.2 and permissions issues Hello Everyone. I have just inherited a fairly large 1.2 Nagios setup to maintain. It contains over 1500 services and 1000 hosts, and I need to add several more and crop a number that are no longer active. Everything works fine until I edit the hosts.cfg file. I tried commenting out a host (and leaving everything else in tact) but as soon as I do, I receive this error: It appears as though you do not have permission to view information for any of the services you requested... ------------------------------------------------------- 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&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 From jhmartin at toger.us Tue Apr 25 17:59:00 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 25 Apr 2006 08:59:00 -0700 Subject: nagios 1.2 and permissions issues In-Reply-To: References: Message-ID: <20060425155900.GS10150@mal.toger.us> On Tue, Apr 25, 2006 at 11:52:47AM -0400, Janet Post wrote: > I have just inherited a fairly large 1.2 Nagios setup to maintain. It > contains over 1500 services and 1000 hosts, and I need to add several > more and crop a number that are no longer active. > > Everything works fine until I edit the hosts.cfg file. I tried > commenting out a host (and leaving everything else in tact) but as soon > as I do, I receive this error: > > > It appears as though you do not have permission to view information for > any of the services you requested... What is the output of the nagios preflight? Did you restart Nagios after modifying the hosts file? -Jason Martin -- Machine-independent: does not run on any existing machine. 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: From bakers at web-ster.com Tue Apr 25 18:11:11 2006 From: bakers at web-ster.com (Scott Baker) Date: Tue, 25 Apr 2006 09:11:11 -0700 Subject: check_mrtg always returns unknown (#3)? Message-ID: <444E4A1F.2080602@web-ster.com> I'm trying to make sure that my MRTG program is running, and updating data. I think I want to use the check_mrtg function to do that. I'm *only* interested in whether the MRTG is running. Here's the syntax I'm using. ./check_mrtg -F /path/cpu.log -a MAX -v 1 -w 100 -c 200 -e 10 -l "CPU Usage" -u % Output: Max. CPU Usage = 42 %|'CPU Usage'=42%;100;200; I'm monitoring CPU usage on our router. If it goes above 100% page me. Again, I don't care about the CPU usage, I only want to know about that -e 10 (if the MRTG data is more than 10 minutes old). When I run the above command it always exits with a 3 which is Unknown in Nagios. It reads the data from MRTG just fine, it's just that no matter WHAT I do, or what syntax I try it always exits 3 unknown. Is my syntax wrong on that check? Scott ------------------------------------------------------- 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 Janet.Post at excapsa.ca Tue Apr 25 18:48:58 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Tue, 25 Apr 2006 12:48:58 -0400 Subject: nagios 1.2 and permissions issues Message-ID: I have used nagios -v to check the configuration and I receive 32 warnings and 0 errors. I have restarted nagios: /etc/init.d/nagios restart It seems to be very selective of what it will show me: I can view host detail for example (status.cgi?hostgroup=all&style=hostdetail) but not a service group (status.cgi?hostgroup=mail-srv&style=detail). Incidently, the host that I'm trying to remove has NOTHING to do with the mail-srv group that I used above in my example, but it effects it none-the-less. -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: April 25, 2006 11:56 AM To: Janet Post; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios 1.2 and permissions issues Several things can cause this, the most likely being (in my opinion) that Nagios isn't running. Use nagios -v [nagios config file] to verify your config's not broken, and make sure to reload it before hitting the web interface. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Janet Post Sent: Tuesday, April 25, 2006 8:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios 1.2 and permissions issues Hello Everyone. I have just inherited a fairly large 1.2 Nagios setup to maintain. It contains over 1500 services and 1000 hosts, and I need to add several more and crop a number that are no longer active. Everything works fine until I edit the hosts.cfg file. I tried commenting out a host (and leaving everything else in tact) but as soon as I do, I receive this error: It appears as though you do not have permission to view information for any of the services you requested... ------------------------------------------------------- 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&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 From sfnet at bingle.org Tue Apr 25 17:59:02 2006 From: sfnet at bingle.org (Rich) Date: Tue, 25 Apr 2006 11:59:02 -0400 Subject: timing of local event handlers and notifications? Message-ID: The documentation states that "global event handlers are executed before any local event handlers that you have configured for specific hosts or services", however, I can't find any documentation on when notifications are sent in relation to local event handlers. If I have a redundant nagios server setup as as described in the documentation (scenario 1, i.e. the redundant server is monitoring everything the primary is, but has notifications globally disabled) and it detects that the primary is down, it will execute its local event handler and turn its global notifications on. However, I want to verify that its global notifications will be enabled before it would send out notification of the "primary down" alert. In other words, I want to make sure that the "primary down" notification is (one of) the first notifications that the backup sends once it detects that the primary is having a problem. Thanks, -- Rich -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Tue Apr 25 20:46:33 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 25 Apr 2006 11:46:33 -0700 Subject: Acknowledgement triggered actions Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D75@dw-mail.dataway.com> Can you change one of your contacts to use a different notification command? Something like this: define command{ command_name host-notify-normal command_line notify.sh "normal" "$HOSTNAME$" "$HOSTSTATE$"....} define command{ command_name host-notify-with-actions command_line notify.sh "action" "$HOSTNAME$" "$HOSTSTATE$....} Your same notification script would then just have to look for "action/normal" and perform the extra actions or not. > -----Original Message----- > From: Kyle Tucker [mailto:kylet at panix.com] > Sent: Tuesday, April 25, 2006 7:04 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Acknowledgement triggered actions > > > Hi all, > I have modified my notifications command such that > it checks that if $NOTIFICATIONTYPE = "ACKNOWLEDGEMENT" > then I am kicking off a couple actions; a snmpget and then > an external Nagios command to submit the service check. But > it runs the notification command for each recipient and I > only want to trigger these actions once per acknowledgment. > Any thoughts where I could tap into the CGI's action to > kick off my triggers? I'm trying to avoid writing some > elaborate tracing mechanism into my notification command. > Thanks. > > -- > - Kyle > --------------------------------------------- > kylet at panix.com http://www.panix.com/~kylet > --------------------------------------------- > > > ------------------------------------------------------- > 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 ravikmrs at yahoo.com Tue Apr 25 21:05:04 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Tue, 25 Apr 2006 12:05:04 -0700 (PDT) Subject: Nagios error Message-ID: <20060425190504.72419.qmail@web53909.mail.yahoo.com> I've been noticing following error messages during nagios access.Please advice. Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: Verify configuration options using the -v command-line option to check for errors. Check the Nagios log file for messages relating to startup or status data errors. 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. The only things was change httpdf.conf file which I revert. Thanks --------------------------------- Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Tue Apr 25 21:36:02 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 25 Apr 2006 15:36:02 -0400 Subject: Nagios error In-Reply-To: <20060425190504.72419.qmail@web53909.mail.yahoo.com> References: <20060425190504.72419.qmail@web53909.mail.yahoo.com> Message-ID: <302ce8b50604251236y19855d94ndc67afae15ae2d80@mail.gmail.com> On 4/25/06, Ravi Kumar wrote: > > I've been noticing following error messages during nagios access.Please > advice. > Whoops! > Error: Could not read object configuration data! > Here are some things you should check in order to resolve this error: > > > Verify configuration options using the -v command-line option to check for > errors. > Check the Nagios log file for messages relating to startup or status data > errors. > 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. > > The only things was change httpdf.conf file which I revert. > Thanks Have you followed the steps listed in that error? Is nagios running? Does have you verified your permissions? -- 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&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 From sholland at sandara.ca Wed Apr 26 04:32:38 2006 From: sholland at sandara.ca (Shawn Holland) Date: Tue, 25 Apr 2006 23:32:38 -0300 Subject: Pgsql host list and check_ping Message-ID: <200604252332.38978.sholland@sandara.ca> Hi, I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. My Linux server has a Postgres database that has a table containing all devices on the network with their IP address and host name. I was wondering what a recommended way to allow Nagios to use this list and do a check_ping to each device and report their status? I know I could manually set each within a host and multiple services to ping each one. But I want it to utilize the existing db list as it may change and I want to cut down on overhead. -- Regards, Shawn Holland Sandara Technologies Ltd. ------------------------------------------------------- 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 ron at tvnz.co.nz Wed Apr 26 05:41:21 2006 From: ron at tvnz.co.nz (Ron Wilson) Date: Wed, 26 Apr 2006 15:41:21 +1200 Subject: Plugin Problems Message-ID: I have a problem with Perl plugins. Every few weeks Nagios complains because the Perl plugins like check_snmp_win.pl fail to work and provide no data to Nagios which promptly sends out dozens of alerts. The only way I can seem to fix it to reboot server. All other Nagios plugins seem to work OK its just the .pl ones. Maybe I should compile them? Any ideas? ===================================================================== CAUTION: This e-mail and any attachment(s) contains information that is intended to be read only by the named recipient(s). It may contain information that is confidential, proprietary or the subject of legal privilege. This information is not to be used by any other person and/or organisation. If you are not the intended recipient, please advise us immediately and delete this e-mail from your system. Do not use any information contained in it. ================================================================ For more information on the Television New Zealand Group, visit us online at http://www.tvnz.co.nz ================================================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: From cowboy+nagios at cavein.org Wed Apr 26 06:20:10 2006 From: cowboy+nagios at cavein.org (Richard A Nelson) Date: Tue, 25 Apr 2006 21:20:10 -0700 (PDT) Subject: NSCA kinda... Monitored host to Nagios server info Message-ID: I've got a medium site monitored with Nagios, and really like the changes in V2 :) Here's one thing I have not been able to figure out how to handle: I monitor service X on about a dozen machines Some of those machines run testcases, which interfere with service X 1) I want to stop notifications before running those testcases 2) I want to run the testcases, which corrupt, fill service X without flooding myself with mails 3) After the testcases are run, I want to re-enable notifications 4) This must all be scriptable My first thought was NSCA, but I can't see how to have it do more than the usual passive notification it seems designed for. My next thought was to ssh from the monitored host to the server, with a dedicated key (only able to start/stop notification), and have a script on the monitoring server that dis/en-abled notifications. The problem is that the ssh approach looks to work, but requires different scripts, and keys for each scenario - I just don't seee it scaling well. Has anyone done something like this already ? -- Rick Nelson Life'll kill ya -- Warren Zevon Then you'll be dead -- Life'll kill ya ------------------------------------------------------- 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 trasko at gmail.com Wed Apr 26 06:34:09 2006 From: trasko at gmail.com (Trask) Date: Tue, 25 Apr 2006 21:34:09 -0700 Subject: NSCA kinda... Monitored host to Nagios server info In-Reply-To: References: Message-ID: <735379850604252134p2754fd7eq1048b1cde2ee6784@mail.gmail.com> On 4/25/06, Richard A Nelson wrote: > > I've got a medium site monitored with Nagios, and really like the > changes in V2 :) > > Here's one thing I have not been able to figure out how to handle: > > I monitor service X on about a dozen machines > Some of those machines run testcases, which interfere with service X > 1) I want to stop notifications before running those testcases > 2) I want to run the testcases, which corrupt, fill service X > without flooding myself with mails > 3) After the testcases are run, I want to re-enable notifications > 4) This must all be scriptable > > My first thought was NSCA, but I can't see how to have it do more than > the usual passive notification it seems designed for. > > My next thought was to ssh from the monitored host to the server, > with a dedicated key (only able to start/stop notification), and have > a script on the monitoring server that dis/en-abled notifications. > > The problem is that the ssh approach looks to work, but requires > different scripts, and keys for each scenario - I just don't seee > it scaling well. > > Has anyone done something like this already ? > -- > Rick Nelson > Life'll kill ya -- Warren Zevon > Then you'll be dead -- Life'll kill ya > > 1) Can you provide some more information as to specifically what you mean by "testcases"? Is nagios going to be initiating these test cases or is something else? 2) Do these tests happen during a regularly scheduled time interval? The scheduled downtime feature would work for that. 3) At first thought, the ssh methods seems not quite as complex as you described -- dealing with keys will be as annoying as it has to be for your security-mindedness, but the command you need to run is a one-liner and wouldn't require any daemon running on the nagios server. Just ssh in using a key and echo a command to nagios via the command file. 4) Have you considered using the cgi's + some Apache authentication method? I haven't actually looked into it, but anything you can do through the web interface you should be able to script. There is more possible that I had previously thought: http://www.nagios.org/developerinfo/externalcommands/commandlist.php ------------------------------------------------------- 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&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 From hvdkooij at vanderkooij.org Wed Apr 26 07:05:55 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 26 Apr 2006 07:05:55 +0200 (CEST) Subject: Pgsql host list and check_ping In-Reply-To: <200604252332.38978.sholland@sandara.ca> References: <200604252332.38978.sholland@sandara.ca> Message-ID: On Tue, 25 Apr 2006, Shawn Holland wrote: > I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. > > My Linux server has a Postgres database that has a table containing all > devices on the network with their IP address and host name. > > I was wondering what a recommended way to allow Nagios to use this list and do > a check_ping to each device and report their status? I know I could manually > set each within a host and multiple services to ping each one. But I want it > to utilize the existing db list as it may change and I want to cut down on > overhead. I suggest you write a small script to generate a nagios config file for these hosts and services and dropt it in a subdirectory of your nagios config directory. Then point nagios to it with the cfg_dir statement. There is no recommended way as there is no way presently to do it. You have to build it yourself. 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. ------------------------------------------------------- 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 Wed Apr 26 08:36:18 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 26 Apr 2006 02:36:18 -0400 Subject: NSCA kinda... Monitored host to Nagios server info Message-ID: This sounds like it may be similar to a situation I deal with -- I monitor a bunch of databases that shut down nightly to sync up with other DBs, and the DB is down while this happens. What I do is use nagios-statd to check if the db sync process is running, and set a check to a warning state if it is. I then have a notification dependency on the main DB checks: if the sync check is in a warning state, notifications are disabled. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Richard A Nelson Sent: Tuesday, April 25, 2006 9:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSCA kinda... Monitored host to Nagios server info I've got a medium site monitored with Nagios, and really like the changes in V2 :) Here's one thing I have not been able to figure out how to handle: I monitor service X on about a dozen machines Some of those machines run testcases, which interfere with service X 1) I want to stop notifications before running those testcases 2) I want to run the testcases, which corrupt, fill service X without flooding myself with mails 3) After the testcases are run, I want to re-enable notifications 4) This must all be scriptable My first thought was NSCA, but I can't see how to have it do more than the usual passive notification it seems designed for. My next thought was to ssh from the monitored host to the server, with a dedicated key (only able to start/stop notification), and have a script on the monitoring server that dis/en-abled notifications. The problem is that the ssh approach looks to work, but requires different scripts, and keys for each scenario - I just don't seee it scaling well. Has anyone done something like this already ? -- Rick Nelson Life'll kill ya -- Warren Zevon Then you'll be dead -- Life'll kill ya ------------------------------------------------------- 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&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 From j.bessels at degelderseroos.nl Wed Apr 26 09:32:31 2006 From: j.bessels at degelderseroos.nl (Jan Bessels) Date: Wed, 26 Apr 2006 09:32:31 +0200 Subject: Betr.: Re: Is this possible: Debugging Nagios -- logging commands and their exit codes. Message-ID: Thanks everybody for the responses. Turns out what I want isn't standard in Nagios. Have no time to build a debugging wrapper myself. Last night I again checked the NagiosExchange site AND http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=273 !!. Exactlly what I need, goin to implement this. Turns out I overlooked this GEM last few times I visited the site. One could do worse then really look carefully at the content of this site... Jan Bessels >>> Kurt Yoder 25-4-2006 15:53:41 >>> Also ensure you are running the command using the same environment that nagios is using. For instance, if your nagios process runs as user "nagios", you should `su - nagios` before running the command. That will allow you to exactly replicate what is happening when nagios attempts to run the command. For things like check_by_ssh this can be especially crucial, since the ssh command is using authentication keys, etc from the local user. If you have set up ssh with trusted keys from your standard account but not from nagios, you may be able to run the command perfectly well with your own account, but the nagios user will not be able to. I do like the idea of a "debugging wrapper" for executing nagios commands though. If you find out more about such a thing or write one yourself, please follow up to the list and/or post it to nagiosexchange, etc. On Apr 25, 2006, at 7:40 AM, Deborah Martin wrote: > Have you tried manually running the plugin on the command-line ? > > 'No output' usually means Nagios doesn't get a result back that it > understands. > > A manual test of the plugin may tell you why... > > -----Original Message----- > From: Jan Bessels [mailto:j.bessels at degelderseroos.nl] > Sent: 25 April 2006 12:16 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Is this possible: Debugging Nagios -- logging > commands and their exit codes. > > > Using Nagios 2.1. When adding things to the .cfg files sometimes > things > go wrong. The output of a plugin is then for example 'No output'. > This > is NOT very usefull at all. It would be usefull to see which cmd is > really being executed. Am I missing here something or..... > > Older msgs on the mailinglist (don't know for which versiion) suggest > trying to log things usings commands like 'ps -efU or top > and putting things in a logfile. Doesn't workl that well for me. > > The only thing I can come up with is the following. Hopefully you can > provide me with a better solution..... > > Extending the command_line option for a command. > > define command { > command_name check_ping > command_line > } > > When I change it to the following I get things logged in a logfile > > define command { > command_name check_ping > command_line /bin/echo " " >> /tmp/ping.log > } > > Of course this is NOT a very good solution. Though the commands you > want to log is added to the logfile but the command is NOT executed. > UNFORTUNATELY the following is NOT possible. > > command_line ; echo " " >> > /tmp/ping.log > > Everything after the ; is removed be Nagios (checked objects.cache). > > The only thing I can imagine which hopefully wil do the trick is the > followig. > > define command { > command_name check_ping > command_line /user/home/jbessels/log_and_exec_cmd.sh > " " > } > > The log_and_exec_cmd.sh script should do the following: > > Parse the commandline args supplied to log_and_exec_cmd.sh to get > the cmd to execute (will be called $cmd) > echo "$cmd" >> /tmp/logfile > execute $cmd and store contents in pluginoutput variable > store exit code of cmd run in returncode variable > echo $pluginoutput variable >> /tmp/logfile > > echo $pluginout > exit $returncode > > The last two lines are crucial I think. Because command_line has to > return an ascii string and and exitcode. > > Does perhaps anyone have created such a script. If so I would be VERY > happy if you could supply me with it. Haven't that much time to figure > it all out...... > > If what I do is nonsense and can be accomplished in a better way I > would like to know also..... > > PS. I had hoped Nagios would have had support for this kind of things > out of the box, but maybe I didn't RTFM thoroughly enough..... > > Grtz, > Jan Bessels ------------------------------------------------------- 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 sholland at sandara.ca Wed Apr 26 15:15:15 2006 From: sholland at sandara.ca (Shawn Holland) Date: Wed, 26 Apr 2006 10:15:15 -0300 Subject: Pgsql host list and check_ping In-Reply-To: References: <200604252332.38978.sholland@sandara.ca> Message-ID: <200604261015.15725.sholland@sandara.ca> I will try that. Does Nagios need to be restarted everytime the script rebuilds the config? (say if there is a new host added to the DB or one changes) to recognize the changes? On Wednesday 26 April 2006 2:05 am, Hugo van der Kooij wrote: > On Tue, 25 Apr 2006, Shawn Holland wrote: > > I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. > > > > My Linux server has a Postgres database that has a table containing all > > devices on the network with their IP address and host name. > > > > I was wondering what a recommended way to allow Nagios to use this list > > and do a check_ping to each device and report their status? I know I > > could manually set each within a host and multiple services to ping each > > one. But I want it to utilize the existing db list as it may change and I > > want to cut down on overhead. > > I suggest you write a small script to generate a nagios config file for > these hosts and services and dropt it in a subdirectory of your nagios > config directory. Then point nagios to it with the cfg_dir statement. > > There is no recommended way as there is no way presently to do it. You > have to build it yourself. > > Hugo. -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 ------------------------------------------------------- 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 Janet.Post at excapsa.ca Wed Apr 26 14:37:17 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 26 Apr 2006 08:37:17 -0400 Subject: Pgsql host list and check_ping Message-ID: Shawn, I would be very interested in getting a copy of this script when you have it written. Would you be willing to share? Janet. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shawn Holland Sent: April 26, 2006 9:15 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Pgsql host list and check_ping I will try that. Does Nagios need to be restarted everytime the script rebuilds the config? (say if there is a new host added to the DB or one changes) to recognize the changes? On Wednesday 26 April 2006 2:05 am, Hugo van der Kooij wrote: > On Tue, 25 Apr 2006, Shawn Holland wrote: > > I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. > > > > My Linux server has a Postgres database that has a table containing all > > devices on the network with their IP address and host name. > > > > I was wondering what a recommended way to allow Nagios to use this list > > and do a check_ping to each device and report their status? I know I > > could manually set each within a host and multiple services to ping each > > one. But I want it to utilize the existing db list as it may change and I > > want to cut down on overhead. > > I suggest you write a small script to generate a nagios config file for > these hosts and services and dropt it in a subdirectory of your nagios > config directory. Then point nagios to it with the cfg_dir statement. > > There is no recommended way as there is no way presently to do it. You > have to build it yourself. > > Hugo. -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 ------------------------------------------------------- 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&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 From sholland at sandara.ca Wed Apr 26 15:42:59 2006 From: sholland at sandara.ca (Shawn Holland) Date: Wed, 26 Apr 2006 10:42:59 -0300 Subject: Pgsql host list and check_ping In-Reply-To: References: Message-ID: <200604261042.59927.sholland@sandara.ca> Janet, I will be working on it today. When I get it done I will forward it to you. My question still remains. If the configs are rebuilt does nagios need to be restarted? On Wednesday 26 April 2006 9:37 am, Janet Post wrote: > Shawn, > > I would be very interested in getting a copy of this script when you > have it written. Would you be willing to share? > > Janet. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shawn > Holland > Sent: April 26, 2006 9:15 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Pgsql host list and check_ping > > I will try that. Does Nagios need to be restarted everytime the script > rebuilds the config? (say if there is a new host added to the DB or one > changes) to recognize the changes? > > On Wednesday 26 April 2006 2:05 am, Hugo van der Kooij wrote: > > On Tue, 25 Apr 2006, Shawn Holland wrote: > > > I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. > > > > > > My Linux server has a Postgres database that has a table containing > > all > > > > devices on the network with their IP address and host name. > > > > > > I was wondering what a recommended way to allow Nagios to use this > > list > > > > and do a check_ping to each device and report their status? I know I > > > could manually set each within a host and multiple services to ping > > each > > > > one. But I want it to utilize the existing db list as it may change > > and I > > > > want to cut down on overhead. > > > > I suggest you write a small script to generate a nagios config file > > for > > > these hosts and services and dropt it in a subdirectory of your nagios > > config directory. Then point nagios to it with the cfg_dir statement. > > > > There is no recommended way as there is no way presently to do it. You > > have to build it yourself. > > > > Hugo. -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 ------------------------------------------------------- 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 Janet.Post at excapsa.ca Wed Apr 26 14:53:20 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 26 Apr 2006 08:53:20 -0400 Subject: Pgsql host list and check_ping Message-ID: Thanks!! I do not believe you have to restart. I have added components to my nagios configuration and it just took effect without any issues. I think that state retention might cause problems with this, but I am not sure. If it does, you could have nagios reread the configuration files using '/etc/init.d/nagios reload'. I am not too experienced in this area, so I defer to other more experienced users here who may be able to give you a better answer. Janet -----Original Message----- From: Shawn Holland [mailto:sholland at sandara.ca] Sent: April 26, 2006 9:43 AM To: nagios-users at lists.sourceforge.net Cc: Janet Post Subject: Re: [Nagios-users] Pgsql host list and check_ping Janet, I will be working on it today. When I get it done I will forward it to you. My question still remains. If the configs are rebuilt does nagios need to be restarted? On Wednesday 26 April 2006 9:37 am, Janet Post wrote: > Shawn, > > I would be very interested in getting a copy of this script when you > have it written. Would you be willing to share? > > Janet. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shawn > Holland > Sent: April 26, 2006 9:15 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Pgsql host list and check_ping > > I will try that. Does Nagios need to be restarted everytime the script > rebuilds the config? (say if there is a new host added to the DB or one > changes) to recognize the changes? > > On Wednesday 26 April 2006 2:05 am, Hugo van der Kooij wrote: > > On Tue, 25 Apr 2006, Shawn Holland wrote: > > > I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. > > > > > > My Linux server has a Postgres database that has a table containing > > all > > > > devices on the network with their IP address and host name. > > > > > > I was wondering what a recommended way to allow Nagios to use this > > list > > > > and do a check_ping to each device and report their status? I know I > > > could manually set each within a host and multiple services to ping > > each > > > > one. But I want it to utilize the existing db list as it may change > > and I > > > > want to cut down on overhead. > > > > I suggest you write a small script to generate a nagios config file > > for > > > these hosts and services and dropt it in a subdirectory of your nagios > > config directory. Then point nagios to it with the cfg_dir statement. > > > > There is no recommended way as there is no way presently to do it. You > > have to build it yourself. > > > > Hugo. -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 ------------------------------------------------------- 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&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 From Deborah.Martin at Kognitio.com Wed Apr 26 15:00:47 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 26 Apr 2006 14:00:47 +0100 Subject: Pgsql host list and check_ping Message-ID: I believe if a .cfg file changes, nagios has to be restarted in order to load the changes. With plugin changes, I believe it isn't necessary. regards, -----Original Message----- From: Janet Post [mailto:Janet.Post at excapsa.ca] Sent: 26 April 2006 13:53 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Pgsql host list and check_ping Thanks!! I do not believe you have to restart. I have added components to my nagios configuration and it just took effect without any issues. I think that state retention might cause problems with this, but I am not sure. If it does, you could have nagios reread the configuration files using '/etc/init.d/nagios reload'. I am not too experienced in this area, so I defer to other more experienced users here who may be able to give you a better answer. Janet -----Original Message----- From: Shawn Holland [mailto:sholland at sandara.ca] Sent: April 26, 2006 9:43 AM To: nagios-users at lists.sourceforge.net Cc: Janet Post Subject: Re: [Nagios-users] Pgsql host list and check_ping Janet, I will be working on it today. When I get it done I will forward it to you. My question still remains. If the configs are rebuilt does nagios need to be restarted? On Wednesday 26 April 2006 9:37 am, Janet Post wrote: > Shawn, > > I would be very interested in getting a copy of this script when you > have it written. Would you be willing to share? > > Janet. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shawn > Holland > Sent: April 26, 2006 9:15 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Pgsql host list and check_ping > > I will try that. Does Nagios need to be restarted everytime the script > rebuilds the config? (say if there is a new host added to the DB or one > changes) to recognize the changes? > > On Wednesday 26 April 2006 2:05 am, Hugo van der Kooij wrote: > > On Tue, 25 Apr 2006, Shawn Holland wrote: > > > I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. > > > > > > My Linux server has a Postgres database that has a table containing > > all > > > > devices on the network with their IP address and host name. > > > > > > I was wondering what a recommended way to allow Nagios to use this > > list > > > > and do a check_ping to each device and report their status? I know I > > > could manually set each within a host and multiple services to ping > > each > > > > one. But I want it to utilize the existing db list as it may change > > and I > > > > want to cut down on overhead. > > > > I suggest you write a small script to generate a nagios config file > > for > > > these hosts and services and dropt it in a subdirectory of your nagios > > config directory. Then point nagios to it with the cfg_dir statement. > > > > There is no recommended way as there is no way presently to do it. You > > have to build it yourself. > > > > Hugo. -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 ------------------------------------------------------- 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 marc at ena.com Wed Apr 26 17:30:37 2006 From: marc at ena.com (Marc Powell) Date: Wed, 26 Apr 2006 10:30:37 -0500 Subject: Pgsql host list and check_ping Message-ID: A restart, reload or HUP to the master daemon process is required to reload the config files. We use this same methodology to recreate cfg files and reload several times a day. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Shawn Holland > Sent: Wednesday, April 26, 2006 8:43 AM > To: nagios-users at lists.sourceforge.net > Cc: Janet Post > Subject: Re: [Nagios-users] Pgsql host list and check_ping > > Janet, > > I will be working on it today. When I get it done I will forward it to > you. > > My question still remains. If the configs are rebuilt does nagios need to > be > restarted? > > On Wednesday 26 April 2006 9:37 am, Janet Post wrote: > > Shawn, > > > > I would be very interested in getting a copy of this script when you > > have it written. Would you be willing to share? > > > > Janet. > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shawn > > Holland > > Sent: April 26, 2006 9:15 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Pgsql host list and check_ping > > > > I will try that. Does Nagios need to be restarted everytime the script > > rebuilds the config? (say if there is a new host added to the DB or one > > changes) to recognize the changes? > > > > On Wednesday 26 April 2006 2:05 am, Hugo van der Kooij wrote: > > > On Tue, 25 Apr 2006, Shawn Holland wrote: > > > > I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. > > > > > > > > My Linux server has a Postgres database that has a table containing > > > > all > > > > > > devices on the network with their IP address and host name. > > > > > > > > I was wondering what a recommended way to allow Nagios to use this > > > > list > > > > > > and do a check_ping to each device and report their status? I know I > > > > could manually set each within a host and multiple services to ping > > > > each > > > > > > one. But I want it to utilize the existing db list as it may change > > > > and I > > > > > > want to cut down on overhead. > > > > > > I suggest you write a small script to generate a nagios config file > > > > for > > > > > these hosts and services and dropt it in a subdirectory of your nagios > > > config directory. Then point nagios to it with the cfg_dir statement. > > > > > > There is no recommended way as there is no way presently to do it. You > > > have to build it yourself. > > > > > > Hugo. > > -- > Regards, > > Shawn Holland > Sandara Technologies Ltd. > Ph. 1-902-405-3344 > Fx. 1-902-405-3345 > > > ------------------------------------------------------- > 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&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 From sholland at sandara.ca Wed Apr 26 18:30:20 2006 From: sholland at sandara.ca (Shawn Holland) Date: Wed, 26 Apr 2006 13:30:20 -0300 Subject: Pgsql host list and check_ping In-Reply-To: References: Message-ID: <200604261330.20290.sholland@sandara.ca> Yes you do have to restart nagios. I have finished the perl script and it works perfectly. Thanks for the help. If anyone wants the script please email me. On Wednesday 26 April 2006 10:00 am, Deborah Martin wrote: > I believe if a .cfg file changes, nagios has to be restarted in order to > load the changes. > With plugin changes, I believe it isn't necessary. > > regards, > > -----Original Message----- > From: Janet Post [mailto:Janet.Post at excapsa.ca] > Sent: 26 April 2006 13:53 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Pgsql host list and check_ping > > > Thanks!! > > I do not believe you have to restart. I have added components to my > nagios configuration and it just took effect without any issues. I > think that state retention might cause problems with this, but I am not > sure. If it does, you could have nagios reread the configuration files > using '/etc/init.d/nagios reload'. I am not too experienced in this > area, so I defer to other more experienced users here who may be able to > give you a better answer. > > Janet > > > -----Original Message----- > From: Shawn Holland [mailto:sholland at sandara.ca] > Sent: April 26, 2006 9:43 AM > To: nagios-users at lists.sourceforge.net > Cc: Janet Post > Subject: Re: [Nagios-users] Pgsql host list and check_ping > > Janet, > > I will be working on it today. When I get it done I will forward it to > you. > > My question still remains. If the configs are rebuilt does nagios need > to be > restarted? > > On Wednesday 26 April 2006 9:37 am, Janet Post wrote: > > Shawn, > > > > I would be very interested in getting a copy of this script when you > > have it written. Would you be willing to share? > > > > Janet. > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shawn > > Holland > > Sent: April 26, 2006 9:15 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Pgsql host list and check_ping > > > > I will try that. Does Nagios need to be restarted everytime the script > > rebuilds the config? (say if there is a new host added to the DB or > > one > > > changes) to recognize the changes? > > > > On Wednesday 26 April 2006 2:05 am, Hugo van der Kooij wrote: > > > On Tue, 25 Apr 2006, Shawn Holland wrote: > > > > I have setup a server running Nagios 2.2 with > > nagios-plugins-1.4.3. > > > > > My Linux server has a Postgres database that has a table > > containing > > > all > > > > > > devices on the network with their IP address and host name. > > > > > > > > I was wondering what a recommended way to allow Nagios to use this > > > > list > > > > > > and do a check_ping to each device and report their status? I know > > I > > > > > could manually set each within a host and multiple services to > > ping > > > each > > > > > > one. But I want it to utilize the existing db list as it may > > change > > > and I > > > > > > want to cut down on overhead. > > > > > > I suggest you write a small script to generate a nagios config file > > > > for > > > > > these hosts and services and dropt it in a subdirectory of your > > nagios > > > > config directory. Then point nagios to it with the cfg_dir > > statement. > > > > There is no recommended way as there is no way presently to do it. > > You > > > > have to build it yourself. > > > > > > Hugo. -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 ------------------------------------------------------- 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 Eric at Clickability.com Wed Apr 26 19:52:10 2006 From: Eric at Clickability.com (Eric Solomon) Date: Wed, 26 Apr 2006 10:52:10 -0700 Subject: Stats graphing for Nagios 2 Message-ID: <444FB34A.8080301@clickability.com> We've been using nagiostat (http://nagiostat.sourceforge.net/) with Nagios 1 to keep track of a few service checks and generate MRTG graphs from the data. It works reasonably enough, though the config file's a little convoluted and it does push the loads up a bit. We just migrated to Nagios 2. I assume (correct me if I'm wrong) that Nagiostat will work with it, might have to tweak it for new plugins and their performance output. Are there any other solutions people recommend, that work with Nagios 2? -- __________________________________________________________ Eric Solomon Senior Unix Engineer Clickability, Inc. Simplifying web content management 121 2nd Street, Fifth Floor, San Francisco, CA 94105-3611 tel 415.575.5143 eric @clickability.com fax 415.538.0839 http://www.clickability.com This email message may contain confidential and/or legally privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. DO NOT FORWARD THIS EMAIL MESSAGE WITHOUT THE PERMISSION OF THE SENDER. __________________________________________________________ ------------------------------------------------------- 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 b00mer at gmx.net Wed Apr 26 21:06:18 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Wed, 26 Apr 2006 21:06:18 +0200 Subject: Stats graphing for Nagios 2 In-Reply-To: <444FB34A.8080301@clickability.com> References: <444FB34A.8080301@clickability.com> Message-ID: <444FC4AA.80302@gmx.net> Eric Solomon schrieb: > We've been using nagiostat (http://nagiostat.sourceforge.net/) with > Nagios 1 to keep track of a few service checks and generate MRTG graphs > from the data. It works reasonably enough, though the config file's a > little convoluted and it does push the loads up a bit. > > We just migrated to Nagios 2. I assume (correct me if I'm wrong) that > Nagiostat will work with it, might have to tweak it for new plugins and > their performance output. Are there any other solutions people > recommend, that work with Nagios 2? > > Hi Eric, can't tell you much about nagiostat, but as you are looking for other graphing tools I can point you to PNP. See it here: http://www.ederdrom.de/doku.php/nagios/pnp It is simple to install, easy to manage (most of it is managed by itself), is template based and works on rrdtools. Cons: Up to now it's all in german language. If you are not bad with perl it should be easy to find out how the "process_perfdata.pl" works. Give the link a try and have a look to the screenshots. If you (or others on this list) are interested it should be no big problem to write the documentation and the tool in english. Regards, Hendrik ------------------------------------------------------- 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 cshaffer at gmail.com Wed Apr 26 21:21:37 2006 From: cshaffer at gmail.com (Curt Shaffer) Date: Wed, 26 Apr 2006 15:21:37 -0400 Subject: Stats graphing for Nagios 2 In-Reply-To: <444FC4AA.80302@gmx.net> References: <444FC4AA.80302@gmx.net> Message-ID: <01f401c66966$a41fb580$8800550a@acg.arlington.local> -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hendrik Baecker Sent: Wednesday, April 26, 2006 3:06 PM To: Eric Solomon Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Stats graphing for Nagios 2 Eric Solomon schrieb: > We've been using nagiostat (http://nagiostat.sourceforge.net/) with > Nagios 1 to keep track of a few service checks and generate MRTG graphs > from the data. It works reasonably enough, though the config file's a > little convoluted and it does push the loads up a bit. > > We just migrated to Nagios 2. I assume (correct me if I'm wrong) that > Nagiostat will work with it, might have to tweak it for new plugins and > their performance output. Are there any other solutions people > recommend, that work with Nagios 2? > > Hi Eric, can't tell you much about nagiostat, but as you are looking for other graphing tools I can point you to PNP. See it here: http://www.ederdrom.de/doku.php/nagios/pnp It is simple to install, easy to manage (most of it is managed by itself), is template based and works on rrdtools. Cons: Up to now it's all in german language. If you are not bad with perl it should be easy to find out how the "process_perfdata.pl" works. Give the link a try and have a look to the screenshots. If you (or others on this list) are interested it should be no big problem to write the documentation and the tool in english. Regards, Hendrik I have been using perfparse and it seemed to suffice until recently. What I really need now is a way to pull reports from this data cumulatively. It is still nice to have the graphs to look at but it would be nice to say, pull all of it together and get a graph of the average say CPU for all of your Windows servers for example. PNP looks a little cleaner than perfparse so I would welcome this if it were ported to English. Curt ------------------------------------------------------- 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 sandeep-n-murthy at telecom.pt Thu Apr 27 11:29:08 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Thu, 27 Apr 2006 10:29:08 +0100 Subject: latency and parallelize check Message-ID: Hi, I have a few questions regarding Latency and parallelize checks. Appreciate some help in this regard.. 1. Latency: The average Latency value is 70.24 Seconds for all the services but I believe is way too high. I browsed the site (http://nagios.sourceforge.net/docs/2_0/tuning.html) but couldn't exactly figure out how to reduce this figure. How do I go about reducing the Latency figure ? 2. Regarding Parallelize Check: (This directive is used to determine whether or not the service check can be parallelized. By default, all service checks are parallelized. Disabling parallel checks of services can result in serious performance problems.) >From what I can understand, Parallelize check means that if I have a Service check configured to run every 3 minutes, and Nagios determines that even though the previous check launched 3 mins ago has still not finished it launches a new check !? Am I correct in this assumption ? If yes, how can Disabling this result in performance problems ? shouldn't it be viceversa ? 3. Finally, In a service configuration file, I have the following: Maximum Check Attempts: 5 Normal Check Interval In Time-Units: 5 Retry Check Interval In Time-Units: 3 In the above, Shouldn't the Normal Check Interval be Greater than Maximum Check Attempts * Retry Check Interval ? TIA, sg ===================================================================== CAUTION: This e-mail and any attachment(s) contains information that is intended to be read only by the named recipient(s). It may contain information that is confidential, proprietary or the subject of legal privilege. This information is not to be used by any other person and/or organisation. If you are not the intended recipient, please advise us immediately and delete this e-mail from your system. Do not use any information contained in it. ================================================================ For more information on the Television New Zealand Group, visit us online at http://www.tvnz.co.nz ================================================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Thu Apr 27 11:36:20 2006 From: shoktai at gmail.com (ThomasC.) Date: Thu, 27 Apr 2006 11:36:20 +0200 Subject: Check file size Message-ID: <44509094.70305@gmail.com> Hi List, I am trying to monitor the size of Exchange database files. I have tried several ways to handle space character in file path but none worked. Anyone has an idea ? The command is : check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G File=d:\Program Files\Exchsrvr\MDBDATA\priv1.stm File=d:\Program Files\Exchsrvr\MDBDATA\priv1.edb I have tried that : check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" File="d:\Program Files\Exchsrvr\MDBDATA\priv1.edb" but it returns (in Test mode) Unknown argument : Files\Exchsrvr\MDBDATA\priv1.stm Thanks in advance. ------------------------------------------------------- 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 johan.corsini at guest.minfin.fed.be Thu Apr 27 11:58:05 2006 From: johan.corsini at guest.minfin.fed.be (Johan Corsini) Date: Thu, 27 Apr 2006 11:58:05 +0200 Subject: latency and parallelize check In-Reply-To: References: Message-ID: <200604271158.05120.johan.corsini@guest.minfin.fed.be> Le Jeudi 27 Avril 2006 11:29, Sandeep Narasimha Murthy a ?crit?: > Hi, > > > > I have a few questions regarding Latency and parallelize checks. > Appreciate some help in this regard.. > > > > 1. Latency: The average Latency value is 70.24 Seconds for all the > services but I believe is way too high. I browsed the site > (http://nagios.sourceforge.net/docs/2_0/tuning.html) but couldn't > exactly figure out how to reduce this figure. How do I go about > reducing the Latency figure ? > > > > > > 2. Regarding Parallelize Check: (This directive is used to determine > whether or not the service check can be parallelized. By default, all > service checks are parallelized. Disabling parallel checks of services > can result in serious performance problems.) > > > > From what I can understand, Parallelize check means that if I have a > Service check configured to run every 3 minutes, and Nagios determines > that even though the previous check launched 3 mins ago has still not > finished it launches a new check !? Am I correct in this assumption ? If > yes, how can Disabling this result in performance problems ? shouldn't > it be viceversa ? As far as I understand, Parallelize check means that Nagios can multiple different service checks at the same time... So, if you have let say 100 checks. Without Parallelize check, Nagios would check the first one, wait for the result, then check the second one, wait, etc... It means that if you got checks that are kinda slow, the time to check every service can be huge... And even if the checks are fast, as soon as you got a lot of services, it will take some time anyway. > > 3. Finally, In a service configuration file, I have the following: > > Maximum Check Attempts: 5 > > Normal Check Interval In Time-Units: 5 > > Retry Check Interval In Time-Units: 3 > > > > In the above, Shouldn't the Normal Check Interval be Greater than > Maximum Check Attempts * Retry Check Interval ? I do not see why it should... With this configuration, nagios would, for a said service, perform one check every 5 minutes. When it detects a problem, it would do the check once every 3 minutes. And after 5 "negative" checks, it would then consider the service in a "hard state", and issue appropriate actions (ie : sending alert mails). > TIA, > sg Johan. ------------------------------------------------------- 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&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 From ingo.lantschner at edvg.at Thu Apr 27 13:11:56 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Thu, 27 Apr 2006 13:11:56 +0200 Subject: How to use contactgroups from Host-Definitions for all services defined for this host Message-ID: Hi all, is the below answer from Hendrik still state of the art? Or let it say the other way: Does anyone know, how to (re-)use the contactgroups-definition from a host for its services? So that all notificatiuons for this host get to the ones, defined in the contactgroup statement for this host (regardless if these are service- or hostnotifications). I would like to avoid defining the service many times just to fill in the same contactgroups I have alraedy defined for the host. TIA Ingo. From: Hendrik Baecker gmx.net> Subject: Re: Contactgroups : host vs services Newsgroups: gmane.network.nagios.user Date: 2005-04-07 20:40:04 GMT (1 year, 2 weeks, 5 days, 8 hours and 25 minutes ago) Hello, many choices.... ;) 1) You can define 30 Services for the same check but different contactgroups = many to type 2) If you have 30 Services and want to deal with a hand full of contactgroups define a hand full of service templates with this hand full of contactgroups 3) AFAIK you don't realy apply services to hostgroups... to your hosts ok, but hostgroups? The contactgroups in your hostgroup definition will be the target if you have a host alert but not on a service alert (so under Nagios <2.x) My suggestion: Read the docs about templates in your object configfiles, since Nagios 1.1 (I think) you can use them and they are realy usefull. Hendrik Vanhee Frederik schrieb: > Hello, > > to explain my problem, I will simplify it. > > Let's say I have two hosts : host1 and host2 and on these two hosts 1 > service is checked, for example cpu load > > host1 has contactgroup host1admins > host2 has contactgroup host2admins > > service cpu-load is defined in common for the 2 hosts, contactgroup = > host1admins,host2admins > > My problem, when the service cpu-load on host1 is not-ok, I want > host1admins to be alerted, when the cpu-load on host2 is not-ok, I > want host2admins to be alerted. > Is there a way to filter out service-notifications that notifications > are only sent when to the contactgroups that belong to the host and > the service ? > > Or any other ideas ? The real problem is that my service is defined > once and applied to 30 hostgroups (with their contactgroups). > > Thank in advance, > > Frederik > Mit freundlichen Gr??en Ingo Lantschner IT Consultant __________________________________________ Elektronische Datenverarbeitung GmbH & Co KG Hofm?hlgasse 3-5, 1060 Wien Tel.: (+43 1) 599 07 - 1125, Fax: (+43 1) 599 07 - 1366, Mobil: (+43 0) 664 814 63 22 Serviceline Tel.:(+43 1) 599 07 9970 ingo.lantschner at edvg.at, www.edvg.at -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandeep-n-murthy at telecom.pt Thu Apr 27 14:50:44 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Thu, 27 Apr 2006 13:50:44 +0100 Subject: latency and parallelize check Message-ID: Hi, Thanks for the response. So, Parallelize checks are unique to services i.e, enabling parallelize checks allows Nagios to perform distinct service checks parallely. I guess I was mistaken. What about latency, any suggestions on how I can better it !? TIA, sg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Johan Corsini Sent: quinta-feira, 27 de Abril de 2006 10:58 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] latency and parallelize check Le Jeudi 27 Avril 2006 11:29, Sandeep Narasimha Murthy a ?crit?: > Hi, > > > > I have a few questions regarding Latency and parallelize checks. > Appreciate some help in this regard.. > > > > 1. Latency: The average Latency value is 70.24 Seconds for all the > services but I believe is way too high. I browsed the site > (http://nagios.sourceforge.net/docs/2_0/tuning.html) but couldn't > exactly figure out how to reduce this figure. How do I go about > reducing the Latency figure ? > > > > > > 2. Regarding Parallelize Check: (This directive is used to determine > whether or not the service check can be parallelized. By default, all > service checks are parallelized. Disabling parallel checks of services > can result in serious performance problems.) > > > > From what I can understand, Parallelize check means that if I have a > Service check configured to run every 3 minutes, and Nagios determines > that even though the previous check launched 3 mins ago has still not > finished it launches a new check !? Am I correct in this assumption ? If > yes, how can Disabling this result in performance problems ? shouldn't > it be viceversa ? As far as I understand, Parallelize check means that Nagios can multiple different service checks at the same time... So, if you have let say 100 checks. Without Parallelize check, Nagios would check the first one, wait for the result, then check the second one, wait, etc... It means that if you got checks that are kinda slow, the time to check every service can be huge... And even if the checks are fast, as soon as you got a lot of services, it will take some time anyway. > > 3. Finally, In a service configuration file, I have the following: > > Maximum Check Attempts: 5 > > Normal Check Interval In Time-Units: 5 > > Retry Check Interval In Time-Units: 3 > > > > In the above, Shouldn't the Normal Check Interval be Greater than > Maximum Check Attempts * Retry Check Interval ? I do not see why it should... With this configuration, nagios would, for a said service, perform one check every 5 minutes. When it detects a problem, it would do the check once every 3 minutes. And after 5 "negative" checks, it would then consider the service in a "hard state", and issue appropriate actions (ie : sending alert mails). > TIA, > sg Johan. ------------------------------------------------------- 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?cmd=lnk&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 From SrvFaucon at cslaval.qc.ca Thu Apr 27 15:14:03 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 27 Apr 2006 09:14:03 -0400 Subject: nagiosgraph Message-ID: Hi all, Is there someone who have installed nagiosgraph and made it work? I always have those messages in nagiosgraph.log ...2006 CGI error: RRDs::graph ERR can't make a graph without contents #(Even if the perfdata.log has something in it) ...2006 INSERT warn: perfdata not recognized #(can't tell) On another note, is it me or I can't find the "post new topic" button anywhere in the forums of sourceforge nagiosgraph project? http://sourceforge.net/forum/forum.php?forum_id=394748 Thanks. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------- 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&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 From SrvFaucon at cslaval.qc.ca Thu Apr 27 15:23:04 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 27 Apr 2006 09:23:04 -0400 Subject: Another question - nagiosgraph or other tools for graphs? Message-ID: Hi all, actually, THE question would be : What is the best program to create graphs out of all that performance data? I know that rrdtool would be great, but I need some kind of specifications to ease the pain. -Collect data and can display it integrated with Nagios. (Somehow ? la nagiosgraph) -Easy to install -Auto add graphs when a new host is added -Makes some nice graphs :) Thanks --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------- 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&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 From patrick.morris at hp.com Thu Apr 27 18:30:47 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 27 Apr 2006 12:30:47 -0400 Subject: nagiosgraph Message-ID: I use nagiosgraph and love it. Chances are there are problems with your map file, but you haven't provided enough info to be able to tell. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Serveur-Faucon Surveillance Sent: Thursday, April 27, 2006 6:14 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagiosgraph Hi all, Is there someone who have installed nagiosgraph and made it work? I always have those messages in nagiosgraph.log ...2006 CGI error: RRDs::graph ERR can't make a graph without contents #(Even if the perfdata.log has something in it) ...2006 INSERT warn: perfdata not recognized #(can't tell) ------------------------------------------------------- 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&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 From trasko at gmail.com Thu Apr 27 19:35:42 2006 From: trasko at gmail.com (Trask) Date: Thu, 27 Apr 2006 10:35:42 -0700 Subject: latency and parallelize check In-Reply-To: References: Message-ID: <735379850604271035s7372d45an717bf90e4c2317d1@mail.gmail.com> On 4/27/06, Sandeep Narasimha Murthy wrote: > > > What about latency, any suggestions on how I can better it !? > I'm very interesting in this, too. Is there any information as to what each of the "performance" stats really mean? I'll preface by saying I have not gotten around to setting up any external performance monitoring... Here are some more specific questions to get things started: The 4 tables on the left side of the "Performance Info" page have 2 columns -- "Time Frame" and "Checks Completed". 1) Does the "Time Frame" start from when a check is scheduled or from what it actually starts? 2) If nagios has been running > 24 hours and I still have less than 100% "checks completed" for the "since program start" row, what does this mean? Do I have checks that are never ruturning (doesn't seem possible given the built-in timeouts). Are there checks that are getting used that are getting factored in? Metrics: 3) Does "check latency" mean how long after a check is scheduled that nagios gets the result? Or after it has completed? Or after the check has started? (For reference: http://nagios.sourceforge.net/docs/2_0/checkscheduling.html ) 4) Cleary, we want lower execution times and low latencys -- what are people who are satisfied with the performance of their setup seeing for these numbers? General: 5) Is there any way built in to nagios to get performance data on each check for ALL hosts? This is in the spirit of "checking the check" to see if it is performing reasonably well as well as serving as a basis to compare the performance of different checks against one another (o r comparing the difference between a compiled plugin's performance verus a non-compiled one). 6) Any suggestions for 3rd party addons, plugins, etc that could help shed some light on to these performance questions? ~trask ------------------------------------------------------- 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&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 From b00mer at gmx.net Thu Apr 27 20:38:43 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Thu, 27 Apr 2006 20:38:43 +0200 Subject: Weblogic In-Reply-To: References: Message-ID: <44510FB3.20700@gmx.net> Sandeep Narasimha Murthy schrieb: > > Hi, > > > > I am searching for a script/ plugin for Nagios which monitors BEA > Weblogic server and returns information like JVM heap size, number of > threads in utilization etc.. > > > > Does anyone know of any such scripts/ plugins ?? > > > > Thanks in adv, > > > > sg > Hi Sandeep, I am looking for this kinf of plugin too but could not find any hints on the web. I think the easiest way could be some snmp stuff to your bea server. The vendor information about Bea SNMP is quiet nice like this one (maybe old - I am not a "Bea", I'm a "Nagios" ^^ ) http://e-docs.bea.com/wls/docs70/snmp/snmpintro.html After managing the snmp agent on your Bea server it should be possible to: snmpwalk -c COMUNITA at BEASERVERNAME -v1 IP_ADDRESS On the link above you can read nearly all possible informations directly out of your weblogic system like jvmRuntimeHeapSizeCurrent ====> 1.3.6.1.4.1.140.625.340.1.30 I am testing this with JDBC Connection Pool Runtime Table specially with jdbcConnectionPoolRuntimeActiveConnectionsCurrentCount ====>1.3.6.1.4.1.140.625.190.1.25 if I am now doing a: snmpwalk -c COMUNITA at BEASERVERNAME -v1 IP_ADDRESS 1.3.6.1.4.1.140.625.190.1.25 i'm getting some snmpwalk output like: 1.3.6.1.4.1.140.625.190.1.25.24.657.101.102.34.35.773.14.2.3.44.21.35.81.357.3.what.the.hell = INTEGER: 6 just figured out that: "24.657.101.102.34.35.773.14.2.3.44.21.35.81.357.3.what.the.hell" has something to do with this special connection pool, but I can't figure out how I can get this special one Integer for ActiveConnectionsCurrentCount for this special ConnectionPool "NAME_OF_CONN_POOL". Perhaps here is somebody on the list who can explain or give some hints on these type of "snmp mib redirects"? (Couldn't explain better). I will work on it, but if you (or some other) have any hints on it, please let me know. Thanks in advance Hendrik ------------------------------------------------------- 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 Apr 27 21:05:15 2006 From: marc at ena.com (Marc Powell) Date: Thu, 27 Apr 2006 14:05:15 -0500 Subject: latency and parallelize check Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Trask > Sent: Thursday, April 27, 2006 12:36 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] latency and parallelize check > > On 4/27/06, Sandeep Narasimha Murthy wrote: > > > > > > What about latency, any suggestions on how I can better it !? > > > > I'm very interesting in this, too. Is there any information as to > what each of the "performance" stats really mean? I'll preface by > saying I have not gotten around to setting up any external performance > monitoring... > > Here are some more specific questions to get things started: > > The 4 tables on the left side of the "Performance Info" page have 2 > columns -- "Time Frame" and "Checks Completed". > 1) Does the "Time Frame" start from when a check is scheduled or from > what it actually starts? >From when you loaded the page. They show the number of checks that have completed in the last 1, 5, 15 and 60 minutes. > 2) If nagios has been running > 24 hours and I still have less than > 100% "checks completed" for the "since program start" row, what does > this mean? Do I have checks that are never ruturning (doesn't seem > possible given the built-in timeouts). Are there checks that are > getting used that are getting factored in? It means that you have some percentage of checks that aren't being executed. If these are service checks this could be a configuration issue. Sort your Service Detail by Last Check and see if you have ones that haven't been updated. > Metrics: > 3) Does "check latency" mean how long after a check is scheduled that > nagios gets the result? Or after it has completed? Or after the > check has started? (For reference: > http://nagios.sourceforge.net/docs/2_0/checkscheduling.html ) It's the time between when Nagios originally scheduled it to run and when it actually did run. If you see latencies > 10 seconds or so it probably means that you're not allowing nagios to run enough concurrent checks. > 4) Cleary, we want lower execution times and low latencys -- what are > people who are satisfied with the performance of their setup seeing > for these numbers? I'm running on some really old hardware for most of my collectors that I am in the process of replacing so the only box I'm really satisfied with is performing 498 checks with an average Execution time of 3.3 seconds and latency of 0.161 sec. The others are pretty high right now but complete ~1500 checks each in my scheduled 5 minutes so I haven't been too concerned about latency or execution time. > > General: > 5) Is there any way built in to nagios to get performance data on each > check for ALL hosts? This is in the spirit of "checking the check" to > see if it is performing reasonably well as well as serving as a basis > to compare the performance of different checks against one another (o > r comparing the difference between a compiled plugin's performance > verus a non-compiled one). Not currently that I am aware of. Maybe this is something that would be possible via the Event Broker. > 6) Any suggestions for 3rd party addons, plugins, etc that could help > shed some light on to these performance questions? No suggestions here. I've never looked myself... -- 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&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 From sholland at sandara.ca Fri Apr 28 01:12:45 2006 From: sholland at sandara.ca (Shawn Holland) Date: Thu, 27 Apr 2006 20:12:45 -0300 Subject: Distributed / Central and hosts in pgsql Message-ID: <200604272012.45608.sholland@sandara.ca> Hey, I KNOW ITS LONG BUT PLEASE READ IF YOU CAN HELP. Well my last email I sent I requested info on how to allow nagios to work with a list of hosts to be checked in a pgsql database. I was advised to use a program to make a config file for them. I did this. But now while working on my next step of trying to get 30 servers in the field, that each have a list of devices to be monitored stored locally in their pgsql database. Am I to understand that from the documentation that you need to have service definations for all services on each distributed server. ie. If I have a switch that I want to do a ping check on behind one of my distributed servers, I'll need to have that service defined on my central server? If this is the case then I don't know how I am going to do this. Because the information may change on each distributed server. Documentation snip ... The central server must have service definitions for all services that are being monitored by all the distributed servers. Nagios will ignore passive check results if they do not correspond to a service that has been defined. ... My setup is: Central server 30 distributed servers Each distributed server has 2 interfaces. One to the outside world and one to the internal network. The internal network has several devices to be ping checked and reported back to the central server. The information for all devices to be ping checked are stored locally on each distributed server in a pgsql database. I have a script that will run on each distributed server to generate a config file outlining all the services for each devices. This list may change so this script will rebuild the config file daily and restart nagios to ensure accurate information. How, if at all, can I acomplish the above. I know its a lot to ask but any help would be apreciated. -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 ------------------------------------------------------- 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 teng at dataway.com Fri Apr 28 00:37:12 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 27 Apr 2006 15:37:12 -0700 Subject: Distributed / Central and hosts in pgsql Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D7C@dw-mail.dataway.com> > I have a script that will run on each distributed server to > generate a config > file outlining all the services for each devices. > > This list may change so this script will rebuild the config > file daily and > restart nagios to ensure accurate information. > > How, if at all, can I acomplish the above. You would also need a script on the central Nagios server do a similar function, consolidating each distributed server's configs. You can transport the configurations to the central server any number of ways, I'd recommend SSH/SCP. The central Nagios will silently discard any host or service data it receives for which it does not have configuration information, so you should try to synchronize the timing of these config refreshes. ------------------------------------------------------- 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 Apr 28 00:39:22 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 27 Apr 2006 19:39:22 -0300 Subject: Distributed / Central and hosts in pgsql In-Reply-To: <200604272012.45608.sholland@sandara.ca> References: <200604272012.45608.sholland@sandara.ca> Message-ID: <1146177562.4661.22.camel@localhost> Hello Shawn, On Thu, 2006-04-27 at 20:12 -0300, Shawn Holland wrote: > Well my last email I sent I requested info on how to allow nagios to work with > a list of hosts to be checked in a pgsql database. > > I was advised to use a program to make a config file for them. > > I did this. But now while working on my next step of trying to get 30 servers > in the field, that each have a list of devices to be monitored stored locally > in their pgsql database. > > Am I to understand that from the documentation that you need to have service > definations for all services on each distributed server. > > ie. If I have a switch that I want to do a ping check on behind one of my > distributed servers, I'll need to have that service defined on my central > server? > Yes, but back then you haven't told us that it was distributed config. > If this is the case then I don't know how I am going to do this. Because the > information may change on each distributed server. You need to generate config files for each one of the distributed servers with the services each one need to monitor, and one config for your central Nagios server that contains all distributed servers config. > > Documentation snip > ... > The central server must have service definitions for all services that are > being monitored by all the distributed servers. Nagios will ignore passive > check results if they do not correspond to a service that has been defined. > ... > > My setup is: > > Central server > 30 distributed servers > > Each distributed server has 2 interfaces. One to the outside world and one to > the internal network. The internal network has several devices to be ping > checked and reported back to the central server. > > The information for all devices to be ping checked are stored locally on each > distributed server in a pgsql database. Each distributed has its own pgsql with ALL devices? Or just the ones it should ping? We have a similiar setup, and we generate two types of config: For distributed servers (and here each config is totally different from each other) and for central server (one monolithic file). > I have a script that will run on each distributed server to generate a config > file outlining all the services for each devices. ALL services for each device that one distributed server need to monitor? right? Not ALL services that ALL distributed servers will monitor? > > This list may change so this script will rebuild the config file daily and > restart nagios to ensure accurate information. > > How, if at all, can I acomplish the above. > > I know its a lot to ask but any help would be apreciated. > 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/. ------------------------------------------------------- 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&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 From patrick.morris at hp.com Fri Apr 28 00:42:22 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 27 Apr 2006 15:42:22 -0700 Subject: Distributed / Central and hosts in pgsql In-Reply-To: <200604272012.45608.sholland@sandara.ca> References: <200604272012.45608.sholland@sandara.ca> Message-ID: <20060427224222.GP5247@hermes.americas.hpqcorp.net> On Thu, 27 Apr 2006, Shawn Holland wrote: > I KNOW ITS LONG BUT PLEASE READ IF YOU CAN HELP. [snip] > Am I to understand that from the documentation that you need to have service > definations for all services on each distributed server. Yes. At least on the one checking, and the one to which the checks get submitted. > If this is the case then I don't know how I am going to do this. Because the > information may change on each distributed server. In my case, I use common config files, and define services with templates. These templates are interpreted differently by the central and remote hosts. For example, I may have a remote-location-1 service template. On the distributed server, a separate file defines a remote-location-1 server as on with active checks enabled. On the distributed server, though, a remote-location-1 service is defined as passive. -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 ------------------------------------------------------- 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 Apr 28 00:43:49 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 27 Apr 2006 19:43:49 -0300 Subject: Distributed / Central and hosts in pgsql In-Reply-To: <1146177562.4661.22.camel@localhost> References: <200604272012.45608.sholland@sandara.ca> <1146177562.4661.22.camel@localhost> Message-ID: <1146177829.4661.25.camel@localhost> On Thu, 2006-04-27 at 19:39 -0300, Marcel Mitsuto Fucatu Sugano wrote: > > Am I to understand that from the documentation that you need to have > service > > definations for all services on each distributed server. Not really. Each distributed server has its own set of services to monitor, and the results should be sent via several ways to the cnetral nagios server. At the central nagios, you should have ALL services configured. 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&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 From sholland at sandara.ca Fri Apr 28 01:53:55 2006 From: sholland at sandara.ca (Shawn Holland) Date: Thu, 27 Apr 2006 20:53:55 -0300 Subject: Distributed / Central and hosts in pgsql In-Reply-To: <1146177562.4661.22.camel@localhost> References: <200604272012.45608.sholland@sandara.ca> <1146177562.4661.22.camel@localhost> Message-ID: <200604272053.55339.sholland@sandara.ca> Sorry, Let me clearify. Each distributed server has a list of devices in a pgsql database that is unique to each distributed server. The script will run on each distributed server generating a config from the pgsql database that is unique to each distributed server. And the only thing that is causing me problems is that each distributed server's database listing of their unique devices to ping could change at any time. This is why my script will run daily on each distributed server regenerating their config file. But its getting the central server to know of these changes that is the problem. I think Tedman Eng's reply is what I may need to be looking at. Using some transport protocol to upload the device config from each distributed server to the central server. (SSH/SCP) and drop it into a config dir. Then restarting nagios on the central server. I wont need another script to concatinate them. I just need to use shared keys and allow access to a directory that is specified as a cfg_dir The only problem with this method is that there could be syncronization problems. What are your thoughts on this? On Thursday 27 April 2006 7:39 pm, Marcel Mitsuto Fucatu Sugano wrote: > Hello Shawn, > > On Thu, 2006-04-27 at 20:12 -0300, Shawn Holland wrote: > > Well my last email I sent I requested info on how to allow nagios to work > > with a list of hosts to be checked in a pgsql database. > > > > I was advised to use a program to make a config file for them. > > > > I did this. But now while working on my next step of trying to get 30 > > servers in the field, that each have a list of devices to be monitored > > stored locally in their pgsql database. > > > > Am I to understand that from the documentation that you need to have > > service definations for all services on each distributed server. > > > > ie. If I have a switch that I want to do a ping check on behind one of my > > distributed servers, I'll need to have that service defined on my central > > server? > > Yes, but back then you haven't told us that it was distributed config. > > > If this is the case then I don't know how I am going to do this. Because > > the information may change on each distributed server. > > You need to generate config files for each one of the distributed > servers with the services each one need to monitor, and one config for > your central Nagios server that contains all distributed servers config. > > > Documentation snip > > ... > > The central server must have service definitions for all services that > > are being monitored by all the distributed servers. Nagios will ignore > > passive check results if they do not correspond to a service that has > > been defined. ... > > > > My setup is: > > > > Central server > > 30 distributed servers > > > > Each distributed server has 2 interfaces. One to the outside world and > > one to the internal network. The internal network has several devices to > > be ping checked and reported back to the central server. > > > > The information for all devices to be ping checked are stored locally on > > each distributed server in a pgsql database. > > Each distributed has its own pgsql with ALL devices? Or just the ones it > should ping? We have a similiar setup, and we generate two types of > config: For distributed servers (and here each config is totally > different from each other) and for central server (one monolithic file). > > > I have a script that will run on each distributed server to generate a > > config file outlining all the services for each devices. > > ALL services for each device that one distributed server need to > monitor? right? Not ALL services that ALL distributed servers will > monitor? > > > This list may change so this script will rebuild the config file daily > > and restart nagios to ensure accurate information. > > > > How, if at all, can I acomplish the above. > > > > I know its a lot to ask but any help would be apreciated. > > 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/. > > > ------------------------------------------------------- > 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&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 -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 ------------------------------------------------------- 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&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 From dmourati at cm.math.uiuc.edu Fri Apr 28 01:22:27 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 27 Apr 2006 18:22:27 -0500 (CDT) Subject: Distributed / Central and hosts in pgsql In-Reply-To: <200604272053.55339.sholland@sandara.ca> References: <200604272012.45608.sholland@sandara.ca> <1146177562.4661.22.camel@localhost> <200604272053.55339.sholland@sandara.ca> Message-ID: On Thu, 27 Apr 2006, Shawn Holland wrote: > Using some transport protocol to upload the device config from each > distributed server to the central server. (SSH/SCP) and drop it into a conf= > ig > dir. Then restarting nagios on the central server. > > I wont need another script to concatinate them. I just need to use > shared k= eys and allow access to a directory that is specified as a > cfg_dir > > The only problem with this method is that there could be syncronization > problems. > > What are your thoughts on this? > Shawn, My configuration was essentially what you described, minus postgresql on the distributeds. I had a shell script generate configuration files on each distributed. Then, I ran a nagios -v against that resultant file to verify it. Once it verified, I used rsync over ssh to push the configuration set as a directory on over to central. For security reasons, I used ssh keys plus command limitations to allow only mkdir and rsync commands from distributed to central. Then, I had a cron job script on central to "pick up" new distributed configurations as they arrrived. In all, it worked really well. One note of caution was that nsca started to break down with a large number of services. I was on Nagios v 1.2 and I know some good work has been done on that front for 2.0. Also, 2.0 has better support for cfg_dirs and recursive directories which make things easier. Keep in mind you will need to do some cleanup on central to turn active checks into passive ones. Another poster hit that point as well. Instead of using nsca to push the data across in a OCSP method, I used an MTA (postfix) plus GPG to ship the data changes across. Hope that helps. ------------------------------------------------------- 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 wrjacqmein at gmail.com Fri Apr 28 01:20:30 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Thu, 27 Apr 2006 19:20:30 -0400 Subject: Check file size In-Reply-To: <44509094.70305@gmail.com> References: <44509094.70305@gmail.com> Message-ID: <3c9a5bae0604271620m68bfae96n307bb7363221386f@mail.gmail.com> Escape the spaces? "d:\Program\ Files\Exchsrvr\MDBDATA\priv1.stm" "d:\Program\ Files\Exchsrvr\MDBDATA\priv1.edb" http://nscplus.medin.name/index.php/CheckFileSize Was also seeing double backslashes from the link above command_line check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckFileSize -a MaxWarn=2G MaxCrit=4G File=c:\\pagefile.sys MaxWarn=1K MaxCrit=512 File=c:\\boot.ini On 4/27/06, ThomasC. wrote: > Hi List, > > I am trying to monitor the size of Exchange database files. > I have tried several ways to handle space character in file path but > none worked. Anyone has an idea ? > > The command is : > check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G > File=d:\Program Files\Exchsrvr\MDBDATA\priv1.stm File=d:\Program > Files\Exchsrvr\MDBDATA\priv1.edb > > I have tried that : > > check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G > File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" File="d:\Program > Files\Exchsrvr\MDBDATA\priv1.edb" > > but it returns (in Test mode) Unknown argument : > Files\Exchsrvr\MDBDATA\priv1.stm > > Thanks in advance. > > > ------------------------------------------------------- > 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&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 From sholland at sandara.ca Fri Apr 28 02:37:04 2006 From: sholland at sandara.ca (Shawn Holland) Date: Thu, 27 Apr 2006 21:37:04 -0300 Subject: Check file size In-Reply-To: <44509094.70305@gmail.com> References: <44509094.70305@gmail.com> Message-ID: <200604272137.04421.sholland@sandara.ca> On Thursday 27 April 2006 6:36 am, ThomasC. wrote: > Hi List, > > I am trying to monitor the size of Exchange database files. > I have tried several ways to handle space character in file path but > none worked. Anyone has an idea ? > > The command is : > check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G > File=d:\Program Files\Exchsrvr\MDBDATA\priv1.stm File=d:\Program > Files\Exchsrvr\MDBDATA\priv1.edb > > I have tried that : > > check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G > File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" File="d:\Program > Files\Exchsrvr\MDBDATA\priv1.edb" > > but it returns (in Test mode) Unknown argument : > Files\Exchsrvr\MDBDATA\priv1.stm > > Thanks in advance. Try the old 8 char path names. ie. d:\Progra~1\Exchsrvr\MDBDATA\priv1.stm -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 ------------------------------------------------------- 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 trasko at gmail.com Fri Apr 28 00:41:12 2006 From: trasko at gmail.com (Trask) Date: Thu, 27 Apr 2006 15:41:12 -0700 Subject: Distributed / Central and hosts in pgsql In-Reply-To: <200604272012.45608.sholland@sandara.ca> References: <200604272012.45608.sholland@sandara.ca> Message-ID: <735379850604271541n5944c18bi6f1eb05d7884353a@mail.gmail.com> > Am I to understand that from the documentation that you need to have service > definations for all services on each distributed server. AFAIK, just the central server needs all the definitions. It won't process the passive check results unless it knows about the service... > ie. If I have a switch that I want to do a ping check on behind one of my > distributed servers, I'll need to have that service defined on my central > server? Yes. > If this is the case then I don't know how I am going to do this. Because the > information may change on each distributed server. > > Here's one way: On each of your distributed servers, after it has written out the new nagios configs have it send them (scp or whatever you like) over to the central server (or have the central server pull them). Lets call your distributed nagios servers dist01, dist02, dist03, etc. Central server is "central". Let's also assume you've installed to "/usr/local/nagios" and all your config files are located in "/usr/local/nagios/etc". (On central) Make a sub-directory called "distservers" here: "/usr/local/nagios/etc/distservers" Edit your main config file to include all files ending in .cfg like this: (in /usr/local/nagios/etc/nagios.cfg on central) cfg_dir=/usr/local/nagios/etc/distservers (link: http://nagios.sourceforge.net/docs/2_0/configmain.html#cfg_dir) Now, when you transfer the configs from the distributed servers, just dump them in "/usr/local/nagios/etc/distservers" or make a subdirectory for each dist server (ie: /usr/local/nagios/etc/distservers/dist01/, /usr/local/nagios/etc/distservers/dist02/, and so on). Use cron, your update scripts or whatever you like to reload nagios on the central server after the files in etc/distservers have changed. Personally, I use cfengine to maintain all my nagios servers -- once you get past the learning curve it makes dealing w/ restarting processes, copying securely, etc much less burdensome. I also have *some* of the nagios configuration in a central database that scripts look at to automatically generate some of the nagios configs. ~trask ------------------------------------------------------- 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&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 From chris at md.com.my Fri Apr 28 05:44:02 2006 From: chris at md.com.my (Chris Ong) Date: Fri, 28 Apr 2006 11:44:02 +0800 Subject: check_mem.pl and 8GB RAM Server Message-ID: <44518F82.4010706@md.com.my> Hi all, I have 4 servers with 8GB of RAM. But the check_mem.pl plugin seems not to return a correct result. Is it a bug or my parameter is incorrect? My apologies if anyone posted this before but I couldn't find anything about this on the mailing list archive. Here's some additional information to tell.. # free total used free shared buffers cached Mem: 8233284 7607400 625884 364 239108 5122804 -/+ buffers/cache: 2245488 5987796 Swap: 8385760 52 8385708 extract from /etc/nagios/nrpe.cfg command[check_mem]=/usr/lib/nagios/plugins/check_mem -f -w 10 -c 5 # /usr/lib/nagios/plugins/check_mem -f -w 10 -c 5 Memory OK - 100.0% (715148 kB) free Anyone please? -- Regards, C. K. Ong (Chris) Linux System Engineer RHCT Cert No: 603004347692007 http://www.redhat.com/rhce/rhce603004347692007.html My Directory Sdn. Bhd. Your Open Source Partner. http://www.md.com.my http://www.net.my 2006 ---------------------------------------------------------------------- The more you know, the more you don't know. ---------------------------------------------------------------------- ------------------------------------------------------- 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 Fri Apr 28 05:54:37 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 27 Apr 2006 23:54:37 -0400 Subject: check_mem.pl and 8GB RAM Server Message-ID: The format of vmstat's output has changed in the 6 years that have passed since that plugin was written. It'll need a few tweaks before it's usuable with recent versions of vmstat. -----Original Message----- From: Chris Ong Subject: [Nagios-users] check_mem.pl and 8GB RAM Server Hi all, I have 4 servers with 8GB of RAM. But the check_mem.pl plugin seems not to return a correct result. Is it a bug or my parameter is incorrect? My apologies if anyone posted this before but I couldn't find anything about this on the mailing list archive. Here's some additional information to tell.. # free total used free shared buffers cached Mem: 8233284 7607400 625884 364 239108 5122804 -/+ buffers/cache: 2245488 5987796 Swap: 8385760 52 8385708 extract from /etc/nagios/nrpe.cfg command[check_mem]=/usr/lib/nagios/plugins/check_mem -f -w 10 -c 5 # /usr/lib/nagios/plugins/check_mem -f -w 10 -c 5 Memory OK - 100.0% (715148 kB) free ------------------------------------------------------- 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&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 From gbellettini at genetsis.com Fri Apr 28 09:42:56 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Fri, 28 Apr 2006 09:42:56 +0200 Subject: nagios.lock Message-ID: Hi there, I have changed the location of the lock file on nagios.cfg and now I cannot stop nagios daemon process. The error message is: cannot stop nagios. /var/log/nagios/nagios.lock cannot be found Is there any command to restore this? Thanks a lot Emilio -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandeep-n-murthy at telecom.pt Fri Apr 28 11:09:57 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Fri, 28 Apr 2006 10:09:57 +0100 Subject: Weblogic Message-ID: Hi, Thanks for the suggestion. I might look into this at a later date. Meanwhile, I have solved the issue using a java command available for obtaining Weblogic data. The command goes like this: java weblogic.Admin -url t3://localhost:7001 -username weblogic -password weblogic GET -pretty -type JVMRuntime You can substitute the "type" flag in the above to obtain whatever you need (in this case, its JVMRuntime). There a list of types available at: http://edocs.bea.com/wls/docs81/javadocs/index.html (weblogic.management.runtime) Regards, sg -----Original Message----- From: Hendrik Baecker [mailto:b00mer at gmx.net] Sent: quinta-feira, 27 de Abril de 2006 19:39 To: Sandeep Narasimha Murthy Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Weblogic Sandeep Narasimha Murthy schrieb: > > Hi, > > > > I am searching for a script/ plugin for Nagios which monitors BEA > Weblogic server and returns information like JVM heap size, number of > threads in utilization etc.. > > > > Does anyone know of any such scripts/ plugins ?? > > > > Thanks in adv, > > > > sg > Hi Sandeep, I am looking for this kinf of plugin too but could not find any hints on the web. I think the easiest way could be some snmp stuff to your bea server. The vendor information about Bea SNMP is quiet nice like this one (maybe old - I am not a "Bea", I'm a "Nagios" ^^ ) http://e-docs.bea.com/wls/docs70/snmp/snmpintro.html After managing the snmp agent on your Bea server it should be possible to: snmpwalk -c COMUNITA at BEASERVERNAME -v1 IP_ADDRESS On the link above you can read nearly all possible informations directly out of your weblogic system like jvmRuntimeHeapSizeCurrent ====> 1.3.6.1.4.1.140.625.340.1.30 I am testing this with JDBC Connection Pool Runtime Table specially with jdbcConnectionPoolRuntimeActiveConnectionsCurrentCount ====>1.3.6.1.4.1.140.625.190.1.25 if I am now doing a: snmpwalk -c COMUNITA at BEASERVERNAME -v1 IP_ADDRESS 1.3.6.1.4.1.140.625.190.1.25 i'm getting some snmpwalk output like: 1.3.6.1.4.1.140.625.190.1.25.24.657.101.102.34.35.773.14.2.3.44.21.35.81 .357.3.what.the.hell = INTEGER: 6 just figured out that: "24.657.101.102.34.35.773.14.2.3.44.21.35.81.357.3.what.the.hell" has something to do with this special connection pool, but I can't figure out how I can get this special one Integer for ActiveConnectionsCurrentCount for this special ConnectionPool "NAME_OF_CONN_POOL". Perhaps here is somebody on the list who can explain or give some hints on these type of "snmp mib redirects"? (Couldn't explain better). I will work on it, but if you (or some other) have any hints on it, please let me know. Thanks in advance Hendrik ------------------------------------------------------- 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&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 From dan.hopkins at uk.easynet.net Fri Apr 28 11:36:00 2006 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Fri, 28 Apr 2006 10:36:00 +0100 Subject: Distributed / Central and hosts in pgsql Message-ID: <13E80BCA327C4D43AC2EFCE6B06E531405693C@exch0-tmshm.uk.easynet.corp> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Shawn > Holland > Sent: 28 April 2006 00:13 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Distributed / Central and hosts in pgsql > > > Hey, > > I KNOW ITS LONG BUT PLEASE READ IF YOU CAN HELP. > My setup is: > > Central server > 30 distributed servers I'll be interested (and suprised) to hear if this setup works. Under Nagios 1.2, more than 5 or 6 distributed nodes seemed to cause the central FIFO pipe too much work to deal with in our experience. But that was running around 10,000 monitors - let us know how you get on :) Dan ------------------------------------------------------- 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&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 From miguelfa at eu.skechers.com Fri Apr 28 12:18:13 2006 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Fri, 28 Apr 2006 11:18:13 +0100 Subject: check disk on solaris machine Message-ID: <4451EBE5.2040207@eu.skechers.com> Hi everyone, I am having some problems trying to find the right script/plugin to execute a check_disk type command on a solaris machine. The current script I have works fine on a Red Hat machine but not a solaris one. Any suggestions for me? Thanks guys. -- Miguel Faria IT department - Skechers USA ------------------------------------------------------- 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 sholland at sandara.ca Fri Apr 28 17:22:01 2006 From: sholland at sandara.ca (Shawn Holland) Date: Fri, 28 Apr 2006 12:22:01 -0300 Subject: Distributed / Central and hosts in pgsql In-Reply-To: <13E80BCA327C4D43AC2EFCE6B06E531405693C@exch0-tmshm.uk.easynet.corp> References: <13E80BCA327C4D43AC2EFCE6B06E531405693C@exch0-tmshm.uk.easynet.corp> Message-ID: <200604281222.01707.sholland@sandara.ca> I'm running 2.2 on all servers. So hopefully it will be better. On Friday 28 April 2006 6:36 am, Dan Hopkins wrote: > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Shawn > > Holland > > Sent: 28 April 2006 00:13 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Distributed / Central and hosts in pgsql > > > > > > Hey, > > > > I KNOW ITS LONG BUT PLEASE READ IF YOU CAN HELP. > > > > > My setup is: > > > > Central server > > 30 distributed servers > > > > I'll be interested (and suprised) to hear if this setup works. Under Nagios > 1.2, more than 5 or 6 distributed nodes seemed to cause the central FIFO > pipe too much work to deal with in our experience. But that was running > around 10,000 monitors - let us know how you get on :) > > Dan > > > ------------------------------------------------------- > 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&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 -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 ------------------------------------------------------- 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 thyes at gmx.net Fri Apr 28 16:38:41 2006 From: thyes at gmx.net (Frank Thyes) Date: Fri, 28 Apr 2006 16:38:41 +0200 Subject: nagios.lock In-Reply-To: References: Message-ID: <20060428143837.GA16152@gator> Hi Guillermo, +++ Guillermo Bellettini [Fri, Apr 28, 2006 at 09:42:56AM CEST]: > Hi there, I have changed the location of the lock file on nagios.cfg and now > I cannot stop nagios daemon process. Where did you make changes? > The error message is: cannot stop nagios. /var/log/nagios/nagios.lock cannot > be found > > Is there any command to restore this? Sure, use the same commands in reverse order. Regards Frank -- God save the screen. ------------------------------------------------------- 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 flima at slb.com Fri Apr 28 16:44:52 2006 From: flima at slb.com (Fernando Lima) Date: Fri, 28 Apr 2006 11:44:52 -0300 Subject: check_mrtg always returns unknown (#3)? In-Reply-To: <444E4A1F.2080602@web-ster.com> References: <444E4A1F.2080602@web-ster.com> Message-ID: <006701c66ad2$4f0daad0$bd23baa3@lam.slb.com> Scott, Had anyone replied your e-mail!? I had a simillar issue, and would be great to get these informations... Cheers, Fernando Lima Schlumberger Security Engineer flima at slb.com Office: +55 21 3824 6954 Mobile. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Baker Sent: Tuesday, April 25, 2006 1:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_mrtg always returns unknown (#3)? I'm trying to make sure that my MRTG program is running, and updating data. I think I want to use the check_mrtg function to do that. I'm *only* interested in whether the MRTG is running. Here's the syntax I'm using. ./check_mrtg -F /path/cpu.log -a MAX -v 1 -w 100 -c 200 -e 10 -l "CPU Usage" -u % Output: Max. CPU Usage = 42 %|'CPU Usage'=42%;100;200; I'm monitoring CPU usage on our router. If it goes above 100% page me. Again, I don't care about the CPU usage, I only want to know about that -e 10 (if the MRTG data is more than 10 minutes old). When I run the above command it always exits with a 3 which is Unknown in Nagios. It reads the data from MRTG just fine, it's just that no matter WHAT I do, or what syntax I try it always exits 3 unknown. Is my syntax wrong on that check? Scott ------------------------------------------------------- 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 bakers at web-ster.com Fri Apr 28 17:08:56 2006 From: bakers at web-ster.com (Scott Baker) Date: Fri, 28 Apr 2006 08:08:56 -0700 Subject: check_mrtg always returns unknown (#3)? In-Reply-To: <006701c66ad2$4f0daad0$bd23baa3@lam.slb.com> References: <006701c66ad2$4f0daad0$bd23baa3@lam.slb.com> Message-ID: <44523008.6000500@web-ster.com> Nope I have not heard back. I'm assuming it's just a bug in the plugin. I don't know C so I can't fix it. I did write my own check_mrtg plugin in Perl if you're interested in that. That's ultimately what I ended up doing. Scott Fernando Lima wrote: > Scott, > > Had anyone replied your e-mail!? I had a simillar issue, and would be great > to get these informations... > > Cheers, > Fernando Lima > Schlumberger > Security Engineer > flima at slb.com > > Office: +55 21 3824 6954 > Mobile. : +55 21 9888 9046 > (GMT: -03:00) > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Baker > Sent: Tuesday, April 25, 2006 1:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_mrtg always returns unknown (#3)? > > > I'm trying to make sure that my MRTG program is running, and updating data. > I think I want to use the check_mrtg function to do that. I'm *only* > interested in whether the MRTG is running. Here's the syntax I'm using. > > ./check_mrtg -F /path/cpu.log -a MAX -v 1 -w 100 -c 200 -e 10 -l "CPU Usage" > -u % > > Output: Max. CPU Usage = 42 %|'CPU Usage'=42%;100;200; > > I'm monitoring CPU usage on our router. If it goes above 100% page me. > Again, I don't care about the CPU usage, I only want to know about that -e > 10 (if the MRTG data is more than 10 minutes old). When I run the above > command it always exits with a 3 which is Unknown in Nagios. > > It reads the data from MRTG just fine, it's just that no matter WHAT I do, > or what syntax I try it always exits 3 unknown. Is my syntax wrong on that > check? > > Scott > > > > ------------------------------------------------------- > 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 > > ------------------------------------------------------- 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 Apr 28 17:18:22 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 28 Apr 2006 12:18:22 -0300 Subject: nagios.lock In-Reply-To: References: Message-ID: <1146237503.25975.3.camel@localhost> On Fri, 2006-04-28 at 09:42 +0200, Guillermo Bellettini wrote: > The error message is: cannot stop nagios. /var/log/nagios/nagios.lock > cannot be found Probably the user that the nagios process runs under don't have permission to remove the lock file. Check those permissions. 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/. ------------------------------------------------------- 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&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 From miguelfa at eu.skechers.com Fri Apr 28 17:44:32 2006 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Fri, 28 Apr 2006 16:44:32 +0100 Subject: check disk on solaris machine In-Reply-To: <20060428153159.GA652@porsche.suryo.com> References: <4451EBE5.2040207@eu.skechers.com> <20060428153159.GA652@porsche.suryo.com> Message-ID: <44523860.4080003@eu.skechers.com> Hi Luc, The problem is that I am executing nagios from a mandrake server. What I do is i use check_by_ssh to connect to the solaris machine then execute the check_disk command from there. I did this procedure with a red hat machine using the same command and it works like a gem... The config.h file you're mentioning, is it from nagios itself? or should I be looking at something on the solaris machine? Thanks, Luc I. Suryo wrote: > Miguel, > > >> I am having some problems trying to find the right script/plugin to >> execute a check_disk type command on a solaris machine. The current >> script I have works fine on a Red Hat machine but not a solaris one. >> > > I believe at compile time you might want to check the config.h and make > some small adjustment (df flags) but otherwise it works fine for me.. > > ./check_disk -w 10 -c 5 -p / > DISK OK [4634816 kB (45%) free on /dev/dsk/c1t0d0s0] > > ./check_disk -V > check_disk (nagios-plugins 1.3.1) 1.7.2.4 > > > -ls > - > > -- Miguel Faria IT department - Skechers USA ------------------------------------------------------- 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 miguelfa at eu.skechers.com Fri Apr 28 17:47:59 2006 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Fri, 28 Apr 2006 16:47:59 +0100 Subject: nagios 2.2 Message-ID: <4452392F.1050204@eu.skechers.com> Hi guys, I am testing nagios 2.2 on a single Fedora Linux machine and I installed it according to the notes I have. It looks fine but on the GUI I am getting an error that its not able to show the services nor the hosts, despite the notifications are working great. I am definetly missing something and it has to do with cgi, but I cant see it. Any ideas? Thanks, -- Miguel Faria IT department - Skechers USA ------------------------------------------------------- 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 frcaen at gmail.com Fri Apr 28 19:30:57 2006 From: frcaen at gmail.com (Francois Caen) Date: Fri, 28 Apr 2006 10:30:57 -0700 Subject: nagios 2.2 In-Reply-To: <4452392F.1050204@eu.skechers.com> References: <4452392F.1050204@eu.skechers.com> Message-ID: <58cfe2840604281030p1fc43fafs185410f960a99e36@mail.gmail.com> On 4/28/06, Miguel Faria wrote: > I am testing nagios 2.2 on a single Fedora Linux machine and I installed > it according to the notes I have. You used the RPMs from DAG, right? > It looks fine but on the GUI I am > getting an error that its not able to show the services nor the hosts, > despite the notifications are working great. I am definetly missing > something and it has to do with cgi, but I cant see it. What's the exact error? Look at cgi.cfg. Are the permissions set right? Are you authenticating thru apache? -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------- 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&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 From michael.johnston at kirtland.af.mil Fri Apr 28 19:55:30 2006 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Fri, 28 Apr 2006 18:55:30 +0100 Subject: Alias to start a terminal Message-ID: I was wondering if any of you use the "alias" command in your host configurations to link something like a terminal. I know that you can add something to make a browser come up using something like "alias Switch-1
Settings" but how would you tell it to open a terminal and telnet to 10.10.10.100. Does anyone do that? Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Fri Apr 28 20:04:43 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 28 Apr 2006 11:04:43 -0700 Subject: Alias to start a terminal In-Reply-To: References: Message-ID: <20060428180443.GZ5247@hermes.americas.hpqcorp.net> Use a "telnet:" URL. On Fri, 28 Apr 2006, Johnston Michael J Contr AFRL/DES wrote: > I was wondering if any of you use the "alias" command in your host > configurations to link something like a terminal. I know that you can add > something to make a browser come up using something like "alias Switch-1 >
Settings" but how would you tell it > to open a terminal and telnet to 10.10.10.100. Does anyone do that? ------------------------------------------------------- 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 Apr 28 20:21:02 2006 From: marc at ena.com (Marc Powell) Date: Fri, 28 Apr 2006 13:21:02 -0500 Subject: check disk on solaris machine Message-ID: Just to cover the obvious but you did compile the check_disk plugin that you are using on the solaris machine on that solaris machine or an identical one, correct? -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Miguel Faria > Sent: Friday, April 28, 2006 10:45 AM > To: Luc I. Suryo > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check disk on solaris machine > > Hi Luc, > > The problem is that I am executing nagios from a mandrake server. What I > do is i use check_by_ssh to connect to the solaris machine then execute > the check_disk command from there. I did this procedure with a red hat > machine using the same command and it works like a gem... > The config.h file you're mentioning, is it from nagios itself? or should > I be looking at something on the solaris machine? > > Thanks, > > > > > > Luc I. Suryo wrote: > > Miguel, > > > > > >> I am having some problems trying to find the right script/plugin to > >> execute a check_disk type command on a solaris machine. The current > >> script I have works fine on a Red Hat machine but not a solaris one. > >> > > > > I believe at compile time you might want to check the config.h and make > > some small adjustment (df flags) but otherwise it works fine for me.. > > > > ./check_disk -w 10 -c 5 -p / > > DISK OK [4634816 kB (45%) free on /dev/dsk/c1t0d0s0] > > > > ./check_disk -V > > check_disk (nagios-plugins 1.3.1) 1.7.2.4 > > > > > > -ls ------------------------------------------------------- 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&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 From michael.johnston at kirtland.af.mil Fri Apr 28 23:57:38 2006 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Fri, 28 Apr 2006 22:57:38 +0100 Subject: Alias to start a terminal Message-ID: Thanks for the tip Patrick... That worked out just great! -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Friday, April 28, 2006 12:05 PM To: Johnston Michael J Contr AFRL/DES Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Alias to start a terminal Use a "telnet:" URL. On Fri, 28 Apr 2006, Johnston Michael J Contr AFRL/DES wrote: > I was wondering if any of you use the "alias" command in your host > configurations to link something like a terminal. I know that you can add > something to make a browser come up using something like "alias Switch-1 >
Settings" but how would you tell it > to open a terminal and telnet to 10.10.10.100. Does anyone do that? ------------------------------------------------------- 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 az at whoever.org Fri Apr 28 23:23:01 2006 From: az at whoever.org (Az) Date: Sat, 29 Apr 2006 07:23:01 +1000 Subject: Alias to start a terminal In-Reply-To: References: Message-ID: <445287B5.6050202@whoever.org> Johnston Michael J Contr AFRL/DES wrote: > I was wondering if any of you use the "alias" command in your host > configurations to link something like a terminal. I know that you can > add something to make a browser come up using something like "alias > Switch-1
Settings" but how > would you tell it to open a terminal and telnet to 10.10.10.100. Does > anyone do that? Thanks! > I think what you really mean to use is the action_url in a hostextinfo definition, not alias in a host definition.We've used it for ssh://, telnet:// and rdp://, amongst other things, successfully. See http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo Cheers. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Fri Apr 28 23:32:45 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 28 Apr 2006 23:32:45 +0200 (CEST) Subject: nagios 2.2 In-Reply-To: <4452392F.1050204@eu.skechers.com> References: <4452392F.1050204@eu.skechers.com> Message-ID: On Fri, 28 Apr 2006, Miguel Faria wrote: > I am testing nagios 2.2 on a single Fedora Linux machine and I installed > it according to the notes I have. It looks fine but on the GUI I am > getting an error that its not able to show the services nor the hosts, > despite the notifications are working great. I am definetly missing > something and it has to do with cgi, but I cant see it. Frankly. Neither does anyone else unless you share more details. 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. ------------------------------------------------------- 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 jonsml at gmail.com Fri Apr 28 22:11:22 2006 From: jonsml at gmail.com (Jon) Date: Fri, 28 Apr 2006 16:11:22 -0400 Subject: Unable to schedule downtime in Nagios 2.2 Message-ID: <008601c66aff$ec0c6d80$c4254880$@com> Hey all, Started using Nagios 2.2 (04/07/2006) on FreeBSD 6.0 and I am having problems scheduling downtimes. After I click "Commit" I get the usual message: Your command request was successfully submitted to Nagios for processing. Note: It may take a while before the command is actually processed. Then when I click on "done" which brings me back to the page where I should see which host or service have been scheduled but it says "There are no hosts with scheduled downtime." In the nagios.log I have: [1146252863] EXTERNAL COMMAND:SCHEDULE_HOST_DOWNTIME;myhost;18446744071508356816;18446744071508356 816;1;0;7200;admin;test Also when I request to schedule a downtime at the cgi the date in the "Start Time:" field is separated by dashes i.e. 04-28-2006 and not with slashes i.e. 04/28/2006. I can submit comments just fine, everything else works fine too. I have the proper folder permissions. I used 2.0b4 and didn't have this problem. Any thoughts on this? Thanks in advance, Jon ------------------------------------------------------- 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 jonsml at gmail.com Fri Apr 28 21:52:50 2006 From: jonsml at gmail.com (Jon) Date: Fri, 28 Apr 2006 15:52:50 -0400 Subject: Unable to schedule downtime in Nagios 2.2 Message-ID: <005a01c66afd$54a4e280$fdeea780$@com> Hey all, Started using Nagios 2.2 (04/07/2006) and I am having problems scheduling downtimes. After I click "Commit" I get the usual message: Your command request was successfully submitted to Nagios for processing. Note: It may take a while before the command is actually processed. Then when I click on "done" which brings me back to the page where I should see which host or service have been scheduled but it says "There are no hosts with scheduled downtime." In the nagios.log I have: [1146252863] EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;myhost;18446744071508356816;18446744071508356816;1;0; 7200;admin;test Also when I request to schedule a downtime at the cgi the date in the "Start Time:" field is separated by dashes i.e. 04-28-2006 and not with slashes i.e. 04/28/2006. I can submit comments just fine, everything else works fine too. I have the proper folder permissions. I used 2.0b4 and didn't have this problem. Any thoughts on this? Thanks in advance, Jon -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 11290 bytes Desc: not available URL: From shoktai at gmail.com Fri Apr 28 21:55:50 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Fri, 28 Apr 2006 21:55:50 +0200 Subject: Check file size In-Reply-To: <200604272137.04421.sholland@sandara.ca> References: <44509094.70305@gmail.com> <200604272137.04421.sholland@sandara.ca> Message-ID: <619cf3c0604281255t587113a1j90f5f7470367f5a8@mail.gmail.com> That was it Shawn : > Try the old 8 char path names. > > ie. > > d:\Progra~1\Exchsrvr\MDBDATA\priv1.stm Now it works in command line but in nagios web interface i get no ouptut from NRPE ( CHECK_NRPE: No output returned from daemon) . checkcommands.cfg contains : define command { command_name check_exchangeDB command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5667 - c check_exchangeDB } and the NSC.ini file contains : check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G File=d:\Progra~1\Exchsrvr\MDBDATA\priv1.stm File=d:\Progra~1\Exchsrvr\MDBDATA\priv1.edb Running in the command line it's ok : /usr/local/nagios/libexec/check_nrpe -H catorsv03 -p 5667 -c check_exchangeDB OK all file sizes are within bounds.|'d:\Progra~1\Exchsrvr\MDBDATA\priv1.stm'=4452261888;16106127360;17179869184; 'd:\Progra~1\Exchsrvr\MDBDATA\priv1.edb'=9100599296;16106127360;17179869184; I dont have logs that could help me :( Nagios.log doesnt contain anything about command exchange_DB -------------- next part -------------- An HTML attachment was scrubbed... URL: From mh+nagios-users at zugschlus.de Sat Apr 29 17:59:23 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Sat, 29 Apr 2006 17:59:23 +0200 Subject: nagios-to-visio? In-Reply-To: References: Message-ID: <20060429155923.GL31183@torres.l21.ma.zugschlus.de> On Thu, Mar 30, 2006 at 02:56:52PM -0600, Rusty Hall wrote: > Try looking at nagvis it doesn't automate it but very simple to > creat custom views Unfortunately, the suits insist on using that visio tool :-( Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- 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 herrmc at gmail.com Sun Apr 30 01:23:47 2006 From: herrmc at gmail.com (Curtis Herrmann) Date: Sat, 29 Apr 2006 18:23:47 -0500 Subject: Nagios Installation - ./configure.... --with-command-group= Message-ID: <763af4840604291623o164a7860p2949f6a525b450ed@mail.gmail.com> In the Nagios 2.0 documentation for installation on page 13 (in the pdf).. it has you create a new group and suggests naming it "nagcmd" ... I done this and accepted the suggested naming. Then under the "Run the Configure Script" on the same page it gives the command syntax for the ./configure script ... toward the end of the command it has the: --with-command-group= In the instructions that follow it says: "Replace with the name of the group running the web server (default is nagios) ****************************************************************************** Now my question: Should I use the "default" value of "nagios"... or is this what was intended for the group that it had me create earlier and suggested naming "nagcmd" ------------------------------------------------------- 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&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 From jsullivan at opensourcedevel.com Sun Apr 30 02:11:54 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Sat, 29 Apr 2006 20:11:54 -0400 Subject: Notifications not sent after changing contact email Message-ID: <1146355915.6977.15.camel@localhost> Hello, all. I recently changed the email parameter from one SMS phone e-mail address to another in a contact definition. The contact is the second listed member of a contact group. Ever since the change, the first member receives notifications but the second (the one I changed) does not. It was working before the change. The address is correct - I copied and pasted it and sent a message via my e-mail client and it worked. The logs do not show the notification being sent so something seems wrong inside of Nagios; it's not being sent and then not being delivered - it is not sent in the first place. I'm not sure how to proceed to troubleshoot and fix this. Can anyone tell me what is wrong or at least how to figure out what is wrong? Here is an excerpt from the logs (with any important addresses changed): [04-29-2006 19:38:37] SERVICE NOTIFICATION: root;EnfieldSGGW.niag;Tun10.54-10.53;CRITICAL;notify-by-email;TUNNELPING Critical: Tunnel Down Service Critical [04-29-2006 19:38:37] SERVICE ALERT: EnfieldSGGW.niag;Tun10.54-10.53;CRITICAL;HARD;4;TUNNELPING Critical: Tunnel Down Service Notification [04-29-2006 19:38:37] SERVICE NOTIFICATION: root;NiagaraRASGW.niag;Tun172.20.100-10.53;CRITICAL;notify-by-email;TUNNELPING Critical: Tunnel Down Service Critical [04-29-2006 19:38:37] SERVICE ALERT: NiagaraRASGW.niag;Tun172.20.100-10.53;CRITICAL;HARD;4;TUNNELPING Critical: Tunnel Down Note that the service notification is sent to root but not to the second contact (JASIIIpage) Here are sections from the pertinent configuration files: define contact{ contact_name root alias root service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email systemalerts at atlasgroup.net # pager 555-5555 at pagergateway.localhost.localdomain # address1 xxxxx.xyyy at icq.com # address2 555-555-5555 } define contact{ contact_name JASIIIpage alias John Sullivan pager contactgroups systemalerts host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r host_notification_commands host-notify-by-email service_notification_options c,r service_notification_commands notify-by-email email 207985xxxx at mobile.mycingular.com # email 207450xxxx at messaging.sprintpcs.com } define contactgroup{ contactgroup_name systemalerts alias System Alerts members root,JASIIIpage } The only thing I changed in this file is the email address for JASIIIpage. Here is the configuration for the service which failed above: define service{ host_name EnfieldSGGW.niag service_description Tun10.54-10.53 check_command check_tunnelping!root!10.54.254.1! 10.53.1.100!10.53.1.150 event_handler reset_openswan_tun! $HOSTADDRESS:ManchesterSGGW.niag$!Manchester2Enfield!$HOSTADDRESS$! Enfield2Manchester use NiagTunnel } define service{ name NiagTunnel use GenService max_check_attempts 6 servicegroups NiagaraServices event_handler_enabled 1 register 0 } define service{ name GenService max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups systemalerts register 0 } Any help greatly appreciated - thanks very much - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.com ------------------------------------------------------- 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 Sun Apr 30 03:12:18 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 29 Apr 2006 21:12:18 -0400 Subject: Notifications not sent after changing contact email Message-ID: Looks OK, but have you run a "nagios -v nagios.cfg" to make sure there are no errors or warnings when parsing the config? I'm wondering if it's something like a missing carriage return or other strangeness that wouldn't be apparent in a copy-and-paste. Have you tried just moving the commanted line above the new one? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of John A. Sullivan III Sent: Saturday, April 29, 2006 5:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notifications not sent after changing contact email Hello, all. I recently changed the email parameter from one SMS phone e-mail address to another in a contact definition. The contact is the second listed member of a contact group. Ever since the change, the first member receives notifications but the second (the one I changed) does not. It was working before the change. The address is correct - I copied and pasted it and sent a message via my e-mail client and it worked. The logs do not show the notification being sent so something seems wrong inside of Nagios; it's not being sent and then not being delivered - it is not sent in the first place. I'm not sure how to proceed to troubleshoot and fix this. Can anyone tell me what is wrong or at least how to figure out what is wrong? Here is an excerpt from the logs (with any important addresses changed): [04-29-2006 19:38:37] SERVICE NOTIFICATION: root;EnfieldSGGW.niag;Tun10.54-10.53;CRITICAL;notify-by-email;TUNNELPING Critical: Tunnel Down Service Critical [04-29-2006 19:38:37] SERVICE ALERT: EnfieldSGGW.niag;Tun10.54-10.53;CRITICAL;HARD;4;TUNNELPING Critical: Tunnel Down Service Notification [04-29-2006 19:38:37] SERVICE NOTIFICATION: root;NiagaraRASGW.niag;Tun172.20.100-10.53;CRITICAL;notify-by-email;TUNN ELPING Critical: Tunnel Down Service Critical [04-29-2006 19:38:37] SERVICE ALERT: NiagaraRASGW.niag;Tun172.20.100-10.53;CRITICAL;HARD;4;TUNNELPING Critical: Tunnel Down Note that the service notification is sent to root but not to the second contact (JASIIIpage) Here are sections from the pertinent configuration files: define contact{ contact_name root alias root service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email systemalerts at atlasgroup.net # pager 555-5555 at pagergateway.localhost.localdomain # address1 xxxxx.xyyy at icq.com # address2 555-555-5555 } define contact{ contact_name JASIIIpage alias John Sullivan pager contactgroups systemalerts host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r host_notification_commands host-notify-by-email service_notification_options c,r service_notification_commands notify-by-email email 207985xxxx at mobile.mycingular.com # email 207450xxxx at messaging.sprintpcs.com } define contactgroup{ contactgroup_name systemalerts alias System Alerts members root,JASIIIpage } The only thing I changed in this file is the email address for JASIIIpage. Here is the configuration for the service which failed above: define service{ host_name EnfieldSGGW.niag service_description Tun10.54-10.53 check_command check_tunnelping!root!10.54.254.1! 10.53.1.100!10.53.1.150 event_handler reset_openswan_tun! $HOSTADDRESS:ManchesterSGGW.niag$!Manchester2Enfield!$HOSTADDRESS$! Enfield2Manchester use NiagTunnel } define service{ name NiagTunnel use GenService max_check_attempts 6 servicegroups NiagaraServices event_handler_enabled 1 register 0 } define service{ name GenService max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups systemalerts register 0 } Any help greatly appreciated - thanks very much - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.com ------------------------------------------------------- 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&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 From patrick.morris at hp.com Sun Apr 30 03:16:08 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 29 Apr 2006 21:16:08 -0400 Subject: Nagios Installation - ./configure.... --with-command-group= Message-ID: The mention of "nagcmd" is only an example. The default is "nagios." You can call it whatever you like -- and depending on your system, there may be very good reasons to use something completely different. -----Original Message----- "Replace with the name of the group running the web server (default is nagios) ************************************************************************ ****** Now my question: Should I use the "default" value of "nagios"... or is this what was intended for the group that it had me create earlier and suggested naming "nagcmd" ------------------------------------------------------- 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&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 From drussell at mpifix.com Sun Apr 30 20:37:37 2006 From: drussell at mpifix.com (Danny Russell) Date: Sun, 30 Apr 2006 12:37:37 -0600 Subject: Nagios NEB Nagios-DB Install Guide Message-ID: <028B223BB24E5443A9784BBE1CC5EBE0CE4D79@Lisa.mpifix.com> Awesome, it compiled! Thanks for your help. ________________________________ From: Adrian Hungate [mailto:adrian at haqa.co.uk] Sent: Sunday, April 30, 2006 7:39 AM To: Danny Russell Subject: RE: [Nagios-users] Nagios NEB Nagios-DB Install Guide Hi there Danny! I saw your message to the nagios-users list about the neb_register_callback problem compiling inserter.c for nagios-db. I am also having the same problem. It would appear that nagios-db was written for an earlier version of the nagios API, and the neb_register_callback now takes an additional parameter. The new signature is int neb_register_callback(int callback_type, void *mod_handle, int priority, int (*callback_func)(int,void *)); which obviously differs from the earlier version. My guess is that the void *mod_handle is the new part and I am looking to work out what that should contain. My guess is that this is the nebmodule parameter to the nebmodule_init function. I added the following line to the global defines for the file: nebmodule *nebhandle; Then I've added nebhandle = handle; as the first executable line in nebmodule_init, then each call needs nebhandle inserting as its second parameter, i.e. neb_register_callback(NEBCALLBACK_TIMED_EVENT_DATA, nebhandle, 0, loadconfig); etc... Hope this helps... Adrian... P.S.: I just found this http://www.barbich.net/websvn/wsvn/nagios?op=comp&compare%5B%5D=%2Fnagio s%2Fpatches at 1&compare%5B%5D=%2Fnagios%2Fpatches at 54 which may help you. It appears to make the same change I made, but also changes the name of one of the callback events. YMMV -- Adrian Hungate -------------- next part -------------- An HTML attachment was scrubbed... URL: