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 obta