From pmui at groundworkopensource.com Fri Dec 1 02:04:37 2006 From: pmui at groundworkopensource.com (Peter Mui) Date: Thu, 30 Nov 2006 17:04:37 -0800 Subject: New WMI Plugins posted to NagiosExchange Message-ID: These newly posted WMI Plugins greatly simplify the process of monitoring Windows servers and applications. They allow access to almost all Windows WMI properties through just this handful of plugins. They're posted at: http://www.nagiosexchange.org/NRPE_Plugins.66.0.html?&tx_netnagext_pi1 [p_view]=235 Try them out, let us know your experience with them! Peter Mui, Open Source Community Advocate GROUNDWORK Open Source, Inc. 139 Townsend Street, Suite 100 San Francisco, CA 94107-1946 +1 415 992 4573 (direct) +1 415 947 0684 (fax) pmui at groundworkopensource.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 1 07:38:09 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 1 Dec 2006 07:38:09 +0100 (CET) Subject: email notifications In-Reply-To: <319344.12409.qm@web39615.mail.mud.yahoo.com> References: <319344.12409.qm@web39615.mail.mud.yahoo.com> Message-ID: On Thu, 30 Nov 2006, Abegail Pungtilan wrote: > I'm new to nagios world with basic knowledge in unix. My boss ask me to enable setup email notifications on our nagios and I'm having a hard time how / where to start. Could someone give me hints / tips on this it would be highly appreciated? Read the documentation on your unix system and make sure the mail command on the system is able to send out email messages. Once you got that part working you can propably use the default nagios sections to send out notifications. A recent Linux distribution should have email working in this minimal fashion out of the box. Solaris and other systems should have similar arrangements but you should consult the OS documentation to be sure. I suggest you go ahaead and report specific issues if you run into them. But I also suggest you take 5 minutes to check with your favorite search engine in such event to look for the obvious answers first. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Fri Dec 1 08:26:07 2006 From: atstake at gmail.com (atstake atstake) Date: Fri, 1 Dec 2006 18:26:07 +1100 Subject: [nrpe] "Unable to read output" Message-ID: <8adc88580611302326j14701379sb512645ed824cae5@mail.gmail.com> I compiled nrpe without SSL & when I try to connect to the remote nrpe daemon it says "Unable to read output" root at server1:/usr/local/nagios/libexec # ./check_nrpe -n -H 172.16.20.5 -c check_disk1 NRPE: Unable to read output First, I started the stand-alone daemon - root at server2:/home/client/nrpe-2.5.2/src # ./nrpe -n -d -c /etc/nrpe.cfg then checked if nrpe is running - root at server2:/home/client/nrpe-2.5.2/src # ps aux | grep nrpe 1000 850 0.0 0.0 2032 504 ? Ss 14:45 0:00 ./nrpe -n -d -c /etc/nrpe.cfg tcp 0 0 172.16.20.5:5666 0.0.0.0:* LISTEN 850/nrpe here's my /etc/nrpe.cfg file - pid_file=/tmp/nrpe.pid server_port=5666 server_address=172.16.20.5 nrpe_user=client nrpe_group=users allowed_hosts=172.16.20.4 dont_blame_nrpe=0 debug=0 command_timeout=60 command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda2 command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sdb1 I can ping/ssh both the hosts and no firewall blocking any port. permission for /etc/nrpe.cfg is -rw-rw-rw- 1 client users 6775 Dec 1 14:42 /etc/nrpe.cfg /vag/log/messages on the daemon end Dec 1 16:25:31 server2 nrpe[1711]: Starting up daemon Dec 1 16:25:31 server2 nrpe[1711]: Listening for connections on port 5666 Dec 1 16:25:31 server2 nrpe[1711]: Allowing connections from: 172.16.20.4 I don't have nagios installed on where nrpe daemon is running. Any kind of help would be much appreciated. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.lists at vum.at Fri Dec 1 08:52:30 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Fri, 01 Dec 2006 08:52:30 +0100 Subject: Vedr.: Snmp - How do you use yours? In-Reply-To: References: Message-ID: <456FDF3E.5020406@vum.at> Thomas Jens Lauritsen schrieb: > I use snmp combined with selfmade bash plugins to get the following values. > > Antivirus_check - how old are our DATfiles - are they regulary updated > if not - we get a warning hmh, fine. Please what plugin are you using for that? I could need it here :-) TIA, Ingo. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.lists at vum.at Fri Dec 1 09:01:52 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Fri, 01 Dec 2006 09:01:52 +0100 Subject: Snmp - How do you use yours? In-Reply-To: <456C055C.5000602@googlemail.com> References: <456C055C.5000602@googlemail.com> Message-ID: <456FE170.3060801@vum.at> Hari Sekhon schrieb: > I've decided to add snmp monitoring to my nagios setup. I'd like to > know what you guys and gals are monitoring using snmp out there. One thing not mentioned yet: Also SNMP-Traps can be very useful for monitoring applications and devices. F.e. RAID-controllers and backup software send traps, which can be catch by NSCA (as I have read) or snmptrapd (which I have already implemented). Works fine! I can provide a HowTo if someone is interested, unfortunately it is in German only. HTH Ingo. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Dec 1 11:11:27 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Dec 2006 11:11:27 +0100 Subject: Nagios 2.5 and weird problem In-Reply-To: References: Message-ID: <456FFFCF.3080401@op5.se> Mark Hennessy wrote: > I'm running lots of custom plugins, mostly perl scripts. > If you have compiled Nagios with embedded perl and there's an infinite loop bug in one of those perl scripts, you'll see Nagios eating CPU like mad. Try running your perl scripts through the perl executable, so your command object definition has a command_line parameter that starts with /usr/bin/perl. This will prevent Nagios from loading your perl-scripts into the epn. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Fri Dec 1 14:33:48 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Fri, 1 Dec 2006 08:33:48 -0500 Subject: Nagios 2.5 and weird problem In-Reply-To: <456FFFCF.3080401@op5.se> References: <456FFFCF.3080401@op5.se> Message-ID: They're all already running through the perl interpreter using #!. I'm not using the embedded perl. Thanks for the suggestion, though. When I get this problem with load worked out, I'll see if using embedded perl will make things run more efficiently overall. -- Mark Hennessy > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Friday, December 01, 2006 5:11 AM > To: Mark Hennessy > Cc: Jason.Shein at iovate.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > Mark Hennessy wrote: > > I'm running lots of custom plugins, mostly perl scripts. > > > > If you have compiled Nagios with embedded perl and there's an > infinite > loop bug in one of those perl scripts, you'll see Nagios > eating CPU like > mad. Try running your perl scripts through the perl > executable, so your > command object definition has a command_line parameter that > starts with > /usr/bin/perl. This will prevent Nagios from loading your > perl-scripts > into the epn. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mara.laureti at gmail.com Fri Dec 1 14:50:52 2006 From: mara.laureti at gmail.com (Mara Laureti) Date: Fri, 1 Dec 2006 14:50:52 +0100 Subject: NACE contact_groups Message-ID: Hi, thanks for last answers. :-)) I have another question: The hostgroup, created to NACE, has contact_groups directive. It generate this error: "Error: Invalid hostgroup object directive 'contact_groups'." Why? Thanks for all. Nagios-version nagios2.5 Plugin-version nagios-plugin-1.4.5 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tommyz4 at gmail.com Fri Dec 1 20:11:11 2006 From: tommyz4 at gmail.com (Thomas Zgambo) Date: Fri, 1 Dec 2006 11:11:11 -0800 Subject: vrml Message-ID: <2754c1e90612011111i5e667e1evc8aaded7f6cd7f5f@mail.gmail.com> hey i have a question about using the vrml maps.... I added the image file to the ext host info and i have them in the cgi map but they won't show up in the vrml can someone also break down the coordinate thing how to approach this....any advise will help thx. -- Regards, Thomas M. Zgambo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Dec 1 21:09:39 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 1 Dec 2006 12:09:39 -0800 Subject: vrml In-Reply-To: <2754c1e90612011111i5e667e1evc8aaded7f6cd7f5f@mail.gmail.com> References: <2754c1e90612011111i5e667e1evc8aaded7f6cd7f5f@mail.gmail.com> Message-ID: <20061201200939.GS17454@pmorris.usa.hp.com> On Fri, 01 Dec 2006, Thomas Zgambo wrote: > hey i have a question about using the vrml maps.... I added the image file > to the ext host info and i have them in the cgi map but they won't show up > in the vrml > can someone also break down the coordinate thing how to approach this....any > advise will help thx. The 2D and 3D maps use different image formats. See http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo This part of the documentation also explains how to use coordinates. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 gridshield.net Fri Dec 1 23:16:02 2006 From: marc at gridshield.net (Marc DeTrano) Date: Fri, 01 Dec 2006 16:16:02 -0600 Subject: Electrical monitoring -> Nagios Message-ID: <4570A9A2.1070000@gridshield.net> Just wondering is anyone has done electrical power measurement, and been able to get that data back into Nagios. Mainly, I am curious if there is a device that would allow us to measure a draw of up to 200A, and some way or another get the reading from a PC. Marc Gridshield, S.A. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.king at ingenta.com Fri Dec 1 23:37:50 2006 From: robert.king at ingenta.com (Robert King) Date: Fri, 01 Dec 2006 17:37:50 -0500 Subject: Electrical monitoring -> Nagios In-Reply-To: <4570A9A2.1070000@gridshield.net> References: <4570A9A2.1070000@gridshield.net> Message-ID: <4570AEBE.90804@ingenta.com> I've not used this product myself, so I can't vouch for it, but is something like this what you're looking for? http://www.geneq.com/catalog/en/ectlsr~1.htm Looks like they've got both AC Current and temperature probes available for the unit. It's an inductive current probe, so would require no direct electrical connection that could possibly void the warranty of any of your equipment. Output is via RS232, they specify the "TrendReader" software for Windows to interface with the device. Devices like this usually output in some plain-text format. So, it's probably worth contacting the manufacturer and asking them for specs on the data output format. We use the excellent TempTrax probe recommended by nagios.org, to monitor out data center temperatures. It also outputs its temperature data via RS232. So if you've got a working knowledge of C, it should be a pretty easy exercise to modify the TempTrax nagios check, to work with a device like the one above. Maybe someone else on the list can offer a more turnkey solution, but hopefully this is at least some food for thought! -- Robert King - Ingenta, Inc. UNIX Systems Administrator GPG Public key: http://tinyurl.com/9zmws Marc DeTrano wrote: > Just wondering is anyone has done electrical power measurement, and been > able to get that data back into Nagios. Mainly, I am curious if there > is a device that would allow us to measure a draw of up to 200A, and > some way or another get the reading from a PC. > > Marc > Gridshield, S.A. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 1 23:52:01 2006 From: az at whoever.org (Az) Date: Sat, 02 Dec 2006 08:52:01 +1000 Subject: Electrical monitoring -> Nagios In-Reply-To: <4570A9A2.1070000@gridshield.net> References: <4570A9A2.1070000@gridshield.net> Message-ID: <4570B211.8000804@whoever.org> Marc DeTrano wrote: > Just wondering is anyone has done electrical power measurement, and been > able to get that data back into Nagios. Mainly, I am curious if there > is a device that would allow us to measure a draw of up to 200A, and > some way or another get the reading from a PC. We're a big APC shop, and getting that sort of info from the UPSs and PDUs is a breeze. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Sat Dec 2 05:38:10 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Fri, 1 Dec 2006 22:38:10 -0600 Subject: Electrical monitoring -> Nagios In-Reply-To: <4570A9A2.1070000@gridshield.net> References: <4570A9A2.1070000@gridshield.net> Message-ID: <20061202043810.GB19531@keroberos.demosthenes.org> Check out AKCP, they've got a sensorProbe that may have a plugin for you. Russell On Fri, Dec 01, 2006 at 04:16:02PM -0600, Marc DeTrano wrote: > Just wondering is anyone has done electrical power measurement, and been > able to get that data back into Nagios. Mainly, I am curious if there > is a device that would allow us to measure a draw of up to 200A, and > some way or another get the reading from a PC. > > Marc > Gridshield, S.A. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ks at mocker.org Sun Dec 3 02:10:05 2006 From: ks at mocker.org (Kyle Sexton) Date: Sat, 2 Dec 2006 19:10:05 -0600 Subject: Web config for distributed Nagios Message-ID: <20061203011005.GA7845@mocker.org> All, I'm looking at converting our existing Nagios to a distributed model. In the process of this conversion I would also like to implement some sort of web based configuration tool. Does anyone have any recommendations? A SQL backend would be a strong plus as well. Thanks in advance for any responses. -- Kyle Sexton ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fbmondia at gmail.com Sun Dec 3 03:43:40 2006 From: fbmondia at gmail.com (Francis Lee Mondia) Date: Sun, 3 Dec 2006 10:43:40 +0800 Subject: How to implement distributed monitoring with NRPE Message-ID: Hello guys, I want to implement distributed monitoring using NRPE but i can't seem to understand the documents on how to actually implement it. If anyone knows some good tutorials on how to achieve this, can you be kind enough to send me the link or links? Thanks in advance. Francis Lee B. Mondia -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fbmondia at gmail.com Sun Dec 3 03:49:24 2006 From: fbmondia at gmail.com (Francis Lee Mondia) Date: Sun, 3 Dec 2006 10:49:24 +0800 Subject: Implementing distributed monitoring with NRPE Message-ID: Hello again all, I forgot to include my nagios version in my previous post, so i will post it again with the Nagios version and OS info. For those who didn't catch it, I was asking if anybody knows a good tutorial or two ( or three ;) ) on how to setup distributed monitoring using Nagios 2.5 and NRPE. I run it on Centos 4.3. I currently have an ok setup, with about 40 hosts and 60+ services. However, a new router will be installed in 2 weeks time and I am contemplating changing the centralized to distributed monitoring if firewall issued will get in the way. Even if we can get the firewall right, I think distributed monitoring would also be needed on some. If anyone knows some good tutorials or articles, please post the links. Thanks in advance. Francis Lee B. Mondia -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederick.arkins at gmail.com Sun Dec 3 04:00:14 2006 From: frederick.arkins at gmail.com (Frederick Arkins) Date: Sat, 2 Dec 2006 22:00:14 -0500 Subject: Web Portal? Message-ID: <846e165a0612021900h23946a44g4fc848fc1d9f5af5@mail.gmail.com> Has anyone coded a web portal for nagios that would allow you to provide viewing only a subset of the monitored hosts and services based on a user's login? My end goal here is to be able to allow some customers to view a status of their network on a nagios server that monitors a lot of diverse hosts and services for different customers and such. Thanks in advance, Fred -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admin at treenetnz.com Sun Dec 3 10:46:07 2006 From: admin at treenetnz.com (TreeNet Admin) Date: Sun, 3 Dec 2006 22:46:07 +1300 Subject: Web Portal? References: <846e165a0612021900h23946a44g4fc848fc1d9f5af5@mail.gmail.com> Message-ID: <030501c716bf$db520a60$4000a8c0@rome> What OS are you using? I believe the nagios .cfg has a basic level setup for this. Not havign done the host-restricted access yet I can provide o hard help. But the nagios version available to me came with a htpasswd.users file that allowed apache to prvide nagios with logins. Nagios itself configured to allow anyone access to the host/service reports where they are contacts should do what you want. I'm lookiNG into doing a setup like that Myself sometime, so if anyone else has any suggestions step up please! AYJ ----- Original Message ----- From: Frederick Arkins To: nagios-users at lists.sourceforge.net Sent: Sunday, December 03, 2006 4:00 PM Subject: [Nagios-users] Web Portal? Has anyone coded a web portal for nagios that would allow you to provide viewing only a subset of the monitored hosts and services based on a user's login? My end goal here is to be able to allow some customers to view a status of their network on a nagios server that monitors a lot of diverse hosts and services for different customers and such. Thanks in advance, Fred ------------------------------------------------------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Dec 3 12:24:56 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Sun, 03 Dec 2006 11:24:56 +0000 Subject: Web Portal? In-Reply-To: <030501c716bf$db520a60$4000a8c0@rome> References: <846e165a0612021900h23946a44g4fc848fc1d9f5af5@mail.gmail.com> <030501c716bf$db520a60$4000a8c0@rome> Message-ID: <4572B408.5020304@mailnetwork.co.uk> Look out for Nagios Looking Glass, to be released probably early January now - this will have this functionality in version 1.1. http://looking-glass.andyshellam.eu is my live site of it currently, and I've already got on the tracker allowing certain groups of users to view different hosts, and possibly services (altho the service restrictions may come later.) If you need any more info or want to get involved in beta-testing with this functionality please e-mail me. Andy. TreeNet Admin wrote: > What OS are you using? > I believe the nagios .cfg has a basic level setup for this. > Not havign done the host-restricted access yet I can provide o hard > help. But the nagios version available to me came with a > htpasswd.users file that allowed apache to prvide nagios with logins. > Nagios itself configured to allow anyone access to the host/service > reports where they are contacts should do what you want. > > I'm lookiNG into doing a setup like that Myself sometime, so if anyone > else has any suggestions step up please! > > AYJ > > > ----- Original Message ----- > *From:* Frederick Arkins > *To:* nagios-users at lists.sourceforge.net > > *Sent:* Sunday, December 03, 2006 4:00 PM > *Subject:* [Nagios-users] Web Portal? > > Has anyone coded a web portal for nagios that would allow you to > provide viewing only a subset of the monitored hosts and services > based on a user's login? > > My end goal here is to be able to allow some customers to view a > status of their network on a nagios server that monitors a lot of > diverse hosts and services for different customers and such. > Thanks in advance, > Fred > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45729d1040414426529391! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,45729d1040414426529391! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45729d1040414426529391! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Sun Dec 3 13:50:51 2006 From: stava at telcotec.se (Lars Stavholm) Date: Sun, 03 Dec 2006 13:50:51 +0100 Subject: Web config for distributed Nagios In-Reply-To: <20061203011005.GA7845@mocker.org> References: <20061203011005.GA7845@mocker.org> Message-ID: <4572C82B.1060603@telcotec.se> Kyle Sexton wrote: > All, > > I'm looking at converting our existing Nagios to a distributed > model. In the process of this conversion I would also like to implement > some sort of web based configuration tool. Does anyone have any > recommendations? A SQL backend would be a strong plus as well. I've just been playing with NagiosQL . It is a web based config tool. There might be others, better. You might want to check out . Cheers /Lars ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Dec 3 18:28:33 2006 From: marc at ena.com (Marc Powell) Date: Sun, 3 Dec 2006 11:28:33 -0600 Subject: Web Portal? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Frederick Arkins > Sent: Saturday, December 02, 2006 9:00 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Web Portal? > > Has anyone coded a web portal for nagios that would allow you to provide > viewing only a subset of the monitored hosts and services based on a > user's login? > > My end goal here is to be able to allow some customers to view a status of > their network on a nagios server that monitors a lot of diverse hosts and > services for different customers and such. Thanks in advance, > Fred With web authentication enabled, Nagios will only show hosts and services for which logged in users are contacts so that seems to fit your needs. If you don't want these users to receive notifications, set their notification_period to none. I'm not sure if this matters but those users will have the full functionality of Nagios as it relates to their hosts and services. This means that they'll be able to reschedule checks, acknowledge problems, etc. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tim.Daley at ccci.org Sun Dec 3 19:49:06 2006 From: Tim.Daley at ccci.org (Tim Daley) Date: Sun, 3 Dec 2006 13:49:06 -0500 Subject: disable embedded perl doesn't work Message-ID: using the following and using both --disable-embedded-perl and --without-embedded-perl doesn't work. ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share/nagios --libexecdir=/usr/lib/nagios/plugins --localstatedir=/var/log/nagios --sbindir=/usr/lib/nagios/cgi --sysconfdir=/etc/nagios --with-cgiurl=/nagios/cgi-bin --with-command-user=apache --with-command-group=apache --with-gd-lib=/usr/lib --with-gd-inc=/usr/include --with-htmurl=/nagios --with-init-dir=/etc/rc.d/init.d --with-lockfile=/var/run/nagios.pid --with-mail=/bin/mail --with-nagios-user=nagios --with-nagios-group=nagios --disable-embedded-perl --without-embedded-perl --without-perlcache --disable-perlcache --with-template-objects --with-template-extinfo --enable-event-broker ..... General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: apache,apache Embedded Perl: yes, with caching Event Broker: yes Install ${prefix}: /usr Lock file: /var/run/nagios.pid Init directory: /etc/rc.d/init.d Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /bin/traceroute It looks lkie the general parameter scan process sets parameters to "no" but when the specific options are check, the following construct is used: "${enable_embedded_perl+set} = set" which succeeds even when the given parameter is set to "no". Tim Daley Campus Crusade for Christ 100 Lake Hart Dr. MC 2900 Orlando, Fl 32832-0100 (407)826-2911 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Mon Dec 4 08:53:49 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Mon, 4 Dec 2006 08:53:49 +0100 Subject: Web Portal? Message-ID: Hi Take a Look on http://www.nagiosexchange.org/NagiosPortal.144.0.html /j?rg _____ Fr?n: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] F?r TreeNet Admin Skickat: den 3 december 2006 10:46 Till: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] Web Portal? What OS are you using? I believe the nagios .cfg has a basic level setup for this. Not havign done the host-restricted access yet I can provide o hard help. But the nagios version available to me came with a htpasswd.users file that allowed apache to prvide nagios with logins. Nagios itself configured to allow anyone access to the host/service reports where they are contacts should do what you want. I'm lookiNG into doing a setup like that Myself sometime, so if anyone else has any suggestions step up please! AYJ ----- Original Message ----- From: Frederick Arkins To: nagios-users at lists.sourceforge.net Sent: Sunday, December 03, 2006 4:00 PM Subject: [Nagios-users] Web Portal? Has anyone coded a web portal for nagios that would allow you to provide viewing only a subset of the monitored hosts and services based on a user's login? My end goal here is to be able to allow some customers to view a status of their network on a nagios server that monitors a lot of diverse hosts and services for different customers and such. Thanks in advance, Fred _____ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _____ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjsanz4job at hotmail.com Mon Dec 4 14:48:20 2006 From: cjsanz4job at hotmail.com (Carlos Sánchez) Date: Mon, 04 Dec 2006 08:48:20 -0500 Subject: email notifications In-Reply-To: <319344.12409.qm@web39615.mail.mud.yahoo.com> References: <319344.12409.qm@web39615.mail.mud.yahoo.com> Message-ID: Hi Abegal! When you install nagios, there are any commands(commands.cfg file) that was created by default(host-notify-by-email and notify-by-email) this commands sends notifications by mail, this commands must be asociated with a contacts(contacts.cfg) You must to read the nagios manual for the specific information, this information is a first step define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } >From: Abegail Pungtilan >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] email notifications >Date: Thu, 30 Nov 2006 21:50:19 -0800 (PST) > >Dear All, > >I'm new to nagios world with basic knowledge in unix. My boss ask me to >enable setup email notifications on our nagios and I'm having a hard time >how / where to start. Could someone give me hints / tips on this it would >be highly appreciated? > >Many thanks. > > > > >Regards, > >Abegail B. Pungtilan >Data Networks Section >NOD / CNOD >Digitel Mobile Philippines Inc. >Tel no. +63 397 8619 >Mobile no. +63 922 9425 836 > >--------------------------------- >Access over 1 million songs - Yahoo! Music Unlimited. >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.A.Childers at wellsfargo.com Mon Dec 4 18:02:58 2006 From: Richard.A.Childers at wellsfargo.com (Richard.A.Childers at wellsfargo.com) Date: Mon, 4 Dec 2006 11:02:58 -0600 Subject: Web Portal? Message-ID: <8A880C79FFE28546933CE022FE244C7C0119E270@msgswbiadsm48.wellsfargo.com> "... a web portal for nagios that would allow you to provide viewing only a subset of the monitored hosts and services based on a user's login?" [0] Create logins for your customers in htpasswd. [1] Add entries for your customers to contacts.cfg. [2] Add entries for your customers' contacts to contactgroups.cfg. [3] Add that contactgroup to the 'contact_groups' entry for their specific machines in hosts.cfg. [4] Add alias entries for each entry in htpasswd to your aliases database, and rebuild it. [5] Test to insure that you can originate mail to external servers and that it is delivered reliably. Regards, -- richard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Mon Dec 4 20:48:16 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Mon, 04 Dec 2006 14:48:16 -0500 Subject: read only and disk verification Message-ID: Hi all, Is there any plugin I can look for checking if a directory is read only or if the directory actually exist? If not, I'll just write one! Thanks. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aragonx at dcsnow.com Mon Dec 4 22:38:46 2006 From: aragonx at dcsnow.com (Will Yonker) Date: Mon, 4 Dec 2006 16:38:46 -0500 (EST) Subject: email to sms service Message-ID: <45874.192.35.79.70.1165268326.squirrel@www.dcsnow.com> Hello all, I'm looking for a good email to sms service. I've found one but it seems to take quite some time for the sms message to arrive. Does anyone know of a reasonably priced provider that they would recommend? Thank you in advance. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Mon Dec 4 22:36:13 2006 From: tdondich at gmail.com (Taylor Dondich) Date: Mon, 4 Dec 2006 13:36:13 -0800 Subject: Fruity, the Nagios Configuration Tool, 1.0 RC2 Has Been Released! Message-ID: <3d2eb72a0612041336w189b02dem7886b898ae7b88f@mail.gmail.com> Fruity, one of the popular Nagios Configuration tools, has been updated! I dub this the community supported release because a great deal of code enhancements and bug fixes were provided by you, the Fruity community. You are the reason that Open Source software works. Below is the changelog. Download the latest version of Fruity now at http://sourceforge.net/project/showfiles.php?group_id=136248 Taylor Dondich CHANGELOG: 1.0 rc2 -Major Feature Enhancements: -Added support for multiple parents for Hosts -Added support for *_perfdata_* fields in Main Configuration -Added Event Broker Module Support In Main Configuration -Added support for importing escalations and service groups. -Nagios Pre-Flight and Reload Support Closed/Fixed the following SourceForge Bugs: 1396289 unable to import escalations 1451396 double inherited templates export blank check_command 1477558 Only 1 escalation displayed per service 1463060 error in configuration 1376721 No database field or webinterface for the event broker 1296606 Ability for multiple host parents? 1463130 problem with hosts with more then one parent 1441724 HTML Code shown in text 1441737 Design: Some fields are to much right. 1444330 SGs not importing in RC1 1449194 Event Handler Parameters 1449950 Inherited Service Groups not exporting correctly 1444456 Service Templates - MoveNext() problem 1460123 servicegroup membership not deleted 1486687 equal sign in illegal character parameters 1486896 hostgroups linked to extra services on import 1487546 templates using templates, on import 1490734 service from template not deleted in file 1446289 double contactgroup entries 1456466 perfdata command set to 0 on import 1476739 output.php and used.css 1482543 BUG - export contacts - flapping flag 1480425 Frames do not appear correct in Firefox 1262226 fruity does not import Service Templates 1486927 alternate fix for import of service_description 1506695 can't import service groups from files exported by fruity 1493650 is_volatile setting forgotten ? 1497475 Renaming hostgroups 1503479 fruity.inc on line 510 1508460 adding members to hostgroups.cfg 1525347 INSTALL file spelling error 1560848 escalations in fruity 1.0 RC1 1571516 "Auto Rescheduling Window" variable only allows 2 digits 1487618 longer fields for time intervals 1577680 Seems that Additional Addresses in Contacts not work... 1548987 hostObject->tempInheritedValues not initialised 1587164 Error in the SQL file 1587572 Duplicate log_file entries in nagios.cfg 1592329 Extended Info inheritance chain limited to 2 deep... 1548988 Typo in fruity.c causing error 1486813 perfdata_file_mode fields 1483671 BUG - export contacts - flapping flag 1451753 Need to be able to disable global event handlers 1441853 templating error with fruity 1.0rc 1441729 Resources are imported wrong. 1449764 servicegroup session data not being unset 1441824 Contact, Periods 1447109 Services check can not be edited 1442170 service checks error 1509614 Parse error: syntax error, unexpected T_OBJECT_OPERATO ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Dec 5 00:36:46 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 04 Dec 2006 23:36:46 +0000 Subject: email to sms service In-Reply-To: <45874.192.35.79.70.1165268326.squirrel@www.dcsnow.com> References: <45874.192.35.79.70.1165268326.squirrel@www.dcsnow.com> Message-ID: <4574B10E.3070609@mailnetwork.co.uk> If you're in the UK, I use TextAnywhere (www.textanywhere.net) - their delivery is almost instantaneous. Also AQL are fairly decent too. Will Yonker wrote: > Hello all, > > I'm looking for a good email to sms service. I've found one but it seems > to take quite some time for the sms message to arrive. Does anyone know > of a reasonably priced provider that they would recommend? > > Thank you in advance. > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 01:03:20 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 4 Dec 2006 19:03:20 -0500 Subject: email to sms service In-Reply-To: <45874.192.35.79.70.1165268326.squirrel@www.dcsnow.com> References: <45874.192.35.79.70.1165268326.squirrel@www.dcsnow.com> Message-ID: <302ce8b50612041603i71e8d38eh534e43900cff63bc@mail.gmail.com> > I'm looking for a good email to sms service. I've found one but it seems > to take quite some time for the sms message to arrive. Does anyone know > of a reasonably priced provider that they would recommend? I just use the cellphone provider's services -> http://en.wikipedia.org/wiki/SMS_gateways -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tim.Daley at ccci.org Mon Dec 4 23:04:35 2006 From: Tim.Daley at ccci.org (Tim Daley) Date: Mon, 4 Dec 2006 17:04:35 -0500 Subject: Using $ARGn$ in notify command In-Reply-To: References: Message-ID: I'm attempting to use $ARG1$ in a notify command: define service{ use GCX-website host_name staff2.ccci.org service_description LOGIN-officedepot check_command check_web_login_officedepot!https://staff2.ccci.org/ss/officedepotlogin! XXXXX!XXXXX } define command{ command_name check_web_login_officedepot command_line $USER1$/check_website -N -s $USER10$/check_web_login_officedepot.scr -D HOST=$HOSTNAME$ -D URL=$ARG1$ -D USERNAME=$ARG2$ -D PASSWORD=$ARG3$ } define command{ command_name notify-by-email-test command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\\nDUMP:\n\ \nADMINEMAIL: $ADMINEMAIL$ \nADMINPAGER: $ADMINPAGER$ \nARG1: $ARG1$ \nARG2: $ARG2$ \nARG3: $ARG3$ \nARG4: $ARG4$ \nARG5: $ARG5$ \nARG6: $ARG6$ \nARG7: $ARG7$ \nARG8: $ARG8$ \nARG9: $ARG9$ \nARG10: $ARG10$ \nUSER1: $USER1$ \nUSER2: $USER2$ \nUSER3: $USER3$ \nUSER4: $USER4$ \nUSER5: $USER5$ \nUSER6: $USER6$ \nUSER7: $USER7$ \nUSER8: $USER8$ \nUSER9: $USER9$ \nUSER10: $USER10$ " | /bin/mail -s "$HOSTALIAS$/$SERVICEDESC$ $NOTIFICAT IONTYPE$ state is $SERVICESTATE$ **" $CONTACTEMAIL$ } The output is: ***** Nagios ***** Notification Type: PROBLEM Service: LOGIN-officedepot Host: staffservices Address: staffweb.ccci.org State: CRITICAL Date/Time: Mon Dec 4 16:55:31 EST 2006 Additional Info: CRITICAL: Process completed in 2962.234 msec DUMP: \ ADMINEMAIL: nagios ADMINPAGER: pagenagios ARG1: ARG2: ARG3: ARG4: ARG5: ARG6: ARG7: ARG8: ARG9: ARG10: USER1: /usr/lib/nagios/plugins USER2: USER3: USER4: USER5: USER6: USER7: USER8: USER9: USER10: /usr/lib/nagios/plugins/check_website_scripts It looks like the USERn macros are getting through but the ARGn macros aren't. What am I doing wrong? Tim Daley Campus Crusade for Christ 100 Lake Hart Dr. MC 2900 Orlando, Fl 32832-0100 (407)826-2911 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 02:44:20 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 4 Dec 2006 17:44:20 -0800 Subject: Using $ARGn$ in notify command In-Reply-To: References: Message-ID: <20061205014420.GM17454@pmorris.usa.hp.com> On Mon, 04 Dec 2006, Tim Daley wrote: > I'm attempting to use $ARG1$ in a notify command: Those macros don't apply to notification commands. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tim.Daley at ccci.org Tue Dec 5 02:53:05 2006 From: Tim.Daley at ccci.org (Tim Daley) Date: Mon, 4 Dec 2006 20:53:05 -0500 Subject: Using $ARGn$ in notify command In-Reply-To: <20061205014420.GM17454@pmorris.usa.hp.com> References: <20061205014420.GM17454@pmorris.usa.hp.com> Message-ID: The table in docs/macros.html indicates that $ARGn$ is valid in service notifications. That's not the same as notification commmands? If not, another entry in the table seems appropriate. Tim Daley Campus Crusade for Christ 100 Lake Hart Dr. MC 2900 Orlando, Fl 32832-0100 (407)826-2911 -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Monday, December 04, 2006 8:44 PM To: Tim Daley Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Using $ARGn$ in notify command On Mon, 04 Dec 2006, Tim Daley wrote: > I'm attempting to use $ARG1$ in a notify command: Those macros don't apply to notification commands. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jesse.Saletan at amd.com Tue Dec 5 03:54:32 2006 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Mon, 4 Dec 2006 20:54:32 -0600 Subject: Limiting notification message size Message-ID: <7986CEFCE5C2954A88BEE2CAB6FAB3741BC326@SAUSEXMB2.amd.com> Hello, Nagios users. I'm trying to use e-mails sent to my cell phone's address to receive real-time notifications from Nagios. Through trial and error, and a bit of Googling, I've found that e-mails under 160 characters are sent to my phone as SMS messages. These SMS messages arrive very quickly. Messages greater than this size are sent as MMS (multimedia) messages and are delayed for anywhere from 10 minutes to many hours. They're also typically billed as 4-5 messages by my cellular service provider. I'd like to know if it's possible to send out two types of notifications: 1) an abbreviated one that will always be under 160 characters, which I would send only to mobile devices, and 2) the standard notifications that I receive now to my regular (non cell phone) e-mail address. I suppose it may be possible to configure Postfix to truncate messages to certain addresses. Before I go in that direction I thought I'd run it by some other users to see if Nagios itself has this ability. Thanks, Jesse ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ankit.mehrotra at tcs.com Tue Dec 5 05:11:07 2006 From: ankit.mehrotra at tcs.com (ankit.mehrotra at tcs.com) Date: Tue, 5 Dec 2006 09:41:07 +0530 Subject: regarding nagios plugin 1.4.5 Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Dec 5 06:12:50 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 5 Dec 2006 00:12:50 -0500 Subject: Limiting notification message size In-Reply-To: <7986CEFCE5C2954A88BEE2CAB6FAB3741BC326@SAUSEXMB2.amd.com> References: <7986CEFCE5C2954A88BEE2CAB6FAB3741BC326@SAUSEXMB2.amd.com> Message-ID: > I'd like to know if it's possible to send out two types of > notifications: 1) an abbreviated one that will always be > under 160 characters, which I would send only to mobile > devices, and 2) the standard notifications that I receive now > to my regular (non cell phone) e-mail address. I suppose it > may be possible to configure Postfix to truncate messages to > certain addresses. Before I go in that direction I thought > I'd run it by some other users to see if Nagios itself has > this ability. See the example configs. The only significant difference between the "notify-by-email" commands and the "notify-by-epgaer" ones are the formatting. You should be able to either tweak one of those to get shorter messages, or get an idea how to make your own. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jesse.Saletan at amd.com Tue Dec 5 07:10:05 2006 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Tue, 5 Dec 2006 00:10:05 -0600 Subject: Limiting notification message size References: Message-ID: <7986CEFCE5C2954A88BEE2CAB6FAB3741D8691@SAUSEXMB2.amd.com> Thanks, I didn't realize it would be that simple. I created some new notification commands (e.g., notify-by-sms160) that are very bare bones and they're working well. Jesse ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Morris, Patrick Sent: Mon 12/4/2006 11:12 PM To: Saletan, Jesse; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Limiting notification message size > I'd like to know if it's possible to send out two types of > notifications: 1) an abbreviated one that will always be > under 160 characters, which I would send only to mobile > devices, and 2) the standard notifications that I receive now > to my regular (non cell phone) e-mail address. I suppose it > may be possible to configure Postfix to truncate messages to > certain addresses. Before I go in that direction I thought > I'd run it by some other users to see if Nagios itself has > this ability. See the example configs. The only significant difference between the "notify-by-email" commands and the "notify-by-epgaer" ones are the formatting. You should be able to either tweak one of those to get shorter messages, or get an idea how to make your own. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Dec 5 10:01:24 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 05 Dec 2006 09:01:24 +0000 Subject: regarding nagios plugin 1.4.5 In-Reply-To: References: Message-ID: <45753564.2010504@mailnetwork.co.uk> Have you tried adding --with-mysql=/usr/local/mysql (or wherever your MySQL files sit) to the configure line? ankit.mehrotra at tcs.com wrote: > hi, > > i am tryin to install nagios plugin version 1.4.5 , but there is an error > message of not being able to find mysql.h header in one of the files > during makefile phase .......... > > do let me know of how to overcome this problem in its installation > > > > Ankit Arun Mehrotra > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments.. Thank you > > > > !DSPAM:37,4574f19540411091413142! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,4574f19540411091413142! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,4574f19540411091413142! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Tue Dec 5 13:41:24 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Tue, 5 Dec 2006 13:41:24 +0100 Subject: Advanced permissions/user properties In-Reply-To: <20061106084158.GA20985@eric.schwarzvogel.de> References: <12A6FDDD13C460408A6E47E5DB1235A244B432@UXCHANGE3.UoA.auckland.ac.nz> <454EB43E.8070500@users.sourceforge.net> <20061106084158.GA20985@eric.schwarzvogel.de> Message-ID: <20061205124124.GA15292@eric.schwarzvogel.de> Hi! On Mon, 06 Nov 2006, Tobias Klausmann wrote: > > For backwards compatibility, the default would be rwxn. > > > > So, the engineers would have: nrx, customer: nr and helpdesk r. > > > > Attached is an updated patch. > > I'll try to get a peek at it this week. Well, it took a little longer due to other things acting up elsewhere. As far as I can tell, it works perfectly - except... We use NagiosGrapher to turn the perfdata into nice little colorful thingies for the app developers. Unfortunately, NG seems to not work well with the patch: It thinks "foo:r" is the group of the same name, not the group "foo". This will probably be easy to fix in a generic way (i.e. drop everything after the last ":") and a little more complicated if the perms should be parsed (though I have no idea what perms would be needed for the graph: n or x only would prevent the user to see the host/service (and thus the extinfo link) in the first place. And preventing "r" users from seeing the graphs doesn't make much sense, IMO). Thus, I'll probably patch NG to just ignore the perms. I'll post the patch here (if it's not too ugly ;)) > Thanks, again (all of you). I can only re-iterate that. Regards, Tobias -- I love the smell of burning bridges ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Tue Dec 5 14:08:53 2006 From: jlongland at grintek.com (John Longland) Date: Tue, 5 Dec 2006 15:08:53 +0200 Subject: (no subject) Message-ID: <510595ECCFAEFC44941F5EDA4324F2750222E1C1@gtmail.grintel.com> Hi all !!! Wanting to get Nagvis going with my Nagios-system. I have installed it as they explain. When I hit it with my browser, it does display half the page but complains about a username that I have not supplied. And yet, it never asks me for one. Has someone else hit this snag ??? Thanks !! John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 5 14:27:25 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 5 Dec 2006 14:27:25 +0100 (CET) Subject: (no subject) In-Reply-To: <510595ECCFAEFC44941F5EDA4324F2750222E1C1@gtmail.grintel.com> References: <510595ECCFAEFC44941F5EDA4324F2750222E1C1@gtmail.grintel.com> Message-ID: On Tue, 5 Dec 2006, John Longland wrote: > Wanting to get Nagvis going with my Nagios-system. > > I have installed it as they explain. When I hit it with my browser, > it does display half the page but complains about a username that > I have not supplied. And yet, it never asks me for one. Sounds like you need to fix your apache config to do the authentication properly as described in step 0. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 14:57:00 2006 From: marc at ena.com (Marc Powell) Date: Tue, 5 Dec 2006 07:57:00 -0600 Subject: Using $ARGn$ in notify command Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tim Daley > Sent: Monday, December 04, 2006 4:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Using $ARGn$ in notify command > > I'm attempting to use $ARG1$ in a notify command: > > > define service{ > use GCX-website > host_name staff2.ccci.org > service_description LOGIN-officedepot > check_command > check_web_login_officedepot!https://staff2.ccci.org/ss/officedepotlogin! > XXXXX!XXXXX > } > > define command{ > command_name check_web_login_officedepot > command_line $USER1$/check_website -N -s > $USER10$/check_web_login_officedepot.scr -D HOST=$HOSTNAME$ -D > URL=$ARG1$ -D USERNAME=$ARG2$ -D PASSWORD=$ARG3$ > } > > define command{ > command_name notify-by-email-test command_line > /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\\nDUMP:\n\ > \nADMINEMAIL: $ADMINEMAIL$ \nADMINPAGER: $ADMINPAGER$ \nARG1: $ARG1$ > \nARG2: $ARG2$ \nARG3: $ARG3$ \nARG4: $ARG4$ \nARG5: $ARG5$ \nARG6: > $ARG6$ \nARG7: $ARG7$ \nARG8: $ARG8$ \nARG9: $ARG9$ \nARG10: $ARG10$ > \nUSER1: $USER1$ \nUSER2: $USER2$ \nUSER3: $USER3$ \nUSER4: $USER4$ > \nUSER5: $USER5$ \nUSER6: $USER6$ \nUSER7: $USER7$ \nUSER8: $USER8$ > \nUSER9: $USER9$ \nUSER10: $USER10$ " | /bin/mail -s > "$HOSTALIAS$/$SERVICEDESC$ $NOTIFICAT > IONTYPE$ state is $SERVICESTATE$ **" $CONTACTEMAIL$ > } [snip] > It looks like the USERn macros are getting through but the ARGn macros > aren't. What am I doing wrong? I expect it's an invalid assumption. The notification command really has no relationship with service check_command in this regard. $USERn$ macros are global and static, $ARGn$ macros are variable and highly specific to the command being called. I would expect that for every command executed that the $ARGn$ macros are reset to prevent accidental intermingling of values. They're set specifically for the service check to the ones you pass in the check_command for the service and reset again to nothing when the notification command is called since you (likely) don't use any in your contact's service_notification_commands. Another way to look at it by example -- define contact{ contact_name marc ... service_notification_commands notify-by-email-test!foo!bar } In the case above I would expect for the notification that $ARG1$ is foo and $ARG2$ is bar. I wouldn't want those replaced by the values in the service check_command. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 15:00:34 2006 From: marc at ena.com (Marc Powell) Date: Tue, 5 Dec 2006 08:00:34 -0600 Subject: regarding nagios plugin 1.4.5 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of ankit.mehrotra at tcs.com > Sent: Monday, December 04, 2006 10:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] regarding nagios plugin 1.4.5 > > > > hi, > > i am tryin to install nagios plugin version 1.4.5 , but there is an error > message of not being able to find mysql.h header in one of the files > during makefile phase .......... > > do let me know of how to overcome this problem in its installation Sounds like you either need to install the mysql development libraries or tell Nagios where they live (./configure --help in the Nagios build directory). -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjsanz4job at hotmail.com Tue Dec 5 15:03:24 2006 From: cjsanz4job at hotmail.com (Carlos Sánchez) Date: Tue, 05 Dec 2006 09:03:24 -0500 Subject: (no subject) In-Reply-To: <510595ECCFAEFC44941F5EDA4324F2750222E1C1@gtmail.grintel.com> References: <510595ECCFAEFC44941F5EDA4324F2750222E1C1@gtmail.grintel.com> Message-ID: Hi When you install nagios you created a nagios.conf file and you put this file on apache directory, this file has a line : AuthUserFile /nagios/etc/htpasswd.users this line specifics when your users are saved You must create a user with that command "htpasswd ?c /nagios/etc/htpasswd.users nagiosuser" and this command ask you for a password >From: John Longland >To: "'nagios-users at lists.sourceforge.net'" > >Subject: [Nagios-users] (no subject) >Date: Tue, 5 Dec 2006 15:08:53 +0200 > >Hi all !!! > >Wanting to get Nagvis going with my Nagios-system. > >I have installed it as they explain. When I hit it with my browser, >it does display half the page but complains about a username that >I have not supplied. And yet, it never asks me for one. > >Has someone else hit this snag ??? > >Thanks !! >John >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Stay up-to-date with your friends through the Windows Live Spaces friends list. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tim.Daley at ccci.org Tue Dec 5 15:07:41 2006 From: Tim.Daley at ccci.org (Tim Daley) Date: Tue, 5 Dec 2006 09:07:41 -0500 Subject: Using $ARGn$ in notify command In-Reply-To: References: Message-ID: That syntax is not obvious from http://monitor.mygcx.org/nagios/docs/xodtemplate.html#contact where it says: service_notification_commands: This directive is used to define a list of the short names of the commands used to notify the contact of a service problem or recovery. Multiple notification commands should be separated by commas. All notification commands are executed when the contact needs to be notified. The maximum amount of time that a notification command can run is controlled by the notification_timeout option. This says it's a list of the "short names of the commands". However, I find the behavior reasonable given the syntax you employ. Tim Daley Campus Crusade for Christ 100 Lake Hart Dr. MC 2900 Orlando, Fl 32832-0100 (407)826-2911 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, December 05, 2006 8:57 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Using $ARGn$ in notify command > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tim Daley > Sent: Monday, December 04, 2006 4:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Using $ARGn$ in notify command > > I'm attempting to use $ARG1$ in a notify command: > > > define service{ > use GCX-website > host_name staff2.ccci.org > service_description LOGIN-officedepot > check_command > check_web_login_officedepot!https://staff2.ccci.org/ss/officedepotlogin! > XXXXX!XXXXX > } > > define command{ > command_name check_web_login_officedepot > command_line $USER1$/check_website -N -s > $USER10$/check_web_login_officedepot.scr -D HOST=$HOSTNAME$ -D > URL=$ARG1$ -D USERNAME=$ARG2$ -D PASSWORD=$ARG3$ > } > > define command{ > command_name notify-by-email-test command_line > /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\\nDUMP:\n\ > \nADMINEMAIL: $ADMINEMAIL$ \nADMINPAGER: $ADMINPAGER$ \nARG1: $ARG1$ > \nARG2: $ARG2$ \nARG3: $ARG3$ \nARG4: $ARG4$ \nARG5: $ARG5$ \nARG6: > $ARG6$ \nARG7: $ARG7$ \nARG8: $ARG8$ \nARG9: $ARG9$ \nARG10: $ARG10$ > \nUSER1: $USER1$ \nUSER2: $USER2$ \nUSER3: $USER3$ \nUSER4: $USER4$ > \nUSER5: $USER5$ \nUSER6: $USER6$ \nUSER7: $USER7$ \nUSER8: $USER8$ > \nUSER9: $USER9$ \nUSER10: $USER10$ " | /bin/mail -s > "$HOSTALIAS$/$SERVICEDESC$ $NOTIFICAT IONTYPE$ state is $SERVICESTATE$ > **" $CONTACTEMAIL$ > } [snip] > It looks like the USERn macros are getting through but the ARGn macros > aren't. What am I doing wrong? I expect it's an invalid assumption. The notification command really has no relationship with service check_command in this regard. $USERn$ macros are global and static, $ARGn$ macros are variable and highly specific to the command being called. I would expect that for every command executed that the $ARGn$ macros are reset to prevent accidental intermingling of values. They're set specifically for the service check to the ones you pass in the check_command for the service and reset again to nothing when the notification command is called since you (likely) don't use any in your contact's service_notification_commands. Another way to look at it by example -- define contact{ contact_name marc ... service_notification_commands notify-by-email-test!foo!bar } In the case above I would expect for the notification that $ARG1$ is foo and $ARG2$ is bar. I wouldn't want those replaced by the values in the service check_command. -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 16:55:10 2006 From: Ajay.MV at UCB-Group.com (M V Ajay (vMoksha)) Date: Tue, 5 Dec 2006 16:55:10 +0100 Subject: Problem: Perfmon counter gives wrong results while using check_nt Message-ID: <733EA655AAFBE94B855B5C15FD81B6F30D1A64@braexc102.dir.ucb-group.com> Dear All: I am having problem in monitoring a particular windows perfmon counter. All other counter gives proper results. I am using check_nt (check_nt (nagios-plugins 1.4.3) 1.39) with Nagios Agent running on WIndows NT 4.0, Exchange 5.5 Below is the Microsoft Exchange counter: Object: MSExchangeMTA Connections Counter: Queue Length Instance: (INTERNET MAIL CONNECTOR (MAILHOST001)) When I run the plugin command mannualy I get, ./check_nt -s nagiosagentpassword -H mailhost001 -v COUNTER -l "\MSExchangeMTA Connections(INTERNET MAIL CONNECTOR (MAILHOST001))\Queue Length" 0.000000 and output is always 0. But if I use windows perfmon, I get the proper results. Any idea why this is not working? Regards, 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: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.digiambelardini at fabaris.it Tue Dec 5 16:30:16 2006 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Tue, 5 Dec 2006 16:30:16 +0100 (CET) Subject: status map dispositions Message-ID: <52933.192.168.1.1.1165332616.squirrel@webmail2.fabaris.it> Hi this is my fist time in this mailing list. i write from italy so excuse my english. I have a problem with nagios, i configured for each host a "parents" for branch the network. But in my status map i have a great confusion. the hosts are put it by alphabetic name, and not in the way i order them. I tried different layout method, ma nothing to do. some body can help me? i send you the sceen shot -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios_map.doc Type: application/msword Size: 126464 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Dec 5 17:02:00 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 5 Dec 2006 11:02:00 -0500 Subject: status map dispositions In-Reply-To: <52933.192.168.1.1.1165332616.squirrel@webmail2.fabaris.it> References: <52933.192.168.1.1.1165332616.squirrel@webmail2.fabaris.it> Message-ID: > Hi this is my fist time in this mailing list. > i write from italy so excuse my english. > I have a problem with nagios, i configured for each host a > "parents" for branch the network. > But in my status map i have a great confusion. the hosts are > put it by alphabetic name, and not in the way i order them. > I tried different layout method, ma nothing to do. > some body can help me? > i send you the sceen shot That status map looks normal for a collapsed tree, and appear to have vorrect parent/child relationships set up. If none of the available layout methods give you a map you like, you may need to use manual cordinates. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Dec 5 18:03:10 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 5 Dec 2006 12:03:10 -0500 Subject: Transfer RRD Database from one machine to another Message-ID: <9C63A4713C4E3342B90428CE44806A7302679A6D@PHSXMB5.partners.org> Hi there - I am in the process of creating a replacement system for our current Nagios server. Included in our configuration is apan 2.1 running with the rrd database. I would like to transfer the database over to the new server in order to allow for apan to continue to work properly. Is there a way for me to do so? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Tue Dec 5 22:00:45 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Tue, 05 Dec 2006 22:00:45 +0100 Subject: Snmp - How do you use yours? In-Reply-To: References: Message-ID: <4575DDFD.30103@vum.at> Otto, Axel schrieb: > Ich w?rde die Doku nehmen auch wenn sie in Deutsch ist :) Hi Otto, hi all it is here: http://www.nagiosexchange.org/SNMP.51.0.html?&tx_netnagext_pi1[p_view]=810 Unfortunately German only at least for now. Did not have the time to translate it. Hth Ingo. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Tue Dec 5 22:08:31 2006 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 5 Dec 2006 23:08:31 +0200 Subject: Transfer RRD Database from one machine to another In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679A6D@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679A6D@PHSXMB5.partners.org> Message-ID: <88ad29240612051308td1ed464m9a2e166f38d00ad2@mail.gmail.com> Hello I would recommend using rsync or similar tool to keep your directories up to date. -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Dec 5 22:46:37 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 5 Dec 2006 16:46:37 -0500 Subject: Transfer RRD Database from one machine to another In-Reply-To: <88ad29240612051308td1ed464m9a2e166f38d00ad2@mail.gmail.com> References: <88ad29240612051308td1ed464m9a2e166f38d00ad2@mail.gmail.com> Message-ID: <9C63A4713C4E3342B90428CE44806A7302679A6F@PHSXMB5.partners.org> What directory/ies are the rrd database files located? ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of moshe sharon Sent: Tuesday, December 05, 2006 4:09 PM To: Nagios Users Mailing List Subject: Re: [Nagios-users] Transfer RRD Database from one machine to another Hello I would recommend using rsync or similar tool to keep your directories up to date. -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Dec 5 22:56:36 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 5 Dec 2006 16:56:36 -0500 Subject: Nagios Configuration Problem Message-ID: <9C63A4713C4E3342B90428CE44806A7302679A70@PHSXMB5.partners.org> Hi there - I am going through the motions of checking the configuration settings on our Nagios 2.5 server, and when I ran the nagios -v ../nagios.cfg command, I got the following error message: Reading configuration data... Error: Invalid hostgroup object directive 'contact_groups'. Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 33. Could someone explain to me what this error is, and how I can fix it? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 5 23:27:06 2006 From: marc at ena.com (Marc Powell) Date: Tue, 5 Dec 2006 16:27:06 -0600 Subject: Transfer RRD Database from one machine to another Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. > Sent: Tuesday, December 05, 2006 3:47 PM > To: moshe sharon; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Transfer RRD Database from one machine to > another > > > > What directory/ies are the rrd database files located? > The APAN docs and/or config probably specify it. You can also use the command 'locate rrd' and look at it results. A little bit of self research goes a long way. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 23:34:14 2006 From: marc at ena.com (Marc Powell) Date: Tue, 5 Dec 2006 16:34:14 -0600 Subject: Nagios Configuration Problem Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. > Sent: Tuesday, December 05, 2006 3:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Configuration Problem > > Hi there - > > > > I am going through the motions of checking the configuration settings on > our Nagios 2.5 server, and when I ran the > > nagios -v ../nagios.cfg command, I got the following error message: > > > > Reading configuration data... > > > > Error: Invalid hostgroup object directive 'contact_groups'. > > Error: Could not add object property in file > '/usr/local/nagios/etc/hostgroups.cfg' on line 33. > > > > Could someone explain to me what this error is, and how I can fix it? contact_groups isn't a valid directive in a 2.x hostgroup definition. These are -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup If you are upgrading from 1.x, the CHANGELOG at http://nagios.sourceforge.net/docs/2_0/whatsnew.html details this change and others. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Wed Dec 6 06:03:27 2006 From: cyruspy at gmail.com (Ciro Iriarte) Date: Wed, 6 Dec 2006 02:03:27 -0300 Subject: ePN error Message-ID: Hi, i'm running nagios 2.5 with various perl scripts, just added check_snmp_int.pl (http://www.manubulon.com/nagios/snmp_int.html) to the mix, but i'm getting some ePN error when it gives CRITICAL status (it could be a coincidence) Output: Serial2:DOWN: 1 int NOK : CRITICAL**ePN /usr/lib/nagios/plugins/check_snmp_int.pl: "Use of uninitialized value in join or string at /usr/sbin/p1.pl line 72,". According to the output, it's the TIEHANDLE sub 70: sub TIEHANDLE { 71: my ($class) = @_; 72: my $me = ''; 73: bless \$me, $class; 74:} Is this a problem with ePN (what i think, because of the output) or with the script? Thanks in advanced Ciro ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor at ambra.ro Wed Dec 6 07:55:48 2006 From: victor at ambra.ro (Sterpu Victor) Date: Wed, 06 Dec 2006 08:55:48 +0200 Subject: nagios passive checks too slow Message-ID: <45766974.4090009@ambra.ro> Nagios receives the external check in his log, but the web interface is updated with 10-30 seconds delay. The web interface is refreshing at 1 second period(refresh_rate=1). The passive check are verified at 1 second period(command_check_interval=1s). I must update the interface in max 5 seconds. I made a test with 1 host and 1 service and the same delay appeared. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Wed Dec 6 08:03:16 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 6 Dec 2006 08:03:16 +0100 Subject: nagios passive checks too slow In-Reply-To: <45766974.4090009@ambra.ro> References: <45766974.4090009@ambra.ro> Message-ID: <200612060803.16730.pitchfork@ederdrom.de> Am Mittwoch, 6. Dezember 2006 07:55 schrieb Sterpu Victor: > Nagios receives the external check in his log, but the web interface is > updated with 10-30 seconds delay. > The web interface is refreshing at 1 second period(refresh_rate=1). > The passive check are verified at 1 second > period(command_check_interval=1s). > I must update the interface in max 5 seconds. Please have a look on http://nagios.sourceforge.net/docs/2_0/configmain.html#status_update Set status_update_interval to 5 or disable aggregate_status_updates J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Wed Dec 6 09:18:41 2006 From: jlongland at grintek.com (John Longland) Date: Wed, 6 Dec 2006 10:18:41 +0200 Subject: (no subject) Message-ID: <510595ECCFAEFC44941F5EDA4324F2750222E1C4@gtmail.grintel.com> Yip !! .htaccess was in the wrong DIR !! ( John hits himself on the head with a wet fish !! ) Thanks John -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net]On Behalf Of Hugo van der Kooij Sent: 05 December 2006 15:27 To: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] (no subject) On Tue, 5 Dec 2006, John Longland wrote: > Wanting to get Nagvis going with my Nagios-system. > > I have installed it as they explain. When I hit it with my browser, > it does display half the page but complains about a username that > I have not supplied. And yet, it never asks me for one. Sounds like you need to fix your apache config to do the authentication properly as described in step 0. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Dec 6 10:20:24 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 06 Dec 2006 09:20:24 +0000 Subject: Nagios not running every midnight Message-ID: <45768B58.9040105@googlemail.com> Hi all, I've got a weird thing that I've noticed. I have an external script to use the check_nagios plugin to make sure nagios itself is running. I have this cronned to run every 10 minutes and if nagios is found to not be running then I get an email warning me of this. The problem I'm having is that every single night at midnight exactly I always get an email saying that nagios is not running, the explanation being the output of the plugin as follows: NAGIOS CRITICAL: Cannot parse Nagios log file for valid time This is followed by several Recovery Alert emails for a handful of the 112 services I currently monitor reporting that the service is ok. This is strange because I never received any Alert emails that the services were down. I suspect there is nothing wrong with the services at all but this is a nagios quirk or some bug in my configuration or the way I am doing things. This occurs every single night. I am running nagios 2.5 with nagios-plugins 1.4.3. Any ideas what I can do about this? -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.digiambelardini at fabaris.it Wed Dec 6 10:36:48 2006 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Wed, 6 Dec 2006 10:36:48 +0100 (CET) Subject: User-supplied coords Message-ID: <38064.192.168.1.1.1165397808.squirrel@webmail2.fabaris.it> Hi to all, what I must do for configure the status map layout "User-supplied coords"? some body can help me?? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vajc at altectelecoms.gr Wed Dec 6 12:30:03 2006 From: vajc at altectelecoms.gr (Varaillon Jean Cristophe) Date: Wed, 6 Dec 2006 13:30:03 +0200 Subject: Sending traps from Nagios - Macros Message-ID: <9DB9DF2949D8774796CB054FBEC156990398751D@Tyran.int.acn.gr> HI, Using event handlers, Nagios sends SNMP traps to another NMS. The problem is that the macros remain empty. Using that command from Nagios snmp_trapsend -h 172.31.10.15 -c sphynx -e 1.3.6.1.4.1.20006 -s 2 -a "1.3.6.1.4.1.20006.2 STRING (** $SERVICEDESC$ $SERVICESTATE$ **)" Produces that output in my NMS: Nagios Server alarm - [1] private.enterprises.nagios.2 (OctetString): **$ $ ** Although the Macro Availability Chart shows that $SERVICEDESC$ and $SERVICESTATE$ are available with event handlers. Any idea? Christophe Disclaimer The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Dec 6 15:04:03 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 6 Dec 2006 09:04:03 -0500 Subject: Importing Configuration Information from Nagios 1.x files to Nagios 2.x file Message-ID: <9C63A4713C4E3342B90428CE44806A7302679A71@PHSXMB5.partners.org> Hi there - Is there a tool that I can used that can help facilitate importing the configuration data from Nagios 1.x files into Nagios 2.x files/format? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Dec 6 15:18:48 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 6 Dec 2006 09:18:48 -0500 (EST) Subject: nagios passive checks too slow In-Reply-To: <45766974.4090009@ambra.ro> References: <45766974.4090009@ambra.ro> Message-ID: On Wed, 6 Dec 2006, Sterpu Victor wrote: > Nagios receives the external check in his log, but the web interface is > updated with 10-30 seconds delay. > The web interface is refreshing at 1 second period(refresh_rate=1). > The passive check are verified at 1 second period(command_check_interval=1s). > I must update the interface in max 5 seconds. > > I made a test with 1 host and 1 service and the same delay appeared. > > Thank you. > > Nagios is not designed for almost real-time updates. - there are caches in the filesystem, webserver, browser that will affect this. -- -sg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 6 15:21:56 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 6 Dec 2006 09:21:56 -0500 (EST) Subject: Nagios not running every midnight In-Reply-To: <45768B58.9040105@googlemail.com> References: <45768B58.9040105@googlemail.com> Message-ID: On Wed, 6 Dec 2006, Hari Sekhon wrote: > Hi all, > > I've got a weird thing that I've noticed. I have an external script to > use the check_nagios plugin to make sure nagios itself is running. I > have this cronned to run every 10 minutes and if nagios is found to not > be running then I get an email warning me of this. > > The problem I'm having is that every single night at midnight exactly I > always get an email saying that nagios is not running, the explanation > being the output of the plugin as follows: > > NAGIOS CRITICAL: Cannot parse Nagios log file for valid time > Are you rotating the log files every day? have you tried to run the cron job on an offset? > > > This is followed by several Recovery Alert emails for a handful of the > 112 services I currently monitor reporting that the service is ok. This > is strange because I never received any Alert emails that the services > were down. I suspect there is nothing wrong with the services at all but > this is a nagios quirk or some bug in my configuration or the way I am > doing things. > > This occurs every single night. I am running nagios 2.5 with > nagios-plugins 1.4.3. > > Any ideas what I can do about this? > > -h > > -- -sg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 6 15:29:15 2006 From: marc at ena.com (Marc Powell) Date: Wed, 6 Dec 2006 08:29:15 -0600 Subject: User-supplied coords Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Di Giambelardini Gabriele > Sent: Wednesday, December 06, 2006 3:37 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] User-supplied coords > > > Hi to all, > what I must do for configure the status map layout "User-supplied coords"? > some body can help me?? I don't use the status map but I expect that you'll need to specify them with a hostextinfo definition -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo I believe there are tools on http://nagiosexchange.org that can help you draw maps. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 6 15:35:50 2006 From: marc at ena.com (Marc Powell) Date: Wed, 6 Dec 2006 08:35:50 -0600 Subject: Sending traps from Nagios - Macros Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Varaillon Jean Cristophe > Sent: Wednesday, December 06, 2006 5:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Sending traps from Nagios - Macros > > HI, > > Using event handlers, Nagios sends SNMP traps to another NMS. > > The problem is that the macros remain empty. > > Using that command from Nagios > snmp_trapsend -h 172.31.10.15 -c sphynx -e 1.3.6.1.4.1.20006 -s 2 -a > "1.3.6.1.4.1.20006.2 STRING (** $SERVICEDESC$ $SERVICESTATE$ **)" > > Produces that output in my NMS: > Nagios Server alarm - [1] private.enterprises.nagios.2 (OctetString): > **$ $ ** > Although the Macro Availability Chart shows that $SERVICEDESC$ and > $SERVICESTATE$ are available with event handlers. > > Any idea? If that is the full command_line for your command{} definition, that looks correct. Please post the full command definition. I use $SERVICESTATE$ successfully in my event handlers. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Dec 6 15:34:29 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 6 Dec 2006 09:34:29 -0500 Subject: FW: Importing Configuration Information from Nagios 1.x files to Nagios 2.x file Message-ID: <9C63A4713C4E3342B90428CE44806A7302679A73@PHSXMB5.partners.org> We were having problems with our e-mail. If this got reposted, my apologies. -----Original Message----- From: Kaplan, Andrew H. Sent: Wednesday, December 06, 2006 9:04 AM To: nagios-users at lists.sourceforge.net Subject: Importing Configuration Information from Nagios 1.x files to Nagios 2.x file Hi there - Is there a tool that I can used that can help facilitate importing the configuration data from Nagios 1.x files into Nagios 2.x files/format? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Dec 6 15:38:07 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 06 Dec 2006 14:38:07 +0000 Subject: Nagios not running every midnight In-Reply-To: References: <45768B58.9040105@googlemail.com> Message-ID: <4576D5CF.2030903@googlemail.com> I thought about this, I will try to run it at 2 minutes past or something and see how it goes... -h Hari Sekhon Subhendu Ghosh wrote: > On Wed, 6 Dec 2006, Hari Sekhon wrote: > > >> Hi all, >> >> I've got a weird thing that I've noticed. I have an external script to >> use the check_nagios plugin to make sure nagios itself is running. I >> have this cronned to run every 10 minutes and if nagios is found to not >> be running then I get an email warning me of this. >> >> The problem I'm having is that every single night at midnight exactly I >> always get an email saying that nagios is not running, the explanation >> being the output of the plugin as follows: >> >> NAGIOS CRITICAL: Cannot parse Nagios log file for valid time >> >> > > Are you rotating the log files every day? have you tried to run the cron > job on an offset? > > >> This is followed by several Recovery Alert emails for a handful of the >> 112 services I currently monitor reporting that the service is ok. This >> is strange because I never received any Alert emails that the services >> were down. I suspect there is nothing wrong with the services at all but >> this is a nagios quirk or some bug in my configuration or the way I am >> doing things. >> >> This occurs every single night. I am running nagios 2.5 with >> nagios-plugins 1.4.3. >> >> Any ideas what I can do about this? >> >> -h >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sloane at ku.edu Wed Dec 6 16:04:14 2006 From: sloane at ku.edu (Sloane, Robert Raymond) Date: Wed, 6 Dec 2006 09:04:14 -0600 Subject: Nagios not running every midnight In-Reply-To: <45768B58.9040105@googlemail.com> References: <45768B58.9040105@googlemail.com> Message-ID: <9632C3DAB675864EB0A9B7724D85DB7905A8B5D2@MAILBOXSEVEN.home.ku.edu> It sounds like your script is running at exactly the time that Nagios rotates the log files. You might try running it every 10 minutes starting at 5 minutes past the hour and see if that helps. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Hari Sekhon > Sent: Wednesday, December 06, 2006 3:20 AM > To: Nagios Users mailinglist > Subject: [Nagios-users] Nagios not running every midnight > > > Hi all, > > I've got a weird thing that I've noticed. I have an external > script to > use the check_nagios plugin to make sure nagios itself is running. I > have this cronned to run every 10 minutes and if nagios is > found to not > be running then I get an email warning me of this. > > The problem I'm having is that every single night at midnight > exactly I > always get an email saying that nagios is not running, the > explanation > being the output of the plugin as follows: > > NAGIOS CRITICAL: Cannot parse Nagios log file for valid time > > > > This is followed by several Recovery Alert emails for a > handful of the > 112 services I currently monitor reporting that the service > is ok. This > is strange because I never received any Alert emails that the > services > were down. I suspect there is nothing wrong with the services > at all but > this is a nagios quirk or some bug in my configuration or the > way I am > doing things. > > This occurs every single night. I am running nagios 2.5 with > nagios-plugins 1.4.3. > > Any ideas what I can do about this? > > -h > > -- > Hari Sekhon > > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your opinions on IT & business topics through > brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 6 17:10:30 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 06 Dec 2006 14:10:30 -0200 Subject: Nagios not running every midnight In-Reply-To: <45768B58.9040105@googlemail.com> References: <45768B58.9040105@googlemail.com> Message-ID: <1165421430.10597.1.camel@localhost> On Wed, 2006-12-06 at 09:20 +0000, Hari Sekhon wrote: > Hi all, > > I've got a weird thing that I've noticed. I have an external script to > use the check_nagios plugin to make sure nagios itself is running. I > have this cronned to run every 10 minutes and if nagios is found to not > be running then I get an email warning me of this. > > The problem I'm having is that every single night at midnight exactly I > always get an email saying that nagios is not running, the explanation > being the output of the plugin as follows: > > NAGIOS CRITICAL: Cannot parse Nagios log file for valid time Daily log rotation. check_nagios --help to see what it is doing to check the activity of running nagios process. > > > > This is followed by several Recovery Alert emails for a handful of the > 112 services I currently monitor reporting that the service is ok. This > is strange because I never received any Alert emails that the services > were down. I suspect there is nothing wrong with the services at all but > this is a nagios quirk or some bug in my configuration or the way I am > doing things. Probably you have service dependencies to check only if the nagios process is running? > > This occurs every single night. I am running nagios 2.5 with > nagios-plugins 1.4.3. > > Any ideas what I can do about this? > > -h 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/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Wed Dec 6 21:37:50 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 6 Dec 2006 15:37:50 -0500 Subject: Problem: Perfmon counter gives wrong results while using check_nt In-Reply-To: <733EA655AAFBE94B855B5C15FD81B6F30D1A64@braexc102.dir.ucb-group.com> References: <733EA655AAFBE94B855B5C15FD81B6F30D1A64@braexc102.dir.ucb-group.com> Message-ID: Hi, If your windows agent is NC_NEt, I know the reason why, It has to do with delay between taking samples of the performance counter object before reporting it to back to check_nt To elaborate, most Performance monitor objects in windows takes a sample every one second then return the caalculated results to Performance monitor for graphing. NC_NEt does not wait a full second for this to happen, and in the current inplementation it is actually too quick between samples and thus gives a result of 0. I have experimented with different delay times (in Miliseconds) and found a good speed/accuraccy compromise that I will implement as adjustable variable in the configuration of the next release of NC_NEt. Note: NC_NEt would report a -1 if the it could not locate the counter because of an error or spelling. but a 0 means really 0 or the above mentioned bug. Just to defend NC_NEt. in the past, this bug slipped through due to the Performance counter documentation of Dot NEt specifying just to call the get sample function again, and the documentation failed to mention any standards as to a minimum delay between requests. Also most of NC_NEt testing in the past has been done offline of Nagios. I am about to install nagios for testing, and hopefully would have that running by the time I get the updates into NC_Net. As a workaround you may be able to retrieve the value you need through WMI or by creating a custom performance counter that is of a different type but gets its value from the one that is mis-informing NC_NEt. NC_NEt is availible at sourceforge: http://sourceforge.net/projects/nc-net If it was a different Windows Client then I do not know the source of the reason but next generation of NC_Net should work more efficiently. Thank you TOny (Author of NC_NEt) On 12/5/06, M V Ajay (vMoksha) wrote: > > Dear All: > > I am having problem in monitoring a particular windows perfmon counter. > All other counter gives proper results. I am using check_nt (check_nt > (nagios-plugins 1.4.3) 1.39) with Nagios Agent running on WIndows NT 4.0, > Exchange 5.5 > > Below is the Microsoft Exchange counter: > Object: MSExchangeMTA Connections > Counter: Queue Length > Instance: (INTERNET MAIL CONNECTOR (MAILHOST001)) > > When I run the plugin command mannualy I get, > > ./check_nt -s nagiosagentpassword -H mailhost001 -v COUNTER -l > "\MSExchangeMTA Connections(INTERNET MAIL CONNECTOR (MAILHOST001))\Queue > Length" > > 0.000000 > > and output is always 0. > But if I use windows perfmon, I get the proper results. > > Any idea why this is not working? > > Regards, > 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. > > --------------------------------------------------------- > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niederha at us.ibm.com Thu Dec 7 00:13:18 2006 From: niederha at us.ibm.com (Kyle Niederhauser) Date: Wed, 6 Dec 2006 16:13:18 -0700 Subject: Kyle Niederhauser is out of the office. Message-ID: I will be out of the office starting 12/06/2006 and will not return until 12/07/2006. I will be out of the office until December 9th If you need assistance, please call the BP Operations Center at 1-877-471-6079 and ask for BP UNIX support. Clarify queue. IBM: UNIX HOSTS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Thu Dec 7 03:12:35 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 7 Dec 2006 13:12:35 +1100 Subject: Importing Configuration Information from Nagios 1.xfiles to Nagios 2.x file Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01A67497@mail01.ccia.local> http://fruity.sourceforge.net/ "Supports Importing Nagios 2.x and 1.x Configurations" I had problems, but I may have set it up wrong. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. Sent: Thursday, 7 December 2006 1:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Importing Configuration Information from Nagios 1.xfiles to Nagios 2.x file Hi there - Is there a tool that I can used that can help facilitate importing the configuration data from Nagios 1.x files into Nagios 2.x files/format? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Thu Dec 7 09:30:58 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Thu, 07 Dec 2006 09:30:58 +0100 Subject: nagios passive checks too slow In-Reply-To: <45766974.4090009@ambra.ro> References: <45766974.4090009@ambra.ro> Message-ID: <4577D142.70506@vum.at> Sterpu Victor schrieb: > Nagios receives the external check in his log, but the web interface is > updated with 10-30 seconds delay. > The web interface is refreshing at 1 second period(refresh_rate=1). > The passive check are verified at 1 second > period(command_check_interval=1s). > I must update the interface in max 5 seconds. What is your command_check_interval set to? Try it with -1, does that change the situation? Regards, Ingo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vajc at altectelecoms.gr Thu Dec 7 09:28:42 2006 From: vajc at altectelecoms.gr (Varaillon Jean Cristophe) Date: Thu, 7 Dec 2006 10:28:42 +0200 Subject: Sending traps from Nagios - Macros Message-ID: <9DB9DF2949D8774796CB054FBEC1569903987624@Tyran.int.acn.gr> Hi, Thanks for your reply! Since the command line seems to be fine, I will past all what I've done concering that event_handler including my latest un-successful test: >From service.cfg: ------------------------------------------------------------------------ -------------- define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 0 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled event_handler server-send-trap flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts contact_groups admins register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service{ use generic-service ; Name of service template to use host_name localhost,router1,router2 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 notification_options w,u,c,r notification_interval 1 notification_period 24x7 check_command check_ping!0.0,0%!0.0,0% } ------------------------------------------------------------------------ -------------- >From service.cfg: ------------------------------------------------------------------------ -------------- # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } ------------------------------------------------------------------------ -------------- >From resource.cfg: ------------------------------------------------------------------------ -------------- # Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec ------------------------------------------------------------------------ -------------- >From misccommands.cfg: ------------------------------------------------------------------------ -------------- # 'server-send-trap' event handler definition define command{ command_name server-send-trap command_line /usr/local/nagios/etc/eventhandlers/server-send-trap $SERVICEDESC$ $SERVICESTATE$ } ------------------------------------------------------------------------ -------------- Test1: From /usr/local/nagios/etc/eventhandlers/server-send-trap ------------------------------------------------------------------------ -------------- #!/bin/sh snmp_trapsend -h 172.31.10.15 -c sphynx -e 1.3.6.1.4.1.20006 -s 2 -a "1.3.6.1.4.1.20006.2 STRING (** $arg1 $arg2 **)" exit 0 ------------------------------------------------------------------------ -------------- Test1: From /usr/local/nagios/etc/eventhandlers/server-send-trap ------------------------------------------------------------------------ -------------- #!/bin/sh arg1=$SERVICEDESC arg2=$SERVICESTATE /usr/bin/printf "%b" "$arg1 $arg2" | snmp_trapsend -h 172.31.10.15 -c sphynx -e 1.3.6.1.4.1.20006 -s 2 -a "1.3.6.1.4.1.20006.2 STRING (** $arg1 $arg2 **)" exit 0 ------------------------------------------------------------------------ -------------- Test2: From /usr/local/nagios/etc/eventhandlers/server-send-trap ------------------------------------------------------------------------ -------------- #!/bin/sh snmp_trapsend -h 172.31.10.15 -c sphynx -e 1.3.6.1.4.1.20006 -s 2 -a "1.3.6.1.4.1.20006.2 STRING (** $SERVICEDESC$ $SERVICESTATE$ **)" exit 0 ------------------------------------------------------------------------ -------------- Output from Test1 appearing in my second NMS: ---------------- Nagios Server Alarm - [1] private.enterprises.nagios.2 (OctetString): ** ** ---------------- Output from Test2 appearing in my second NMS: ---------------- Nagios Server Alarm - [1] private.enterprises.nagios.2 (OctetString): ** $ $ ** ---------------- Thanks!!! Christophe Disclaimer The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Thu Dec 7 10:48:03 2006 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Thu, 07 Dec 2006 10:48:03 +0100 Subject: filtering by contact_groups Message-ID: <4577E353.9030605@sertec-si.com> Hi! i'm trying to filter all hosts and services that appear in my Service Detail, Service Problems, etc. using currently defined contact groups. (ej. contact group admin_unix only can see unix machines and services, contact group admin_nt only can see win machines & services, etc.). I assumed that this can be done using contact groups in every hostgroup, but it only works when i try to see individual info on a host where an user hasn't got permissions (ej. admin_unix can see all hosts in service detail list, but when it tries to see an individual switch info, it returns typical message It appears as though you do not have permission to view information for this host...). Can u help me, plz? Thanks in advance. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Dec 7 11:01:31 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 07 Dec 2006 10:01:31 +0000 Subject: Nagios not running every midnight In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB7905A8B5D2@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB7905A8B5D2@MAILBOXSEVEN.home.ku.edu> Message-ID: <4577E67B.5040607@googlemail.com> dang, I changed the thing to run at 2 minutes past and still got the same NAGIOS CRITICAL: Cannot parse Nagios log file for valid time I will change it to 5 minutes past and see if the same occurs tonight. -h Hari Sekhon Sloane, Robert Raymond wrote: > It sounds like your script is running at exactly the time that Nagios > rotates the log files. You might try running it every 10 minutes > starting at 5 minutes past the hour and see if that helps. > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Thu Dec 7 11:05:36 2006 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Thu, 07 Dec 2006 11:05:36 +0100 Subject: filtering by contact_groups In-Reply-To: <4577E353.9030605@sertec-si.com> References: <4577E353.9030605@sertec-si.com> Message-ID: <4577E770.5090302@sertec-si.com> i can see that in hosts where my logged user is not included in their contact_groups, user only see PING service. I assume filters are working well then, but i don't weant to see this PING service if a host is not part of my admin infraestructure... how i can do this? Thanks and sorry for the slip-up =) Jes?s Oliv?n escribi?: > Hi! > > i'm trying to filter all hosts and services that appear in my Service > Detail, Service Problems, etc. using currently defined contact groups. > (ej. contact group admin_unix only can see unix machines and services, > contact group admin_nt only can see win machines & services, etc.). I > assumed that this can be done using contact groups in every hostgroup, > but it only works when i try to see individual info on a host where an > user hasn't got permissions (ej. admin_unix can see all hosts in service > detail list, but when it tries to see an individual switch info, it > returns typical message > It appears as though you do not have permission to view information for > this host...). > > Can u help me, plz? > > Thanks in advance. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Dec 7 11:59:03 2006 From: Ajay.MV at UCB-Group.com (M V Ajay (vMoksha)) Date: Thu, 7 Dec 2006 11:59:03 +0100 Subject: Problem: Perfmon counter gives wrong results w hile using check_nt Message-ID: <733EA655AAFBE94B855B5C15FD81B6F30D1A6B@braexc102.dir.ucb-group.com> Dear All: I am using pnsclient on Windows servers as Nagios agent. Any Solution for this problem? Regards, Ajay -----Original Message----- From: Anthony Montibello [mailto:amontibello at gmail.com] Sent: Wednesday, December 06, 2006 9:38 PM To: nagios-users at lists.sourceforge.net Cc: M V Ajay (vMoksha) Subject: Re: [Nagios-users] Problem: Perfmon counter gives wrong results while using check_nt Hi, If your windows agent is NC_NEt, I know the reason why, It has to do with delay between taking samples of the performance counter object before reporting it to back to check_nt To elaborate, most Performance monitor objects in windows takes a sample every one second then return the caalculated results to Performance monitor for graphing. NC_NEt does not wait a full second for this to happen, and in the current inplementation it is actually too quick between samples and thus gives a result of 0. I have experimented with different delay times (in Miliseconds) and found a good speed/accuraccy compromise that I will implement as adjustable variable in the configuration of the next release of NC_NEt. Note: NC_NEt would report a -1 if the it could not locate the counter because of an error or spelling. but a 0 means really 0 or the above mentioned bug. Just to defend NC_NEt. in the past, this bug slipped through due to the Performance counter documentation of Dot NEt specifying just to call the get sample function again, and the documentation failed to mention any standards as to a minimum delay between requests. Also most of NC_NEt testing in the past has been done offline of Nagios. I am about to install nagios for testing, and hopefully would have that running by the time I get the updates into NC_Net. As a workaround you may be able to retrieve the value you need through WMI or by creating a custom performance counter that is of a different type but gets its value from the one that is mis-informing NC_NEt. NC_NEt is availible at sourceforge: http://sourceforge.net/projects/nc-net If it was a different Windows Client then I do not know the source of the reason but next generation of NC_Net should work more efficiently. Thank you TOny (Author of NC_NEt) On 12/5/06, M V Ajay (vMoksha) > wrote: Dear All: I am having problem in monitoring a particular windows perfmon counter. All other counter gives proper results. I am using check_nt (check_nt (nagios-plugins 1.4.3) 1.39) with Nagios Agent running on WIndows NT 4.0, Exchange 5.5 Below is the Microsoft Exchange counter: Object: MSExchangeMTA Connections Counter: Queue Length Instance: (INTERNET MAIL CONNECTOR (MAILHOST001)) When I run the plugin command mannualy I get, ./check_nt -s nagiosagentpassword -H mailhost001 -v COUNTER -l "\MSExchangeMTA Connections(INTERNET MAIL CONNECTOR (MAILHOST001))\Queue Length" 0.000000 and output is always 0. But if I use windows perfmon, I get the proper results. Any idea why this is not working? Regards, 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. --------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php &p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------------------------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 7 14:39:00 2006 From: marc at ena.com (Marc Powell) Date: Thu, 7 Dec 2006 07:39:00 -0600 Subject: Sending traps from Nagios - Macros Message-ID: > -----Original Message----- > From: Varaillon Jean Cristophe [mailto:vajc at altectelecoms.gr] > Sent: Thursday, December 07, 2006 2:29 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Sending traps from Nagios - Macros > > Hi, > > Thanks for your reply! > > Since the command line seems to be fine, > I will past all what I've done concering that event_handler including my > latest un-successful test: [chop] > From misccommands.cfg: > ------------------------------------------------------------------------ > -------------- > # 'server-send-trap' event handler definition > define command{ > command_name server-send-trap > command_line > /usr/local/nagios/etc/eventhandlers/server-send-trap $SERVICEDESC$ > $SERVICESTATE$ > } This is correct. > Test1: From /usr/local/nagios/etc/eventhandlers/server-send-trap > ------------------------------------------------------------------------ > -------------- > #!/bin/sh > > snmp_trapsend -h 172.31.10.15 -c sphynx -e 1.3.6.1.4.1.20006 -s 2 -a > "1.3.6.1.4.1.20006.2 STRING (** $arg1 $arg2 **)" > exit 0 This is not. This is a shell programming error. $arg1 should be $1 and $arg2 should be $2 unless there is some obscure thing that happening with your OS's version of sh. > Test2: From /usr/local/nagios/etc/eventhandlers/server-send-trap > ------------------------------------------------------------------------ > -------------- > #!/bin/sh > > snmp_trapsend -h 172.31.10.15 -c sphynx -e 1.3.6.1.4.1.20006 -s 2 -a > "1.3.6.1.4.1.20006.2 STRING (** $SERVICEDESC$ $SERVICESTATE$ **)" > exit 0 This would never work since nagios doesn't parse the script that's called to substitute the macros. That's why they're passed as command line arguments. Since nagios must call the command it has an opportunity to substitute. This _could_ work if you used the environment variable version of the macros. - Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Thu Dec 7 15:08:23 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Thu, 7 Dec 2006 09:08:23 -0500 Subject: Check_ldap In-Reply-To: References: <733EA655AAFBE94B855B5C15FD81B6F30D1A64@braexc102.dir.ucb-group.com> Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3018B465F@mtlexchange.Duocom.local> Hello, I would like to know if anyone is monitoring ldap? If so, is it possible to have an example of what the command is and what is the service defined. I am trying to run the command from the terminal and I am getting unable to bind to ldap. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vajc at altectelecoms.gr Thu Dec 7 15:15:47 2006 From: vajc at altectelecoms.gr (Varaillon Jean Cristophe) Date: Thu, 7 Dec 2006 16:15:47 +0200 Subject: Sending traps from Nagios - Macros Message-ID: <9DB9DF2949D8774796CB054FBEC15699039876EB@Tyran.int.acn.gr> >> snmp_trapsend -h 172.31.10.15 -c sphynx -e 1.3.6.1.4.1.20006 -s 2 -a >> "1.3.6.1.4.1.20006.2 STRING (** $arg1 $arg2 **)" >> exit 0 >This is not. This is a shell programming error. $arg1 should be $1 and >$arg2 should be $2 unless there is some obscure thing that happening with your OS's version of sh. Yes this was it! snmp_trapsend -h 172.31.10.15 -c sphynx -e 1.3.6.1.4.1.20006 -s 2 -a "1.3.6.1.4.1.20006.2 STRING (** $1 $2 **)" exit 0 Many many many thanks! Disclaimer The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Thu Dec 7 15:39:16 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Thu, 7 Dec 2006 15:39:16 +0100 Subject: Advanced permissions/user properties In-Reply-To: <20061205124124.GA15292@eric.schwarzvogel.de> References: <12A6FDDD13C460408A6E47E5DB1235A244B432@UXCHANGE3.UoA.auckland.ac.nz> <454EB43E.8070500@users.sourceforge.net> <20061106084158.GA20985@eric.schwarzvogel.de> <20061205124124.GA15292@eric.schwarzvogel.de> Message-ID: <20061207143916.GA6244@eric.schwarzvogel.de> Hi! On Tue, 05 Dec 2006, Tobias Klausmann wrote: > Thus, I'll probably patch NG to just ignore the perms. > > I'll post the patch here (if it's not too ugly ;)) See the attached file. Have fun. Regards, Tobias -- Never touch a burning system. -------------- next part -------------- --- NagiosGrapher.pm.orig 2006-12-07 15:15:40.000000000 +0100 +++ NagiosGrapher.pm 2006-12-07 15:15:54.000000000 +0100 @@ -181,12 +181,15 @@ sub AuthCheck { my $rw=0; my ($cfg,$host,$user)=@_; + my $cgroups=""; read_nagios_cfg($cfg) if(!$nagios_loaded_cfg); if($nagiosversion==2) { # Nagios Version 2.? Perform test - $rw=1 if(parse_nagios_cfg('contactgroup',parse_nagios_cfg('host',$host,'contact_groups'),'members') =~ m/$user(,|$)/); + $cgroups = parse_nagios_cfg('host',$host,'contact_groups'); + $cgroups =~ s/:[^,]*//g; + $rw=1 if(parse_nagios_cfg('contactgroup',$cgroups,'members') =~ m/$user(,|$)/); } else { # Nagios Version 1.X isn't supported yet so everything is allowd $rw=1; -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lacoste at univ-paris12.fr Thu Dec 7 16:22:05 2006 From: lacoste at univ-paris12.fr (Thierry Lacoste) Date: Thu, 7 Dec 2006 16:22:05 +0100 Subject: Check_ldap In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3018B465F@mtlexchange.Duocom.local> References: <733EA655AAFBE94B855B5C15FD81B6F30D1A64@braexc102.dir.ucb-group.com> <0CA4ED2DD473424883BF20CCD45C18A3018B465F@mtlexchange.Duocom.local> Message-ID: <200612071622.06192.lacoste@univ-paris12.fr> My guess is that your server only accepts v3. By deafult, the check_ldap plugin uses v2. Use the -3 option of check_ldapvto use v3 instead. Thierry. On Thursday 07 December 2006 15:08, Antonio Pereira wrote: > Hello, > > > > I would like to know if anyone is monitoring ldap? If so, is it possible > to have an example of what the command is and what is the service > defined. > > > > I am trying to run the command from the terminal and I am getting unable > to bind to ldap. > > > > Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Dec 7 18:15:24 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 7 Dec 2006 12:15:24 -0500 Subject: Problem Starting Nagios 2.5 Message-ID: <9C63A4713C4E3342B90428CE44806A7302679A7E@PHSXMB5.partners.org> Hi there - I just completed installing Nagios 2.5 and I am having problems starting the application as either nagios or root users. The messages file in the /var/log directory has the following entry: I checked the permissions for the nagios.lock file, and they are as follows: What changes do I need to make to correct this? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 21970 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 20893 bytes Desc: image004.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Dec 7 18:32:09 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 07 Dec 2006 15:32:09 -0200 Subject: Nagios not running every midnight In-Reply-To: <4577E67B.5040607@googlemail.com> References: <9632C3DAB675864EB0A9B7724D85DB7905A8B5D2@MAILBOXSEVEN.home.ku.edu> <4577E67B.5040607@googlemail.com> Message-ID: <1165512730.22907.4.camel@localhost> On Thu, 2006-12-07 at 10:01 +0000, Hari Sekhon wrote: > dang, I changed the thing to run at 2 minutes past and still got the same > > NAGIOS CRITICAL: Cannot parse Nagios log file for valid time Maybe your checkcommand is looking for a updated logfile that is getting older because of no update. What is the retention_update_interval? I have auto-retention logged every time retetion_interval is reached. It is just a matter of adjusting the thresholds. > > > > I will change it to 5 minutes past and see if the same occurs tonight. Well, balancing how frequent cron will execute the watchdog and how long the threshold for updated log is, is what you should do. HTH > > > -h > > Hari Sekhon > > > Sloane, Robert Raymond wrote: > > It sounds like your script is running at exactly the time that Nagios > > rotates the log files. You might try running it every 10 minutes > > starting at 5 minutes past the hour and see if that helps. > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Dec 7 18:42:11 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 07 Dec 2006 17:42:11 +0000 Subject: Nagios not running every midnight In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB7905A8B713@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB7905A8B713@MAILBOXSEVEN.home.ku.edu> Message-ID: <45785273.9030901@googlemail.com> good idea. I think that the best thing to do is to make it run at 9,19,29 etc minutes in the crontab. This gives nagios some time to write a new file after the switch. I will see if the 5,15,25 is enough tonight and if not then I will try the 9s. If that doesn't work then I will use your idea to properly debug this. I think that we've worked out the cause, now let's just see if the fix is equally as simple. One thing I'm not sure about is why several services always send me Recovery Alert emails though when there was no Problem Alert email. It's obviously the same cause but I'm not sure how to fix that. The nagios checking script that I have cronned is really independent of the service check which nagios itself does. So the rescheduling of the cron may fix the nagios not running email that I get at midnight but it's unlikely to fix the service notification problem at midnight since this is within nagios itself.... -h Hari Sekhon Sloane, Robert Raymond wrote: > Just for fun, have the script copy the log file somewhere else just > before it checks it. That will probably help you figure out what is > going on if it fails again. > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samfraser at yahoo.co.uk Thu Dec 7 18:54:55 2006 From: samfraser at yahoo.co.uk (Sam Fraser) Date: Thu, 7 Dec 2006 17:54:55 +0000 (GMT) Subject: Forbidden to access Nagios Message-ID: <20061207175455.40819.qmail@web23113.mail.ird.yahoo.com> I'm busy installing Nagios but when I get to the stage that I want to test the Web Access I'm told that the nagios server is Forbidden :- Forbidden You don't have permission to access /nagios/ on this server. Apache/2.2.3 (Fedora) Server at localhost Port 80 I do allow access as shown below ls -l /usr/local/ | grep nagios drwxr-xr-x 6 samfraser samfraser 4096 Dec 7 16:53 nagios And I have added the following files to httpd.conf and restarted the server 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 Anyone know what's wrong??? Sam Fraser Reading UK ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Dec 7 19:07:14 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 07 Dec 2006 16:07:14 -0200 Subject: Forbidden to access Nagios In-Reply-To: <20061207175455.40819.qmail@web23113.mail.ird.yahoo.com> References: <20061207175455.40819.qmail@web23113.mail.ird.yahoo.com> Message-ID: <1165514835.22907.14.camel@localhost> The user apache runs under must have permission to serve the contents of the share and sbin folder. Check that and you'll be fine. HTH On Thu, 2006-12-07 at 17:54 +0000, Sam Fraser wrote: > I'm busy installing Nagios but when I get to the stage that I want to > test the Web Access I'm told that the nagios server is Forbidden :- > > > Forbidden > You don't have permission to access /nagios/ on this server. > > > Apache/2.2.3 (Fedora) Server at localhost Port 80 > > I do allow access as shown below > > ls -l /usr/local/ | grep nagios > drwxr-xr-x 6 samfraser samfraser 4096 Dec 7 16:53 nagios > > And I have added the following files to httpd.conf and restarted the > server > > 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 > > > Anyone know what's wrong??? > > Sam Fraser > Reading > UK > > > ______________________________________________________________________ > Try the all-new Yahoo! Mail . "The New Version is radically easier to > use" ? The Wall Street Journal > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 informacao contida neste e-mail, bem como em qualquer de seus anexos, e CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatario(s) acima referido(s), podendo conter informacoes sigilosas e/ou legalmente protegidas. Caso voce nao seja o destinatario desta mensagem, informamos que qualquer divulgacao, distribuicao ou copia deste e-mail e/ou de qualquer de seus anexos e 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 copia e/ou impressao realizada a partir destes, sejam permanentemente apagados e/ou destruidos. Informacoes 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/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Dec 7 19:58:55 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 07 Dec 2006 18:58:55 +0000 Subject: Problem Starting Nagios 2.5 In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679A7E@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679A7E@PHSXMB5.partners.org> Message-ID: <4578646F.6060002@mailnetwork.co.uk> The entire nagios/var directory needs to be writeable by the user and group 'nagios' I believe. eg. chown -R nagios:nagios /usr/local/nagios/var Kaplan, Andrew H. wrote: > > Hi there ? > > I just completed installing Nagios 2.5 and I am having problems > starting the application as either nagios or root users. > > The messages file in the /var/log directory has the following entry: > > I checked the permissions for the nagios.lock file, and they are as > follows: > > What changes do I need to make to correct this? Thanks. > > !DSPAM:37,45784cc040415044320820! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,45784cc040415044320820! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45784cc040415044320820! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 7 20:24:55 2006 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Thu, 7 Dec 2006 13:24:55 -0600 Subject: Question on using check_procs Message-ID: My question is: How do I set the -w -c parameters if I am only monitoring 1 process? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Shein at iovate.com Thu Dec 7 20:34:25 2006 From: Jason.Shein at iovate.com (Jason.Shein at iovate.com) Date: Thu, 7 Dec 2006 14:34:25 -0500 Subject: Question on using check_procs In-Reply-To: References: Message-ID: Set the limits as a range -> min:max ./check_procs ( process name ) -c 1:1 _______________________________________________________________________________ Jason Shein Network Administrator ? Linux Systems Iovate Health Sciences Inc. 5100 Spectrum Way Mississauga, ON L4W 5S2 ( 905 ) - 678 - 3119 x 3136 1 - 888 - 334 - 4448, x 3136 (toll-free) jason.shein at iovate.com Customer Service. Collaboration. Innovation. Efficiency. Iovate's Information Technology Team _______________________________________________________________________________ CONFIDENTIALITY NOTICE: THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL AND IS INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS DISCLOSED TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT TO THE SENDER. _______________________________________________________________________________ "Edwin Zoeller" Sent by: nagios-users-bounces at lists.sourceforge.net 12/07/2006 02:24 PM To cc Subject [Nagios-users] Question on using check_procs My question is: How do I set the -w -c parameters if I am only monitoring 1 process? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederick.arkins at gmail.com Thu Dec 7 21:15:53 2006 From: frederick.arkins at gmail.com (Frederick Arkins) Date: Thu, 7 Dec 2006 15:15:53 -0500 Subject: Notifications not being sent Message-ID: <846e165a0612071215o4c415720se5ae1e3e1e145abf@mail.gmail.com> Probably a newbie error here bur I can't figure out what I'm doing wrong. I have a "dummy" machine set up upon which I'm creating alerts to test notifications. This is what appears in the log yet the email does not go out -- does not show up in the mailllog file. It just seems to hit /dev/null. [1165522038] SERVICE EVENT HANDLER: Tech-Con-4;check-cpu-load-win;CRITICAL;SOFT;1;host-notify-by-email [1165522054] SERVICE ALERT: Tech-Con-4;check-xp-memory;OK;SOFT;3;Memory usage: total:2400.24 Mb - used: 1128.06 Mb (47%) - free: 1272.18 Mb (53%) [1165522054] SERVICE EVENT HANDLER: Tech-Con-4;check-xp-memory;OK;SOFT;3;host-notify-by-email Herre is my command definition: define command { command_name host-notify-by-email command_line /bin/echo Service state: $SERVICEOUTPUT$ | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$' $CONTACTEMAIL$ } I've tried different iterations to this to no avail. I don't think it is mail on the machine as it is delivering other mail. OS is RHEL3. Thanks, Fred -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Dec 7 21:22:14 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 07 Dec 2006 18:22:14 -0200 Subject: Notifications not being sent In-Reply-To: <846e165a0612071215o4c415720se5ae1e3e1e145abf@mail.gmail.com> References: <846e165a0612071215o4c415720se5ae1e3e1e145abf@mail.gmail.com> Message-ID: <1165522934.22907.22.camel@localhost> On Thu, 2006-12-07 at 15:15 -0500, Frederick Arkins wrote: > [cut] > [1165522038] SERVICE EVENT HANDLER: > Tech-Con-4;check-cpu-load-win;CRITICAL;SOFT;1;host-notify-by-email > [1165522054] SERVICE ALERT: > Tech-Con-4;check-xp-memory;OK;SOFT;3;Memory usage: total:2400.24 Mb - > used: 1128.06 Mb (47%) - free: 1272.18 Mb (53%) > [1165522054] SERVICE EVENT HANDLER: > Tech-Con-4;check-xp-memory;OK;SOFT;3;host-notify-by-email Notifications only get sent at the HARD state change. Try harder, reaching max_check_attempts you should see a log entry telling you that notification has been sent. 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/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Thu Dec 7 23:08:43 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Fri, 8 Dec 2006 09:08:43 +1100 Subject: ePN error In-Reply-To: References: Message-ID: Dear Sir, I am writing to thank you for your letter and say, On 06/12/06, Ciro Iriarte wrote: > Hi, i'm running nagios 2.5 with various perl scripts, just added > check_snmp_int.pl (http://www.manubulon.com/nagios/snmp_int.html) to the > mix, but i'm getting some ePN error when it gives CRITICAL status (it could > be a coincidence) > > Output: > Serial2:DOWN: 1 int NOK : CRITICAL**ePN > /usr/lib/nagios/plugins/check_snmp_int.pl: "Use of uninitialized value in > join or string at /usr/sbin/p1.pl line 72,". > > According to the output, it's the TIEHANDLE sub > > 70: sub TIEHANDLE { > 71: my ($class) = @_; > 72: my $me = ''; > 73: bless \$me, $class; > 74:} > > Is this a problem with ePN (what i think, because of the output) or with the > script? If it is ePN, it certainly isn't in the TIEHANDLE sub (which only runs when ePN loads - once when Nagios starts). It's unimpressive that the error is so poorly reported. The problem is almost certainly with plugin. What I think is happening is that what the plugin writes (to STDOUT) when it reports a CRITICAL, contains some undefined values (when the plugin calls print, the tied file handle results in the p1.pl PRINT sub being called. All PRINT does is concatenate all the args into a string and append it to the tied object). (here's a demo [sh1517 at acisf011 standardise_router_configs]$ cat x #!/usr/bin/perl -w use strict ; my @x = (undef, 1, undef, 2) ; print join(" ", @x), "\n" ; [sh1517 at acisf011 standardise_router_configs]$ perl x Use of uninitialized value in join or string at x line 7. Use of uninitialized value in join or string at x line 7. 1 2 [sh1517 at acisf011 standardise_router_configs]$ ) If you can simulate or reproduce the event that causes the problem, try to inspect the values of the variables that the plugin outputs before it exits with the CRITICAL. You should see the problem - but it will be reported differently - with or without ePN. ePN could and maybe should be modified to not die when print is called with undef elements. On the other hand, Perl with strict always complains and since ePN alwats runs with strict, you see the complaints (assuming that is really the cause of the problem). HTH, Yours sincerely. > > Thanks in advanced > Ciro > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Thu Dec 7 23:25:50 2006 From: nagios-user at proy.org (Patrick Proy) Date: Thu, 7 Dec 2006 23:25:50 +0100 Subject: ePN error In-Reply-To: References: Message-ID: <20061207222542.C07991953BE@mail.proy.org> Hi, I agree with S. Hopcroft, it must be a script error. I suspect that you use performance output (-k option) : is it the case ? Could you send the options you use with the script ? (command + service definition ?) and the return of the script with -v option using these options. Patrick http://www.manubulon.com/nagios/ -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Stanley Hopcroft Envoy? : jeudi 7 d?cembre 2006 23:09 ? : Ciro Iriarte Cc : nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] ePN error Dear Sir, I am writing to thank you for your letter and say, On 06/12/06, Ciro Iriarte wrote: > Hi, i'm running nagios 2.5 with various perl scripts, just added > check_snmp_int.pl (http://www.manubulon.com/nagios/snmp_int.html) to > the mix, but i'm getting some ePN error when it gives CRITICAL status > (it could be a coincidence) > > Output: > Serial2:DOWN: 1 int NOK : CRITICAL**ePN > /usr/lib/nagios/plugins/check_snmp_int.pl: "Use of uninitialized value > in join or string at /usr/sbin/p1.pl line 72,". > > According to the output, it's the TIEHANDLE sub > > 70: sub TIEHANDLE { > 71: my ($class) = @_; > 72: my $me = ''; > 73: bless \$me, $class; > 74:} > > Is this a problem with ePN (what i think, because of the output) or > with the script? If it is ePN, it certainly isn't in the TIEHANDLE sub (which only runs when ePN loads - once when Nagios starts). It's unimpressive that the error is so poorly reported. The problem is almost certainly with plugin. What I think is happening is that what the plugin writes (to STDOUT) when it reports a CRITICAL, contains some undefined values (when the plugin calls print, the tied file handle results in the p1.pl PRINT sub being called. All PRINT does is concatenate all the args into a string and append it to the tied object). (here's a demo [sh1517 at acisf011 standardise_router_configs]$ cat x #!/usr/bin/perl -w use strict ; my @x = (undef, 1, undef, 2) ; print join(" ", @x), "\n" ; [sh1517 at acisf011 standardise_router_configs]$ perl x Use of uninitialized value in join or string at x line 7. Use of uninitialized value in join or string at x line 7. 1 2 [sh1517 at acisf011 standardise_router_configs]$ ) If you can simulate or reproduce the event that causes the problem, try to inspect the values of the variables that the plugin outputs before it exits with the CRITICAL. You should see the problem - but it will be reported differently - with or without ePN. ePN could and maybe should be modified to not die when print is called with undef elements. On the other hand, Perl with strict always complains and since ePN alwats runs with strict, you see the complaints (assuming that is really the cause of the problem). HTH, Yours sincerely. > > Thanks in advanced > Ciro > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manishs at gs-lab.com Fri Dec 8 10:47:57 2006 From: manishs at gs-lab.com (Manish Sapariya) Date: Fri, 08 Dec 2006 15:17:57 +0530 Subject: Roadmap for nagios 3.0 Message-ID: <457934CD.20105@gs-lab.com> Hi, I looked at the nagios web site, but could not find any planned release date for nagios 3.0. I am interested in multiline status support planned in 3.0 and thats the only thing I am interested in 3.0 as of now. Does nagios 2.0 have any patches to support this feature? Thanks and Regards, Manish ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Fri Dec 8 14:20:01 2006 From: javier.rojasr at gmail.com (javier rojas) Date: Fri, 8 Dec 2006 09:20:01 -0400 Subject: problem installing nagios 2.6 Message-ID: <773acc7b0612080520u289d3902t37fc5677783da2a1@mail.gmail.com> Hello, i'm trying to install nagios 2.6 on my machine but everytime i configure and compile it i get the same trouble: it doesnt make and /etc folder on /usr/local/nagios on that path i get each time the same folders: bin libexec sbin share var i'm following the instructions from http://nagios.sourceforge.net/docs/2_0/installing.html and i downloaded the tar.gz from http://prdownloads.sourceforge.net/nagios/nagios-2.6.tar.gz?download from the mirror on Curitiba, Brazil i don't know if it's a bug or if i'm doing something wrong, but i'm happy to be of service i really hope that somebody can help me out here -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) --Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Fri Dec 8 14:34:14 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Fri, 8 Dec 2006 08:34:14 -0500 Subject: Check dhcp In-Reply-To: References: Message-ID: <0CA4ED2DD473424883BF20CCD45C18A301904E02@mtlexchange.Duocom.local> Hello, I would like to know if there is a way to monitor dhcp servers in different geopgraphic locations? Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara at gmail.com Fri Dec 8 14:38:41 2006 From: bohara at gmail.com (Ben O'Hara) Date: Fri, 8 Dec 2006 13:38:41 +0000 Subject: problem installing nagios 2.6 In-Reply-To: <773acc7b0612080520u289d3902t37fc5677783da2a1@mail.gmail.com> References: <773acc7b0612080520u289d3902t37fc5677783da2a1@mail.gmail.com> Message-ID: <2b36e660612080538j4ccf9b27ofba13028dcb60396@mail.gmail.com> On 12/8/06, javier rojas wrote: > Hello, > > i'm trying to install nagios 2.6 on my machine but everytime i > configure and compile it i get the same trouble: > > it doesnt make and /etc folder on /usr/local/nagios > > on that path i get each time the same folders: > > bin libexec sbin share var > > i'm following the instructions from > http://nagios.sourceforge.net/docs/2_0/installing.html and i > downloaded the tar.gz from > http://prdownloads.sourceforge.net/nagios/nagios-2.6.tar.gz?download > from the mirror on Curitiba, Brazil > > i don't know if it's a bug or if i'm doing something wrong, but i'm > happy to be of service > > > i really hope that somebody can help me out here > > make install-config Ben -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Fri Dec 8 14:41:09 2006 From: javier.rojasr at gmail.com (javier rojas) Date: Fri, 8 Dec 2006 09:41:09 -0400 Subject: problem installing nagios 2.6 In-Reply-To: <2b36e660612080538j4ccf9b27ofba13028dcb60396@mail.gmail.com> References: <773acc7b0612080520u289d3902t37fc5677783da2a1@mail.gmail.com> <2b36e660612080538j4ccf9b27ofba13028dcb60396@mail.gmail.com> Message-ID: <773acc7b0612080541j1fc37b7eq2e549203722dc530@mail.gmail.com> hello, > > make install-config between make install and make install-init? -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) --Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 8 15:44:21 2006 From: marc at ena.com (Marc Powell) Date: Fri, 8 Dec 2006 08:44:21 -0600 Subject: problem installing nagios 2.6 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of javier rojas > Sent: Friday, December 08, 2006 7:41 AM > To: Ben O'Hara > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] problem installing nagios 2.6 > > hello, > > > > > make install-config > > between make install and make install-init? Any time after make install. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 8 15:58:28 2006 From: marc at ena.com (Marc Powell) Date: Fri, 8 Dec 2006 08:58:28 -0600 Subject: Check dhcp Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira > Sent: Friday, December 08, 2006 7:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check dhcp > > Hello, > > I would like to know if there is a way to monitor dhcp servers in > different geopgraphic locations? Yes, but you must run the check_dhcp plugin on a machine on the DHCP servers LAN. That can be done with NRPE, check_by_ssh or NSCA. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Fri Dec 8 17:12:56 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Fri, 8 Dec 2006 11:12:56 -0500 Subject: Check dhcp In-Reply-To: References: Message-ID: <0CA4ED2DD473424883BF20CCD45C18A301904F7E@mtlexchange.Duocom.local> Will nsclient++ work? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: December 8, 2006 9:58 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check dhcp > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira > Sent: Friday, December 08, 2006 7:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check dhcp > > Hello, > > I would like to know if there is a way to monitor dhcp servers in > different geopgraphic locations? Yes, but you must run the check_dhcp plugin on a machine on the DHCP servers LAN. That can be done with NRPE, check_by_ssh or NSCA. -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iceman at 30below.com Fri Dec 8 20:21:58 2006 From: iceman at 30below.com (Jeff Sullivan) Date: Fri, 08 Dec 2006 14:21:58 -0500 Subject: NDOUtils and NDO2BD Message-ID: <4579BB56.3000104@30below.com> Hello!! Has anyone created an interface that uses data from the NDOUtils package? I am have it all setup and logging to MySql. I am in need of a simple interface for tier 1 support personnel. Jeff ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Fri Dec 8 22:00:07 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Fri, 8 Dec 2006 16:00:07 -0500 Subject: Check dhcp In-Reply-To: References: Message-ID: <0CA4ED2DD473424883BF20CCD45C18A30190527E@mtlexchange.Duocom.local> Will nsclient++ work? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: December 8, 2006 9:58 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check dhcp > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira > Sent: Friday, December 08, 2006 7:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check dhcp > > Hello, > > I would like to know if there is a way to monitor dhcp servers in > different geopgraphic locations? Yes, but you must run the check_dhcp plugin on a machine on the DHCP servers LAN. That can be done with NRPE, check_by_ssh or NSCA. -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Dec 9 00:11:42 2006 From: marc at ena.com (Marc Powell) Date: Fri, 8 Dec 2006 17:11:42 -0600 Subject: Check dhcp Message-ID: Either nobody knows, nobody cares or they haven't read your message yet. Resending within 24 hours is generally considered rude, especially for something you should be able to determine on your own. I personally don't use nsclient++. Do the docs say you can check a DHCP server with it? Does Google? Mailling list archives, this and nsclient if there are any, would be a good place to look for an answer as well. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira > Sent: Friday, December 08, 2006 3:00 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check dhcp > > Will nsclient++ work? > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc > Powell > Sent: December 8, 2006 9:58 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check dhcp > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira > > Sent: Friday, December 08, 2006 7:34 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Check dhcp > > > > Hello, > > > > I would like to know if there is a way to monitor dhcp servers in > > different geopgraphic locations? > > Yes, but you must run the check_dhcp plugin on a machine on the DHCP > servers LAN. That can be done with NRPE, check_by_ssh or NSCA. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manishs at gs-lab.com Sat Dec 9 10:54:00 2006 From: manishs at gs-lab.com (Manish Sapariya) Date: Sat, 09 Dec 2006 15:24:00 +0530 Subject: Roadmap for nagios 3.0 In-Reply-To: <4579BFC0.5000507@web.de> References: <457934CD.20105@gs-lab.com> <4579BFC0.5000507@web.de> Message-ID: <457A87B8.1040901@gs-lab.com> Hi Peter, Thanks for the suggestion. I should have been clear while stating my problem, but my status string is expected to cross 80 column limitation currenlty imposed by the Nagios. Some of my services return lots of stats and I need to report them on Nagios dashboard. Thanks and Anyway. -Manish Peter Ringe wrote: > Hi, > > I know, it's not the recommended way, but the following is usable for > plugins written by your own: > > If you want to see e.g.: > > Check OK: > Value1=1 > Value2=2 > > then let the output of your Plugin be: > > Check OK:
Value1=2
Value2=2 > > > > Regards, > > Peter > > > > > > > > > Manish Sapariya schrieb: > >> Hi, >> I looked at the nagios web site, but could not find >> any planned release date for nagios 3.0. >> >> I am interested in multiline status support planned in >> 3.0 and thats the only thing I am interested in 3.0 as >> of now. >> >> Does nagios 2.0 have any patches to support this feature? >> >> Thanks and Regards, >> Manish >> >> >> >> ------------------------------------------------------------------------- >> >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 9 11:25:20 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 9 Dec 2006 11:25:20 +0100 (CET) Subject: Roadmap for nagios 3.0 In-Reply-To: <457A87B8.1040901@gs-lab.com> References: <457934CD.20105@gs-lab.com> <4579BFC0.5000507@web.de> <457A87B8.1040901@gs-lab.com> Message-ID: On Sat, 9 Dec 2006, Manish Sapariya wrote: > I should have been clear while stating my problem, but my status > string is expected to cross 80 column limitation currenlty imposed > by the Nagios. > > Some of my services return lots of stats and I need to report them > on Nagios dashboard. Frankly. I strongly doubt it wether any service should return a load of information, like you indicate, on an overview list. What use is a list of a 1000 services if you need a page per service? That is not a list. (It is a book.) You want to put that sort of detail in an extended service page that one can look into if one starts to focus on that service. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manishs at gs-lab.com Sat Dec 9 14:14:13 2006 From: manishs at gs-lab.com (Manish Sapariya) Date: Sat, 09 Dec 2006 18:44:13 +0530 Subject: Roadmap for nagios 3.0 In-Reply-To: References: <457934CD.20105@gs-lab.com> <4579BFC0.5000507@web.de> <457A87B8.1040901@gs-lab.com> Message-ID: <457AB6A5.5080702@gs-lab.com> Hugo, I agree to you. As of now this is the requirement set by the user of nagios and I have to somehow give this information. Whether its in service summary or extended service page is secondary for me right now. The important question is HOW? Its been just 2/3 weeks that I have strated using Nagios and I am yet figuring out how to best use it. But this is a MUST for me. Do you think using extended services this will be possible. Thanks for you input. - Manish Hugo van der Kooij wrote: > >Frankly. I strongly doubt it wether any service should return a load of >information, like you indicate, on an overview list. > >What use is a list of a 1000 services if you need a page per service? That >is not a list. (It is a book.) > >You want to put that sort of detail in an extended service page that one >can look into if one starts to focus on that service. > >Hugo. > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 9 16:58:33 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 9 Dec 2006 16:58:33 +0100 (CET) Subject: Roadmap for nagios 3.0 In-Reply-To: <457AB6A5.5080702@gs-lab.com> References: <457934CD.20105@gs-lab.com> <4579BFC0.5000507@web.de> <457A87B8.1040901@gs-lab.com> <457AB6A5.5080702@gs-lab.com> Message-ID: On Sat, 9 Dec 2006, Manish Sapariya wrote: > I agree to you. As of now this is the requirement set by the > user of nagios and I have to somehow give this information. > Whether its in service summary or extended service page is > secondary for me right now. > > The important question is HOW? > > Its been just 2/3 weeks that I have strated using Nagios and I am yet > figuring out how to best use it. But this is a MUST for me. If you have a MUST with Nagios it is time to either code it yourself or start getting your checkbook and find someone to do the coding for you. If all of this is so important then I think you should look for someone to do the consulting on Nagios for you. (I am not in the market so you have to look elsewhere.) Look at the extended service config. See how tools like nagiosgrapher add their own link into this. Do something similar and point to your own webpage containing all the info you want. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. Please, don't top post: A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Sun Dec 10 11:14:23 2006 From: termx23 at gmail.com (Peter Edmonds) Date: Sun, 10 Dec 2006 21:14:23 +1100 Subject: Using check_snmp_int.pl to query Windows network interface Message-ID: <6b8cee7e0612100214w1da8b4b7rb115caf0f0020906@mail.gmail.com> All, I am using check_snmp_int.pl from http://www.manubulon.com/nagios/snmp_int.html to query network interfaces on Windows machines. I run this bash-3.00$ ./check_snmp_int.pl -H 172.xx.xx.xx -C public -n "Intel\(R\) PRO\/1000 CT Network Connection" -B -f -w 0,0 -c 0,0 and get this result Intel(R) PRO/1000 CT Network Connection:UP:1 UP: OK | 'Intel(R) PRO/1000 CT Network Connection_in_octet'=3870538451c 'Intel(R) PRO/1000 CT Network Connection_out_octet'=1949658650c My problem is that the performance data contains the name of the interface and I think the ( ) and / characters are killing the perl script that processes the performance data. Is there a way to change the SNMP network interface description on the Windows machine to remove the brackets and forward slash ? Or alternatively has anyone modified check_snmp_int.pl to query Windows without requiring the network interface description ? Thanks Peter Edmonds -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Dec 10 17:51:12 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Sun, 10 Dec 2006 16:51:12 +0000 Subject: Nagios Looking Glass - Roadmap 2007 Message-ID: <457C3B00.5030502@mailnetwork.co.uk> Well it's been a little while since I've released any information about Nagios Looking Glass, but have no fear, I've been working solidly on v1.0.0 for the last 3-4 weeks. NLG is due for public release on or shortly after New Year's Day to give network admins who are planning on implementing NLG a chance to catch a break over the holidays! NLG 1.0.0#PRE is the pre-release beta which will be posted on the project page on Nagios Exchange in approximately 1-2 week's time. It is a major rewrite to 0.2.5, which fixes a number of issues I was unhappy with in the code-base, and provides a sound framework for further developments in the future. I'm therefore releasing 1.0.0#PRE as a last-chance to beta the code before the 1.0 release in January. Throughout the coming fortnight, I've got a few minor changes as well as the documentation to write. I have only 4 remaining tasks on the tracker to implement so it's all good :) Feature list / changes for 1.0-series: - Upgraded poller to series 3 (S3) - Shared files (config, functions) are synchronised between server- and client-side automatically - Improved HTTP authentication configuration from client-to-server to be more obvious (thanks to Mark Novak) - Rewritten server "paging" feature to be more stable (fixed 2 bugs in the pager) - Completely re-written template system; allows NLG admins to write their own templates, and users can select their preferred template if allowed by the NLG admin - Fixed a bug from the S2 poller, where "hostname --fqdn" didn't work on non-BSD systems (using "hostname" instead) - Data returned from poller is cached on client-side for reduced load on Nagios server and network bandwidth - Improved data streams between the client and poller allows for "same-server" setups (thanks to Hari Sekhon) - "Traffic-light", "at-a-glance" network status page - Much improved "Allowed IP" lists - proper ACLs in similar fashion to Apache's "allow,deny" configuration (thanks to Andreas Ericsson) - Restrictions on IP can now be applied to client and server separately - Much improved server filters allow any combination of server statuses to be filtered - All language texts are either in the template, or in a separate language file, allowing a language change without changing NLG's code-base - Add '#NLG:' at the start of a host/service comment within Nagios to pass that comment to NLG's front-end --- (eg. to alert users to planned downtime/maintenance etc without having to key the same info on 2 different systems) Roadmap for 1.x --------------- New features planned for 1.1-series (to be released Q1 2007): - HTTP authentication to allow users to login and see different templates based on their login status --- (eg. so administrators can see plugin output but 'guest' users cannot) - Extended host/service data passed from Nagios to NLG - Add a service filter in the host detail page to filter services (same fashion as 'host' filter) New features planned for 1.2-series (to be released Q2 2007): - Restrict users to only viewing certain hosts and services based on their login status - Only show certain hosts in NLG based on the host_group mapping in Nagios (thanks to Hari Sekhon for the feature request) -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Sun Dec 10 22:25:23 2006 From: nagios-user at proy.org (Patrick Proy) Date: Sun, 10 Dec 2006 22:25:23 +0100 Subject: Using check_snmp_int.pl to query Windows networkinterface In-Reply-To: <6b8cee7e0612100214w1da8b4b7rb115caf0f0020906@mail.gmail.com> References: <6b8cee7e0612100214w1da8b4b7rb115caf0f0020906@mail.gmail.com> Message-ID: <20061210212524.08D021953BE@mail.proy.org> Hi, Replace line 562 in the script with : $descr[$i] =~ s/'\/\(\)/_/g; It should work better (the check_snmp_int.pl script will be updated in later release with this). Note : I don't think there is any way to change windows interface description in SNMP. Regards, Patrick http://www.manubulon.com/nagios/ ________________________________ De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Peter Edmonds Envoy? : dimanche 10 d?cembre 2006 11:14 ? : Nagios Userlist Objet : [Nagios-users] Using check_snmp_int.pl to query Windows networkinterface All, I am using check_snmp_int.pl from http://www.manubulon.com/nagios/snmp_int.html to query network interfaces on Windows machines. I run this bash-3.00$ ./check_snmp_int.pl -H 172.xx.xx.xx -C public -n "Intel\(R\) PRO\/1000 CT Network Connection" -B -f -w 0,0 -c 0,0 and get this result Intel(R) PRO/1000 CT Network Connection:UP:1 UP: OK | 'Intel(R) PRO/1000 CT Network Connection_in_octet'=3870538451c 'Intel(R) PRO/1000 CT Network Connection_out_octet'=1949658650c My problem is that the performance data contains the name of the interface and I think the ( ) and / characters are killing the perl script that processes the performance data. Is there a way to change the SNMP network interface description on the Windows machine to remove the brackets and forward slash ? Or alternatively has anyone modified check_snmp_int.pl to query Windows without requiring the network interface description ? Thanks Peter Edmonds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at Dest.gov.au Mon Dec 11 02:35:44 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Mon, 11 Dec 2006 12:35:44 +1100 Subject: Nagios-users Digest, Vol 7, Issue 10 In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9AF78F3@acexp005.portfolio.base> Dear Sir, I am writing to thank you for your letter and say, > -----Original Message----- > ------------------------------ > > Message: 4 > Date: Thu, 7 Dec 2006 23:25:50 +0100 > From: "Patrick Proy" > Subject: Re: [Nagios-users] ePN error > To: "'Ciro Iriarte'" > Cc: nagios-users at lists.sourceforge.net > > Hi, > > I agree with S. Hopcroft, it must be a script error. > I suspect that you use performance output (-k option) : is it > the case ? > Could you send the options you use with the script ? (command > + service definition ?) and the return of the script with -v > option using these options. > I forgot to mention: if you can't fix the script, the workaround is to change the command definition for the problem plugin (commands.cfg or checkcommands.cfg) so that the command is something like # 'check_nntp' command definition define command{ command_name check_nntp command_line $USER1$/check_nntp -H $HOSTADDRESS$ } ==> # 'check_nntp' command definition define command{ command_name check_nntp command_line /usr/bin/perl $USER1$/check_nntp -H $HOSTADDRESS$ } ie add Perl to the command line (so that the script is not run by the kernel reading the shebang line directly from the script). > Patrick > http://www.manubulon.com/nagios/ Yours sincerely. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.waters at kingstransport.com.au Mon Dec 11 03:39:49 2006 From: michael.waters at kingstransport.com.au (michael waters) Date: Mon, 11 Dec 2006 03:39:49 +0100 (CET) Subject: weird nrpe issue rhel 4 Message-ID: <20061211023949.0713C4F4046@desire.netways.de> Hi list Hi, I have just been setting up some checks with nrpe on a rhel4 box. im using the latest ver of nagios NRPE is Version: 2.5.1 on both boxes my plug ins are nagios-plugins 1.4.3 the issue im having is that I am receiving NRPE: Unable to read output when trying to use check_file_age & check_cciss-1.5 permissions on both are: -rwxrwxrwx 1 nagios nagios if i su - nagios on local machine it works. same as running it under root. i just cant get it to report back to nagios. the config of the nrpe is as follows: command[check_users]=/usr/sbin/nagios/nagios/check_users -w 90 -c 100 command[check_load]=/usr/sbin/nagios/nagios/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/sbin/nagios/nagios/check_disk -w 20 -c 10 -p /dev/hda command[check_zombie_procs]=/usr/sbin/nagios/nagios/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/sbin/nagios/nagios/check_procs -w 150 -c 200 command[check_file_age]=/usr/sbin/nagios/nagios/check_file_age -f /app/itc/carry/carry/log/booker command[check_raid]=/usr/sbin/nagios/nagios/check_cciss-1.5 -N 0 -v all the other checks work fine except these 2. any help would be appreciated. - michael waters - michael waters ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.waters at kingstransport.com.au Mon Dec 11 03:41:34 2006 From: michael.waters at kingstransport.com.au (michael waters) Date: Mon, 11 Dec 2006 03:41:34 +0100 (CET) Subject: weird nrpe issue rhel 4 Message-ID: <20061211024134.242194F4046@desire.netways.de> Hi list Hi, I have just been setting up some checks with nrpe on a rhel4 box. im using the latest ver of nagios NRPE is Version: 2.5.1 on both boxes my plug ins are nagios-plugins 1.4.3 the issue im having is that I am receiving NRPE: Unable to read output when trying to use check_file_age & check_cciss-1.5 permissions on both are: -rwxrwxrwx 1 nagios nagios if i su - nagios on local machine it works. same as running it under root. i just cant get it to report back to nagios. the config of the nrpe is as follows: command[check_users]=/usr/sbin/nagios/nagios/check_users -w 90 -c 100 command[check_load]=/usr/sbin/nagios/nagios/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/sbin/nagios/nagios/check_disk -w 20 -c 10 -p /dev/hda command[check_zombie_procs]=/usr/sbin/nagios/nagios/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/sbin/nagios/nagios/check_procs -w 150 -c 200 command[check_file_age]=/usr/sbin/nagios/nagios/check_file_age -f /app/itc/carry/carry/log/booker command[check_raid]=/usr/sbin/nagios/nagios/check_cciss-1.5 -N 0 -v all the other checks work fine except these 2. any help would be appreciated. - michael waters - michael waters ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.waters at kingstransport.com.au Mon Dec 11 03:43:20 2006 From: michael.waters at kingstransport.com.au (michael waters) Date: Mon, 11 Dec 2006 03:43:20 +0100 (CET) Subject: weird nrpe issue rhel 4 Message-ID: <20061211024320.258084F4046@desire.netways.de> Hi list Hi, I have just been setting up some checks with nrpe on a rhel4 box. im using the latest ver of nagios NRPE is Version: 2.5.1 on both boxes my plug ins are nagios-plugins 1.4.3 the issue im having is that I am receiving NRPE: Unable to read output when trying to use check_file_age & check_cciss-1.5 permissions on both are: -rwxrwxrwx 1 nagios nagios if i su - nagios on local machine it works. same as running it under root. i just cant get it to report back to nagios. the config of the nrpe is as follows: command[check_users]=/usr/sbin/nagios/nagios/check_users -w 90 -c 100 command[check_load]=/usr/sbin/nagios/nagios/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/sbin/nagios/nagios/check_disk -w 20 -c 10 -p /dev/hda command[check_zombie_procs]=/usr/sbin/nagios/nagios/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/sbin/nagios/nagios/check_procs -w 150 -c 200 command[check_file_age]=/usr/sbin/nagios/nagios/check_file_age -f /app/itc/carry/carry/log/booker command[check_raid]=/usr/sbin/nagios/nagios/check_cciss-1.5 -N 0 -v all the other checks work fine except these 2. any help would be appreciated. - michael waters - michael waters ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Mon Dec 11 05:39:15 2006 From: termx23 at gmail.com (Peter Edmonds) Date: Mon, 11 Dec 2006 15:39:15 +1100 Subject: Using check_snmp_int.pl to query Windows networkinterface In-Reply-To: <20061210212524.08D021953BE@mail.proy.org> References: <6b8cee7e0612100214w1da8b4b7rb115caf0f0020906@mail.gmail.com> <20061210212524.08D021953BE@mail.proy.org> Message-ID: <6b8cee7e0612102039v39d2ae65kcc6f24d8083ddb8a@mail.gmail.com> On 12/11/06, Patrick Proy wrote: > > Hi, > > Replace line 562 in the script with : > > $descr[$i] =~ s/'\/\(\)/_/g; Hi Patrick, I changed check_snmp_int.pl at line 562 as suggested - no change in behaviour unfortunately. Looking at the line above it should work. I have resorted to using sed and tr like this check_snmp_int.pl -H $HOSTADDRESS$ -C public -n $ARG1$ -B -f -w 0,0 -c 0,0 | sed 's/\//_/g' | sed 's/\///g' | sed 's/'\('R'\)'//g' | sed 's/Intel PRO_1000 CT Network Connection*/eth0/g' | tr -d '\0' For some reason, the output from check_snmp_int.pl contained NULL characters (HEX 00) like this eth0NULL:UP:1 UP: OK | 'eth0NULL_in_octet'=3167298692c 'eth0NULL_out_octet'=2854496598c The NULLs caused the output to be truncated. I think this was a product of the SNMP description, not check_snmp_int.pl itself. The NULLS only occur against Windows machines.Doing check_snmp_int.pl -H $HOSTADDRESS$ -C public -n "Intel\(R\) PRO\/1000 CT*" -B -f -w 0,0 -c 0,0 | od -t c generated this 0000000 I n t e l ( R ) P R O / 1 0 0 0000020 0 C T N e t w o r k C o n 0000040 n e c t i o n \0 : U P : 1 U P 0000060 : O K | ' I n t e l ( R ) 0000100 P R O / 1 0 0 0 C T N e t 0000120 w o r k C o n n e c t i o n \0 0000140 _ i n _ o c t e t ' = 3 3 9 4 9 0000160 0 0 9 4 2 c ' I n t e l ( R ) 0000200 P R O / 1 0 0 0 C T N e t 0000220 w o r k C o n n e c t i o n \0 0000240 _ o u t _ o c t e t ' = 3 0 2 0 0000260 2 2 6 1 7 4 c \n 0000270 The NULLS are \0 in the above output. Stupid Windows. The performance data now displays properly. Hope this help someone else. Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Mon Dec 11 06:07:34 2006 From: cyruspy at gmail.com (Ciro Iriarte) Date: Mon, 11 Dec 2006 02:07:34 -0300 Subject: ePN error References: Message-ID: "Stanley Hopcroft" escribi? en el mensaje news:eb5b64480612071408u6d061e7ya847c4f5cc0a680f at mail.gmail.com... > Dear Sir, > > I am writing to thank you for your letter and say, > > On 06/12/06, Ciro Iriarte wrote: >> Hi, i'm running nagios 2.5 with various perl scripts, just added >> check_snmp_int.pl (http://www.manubulon.com/nagios/snmp_int.html) to the >> mix, but i'm getting some ePN error when it gives CRITICAL status (it >> could >> be a coincidence) >> >> Output: >> Serial2:DOWN: 1 int NOK : CRITICAL**ePN >> /usr/lib/nagios/plugins/check_snmp_int.pl: "Use of uninitialized value in >> join or string at /usr/sbin/p1.pl line 72,". >> >> According to the output, it's the TIEHANDLE sub >> >> 70: sub TIEHANDLE { >> 71: my ($class) = @_; >> 72: my $me = ''; >> 73: bless \$me, $class; >> 74:} >> >> Is this a problem with ePN (what i think, because of the output) or with >> the >> script? > > If it is ePN, it certainly isn't in the TIEHANDLE sub (which only runs > when > ePN loads - once when Nagios starts). > > It's unimpressive that the error is so poorly reported. > > The problem is almost certainly with plugin. What I think is happening > is that what the plugin writes (to STDOUT) when it reports a CRITICAL, > contains some undefined values (when the plugin calls print, the tied > file handle results in the p1.pl PRINT sub being called. All PRINT > does is concatenate all the args into a string and append it to the > tied object). > > (here's a demo > > [sh1517 at acisf011 standardise_router_configs]$ cat x > #!/usr/bin/perl -w > > use strict ; > > my @x = (undef, 1, undef, 2) ; > > print join(" ", @x), "\n" ; > [sh1517 at acisf011 standardise_router_configs]$ perl x > Use of uninitialized value in join or string at x line 7. > Use of uninitialized value in join or string at x line 7. > 1 2 > [sh1517 at acisf011 standardise_router_configs]$ > ) > > If you can simulate or reproduce the event that causes the problem, > try to inspect the values of the variables that the plugin outputs > before it exits with the CRITICAL. > You should see the problem - but it will be reported differently - > with or without ePN. > > ePN could and maybe should be modified to not die when print is called > with undef elements. On the other hand, Perl with strict always > complains and since ePN alwats runs with strict, you see the > complaints (assuming that is really the cause of the problem). > > HTH, > > Yours sincerely. > Thanks a lot for you answer, i'll send more details to debug the plugin. Ciro -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Mon Dec 11 06:10:36 2006 From: cyruspy at gmail.com (Ciro Iriarte) Date: Mon, 11 Dec 2006 02:10:36 -0300 Subject: ePN error References: <20061207222542.C07991953BE@mail.proy.org> Message-ID: "Patrick Proy" escribi? en el mensaje news:20061207222542.C07991953BE at mail.proy.org... Hi, I agree with S. Hopcroft, it must be a script error. I suspect that you use performance output (-k option) : is it the case ? Could you send the options you use with the script ? (command + service definition ?) and the return of the script with -v option using these options. Patrick http://www.manubulon.com/nagios/ Thanks for your answer, here's the info you requested: - Service definition define service{ use routers-template service_description Trafico Intf 11 ENC host_name rouasusis01 contact_groups operaciones check_command check_snmp_int!not_real_community!Serial3 event_handler ins2tt event_handler_enabled 1 } - Command definition define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ -r -f -e } - On commandline: -- Working case asusis-ope2:/usr/lib/nagios/plugins # ./check_snmp_int.pl -H rouasusis01 -C not_real_community -n Serial1 -r -f -e Serial1:UP:1 UP: OK | 'Serial1_in_octet'=312860304c 'Serial1_out_octet'=310979079c 'Serial1_in_error'=583c 'Serial1_in_discard'=0c 'Serial1_out_error'=0c 'Serial1_out_discard'=0c -- Giving critical asusis-ope2:/usr/lib/nagios/plugins # ./check_snmp_int.pl -H rouasusis01 -C not_real_community -n Serial3 -r -f -e Use of uninitialized value in print at ./check_snmp_int.pl line 610. Serial3:DOWN: 1 int NOK : CRITICAL | Ciro -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Mon Dec 11 08:33:19 2006 From: eagle at cyberdelia.de (Daniel Meyer) Date: Mon, 11 Dec 2006 08:33:19 +0100 (CET) Subject: big performance issue with Nagios 2.5 Message-ID: Hi everyone, i've ran into a somewhat anoying issue with nagios. First, this is my setup: - Dual Xeon 2.8 HT server running an up to date CentOS 4.4, nagios 2.5 (rpm from Dag Wieers) and checking approx. 285 hosts and 1500 services - active host checks are off - host check is replaced by a dummy shell script which just says "ok" - approx. 15 services are critical, another 15 warning. So, whats the issue? When i came back into the office this morning i found nagios having a service check latency of about 350 sec (maximum and also average). I've had this last week to, and its "fixed" by simply restarting the nagios daemon. I've set up some performance monitoring of nagios and the general linux system, and this is what i see: - The load goes up to 2-2.5 within 12h of nagios running (not the peaks, but the 15 minute average) - nagios runs fine for about 15-18 hours (not general numbers, but what happened this weekend) - no unusual notifications over the whole weekend Any ideas where to look? -- Q: Gentoo is too hard to install = http://www.cyberdelia.de and I feel like whining. = eagle at cyberdelia.de A: Please see /dev/null. = (from the gentoo installer FAQ) = \o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Mon Dec 11 11:51:50 2006 From: nagios-user at proy.org (Patrick Proy) Date: Mon, 11 Dec 2006 11:51:50 +0100 Subject: ePN error In-Reply-To: References: Message-ID: <20061211105150.B5CAB1953BE@mail.proy.org> Hi, Download latest version 1.4.3 of the script : http://www.manubulon.com/nagios/check_snmp_int.pl This should fix the problem. Patrick http://www.manubulon.com/nagios/ -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Ciro Iriarte Envoy? : lundi 11 d?cembre 2006 06:11 ? : nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] ePN error "Patrick Proy" escribis en el mensaje news:20061207222542.C07991953BE at mail.proy.org... Hi, I agree with S. Hopcroft, it must be a script error. I suspect that you use performance output (-k option) : is it the case ? Could you send the options you use with the script ? (command + service definition ?) and the return of the script with -v option using these options. Patrick http://www.manubulon.com/nagios/ Thanks for your answer, here's the info you requested: - Service definition define service{ use routers-template service_description Trafico Intf 11 ENC host_name rouasusis01 contact_groups operaciones check_command check_snmp_int!not_real_community!Serial3 event_handler ins2tt event_handler_enabled 1 } - Command definition define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ -r -f -e } - On commandline: -- Working case asusis-ope2:/usr/lib/nagios/plugins # ./check_snmp_int.pl -H rouasusis01 -C not_real_community -n Serial1 -r -f -e Serial1:UP:1 UP: OK | 'Serial1_in_octet'=312860304c 'Serial1_out_octet'=310979079c 'Serial1_in_error'=583c 'Serial1_in_discard'=0c 'Serial1_out_error'=0c 'Serial1_out_discard'=0c -- Giving critical asusis-ope2:/usr/lib/nagios/plugins # ./check_snmp_int.pl -H rouasusis01 -C not_real_community -n Serial3 -r -f -e Use of uninitialized value in print at ./check_snmp_int.pl line 610. Serial3:DOWN: 1 int NOK : CRITICAL | Ciro ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Mon Dec 11 11:56:47 2006 From: nagios-user at proy.org (Patrick Proy) Date: Mon, 11 Dec 2006 11:56:47 +0100 Subject: Using check_snmp_int.pl to query Windows networkinterface In-Reply-To: <6b8cee7e0612102039v39d2ae65kcc6f24d8083ddb8a@mail.gmail.com> References: <6b8cee7e0612102039v39d2ae65kcc6f24d8083ddb8a@mail.gmail.com> Message-ID: <20061211105647.556CC1953BE@mail.proy.org> Hi, This NULL problem should have been corrected in version 1.4.1 and later. Try updating your version : http://www.manubulon.com/nagios/check_snmp_int.pl Regards, Patrick http://www.manubulon.com/nagios/ ________________________________ De : Peter Edmonds [mailto:termx23 at gmail.com] Envoy? : lundi 11 d?cembre 2006 05:39 ? : Patrick Proy Cc : nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] Using check_snmp_int.pl to query Windows networkinterface On 12/11/06, Patrick Proy < nagios-user at proy.org > wrote: Hi, Replace line 562 in the script with : $descr[$i] =~ s/'\/\(\)/_/g; Hi Patrick, I changed check_snmp_int.pl at line 562 as suggested - no change in behaviour unfortunately. Looking at the line above it should work. I have resorted to using sed and tr like this check_snmp_int.pl -H $HOSTADDRESS$ -C public -n $ARG1$ -B -f -w 0,0 -c 0,0 | sed 's/\//_/g' | sed 's/\///g' | sed 's/'\('R'\)'//g' | sed 's/Intel PRO_1000 CT Network Connection*/eth0/g' | tr -d '\0' For some reason, the output from check_snmp_int.pl contained NULL characters (HEX 00) like this eth0NULL:UP:1 UP: OK | 'eth0NULL_in_octet'=3167298692c 'eth0NULL_out_octet'=2854496598c The NULLs caused the output to be truncated. I think this was a product of the SNMP description, not check_snmp_int.pl itself. The NULLS only occur against Windows machines.Doing check_snmp_int.pl -H $HOSTADDRESS$ -C public -n "Intel\(R\) PRO\/1000 CT*" -B -f -w 0,0 -c 0,0 | od -t c generated this 0000000 I n t e l ( R ) P R O / 1 0 0 0000020 0 C T N e t w o r k C o n 0000040 n e c t i o n \0 : U P : 1 U P 0000060 : O K | ' I n t e l ( R ) 0000100 P R O / 1 0 0 0 C T N e t 0000120 w o r k C o n n e c t i o n \0 0000140 _ i n _ o c t e t ' = 3 3 9 4 9 0000160 0 0 9 4 2 c ' I n t e l ( R ) 0000200 P R O / 1 0 0 0 C T N e t 0000220 w o r k C o n n e c t i o n \0 0000240 _ o u t _ o c t e t ' = 3 0 2 0 0000260 2 2 6 1 7 4 c \n 0000270 The NULLS are \0 in the above output. Stupid Windows. The performance data now displays properly. Hope this help someone else. Peter ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Mon Dec 11 13:03:11 2006 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Mon, 11 Dec 2006 13:03:11 +0100 Subject: looking for a nagios add-on (if exists) Message-ID: <457D48FF.2030109@sertec-si.com> Hi! i'm looking for some kind of nagios add-on that allows me to add comments at Nagios home page about hosts interventions or different issues. For example, if a host will be down for maintenance next Friday at 9:00 AM., i want to see it at Nagios home. Anyone knows about some app that does it? Thanks! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Vignesh.Kumar at in.flextronics.com Mon Dec 11 13:10:14 2006 From: Vignesh.Kumar at in.flextronics.com (Vignesh Kumar) Date: Mon, 11 Dec 2006 20:10:14 +0800 Subject: looking for a nagios add-on (if exists) In-Reply-To: <457D48FF.2030109@sertec-si.com> References: <457D48FF.2030109@sertec-si.com> Message-ID: Hi Jesus, There is an option called Scheduled Down time in Nagios where you can schedule your maintenance for your server. If you want to add comments to the servers then you have to edit the etc/hostextinfo.cfg file. Suppose if you want to show the Windows Image in the server then you have to edit the file. Thanks & Regards, P.Vignesh Kumar -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jes?s Oliv?n Sent: Monday, December 11, 2006 5:33 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] looking for a nagios add-on (if exists) Hi! i'm looking for some kind of nagios add-on that allows me to add comments at Nagios home page about hosts interventions or different issues. For example, if a host will be down for maintenance next Friday at 9:00 AM., i want to see it at Nagios home. Anyone knows about some app that does it? Thanks! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Mon Dec 11 13:16:42 2006 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Mon, 11 Dec 2006 13:16:42 +0100 Subject: looking for a nagios add-on (if exists) In-Reply-To: References: Message-ID: <457D4C2A.50306@sertec-si.com> Hi Vignesh, i know what yiu are taliking about, but my idea is to implement some kind of front-end add-on where i can visualize "Planified downtimes for all hosts (or single host)" involved in a sheduled downtime. It must appears at nagios home, then when i login at nagios, these "planified downtimes" will be the first to appear. Thanks for your response =) Vignesh Kumar escribi?: > > Hi Jesus, > > > > There is an option called Scheduled Down time in Nagios where you can > schedule your maintenance for your server. If you want to add comments > to the servers then you have to edit the etc/hostextinfo.cfg file. > Suppose if you want to show the Windows Image in the server then you > have to edit the file. > > > > Thanks & Regards, > > > > P.Vignesh Kumar > > > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jes?s > Oliv?n > Sent: Monday, December 11, 2006 5:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] looking for a nagios add-on (if exists) > > > > Hi! > > > > i'm looking for some kind of nagios add-on that allows me to add > > comments at Nagios home page about hosts interventions or different > > issues. For example, if a host will be down for maintenance next Friday > > at 9:00 AM., i want to see it at Nagios home. Anyone knows about some > > app that does it? > > > > Thanks! > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > Legal Disclaimer: The information contained in this message may be > privileged and confidential. It is intended to be read only by the > individual or entity to whom it is addressed or by their designee. If > the reader of this message is not the intended recipient, you are on > notice that any distribution of this message, in any form, is strictly > prohibited. If you have received this message in error, please > immediately notify the sender and delete or destroy any copy of this > message ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Vignesh.Kumar at in.flextronics.com Mon Dec 11 13:20:31 2006 From: Vignesh.Kumar at in.flextronics.com (Vignesh Kumar) Date: Mon, 11 Dec 2006 20:20:31 +0800 Subject: looking for a nagios add-on (if exists) In-Reply-To: <457D4C2A.50306@sertec-si.com> References: <457D4C2A.50306@sertec-si.com> Message-ID: Hi Jesus, You can modify the index.html page and so that your startup page will be the scheduled downtime page. This file will be available in /usr/local/nagios/share directory. Thanks & Regards, P.Vignesh Kumar -----Original Message----- From: Jes?s Oliv?n [mailto:jolivan at sertec-si.com] Sent: Monday, December 11, 2006 5:47 PM To: Vignesh Kumar Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] looking for a nagios add-on (if exists) Hi Vignesh, i know what yiu are taliking about, but my idea is to implement some kind of front-end add-on where i can visualize "Planified downtimes for all hosts (or single host)" involved in a sheduled downtime. It must appears at nagios home, then when i login at nagios, these "planified downtimes" will be the first to appear. Thanks for your response =) Vignesh Kumar escribi?: > > Hi Jesus, > > > > There is an option called Scheduled Down time in Nagios where you can > schedule your maintenance for your server. If you want to add comments > to the servers then you have to edit the etc/hostextinfo.cfg file. > Suppose if you want to show the Windows Image in the server then you > have to edit the file. > > > > Thanks & Regards, > > > > P.Vignesh Kumar > > > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jes?s > Oliv?n > Sent: Monday, December 11, 2006 5:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] looking for a nagios add-on (if exists) > > > > Hi! > > > > i'm looking for some kind of nagios add-on that allows me to add > > comments at Nagios home page about hosts interventions or different > > issues. For example, if a host will be down for maintenance next Friday > > at 9:00 AM., i want to see it at Nagios home. Anyone knows about some > > app that does it? > > > > Thanks! > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > Legal Disclaimer: The information contained in this message may be > privileged and confidential. It is intended to be read only by the > individual or entity to whom it is addressed or by their designee. If > the reader of this message is not the intended recipient, you are on > notice that any distribution of this message, in any form, is strictly > prohibited. If you have received this message in error, please > immediately notify the sender and delete or destroy any copy of this > message Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samfraser at yahoo.co.uk Mon Dec 11 13:21:20 2006 From: samfraser at yahoo.co.uk (Sam Fraser) Date: Mon, 11 Dec 2006 12:21:20 +0000 (GMT) Subject: Forbidden access to server Message-ID: <20061211122120.85758.qmail@web23114.mail.ird.yahoo.com> For some reason my webserver can't get access to the nagios html files. I've given 777 access to all the files in /usr/local/nagios/* and I've run the web server as the owner of these files, but to no avail, any ideas? This is what I get when i run http://localhost/nagios You don't have permission to access /nagios/ on this server. Sam Fraser Reading UK ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Mon Dec 11 13:23:06 2006 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Mon, 11 Dec 2006 13:23:06 +0100 Subject: looking for a nagios add-on (if exists) In-Reply-To: References: Message-ID: <457D4DAA.7000000@sertec-si.com> ok, this is the simpliest solution... i'm the dumbest o:) Thanks for your help! Vignesh Kumar escribi?: > Hi Jesus, > > > > > > You can modify the index.html page and so that your startup page will be the scheduled downtime page. This file will be available in /usr/local/nagios/share directory. > > > > > > Thanks & Regards, > > > > > > P.Vignesh Kumar > > > > > > > > > -----Original Message----- > > > From: Jes?s Oliv?n [mailto:jolivan at sertec-si.com] > > > Sent: Monday, December 11, 2006 5:47 PM > > > To: Vignesh Kumar > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] looking for a nagios add-on (if exists) > > > > > > Hi Vignesh, > > > > > > i know what yiu are taliking about, but my idea is to implement some > > > kind of front-end add-on where i can visualize "Planified downtimes for > > > all hosts (or single host)" involved in a sheduled downtime. It must > > > appears at nagios home, then when i login at nagios, these "planified > > > downtimes" will be the first to appear. > > > > > > Thanks for your response =) > > > > > > Vignesh Kumar escribi?: > > > > > > >> Hi Jesus, >> > > > > > > >> >> > > > > > > >> There is an option called Scheduled Down time in Nagios where you can >> > > > >> schedule your maintenance for your server. If you want to add comments >> > > > >> to the servers then you have to edit the etc/hostextinfo.cfg file. >> > > > >> Suppose if you want to show the Windows Image in the server then you >> > > > >> have to edit the file. >> > > > > > > >> >> > > > > > > >> Thanks & Regards, >> > > > > > > >> >> > > > > > > >> P.Vignesh Kumar >> > > > > > > >> >> > > > > > > >> >> > > > > > > >> -----Original Message----- >> > > > >> From: nagios-users-bounces at lists.sourceforge.net >> > > > >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jes?s >> > > > >> Oliv?n >> > > > >> Sent: Monday, December 11, 2006 5:33 PM >> > > > >> To: nagios-users at lists.sourceforge.net >> > > > >> Subject: [Nagios-users] looking for a nagios add-on (if exists) >> > > > > > > >> >> > > > > > > >> Hi! >> > > > > > > >> >> > > > > > > >> i'm looking for some kind of nagios add-on that allows me to add >> > > > > > > >> comments at Nagios home page about hosts interventions or different >> > > > > > > >> issues. For example, if a host will be down for maintenance next Friday >> > > > > > > >> at 9:00 AM., i want to see it at Nagios home. Anyone knows about some >> > > > > > > >> app that does it? >> > > > > > > >> >> > > > > > > >> Thanks! >> > > > > > > >> >> > > > > > > >> ------------------------------------------------------------------------- >> > > > > > > >> Take Surveys. Earn Cash. Influence the Future of IT >> > > > > > > >> Join SourceForge.net's Techsay panel and you'll get the chance to >> > > > >> share your >> > > > > > > >> opinions on IT & business topics through brief surveys - and earn cash >> > > > > > > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> > > > > > > >> _______________________________________________ >> > > > > > > >> Nagios-users mailing list >> > > > > > > >> Nagios-users at lists.sourceforge.net >> > > > > > > >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > > > > > >> ::: Please include Nagios version, plugin version (-v) and OS when >> > > > >> reporting any issue. >> > > > > > > >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > > > >> Legal Disclaimer: The information contained in this message may be >> > > > >> privileged and confidential. It is intended to be read only by the >> > > > >> individual or entity to whom it is addressed or by their designee. If >> > > > >> the reader of this message is not the intended recipient, you are on >> > > > >> notice that any distribution of this message, in any form, is strictly >> > > > >> prohibited. If you have received this message in error, please >> > > > >> immediately notify the sender and delete or destroy any copy of this >> > > > >> message >> > > > > > > > > > Legal Disclaimer: > > The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message > > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Dec 11 13:26:21 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 11 Dec 2006 12:26:21 +0000 Subject: looking for a nagios add-on (if exists) In-Reply-To: <457D48FF.2030109@sertec-si.com> References: <457D48FF.2030109@sertec-si.com> Message-ID: <457D4E6D.6060609@mailnetwork.co.uk> Nagios Looking Glass will have this functionality - check out http://looking-glass.andyshellam.eu - that (currently) has a host comment added in Nagios that shows as a message box, but only if you append "#NLG:" to the comment in Nagios, so you can still retain "private"/internal comments. Andy. Jes?s Oliv?n wrote: > Hi! > > i'm looking for some kind of nagios add-on that allows me to add > comments at Nagios home page about hosts interventions or different > issues. For example, if a host will be down for maintenance next Friday > at 9:00 AM., i want to see it at Nagios home. Anyone knows about some > app that does it? > > Thanks! > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,457d497340415769311169! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Dec 11 13:52:23 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 11 Dec 2006 12:52:23 +0000 Subject: Changing output of bind In-Reply-To: References: Message-ID: <457D5487.4@mailnetwork.co.uk> From my experience as a programmer, if you don't know why you're doing something, it's impossible to do it correctly. The example you've shown us is a zone file. It only returns the relevant part of the zone in answer to a query - so if a user requests, "wwww." they will get "wwww IN A 195.110.192.3" returned. I think what you've been asked to do is try and catch all spelling errors of a request, so if user types in "wwww.yourdomain.com" instead of "www.domain.com" they will get the correct record. This is a different thing to rewriting the named output, and the answer lies in creating additional records for each "mistake" possibility in your zone file either through scripting or manual input. RZ wrote: > Hi, > > i'm a dns newbie but a (medium experienced) c programmer. > I was told to change named output in that way that it will return > something like the following example (if i remember things right it > should give an authoritative answer for domains contained in a file). I > _thought_ it would not be too much an effort to change the named output > in an appropriate way - but at the moment i'm really lost. > > What the use of this ? - i honestly don't know. > > > ; @(#)named.hosts,v 6.1 1993/08/25 16:51:44 stevea Exp - STREAMware > TCP/IP source > ; SCCS IDENTIFICATION > ; > ; BIOS > ; > > @ IN SOA ns1.web.at. hostmaster.biosnet.at. ( > 2006090101 ; Serial > 28800 ; Refresh > 7200 ; Retry > 604800 ; Expire > 86400) ; Minimum > IN NS ns1.web.at. > IN NS ns2.web.at. > IN A 195.110.192.3 > IN TXT "v=spf1 -all" > > ; > > ; > ww IN A 195.110.192.3 > www IN A 195.110.192.3 > wwww IN A 195.110.192.3 > www2 IN A 195.110.192.3 > ; > > > > >> It might help if you explain what you're trying to achieve by doing this. >> >> When a host requests "www.*" then it'll be given the appropriate records >> > >from your zone file. > >> If a client requests a different host but gets "www" instead it'll >> confuse things. >> > > !DSPAM:37,457d52da30865856815904! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Mon Dec 11 15:34:24 2006 From: knobdy at gmail.com (Brian Loe) Date: Mon, 11 Dec 2006 08:34:24 -0600 Subject: looking for a nagios add-on (if exists) In-Reply-To: <457D4E6D.6060609@mailnetwork.co.uk> References: <457D48FF.2030109@sertec-si.com> <457D4E6D.6060609@mailnetwork.co.uk> Message-ID: <3c4611bc0612110634i69b3df90k103322c35d3ec7c9@mail.gmail.com> On 12/11/06, Andy Shellam (Mailing Lists) wrote: > Nagios Looking Glass will have this functionality - check out > http://looking-glass.andyshellam.eu - that (currently) has a host > comment added in Nagios that shows as a message box, but only if you > append "#NLG:" to the comment in Nagios, so you can still retain > "private"/internal comments. > > Andy. > That looks pretty slick! When will it be out? Is it compatible with Fruity (or is Fruity compatible with it)? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Mon Dec 11 15:35:29 2006 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Mon, 11 Dec 2006 15:35:29 +0100 Subject: Applicable servicedependency definition for cluster services Message-ID: Dear Nagios Experts, I am currently deliberating over sensible service dependency definitions for clustered applications in order to reduce the amount of emitted notifications in case of a failover or outage. For a start I want to keep it simple and take one of our less sophisticated clusters which is merely a two node active/standby Linux Heartbeat cluster that hosts a webserver. Let's assume that NodeA and NodeB be the hostnames, VIP the designator for the virtual IP address of the webserver, and Apache the name of this HA service. I already defined a service that I called Heartbeat which is monitored by my Nagios server for all of our Heartbeat clusters (i.e. those belongig to hostgroup heartbeat_hosts). The related check_command only verifies that the Heartbeat service on both NodeA and NodeB is still running. If for some reason Heartbeat is stopped on NodeA where Apache is currently servicing clients, Apache is also torn down on NodeA, and given that Heartbeat is still running on the standby node NodeB, it is attempted to being brought up on NodeB, viz. failed over. Thus a notification of a failed Heartbeat should suffice I beleive under these circumstances. I then would start with some dependency definition like this define servicedependency { dependant_host VIP host_name NodeA, NodeB dependant_service_description Apache service_description Heartbeat execution_failure_criteria c,u notification_failure_criteria c,u } The pre-flight check (i.e. nagios -v ...) doesn't report any errors. Yet, I am not quite convinced if this will work as I intended? Are there any sample configurations for clustered services and dependencies, also for the more sophisticated active/active clusters whith multiple interdependencies between clustered packages' or service groups' services, because I have quite a few HP MC/ServiceGuard and Veritas Cluster Servers with lots of applications to monitor? (n.b. the VCS clusters even allow for traps to be generated that could be processed by some passive checks I would assume) Regards Ralph ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjl at topdanmark.dk Mon Dec 11 15:41:46 2006 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Mon, 11 Dec 2006 15:41:46 +0100 Subject: Snmp - How do you use yours? Check your antivirus DATfile age In-Reply-To: <456FDF3E.5020406@vum.at> References: <456FDF3E.5020406@vum.at> Message-ID: Hi list, I had a lot of people asking me how to check the age of the antivirus dat file via SNMP. It is only possible to do so if you can get som values to read via SNMP. Our mail system supports snmp, therefore it also supports snmp for values like the antivirusDATfile number. So you can read the DATfile and then you can also get the difference when it has changed or been updated, You can then setup a criteria to get an alarm/warning if it has not been changed since 48 hours. We get 4 different DATfiles to 4 differnet scanners, so if just one of them is updated = all good = then I do not get an alarm. So all in all it?s simply just to check if a value has not been changed for x hours. Best regards Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 11 15:51:23 2006 From: marc at ena.com (Marc Powell) Date: Mon, 11 Dec 2006 08:51:23 -0600 Subject: Changing output of bind Message-ID: I'm not sure how this ended up on nagios-users but it looks like the OP might just need to create a wildcard DNS record -- * IN A 195.110.192.3 Any unknown host records would then resolve to that IP. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andy Shellam (Mailing Lists) > Sent: Monday, December 11, 2006 6:52 AM > To: RZ; Nagios Users mailinglist > Subject: Re: [Nagios-users] Changing output of bind > > From my experience as a programmer, if you don't know why you're doing > something, it's impossible to do it correctly. > > The example you've shown us is a zone file. > It only returns the relevant part of the zone in answer to a query - so > if a user requests, "wwww." they will get "wwww IN A > 195.110.192.3" returned. > > I think what you've been asked to do is try and catch all spelling > errors of a request, so if user types in "wwww.yourdomain.com" instead > of "www.domain.com" they will get the correct record. > This is a different thing to rewriting the named output, and the answer > lies in creating additional records for each "mistake" possibility in > your zone file either through scripting or manual input. > > RZ wrote: > > Hi, > > > > i'm a dns newbie but a (medium experienced) c programmer. > > I was told to change named output in that way that it will return > > something like the following example (if i remember things right it > > should give an authoritative answer for domains contained in a file). I > > _thought_ it would not be too much an effort to change the named output > > in an appropriate way - but at the moment i'm really lost. > > > > What the use of this ? - i honestly don't know. > > > > > > ; @(#)named.hosts,v 6.1 1993/08/25 16:51:44 stevea Exp - STREAMware > > TCP/IP source > > ; SCCS IDENTIFICATION > > ; > > ; BIOS > > ; > > > > @ IN SOA ns1.web.at. hostmaster.biosnet.at. ( > > 2006090101 ; Serial > > 28800 ; Refresh > > 7200 ; Retry > > 604800 ; Expire > > 86400) ; Minimum > > IN NS ns1.web.at. > > IN NS ns2.web.at. > > IN A 195.110.192.3 > > IN TXT "v=spf1 -all" > > > > ; > > > > ; > > ww IN A 195.110.192.3 > > www IN A 195.110.192.3 > > wwww IN A 195.110.192.3 > > www2 IN A 195.110.192.3 > > ; > > > > > > > > > >> It might help if you explain what you're trying to achieve by doing > this. > >> > >> When a host requests "www.*" then it'll be given the appropriate > records > >> > > >from your zone file. > > > >> If a client requests a different host but gets "www" instead it'll > >> confuse things. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Dec 11 15:53:20 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 11 Dec 2006 14:53:20 +0000 Subject: looking for a nagios add-on (if exists) In-Reply-To: <3c4611bc0612110634i69b3df90k103322c35d3ec7c9@mail.gmail.com> References: <457D48FF.2030109@sertec-si.com> <457D4E6D.6060609@mailnetwork.co.uk> <3c4611bc0612110634i69b3df90k103322c35d3ec7c9@mail.gmail.com> Message-ID: <457D70E0.7090107@mailnetwork.co.uk> Ummm Fruity?? Don't know what that is! NLG is confirmed to work with Nagios 2.4 - 2.5 (2.6 is in testing.) There are reports of it working with "Orion", but again I've not used it. NLG should be out for general public beta-ing in 1-2 weeks time, with an official release date of 1.0 on 2nd January. Andy. Brian Loe wrote: > On 12/11/06, Andy Shellam (Mailing Lists) > wrote: >> Nagios Looking Glass will have this functionality - check out >> http://looking-glass.andyshellam.eu - that (currently) has a host >> comment added in Nagios that shows as a message box, but only if you >> append "#NLG:" to the comment in Nagios, so you can still retain >> "private"/internal comments. >> >> Andy. >> > > > That looks pretty slick! When will it be out? Is it compatible with > Fruity (or is Fruity compatible with it)? > > !DSPAM:37,457d6c7830868863488908! > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 11 15:57:11 2006 From: marc at ena.com (Marc Powell) Date: Mon, 11 Dec 2006 08:57:11 -0600 Subject: Forbidden access to server Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sam Fraser > Sent: Monday, December 11, 2006 6:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Forbidden access to server > > For some reason my webserver can't get access to the nagios html files. > I've given 777 access to all the files in /usr/local/nagios/* and I've run > the web server as the owner of these files, but to no avail, any ideas? > > This is what I get when i run http://localhost/nagios > > You don't have permission to access /nagios/ on this server. OS/Version/apache error log information? 100% arbitrary semi-educated guess would be that your OS uses SELinux, you have it enabled and you haven't used chcon/chattr to allow web/cgi context to the nagios web files. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Dec 11 16:16:28 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 11 Dec 2006 15:16:28 +0000 Subject: Changing output of bind In-Reply-To: References: Message-ID: <457D764C.6030607@mailnetwork.co.uk> Marc Powell wrote: > I'm not sure how this ended up on nagios-users :$ Oops my bad, I've been flitting between posting on nagios-users and bind-users all day - sorry! More coffee is required methinks..... Andy. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Mon Dec 11 16:25:59 2006 From: javier.rojasr at gmail.com (javier rojas) Date: Mon, 11 Dec 2006 11:25:59 -0400 Subject: problem installing nagios 2.6 In-Reply-To: References: Message-ID: <773acc7b0612110725w1849c1e5w1d70b6a9424cdb5d@mail.gmail.com> sorry to trouble again folks, but i cannot seem to be able to make it work... i've tried make install-config before and after make install-init and in both cases i have the same problem.... it actually creates the /etc folder but inside its only: cgi.cfg-sample commands.cfg-sample localhost.cfg-sample nagios.cfg-sample resource.cfg-sample and when i try to browse to localhost/nagios i get a server error because theres no: /usr/local/nagios/etc/htpasswd.users on my /etc directory.... i know im a newbie but i really followed the instructions and couldn get it to work....so if anyone can see my istake i would really appreciate it.... -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) --Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 11 16:43:08 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Mon, 11 Dec 2006 16:43:08 +0100 Subject: problem installing nagios 2.6 In-Reply-To: <773acc7b0612110725w1849c1e5w1d70b6a9424cdb5d@mail.gmail.com> References: <773acc7b0612110725w1849c1e5w1d70b6a9424cdb5d@mail.gmail.com> Message-ID: <457D7C8C.8050303@gmx.net> javier rojas schrieb: > sorry to trouble again folks, but i cannot seem to be able to make it work... > > i've tried make install-config before and after make install-init and > in both cases i have the same problem.... > No... not realy a problem. > it actually creates the /etc folder but inside its only: > cgi.cfg-sample commands.cfg-sample localhost.cfg-sample > nagios.cfg-sample resource.cfg-sample > These are the sample config files. You did it! Perhaps you can rename them to *.cfg (so: without -sample) > and when i try to browse to localhost/nagios > i get a server error because theres no: > /usr/local/nagios/etc/htpasswd.users > Than just create it? http://nagios.sourceforge.net/docs/2_0/cgiauth.html and http://nagios.sourceforge.net/docs/2_0/installweb.html > on my /etc directory.... > Did you mean "/etc" or "/usr/local/nagios/etc" ? > i know im a newbie but i really followed the instructions and couldn > get it to work....so if anyone can see my istake i would really > appreciate it.... > > I don't think that there are mistakes... just a lot of trees in the wood ;) Give the online documentation a few more time... it is really good. Best wishes Hendrik ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Mon Dec 11 16:58:03 2006 From: javier.rojasr at gmail.com (javier rojas) Date: Mon, 11 Dec 2006 11:58:03 -0400 Subject: problem installing nagios 2.6 In-Reply-To: <457D7C8C.8050303@gmx.net> References: <773acc7b0612110725w1849c1e5w1d70b6a9424cdb5d@mail.gmail.com> <457D7C8C.8050303@gmx.net> Message-ID: <773acc7b0612110758v48a6134y5bf9774b62a0d0db@mail.gmail.com> sorry to all...and thank you it's really embarrasing to post a stu.. question... -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) --Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Dec 11 17:05:25 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 11 Dec 2006 16:05:25 +0000 Subject: problem installing nagios 2.6 In-Reply-To: <773acc7b0612110758v48a6134y5bf9774b62a0d0db@mail.gmail.com> References: <773acc7b0612110725w1849c1e5w1d70b6a9424cdb5d@mail.gmail.com> <457D7C8C.8050303@gmx.net> <773acc7b0612110758v48a6134y5bf9774b62a0d0db@mail.gmail.com> Message-ID: <457D81C5.3030206@mailnetwork.co.uk> Not at all, that's what the list's here for :) javier rojas wrote: > sorry to all...and thank you > > it's really embarrasing to post a stu.. question... > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikhollo at cisco.com Mon Dec 11 17:36:28 2006 From: mikhollo at cisco.com (Mike Holloway) Date: Mon, 11 Dec 2006 10:36:28 -0600 Subject: big performance issue with Nagios 2.5 In-Reply-To: References: Message-ID: <8C917597-A286-4483-82C4-C598FF2A8637@cisco.com> In nagios.cfg, what values are you using for service_reaper_frequency and sleep_time? I'm using service_reaper_frequency=5 and sleep_time=1 for about 10 hosts and 200 services. You might need to adjust your service_reaper_frequency down from the default with as many services as you are checking. -mike On Dec 11, 2006, at 1:33 AM, Daniel Meyer wrote: > Hi everyone, > > i've ran into a somewhat anoying issue with nagios. First, this is my > setup: > > - Dual Xeon 2.8 HT server running an up to date CentOS 4.4, nagios 2.5 > (rpm from Dag Wieers) and checking approx. 285 hosts and 1500 services > - active host checks are off > - host check is replaced by a dummy shell script which just says "ok" > - approx. 15 services are critical, another 15 warning. > > So, whats the issue? When i came back into the office this morning > i found > nagios having a service check latency of about 350 sec (maximum and > also > average). I've had this last week to, and its "fixed" by simply > restarting > the nagios daemon. > > I've set up some performance monitoring of nagios and the general > linux > system, and this is what i see: > > - The load goes up to 2-2.5 within 12h of nagios running (not the > peaks, > but the 15 minute average) > - nagios runs fine for about 15-18 hours (not general numbers, but > what > happened this weekend) > - no unusual notifications over the whole weekend > > Any ideas where to look? > -- > Q: Gentoo is too hard to install = http:// > www.cyberdelia.de > and I feel like whining. = > eagle at cyberdelia.de > A: Please see /dev/null. = > (from the gentoo installer FAQ) > = \o/ > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lanning at lanning.cc Mon Dec 11 18:37:32 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Mon, 11 Dec 2006 09:37:32 -0800 (PST) Subject: big performance issue with Nagios 2.5 In-Reply-To: References: Message-ID: <52001.192.168.128.27.1165858652.squirrel@ssl.monsoonwind.com> > So, whats the issue? When i came back into the office this > morning i found nagios having a service check latency of about > 350 sec (maximum and also average). I've had this last week to, > and its "fixed" by simply restarting the nagios daemon. > > I've set up some performance monitoring of nagios and the general > linux system, and this is what i see: > > - The load goes up to 2-2.5 within 12h of nagios running (not the > peaks, but the 15 minute average) > - nagios runs fine for about 15-18 hours (not general numbers, > but what happened this weekend) > - no unusual notifications over the whole weekend > > Any ideas where to look? That is interesting. I have 2.5 running on an Sun E250 with Sol8. I have a constant CPU utilization of 45% in kernel. Constant load average of 2 - 2.5. (with two CPUs) This is for 83 hosts and 693 services, with 3 minute intervals. Service latency will jump to 300's after about 3 days. I have a cron job that restarts Nagios twice a week. I have scheduling not carried across restarts. My theory is that Solaris is having issues forking all the checks. Does anyone know if Solaris does "copy on write" for the process memory when forking? I use a lot of ePN checks. -- And, did Galoka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 11 18:55:35 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 11 Dec 2006 18:55:35 +0100 (CET) Subject: Forbidden access to server In-Reply-To: <20061211122120.85758.qmail@web23114.mail.ird.yahoo.com> References: <20061211122120.85758.qmail@web23114.mail.ird.yahoo.com> Message-ID: On Mon, 11 Dec 2006, Sam Fraser wrote: > For some reason my webserver can't get access to the nagios html files. I've given 777 access to all the files in /usr/local/nagios/* and I've run the web server as the owner of these files, but to no avail, any ideas? Setting access right like this is almost similar to leaving the key under the garbage bin. Anyone can find it and walk in. Hugo. ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ddunham at taos.com Mon Dec 11 19:37:59 2006 From: ddunham at taos.com (Darren Dunham) Date: Mon, 11 Dec 2006 10:37:59 -0800 (PST) Subject: big performance issue with Nagios 2.5 In-Reply-To: <52001.192.168.128.27.1165858652.squirrel@ssl.monsoonwind.com> from "Robert Hajime Lanning" at Dec 11, 2006 09:37:32 AM References: <52001.192.168.128.27.1165858652.squirrel@ssl.monsoonwind.com> Message-ID: <200612111837.KAA20668@redwood.taos.com> > > > So, whats the issue? When i came back into the office this > > morning i found nagios having a service check latency of about > > 350 sec (maximum and also average). I've had this last week to, > > and its "fixed" by simply restarting the nagios daemon. > That is interesting. I have 2.5 running on an Sun E250 with Sol8. > I have a constant CPU utilization of 45% in kernel. Constant load > average of 2 - 2.5. (with two CPUs) > > This is for 83 hosts and 693 services, with 3 minute intervals. > > Service latency will jump to 300's after about 3 days. I have a > cron job that restarts Nagios twice a week. I have scheduling > not carried across restarts. > > My theory is that Solaris is having issues forking all the checks. > Does anyone know if Solaris does "copy on write" for the process > memory when forking? I use a lot of ePN checks. It does COW in a lot of situations, but most of the time you follow up with an exec, so almost no writes occur before a new process overwrites it anyway. Also, there's no way that a normal fork is going to be contributing more than an insignificant amount to a 350 second delay. At 45% system CPU, something else is occuring. Is the machine out of memory and swapping? Is one of the scripts fork bombing or respawing a single child that exits rapidly? (I might use 'top' and watch how fast the 'last PID' is increasing.) -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ics-il.net Mon Dec 11 23:30:59 2006 From: nagios-users at ics-il.net (Mike Hammett) Date: Mon, 11 Dec 2006 16:30:59 -0600 Subject: Nagios database support Message-ID: <02f201c71d74$08ec1550$0f01010a@Hammett.local> What happened to Nagios support for MySQL? ---- Mike Hammett Intelligent Computing Solutions http://www.ics-il.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 11 23:47:15 2006 From: marc at ena.com (Marc Powell) Date: Mon, 11 Dec 2006 16:47:15 -0600 Subject: Nagios database support Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mike Hammett > Sent: Monday, December 11, 2006 4:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios database support > > What happened to Nagios support for MySQL? http://nagios.sourceforge.net/docs/2_0/whatsnew.html - Number 14. For _much_ more information, search the archives. If you need database support, look for ndoutils, nagios-db or write your own event_broker module. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ics-il.net Tue Dec 12 00:16:35 2006 From: nagios-users at ics-il.net (Mike Hammett) Date: Mon, 11 Dec 2006 17:16:35 -0600 Subject: Nagios database support References: Message-ID: <037401c71d7a$67642360$0f01010a@Hammett.local> darn offlist replies. ;-) I do apologize. With the frequency that open source projects are poorly documented, I just assumed it was in the current documentation. The page I saw it on was http://nagios.sourceforge.net/docs/1_0/xdata-db.html therefore, version 1's documentation. I appreciate your assistance. Maybe nagios-users is one of the better user support lists. ---- Mike Hammett Intelligent Computing Solutions http://www.ics-il.com ----- Original Message ----- From: "Marc Powell" To: Sent: Monday, December 11, 2006 4:47 PM Subject: Re: [Nagios-users] Nagios database support > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Mike Hammett >> Sent: Monday, December 11, 2006 4:31 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagios database support >> >> What happened to Nagios support for MySQL? > > http://nagios.sourceforge.net/docs/2_0/whatsnew.html - Number 14. > > For _much_ more information, search the archives. > > If you need database support, look for ndoutils, nagios-db or write your > own event_broker module. > > -- > Marc > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ics-il.net Tue Dec 12 00:17:06 2006 From: nagios-users at ics-il.net (Mike Hammett) Date: Mon, 11 Dec 2006 17:17:06 -0600 Subject: Nagios database support References: Message-ID: <038101c71d7a$79f47cf0$0f01010a@Hammett.local> Darn offlist replies. ;-) An archive didn't reveal much, though through some Googling I found some alternative methods. I was hoping for an official method, but I guess not. I recommend that the documentation stop referring to database support if it no longer exists. ---- Mike Hammett Intelligent Computing Solutions http://www.ics-il.com ----- Original Message ----- From: "Marc Powell" To: Sent: Monday, December 11, 2006 4:47 PM Subject: Re: [Nagios-users] Nagios database support > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Mike Hammett >> Sent: Monday, December 11, 2006 4:31 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagios database support >> >> What happened to Nagios support for MySQL? > > http://nagios.sourceforge.net/docs/2_0/whatsnew.html - Number 14. > > For _much_ more information, search the archives. > > If you need database support, look for ndoutils, nagios-db or write your > own event_broker module. > > -- > Marc > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Tue Dec 12 00:37:26 2006 From: termx23 at gmail.com (Peter Edmonds) Date: Tue, 12 Dec 2006 10:37:26 +1100 Subject: Using check_snmp_int.pl to query Windows networkinterface In-Reply-To: <20061211105647.556CC1953BE@mail.proy.org> References: <6b8cee7e0612102039v39d2ae65kcc6f24d8083ddb8a@mail.gmail.com> <20061211105647.556CC1953BE@mail.proy.org> Message-ID: <6b8cee7e0612111537v28c73b13k77ff18c3521d03ed@mail.gmail.com> On 12/11/06, Patrick Proy wrote: > > > This NULL problem should have been corrected in version 1.4.1 and later. > Try > updating your version : > http://www.manubulon.com/nagios/check_snmp_int.pl > > > Thanks Patrick ! That fixed the problem. Version 1.4.3 works great and corrects the NULL problem. Peter Edmonds -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From todd.mcneill at pmigroup.com Tue Dec 12 01:42:03 2006 From: todd.mcneill at pmigroup.com (Todd Mcneill) Date: Mon, 11 Dec 2006 16:42:03 -0800 Subject: status map images not displaying Message-ID: <8106CFB7C0DE4E4CB102E4ED2337976904295E40@PMI-HOME01.us.corp.pmigroup.com> Hi- I've just upgraded from Nagios 2.1 to 2.5 using the RPMs from Dag Wieers' site, and the status map images are no longer displaying. The RPMs are for RHEL4, and the original Nagios installation was from Dag's repository, so I was merely upgrading the package. I've checked the config files over a few times, verified the image locations and permissions using a browser, and I've also used the pngtogd2 utility to rebuild the .gd2 images, all to no avail. Does anyone have any insight? Thanks, Todd McNeill ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From petrybr at gmail.com Tue Dec 12 06:19:23 2006 From: petrybr at gmail.com (Petry) Date: Tue, 12 Dec 2006 03:19:23 -0200 Subject: monitoring routers / status map Message-ID: <4a0b40e70612112119ra7846ci73b366d41b8ea9a4@mail.gmail.com> Hello all, first of all, sorry the poor english! im finding a program to monitor the interface of my routers ( up/down ), so i've found nagios. i not installed yet, and just have some questions about how it works: - i need to configure something on the routers?? - how i can use the best of nagios to do that?? - how this method will affect my network ?? - how the status map is created?? automatically or i need to say to nagios what is connected whith what? - i need to register router by router or is there anyway to Nagios look on the net for routers? and what about the interfaces, i need to register all interfaces or just registering the router nagios can find for the interfaces? Resuming i need a software to monitor my network. I have 300+ routers ( 90% cisco ). To start, i need just to monitor the interfaces (up/down) and a map showing the plant is very welcome. In future more options(network usage, rx/tx error control, etc) will be welcome too. Thanks for now, -- Jos? Paulo de Oliveira *PETRY* petrybr at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Tue Dec 12 07:38:47 2006 From: eagle at cyberdelia.de (Daniel Meyer) Date: Tue, 12 Dec 2006 07:38:47 +0100 (CET) Subject: big performance issue with Nagios 2.5 In-Reply-To: <8C917597-A286-4483-82C4-C598FF2A8637@cisco.com> References: <8C917597-A286-4483-82C4-C598FF2A8637@cisco.com> Message-ID: On Mon, 11 Dec 2006, Mike Holloway wrote: > In nagios.cfg, what values are you using for service_reaper_frequency > and sleep_time? I'm using service_reaper_frequency=5 and > sleep_time=1 for about 10 hosts and 200 services. You might need to > adjust your service_reaper_frequency down from the default with as > many services as you are checking. My settings are: service_reaper_frequency=5 sleep_time=0.25 Danny -- Q: Gentoo is too hard to install = http://www.cyberdelia.de and I feel like whining. = eagle at cyberdelia.de A: Please see /dev/null. = (from the gentoo installer FAQ) = \o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Tue Dec 12 07:41:28 2006 From: eagle at cyberdelia.de (Daniel Meyer) Date: Tue, 12 Dec 2006 07:41:28 +0100 (CET) Subject: big performance issue with Nagios 2.5 In-Reply-To: <52001.192.168.128.27.1165858652.squirrel@ssl.monsoonwind.com> References: <52001.192.168.128.27.1165858652.squirrel@ssl.monsoonwind.com> Message-ID: On Mon, 11 Dec 2006, Robert Hajime Lanning wrote: > My theory is that Solaris is having issues forking all the checks. > Does anyone know if Solaris does "copy on write" for the process > memory when forking? I use a lot of ePN checks. my checks split up like this: 700 * "check_nt" 280 * "check_ping" 170 * checks against Netapp Filer (Perl and C) 160 * self written checks against IBM RSA Cards 120 * check_snmp_int.pl 80 * check_esx2.pl 20 * checks against brocade switches (C) Danny -- Q: Gentoo is too hard to install = http://www.cyberdelia.de and I feel like whining. = eagle at cyberdelia.de A: Please see /dev/null. = (from the gentoo installer FAQ) = \o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 12 07:56:35 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 12 Dec 2006 07:56:35 +0100 (CET) Subject: Nagios database support In-Reply-To: <038101c71d7a$79f47cf0$0f01010a@Hammett.local> References: <038101c71d7a$79f47cf0$0f01010a@Hammett.local> Message-ID: On Mon, 11 Dec 2006, Mike Hammett wrote: > Darn offlist replies. ;-) Add topposts and duplicates to the list if you please. > An archive didn't reveal much, though through some Googling I found some > alternative methods. I was hoping for an official method, but I guess not. > > I recommend that the documentation stop referring to database support if it > no longer exists. The documentation of nagios 1.x is accurate for that version. Can you show leftovers from the database support in the 2.x documentation? Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 12 08:05:20 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 12 Dec 2006 08:05:20 +0100 (CET) Subject: monitoring routers / status map In-Reply-To: <4a0b40e70612112119ra7846ci73b366d41b8ea9a4@mail.gmail.com> References: <4a0b40e70612112119ra7846ci73b366d41b8ea9a4@mail.gmail.com> Message-ID: On Tue, 12 Dec 2006, Petry wrote: > im finding a program to monitor the interface of my routers ( up/down ), so > i've found nagios. i not installed yet, and just have some questions about > how it works: > > - i need to configure something on the routers?? Not if you can ping all of them. For additional tricks enable SNMP. > - how i can use the best of nagios to do that?? I failed to understand this one. > - how this method will affect my network ?? extra load on routers and network. But for most it will be less then 0.1% extra ;-) > - how the status map is created?? automatically or i need to say to nagios > what is connected whith what? You need to define the child-parent relations to get an acurate map from the perspective of the nagios machine. > - i need to register router by router or is there anyway to Nagios look on > the net for routers? and what about the interfaces, i need to register all > interfaces or just registering the router nagios can find for the > interfaces? Whatever pleases you as far as the interface are concerned. I suggest you print the manual and read it cover to cover at least once. Then go ahead and play as there is no substitute for actual doing things yourself to learn it. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Tue Dec 12 10:11:12 2006 From: magic.rooter at gmail.com ( magic_rooter) Date: Tue, 12 Dec 2006 12:11:12 +0300 Subject: CDP in Nagios Message-ID: <989aee610612120111x73f375egc4a196a90d9f3e80@mail.gmail.com> Hello all! Does anybody know if there is a plugin or self-written script to automatically discover cisco devices using its own protocol - CDP or maybe with the help of something else? I've studied Nagios Exchange site and didn't find any such plugin or add-on. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Tue Dec 12 10:19:53 2006 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Tue, 12 Dec 2006 09:19:53 -0000 Subject: FW: NDOUtils and NDO2BD Message-ID: -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Sullivan Sent: 08 December 2006 19:22 > Has anyone created an interface that uses data from the NDOUtils > package? I am have it all setup and logging to MySql. I am in need of > a simple interface for tier 1 support personnel. If you are talking about an HEP Tier1 site, then we are also one. I have adapted a script that we already had to issue some MySQL queries to the NDOutils tables. I would be happy for you to see them if that that would help. Jonathan Wheeler Tier1A Service Team e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samfraser at yahoo.co.uk Tue Dec 12 11:23:30 2006 From: samfraser at yahoo.co.uk (Sam Fraser) Date: Tue, 12 Dec 2006 10:23:30 +0000 (GMT) Subject: Forbidden access to server Message-ID: <20061212102330.27068.qmail@web23101.mail.ird.yahoo.com> Do you have any suggestions on how I can get round the problem then? Sam Fraser Reading UK ----- Original Message ---- From: Hugo van der Kooij To: Nagios Users mailinglist Sent: Monday, 11 December, 2006 5:55:35 PM Subject: Re: [Nagios-users] Forbidden access to server On Mon, 11 Dec 2006, Sam Fraser wrote: > For some reason my webserver can't get access to the nagios html files. I've given 777 access to all the files in /usr/local/nagios/* and I've run the web server as the owner of these files, but to no avail, any ideas? Setting access right like this is almost similar to leaving the key under the garbage bin. Anyone can find it and walk in. Hugo. ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use" ? The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Dec 12 11:29:39 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 12 Dec 2006 10:29:39 +0000 Subject: Forbidden access to server In-Reply-To: <20061212102330.27068.qmail@web23101.mail.ird.yahoo.com> References: <20061212102330.27068.qmail@web23101.mail.ird.yahoo.com> Message-ID: <457E8493.3030507@mailnetwork.co.uk> Can you post the relevant section of your Apache configuration file? What might help (which has caught me out a number of times before) is if you've got the default Apache config, there's a directive of: order deny,allow deny from all This denies Apache access to all local file-system folders, so you also need to add: Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all This tells Apache that for the folder /usr/local/nagios/sbin, allow all access from anyone ("allow from all") (over-riding the default deny all), allow the execution of CGIs, and allow configuring authentication in a .htaccess file this folder. Try that. Andy. Sam Fraser wrote: > Do you have any suggestions on how I can get round the problem then? > > Sam Fraser > Reading > UK > > > ----- Original Message ---- > From: Hugo van der Kooij > To: Nagios Users mailinglist > Sent: Monday, 11 December, 2006 5:55:35 PM > Subject: Re: [Nagios-users] Forbidden access to server > > On Mon, 11 Dec 2006, Sam Fraser wrote: > > > For some reason my webserver can't get access to the nagios html > files. I've given 777 access to all the files in /usr/local/nagios/* > and I've run the web server as the owner of these files, but to no > avail, any ideas? > > Setting access right like this is almost similar to leaving the key under > the garbage bin. Anyone can find it and walk in. > > Hugo. > > ___________________________________________________________ > The all-new Yahoo! Mail goes wherever you go - free your email address > from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html > > -- > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > This message is using 100% recycled electrons. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------ > All New Yahoo! Mail > > ? Tired of Vi at gr@! come-ons? Let our SpamGuard protect you. > !DSPAM:37,457e834930865640518688! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,457e834930865640518688! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,457e834930865640518688! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Tue Dec 12 14:22:24 2006 From: javier.rojasr at gmail.com (javier rojas) Date: Tue, 12 Dec 2006 09:22:24 -0400 Subject: newbie questions v. 2.0 Message-ID: <773acc7b0612120522g1663de5doc4690d291e5660bd@mail.gmail.com> Hello, i know that probably this is a low level questions but i have read the documentation of nagios and still have some questions... i have created a hosts.cfg file in order to place my servers, and i started it with a w$ 2k3 vmware virtual server on my machine.... heres the file: define host{ host_name testserver alias test server windows address 192.168.0.5 parents check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups nagios-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } here's my question: i can resolve hte name from my mahcine of the server, i did not created a nagios-admins group, and i have the original command.cfg file, and when i insert in my nagios.cfg the line so it should search for hosts on the new file i cant restart nagios and i get an error CONFIG ERROR! Start aborted. Check your Nagios configuration heres the line: cfg_file=/usr/local/nagios//etc/hosts.cfg just below object configuration file i have checked according to the docs, the files and it's order...but i really can't find the error, i would really like to know how to add hosts and services to nagios... -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) --Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.lists at vum.at Tue Dec 12 14:24:01 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Tue, 12 Dec 2006 14:24:01 +0100 Subject: Discussion: Feeding Emails to Nagios Message-ID: <457EAD71.2080208@vum.at> Hello, I designed a way to feed email from RAID-controllers (3ware) to Nagios but I am not sure how save the proposed solution is. First I added an alias to /etc/aliases: nagios: "|/usr/local/nagios/libexec/eventhandlers/handle-RAID-mail" Second I wrote the script nagios/libexec/eventhandlers/handle-RAID-mail Finally I had the problem, that postfixs "local", who delivers the email to handle-RAID-mail is chown nobody:nogroup which is far from being able to write into nagios/var/rw/nagcmd. So I did: $ sudo postconf -e default_privs=nagios Now "local" runs as user nagios and the checks are fed into Nagios BUT: Is there a more secure solution around w/o tampering the permissions of postfix? TIA for your thoughts and suggestions - Ingo. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.lists at vum.at Tue Dec 12 14:26:39 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Tue, 12 Dec 2006 14:26:39 +0100 Subject: newbie questions v. 2.0 In-Reply-To: <773acc7b0612120522g1663de5doc4690d291e5660bd@mail.gmail.com> References: <773acc7b0612120522g1663de5doc4690d291e5660bd@mail.gmail.com> Message-ID: <457EAE0F.70603@vum.at> javier rojas schrieb: > cfg_file=/usr/local/nagios//etc/hosts.cfg change it to cfg_file=/usr/local/nagios/etc/hosts.cfg does it work now? regards, ingo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Tue Dec 12 14:28:45 2006 From: javier.rojasr at gmail.com (javier rojas) Date: Tue, 12 Dec 2006 09:28:45 -0400 Subject: newbie questions v. 2.0 In-Reply-To: <457EAE0F.70603@vum.at> References: <773acc7b0612120522g1663de5doc4690d291e5660bd@mail.gmail.com> <457EAE0F.70603@vum.at> Message-ID: <773acc7b0612120528p38725b1dl872e0ff04d1e7e0f@mail.gmail.com> no, i did try that one On 12/12/06, Ingo Lantschner wrote: > javier rojas schrieb: > > > cfg_file=/usr/local/nagios//etc/hosts.cfg > change it to > cfg_file=/usr/local/nagios/etc/hosts.cfg > > does it work now? > > regards, ingo > > -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) --Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Tue Dec 12 14:40:23 2006 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Tue, 12 Dec 2006 09:40:23 -0400 Subject: Notifications Problems Message-ID: <457EB147.7080904@intercable.com.ve> Hello. Right now im migrating to version 2.5, but i'm having problems with the notifications. I installed Postfix but for some reason the notifications just didn't get send. Then i tried Mailx but the notifications that i get are like this: ***** Nagios ***** Notification Type: PROBLEM Host: enlace_ooooooo State: DOWN Address: 10.10.10.10 Info: $ Date/Time: $ Notice that de Info, Date/time and additional info fields don't show any information I'd appreciate any help with this issue, even better if you help me configure Postfix. Thanks in advanced. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Tue Dec 12 15:09:06 2006 From: javier.rojasr at gmail.com (javier rojas) Date: Tue, 12 Dec 2006 10:09:06 -0400 Subject: newbie questions v. 2.0 In-Reply-To: <773acc7b0612120528p38725b1dl872e0ff04d1e7e0f@mail.gmail.com> References: <773acc7b0612120522g1663de5doc4690d291e5660bd@mail.gmail.com> <457EAE0F.70603@vum.at> <773acc7b0612120528p38725b1dl872e0ff04d1e7e0f@mail.gmail.com> Message-ID: <773acc7b0612120609h63e6520pd0d204b70c87cc37@mail.gmail.com> for example, i only have localhost configured on nagios, and it had the same path.... and it's working, but i really tried that before.... #cfg_file=/usr/local/nagios//etc/hosts.cfg #cfg_file=/usr/local/nagios/etc/hosts.cfg # Command definitions cfg_file=/usr/local/nagios//etc/commands.cfg # Host and service definitions for monitoring this machine cfg_file=/usr/local/nagios//etc/localhost.cfg -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) --Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.lists at vum.at Tue Dec 12 15:16:18 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Tue, 12 Dec 2006 15:16:18 +0100 Subject: newbie questions v. 2.0 In-Reply-To: <773acc7b0612120609h63e6520pd0d204b70c87cc37@mail.gmail.com> References: <773acc7b0612120522g1663de5doc4690d291e5660bd@mail.gmail.com> <457EAE0F.70603@vum.at> <773acc7b0612120528p38725b1dl872e0ff04d1e7e0f@mail.gmail.com> <773acc7b0612120609h63e6520pd0d204b70c87cc37@mail.gmail.com> Message-ID: <457EB9B2.3070407@vum.at> javier rojas schrieb: > ... > and it's working, but i really tried that before.... > > #cfg_file=/usr/local/nagios//etc/hosts.cfg > #cfg_file=/usr/local/nagios/etc/hosts.cfg what's the output of your preflightcheck? bin/nagios -v etc/nagios.cfg? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iceman at 30below.com Tue Dec 12 15:24:19 2006 From: iceman at 30below.com (Jeff Sullivan) Date: Tue, 12 Dec 2006 09:24:19 -0500 Subject: Nagios database support In-Reply-To: References: Message-ID: <457EBB93.2010206@30below.com> Marc Powell wrote: > > If you need database support, look for ndoutils, nagios-db or write your > own event_broker module. > > -- > Marc > Is nagios-db still maintained and being developed? I downloaded and attempted to compile it, but the makefile is looking for all kinds of build ingredients that are not in the tar file. Jeff ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Tue Dec 12 15:25:57 2006 From: javier.rojasr at gmail.com (javier rojas) Date: Tue, 12 Dec 2006 10:25:57 -0400 Subject: newbie questions v. 2.0 In-Reply-To: <457EB9B2.3070407@vum.at> References: <773acc7b0612120522g1663de5doc4690d291e5660bd@mail.gmail.com> <457EAE0F.70603@vum.at> <773acc7b0612120528p38725b1dl872e0ff04d1e7e0f@mail.gmail.com> <773acc7b0612120609h63e6520pd0d204b70c87cc37@mail.gmail.com> <457EB9B2.3070407@vum.at> Message-ID: <773acc7b0612120625v3560a555td2361231f12ed22e@mail.gmail.com> hostname:/usr/local/nagios # bin/nagios -v etc/nagios.cfg Nagios 2.6 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 11-27-2006 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/local/nagios//etc/hosts.cfg' on line 6. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. here the hosts.cfg file, in case theres something wrong with it... define host{ host_name testserver alias test server windows address 172.18.17.96 parents check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups nagios-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } i have testserver in /etc/hosts -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) --Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iceman at 30below.com Tue Dec 12 15:33:00 2006 From: iceman at 30below.com (Jeff Sullivan) Date: Tue, 12 Dec 2006 09:33:00 -0500 Subject: newbie questions v. 2.0 In-Reply-To: <773acc7b0612120625v3560a555td2361231f12ed22e@mail.gmail.com> References: <773acc7b0612120522g1663de5doc4690d291e5660bd@mail.gmail.com> <457EAE0F.70603@vum.at> <773acc7b0612120528p38725b1dl872e0ff04d1e7e0f@mail.gmail.com> <773acc7b0612120609h63e6520pd0d204b70c87cc37@mail.gmail.com> <457EB9B2.3070407@vum.at> <773acc7b0612120625v3560a555td2361231f12ed22e@mail.gmail.com> Message-ID: <457EBD9C.3090409@30below.com> javier rojas wrote: > hostname:/usr/local/nagios # bin/nagios -v etc/nagios.cfg > > Nagios 2.6 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 11-27-2006 > License: GPL > > Reading configuration data... > > Error: Could not add object property in file > '/usr/local/nagios//etc/hosts.cfg' on line 6. > here the hosts.cfg file, in case theres something wrong with it... > > define host{ > host_name testserver > alias test server windows > address 172.18.17.96 > parents Guessing that Line 1 is a blank line, I would say that it is because "parents" is being declared but not defined. Parents is optional for setting up layering of you networks. Remove or comment out the parents line an give 'er a go again. Jeff ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 12 15:32:59 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Tue, 12 Dec 2006 15:32:59 +0100 Subject: newbie questions v. 2.0 Message-ID: Do not use empty attributes: define host{ host_name testserver alias test server windows address 192.168.0.5 -> parents check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups nagios-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } Just leaave ?em out: define host{ host_name testserver alias test server windows address 192.168.0.5 check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups nagios-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main -----Urspr?ngliche Nachricht----- Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von javier rojas Gesendet: Dienstag, 12. Dezember 2006 14:22 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] newbie questions v. 2.0 Hello, i know that probably this is a low level questions but i have read the documentation of nagios and still have some questions... i have created a hosts.cfg file in order to place my servers, and i started it with a w$ 2k3 vmware virtual server on my machine.... heres the file: define host{ host_name testserver alias test server windows address 192.168.0.5 parents check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups nagios-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } here's my question: i can resolve hte name from my mahcine of the server, i did not created a nagios-admins group, and i have the original command.cfg file, and when i insert in my nagios.cfg the line so it should search for hosts on the new file i cant restart nagios and i get an error CONFIG ERROR! Start aborted. Check your Nagios configuration heres the line: cfg_file=/usr/local/nagios//etc/hosts.cfg just below object configuration file i have checked according to the docs, the files and it's order...but i really can't find the error, i would really like to know how to add hosts and services to nagios... -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) --Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Diese E-Mail und eventuell beigef?gte Anh?nge enthalten vertrauliche Informationen, die rechtlich besonders gesch?tzt sein k?nnen, z.B. durch das Bankgeheimnis. Diese Informationen sind ausschlie?lich f?r die als Adressaten genannten Personen bestimmt. Wenn Sie nicht der angeschriebene Empf?nger sind oder diese E-Mail durch einen ?bertragungsfehler erhalten haben, informieren Sie uns bitte sofort per E-Mail, Telefon oder Fax und l?schen danach vorliegende E-Mail. Das unbefugte Kopieren dieser E-Mail, ihrer eventuell beigef?gten Anh?nge sowie die unbefugte Weitergabe der enthaltenen Informationen an Dritte sind nicht gestattet. Wir danken f?r Ihre Hilfe. This e-mail message together with its attachments, if any, is confidential and may contain information subject to legal privilege, i.e. banking secrecy. The information contained in this e-mail or its attachments is intended solely for the persons named as addressees. If you are not the intended recipient or have received this e-mail in error, please advise us immediately by e-mail, telephone or fax and delete this message. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited. Thank you for your co-operation. -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: text/x-vcard Size: 264 bytes Desc: Zimmer, Thomas (Produktservices und Betrieb).vcf URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Tue Dec 12 15:39:05 2006 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Tue, 12 Dec 2006 14:39:05 -0000 Subject: FW: FW: NDOUtils and NDO2BD Message-ID: > -----Original Message----- > From: Jeff Sullivan [mailto:iceman at 30below.com] > Sent: 12 December 2006 14:01 > To: Wheeler, JF (Jonathan) > Subject: Re: [Nagios-users] FW: NDOUtils and NDO2BD > > > That would be great.. Those darn NDO2DB tables really need a > dictionary.map.. These queries are extracts from a PHP script; note that the database name nagios is included because there are other queries in the script using a different database. The first query is checking for the status of a host (host name in $SHORT[$n]): $got = mysql_query("select last_state_change from nagios.ndo_hoststatus, ". "nagios.ndo_objects where host_object_id=object_id and ". "name1='".$SHORT[$n]."' and nagios.ndo_hoststatus.current_state=1"); if ($got and mysql_num_rows($got)) { $st = "down"; $txt = "$node ($st - Nagios)"; All it is doing is checking if there is a record in ndo_hoststatus for the host where ndo_hoststatus is 1; host_object_id is a field in ndo_hoststatus which matches object_id in ndo_objects; name1 is the name of the host from ndo_objects The second query is doing something similar for alarms for hosts which are not down: # Check for Nagios alarms if system is not down if (strncmp($st, "down", 4) != 0) { $got = mysql_query("select output from nagios.ndo_servicestatus, ". "nagios.ndo_objects where objecttype_id=2 and name1='".$SHORT[$n]."'". " and current_state=2 and service_object_id=object_id"); if ($got and mysql_num_rows($got)) { $st .= "_a"; } In this query object_id, objecttype_id and name1 are fields in ndo_objects (you need both objecttype_id and name1 because there is a multi-field index built on objecttype_id and name1 in that order); current_state and service_object_id are fields in ndo_servicestatus This third query is extracting all the alarms for a host (this is a different script so $SHORT is not an array here): $got = mysql_query("select current_state, output, unix_timestamp() - ". "unix_timestamp(last_hard_state_change) from nagios.ndo_objects, ". "nagios.ndo_servicestatus where current_state!=0 and ". "service_object_id=object_id and name1='".$SHORT."'"); if ($got and mysql_num_rows($got)) { print "
Alarms for ".htmlspecialchars($NODE)."
\n"; $warns = $crits = $unkns = ""; while ($r = mysql_fetch_row($got)) { $txt1 = " $r[1] ". prettytime($r[2])."\n"; switch ($r[0]) { case 1: $warns .= $txt1."\"warn\">WARNING".$txt2; break; case 2: $crits .= $txt1."\"crit\">CRITICAL".$txt2; break; case 3: $unkns .= $txt1."\"unkn\">UNKNOWN".$txt2; break; default: $unkns .= $txt1."\"unkn\">UNKNOWN (bad type)".$txt2; } } print "
\n$crits$warns$unkns
\n"; } I hope that this helps. Please ask for more explanations if required. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 12 15:41:40 2006 From: marc at ena.com (Marc Powell) Date: Tue, 12 Dec 2006 08:41:40 -0600 Subject: Notifications Problems Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo > Sent: Tuesday, December 12, 2006 7:40 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notifications Problems > > Hello. Right now im migrating to version 2.5, but i'm having problems > with the notifications. I installed > Postfix but for some reason the notifications just didn't get send. Then > i tried Mailx but the notifications > that i get are like this: > > > ***** Nagios ***** > > Notification Type: PROBLEM > Host: enlace_ooooooo > State: DOWN > Address: 10.10.10.10 > Info: $ > > Date/Time: $ > > Notice that de Info, Date/time and additional info fields don't show any > information > I'd appreciate any help with this issue, even better if you help me > configure Postfix. Make certain that you are using the correct macros. I strongly suspect that you are not. Otherwise, please post the notification command in its entirety so that we can comment on it. http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Tue Dec 12 15:42:02 2006 From: javier.rojasr at gmail.com (javier rojas) Date: Tue, 12 Dec 2006 10:42:02 -0400 Subject: newbie questions v. 2.0 In-Reply-To: References: Message-ID: <773acc7b0612120642k57caadffi9ca543926c7d3535@mail.gmail.com> hostname:/usr/local/nagios # bin/nagios -v etc/nagios.cfg Nagios 2.6 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 11-27-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 5 services. Checking hosts... Warning: Host 'testserver' has no services associated with it! Error: Host 'testserver' has no default contact group(s) defined! Checked 2 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 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 22 commands. Checking time periods... Checked 4 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: 1 Total Errors: 1 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. thank you all, at least i know whats goin on.... -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) --Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Tue Dec 12 15:55:45 2006 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Tue, 12 Dec 2006 10:55:45 -0400 Subject: Notifications Problems In-Reply-To: References: Message-ID: <457EC2F1.9010803@intercable.com.ve> Hello, the notification command is: # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios Barquisimeto *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n$OUTPUT$" | /bin/mail -s "Alerta: $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTEMAIL$ } Thanks, Danilo Perdomo www.intercable.com.ve Marc Powell escribi?: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo >> Sent: Tuesday, December 12, 2006 7:40 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Notifications Problems >> >> Hello. Right now im migrating to version 2.5, but i'm having problems >> with the notifications. I installed >> Postfix but for some reason the notifications just didn't get send. >> > Then > >> i tried Mailx but the notifications >> that i get are like this: >> >> >> ***** Nagios ***** >> >> Notification Type: PROBLEM >> Host: enlace_ooooooo >> State: DOWN >> Address: 10.10.10.10 >> Info: $ >> >> Date/Time: $ >> >> Notice that de Info, Date/time and additional info fields don't show >> > any > >> information >> I'd appreciate any help with this issue, even better if you help me >> configure Postfix. >> > > Make certain that you are using the correct macros. I strongly suspect > that you are not. Otherwise, please post the notification command in its > entirety so that we can comment on it. > > http://nagios.sourceforge.net/docs/2_0/macros.html > > -- > Marc > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 12 16:10:24 2006 From: marc at ena.com (Marc Powell) Date: Tue, 12 Dec 2006 09:10:24 -0600 Subject: Notifications Problems Message-ID: Please don't top-post. > -----Original Message----- > From: Danilo Perdomo [mailto:danilo.perdomo at intercable.com.ve] > Sent: Tuesday, December 12, 2006 8:56 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notifications Problems > > Hello, the notification command is: > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios Barquisimeto > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n$OUTPUT$" | > /bin/mail -s "Alerta: $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$" $CONTACTEMAIL$ > } Follow the _other_ recommendation in my original response. It's very straightforward. I'm sure you can figure it out in less than 5 minutes and you'll learn something important about the program you are using. Please try to help yourself *before* asking someone to do your work for you. Yes, I am definitely of the 'Teach a man to fish..." crowd. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Tue Dec 12 16:26:43 2006 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Tue, 12 Dec 2006 11:26:43 -0400 Subject: Notifications Problems In-Reply-To: References: Message-ID: <457ECA33.1020200@intercable.com.ve> >> -Original Message----- >> From: Danilo Perdomo [mailto:danilo.perdomo at intercable.com.ve] >> Sent: Tuesday, December 12, 2006 8:56 AM >> To: Marc Powell >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Notifications Problems >> >> Hello, the notification command is: >> >> # 'notify-by-email' command definition >> define command{ >> command_name notify-by-email >> command_line /usr/bin/printf "%b" "***** Nagios Barquisimeto >> *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: >> $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: >> $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n$OUTPUT$" >> > | > >> /bin/mail -s "Alerta: $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ >> > is > >> $SERVICESTATE$" $CONTACTEMAIL$ >> } >> > > Follow the _other_ recommendation in my original response. It's very > straightforward. I'm sure you can figure it out in less than 5 minutes > and you'll learn something important about the program you are using. > Please try to help yourself *before* asking someone to do your work for > you. > > Yes, I am definitely of the 'Teach a man to fish..." crowd. > > -- > Marc > I'm sorry Marc, Im from Venezuela and my english is not that good, maybe i missunderstood your recomendation, i thought you were asking for the command definition that i posted before. This is the first time im working with Nagios, someone was in charge of all the monitoring before me. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 12 16:41:21 2006 From: marc at ena.com (Marc Powell) Date: Tue, 12 Dec 2006 09:41:21 -0600 Subject: Notifications Problems Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo > Sent: Tuesday, December 12, 2006 9:27 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notifications Problems > > > >> -Original Message----- > >> From: Danilo Perdomo [mailto:danilo.perdomo at intercable.com.ve] > >> Sent: Tuesday, December 12, 2006 8:56 AM > >> To: Marc Powell > >> Cc: nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] Notifications Problems > >> > >> Hello, the notification command is: > >> > >> # 'notify-by-email' command definition > >> define command{ > >> command_name notify-by-email > >> command_line /usr/bin/printf "%b" "***** Nagios Barquisimeto > >> *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > >> $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > >> $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n$OUTPUT$" > >> > > | > > > >> /bin/mail -s "Alerta: $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ > >> > > is > > > >> $SERVICESTATE$" $CONTACTEMAIL$ > >> } [chop] > > > I'm sorry Marc, Im from Venezuela and my english is not that good, maybe > i misunderstood It's better than my Spanish by far ;) > your recomendation, i thought you were asking for the command definition > that i posted before. Only if you were using the right $MACROS$. You are not. Your datetime and output macros are wrong for nagios 2.5. Follow the link I gave for the correct ones to use. > This is the first time im working with Nagios, someone was in charge of > all the monitoring before > me. Even better reason to have a look at the documentation ;) -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Tue Dec 12 17:15:10 2006 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Tue, 12 Dec 2006 12:15:10 -0400 Subject: Notifications Problems In-Reply-To: References: Message-ID: <457ED58E.8020901@intercable.com.ve> > > Only if you were using the right $MACROS$. You are not. Your datetime > and output macros are wrong for nagios 2.5. Follow the link I gave for > the correct ones to use. > > >> This is the first time im working with Nagios, someone was in charge >> > of > >> all the monitoring before >> me. >> > > Even better reason to have a look at the documentation ;) > > -- > Marc > > It worked! Thanks for your help Marc. And also i got to practice my english. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Tue Dec 12 18:15:52 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Tue, 12 Dec 2006 12:15:52 -0500 Subject: MRTG Message-ID: <0CA4ED2DD473424883BF20CCD45C18A301905BFD@mtlexchange.Duocom.local> Hello, I'm sure there is a way but just don't know, yet. Is there a way to just the display the graphs that MRTG produces instead of defining a service and check? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Tue Dec 12 18:32:12 2006 From: bench at silentmedia.com (Ben) Date: Tue, 12 Dec 2006 09:32:12 -0800 (PST) Subject: Nagios database support In-Reply-To: <457EBB93.2010206@30below.com> References: <457EBB93.2010206@30below.com> Message-ID: Unfortunately, no, I've run out of time. But if anybody wants to pick it up...... On Tue, 12 Dec 2006, Jeff Sullivan wrote: > Marc Powell wrote: > >> >> If you need database support, look for ndoutils, nagios-db or write your >> own event_broker module. >> >> -- >> Marc >> > > Is nagios-db still maintained and being developed? I downloaded and > attempted to compile it, but the makefile is looking for all kinds of > build ingredients that are not in the tar file. > > Jeff > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmahgoub at gmail.com Tue Dec 12 20:10:49 2006 From: kmahgoub at gmail.com (Kareem Mahgoub) Date: Tue, 12 Dec 2006 21:10:49 +0200 Subject: Using $ in password Message-ID: <01c001c71e21$3e4baf50$1d8e79a3@kareemdesktop> Dear All, I have a simple question. What should I do to include the character $ as one of the password characters in the check command? Here are some required information: 1- OS FC 5 2- kernel 2.6.18-1 3- Nagios version 2.5 4- The command definition # 'check_httpp' command definition define command{ command_name check_httpp command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a $ARG3$ } 5- The service configuration define service{ use generic-service host_name XXXX service_description YYY contact_groups ZZZ check_command check_httpp!61002!192.168.1.4!:33$77 } When I execute the command manually it works. Any help will be much appreciated Regards ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From petrybr at gmail.com Tue Dec 12 20:17:35 2006 From: petrybr at gmail.com (Petry) Date: Tue, 12 Dec 2006 16:17:35 -0300 Subject: monitoring routers / hardware configuration Message-ID: <4a0b40e70612121117m2000ae5bp2d21998751ea7744@mail.gmail.com> Hi All, 2006/12/12, Hugo van der Kooij : > > On Tue, 12 Dec 2006, Petry wrote: > > > - how i can use the best of nagios to do that?? > > I failed to understand this one. whats the best way to monitor interfaces using nagios? ping,checkoperstats,etc other one: what's the PC configuration that is recommended to run nagios? it uses a lot of mem? proc.? etc Tks Hugo, Tks all and sorry the poor english!! -- Jos? Paulo de Oliveira Petry petrybr at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarboro at ast.lmco.com Tue Dec 12 20:26:18 2006 From: scarboro at ast.lmco.com (Jeff Scarborough) Date: Tue, 12 Dec 2006 12:26:18 -0700 Subject: Missed checks Message-ID: I just installed 2.6. I have noticed that for some reason some checks just stop happening. When I look at the scheduling queue it shows these services with a Next Check time in the past. They never get checked again until I either restart or click on the reschedule icon at the right. Any idea what is going on. -Jeff Scarborough ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Shein at iovate.com Tue Dec 12 20:28:28 2006 From: Jason.Shein at iovate.com (Jason.Shein at iovate.com) Date: Tue, 12 Dec 2006 14:28:28 -0500 Subject: Using $ in password In-Reply-To: <01c001c71e21$3e4baf50$1d8e79a3@kareemdesktop> References: <01c001c71e21$3e4baf50$1d8e79a3@kareemdesktop> Message-ID: Normally, doubling the $ sign and eclosing the statement in single quotes works fine. check_command check_httpp!61002!192.168.1.4!:'33$$77' _______________________________________________________________________________ Jason Shein Network Administrator ? Linux Systems Iovate Health Sciences Inc. 5100 Spectrum Way Mississauga, ON L4W 5S2 ( 905 ) - 678 - 3119 x 3136 1 - 888 - 334 - 4448, x 3136 (toll-free) jason.shein at iovate.com Customer Service. Collaboration. Innovation. Efficiency. Iovate's Information Technology Team _______________________________________________________________________________ CONFIDENTIALITY NOTICE: THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL AND IS INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS DISCLOSED TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT TO THE SENDER. _______________________________________________________________________________ "Kareem Mahgoub" Sent by: nagios-users-bounces at lists.sourceforge.net 12/12/2006 02:10 PM To cc Subject [Nagios-users] Using $ in password Dear All, I have a simple question. What should I do to include the character $ as one of the password characters in the check command? Here are some required information: 1- OS FC 5 2- kernel 2.6.18-1 3- Nagios version 2.5 4- The command definition # 'check_httpp' command definition define command{ command_name check_httpp command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a $ARG3$ } 5- The service configuration define service{ use generic-service host_name XXXX service_description YYY contact_groups ZZZ check_command check_httpp!61002!192.168.1.4!:33$77 } When I execute the command manually it works. Any help will be much appreciated Regards ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmahgoub at gmail.com Tue Dec 12 20:49:40 2006 From: kmahgoub at gmail.com (Kareem Mahgoub) Date: Tue, 12 Dec 2006 21:49:40 +0200 Subject: Using $ in password References: Message-ID: <01e401c71e26$ab799150$1d8e79a3@kareemdesktop> Thanks for all who replied to me, but unfortunately the three solutions didn't work. Kindly if anyone has other ideas, post it. Regards ----- Original Message ----- From: To: Sent: Tuesday, December 12, 2006 9:28 PM Subject: Re: [Nagios-users] Using $ in password > Normally, doubling the $ sign and eclosing the statement in single quotes > works fine. > > check_command check_httpp!61002!192.168.1.4!:'33$$77' > > ____________________________________________________________________________ ___ > > Jason Shein > Network Administrator ? Linux Systems > Iovate Health Sciences Inc. > 5100 Spectrum Way > Mississauga, ON L4W 5S2 > ( 905 ) - 678 - 3119 x 3136 > 1 - 888 - 334 - 4448, x 3136 (toll-free) > jason.shein at iovate.com > > Customer Service. Collaboration. Innovation. Efficiency. > Iovate's Information Technology Team > > ____________________________________________________________________________ ___ > > CONFIDENTIALITY NOTICE: > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL AND IS > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS DISCLOSED > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. IF YOU > HAVE > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > TO THE SENDER. > ____________________________________________________________________________ ___ > > > > "Kareem Mahgoub" > Sent by: nagios-users-bounces at lists.sourceforge.net > 12/12/2006 02:10 PM > > To > > cc > > Subject > [Nagios-users] Using $ in password > > > > > > > Dear All, > > I have a simple question. What should I do to include the character $ as > one > of the password characters in the check command? > > Here are some required information: > > 1- OS FC 5 > > 2- kernel 2.6.18-1 > > 3- Nagios version 2.5 > > 4- The command definition > > # 'check_httpp' command definition > define command{ > command_name check_httpp > command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a > $ARG3$ > } > 5- The service configuration > > define service{ > use generic-service > host_name XXXX > service_description YYY > contact_groups ZZZ > check_command check_httpp!61002!192.168.1.4!:33$77 > } > When I execute the command manually it works. > > Any help will be much appreciated > > Regards > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Tue Dec 12 20:51:59 2006 From: andrew at profitability.net (Andrew Cruse) Date: Tue, 12 Dec 2006 14:51:59 -0500 Subject: Using $ in password In-Reply-To: <01e401c71e26$ab799150$1d8e79a3@kareemdesktop> References: <01e401c71e26$ab799150$1d8e79a3@kareemdesktop> Message-ID: <016c01c71e26$fc22fb50$5400a8c0@andrew2> Kareem Mahgoub wrote: > Thanks for all who replied to me, but unfortunately the three > solutions didn't work. Kindly if anyone has other ideas, post it. > Regards > ----- Original Message ----- > From: > To: > Sent: Tuesday, December 12, 2006 9:28 PM > Subject: Re: [Nagios-users] Using $ in password > > >> Normally, doubling the $ sign and eclosing the statement in single >> quotes works fine. >> >> check_command check_httpp!61002!192.168.1.4!:'33$$77' >> Not to be facetious, but...change the password? :-) Andrew ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Dec 12 21:02:47 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 12 Dec 2006 20:02:47 +0000 Subject: Using $ in password In-Reply-To: <016c01c71e26$fc22fb50$5400a8c0@andrew2> References: <016c01c71e26$fc22fb50$5400a8c0@andrew2> Message-ID: <457F0AE7.6020200@mailnetwork.co.uk> Also have you noticed the typo? Or is check_httpp a proper plugin on your system? check_command check_httpp!61002!192.168.1.4!:'33$$77' as opposed to check_command check_http!61002!192.168.1.4!:'33$$77' Andrew Cruse wrote: > Kareem Mahgoub wrote: > >> Thanks for all who replied to me, but unfortunately the three >> solutions didn't work. Kindly if anyone has other ideas, post it. >> Regards >> ----- Original Message ----- >> From: >> To: >> Sent: Tuesday, December 12, 2006 9:28 PM >> Subject: Re: [Nagios-users] Using $ in password >> >> >> >>> Normally, doubling the $ sign and eclosing the statement in single >>> quotes works fine. >>> >>> check_command check_httpp!61002!192.168.1.4!:'33$$77' >>> >>> > > Not to be facetious, but...change the password? :-) > > Andrew > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,457f087b30868171099482! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlittle at mintcommerce.com Tue Dec 12 21:01:30 2006 From: jlittle at mintcommerce.com (Jason Little) Date: Tue, 12 Dec 2006 15:01:30 -0500 Subject: Using $ in password In-Reply-To: <01e401c71e26$ab799150$1d8e79a3@kareemdesktop> References: <01e401c71e26$ab799150$1d8e79a3@kareemdesktop> Message-ID: <00cd01c71e28$51f69c70$6364a8c0@mintinc.ca> Wouldn't a delimiter work just fine this is just a big perl script passing an argument to a smaller perl script right? check_command check_httpp!61002!192.168.1.4!:33\$77 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kareem Mahgoub Sent: Tuesday, December 12, 2006 2:50 PM To: nagios-users at lists.sourceforge.net; Jason.Shein at iovate.com Subject: Re: [Nagios-users] Using $ in password Thanks for all who replied to me, but unfortunately the three solutions didn't work. Kindly if anyone has other ideas, post it. Regards ----- Original Message ----- From: To: Sent: Tuesday, December 12, 2006 9:28 PM Subject: Re: [Nagios-users] Using $ in password > Normally, doubling the $ sign and eclosing the statement in single quotes > works fine. > > check_command check_httpp!61002!192.168.1.4!:'33$$77' > > ____________________________________________________________________________ ___ > > Jason Shein > Network Administrator - Linux Systems > Iovate Health Sciences Inc. > 5100 Spectrum Way > Mississauga, ON L4W 5S2 > ( 905 ) - 678 - 3119 x 3136 > 1 - 888 - 334 - 4448, x 3136 (toll-free) > jason.shein at iovate.com > > Customer Service. Collaboration. Innovation. Efficiency. > Iovate's Information Technology Team > > ____________________________________________________________________________ ___ > > CONFIDENTIALITY NOTICE: > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL AND IS > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS DISCLOSED > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. IF YOU > HAVE > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > TO THE SENDER. > ____________________________________________________________________________ ___ > > > > "Kareem Mahgoub" > Sent by: nagios-users-bounces at lists.sourceforge.net > 12/12/2006 02:10 PM > > To > > cc > > Subject > [Nagios-users] Using $ in password > > > > > > > Dear All, > > I have a simple question. What should I do to include the character $ as > one > of the password characters in the check command? > > Here are some required information: > > 1- OS FC 5 > > 2- kernel 2.6.18-1 > > 3- Nagios version 2.5 > > 4- The command definition > > # 'check_httpp' command definition > define command{ > command_name check_httpp > command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a > $ARG3$ > } > 5- The service configuration > > define service{ > use generic-service > host_name XXXX > service_description YYY > contact_groups ZZZ > check_command check_httpp!61002!192.168.1.4!:33$77 > } > When I execute the command manually it works. > > Any help will be much appreciated > > Regards > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlittle at mintcommerce.com Tue Dec 12 21:09:44 2006 From: jlittle at mintcommerce.com (Jason Little) Date: Tue, 12 Dec 2006 15:09:44 -0500 Subject: Using $ in password In-Reply-To: <457F0AE7.6020200@mailnetwork.co.uk> References: <457F0AE7.6020200@mailnetwork.co.uk> Message-ID: <00ce01c71e29$76f57a40$6364a8c0@mintinc.ca> He defined a new command in checkcommands.cfg. # 'check_httpp' command definition define command{ command_name check_httpp command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a $ARG3$ } The original check_http command in the file has only basic options enabled. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy Shellam (Mailing Lists) Sent: Tuesday, December 12, 2006 3:03 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] Using $ in password Also have you noticed the typo? Or is check_httpp a proper plugin on your system? check_command check_httpp!61002!192.168.1.4!:'33$$77' as opposed to check_command check_http!61002!192.168.1.4!:'33$$77' Andrew Cruse wrote: > Kareem Mahgoub wrote: > >> Thanks for all who replied to me, but unfortunately the three >> solutions didn't work. Kindly if anyone has other ideas, post it. >> Regards >> ----- Original Message ----- >> From: >> To: >> Sent: Tuesday, December 12, 2006 9:28 PM >> Subject: Re: [Nagios-users] Using $ in password >> >> >> >>> Normally, doubling the $ sign and eclosing the statement in single >>> quotes works fine. >>> >>> check_command check_httpp!61002!192.168.1.4!:'33$$77' >>> >>> > > Not to be facetious, but...change the password? :-) > > Andrew > > > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV > DEV _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,457f087b30868171099482! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bob.debolt at starblanket.ca Tue Dec 12 21:39:08 2006 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Tue, 12 Dec 2006 13:39:08 -0700 Subject: Logical Disk Rate on Windows In-Reply-To: <00ce01c71e29$76f57a40$6364a8c0@mintinc.ca> References: <00ce01c71e29$76f57a40$6364a8c0@mintinc.ca> Message-ID: <200612121339.08847.bob.debolt@starblanket.ca> I have an interesting question to pose to all you SNMP gurus. There is a desire to aquire the Logical Disk Rate for each Logical disk on a number of Windows Servers and do it by using SNMP. Has anyone managed to come up with a solution for this type of measurement and would SNMP be the way to go. A number of attempts have been made but the results are very strange. Bob D ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlittle at mintcommerce.com Tue Dec 12 21:41:26 2006 From: jlittle at mintcommerce.com (Jason Little) Date: Tue, 12 Dec 2006 15:41:26 -0500 Subject: Using $ in password In-Reply-To: <00cd01c71e28$51f69c70$6364a8c0@mintinc.ca> References: <00cd01c71e28$51f69c70$6364a8c0@mintinc.ca> Message-ID: <00d201c71e2d$e4c97cc0$6364a8c0@mintinc.ca> Sorry confusing nagios and mimedefang. D'oh -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jason Little Sent: Tuesday, December 12, 2006 3:02 PM To: nagios-users at lists.sourceforge.net; Jason.Shein at iovate.com Subject: Re: [Nagios-users] Using $ in password Wouldn't a delimiter work just fine this is just a big perl script passing an argument to a smaller perl script right? check_command check_httpp!61002!192.168.1.4!:33\$77 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kareem Mahgoub Sent: Tuesday, December 12, 2006 2:50 PM To: nagios-users at lists.sourceforge.net; Jason.Shein at iovate.com Subject: Re: [Nagios-users] Using $ in password Thanks for all who replied to me, but unfortunately the three solutions didn't work. Kindly if anyone has other ideas, post it. Regards ----- Original Message ----- From: To: Sent: Tuesday, December 12, 2006 9:28 PM Subject: Re: [Nagios-users] Using $ in password > Normally, doubling the $ sign and eclosing the statement in single > quotes works fine. > > check_command check_httpp!61002!192.168.1.4!:'33$$77' > > ____________________________________________________________________________ ___ > > Jason Shein > Network Administrator - Linux Systems > Iovate Health Sciences Inc. > 5100 Spectrum Way > Mississauga, ON L4W 5S2 > ( 905 ) - 678 - 3119 x 3136 > 1 - 888 - 334 - 4448, x 3136 (toll-free) > jason.shein at iovate.com > > Customer Service. Collaboration. Innovation. Efficiency. > Iovate's Information Technology Team > > ____________________________________________________________________________ ___ > > CONFIDENTIALITY NOTICE: > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL AND > IS INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS > DISCLOSED TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT > DISCLOSE IT OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS > WRITTEN CONSENT OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES > SERVICES INC. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE > IMMEDIATELY RETURN IT TO THE SENDER. > ____________________________________________________________________________ ___ > > > > "Kareem Mahgoub" > Sent by: nagios-users-bounces at lists.sourceforge.net > 12/12/2006 02:10 PM > > To > > cc > > Subject > [Nagios-users] Using $ in password > > > > > > > Dear All, > > I have a simple question. What should I do to include the character $ > as one of the password characters in the check command? > > Here are some required information: > > 1- OS FC 5 > > 2- kernel 2.6.18-1 > > 3- Nagios version 2.5 > > 4- The command definition > > # 'check_httpp' command definition > define command{ > command_name check_httpp > command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a > $ARG3$ > } > 5- The service configuration > > define service{ > use generic-service > host_name XXXX > service_description YYY > contact_groups ZZZ > check_command check_httpp!61002!192.168.1.4!:33$77 > } > When I execute the command manually it works. > > Any help will be much appreciated > > Regards > > > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV > DEV _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV > DEV _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sBehen at atlasgroup.net Tue Dec 12 22:01:19 2006 From: sBehen at atlasgroup.net (Behen, Sean) Date: Tue, 12 Dec 2006 16:01:19 -0500 Subject: Niagos Low Disk Space Message-ID: <13139366.38041165957279851.JavaMail.root@mail1dc1.atlasgroup.net> I am receiving alerrt messages about low disk space.? Is there a way to move this log file to a different location, say home or should I relocate another log file such a as Nessus, is that possible? Sean Behen Atlas Group Inc. Kennebunk, ME 04043 sbehen at atlasgroup.net (207) 985 - 9844 office (207) 423 - 2562 mobile -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlittle at mintcommerce.com Tue Dec 12 22:09:51 2006 From: jlittle at mintcommerce.com (Jason Little) Date: Tue, 12 Dec 2006 16:09:51 -0500 Subject: Niagos Low Disk Space In-Reply-To: <13139366.38041165957279851.JavaMail.root@mail1dc1.atlasgroup.net> References: <13139366.38041165957279851.JavaMail.root@mail1dc1.atlasgroup.net> Message-ID: <00dc01c71e31$dd4584e0$6364a8c0@mintinc.ca> You can set the loglocation, the rotation period and the archive location in nagios.cfg for starters. There are several other files that you can also change the location of. # LOG FILE # This is the main log file where service and host events are logged # for historical purposes. This should be the first option specified # in the config file!!! log_file=/var/log/nagios/nagios.log # LOG ROTATION METHOD # This is the log rotation method that Nagios should use to rotate # the main log file. Values are as follows.. # n = None - don't rotate the log # h = Hourly rotation (top of the hour) # d = Daily rotation (midnight every day) # w = Weekly rotation (midnight on Saturday evening) # m = Monthly rotation (midnight last day of month) log_rotation_method=d # LOG ARCHIVE PATH # This is the directory where archived (rotated) log files should be # placed (assuming you've chosen to do log rotation). log_archive_path=/var/log/nagios/archives _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Behen, Sean Sent: Tuesday, December 12, 2006 4:01 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Niagos Low Disk Space I am receiving alerrt messages about low disk space. Is there a way to move this log file to a different location, say home or should I relocate another log file such a as Nessus, is that possible? Sean Behen Atlas Group Inc. Kennebunk, ME 04043 sbehen at atlasgroup.net (207) 985 - 9844 office (207) 423 - 2562 mobile -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Dec 12 22:52:17 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 12 Dec 2006 13:52:17 -0800 Subject: MRTG In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A301905BFD@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A301905BFD@mtlexchange.Duocom.local> Message-ID: <20061212215217.GE17454@pmorris.usa.hp.com> On Tue, 12 Dec 2006, Antonio Pereira wrote: > I'm sure there is a way but just don't know, yet. > > Is there a way to just the display the graphs that MRTG produces instead > of defining a service and check? http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#serviceextinfo See notes_url ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikhollo at cisco.com Tue Dec 12 23:07:15 2006 From: mikhollo at cisco.com (Mike Holloway) Date: Tue, 12 Dec 2006 16:07:15 -0600 Subject: Using $ in password In-Reply-To: <01e401c71e26$ab799150$1d8e79a3@kareemdesktop> References: <01e401c71e26$ab799150$1d8e79a3@kareemdesktop> Message-ID: <1742D444-86A4-49F6-A198-7267D6F142A3@cisco.com> In checkcommands.cfg, try wrapping ARG3 in single quotes on the command_line. From experience, you are better off changing the password to not use a $ character. # 'check_httpp' command definition define command{ command_name check_httpp command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a '$ARG3$' -mike On Dec 12, 2006, at 1:49 PM, Kareem Mahgoub wrote: > Thanks for all who replied to me, but unfortunately the three > solutions > didn't work. > Kindly if anyone has other ideas, post it. > Regards > ----- Original Message ----- > From: > To: > Sent: Tuesday, December 12, 2006 9:28 PM > Subject: Re: [Nagios-users] Using $ in password > > >> Normally, doubling the $ sign and eclosing the statement in single >> quotes >> works fine. >> >> check_command check_httpp!61002!192.168.1.4!:'33$$77' >> >> > ______________________________________________________________________ > ______ > ___ >> >> Jason Shein >> Network Administrator ? Linux Systems >> Iovate Health Sciences Inc. >> 5100 Spectrum Way >> Mississauga, ON L4W 5S2 >> ( 905 ) - 678 - 3119 x 3136 >> 1 - 888 - 334 - 4448, x 3136 (toll-free) >> jason.shein at iovate.com >> >> Customer Service. Collaboration. Innovation. Efficiency. >> Iovate's Information Technology Team >> >> > ______________________________________________________________________ > ______ > ___ >> >> CONFIDENTIALITY NOTICE: >> THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL >> AND IS >> INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. >> THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS >> DISCLOSED >> TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT >> OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN >> CONSENT >> OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. >> IF YOU >> HAVE >> RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT >> TO THE SENDER. >> > ______________________________________________________________________ > ______ > ___ >> >> >> >> "Kareem Mahgoub" >> Sent by: nagios-users-bounces at lists.sourceforge.net >> 12/12/2006 02:10 PM >> >> To >> >> cc >> >> Subject >> [Nagios-users] Using $ in password >> >> >> >> >> >> >> Dear All, >> >> I have a simple question. What should I do to include the >> character $ as >> one >> of the password characters in the check command? >> >> Here are some required information: >> >> 1- OS FC 5 >> >> 2- kernel 2.6.18-1 >> >> 3- Nagios version 2.5 >> >> 4- The command definition >> >> # 'check_httpp' command definition >> define command{ >> command_name check_httpp >> command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t >> 120 -a >> $ARG3$ >> } >> 5- The service configuration >> >> define service{ >> use generic-service >> host_name XXXX >> service_description YYY >> contact_groups ZZZ >> check_command check_httpp!61002!192.168.1.4!:33$77 >> } >> When I execute the command manually it works. >> >> Any help will be much appreciated >> >> Regards >> >> >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share >> your >> opinions on IT & business topics through brief surveys - and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null >> >> >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share > your >> opinions on IT & business topics through brief surveys - and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Tue Dec 12 23:56:01 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Wed, 13 Dec 2006 09:56:01 +1100 Subject: Scheduling downtime Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01A67743@mail01.ccia.local> Hi all, We have a series of power outages planned and I'm looking for an easy way to schedule downtime for a whole bunch of hosts. I'd be happy to create a hostgroup with all the affected hosts, if I could schedule downtime for the hostgroup. Is there an addon for the Nagios UI ? Or a cmd will be fine, I see there are several on Nagios Exchange, can anyone recommend one over the others ? Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Wed Dec 13 00:10:28 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Tue, 12 Dec 2006 16:10:28 -0700 Subject: Scheduling downtime Message-ID: <2D0245E43DEC724F81592D697F05689904C43302@SIDHQEXCHMB1.Cabelas.Corp> Well, I wrote one of them, and I *love* it :-) http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_vi ew]=628 If you make a hostgroup called "power_outage" you can do this to schedule an hour of downtime at midnight on Monday (for instance): # nagios_down.php -Hh -g power_outage -f -b "monday 00:00" -e "monday 01:00" -a "sysAdmin" -c "Scheduled Power Outage" Or schedule 2 hours of flexible downtime starting between 03:00 and 04:00 Sunday... # nagios_down.php -Hh -g power_outage -d 7200 -b "friday 03:00" -e "friday 04:00" -a "sysAdmin" -c "Schedule Power Outage" Just write me directly if you have any questions or anything. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Matthew Joyce Sent: Tuesday, December 12, 2006 3:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Scheduling downtime Hi all, We have a series of power outages planned and I'm looking for an easy way to schedule downtime for a whole bunch of hosts. I'd be happy to create a hostgroup with all the affected hosts, if I could schedule downtime for the hostgroup. Is there an addon for the Nagios UI ? Or a cmd will be fine, I see there are several on Nagios Exchange, can anyone recommend one over the others ? Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 13 00:52:21 2006 From: marc at ena.com (Marc Powell) Date: Tue, 12 Dec 2006 17:52:21 -0600 Subject: Scheduling downtime Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Matthew Joyce > Sent: Tuesday, December 12, 2006 4:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Scheduling downtime > > > Hi all, > > We have a series of power outages planned and I'm looking for an easy way > to schedule downtime for a whole bunch of hosts. > > I'd be happy to create a hostgroup with all the affected hosts, if I could > schedule downtime for the hostgroup. When viewing a hostgroup summary or detail, click on the hostgroup name in (). You'll then see the following options -- Schedule Downtime For All Hosts In This Hostgroup Schedule Downtime For All Services In This Hostgroup That won't help with recurring downtime but allows for easy scheduling of one-offs. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 13 08:05:05 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 13 Dec 2006 08:05:05 +0100 (CET) Subject: Nagios upgrade to 2.6 bumps using RPMs Message-ID: Hi, Just some notes before anyones picks up the nagios 2.6 RPM from DAG. Make sure to backup the config directory (as always). Just got the upgrade. But I lost some files in the upgrade and had to restore them from backup. In /etc/nagios the files checkcommands.cfg and misccommands.cfg are deleted and replaced by an incompatible file called command-plugins.cfg which is not even in the proper format for Nagios: #Note: Use the convertcfg program in the contrib directory of the Nagios # distribution to convert this file into a object file format. for misccommands.cfg there also was a *.rpmsave version but the other one was just gone. There is also a bug in 1 of the nagios-plugins for which the following tiny diff file is the answer: --- check_linux_raid.pl.SHIPPED 2006-12-13 07:47:01.000000000 +0100 +++ check_linux_raid.pl 2006-12-13 07:47:40.000000000 +0100 @@ -23,7 +23,7 @@ # WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min use strict; -use lib utils.pm; +#use lib utils.pm; use utils qw(%ERRORS); # die with an error if we're not on Linux This is also reported to the packager. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Wed Dec 13 08:32:57 2006 From: eagle at cyberdelia.de (Daniel Meyer) Date: Wed, 13 Dec 2006 08:32:57 +0100 (CET) Subject: big performance issue with Nagios 2.5 In-Reply-To: References: <8C917597-A286-4483-82C4-C598FF2A8637@cisco.com> Message-ID: On Tue, 12 Dec 2006, Daniel Meyer wrote: > On Mon, 11 Dec 2006, Mike Holloway wrote: > >> In nagios.cfg, what values are you using for service_reaper_frequency >> and sleep_time? I'm using service_reaper_frequency=5 and >> sleep_time=1 for about 10 hosts and 200 services. You might need to >> adjust your service_reaper_frequency down from the default with as >> many services as you are checking. > > My settings are: > > service_reaper_frequency=5 > sleep_time=0.25 Hm, upgraded to Nagios 2.6, the problem is still there... Danny -- Q: Gentoo is too hard to install = http://www.cyberdelia.de and I feel like whining. = eagle at cyberdelia.de A: Please see /dev/null. = (from the gentoo installer FAQ) = \o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 13 09:56:32 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Dec 2006 09:56:32 +0100 Subject: Using $ in password In-Reply-To: <01c001c71e21$3e4baf50$1d8e79a3@kareemdesktop> References: <01c001c71e21$3e4baf50$1d8e79a3@kareemdesktop> Message-ID: <457FC040.9060807@op5.se> Kareem Mahgoub wrote: > Dear All, > > I have a simple question. What should I do to include the character $ as one > of the password characters in the check command? > As the docs state, escape it with $, so that you have $$3cr3t when the real password is actually $3cr3t > Here are some required information: > > 1- OS FC 5 > > 2- kernel 2.6.18-1 > > 3- Nagios version 2.5 > > 4- The command definition > > # 'check_httpp' command definition > define command{ > command_name check_httpp > command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a > $ARG3$ > } > 5- The service configuration > > define service{ > use generic-service > host_name XXXX > service_description YYY > contact_groups ZZZ > check_command check_httpp!61002!192.168.1.4!:33$77 > } > When I execute the command manually it works. > So this should be check_command check_httpp!61002!192.168.1.4!:33$$77 -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 13 10:00:40 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Dec 2006 10:00:40 +0100 Subject: Logical Disk Rate on Windows In-Reply-To: <200612121339.08847.bob.debolt@starblanket.ca> References: <00ce01c71e29$76f57a40$6364a8c0@mintinc.ca> <200612121339.08847.bob.debolt@starblanket.ca> Message-ID: <457FC138.6030101@op5.se> Please, pretty please, don't hijack a thread by just changing the subject-line. It's for your own good, really, as people who have chosen to ignore a certain thread won't see your mail (which appear as a subthread of the old thread) if you do that. Bob DeBolt wrote: > I have an interesting question to pose to all you SNMP gurus. > > There is a desire to aquire the Logical Disk Rate for each Logical disk on a > number of Windows Servers and do it by using SNMP. Has anyone managed to come > up with a solution for this type of measurement and would SNMP be the way to > go. A number of attempts have been made but the results are very strange. > SNMP would be one way to go. I can't really say what you did wrong to get "very strange" results as you posted exactly no info at all regarding how you went about getting those very strange results. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmahgoub at gmail.com Wed Dec 13 10:01:58 2006 From: kmahgoub at gmail.com (Kareem Mahgoub) Date: Wed, 13 Dec 2006 11:01:58 +0200 Subject: Using $ in password References: <01e401c71e26$ab799150$1d8e79a3@kareemdesktop> <1742D444-86A4-49F6-A198-7267D6F142A3@cisco.com> Message-ID: <014201c71e95$5ab65e50$1d8e79a3@kareemdesktop> Thanks again for every one replied to me. I tired all what was suggested, yet nothing is working. I want to add something, when I add quotes on the password and run the command and it worked but when nagios parse the config file it didn't work, showing on the web interface "HTTP WARNING: HTTP/1.0 401 Unauthorized" Changing the password will be my last option cause there are hundreds of devices with password having the "$" character Thanks all for your help ----- Original Message ----- From: "Mike Holloway" To: Sent: Wednesday, December 13, 2006 12:07 AM Subject: Re: [Nagios-users] Using $ in password In checkcommands.cfg, try wrapping ARG3 in single quotes on the command_line. From experience, you are better off changing the password to not use a $ character. # 'check_httpp' command definition define command{ command_name check_httpp command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a '$ARG3$' -mike On Dec 12, 2006, at 1:49 PM, Kareem Mahgoub wrote: > Thanks for all who replied to me, but unfortunately the three > solutions > didn't work. > Kindly if anyone has other ideas, post it. > Regards > ----- Original Message ----- > From: > To: > Sent: Tuesday, December 12, 2006 9:28 PM > Subject: Re: [Nagios-users] Using $ in password > > >> Normally, doubling the $ sign and eclosing the statement in single >> quotes >> works fine. >> >> check_command check_httpp!61002!192.168.1.4!:'33$$77' >> >> > ______________________________________________________________________ > ______ > ___ >> >> Jason Shein >> Network Administrator ? Linux Systems >> Iovate Health Sciences Inc. >> 5100 Spectrum Way >> Mississauga, ON L4W 5S2 >> ( 905 ) - 678 - 3119 x 3136 >> 1 - 888 - 334 - 4448, x 3136 (toll-free) >> jason.shein at iovate.com >> >> Customer Service. Collaboration. Innovation. Efficiency. >> Iovate's Information Technology Team >> >> > ______________________________________________________________________ > ______ > ___ >> >> CONFIDENTIALITY NOTICE: >> THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL >> AND IS >> INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. >> THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS >> DISCLOSED >> TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT >> OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN >> CONSENT >> OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. >> IF YOU >> HAVE >> RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT >> TO THE SENDER. >> > ______________________________________________________________________ > ______ > ___ >> >> >> >> "Kareem Mahgoub" >> Sent by: nagios-users-bounces at lists.sourceforge.net >> 12/12/2006 02:10 PM >> >> To >> >> cc >> >> Subject >> [Nagios-users] Using $ in password >> >> >> >> >> >> >> Dear All, >> >> I have a simple question. What should I do to include the >> character $ as >> one >> of the password characters in the check command? >> >> Here are some required information: >> >> 1- OS FC 5 >> >> 2- kernel 2.6.18-1 >> >> 3- Nagios version 2.5 >> >> 4- The command definition >> >> # 'check_httpp' command definition >> define command{ >> command_name check_httpp >> command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t >> 120 -a >> $ARG3$ >> } >> 5- The service configuration >> >> define service{ >> use generic-service >> host_name XXXX >> service_description YYY >> contact_groups ZZZ >> check_command check_httpp!61002!192.168.1.4!:33$77 >> } >> When I execute the command manually it works. >> >> Any help will be much appreciated >> >> Regards >> >> >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share >> your >> opinions on IT & business topics through brief surveys - and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null >> >> >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share > your >> opinions on IT & business topics through brief surveys - and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 13 10:05:00 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Dec 2006 10:05:00 +0100 Subject: Missed checks In-Reply-To: References: Message-ID: <457FC23C.7040205@op5.se> Jeff Scarborough wrote: > I just installed 2.6. I have noticed that for some reason some checks just > stop happening. When I look at the scheduling queue it shows these services > with a Next Check time in the past. They never get checked again until I > either restart or click on the reschedule icon at the right. > > Any idea what is going on. > Update to latest Nagios if you haven't already, make sure you haven't disabled active checks globally, make sure you have 24x7 as the timeperiod for when checks are supposed to happen and remove all service- and host-dependency objects from the configuration. If that makes checks start working again, you'll know you've just borked the config and everything you need to know will be in the documentation (which it likely is anyway, but this will help you get started with your troubleshooting). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmahgoub at gmail.com Wed Dec 13 10:25:11 2006 From: kmahgoub at gmail.com (Kareem Mahgoub) Date: Wed, 13 Dec 2006 11:25:11 +0200 Subject: Using $ in password References: <01c001c71e21$3e4baf50$1d8e79a3@kareemdesktop> <457FC040.9060807@op5.se> Message-ID: <000c01c71e98$98e97f10$1d8e79a3@kareemdesktop> ----- Original Message ----- From: "Andreas Ericsson" To: "Kareem Mahgoub" Cc: Sent: Wednesday, December 13, 2006 10:56 AM Subject: Re: [Nagios-users] Using $ in password > Kareem Mahgoub wrote: > > Dear All, > > > > I have a simple question. What should I do to include the character $ as one > > of the password characters in the check command? > > > > As the docs state, escape it with $, so that you have > $$3cr3t > > when the real password is actually > $3cr3t > > > Here are some required information: > > > > 1- OS FC 5 > > > > 2- kernel 2.6.18-1 > > > > 3- Nagios version 2.5 > > > > 4- The command definition > > > > # 'check_httpp' command definition > > define command{ > > command_name check_httpp > > command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a > > $ARG3$ > > } > > 5- The service configuration > > > > define service{ > > use generic-service > > host_name XXXX > > service_description YYY > > contact_groups ZZZ > > check_command check_httpp!61002!192.168.1.4!:33$77 > > } > > When I execute the command manually it works. > > > > > So this should be > > check_command check_httpp!61002!192.168.1.4!:33$$77 > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 I tried this also, as I have read it in the Documentation, but it didn't work. Thanks for your help ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 13 11:13:14 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 13 Dec 2006 11:13:14 +0100 Subject: External commands not working anymore Message-ID: <619cf3c0612130213y7ea65a11pd78fc7fe84c0c432@mail.gmail.com> Hi List members, I have reinstalled a backup version of Nagios 1.3 on my debian server. I went trough the documentation again to give proper rights to /var/rw directory and the proper membership. From the web console now when i try to send external commands, i get Your command request was successfully submitted to Nagios for processing. Note: It may take a while before the command is actually processed. But nothing comes up really, if i try to send a passive check it is never performed, if i try to stop a service check, it doesn't stop.... Any ideas about what i should check? Thanks. -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From herman_ang at toyota.co.id Wed Dec 13 12:16:36 2006 From: herman_ang at toyota.co.id (Herman (ISTD)) Date: Wed, 13 Dec 2006 18:16:36 +0700 Subject: Notification problem (Please help) Message-ID: Dear all, My nagios server seemed didn't tried to send notification even when hard state occurred. I attached the configuration of my nagios. If there's anyone know what's wrong with my nagios configuration. Please help me. Thank you vey much. Best Regards, Herman [12-13-2006 17:51:45] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;log-ftp [12-13-2006 17:51:45] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;Connection refused [12-13-2006 17:51:35] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;log-ftp [12-13-2006 17:51:35] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;Connection refused [12-13-2006 17:51:25] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;log-ftp [12-13-2006 17:51:25] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;Connection refused [12-13-2006 17:50:51] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;OK;HARD;3;log-ftp [12-13-2006 17:50:51] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;OK;HARD;3;FTP OK - 0.006 second response time on port 21 [220 Remote FTP Command ready] [12-13-2006 17:50:15] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;log-ftp [12-13-2006 17:50:15] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;Connection refused [12-13-2006 17:50:05] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;log-ftp [12-13-2006 17:50:05] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;Connection refused [12-13-2006 17:49:55] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;log-ftp [12-13-2006 17:49:55] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;Connection refused [12-13-2006 17:49:41] Finished daemonizing... (New PID=30648) [12-13-2006 17:49:41] LOG VERSION: 2.0 [12-13-2006 17:49:41] Nagios 2.5 starting... (PID=30647) [12-13-2006 17:49:06] Successfully shutdown... (PID=24672) [12-13-2006 17:49:06] Caught SIGTERM, shutting down... [12-13-2006 17:32:09] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds [12-13-2006 17:32:09] SERVICE ALERT: NAS-TMMIN-HO-2;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds [12-13-2006 17:32:09] HOST EVENT HANDLER: NAS-TMMIN-HO-2;DOWN;HARD;3;log-host [12-13-2006 17:32:09] HOST ALERT: NAS-TMMIN-HO-2;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds [12-13-2006 17:31:59] HOST EVENT HANDLER: NAS-TMMIN-HO-2;DOWN;SOFT;2;log-host [12-13-2006 17:31:59] HOST ALERT: NAS-TMMIN-HO-2;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [12-13-2006 17:31:49] HOST EVENT HANDLER: NAS-TMMIN-HO-2;DOWN;SOFT;1;log-host [12-13-2006 17:31:49] HOST ALERT: NAS-TMMIN-HO-2;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [12-13-2006 17:30:39] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;OK;HARD;3;log-ftp [12-13-2006 17:30:39] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;OK;HARD;3;FTP OK - 0.098 second response time on port 21 [220 Remote FTP Command ready] [12-13-2006 17:28:53] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;log-ftp [12-13-2006 17:28:53] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;Connection refused [12-13-2006 17:28:43] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;log-ftp [12-13-2006 17:28:43] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;Connection refused [12-13-2006 17:28:33] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;log-ftp [12-13-2006 17:28:33] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;Connection refused [12-13-2006 17:27:49] Finished daemonizing... (New PID=24672) [12-13-2006 17:27:49] LOG VERSION: 2.0 [12-13-2006 17:27:49] Nagios 2.5 starting... (PID=24671) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: The Email Attachment Was Deleted.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From herman_ang at toyota.co.id Wed Dec 13 12:36:56 2006 From: herman_ang at toyota.co.id (Herman (ISTD)) Date: Wed, 13 Dec 2006 18:36:56 +0700 Subject: Notification Problem (Please Help - Resend) Message-ID: Dear all, My nagios server seemed didn't tried to send notification even when hard state occurred. I attached the configuration of my nagios. If there's anyone know what's wrong with my nagios configuration. Please help me. Thank you vey much. Best Regards, Herman [12-13-2006 17:51:45] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;log-ftp [12-13-2006 17:51:45] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;Connection refused [12-13-2006 17:51:35] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;log-ftp [12-13-2006 17:51:35] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;Connection refused [12-13-2006 17:51:25] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;log-ftp [12-13-2006 17:51:25] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;Connection refused [12-13-2006 17:50:51] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;OK;HARD;3;log-ftp [12-13-2006 17:50:51] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;OK;HARD;3;FTP OK - 0.006 second response time on port 21 [220 Remote FTP Command ready] [12-13-2006 17:50:15] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;log-ftp [12-13-2006 17:50:15] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;Connection refused [12-13-2006 17:50:05] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;log-ftp [12-13-2006 17:50:05] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;Connection refused [12-13-2006 17:49:55] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;log-ftp [12-13-2006 17:49:55] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;Connection refused [12-13-2006 17:49:41] Finished daemonizing... (New PID=30648) [12-13-2006 17:49:41] LOG VERSION: 2.0 [12-13-2006 17:49:41] Nagios 2.5 starting... (PID=30647) [12-13-2006 17:49:06] Successfully shutdown... (PID=24672) [12-13-2006 17:49:06] Caught SIGTERM, shutting down... [12-13-2006 17:32:09] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds [12-13-2006 17:32:09] SERVICE ALERT: NAS-TMMIN-HO-2;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds [12-13-2006 17:32:09] HOST EVENT HANDLER: NAS-TMMIN-HO-2;DOWN;HARD;3;log-host [12-13-2006 17:32:09] HOST ALERT: NAS-TMMIN-HO-2;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds [12-13-2006 17:31:59] HOST EVENT HANDLER: NAS-TMMIN-HO-2;DOWN;SOFT;2;log-host [12-13-2006 17:31:59] HOST ALERT: NAS-TMMIN-HO-2;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [12-13-2006 17:31:49] HOST EVENT HANDLER: NAS-TMMIN-HO-2;DOWN;SOFT;1;log-host [12-13-2006 17:31:49] HOST ALERT: NAS-TMMIN-HO-2;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [12-13-2006 17:30:39] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;OK;HARD;3;log-ftp [12-13-2006 17:30:39] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;OK;HARD;3;FTP OK - 0.098 second response time on port 21 [220 Remote FTP Command ready] [12-13-2006 17:28:53] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;log-ftp [12-13-2006 17:28:53] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;Connection refused [12-13-2006 17:28:43] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;log-ftp [12-13-2006 17:28:43] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;Connection refused [12-13-2006 17:28:33] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;log-ftp [12-13-2006 17:28:33] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;Connection refused [12-13-2006 17:27:49] Finished daemonizing... (New PID=24672) [12-13-2006 17:27:49] LOG VERSION: 2.0 [12-13-2006 17:27:49] Nagios 2.5 starting... (PID=24671) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cgi.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: checkcommands.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: contactgroups.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: contacts.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: hostextinfo.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: hostgroups.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: hosts.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: minimal.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: misccommands.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: resource.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: services.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: timeperiods.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 13 13:18:39 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Dec 2006 13:18:39 +0100 Subject: Notification Problem (Please Help - Resend) In-Reply-To: References: Message-ID: <457FEF9F.2020003@op5.se> Herman (ISTD) wrote: > Dear all, > > > > My nagios server seemed didn't tried to send notification even when hard > state occurred. I attached the configuration of my nagios. If there's > anyone know what's wrong with my nagios configuration. Please help me. > > Thank you vey much. > Do you realize that you're asking several hundred people to scan several thousand lines of configuration to give you a solution to a problem you apparently haven't even tried solve yourself? It is so rude of you that I'm actually speechless. In combination with the fact that you re-sent the message 20 minutes after not receiving a response to the first try, this makes me want to hit you quite hard with a blunt object. Read the page linked below at least ten times before you post here again. After all, if you can't be bothered, why should I or anyone else on this list? http://catb.org/esr/faqs/smart-questions.html -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 13 13:20:23 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Dec 2006 13:20:23 +0100 Subject: External commands not working anymore In-Reply-To: <619cf3c0612130213y7ea65a11pd78fc7fe84c0c432@mail.gmail.com> References: <619cf3c0612130213y7ea65a11pd78fc7fe84c0c432@mail.gmail.com> Message-ID: <457FF007.9090606@op5.se> Toto Capuccino wrote: > Hi List members, > > I have reinstalled a backup version of Nagios 1.3 on my debian server. > I went trough the documentation again to give proper rights to /var/rw > directory and the proper membership. From the web console now when i try to > send external commands, i get > Your command request was successfully submitted to Nagios for processing. > > Note: It may take a while before the command is actually processed. > > But nothing comes up really, if i try to send a passive check it is never > performed, if i try to stop a service check, it doesn't stop.... > Any ideas about what i should check? The nagios log-file will tell you if Nagios reads the command. If it doesn't, you should check your paths so that the nagios daemon reads from the same place as the nagios cgi's write to. If it does, you've encountered a hitherto undiscovered bug. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From herman_ang at toyota.co.id Wed Dec 13 13:56:43 2006 From: herman_ang at toyota.co.id (Herman (ISTD)) Date: Wed, 13 Dec 2006 19:56:43 +0700 Subject: Notification Problem (Please Help - Resend) Message-ID: Dear all, Sorry if my previous message bothered any of you. Actually I have tried to solve this problem for quite several days but still it didn't work, the gooling & FAQ at Nagios website did no help. Quite desperate :( FYI, I resent the message since I found out the the attachments were blocked during the first delivery. However, thank you for your advise. Regards, Herman > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Wednesday, December 13, 2006 7:19 PM > To: Herman (ISTD) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notification Problem (Please Help - Resend) > > Herman (ISTD) wrote: > > Dear all, > > > > > > > > My nagios server seemed didn't tried to send notification even when hard > > state occurred. I attached the configuration of my nagios. If there's > > anyone know what's wrong with my nagios configuration. Please help me. > > > > Thank you vey much. > > > > Do you realize that you're asking several hundred people to scan several > thousand lines of configuration to give you a solution to a problem you > apparently haven't even tried solve yourself? It is so rude of you that > I'm actually speechless. > > In combination with the fact that you re-sent the message 20 minutes > after not receiving a response to the first try, this makes me want to > hit you quite hard with a blunt object. > > Read the page linked below at least ten times before you post here > again. After all, if you can't be bothered, why should I or anyone else > on this list? > > http://catb.org/esr/faqs/smart-questions.html > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 13 14:01:51 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 13 Dec 2006 14:01:51 +0100 Subject: External commands not working anymore In-Reply-To: <457FF007.9090606@op5.se> References: <619cf3c0612130213y7ea65a11pd78fc7fe84c0c432@mail.gmail.com> <457FF007.9090606@op5.se> Message-ID: <619cf3c0612130501v5a2c955s445dda45ee4b6f9@mail.gmail.com> 2006/12/13, Andreas Ericsson : > > Toto Capuccino wrote: > > Hi List members, > > > > I have reinstalled a backup version of Nagios 1.3 on my debian server. > > I went trough the documentation again to give proper rights to /var/rw > > directory and the proper membership. From the web console now when i try > to > > send external commands, i get > > Your command request was successfully submitted to Nagios for > processing. > > > > Note: It may take a while before the command is actually processed. > > > > But nothing comes up really, if i try to send a passive check it is > never > > performed, if i try to stop a service check, it doesn't stop.... > > Any ideas about what i should check? > > > The nagios log-file will tell you if Nagios reads the command. If it > doesn't, you should check your paths so that the nagios daemon reads > from the same place as the nagios cgi's write to. If it does, you've > encountered a hitherto undiscovered bug. > > From the log i get [1166014693] EXTERNAL COMMAND: ENABLE_PASSIVE_SVC_CHECKS;remcorpsv02;Exchange MTA Stacks but still it stays in the previous state, without passive check enabled. I have restarted nagios, delete the nagios.cmd file without any luck. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason-sourceforge at microlnk.net Wed Dec 13 14:18:48 2006 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Wed, 13 Dec 2006 07:18:48 -0600 Subject: Packet loss reported by check_ping? Message-ID: <457FFDB8.9080709@microlnk.net> Good morning, all. I've been tweaking our Nagios install over the years. I've often wondered exactly how the check_ping plugin reports its results. I used to leave this plugin at the default number of packets, which I believe is five. If and when we saw warnings on packet loss, it would usually give us numbers like 16%, 32%, or multiples like that. Why not multiples of 20%, given that it tried five packets? Now I'm worried, though. I recently changed our default ping commands to only use ONE ping packet. This was due to advice I found after a Google search, when I was seeing extremely high latencies on my host (and some service) checks. It certainly seemed to help, too, now my host latency is usually below one second. (Instead of the FIFTEEN MINUTES it was reporting before that) But I still see some reports of packet loss. Like, 50% is a common number I now see. HOW is it seeing anything but either 0% or 100% packet loss, if it uses only one packet per host check?? Also, along those lines... I recently moved from the 1.2 Nagios to the more recent 2.4-2.5 Nagios. Nagios 1.X seemed to only trigger a host check if a service check failed. Nagios 2.X seems to ALWAYS run host checks in addition to service checks. The fact that host checks are currently not run in parallel seems like this can really limit performance. Why did that behavior change? Will host checks be run in parallel for the 3.0 series, like I think I read once...? Thanks for any input! -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Dec 13 14:42:11 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 13 Dec 2006 13:42:11 +0000 Subject: Packet loss reported by check_ping? In-Reply-To: <457FFDB8.9080709@microlnk.net> References: <457FFDB8.9080709@microlnk.net> Message-ID: <45800333.2050907@mailnetwork.co.uk> Jason Byrns wrote: > Also, along those lines... I recently moved from the 1.2 Nagios to the > more recent 2.4-2.5 Nagios. Nagios 1.X seemed to only trigger a host > check if a service check failed. Nagios 2.X seems to ALWAYS run host > checks in addition to service checks. The fact that host checks are > currently not run in parallel seems like this can really limit performance. > I have this problem - according to people on the list, Nagios 2.5 should only run a host check when a service check reports as failed as it did in 1.x, but my Nagios 2.5 runs a host check every 1.5 - 2 minutes, even though scheduled active host checks show as disabled in the config. I haven't solved this yet, but I'm going to get 2.6 on test in the next couple weeks. > Why did that behavior change? Will host checks be run in parallel for > the 3.0 series, like I think I read once...? > > Thanks for any input! > > I hope so! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Wed Dec 13 15:11:30 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Wed, 13 Dec 2006 15:11:30 +0100 Subject: Notification Problem (Please Help - Resend) In-Reply-To: References: Message-ID: <45800A12.9090902@gmx.net> Hey Herman, your mistake can be found by looking for service_notification_options on http://nagios.sourceforge.net/docs/2_0/xodtemplate.html Herman (ISTD) schrieb: > Dear all, > > Sorry if my previous message bothered any of you. Actually I have tried > to solve this problem for quite several days but still it didn't work, > the gooling & FAQ at Nagios website did no help. Quite desperate :( > > FYI, I resent the message since I found out the the attachments were > blocked during the first delivery. > However, thank you for your advise. > > Regards, > > Herman > > >> -----Original Message----- >> From: Andreas Ericsson [mailto:ae at op5.se] >> Sent: Wednesday, December 13, 2006 7:19 PM >> To: Herman (ISTD) >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Notification Problem (Please Help - >> > Resend) > >> Herman (ISTD) wrote: >> >>> Dear all, >>> >>> >>> >>> My nagios server seemed didn't tried to send notification even when >>> > hard > >>> state occurred. I attached the configuration of my nagios. If >>> > there's > >>> anyone know what's wrong with my nagios configuration. Please help >>> > me. > >>> Thank you vey much. >>> >>> >> Do you realize that you're asking several hundred people to scan >> > several > >> thousand lines of configuration to give you a solution to a problem >> > you > >> apparently haven't even tried solve yourself? It is so rude of you >> > that > >> I'm actually speechless. >> >> In combination with the fact that you re-sent the message 20 minutes >> after not receiving a response to the first try, this makes me want to >> hit you quite hard with a blunt object. >> >> Read the page linked below at least ten times before you post here >> again. After all, if you can't be bothered, why should I or anyone >> > else > >> on this list? >> >> http://catb.org/esr/faqs/smart-questions.html >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Tel: +46 8-230225 Fax: +46 8-230231 >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgj at unb.ca Wed Dec 13 15:42:39 2006 From: mgj at unb.ca (Michael Jewett) Date: Wed, 13 Dec 2006 10:42:39 -0400 Subject: Contact Group problem Message-ID: <4580115F.70209@unb.ca> Hi, I have this really strange problem with my contact groups. Here is the basic problem. I have multiple contact groups, but two that are causing me headaches, we'll call them GroupA and GroupB. GroupA has people X,Y,Z GroupB has people X,Y Person X decided they don't need information on GroupA anymore, so I removed them from that contactgroup. But for some strange reason they don't seem to get information (i.e. webinterface HOSTGROUP summary) about GroupB anymore either. So I added them back to GroupA and they see everything in the Hostgroup summary again. As a test, I removed them from GroupB and left them in GroupA and now they lose the Hostgroup Summary web information for GroupB, like expected, and still have GroupA listed. Here is the summary, which hopefully will make this clearer. X is in GroupA and GroupB, he can see both groups (as expected) X is only in GroupA, he can see only GroupA (as expected) X is only in GroupB, he can't see anything! (NOT as expected!!!) Any suggestions? Are my templates messed up totally? Suggestions would be greatly appreciated!!! Michael -- Michael Jewett Network Analyst ITS - Communications & Network Services mgj at unb.ca (506) 447-3022 (506) 453-3590 (FAX) ITS at UNB - Services, Solutions, Strategies ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 13 15:46:26 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Dec 2006 15:46:26 +0100 Subject: Packet loss reported by check_ping? In-Reply-To: <457FFDB8.9080709@microlnk.net> References: <457FFDB8.9080709@microlnk.net> Message-ID: <45801242.4030901@op5.se> Jason Byrns wrote: > Good morning, all. > > I've been tweaking our Nagios install over the years. I've often > wondered exactly how the check_ping plugin reports its results. > > I used to leave this plugin at the default number of packets, which I > believe is five. If and when we saw warnings on packet loss, it would > usually give us numbers like 16%, 32%, or multiples like that. Why not > multiples of 20%, given that it tried five packets? > This sounds like a bug in check_ping (in order to accurately report 16% packet loss it would have to send at least 6 packets, assuming 16% is rounded value). My guess is that it sends one at startup and then one each second for five seconds, although I can't verify it because I'm too lazy to go look at the code ;-) > Now I'm worried, though. I recently changed our default ping commands > to only use ONE ping packet. This was due to advice I found after a > Google search, when I was seeing extremely high latencies on my host > (and some service) checks. It certainly seemed to help, too, now my > host latency is usually below one second. (Instead of the FIFTEEN > MINUTES it was reporting before that) > > But I still see some reports of packet loss. Like, 50% is a common > number I now see. HOW is it seeing anything but either 0% or 100% > packet loss, if it uses only one packet per host check?? > Assuming 0, 50 and 100 are the *only* numbers you see, this tallies with my guess above. > Also, along those lines... I recently moved from the 1.2 Nagios to the > more recent 2.4-2.5 Nagios. Nagios 1.X seemed to only trigger a host > check if a service check failed. Nagios 2.X seems to ALWAYS run host > checks in addition to service checks. The fact that host checks are > currently not run in parallel seems like this can really limit performance. > > Why did that behavior change? It didn't. Or rather, it wasn't supposed to. I haven't seen anything of the kind in any of our ~160 customers installations, so I'm fairly certain this doesn't happen for all setups. What does your nagios.log report on the ~15 lines prepending the host-check entry? > Will host checks be run in parallel for > the 3.0 series, like I think I read once...? > Yes, that has been planned. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.A.Childers at wellsfargo.com Wed Dec 13 15:52:52 2006 From: Richard.A.Childers at wellsfargo.com (Richard.A.Childers at wellsfargo.com) Date: Wed, 13 Dec 2006 08:52:52 -0600 Subject: Packet loss reported by check_ping? Message-ID: <8A880C79FFE28546933CE022FE244C7C01211C69@msgswbiadsm48.wellsfargo.com> >From the numbers you've provided it seems clear that, by default, Nagios sends at least one packet above and beyond those specified by the administrator. Regards, --richard -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jason Byrns Sent: Wednesday, December 13, 2006 5:19 AM To: Nagios Users Subject: [Nagios-users] Packet loss reported by check_ping? Good morning, all. I've been tweaking our Nagios install over the years. I've often wondered exactly how the check_ping plugin reports its results. I used to leave this plugin at the default number of packets, which I believe is five. If and when we saw warnings on packet loss, it would usually give us numbers like 16%, 32%, or multiples like that. Why not multiples of 20%, given that it tried five packets? Now I'm worried, though. I recently changed our default ping commands to only use ONE ping packet. This was due to advice I found after a Google search, when I was seeing extremely high latencies on my host (and some service) checks. It certainly seemed to help, too, now my host latency is usually below one second. (Instead of the FIFTEEN MINUTES it was reporting before that) But I still see some reports of packet loss. Like, 50% is a common number I now see. HOW is it seeing anything but either 0% or 100% packet loss, if it uses only one packet per host check?? Also, along those lines... I recently moved from the 1.2 Nagios to the more recent 2.4-2.5 Nagios. Nagios 1.X seemed to only trigger a host check if a service check failed. Nagios 2.X seems to ALWAYS run host checks in addition to service checks. The fact that host checks are currently not run in parallel seems like this can really limit performance. Why did that behavior change? Will host checks be run in parallel for the 3.0 series, like I think I read once...? Thanks for any input! -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 13 16:25:21 2006 From: marc at ena.com (Marc Powell) Date: Wed, 13 Dec 2006 09:25:21 -0600 Subject: Packet loss reported by check_ping? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jason Byrns > Sent: Wednesday, December 13, 2006 7:19 AM > To: Nagios Users > Subject: [Nagios-users] Packet loss reported by check_ping? > > Good morning, all. > > I've been tweaking our Nagios install over the years. I've often > wondered exactly how the check_ping plugin reports its results. > > I used to leave this plugin at the default number of packets, which I > believe is five. If and when we saw warnings on packet loss, it would > usually give us numbers like 16%, 32%, or multiples like that. Why not > multiples of 20%, given that it tried five packets? check_ping is just a wrapper for /bin/ping (or its equivalent on your machine). check_ping doesn't change the results of /bin/ping so the percentages are coming from ping, not check_ping. Do you see the same results with /bin/ping? Run it in verbose mode to see the ping command it's using -- $ ./check_ping -v -v -H 172.27.0.3 -w 10,50% -c 20,70% CMD: /bin/ping -n -U -w 10 -c 5 172.27.0.3 PING OK - Packet loss = 0%, RTA = 0.21 ms 10.000000:50% 20.000000:70% > But I still see some reports of packet loss. Like, 50% is a common > number I now see. HOW is it seeing anything but either 0% or 100% > packet loss, if it uses only one packet per host check?? See above. > Also, along those lines... I recently moved from the 1.2 Nagios to the > more recent 2.4-2.5 Nagios. Nagios 1.X seemed to only trigger a host > check if a service check failed. Nagios 2.X seems to ALWAYS run host > checks in addition to service checks. The fact that host checks are > currently not run in parallel seems like this can really limit > performance. > > Why did that behavior change? Will host checks be run in parallel for Because _you_ configured Nagios to do it. Regularly scheduled host checks are not enabled by default and are in fact quite discouraged. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host "check_interval: NOTE: Do NOT enable regularly scheduled checks of a host unless you absolutely need to! Host checks are already performed on-demand when necessary, so there are few times when regularly scheduled checks would be needed. Regularly scheduled host checks can negatively impact performance - see the performance tuning tips for more information. This directive is used to define the number of "time units" between regularly scheduled checks of the host. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation." > the 3.0 series, like I think I read once...? Yes, and they'll actually be of benefit then. See the NetWays presentations linked off of http://www.nagios.org for more information on where Nagios is headed. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Dec 13 16:43:17 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 13 Dec 2006 15:43:17 +0000 Subject: Packet loss reported by check_ping? In-Reply-To: <45801242.4030901@op5.se> References: <457FFDB8.9080709@microlnk.net> <45801242.4030901@op5.se> Message-ID: <45801F95.2020603@mailnetwork.co.uk> Andreas, >> Also, along those lines... I recently moved from the 1.2 Nagios to the >> more recent 2.4-2.5 Nagios. Nagios 1.X seemed to only trigger a host >> check if a service check failed. Nagios 2.X seems to ALWAYS run host >> checks in addition to service checks. The fact that host checks are >> currently not run in parallel seems like this can really limit performance. >> >> Why did that behavior change? >> > > It didn't. Or rather, it wasn't supposed to. I haven't seen anything of > the kind in any of our ~160 customers installations, so I'm fairly > certain this doesn't happen for all setups. What does your nagios.log > report on the ~15 lines prepending the host-check entry? > [1165968000] LOG ROTATION: DAILY [1165968000] LOG VERSION: 2.0 [1165968000] CURRENT HOST STATE: Cairns;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.93 ms [1165968000] CURRENT HOST STATE: FH-Gateway;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.19 ms [1165968000] CURRENT HOST STATE: Perth;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.08 ms [1165968000] CURRENT HOST STATE: SC-Gateway;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 5.89 ms [1165968000] CURRENT HOST STATE: Sydney-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 6.62 ms [1165968000] CURRENT HOST STATE: Sydney-2;UP;HARD;1;PING OK - Packet loss = 9%, RTA = 9.10 ms [1165968000] CURRENT SERVICE STATE: Cairns;- OVERALL SERVER AVAILABILITY;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 1.15 ms ---- the above line is repeated for every host/service combination ---- [1165968024] Warning: The results of host 'Cairns' are stale by 45 seconds (threshold=15 seconds). I'm forcing an immediate check of the host. ---- the above line is repeated for every host ---- The "stale by xx seconds" varies between 40 and 70 seconds. However in Nagios' front-end, scheduled hosts checks are apparently disabled: Last Check Type: ACTIVE Last Check Time: 13-12-2006 15:19:18 Status Data Age: 0d 0h 0m 59s Next Scheduled Active Check: N/A ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 13 16:44:13 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Dec 2006 16:44:13 +0100 Subject: Logical Disk Rate on Windows In-Reply-To: <200612130823.54118.bob.debolt@starblanket.ca> References: <00ce01c71e29$76f57a40$6364a8c0@mintinc.ca> <200612121339.08847.bob.debolt@starblanket.ca> <457FC138.6030101@op5.se> <200612130823.54118.bob.debolt@starblanket.ca> Message-ID: <45801FCD.5010805@op5.se> Bob DeBolt wrote: > On Wed December 13 2006 2:00 am, you wrote: > > Hi Andreas > >> Please, pretty please, don't hijack a thread by just changing the >> subject-line. > > I'm not aware of any existing thread regarding logical disk rates, I have all > the list emails since August 15th. I did a number of word searches on them and > didn't find any emails that thing fit the description of what I'm trying to > do. Likewise google. Is it a recent / existing thead ? > > Pass on a date?? > That's not what I meant. You chose a random message from the list, hit the "reply" button, edited the subject line and removed all the message contents, and then filled in your message and sent it. This is what is considered "hijacking" a thread (the original thread was "[Nagios-users] Using $ in password"). Doing this means that everyone who sort messages by thread and aren't interested in how to use '$' in passwords will not see your message, because it will be buried inside the original thread. For the people who *are* interested in the previous thread, your hijacking of it only adds clutter to "their" thread. As for *this* mail, it was addressed to me directly, which is almost always inappropriate for list discussions and quite often considered rude unless explicitly asked for (I'm bringing it back on-list btw). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 13 16:50:02 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Dec 2006 16:50:02 +0100 Subject: Packet loss reported by check_ping? In-Reply-To: <45801C8A.8080404@mailnetwork.co.uk> References: <457FFDB8.9080709@microlnk.net> <45801242.4030901@op5.se> <45801C8A.8080404@mailnetwork.co.uk> Message-ID: <4580212A.1030602@op5.se> I would appreciate if you didn't bring mail discussions off-list. It prevents others who might have the same problem from benefiting from the suggestions, and makes it impossible for archivers to pick up the entire discussion which in turn makes it impossible for google to index it, so that means everyone on this list that answers questions will have to answer the same question over and over again. Please don't do it again. Thanks. Andy Shellam (Mailing Lists) wrote: > Andreas, >>> Also, along those lines... I recently moved from the 1.2 Nagios to >>> the more recent 2.4-2.5 Nagios. Nagios 1.X seemed to only trigger a >>> host check if a service check failed. Nagios 2.X seems to ALWAYS run >>> host checks in addition to service checks. The fact that host checks >>> are currently not run in parallel seems like this can really limit >>> performance. >>> >>> Why did that behavior change? >>> >> >> It didn't. Or rather, it wasn't supposed to. I haven't seen anything >> of the kind in any of our ~160 customers installations, so I'm fairly >> certain this doesn't happen for all setups. What does your nagios.log >> report on the ~15 lines prepending the host-check entry? >> > > > [1165968000] LOG ROTATION: DAILY > [1165968000] LOG VERSION: 2.0 > [1165968000] CURRENT HOST STATE: Cairns;UP;HARD;1;PING OK - Packet loss > = 0%, RTA = 0.93 ms > [1165968000] CURRENT HOST STATE: FH-Gateway;UP;HARD;1;PING OK - Packet > loss = 0%, RTA = 0.19 ms > [1165968000] CURRENT HOST STATE: Perth;UP;HARD;1;PING OK - Packet loss = > 0%, RTA = 0.08 ms > [1165968000] CURRENT HOST STATE: SC-Gateway;UP;HARD;1;PING OK - Packet > loss = 0%, RTA = 5.89 ms > [1165968000] CURRENT HOST STATE: Sydney-1;UP;HARD;1;PING OK - Packet > loss = 0%, RTA = 6.62 ms > [1165968000] CURRENT HOST STATE: Sydney-2;UP;HARD;1;PING OK - Packet > loss = 9%, RTA = 9.10 ms > [1165968000] CURRENT SERVICE STATE: Cairns;- OVERALL SERVER > AVAILABILITY;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 1.15 ms > ---- the above line is repeated for every host/service combination ---- > [1165968024] Warning: The results of host 'Cairns' are stale by 45 > seconds (threshold=15 seconds). I'm forcing an immediate check of the > host. > ---- the above line is repeated for every host ---- > > The "stale by xx seconds" varies between 40 and 70 seconds. > I'm guessing you've enabled passive host checks and also enabled freshness checking with a freshness threshold for hosts. This will effectively force host-checks with exactly the sort of logmessages you showed above. > However in Nagios' front-end, scheduled hosts checks are apparently > disabled: > > Last Check Type: ACTIVE > Last Check Time: 13-12-2006 15:19:18 > Status Data Age: 0d 0h 0m 59s > Next Scheduled Active Check: N/A > Yes, the checks aren't scheduled the normal way, or you wouldn't see the "warning... stale by...". It would just run the check and shut up. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 13 16:54:11 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Dec 2006 16:54:11 +0100 Subject: Packet loss reported by check_ping? In-Reply-To: <4580212A.1030602@op5.se> References: <457FFDB8.9080709@microlnk.net> <45801242.4030901@op5.se> <45801C8A.8080404@mailnetwork.co.uk> <4580212A.1030602@op5.se> Message-ID: <45802223.1030706@op5.se> Andreas Ericsson wrote: > I would appreciate if you didn't bring mail discussions off-list. It > prevents others who might have the same problem from benefiting from the > suggestions, and makes it impossible for archivers to pick up the entire > discussion which in turn makes it impossible for google to index it, so > that means everyone on this list that answers questions will have to > answer the same question over and over again. > > Please don't do it again. Thanks. > My apologies. I'm getting bitten by the sourceforge roundtrip latency :( > Andy Shellam (Mailing Lists) wrote: >> Andreas, >>>> Also, along those lines... I recently moved from the 1.2 Nagios to >>>> the more recent 2.4-2.5 Nagios. Nagios 1.X seemed to only trigger a >>>> host check if a service check failed. Nagios 2.X seems to ALWAYS run >>>> host checks in addition to service checks. The fact that host checks ... -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Dec 13 16:58:02 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 13 Dec 2006 15:58:02 +0000 Subject: Packet loss reported by check_ping? In-Reply-To: <4580212A.1030602@op5.se> References: <457FFDB8.9080709@microlnk.net> <45801242.4030901@op5.se> <45801C8A.8080404@mailnetwork.co.uk> <4580212A.1030602@op5.se> Message-ID: <4580230A.1030501@mailnetwork.co.uk> Andreas Ericsson wrote: > I would appreciate if you didn't bring mail discussions off-list. It > prevents others who might have the same problem from benefiting from > the suggestions, and makes it impossible for archivers to pick up the > entire discussion which in turn makes it impossible for google to > index it, so that means everyone on this list that answers questions > will have to answer the same question over and over again. > > Please don't do it again. Thanks. Oh I'm sorry, I forgot to copy the list in the first-time round, but if you check your account, you'll see that I forwarded the message to the list separately at 3:43 having realised my mistake, so everyone saw it. > > I'm guessing you've enabled passive host checks and also enabled > freshness checking with a freshness threshold for hosts. This will > effectively force host-checks with exactly the sort of logmessages you > showed above. Yes I had enabled check_freshness, however the freshness_threshold was set to 0, so would this still take effect? I've disabled freshness checking and restarted Nagios so I'll see what happens. > > Yes, the checks aren't scheduled the normal way, or you wouldn't see > the "warning... stale by...". It would just run the check and shut up. > Thanks, -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Dec 13 17:12:11 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 13 Dec 2006 16:12:11 +0000 Subject: Packet loss reported by check_ping? In-Reply-To: <45802223.1030706@op5.se> References: <457FFDB8.9080709@microlnk.net> <45801242.4030901@op5.se> <45801C8A.8080404@mailnetwork.co.uk> <4580212A.1030602@op5.se> <45802223.1030706@op5.se> Message-ID: <4580265B.7030308@mailnetwork.co.uk> Andreas Ericsson wrote: > My apologies. I'm getting bitten by the sourceforge roundtrip latency :( Haha me too by the looks of it!! Anyway, removing the "check_freshness" parameter seemed to have solved it - last check was at 15:58 (when I re-started Nagios) and it's now 4:11 without another check. The latency timings are much better as well. Thanks very much, a long-standing issue solved! Andy. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 13 17:16:07 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 13 Dec 2006 16:16:07 +0000 Subject: Packet loss reported by check_ping? In-Reply-To: <4580230A.1030501@mailnetwork.co.uk> References: <457FFDB8.9080709@microlnk.net> <45801242.4030901@op5.se> <45801C8A.8080404@mailnetwork.co.uk> <4580212A.1030602@op5.se> <4580230A.1030501@mailnetwork.co.uk> Message-ID: <5F5B2100-F4B8-4D63-9B48-FBE8FB27D2B9@altinity.com> On 13 Dec 2006, at 15:58, Andy Shellam (Mailing Lists) wrote: > Yes I had enabled check_freshness, however the freshness_threshold was > set to 0, so would this still take effect? Having been bitten by this one: freshness_threshold = 0 means "let Nagios calculate the threshold period". http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From herman_ang at toyota.co.id Wed Dec 13 18:12:09 2006 From: herman_ang at toyota.co.id (Herman (ISTD)) Date: Thu, 14 Dec 2006 00:12:09 +0700 Subject: Notification Problem Message-ID: Dear Hendrik, thank you very much for your suggestion. I have modified the contacts.cfg as you recommended, but still there's no attempt from Nagios to initiate the notification. Is there anything else I have missed ? Besst Regards, Herman The message on Reporting Notification : No notifications have been recorded in the current log file In event log, no attempt from Nagios to send notification : [12-14-2006 00:11:33] SERVICE ALERT: NAS-TMMIN-HO-2;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds [12-14-2006 00:11:33] HOST EVENT HANDLER: NAS-TMMIN-HO-2;DOWN;HARD;3;log-host [12-14-2006 00:11:33] HOST ALERT: NAS-TMMIN-HO-2;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds [12-14-2006 00:11:23] HOST EVENT HANDLER: NAS-TMMIN-HO-2;DOWN;SOFT;2;log-host [12-14-2006 00:11:23] HOST ALERT: NAS-TMMIN-HO-2;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [12-14-2006 00:11:13] HOST EVENT HANDLER: NAS-TMMIN-HO-2;DOWN;SOFT;1;log-host [12-14-2006 00:11:13] HOST ALERT: NAS-TMMIN-HO-2;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [12-14-2006 00:10:17] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;log-ftp [12-14-2006 00:10:17] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;Connection refused [12-14-2006 00:10:07] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;log-ftp [12-14-2006 00:10:07] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;Connection refused [12-14-2006 00:09:57] SERVICE EVENT HANDLER: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;log-ftp [12-14-2006 00:09:57] SERVICE ALERT: NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;Connection refused [12-14-2006 00:05:53] Finished daemonizing... (New PID=32622) [12-14-2006 00:05:53] LOG VERSION: 2.0 [12-14-2006 00:05:53] Nagios 2.5 starting... (PID=32621) [12 My configuration after changes : define contact{ contact_name nagiosadmin alias Nagios Admin service_notification_options w,u,c,r,n host_notification_options d,u,r,n service_notification_period 24x7 host_notification_period 24x7 service_notification_commands notify-by-email host_notification_commands host-notify-by-email email herman_ang at toyota.co.id } define service{ use generic-service ; Name of service template to use host_name NAS-TMMIN-HO-2 obsess_over_service 0 passive_checks_enabled 0 service_description FTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r,f check_command check_ftp event_handler log-ftp notifications_enabled 1 event_handler_enabled 1 } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "Service Notification by Email" >> /usr/local/nagios/libexec/eventhandlers/service-notify.txt } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason-sourceforge at microlnk.net Wed Dec 13 18:42:54 2006 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Wed, 13 Dec 2006 11:42:54 -0600 Subject: Packet loss reported by check_ping? In-Reply-To: <45801242.4030901@op5.se> References: <457FFDB8.9080709@microlnk.net> <45801242.4030901@op5.se> Message-ID: <45803B9E.1060106@microlnk.net> I agree it sounds logical that check_ping uses one packet, then however many you have set after that. So thanks to everyone who pointed that out! If I can get things straight so it doesn't do so many host checks, I'll probably revert back to the default number of ping packets. (Or maybe go for 4 instead, to actually get my 20-40-60-80% results) >> Also, along those lines... I recently moved from the 1.2 Nagios to the >> more recent 2.4-2.5 Nagios. Nagios 1.X seemed to only trigger a host >> check if a service check failed. Nagios 2.X seems to ALWAYS run host >> checks in addition to service checks. The fact that host checks are >> currently not run in parallel seems like this can really limit performance. >> >> Why did that behavior change? > > It didn't. Or rather, it wasn't supposed to. I haven't seen anything of > the kind in any of our ~160 customers installations, so I'm fairly > certain this doesn't happen for all setups. What does your nagios.log > report on the ~15 lines prepending the host-check entry? I should add that I'm using Monarch from the GrounworkOpensource.com guys. I'm using their latest open source version, which I believe is 4.5.11 or something like that. It came with, um, some version of Nagios that I can't immediately identify. Possibly as old as 2.0. (How can I confirm the current version of Nagios?) I've thought about upgrading the Nagios that comes with Monarch. I've seen posts in their forums on how to do that, although they say it is unsupported. Monarch imported our existing Nagios 1.X configuration, but it looks like this was one of a few mistakes it made. I see it is indeed now set to have a check_interval for each host, as well as for each service. (Not like it used to be!) I'll go update the Monarch config; sounds like that'll take care of that part. I assume I just remove the value from the host's check_interval completely? Here are the last few lines from nagios.log: [1166030882] SERVICE ALERT: Authentication1;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 25.15 ms [1166030891] SERVICE ALERT: whi-whwt;SNMP2;UNKNOWN;SOFT;2;SNMP problem - No data received from host [1166030901] SERVICE ALERT: 2river-210west;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 40.62 ms [1166030901] SERVICE ALERT: plum-rokap02;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 50%, RTA = 19.04 ms [1166030901] SERVICE ALERT: les-termap01;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 50%, RTA = 25.81 ms [1166030911] HOST ALERT: 2river-ap01;DOWN;SOFT;1;PING CRITICAL - Packet loss = 50%, RTA = 24.82 ms [1166030913] HOST ALERT: 2river-ap01;DOWN;SOFT;2;PING CRITICAL - Packet loss = 50%, RTA = 25.33 ms [1166030913] HOST ALERT: 2river-ap01;UP;SOFT;3;PING OK - Packet loss = 0%, RTA = 12.41 ms [1166030937] HOST ALERT: crn-ap04;DOWN;SOFT;1;PING CRITICAL - Packet loss = 50%, RTA = 15.69 ms [1166030937] HOST ALERT: crn-ap04;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 17.17 ms [1166030940] HOST ALERT: doug-pwr;DOWN;SOFT;1;PING CRITICAL - Packet loss = 50%, RTA = 23.90 ms [1166030940] HOST ALERT: doug-pwr;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 17.42 ms [1166030982] HOST ALERT: plat-ap01;DOWN;SOFT;1;PING CRITICAL - Packet loss = 50%, RTA = 12.12 ms [1166030982] HOST ALERT: plat-ap01;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 11.75 ms [1166031011] SERVICE ALERT: whi-whwt;SNMP2;UNKNOWN;HARD;3;SNMP problem - No data received from host [1166031021] SERVICE ALERT: wmn-ap01;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 50%, RTA = 7.19 ms [1166031021] SERVICE ALERT: plum-rokap02;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 53.29 ms [1166031021] SERVICE ALERT: les-termap01;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 62.16 ms [1166031027] HOST ALERT: wmn-ap01;DOWN;SOFT;1;PING CRITICAL - Packet loss = 50%, RTA = 8.95 ms [1166031027] HOST ALERT: wmn-ap01;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 9.09 ms [1166031139] HOST ALERT: 2river-210west;DOWN;SOFT;1;PING CRITICAL - Packet loss = 50%, RTA = 28.75 ms [1166031139] HOST ALERT: 2river-210west;UP;SOFT;2;PING OK - Packet loss = 0%, RTA = 15.85 ms [1166031141] SERVICE ALERT: wmn-ap01;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 9.76 ms Thanks again for everybody's input!! ;) (Have I mentioned that I love Nagios? I've used it *forever* -- remember NetSaint? -- and it's pretty hard to beat!) -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 13 19:20:46 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 13 Dec 2006 16:20:46 -0200 Subject: big performance issue with Nagios 2.5 In-Reply-To: References: <8C917597-A286-4483-82C4-C598FF2A8637@cisco.com> Message-ID: <1166034046.29364.27.camel@localhost> On Wed, 2006-12-13 at 08:32 +0100, Daniel Meyer wrote: > On Tue, 12 Dec 2006, Daniel Meyer wrote: > > > On Mon, 11 Dec 2006, Mike Holloway wrote: > > > >> In nagios.cfg, what values are you using for service_reaper_frequency > >> and sleep_time? I'm using service_reaper_frequency=5 and > >> sleep_time=1 for about 10 hosts and 200 services. You might need to > >> adjust your service_reaper_frequency down from the default with as > >> many services as you are checking. > > > > My settings are: > > > > service_reaper_frequency=5 > > sleep_time=0.25 > > Hm, upgraded to Nagios 2.6, the problem is still there... > Do you have passive and active checks? What is the ratio between them? I've runned across this issue, and had to tweak with main config values to solve the problem. To me, when i've came to this problem, the number of passive checks were way beyond the number of active checks, and seemed that when a lot of passive checks were being processed, the active checks begins to delay execution, the latency begins to raise, and only restarting nagios to get some performance again, until the burst of passive results coming and Nagios being way too busy for executing active checks. The number of nsca instances was very high and when i've changed the value at command_check_interval from -1 to 2, the latency lowered. So, IMHO, i think it's a question of configurations tests to get performance tunned. 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/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist.nagios at inlan.inmics.fi Wed Dec 13 19:58:32 2006 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Wed, 13 Dec 2006 20:58:32 +0200 Subject: Service depedency problem Message-ID: <1166036312.45804d58a0199@imp.inmics.fi> I've configured dependencies.cfg in a way what if my remote router is down, no alerts should be sent for hosts begind that devices. This works fine for host dependency, but fails for service depedency. If the top level router ping get warning or critical status, I rather not get alerts for all devices behind the router, but I get them anyway. Any idea, what fails with this config: define servicedependency{ host_name router service_description PING dependent_host_name switch1,switch2,server1 dependent_service_description * execution_failure_criteria w,u,c notification_failure_criteria w,u,c } define hostdependency{ host_name router dependent_host_name switch1,switch2,server1 notification_failure_criteria d,u } -Miika ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bob.debolt at starblanket.ca Wed Dec 13 21:05:58 2006 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Wed, 13 Dec 2006 13:05:58 -0700 Subject: Logical Disk Rate on Windows Message-ID: <200612131305.58838.bob.debolt@starblanket.ca> Greets I have a desire to aquire the Logical Disk Rate for each Logical disk on a number of Windows Servers and do it by using SNMP. Has anyone managed to come up with a solution for this type of measurement and would SNMP be the way to go. There is good info on physical disk performance available, but logical is what we are after. Bob D ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Wed Dec 13 22:21:42 2006 From: jcall at verio.net (Jonathan Call) Date: Wed, 13 Dec 2006 16:21:42 -0500 Subject: Problems with FreeBSD and Nagios Message-ID: <04F3233F47E2714CB7431AE913E57E7701A31015@IAD-WPRD-XCHB02.corp.verio.net> I scanned the mailing list trying to find a solution for this. I found a brief discussion where someone had the same problem but there was nothing really discussed what was potentially wrong. My system: Dual 2.8GHz P4 processors 4GB of RAM FreeBSD 6.1-RELEASE-p10 Running processes: Nagios 2.6 (installed from ports without embedded perl or nanosleep) One mysqld process for the nagiosweb utility A few NSCA daemon processes for passive checking A backup tool daemon Apache+modssl (latest from ports) Basic FreeBSD services (sshd, sendmail, etc.) Problem: Random service and host check control processes will lock up and 'spin' on the CPU. This is really bad when a host check does it because it brings all checks to a halt. It doesn't seem to even notice that all checks have gone stale. It will look like this in top: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 94068 nagios 1 116 0 7500K 6748K CPU2 0 727:37 30.15% nagios 94082 nagios 1 116 0 7500K 6748K CPU2 0 734:28 32.55% nagios 94104 nagios 1 116 0 7500K 6748K CPU2 0 845:21 37.42% nagios 75338 nagios 5 20 0 7500K 6776K kserel 0 91:33 0.00% nagios In this example the main nagios pid is 75338. The hung service and/or host processes are the other ones. The service checks are almost entirely custom scripts, but the host check is a standard check_ping that comes with the nagios program. Any ideas on how to figure out which service or host check is hung? Or how to deal with this problem at all? Jonathan Call Network Engineer - NTT/Verio 801.437.7476 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaaknabuurs at citytower.com Wed Dec 13 23:26:15 2006 From: sjaaknabuurs at citytower.com (Sjaak Nabuurs) Date: Wed, 13 Dec 2006 23:26:15 +0100 Subject: Logical Disk Rate on Windows In-Reply-To: <200612131305.58838.bob.debolt@starblanket.ca> References: <200612131305.58838.bob.debolt@starblanket.ca> Message-ID: <45807E07.4010404@citytower.com> Bob DeBolt schreef: > Greets > > I have a desire to aquire the Logical Disk Rate for each Logical disk on a > number of Windows Servers and do it by using SNMP. Has anyone managed to come > up with a solution for this type of measurement and would SNMP be the way to > go. > > There is good info on physical disk performance available, but logical is what > we are after. > > A small shell script I wrote just today will make things clear #!/bin/sh # Run diskperf -y in a dosbox on your WIN2K machine # Reboot your WIN2K DISK="2" UNIT=`snmpwalk -v2c 192.168.104.66 -c public|grep hrStorageAllocationUnits.$DISK| awk '{print $4}' ` SIZE=`snmpwalk -v2c 192.168.104.66 -c public|grep hrStorageSize.$DISK| awk '{print $4}'` USED=`snmpwalk -v2c 192.168.104.66 -c public|grep hrStorageUsed.$DISK| awk '{print $4}'` echo -n "Mb " echo "$UNIT * $SIZE /1024/1024" |bc echo -n "Mb " echo "$UNIT * $USED /1024/1024" |bc Good luck Sjaak ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.waters at kingstransport.com.au Thu Dec 14 00:39:10 2006 From: michael.waters at kingstransport.com.au (Michael Waters) Date: Thu, 14 Dec 2006 10:39:10 +1100 Subject: help - monitoring SCO unix Message-ID: <47677.7243697599$1166053328@news.gmane.org> Hi, Im having issues finding some plugins that work on sco unix. Im getting compile error 1 when installing the standard nrpe. I think I have got nsca working on it (it compiled anyways) but I need some checks for file age, disk io and some other standard checks as well. Any advice would be very much appreciated.. Regards, Michael Waters Systems Administrator Kings Consolidated Group P: 03 9541 9913 M: 0402 137 511 F: 03 9544 1399 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Dec 14 01:29:35 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 13 Dec 2006 16:29:35 -0800 Subject: Service depedency problem In-Reply-To: <1166036312.45804d58a0199@imp.inmics.fi> References: <1166036312.45804d58a0199@imp.inmics.fi> Message-ID: <20061214002935.GX17454@pmorris.usa.hp.com> On Wed, 13 Dec 2006, MiikaT wrote: > I've configured dependencies.cfg in a way what if my remote router is down, no > alerts should be sent for hosts begind that devices. This works fine for host > dependency, but fails for service depedency. If the top level router ping get > warning or critical status, I rather not get alerts for all devices behind the > router, but I get them anyway. Any idea, what fails with this config: > > define servicedependency{ > host_name router > service_description PING > dependent_host_name switch1,switch2,server1 > dependent_service_description * > execution_failure_criteria w,u,c > notification_failure_criteria w,u,c > } Why not just set up "router" as a parent of switch1, switch2 and server1? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Thu Dec 14 04:09:52 2006 From: cyruspy at gmail.com (Ciro Iriarte) Date: Thu, 14 Dec 2006 00:09:52 -0300 Subject: ePN error References: <20061211105150.B5CAB1953BE@mail.proy.org> Message-ID: "Patrick Proy" escribi? en el mensaje news:20061211105150.B5CAB1953BE at mail.proy.org... Hi, Download latest version 1.4.3 of the script : http://www.manubulon.com/nagios/check_snmp_int.pl This should fix the problem. Patrick http://www.manubulon.com/nagios/ Thanks a lot.. Ciro -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at t-online.hu Thu Dec 14 07:18:29 2006 From: zsitfa at t-online.hu (Horvath Tamas) Date: Thu, 14 Dec 2006 07:18:29 +0100 Subject: Periodic and automated reporting Message-ID: <20061214061826.EC89733C128@mail.t-online.hu> Hi listmembers! Our customer would like an automatic reporting mechanism with Nagios (for example it could run first days of every month for the last month). I can see how can I invoke for example the Availability Reporting CGI, but I think I can invoke it only from a browser. So I can't automatize it. Does anybody have such an experience, or some idea how can I do this? Thanks in advance, Tamas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 07:54:18 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Thu, 14 Dec 2006 07:54:18 +0100 Subject: Notification Problem In-Reply-To: References: Message-ID: <4580F51A.8060002@gmx.net> Hi Herman, did I suggest anything? When I did, you didn't get it... Try to find out what the letters in *_notification_options stands for and you will hopefully get your mistake. Herman (ISTD) schrieb: > Dear Hendrik, thank you very much for your suggestion. > I have modified the contacts.cfg as you recommended, but still there's > no attempt from Nagios to initiate the notification. Is there anything > else I have missed ? > > Besst Regards, > > Herman > > > The message on Reporting Notification : > No notifications have been recorded in the current log file > > In event log, no attempt from Nagios to send notification : > [12-14-2006 00:11:33] SERVICE ALERT: > NAS-TMMIN-HO-2;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after > 10 seconds > [12-14-2006 00:11:33] HOST EVENT HANDLER: > NAS-TMMIN-HO-2;DOWN;HARD;3;log-host > [12-14-2006 00:11:33] HOST ALERT: NAS-TMMIN-HO-2;DOWN;HARD;3;CRITICAL > - Plugin timed out after 10 seconds > [12-14-2006 00:11:23] HOST EVENT HANDLER: > NAS-TMMIN-HO-2;DOWN;SOFT;2;log-host > [12-14-2006 00:11:23] HOST ALERT: NAS-TMMIN-HO-2;DOWN;SOFT;2;CRITICAL > - Plugin timed out after 10 seconds > [12-14-2006 00:11:13] HOST EVENT HANDLER: > NAS-TMMIN-HO-2;DOWN;SOFT;1;log-host > [12-14-2006 00:11:13] HOST ALERT: NAS-TMMIN-HO-2;DOWN;SOFT;1;CRITICAL > - Plugin timed out after 10 seconds > [12-14-2006 00:10:17] SERVICE EVENT HANDLER: > NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;log-ftp > [12-14-2006 00:10:17] SERVICE ALERT: > NAS-TMMIN-HO-2;FTP;CRITICAL;HARD;3;Connection refused > [12-14-2006 00:10:07] SERVICE EVENT HANDLER: > NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;log-ftp > [12-14-2006 00:10:07] SERVICE ALERT: > NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;2;Connection refused > [12-14-2006 00:09:57] SERVICE EVENT HANDLER: > NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;log-ftp > [12-14-2006 00:09:57] SERVICE ALERT: > NAS-TMMIN-HO-2;FTP;CRITICAL;SOFT;1;Connection refused > [12-14-2006 00:05:53] Finished daemonizing... (New PID=32622) > [12-14-2006 00:05:53] LOG VERSION: 2.0 > [12-14-2006 00:05:53] Nagios 2.5 starting... (PID=32621) > [12 > > > My configuration after changes : > define contact{ > contact_name nagiosadmin > alias Nagios Admin > service_notification_options w,u,c,r,n > host_notification_options d,u,r,n > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email herman_ang at toyota.co.id > > } > define service{ > use generic-service ; Name > of service template to use > host_name NAS-TMMIN-HO-2 > obsess_over_service 0 > passive_checks_enabled 0 > service_description FTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r,f > check_command check_ftp > event_handler log-ftp > notifications_enabled 1 > event_handler_enabled 1 > } > > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: > $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host > $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > } > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "Service Notification by Email" > >> /usr/local/nagios/libexec/eventhandlers/service-notify.txt > } > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicgna at yahoo.com Thu Dec 14 08:06:10 2006 From: nicgna at yahoo.com (nic gna) Date: Wed, 13 Dec 2006 23:06:10 -0800 (PST) Subject: Newbie: http start fail: Invalid command 'log_file=/var/log/nagios/nagios.log' Message-ID: <849259.86921.qm@web59112.mail.re1.yahoo.com> Why am I getting this error? $ /etc/init.d/httpd start Stopping httpd: [FAILED] Starting httpd: Syntax error on line 19 of /etc/nagios/nagios.cfg: Invalid command 'log_file=/var/log/nagios/nagios.log', perhaps mis-spelled or defined by a module not included in the server configuration [FAILED] This is line 19 of the nagios.cfg. log_file=/var/log/nagios/nagios.log --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist.nagios at inlan.inmics.fi Thu Dec 14 08:27:03 2006 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Thu, 14 Dec 2006 09:27:03 +0200 Subject: Service depedency problem In-Reply-To: <20061214002935.GX17454@pmorris.usa.hp.com> References: <1166036312.45804d58a0199@imp.inmics.fi> <20061214002935.GX17454@pmorris.usa.hp.com> Message-ID: <1166081223.4580fcc742bf2@imp.inmics.fi> Quoting Patrick Morris : >> Why not just set up "router" as a parent of switch1, switch2 and > server1? I've done that, but I seem to remeber that it behaved just like this and I went for dependencies configuration to prevent this. Or does someone have better knowledge about dependencies.cfg, if it will override the parent information or not? -Miika ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Thu Dec 14 08:30:16 2006 From: eagle at cyberdelia.de (Daniel Meyer) Date: Thu, 14 Dec 2006 08:30:16 +0100 (CET) Subject: big performance issue with Nagios 2.5 In-Reply-To: <1166034046.29364.27.camel@localhost> References: <8C917597-A286-4483-82C4-C598FF2A8637@cisco.com> <1166034046.29364.27.camel@localhost> Message-ID: > Do you have passive and active checks? What is the ratio between them? > I've runned across this issue, and had to tweak with main config values > to solve the problem. # Active Host / Service Checks: 286 / 1609 # Passive Host / Service Checks: 3 / 7 > and Nagios being way too busy for executing active checks. The number of > nsca instances was very high and when i've changed the value at > command_check_interval from -1 to 2, the latency lowered. > > So, IMHO, i think it's a question of configurations tests to get > performance tunned. I'll look into that. Danny ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaak at vsm-hosting.nl Thu Dec 14 09:01:56 2006 From: sjaak at vsm-hosting.nl (Sjaak Nabuurs) Date: Thu, 14 Dec 2006 09:01:56 +0100 Subject: Newbie: http start fail: Invalid command 'log_file=/var/log/nagios/nagios.log' In-Reply-To: <849259.86921.qm@web59112.mail.re1.yahoo.com> References: <849259.86921.qm@web59112.mail.re1.yahoo.com> Message-ID: <458104F4.2010905@vsm-hosting.nl> Hi I guess somthing wrong with your httpd.conf The http server isn't the way to start nagios. Only this code you have to ad in httpd.conf ** ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin 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 **Looks like you include some nagios.cfg code in your httpd.conf Sjaak > Why am I getting this error? > > $ /etc/init.d/httpd start > Stopping httpd: [FAILED] > Starting httpd: Syntax error on line 19 of /etc/nagios/nagios.cfg: > Invalid command 'log_file=/var/log/nagios/nagios.log', perhaps > mis-spelled or defined by a > module not included in the server configuration > [FAILED] > > This is line 19 of the nagios.cfg. > log_file=/var/log/nagios/nagios.log > > ------------------------------------------------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Thu Dec 14 10:09:06 2006 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Thu, 14 Dec 2006 10:09:06 +0100 Subject: notification_options vs. notifications_enabled in host definitions Message-ID: Hello Nagios Users, neither the Nagios' online docs nor Wolfgang Barth's Nagios book (issued by Open Source Press in German, and by No Starch Press in English) could unambiguously explain the difference between the two mentioned parameters within a host definition context to me. I so far only (maybe erratically) concluded that notification_options takes precedence over notifications_enabled for state retention's sake. For instance, what about such a contradicting definition (at least nagios pre-flight check doesn't complain about it)? notification_options n notifications_enabled 1 Regards Ralph ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 14 10:16:33 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 Dec 2006 10:16:33 +0100 Subject: Service depedency problem In-Reply-To: <1166081223.4580fcc742bf2@imp.inmics.fi> References: <1166036312.45804d58a0199@imp.inmics.fi> <20061214002935.GX17454@pmorris.usa.hp.com> <1166081223.4580fcc742bf2@imp.inmics.fi> Message-ID: <45811671.8000506@op5.se> MiikaT wrote: > Quoting Patrick Morris : > >>> Why not just set up "router" as a parent of switch1, switch2 and >> server1? > > I've done that, but I seem to remeber that it behaved just like this and I > went for dependencies configuration to prevent this. Or does someone have > better knowledge about dependencies.cfg, if it will override the parent > information or not? > If you have "u" in your host_notification_options it will tell you when hosts are UNREACHABLE (as in, the parent host is down as well as the host in question). Using dependencies for this sort of thing is just wrong. Make your parent setup work instead. Incidentally, what version of Nagios are you running? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loco at d0pefish.de Thu Dec 14 10:22:39 2006 From: loco at d0pefish.de (Peter Hinse) Date: Thu, 14 Dec 2006 10:22:39 +0100 Subject: Periodic and automated reporting In-Reply-To: <20061214061826.EC89733C128@mail.t-online.hu> References: <20061214061826.EC89733C128@mail.t-online.hu> Message-ID: <458117DF.5060606@d0pefish.de> Horvath Tamas wrote: > Hi listmembers! > > Our customer would like an automatic reporting mechanism with Nagios > (for example it could run first days of every month for the last > month). > > I can see how can I invoke for example the Availability Reporting > CGI, but I think I can invoke it only from a browser. So I can't > automatize it. "Nagios Email Reporter" might be interesting for you: > This perl script can request an overnight, daily, weekly or monthly > report from the Nagios server using the standard CGIs, it then parses > the output (formats CSS for Web and Lotus Notes), then emails as an > Inline HTML email to a supplied email address. http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 Regards, Peter ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 14 10:26:04 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 Dec 2006 10:26:04 +0100 Subject: Problems with FreeBSD and Nagios In-Reply-To: <04F3233F47E2714CB7431AE913E57E7701A31015@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7701A31015@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <458118AC.7050804@op5.se> Jonathan Call wrote: > I scanned the mailing list trying to find a solution for this. I found a > brief discussion where someone had the same problem but there was > nothing really discussed what was potentially wrong. > > My system: > Dual 2.8GHz P4 processors > 4GB of RAM > FreeBSD 6.1-RELEASE-p10 > > Running processes: > Nagios 2.6 (installed from ports without embedded perl or nanosleep) > One mysqld process for the nagiosweb utility > A few NSCA daemon processes for passive checking > A backup tool daemon > Apache+modssl (latest from ports) > Basic FreeBSD services (sshd, sendmail, etc.) > > Problem: > Random service and host check control processes will lock up and 'spin' > on the CPU. This is really bad when a host check does it because it > brings all checks to a halt. It doesn't seem to even notice that all > checks have gone stale. > > It will look like this in top: > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 94068 nagios 1 116 0 7500K 6748K CPU2 0 727:37 30.15% nagios > 94082 nagios 1 116 0 7500K 6748K CPU2 0 734:28 32.55% nagios > 94104 nagios 1 116 0 7500K 6748K CPU2 0 845:21 37.42% nagios > 75338 nagios 5 20 0 7500K 6776K kserel 0 91:33 0.00% nagios > > In this example the main nagios pid is 75338. The hung service and/or > host processes are the other ones. > > The service checks are almost entirely custom scripts, but the host > check is a standard check_ping that comes with the nagios program. > > Any ideas on how to figure out which service or host check is hung? Or > how to deal with this problem at all? > Host and service checks going into infinite loops wouldn't show up as Nagios processes in CPU spinlock, as the nagios check execution children just sit around and wait for the child to finish (or 60 seconds to pass in default config, before it kills it off). You've found a bug in Nagios which most likely was either introduced in the port of it, or is a result of library differences between FreeBSD and Linux. I wouldn't be all too surprised if it turns out that the FreeBSD pthread implementation disallows something that the Linux version allows. Note that this doesn't necessarily have to be a bug; Nagios doesn't use the pthread ABI in a way that is explicitly stated as safe, but the pthread implementation on Linux and most other unices are forgiving enough to make it work anyway. It's also possible that this bug only triggers on dual-CPU systems with a particular library installed, as some kinds of timing and race-conditions just doesn't happen on single-CPU systems. What happens if you do $ gdb --pid=$(pidof spinning-nagios-process) (gdb) bt ? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 14 10:27:35 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 Dec 2006 10:27:35 +0100 Subject: help - monitoring SCO unix In-Reply-To: <030701c71f0f$e3bc08b0$ab341a10$@waters@kingstransport.com.au> References: <030701c71f0f$e3bc08b0$ab341a10$@waters@kingstransport.com.au> Message-ID: <45811907.6080701@op5.se> Michael Waters wrote: > Hi, > > > > Im having issues finding some plugins that work on sco unix. Im getting > compile error 1 when installing the standard nrpe. I think I have got nsca > working on it (it compiled anyways) but I need some checks for file age, > disk io and some other standard checks as well. > > It's completely impossible to tell you what's going wrong without getting to see a copy of the error that the build process produces. > > Any advice would be very much appreciated.. > Google for a pre-compiled NRPE. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 10:33:16 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 14 Dec 2006 10:33:16 +0100 Subject: notification_options vs. notifications_enabled inhost definitions Message-ID: There was a nice Artikel in a german IT-Magazine (IX) some time ago. They explained how a error event runs through several filters before an eventhandler or a notification is triggered. The filters are built from the settings of each service-check?s properties. So, if an error occures, all filters are requested before an event like notification, enventhandler o.s. caomes up. For what do you need to know this? I see no problem in this behaviour, as you should know and control exactly which settings you have for your checks... Greets, 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-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Ralph.Grothe at itdz-berlin.de Gesendet: Donnerstag, 14. Dezember 2006 10:09 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] notification_options vs. notifications_enabled inhost definitions Hello Nagios Users, neither the Nagios' online docs nor Wolfgang Barth's Nagios book (issued by Open Source Press in German, and by No Starch Press in English) could unambiguously explain the difference between the two mentioned parameters within a host definition context to me. I so far only (maybe erratically) concluded that notification_options takes precedence over notifications_enabled for state retention's sake. For instance, what about such a contradicting definition (at least nagios pre-flight check doesn't complain about it)? notification_options n notifications_enabled 1 Regards Ralph ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Diese E-Mail und eventuell beigef?gte Anh?nge enthalten vertrauliche Informationen, die rechtlich besonders gesch?tzt sein k?nnen, z.B. durch das Bankgeheimnis. Diese Informationen sind ausschlie?lich f?r die als Adressaten genannten Personen bestimmt. Wenn Sie nicht der angeschriebene Empf?nger sind oder diese E-Mail durch einen ?bertragungsfehler erhalten haben, informieren Sie uns bitte sofort per E-Mail, Telefon oder Fax und l?schen danach vorliegende E-Mail. Das unbefugte Kopieren dieser E-Mail, ihrer eventuell beigef?gten Anh?nge sowie die unbefugte Weitergabe der enthaltenen Informationen an Dritte sind nicht gestattet. Wir danken f?r Ihre Hilfe. This e-mail message together with its attachments, if any, is confidential and may contain information subject to legal privilege, i.e. banking secrecy. The information contained in this e-mail or its attachments is intended solely for the persons named as addressees. If you are not the intended recipient or have received this e-mail in error, please advise us immediately by e-mail, telephone or fax and delete this message. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited. Thank you for your co-operation. -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: text/x-vcard Size: 264 bytes Desc: Zimmer, Thomas (Produktservices und Betrieb).vcf URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Dec 14 11:20:15 2006 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 14 Dec 2006 11:20:15 +0100 Subject: Periodic and automated reporting In-Reply-To: <20061214061826.EC89733C128@mail.t-online.hu> References: <20061214061826.EC89733C128@mail.t-online.hu> Message-ID: <4581255F.2040504@telcotec.se> Horvath Tamas wrote: > Hi listmembers! > > Our customer would like an automatic reporting mechanism with Nagios (for > example it could run first days of every month for the last month). > > I can see how can I invoke for example the Availability Reporting CGI, but I > think I can invoke it only from a browser. So I can't automatize it. > > Does anybody have such an experience, or some idea how can I do this? via cron job. /L ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Thu Dec 14 15:24:41 2006 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Thu, 14 Dec 2006 08:24:41 -0600 Subject: Periodic and automated reporting In-Reply-To: <20061214061826.EC89733C128@mail.t-online.hu> References: <20061214061826.EC89733C128@mail.t-online.hu> Message-ID: <200612141424.kBEEOf9r007178@ginseng.hep.wisc.edu> > From: "Horvath Tamas" > Hi listmembers! > > Our customer would like an automatic reporting mechanism with Nagios (for > example it could run first days of every month for the last month). > > I can see how can I invoke for example the Availability Reporting CGI, but > I > think I can invoke it only from a browser. So I can't automatize it. > > Does anybody have such an experience, or some idea how can I do this? http://noc.hep.wisc.edu/nagiosr.txt http://www.hep.wisc.edu/~rader/nagiosr.html ftp://noc.hep.wisc.edu/pub/src/nagiosr/ ? steve - - - systems & network manager high energy physics university of wisconsin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From owen.berry at gmail.com Thu Dec 14 15:24:56 2006 From: owen.berry at gmail.com (Owen Berry) Date: Thu, 14 Dec 2006 09:24:56 -0500 Subject: Roadmap for nagios 3.0 In-Reply-To: <457A87B8.1040901@gs-lab.com> References: <457934CD.20105@gs-lab.com> <4579BFC0.5000507@web.de> <457A87B8.1040901@gs-lab.com> Message-ID: <763ca2a0612140624r3952654by22cae1ee29c833f@mail.gmail.com> If you're up to modifying some #define's in the C code, it's pretty easy to extend the maximum possible length of the status string ... well it works in version 1.2 anyway. For example, there's MAX_PLUGINOUTPUT_LENGTH in the main nagios code (grep for it). And don't forget to look for the same #define in the nsca code, if you're using it. Owen On 12/9/06, Manish Sapariya wrote: > Hi Peter, > Thanks for the suggestion. > I should have been clear while stating my problem, but my status > string is expected to cross 80 column limitation currenlty imposed > by the Nagios. > > Some of my services return lots of stats and I need to report them > on Nagios dashboard. > > Thanks and Anyway. > -Manish > > Peter Ringe wrote: > > > Hi, > > > > I know, it's not the recommended way, but the following is usable for > > plugins written by your own: > > > > If you want to see e.g.: > > > > Check OK: > > Value1=1 > > Value2=2 > > > > then let the output of your Plugin be: > > > > Check OK:
Value1=2
Value2=2 > > > > > > > > Regards, > > > > Peter > > > > > > > > > > > > > > > > > > Manish Sapariya schrieb: > > > >> Hi, > >> I looked at the nagios web site, but could not find > >> any planned release date for nagios 3.0. > >> > >> I am interested in multiline status support planned in > >> 3.0 and thats the only thing I am interested in 3.0 as > >> of now. > >> > >> Does nagios 2.0 have any patches to support this feature? > >> > >> Thanks and Regards, > >> Manish > >> > >> > >> > >> ------------------------------------------------------------------------- > >> > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to > >> share your > >> opinions on IT & business topics through brief surveys - and earn cash > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. ::: Messages without supporting info will risk > >> being sent to /dev/null > >> > >> > > > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Thu Dec 14 16:07:16 2006 From: jcall at verio.net (Jonathan Call) Date: Thu, 14 Dec 2006 10:07:16 -0500 Subject: Problems with FreeBSD and Nagios In-Reply-To: <458118AC.7050804@op5.se> References: <458118AC.7050804@op5.se> Message-ID: <04F3233F47E2714CB7431AE913E57E7701A31066@IAD-WPRD-XCHB02.corp.verio.net> nagios# gdb --pid=$74056 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". "/var/spool/nagios/rw/" is not a core dump: File format not recognized (gdb) bt No stack. (gdb) Given your ideas and some google work I seem to have found my problem: http://lists.freebsd.org/pipermail/freebsd-hackers/2005-August/013247.ht ml Not a pretty discussion. :( I'll try using a non SMP kernel to see it might help. If it doesn't this pretty much renders Nagios useless on FreeBSD. (Which makes me wonder why they even bother maintaining it in ports?) > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Thursday, December 14, 2006 2:26 AM > To: Jonathan Call > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problems with FreeBSD and Nagios > > Jonathan Call wrote: > > I scanned the mailing list trying to find a solution for this. I found a > > brief discussion where someone had the same problem but there was > > nothing really discussed what was potentially wrong. > > > > My system: > > Dual 2.8GHz P4 processors > > 4GB of RAM > > FreeBSD 6.1-RELEASE-p10 > > > > Running processes: > > Nagios 2.6 (installed from ports without embedded perl or nanosleep) > > One mysqld process for the nagiosweb utility > > A few NSCA daemon processes for passive checking > > A backup tool daemon > > Apache+modssl (latest from ports) > > Basic FreeBSD services (sshd, sendmail, etc.) > > > > Problem: > > Random service and host check control processes will lock up and 'spin' > > on the CPU. This is really bad when a host check does it because it > > brings all checks to a halt. It doesn't seem to even notice that all > > checks have gone stale. > > > > It will look like this in top: > > > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > > COMMAND > > 94068 nagios 1 116 0 7500K 6748K CPU2 0 727:37 30.15% nagios > > 94082 nagios 1 116 0 7500K 6748K CPU2 0 734:28 32.55% nagios > > 94104 nagios 1 116 0 7500K 6748K CPU2 0 845:21 37.42% nagios > > 75338 nagios 5 20 0 7500K 6776K kserel 0 91:33 0.00% nagios > > > > In this example the main nagios pid is 75338. The hung service and/or > > host processes are the other ones. > > > > The service checks are almost entirely custom scripts, but the host > > check is a standard check_ping that comes with the nagios program. > > > > Any ideas on how to figure out which service or host check is hung? Or > > how to deal with this problem at all? > > > > Host and service checks going into infinite loops wouldn't show up as > Nagios processes in CPU spinlock, as the nagios check execution children > just sit around and wait for the child to finish (or 60 seconds to pass > in default config, before it kills it off). > > You've found a bug in Nagios which most likely was either introduced in > the port of it, or is a result of library differences between FreeBSD > and Linux. > > I wouldn't be all too surprised if it turns out that the FreeBSD pthread > implementation disallows something that the Linux version allows. Note > that this doesn't necessarily have to be a bug; Nagios doesn't use the > pthread ABI in a way that is explicitly stated as safe, but the pthread > implementation on Linux and most other unices are forgiving enough to > make it work anyway. > > It's also possible that this bug only triggers on dual-CPU systems with > a particular library installed, as some kinds of timing and > race-conditions just doesn't happen on single-CPU systems. > > What happens if you do > > $ gdb --pid=$(pidof spinning-nagios-process) > (gdb) bt > > ? > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Thu Dec 14 16:57:37 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 14 Dec 2006 16:57:37 +0100 Subject: Host checks not performed Message-ID: <619cf3c0612140757i494e0626x931e3bfaccb9158a@mail.gmail.com> Hi List fellows, I am trying to configure nagios 2.6 with the help of fruity. I have created a few hosts which use the check-host-alive command provided in the sample files. The check host alive command is part of my default host template which i use on all the hosts. Strangely only one host is appearing UP and all other remain in Pending State after 40 minutes. nlamssv03 [image: View Service Details For This Host] PENDING N/A 0d 0h 41m 43s+ Host has not been checked yet I think i have already seen that problem on the list so i thought you guys could help me out. Here is my nagios.cfg cfg_file=/usr/local/nagios/etc/host_templates.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/commands.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/service_templates.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/servicegroups.cfg resource_file=/usr/local/nagios/etc/resources.cfg cfg_file=/usr/local/nagios/etc/hostextinfo.cfg cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg enable_notifications=0 execute_service_checks=1 accept_passive_service_checks=1 enable_event_handlers=1 log_rotation_method=d command_check_interval=-1 use_syslog=0 log_notifications=0 log_service_retries=0 log_host_retries=0 log_event_handlers=0 log_initial_states=0 log_external_commands=0 log_passive_checks=0 soft_state_dependencies=0 process_performance_data=0 check_for_orphaned_services=0 date_format=euro execute_host_checks=1 accept_passive_host_checks=1 use_regexp_matching=0 use_true_regexp_matching=0 daemon_dumps_core=0 service_perfdata_command=0 host_perfdata_file_mode=a service_perfdata_file_mode=a host_perfdata_file_processing_interval=0 service_perfdata_file_processing_interval=0 Sincerely yours, Toto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 14 17:24:19 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 Dec 2006 17:24:19 +0100 Subject: Problems with FreeBSD and Nagios In-Reply-To: <04F3233F47E2714CB7431AE913E57E7701A31066@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7701A31066@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <45817AB3.30106@op5.se> Jonathan Call wrote: > > Given your ideas and some google work I seem to have found my problem: > > http://lists.freebsd.org/pipermail/freebsd-hackers/2005-August/013247.ht > ml > > Not a pretty discussion. :( > Nope. Definitely not. The problem for Nagios is that threading was added after the fact so nagios actually breaks some of the *strong* recommendations on what to do and what not to do in a threaded application after a fork(). The problem for *BSD and their thread implementation of the thread library is that Nagios actually works everywhere but on *BSD, and it *often* works there too, but not always. This "often-but-not-always" is usually a sign of a broken implementation, although exactly "often-but-not-always" is a sign of the errors you'll run into when you do what Nagios does post-fork(). I don't know of any other program that has the same problem on *BSD, but it would be interesting to see if there's a common pattern so one can pinpoint the exact pattern that causes the lock contention and races. It would, from a practical point of view, be best to patch it in the library, as that is a fix that would work for all possible future problems as well, although it's technically more correct to fix it in Nagios. Ugly discussion indeed. > I'll try using a non SMP kernel to see it might help. If it doesn't this > pretty much renders Nagios useless on FreeBSD. (Which makes me wonder > why they even bother maintaining it in ports?) > Out of curiousity, do you use passive checks, active checks or a mix of both in your setup? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 14 17:26:32 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 Dec 2006 17:26:32 +0100 Subject: Host checks not performed In-Reply-To: <619cf3c0612140757i494e0626x931e3bfaccb9158a@mail.gmail.com> References: <619cf3c0612140757i494e0626x931e3bfaccb9158a@mail.gmail.com> Message-ID: <45817B38.8020608@op5.se> Toto Capuccino wrote: > Hi List fellows, > > I am trying to configure nagios 2.6 with the help of fruity. I have created > a few hosts which use the check-host-alive command provided in the sample > files. The check host alive command is part of my default host template > which i use on all the hosts. > Strangely only one host is appearing UP and all other remain in Pending > State after 40 minutes. > Nagios only checks hosts after a service on them have returned non-OK. If a service on the host returns OK without a hostcheck having been run, the status of the host is set to UP and the host-check output is set to "Services working, so host assumed to be up" (or something like that). In short, if you have no services defined for your hosts, they will never be checked (normally) and therefore never appear as UP or DOWN. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicgna at yahoo.com Thu Dec 14 18:11:03 2006 From: nicgna at yahoo.com (nic gna) Date: Thu, 14 Dec 2006 09:11:03 -0800 (PST) Subject: Newbie: I can't register hosts? Message-ID: <538572.68894.qm@web59104.mail.re1.yahoo.com> This is my host.cfg and I can't register the hosts. I get this error: Error: Host name, alias, or address is NULL Error: Could not register host (config file '/etc/nagios/hosts.cfg', starting on line 1) -------- define host{ name routers use routers check_command check-host-alive max_check_attempts 15 notification_interval 30 notification_period 24x7 contact_groups admins notification_options d,r register 1 } define host{ name frontends use frontends check_command check-host-alive max_check_attempts 15 notification_interval 30 notification_period 24x7 contact_groups admins notification_options d,r register 1 } define host{ use frontends host_name luke alias luke address 129.11.4.169 } define host{ use computes host_name leia alias leia address 129.11.4.170 } --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real people who know. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Dec 14 18:15:12 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 14 Dec 2006 15:15:12 -0200 Subject: big performance issue with Nagios 2.5 In-Reply-To: References: <8C917597-A286-4483-82C4-C598FF2A8637@cisco.com> <1166034046.29364.27.camel@localhost> Message-ID: <1166116512.11007.6.camel@localhost> On Thu, 2006-12-14 at 08:30 +0100, Daniel Meyer wrote: > > Do you have passive and active checks? What is the ratio between them? > > I've runned across this issue, and had to tweak with main config values > > to solve the problem. > > # Active Host / Service Checks: 286 / 1609 > # Passive Host / Service Checks: 3 / 7 With this low rate between passive/active service checks, I don't believe that that's the case at all. > > and Nagios being way too busy for executing active checks. The number of > > nsca instances was very high and when i've changed the value at > > command_check_interval from -1 to 2, the latency lowered. > > > > So, IMHO, i think it's a question of configurations tests to get > > performance tunned. > > I'll look into that. What kind of checks do you run? Is there any custom plugins that take too long to finish? Paste here the performance table. Output from nagiostats may also be helpful. Cheers, 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/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Dec 14 18:20:49 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 14 Dec 2006 17:20:49 +0000 Subject: Newbie: I can't register hosts? In-Reply-To: <538572.68894.qm@web59104.mail.re1.yahoo.com> References: <538572.68894.qm@web59104.mail.re1.yahoo.com> Message-ID: <458187F1.2090601@mailnetwork.co.uk> The hostname is "host_name", not "name" Andy. nic gna wrote: > This is my host.cfg and I can't register the hosts. > I get this error: > > Error: Host name, alias, or address is NULL > Error: Could not register host (config file '/etc/nagios/hosts.cfg', > starting on line 1) > -------- > define host{ > name routers > use routers > check_command check-host-alive > max_check_attempts 15 > notification_interval 30 > notification_period 24x7 > contact_groups admins > notification_options d,r > register 1 > } > define host{ > name frontends > use frontends > check_command check-host-alive > max_check_attempts 15 > notification_interval 30 > notification_period 24x7 > contact_groups admins > notification_options d,r > register 1 > } > define host{ > use frontends > host_name luke > alias luke > address 129.11.4.169 > } > define host{ > use computes > host_name leia > alias leia > address 129.11.4.170 > } > > ------------------------------------------------------------------------ > Have a burning question? Go to Yahoo! Answers > > and get answers from real people who know. > !DSPAM:37,4581863130864101612354! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,4581863130864101612354! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,4581863130864101612354! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bret.Goodfellow at questar.com Thu Dec 14 19:08:17 2006 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Thu, 14 Dec 2006 11:08:17 -0700 Subject: RHEL 4 - nagios rpm fails with NOKEY Message-ID: <91EDB00F83BAD443A9D05FA67623955A027C7B36@QMAIL.corp.questar.com> Hello there, Okay, I got stopped immediately with my nagios implementation. I have RHEL 4 64 bit installed, and was attempting to install the nagios rpm nagios-2.6-1.el4.rf.x86_64.rpm and got the following error: warning: nagios-2.6-1.el4.rf.x86_64.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 What does this mean? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Thu Dec 14 19:40:40 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 14 Dec 2006 19:40:40 +0100 Subject: Host checks not performed In-Reply-To: <45817B38.8020608@op5.se> References: <619cf3c0612140757i494e0626x931e3bfaccb9158a@mail.gmail.com> <45817B38.8020608@op5.se> Message-ID: <619cf3c0612141040vc0caefej5b994a8603a89366@mail.gmail.com> 2006/12/14, Andreas Ericsson : > > Toto Capuccino wrote: > > Hi List fellows, > > > > I am trying to configure nagios 2.6 with the help of fruity. I have > created > > a few hosts which use the check-host-alive command provided in the > sample > > files. The check host alive command is part of my default host template > > which i use on all the hosts. > > Strangely only one host is appearing UP and all other remain in Pending > > State after 40 minutes. > > > > Nagios only checks hosts after a service on them have returned non-OK. > If a service on the host returns OK without a hostcheck having been run, > the status of the host is set to UP and the host-check output is set to > "Services working, so host assumed to be up" (or something like that). > > In short, if you have no services defined for your hosts, they will > never be checked (normally) and therefore never appear as UP or DOWN. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 For sure i havent read the doc as deep as you did, i thought check-host-alive were performed anyways every once in a while. Thanks for sharing that knowledge, it is a help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at t-online.hu Thu Dec 14 19:50:04 2006 From: zsitfa at t-online.hu (Horvath Tamas) Date: Thu, 14 Dec 2006 19:50:04 +0100 Subject: Periodic and automated reporting In-Reply-To: <458117DF.5060606@d0pefish.de> References: <458117DF.5060606@d0pefish.de> Message-ID: <20061214185001.A082FE5A685@mail.t-online.hu> Hi listmembers! Thanks all of you, who replied to me. I'm going to investigate all of the suggested solutions. Merry Christmas ll of you! Tamas! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 20:46:26 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 14 Dec 2006 17:46:26 -0200 Subject: monitoring streaming Message-ID: <1166125586.11007.20.camel@localhost> Does anyone knows of a plugin to monitor windows media services streamings, by emulating a user who watches a sample movie? I mean, by connecting and evaluating if the server is responding correctly? TIA, Marcel AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 21:43:57 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 14 Dec 2006 12:43:57 -0800 Subject: Newbie: I can't register hosts? In-Reply-To: <458187F1.2090601@mailnetwork.co.uk> References: <538572.68894.qm@web59104.mail.re1.yahoo.com> <458187F1.2090601@mailnetwork.co.uk> Message-ID: <20061214204357.GA17454@pmorris.usa.hp.com> You also probably want "register 0" in your templates, rather then "register 1", unless "routers" and "frontends" are the name of actual hosts you intend to check. On Thu, 14 Dec 2006, Andy Shellam (Mailing Lists) wrote: > The hostname is "host_name", not "name" > > Andy. > > nic gna wrote: > > This is my host.cfg and I can't register the hosts. > > I get this error: > > > > Error: Host name, alias, or address is NULL > > Error: Could not register host (config file '/etc/nagios/hosts.cfg', > > starting on line 1) > > -------- > > define host{ > > name routers > > use routers > > check_command check-host-alive > > max_check_attempts 15 > > notification_interval 30 > > notification_period 24x7 > > contact_groups admins > > notification_options d,r > > register 1 > > } > > define host{ > > name frontends > > use frontends > > check_command check-host-alive > > max_check_attempts 15 > > notification_interval 30 > > notification_period 24x7 > > contact_groups admins > > notification_options d,r > > register 1 > > } > > define host{ > > use frontends > > host_name luke > > alias luke > > address 129.11.4.169 > > } > > define host{ > > use computes > > host_name leia > > alias leia > > address 129.11.4.170 > > } > > > > ------------------------------------------------------------------------ > > Have a burning question? Go to Yahoo! Answers > > > > and get answers from real people who know. > > !DSPAM:37,4581863130864101612354! > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > !DSPAM:37,4581863130864101612354! > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > !DSPAM:37,4581863130864101612354! > > > > > -- > Andy Shellam > NetServe Support Team > > the Mail Network > "an alternative in a standardised world" > > p: +44 (0) 121 288 0832/0839 > m: +44 (0) 7818 000834 > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.waters at kingstransport.com.au Thu Dec 14 21:56:57 2006 From: michael.waters at kingstransport.com.au (Michael Waters) Date: Fri, 15 Dec 2006 07:56:57 +1100 Subject: help - monitoring SCO unix In-Reply-To: <45811907.6080701@op5.se> References: <030701c71f0f$e3bc08b0$ab341a10$@waters@kingstransport.com.au> <45811907.6080701@op5.se> Message-ID: <41234.7918180332$1166130142@news.gmane.org> Hi, I have searched around on google for ages but cant see any pre compiled plugins.. Im trying to get nagios-plugins-1.4.5 to work on there. It configures ok but when I go to make it comes out with this error: In file included from regex.c:55: regex_internal.h:458: alloca.h: No such file or directory gmake[4]: *** [regex.o] Error 1 gmake[4]: Leaving directory `/app/tmp/mick/nagios-plugins-1.4.5/lib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/app/tmp/mick/nagios-plugins-1.4.5/lib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/app/tmp/mick/nagios-plugins-1.4.5/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/app/tmp/mick/nagios-plugins-1.4.5' gmake: *** [all] Error 2 using SCO OpenServer(TM) Release 5 Michael. -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Thursday, 14 December 2006 8:28 PM To: Michael Waters Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] help - monitoring SCO unix Michael Waters wrote: > Hi, > > > > Im having issues finding some plugins that work on sco unix. Im getting > compile error 1 when installing the standard nrpe. I think I have got nsca > working on it (it compiled anyways) but I need some checks for file age, > disk io and some other standard checks as well. > > It's completely impossible to tell you what's going wrong without getting to see a copy of the error that the build process produces. > > Any advice would be very much appreciated.. > Google for a pre-compiled NRPE. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nsorensen at broadbandmaritime.com Thu Dec 14 22:03:55 2006 From: Nsorensen at broadbandmaritime.com (Niels Winge-Sorensen) Date: Thu, 14 Dec 2006 16:03:55 -0500 Subject: RHEL 4 - nagios rpm fails with NOKEY Message-ID: <802BA08FC210A4488A202B05BFA4AB224283D8@BBMXCH.bbm.broadbandmaritime.com> Bret, EL OH EL RHEL. If you want to take care of your 'NOKEY', try google. If you can't, let me show you a quick link that fedora core users use. http://www.fedorafaq.org/#gpgsig This should take care of the problem. By the way, tarball installs are not that painful. Good luck, Niels Winge-Sorensen Operation Analyst Broadband Maritime Inc. 61 Broadway, 19th floor New York, NY 10006 Tel: 212-405-1028 nsorensen at broadbandmaritime.com ? This message is for the named person's use only.? It may contain confidential, proprietary or legally priviledged material.? You must not, directly or indirectly, disclose, distribute, forward or copy any part of this message or any of its attachments without the permission of Broadband Maritime Inc. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Thu Dec 14 23:01:30 2006 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Thu, 14 Dec 2006 18:01:30 -0400 Subject: Nagios Notifications Message-ID: <4581C9BA.3030902@intercable.com.ve> Hi People, i have a litte problem with the notifications of my Nagios 2.5. For example : # 'check_nt_cpu' command definition define command{ command_name check_nt_cpu command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l 15,90,98 } When the notification arrives, in the additional info field i get information about the Ping instead of the CPU Load of the host, this happens when i'm checking disk, memory and others. I'd appreciate any help, thanks in advanced. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 23:25:46 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 14 Dec 2006 14:25:46 -0800 Subject: Nagios Notifications In-Reply-To: <4581C9BA.3030902@intercable.com.ve> References: <4581C9BA.3030902@intercable.com.ve> Message-ID: <20061214222546.GE17454@pmorris.usa.hp.com> On Thu, 14 Dec 2006, Danilo Perdomo wrote: > Hi People, i have a litte problem with the notifications of my Nagios 2.5. > For example : > # 'check_nt_cpu' command definition > define command{ > command_name check_nt_cpu > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > CPULOAD -l 15,90,98 > } > When the notification arrives, in the additional info field i get > information about the Ping instead of the CPU Load > of the host, this happens when i'm checking disk, memory and others. > I'd appreciate any help, thanks in advanced. What are your notification commands? Can't help much without those. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rmalghan at yahoo.com Thu Dec 14 23:22:06 2006 From: rmalghan at yahoo.com (Ravi Malghan) Date: Thu, 14 Dec 2006 14:22:06 -0800 (PST) Subject: Unable to run make successfully for nagios-plugins-1.4.5 Message-ID: <20061214222206.32261.qmail@web53009.mail.yahoo.com> Hi: When I run make, I get the following error. I looked through the FAQ, couldn't find any pointers. I am compiling this on Solaris 2.9 and have make 3.81 and gcc 3.4.6 ========================= if gcc -DLOCALEDIR=\"/usr/home/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/local/openssl/include -I/usr/local/mysql/include -I/usr/local/openssl/include -I/usr/local/mysql/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v8 -g -O2 -MT check_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || echo './'`check_mysql.c; \ then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql.Tpo"; exit 1; fi gcc: unrecognized option `-Xa' gcc: language arch=v8 not recognized gcc: check_mysql.c: linker input file unused because linking not done mv: cannot access .deps/check_mysql-check_mysql.Tpo *** Error code 2 make: Fatal error: Command failed for target `check_mysql-check_mysql.o' Current working directory /tmp/plugins/nagios-plugins-1.4.5/plugins *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /tmp/plugins/nagios-plugins-1.4.5 *** Error code 1 make: Fatal error: Command failed for target `all' ========================== Thanks Ravi ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Thu Dec 14 23:32:26 2006 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Thu, 14 Dec 2006 18:32:26 -0400 Subject: Nagios Notifications In-Reply-To: <20061214222546.GE17454@pmorris.usa.hp.com> References: <4581C9BA.3030902@intercable.com.ve> <20061214222546.GE17454@pmorris.usa.hp.com> Message-ID: <4581D0FA.6080107@intercable.com.ve> Patrick Morris escribi?: > On Thu, 14 Dec 2006, Danilo Perdomo wrote: > > >> Hi People, i have a litte problem with the notifications of my Nagios 2.5. >> For example : >> # 'check_nt_cpu' command definition >> define command{ >> command_name check_nt_cpu >> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v >> CPULOAD -l 15,90,98 >> } >> When the notification arrives, in the additional info field i get >> information about the Ping instead of the CPU Load >> of the host, this happens when i'm checking disk, memory and others. >> I'd appreciate any help, thanks in advanced. >> > > What are your notification commands? Can't help much without those > Notification commands: # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios Nacional *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n$HOSTOUTPUT$" | /bin/mail -s "Alerta: $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTEMAIL$ } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios Nacional *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Alerta: $HOSTSTATE$ $HOSTNAME$!" $CONTACTEMAIL$ } # 'process-host-perfdata' command definition define command{ command_name process-host-perfdata command_line /usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >> /usr/local/nagios/var/host-perfdata.out } # 'process-service-perfdata' command definition 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 } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 23:45:24 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 14 Dec 2006 20:45:24 -0200 Subject: Nagios Notifications In-Reply-To: <4581D0FA.6080107@intercable.com.ve> References: <4581C9BA.3030902@intercable.com.ve> <20061214222546.GE17454@pmorris.usa.hp.com> <4581D0FA.6080107@intercable.com.ve> Message-ID: <1166136324.11007.40.camel@localhost> On Thu, 2006-12-14 at 18:32 -0400, Danilo Perdomo wrote: > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios Nacional > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n$HOSTOUTPUT$" | /bin/mail -s "Alerta: $NOTIFICATIONTYPE$ - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTEMAIL$ > } You should $SERVICEOUTPUT$ instead of $HOSTOUTPUT$. 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/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 15 01:23:58 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 14 Dec 2006 16:23:58 -0800 Subject: Nagios Notifications In-Reply-To: <4581D0FA.6080107@intercable.com.ve> References: <4581C9BA.3030902@intercable.com.ve> <20061214222546.GE17454@pmorris.usa.hp.com> <4581D0FA.6080107@intercable.com.ve> Message-ID: <20061215002358.GF17454@pmorris.usa.hp.com> Hi Danilo! On Thu, 14 Dec 2006, Danilo Perdomo wrote: > > On Thu, 14 Dec 2006, Danilo Perdomo wrote: > > > > > >> Hi People, i have a litte problem with the notifications of my Nagios 2.5. > >> For example : > >> # 'check_nt_cpu' command definition > >> define command{ > >> command_name check_nt_cpu > >> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > >> CPULOAD -l 15,90,98 > >> } > >> When the notification arrives, in the additional info field i get > >> information about the Ping instead of the CPU Load > >> of the host, this happens when i'm checking disk, memory and others. > >> I'd appreciate any help, thanks in advanced. > >> > > > > What are your notification commands? Can't help much without those > > > Notification commands: > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios Nacional > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n$HOSTOUTPUT$" | /bin/mail -s "Alerta: $NOTIFICATIONTYPE$ - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTEMAIL$ > } $HOSTOUTPUT$ will always give you the output of the last host check. You probably want $SERVICEOUTPUT$. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Fri Dec 15 01:36:33 2006 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Thu, 14 Dec 2006 20:36:33 -0400 Subject: Nagios Notifications In-Reply-To: <20061215002358.GF17454@pmorris.usa.hp.com> References: <4581C9BA.3030902@intercable.com.ve> <20061214222546.GE17454@pmorris.usa.hp.com> <4581D0FA.6080107@intercable.com.ve> <20061215002358.GF17454@pmorris.usa.hp.com> Message-ID: <4581EE11.5050101@intercable.com.ve> Thanks! it's working!. Patrick Morris escribi?: > Hi Danilo! > > On Thu, 14 Dec 2006, Danilo Perdomo wrote: > > >>> On Thu, 14 Dec 2006, Danilo Perdomo wrote: >>> >>> >>> >>>> Hi People, i have a litte problem with the notifications of my Nagios 2.5. >>>> For example : >>>> # 'check_nt_cpu' command definition >>>> define command{ >>>> command_name check_nt_cpu >>>> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v >>>> CPULOAD -l 15,90,98 >>>> } >>>> When the notification arrives, in the additional info field i get >>>> information about the Ping instead of the CPU Load >>>> of the host, this happens when i'm checking disk, memory and others. >>>> I'd appreciate any help, thanks in advanced. >>>> >>>> >>> What are your notification commands? Can't help much without those >>> >>> >> Notification commands: >> >> # 'notify-by-email' command definition >> define command{ >> command_name notify-by-email >> command_line /usr/bin/printf "%b" "***** Nagios Nacional >> *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: >> $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: >> $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional >> Info:\n$HOSTOUTPUT$" | /bin/mail -s "Alerta: $NOTIFICATIONTYPE$ - >> $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTEMAIL$ >> } >> > > $HOSTOUTPUT$ will always give you the output of the last host check. You > probably want $SERVICEOUTPUT$. > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicgna at yahoo.com Fri Dec 15 04:18:07 2006 From: nicgna at yahoo.com (nic gna) Date: Thu, 14 Dec 2006 19:18:07 -0800 (PST) Subject: Make error : nagios-plugins-1.4.5: check_ntp.c:invalid operands Message-ID: <198350.40801.qm@web59109.mail.re1.yahoo.com> I get this make error with nagios-plugins-1.4.5 (sles8,ia64) ------------------------------- gcc -g -O2 -o check_mrtgtraf check_mrtgtraf.o utils.o -L/home/Software/Nagios/nagios-plugins-1.4.5/plugins ../lib/libnagiosplug.a ../lib/libcoreutils.a -lssl -lcrypto if gcc -DLOCALEDIR=\"/usr/local/packages/nagios-2.6/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/usr/include/pgsql -I/usr/include -g -O2 -MT check_ntp.o -MD -MP -MF ".deps/check_ntp.Tpo" -c -o check_ntp.o check_ntp.c; \ then mv -f ".deps/check_ntp.Tpo" ".deps/check_ntp.Po"; else rm -f ".deps/check_ntp.Tpo"; exit 1; fi check_ntp.c: In function `setup_request': check_ntp.c:295: invalid operands to binary & check_ntp.c:295: invalid operands to binary & check_ntp.c:295: invalid operands to binary & check_ntp.c:295: invalid operands to binary & make[2]: *** [check_ntp.o] Error 1 make[2]: Leaving directory `/home/Software/Nagios/nagios-plugins-1.4.5/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Software/Nagios/nagios-plugins-1.4.5' make: *** [all] Error 2 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyrus at icsit.jkuat.ac.ke Fri Dec 15 05:11:33 2006 From: tyrus at icsit.jkuat.ac.ke (tyrus at icsit.jkuat.ac.ke) Date: Fri, 15 Dec 2006 07:11:33 +0300 (EAT) Subject: Nagios installation Message-ID: <34233.212.49.82.52.1166155893.squirrel@212.49.82.54> Hi i downloaded and installed nagios as per the documentation and i even configured apache correctly. I got up to the point where i viewed the welcome page but i cant go beyond that. I get the following error message: The requested URL /nagios/cgi-bin/tac.cgi was not found on this server. Then when i restart nagios with the -v option i receive the following error: Nagios 2.6 starting... (PID=4464) Error: Unexpected token or statement in file '/usr/local/nagios/etc/hosts.cfg' o n line 2. Bailing out due to one or more errors encountered in the configuration files. R un Nagios from the command line with the -v option to verify your config before restarting. (PID=4464) I wasnt able to see what the problem was since i didnt see in the manual anywhere it states about editing the hosts.cfg file. Kindly help me out. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Fri Dec 15 05:45:28 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Fri, 15 Dec 2006 15:45:28 +1100 Subject: Nagios installation Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01A6799D@mail01.ccia.local> You will need to do at least some configuring before nagios will run. http://nagios.sourceforge.net/docs/2_0/config.html Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of tyrus at icsit.jkuat.ac.ke Sent: Friday, 15 December 2006 3:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios installation Hi i downloaded and installed nagios as per the documentation and i even configured apache correctly. I got up to the point where i viewed the welcome page but i cant go beyond that. I get the following error message: The requested URL /nagios/cgi-bin/tac.cgi was not found on this server. Then when i restart nagios with the -v option i receive the following error: Nagios 2.6 starting... (PID=4464) Error: Unexpected token or statement in file '/usr/local/nagios/etc/hosts.cfg' o n line 2. Bailing out due to one or more errors encountered in the configuration files. R un Nagios from the command line with the -v option to verify your config before restarting. (PID=4464) I wasnt able to see what the problem was since i didnt see in the manual anywhere it states about editing the hosts.cfg file. Kindly help me out. ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From powo+lists.nagios-users at powo.priv.at Fri Dec 15 09:49:05 2006 From: powo+lists.nagios-users at powo.priv.at (Wolfgang Powisch) Date: Fri, 15 Dec 2006 09:49:05 +0100 Subject: ndoutils - new objects not active after reload Message-ID: <45826181.2020002@powo.priv.at> Hi, I'm using ndoutils 1.3.1 with nagios 2.x and seeing the following problem: My web-application queries the ndo_servicestate or ndo_hoststate table with an additional filter "WHERE ndo_objects.is_active=1" to get the current service and host states. This works well most of the time. Now, I noticed, that every time, I add a new service or host and reload/restart (same behaviour) nagios, the new objects are in ndo database, but the is_active field is 0. An additional nagios reload/restart makes them active. I could reproduce this behaviour every time when adding new hosts or services. Any Ideas if this is a bug or any reason this may be intended. What exactly is the "is_active" field intended for ? thx in advance regards, -- Wolfgang Powisch ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Dec 15 10:24:20 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 15 Dec 2006 10:24:20 +0100 Subject: Newbie: I can't register hosts? In-Reply-To: <538572.68894.qm@web59104.mail.re1.yahoo.com> References: <538572.68894.qm@web59104.mail.re1.yahoo.com> Message-ID: <458269C4.3030600@op5.se> nic gna wrote: > This is my host.cfg and I can't register the hosts. > I get this error: > > Error: Host name, alias, or address is NULL > Error: Could not register host (config file '/etc/nagios/hosts.cfg', starting on line 1) > -------- > define host{ > name routers > use routers This is interesting. I'd be surprised if Nagios doesn't barf on this. I'm assuming this is a template you wish to include in your *real* host objects (luke and leia below - cute names, btw), but making them "use" themselves is just asking for an infinite loop bug to bite you. > check_command check-host-alive > max_check_attempts 15 > notification_interval 30 > notification_period 24x7 > contact_groups admins > notification_options d,r > register 1 > } As has already been pointed out, "register" should be set to 0 for template objects. This is quite clearly documented, and "register" is there for the sole reason of coping with templates that aren't complete objects. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Dec 15 10:29:17 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 15 Dec 2006 10:29:17 +0100 Subject: ndoutils - new objects not active after reload In-Reply-To: <45826181.2020002@powo.priv.at> References: <45826181.2020002@powo.priv.at> Message-ID: <45826AED.1030108@op5.se> Wolfgang Powisch wrote: > Hi, > > I'm using ndoutils 1.3.1 with nagios 2.x and seeing the following problem: > > My web-application queries the ndo_servicestate or ndo_hoststate table with an > additional filter "WHERE ndo_objects.is_active=1" to get the current service and host > states. This works well most of the time. > > Now, I noticed, that every time, I add a new service or host and reload/restart > (same behaviour) nagios, the new objects are in ndo database, but the is_active > field is 0. An additional nagios reload/restart makes them active. > I could reproduce this behaviour every time when adding new hosts or services. > > Any Ideas if this is a bug or any reason this may be intended. > What exactly is the "is_active" field intended for ? > Use the source, Luke. If you find the answer, let us know. Documentation for the NDO utils are nowhere near complete, and I daresay Ethan would find it useful to get a bit of help with it. A sort of semi-educated guess (based on the column-name) is that it denotes services and hosts that have active checks enabled, or that have been checked at least once. How long did you let Nagios run before you restarted it? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicgna at yahoo.com Fri Dec 15 11:04:15 2006 From: nicgna at yahoo.com (nic gna) Date: Fri, 15 Dec 2006 02:04:15 -0800 (PST) Subject: Whoops! Error: Could not read object configuration data! Message-ID: <954151.99825.qm@web59108.mail.re1.yahoo.com> When I try to access the Host Details, etc, I have this error: -------------------------------------------------------------------------------------------------- Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Dec 15 11:09:48 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 15 Dec 2006 11:09:48 +0100 Subject: Whoops! Error: Could not read object configuration data! In-Reply-To: <954151.99825.qm@web59108.mail.re1.yahoo.com> References: <954151.99825.qm@web59108.mail.re1.yahoo.com> Message-ID: <4582746C.6020300@op5.se> nic gna wrote: > When I try to access the Host Details, etc, I have this error: > Sorry to hear it. What have you done to try and fix it? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyrus at icsit.jkuat.ac.ke Fri Dec 15 12:05:44 2006 From: tyrus at icsit.jkuat.ac.ke (tyrus at icsit.jkuat.ac.ke) Date: Fri, 15 Dec 2006 14:05:44 +0300 (EAT) Subject: help please Message-ID: <33083.212.49.82.52.1166180744.squirrel@212.49.82.54> I have performed all the necessary modifications to my host.cfg file and now there is this error message am getting. Error: Could not find a service matching host name 'jkuatdb' and description 'mysql' Error: Could not expand member services specified in servicegroup (config file '/usr/local/nagios/etc/services.cfg', starting on line 20) Now my host is jkuatdb and the service its running is mysql. could i be missing something here?? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-ml at seichter.de Fri Dec 15 15:13:59 2006 From: nagios-ml at seichter.de (Ralph Seichter) Date: Fri, 15 Dec 2006 15:13:59 +0100 Subject: Whoops! Error: Could not read object configuration data! In-Reply-To: <4582746C.6020300@op5.se> References: <954151.99825.qm@web59108.mail.re1.yahoo.com> <4582746C.6020300@op5.se> Message-ID: <4582ADA7.9090504@seichter.de> Andreas Ericsson wrote: > Sorry to hear it. What have you done to try and fix it? Hehehe... Right on. :-) -- Mit freundlichen Gr??en / Sincerely Dipl. Inform. Ralph Seichter ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From liste at mattiamartinello.com Fri Dec 15 15:34:28 2006 From: liste at mattiamartinello.com (Mattia Martinello) Date: Fri, 15 Dec 2006 15:34:28 +0100 Subject: Services and Hosts Message-ID: <4582B274.8060800@mattiamartinello.com> Hi. In the definition of services, I have to specify which hosts belogs to which services, for example: define service{ use local-service host_name localhost service_description Root Partition check_command check_local_disk!20%!10%!/ } Can I specify the relation between services and hosts in the hosts definition, instead of in the services definition? For example: define host{ host_name localhost alias localhost address 127.0.0.1 check_period 24x7 max_check_attempts 1 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r services check_local_disk, check_local_procs, .......... } Thank you very much and goodbye. Mattia. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Dec 15 15:44:29 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 15 Dec 2006 15:44:29 +0100 Subject: Services and Hosts In-Reply-To: <4582B274.8060800@mattiamartinello.com> References: <4582B274.8060800@mattiamartinello.com> Message-ID: <4582B4CD.4040709@op5.se> Mattia Martinello wrote: > > Can I specify the relation between services and hosts in the hosts > definition, instead of in the services definition? No, only in the services. You can, however, specify multiple hosts, or entire hostgroups, in your service object definitions. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 15 16:22:54 2006 From: marc at ena.com (Marc Powell) Date: Fri, 15 Dec 2006 09:22:54 -0600 Subject: Unable to run make successfully fornagios-plugins-1.4.5 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ravi Malghan > Sent: Thursday, December 14, 2006 4:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Unable to run make successfully fornagios-plugins- > 1.4.5 > > Hi: When I run make, I get the following error. I looked through the FAQ, > couldn't find any pointers. I am compiling this on Solaris 2.9 and have > make 3.81 and gcc 3.4.6 > ========================= [chop] > gcc: unrecognized option `-Xa' > gcc: language arch=v8 not recognized > gcc: check_mysql.c: linker input file unused because linking not done > mv: cannot access .deps/check_mysql-check_mysql.Tpo > *** Error code 2 > make: Fatal error: Command failed for target `check_mysql-check_mysql.o' Not sure I can help but googling for "gcc: language arch=v8 not recognized" shows this to be a pretty common issue when compiling mysql apps (DBD::Mysql comes up a lot). Perhaps there'll be some answers there. What configure options did you pass? Did you use --with-mysql= to give it the path to the mysql_config bin directory? Do you happen to have multiple versions of mysql installed? Finally, do you see the same error after running a 'make distclean; ./configure...; make' cycle again? -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Fri Dec 15 17:17:03 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 15 Dec 2006 14:17:03 -0200 Subject: Whoops! Error: Could not read objectconfiguration data! In-Reply-To: <4582746C.6020300@op5.se> References: <954151.99825.qm@web59108.mail.re1.yahoo.com> <4582746C.6020300@op5.se> Message-ID: <1166199423.24306.1.camel@localhost> On Fri, 2006-12-15 at 11:09 +0100, Andreas Ericsson wrote: > nic gna wrote: > > When I try to access the Host Details, etc, I have this error: > > > > Sorry to hear it. What have you done to try and fix it? > seems nothing, whatsoever. neither read docs. http://library.n0i.net/advocacy/howto-ask-questions/ will it be read? 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/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyrus at icsit.jkuat.ac.ke Fri Dec 15 17:24:39 2006 From: tyrus at icsit.jkuat.ac.ke (tyrus at icsit.jkuat.ac.ke) Date: Fri, 15 Dec 2006 19:24:39 +0300 (EAT) Subject: help please..kindly Message-ID: <33135.212.49.82.52.1166199879.squirrel@212.49.82.54> After entering all the necessary configurations in the nagiosfiles, i have narrowed down to the following error which i seem not to make head of: Error: Invalid max_check_attempts value for host 'localhosts' Error: Could not register host (config file '/usr/local/nagios/etc/localhost.cfg', starting on line 175) Any idea of where the error might be coming from since ive gone through the localhost.cfg file like a million times and set the values to their defaults? And something else, when i access the web interface i get an Internal server Error talking of a misconfiguration ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iceman at 30below.com Fri Dec 15 17:31:32 2006 From: iceman at 30below.com (Jeff Sullivan) Date: Fri, 15 Dec 2006 11:31:32 -0500 Subject: help please..kindly In-Reply-To: <33135.212.49.82.52.1166199879.squirrel@212.49.82.54> References: <33135.212.49.82.52.1166199879.squirrel@212.49.82.54> Message-ID: <4582CDE4.3030304@30below.com> tyrus at icsit.jkuat.ac.ke wrote: > After entering all the necessary configurations in the nagiosfiles, i have > narrowed down to the following error which i seem not to make head of: > Error: Invalid max_check_attempts value for host 'localhosts' > Error: Could not register host (config file > '/usr/local/nagios/etc/localhost.cfg', starting on line 175) > Any idea of where the error might be coming from since ive gone through > the localhost.cfg file like a million times and set the values to their > defaults? Post your localhost.cfg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at suryo.com Fri Dec 15 17:33:02 2006 From: luc at suryo.com (Luc I. Suryo) Date: Fri, 15 Dec 2006 09:33:02 -0700 Subject: Unable to run make successfully fornagios-plugins-1.4.5 In-Reply-To: References: Message-ID: <20061215163302.GA1748@porsche.suryo.com> > > > > Hi: When I run make, I get the following error. I looked through the > FAQ, > > couldn't find any pointers. I am compiling this on Solaris 2.9 and > have > > make 3.81 and gcc 3.4.6 > > ========================= > > [chop] > > > gcc: unrecognized option `-Xa' > > gcc: language arch=v8 not recognized > > gcc: check_mysql.c: linker input file unused because linking not done > > mv: cannot access .deps/check_mysql-check_mysql.Tpo > > *** Error code 2 > > make: Fatal error: Command failed for target > `check_mysql-check_mysql.o' > > Not sure I can help but googling for "gcc: language arch=v8 not > recognized" shows this to be a pretty common issue when compiling mysql > apps (DBD::Mysql comes up a lot). Perhaps there'll be some answers > there. What configure options did you pass? Did you use --with-mysql= to > give it the path to the mysql_config bin directory? Do you happen to > have multiple versions of mysql installed? Finally, do you see the same > error after running a 'make distclean; ./configure...; make' cycle > again? check if you have set any of the following enviroment variables CC / CFLAGS / CXX / CXXFLAGS / LDFLAGS the arch=v8 flags is a typical Sun compiler/linker flags to tell the compiler/linker to compile the source for a Ultra Sparc CPU you have couple options ; use studio 11 from Sun (is free) or reconfigure with the following setup CC=gcc CFLAGS="-O" CXX=g++ CXXFLAGS="-O" LDFLAGS="-s" \ ./configure .... now with the CFLAGS and CXXFLAGS you might want to add -I.... -I... so it finds the include files and in the LDFLAFS add -R... -R... -L... -L... to find the library during link time and executing time (NB: there is a Solaris 10 package available at ftp.patriots.net, I think it would be compatible fro Solaris 9) good luck and hope this might help... -ls ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eric at techeminence.com Fri Dec 15 19:34:13 2006 From: eric at techeminence.com (Eric Faden) Date: Fri, 15 Dec 2006 13:34:13 -0500 Subject: NagiosGraph and multiple hostextinfo's... Message-ID: <4582EAA5.4060106@techeminence.com> So currently I am running NagiosGrapher utilizing the serviceext info sections to link to the graphs. NagiosGrapher seems to also be creating files with hostextinfo sections in it as well. Right now I am using hostext info to display the OS or Hardware icon that it is running on. Is it possible to get nagios to add two icons for the hostextinfo, so I could have one indicating the OS/Hardware and one with the graph? I poked around on the forum for a while but couldn't actually find the answer. -Eric ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 15 20:38:05 2006 From: marc at ena.com (Marc Powell) Date: Fri, 15 Dec 2006 13:38:05 -0600 Subject: help please..kindly Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of tyrus at icsit.jkuat.ac.ke > Sent: Friday, December 15, 2006 10:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] help please..kindly > > After entering all the necessary configurations in the nagiosfiles, i have > narrowed down to the following error which i seem not to make head of: > Error: Invalid max_check_attempts value for host 'localhosts' > Error: Could not register host (config file > '/usr/local/nagios/etc/localhost.cfg', starting on line 175) > Any idea of where the error might be coming from since ive gone through Within the host definition that begins on line 175 of localhost.cfg. It'll be the line that begins with 'max_check_attempts' and ends with an invalid value ;) Probably starts out like -- define host { host_name localhosts ... max_check_attempts } http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host will help you with what should be there. > And something else, when i access the web interface i get an Internal > server Error talking of a misconfiguration You've got to give us more than that it you seriously want help. When troubleshooting, specific error messages are usually the most important piece of information you could provide. Configuration information and specific actions you've taken to resolve the problem are a close second. Also, you're likely to find very useful error information in your web server's error logs. Finally, review the documentation on configuring your web server here -- http://nagios.sourceforge.net/docs/2_0/installweb.html -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Fri Dec 15 21:22:23 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 15 Dec 2006 15:22:23 -0500 Subject: Whoops! Error: Could not read objectconfiguration data! In-Reply-To: <1166199423.24306.1.camel@localhost> References: <954151.99825.qm@web59108.mail.re1.yahoo.com> <4582746C.6020300@op5.se> <1166199423.24306.1.camel@localhost> Message-ID: <302ce8b50612151222o32588977x44fba73b773d8ca3@mail.gmail.com> > seems nothing, whatsoever. neither read docs. > > http://library.n0i.net/advocacy/howto-ask-questions/ > > will it be read? > Doubtful. Perhaps instead you could read it for him and summarize, cliff's notes style :-P ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Fri Dec 15 21:31:03 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 15 Dec 2006 18:31:03 -0200 Subject: Whoops! Error: Could not read objectconfiguration data! In-Reply-To: <954151.99825.qm@web59108.mail.re1.yahoo.com> References: <954151.99825.qm@web59108.mail.re1.yahoo.com> Message-ID: <1166214664.25580.1.camel@localhost> Hello, nic gna: Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. HTH, MArcel On Fri, 2006-12-15 at 02:04 -0800, nic gna wrote: > When I try to access the Host Details, etc, I have this error: > > -------------------------------------------------------------------------------------------------- > > Whoops! > Error: Could not read object configuration data! > Here are some things you should check in order to resolve this > error: > 1. Verify configuration options using the -v command-line option > to check for errors. > 2. Check the Nagios log file for messages relating to startup or > status data errors. > 3. Make sure you've compiled the main program and the CGIs to use > the same object data storage options > (i.e. default text file or template-based file). > Make sure you read the documentation on installing, configuring and > running Nagios thoroughly before > continuing. If all else fails, try sending a message to one of the > mailing lists. More information can be > found at http://www.nagios.org. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfilla at stanford.edu Fri Dec 15 23:41:12 2006 From: jfilla at stanford.edu (Joseph Filla) Date: Fri, 15 Dec 2006 14:41:12 -0800 Subject: SELinux policies for Nagios on RHEL 4 Message-ID: <75F0AC00-DA0E-422F-9BB0-3948AF375EBB@stanford.edu> As I have seen posted before, one has to disable SELinux so the cgi scripts can run. I too encountered the problems and had to disable SELinux. Is there any progress being made to get the cgis to work correctly or to define a policy so SELinux and Nagios cgis can coexist? -- Joseph Filla Systems Administrator Carnegie Institution of Washington ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 15 23:50:54 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 15 Dec 2006 14:50:54 -0800 Subject: SELinux policies for Nagios on RHEL 4 In-Reply-To: <75F0AC00-DA0E-422F-9BB0-3948AF375EBB@stanford.edu> References: <75F0AC00-DA0E-422F-9BB0-3948AF375EBB@stanford.edu> Message-ID: <20061215225054.GO17454@pmorris.usa.hp.com> On Fri, 15 Dec 2006, Joseph Filla wrote: > As I have seen posted before, one has to disable SELinux so the cgi > scripts can run. I too encountered the problems and had to disable > SELinux. Is there any progress being made to get the cgis to work > correctly or to define a policy so SELinux and Nagios cgis can coexist? SELinux does *not* have to be disabled completely for Nagios to run; that's just a very common recommendation often made to people who don't understand enough about SELinux to configure it correctly. Recent versions of Fedora, for example, have a set of SELinux policies that seem to work fine. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfilla at stanford.edu Sat Dec 16 00:12:05 2006 From: jfilla at stanford.edu (Joseph Filla) Date: Fri, 15 Dec 2006 15:12:05 -0800 Subject: SELinux policies for Nagios on RHEL 4 In-Reply-To: <20061215225054.GO17454@pmorris.usa.hp.com> References: <75F0AC00-DA0E-422F-9BB0-3948AF375EBB@stanford.edu> <20061215225054.GO17454@pmorris.usa.hp.com> Message-ID: <474921B6-C79C-478D-A84F-1717E235217D@stanford.edu> Thanks for your reply, Does anyone know if the SELinux policies are transferable from Fedora to RHEL? I can run Audit2allow and try to configure my first policy, but I was wondering if someone has already cracked this nut. I donwanna redo the wheel if possible. On Dec 15, 2006, at 2:50 PM, Patrick Morris wrote: > On Fri, 15 Dec 2006, Joseph Filla wrote: > >> As I have seen posted before, one has to disable SELinux so the cgi >> scripts can run. I too encountered the problems and had to disable >> SELinux. Is there any progress being made to get the cgis to work >> correctly or to define a policy so SELinux and Nagios cgis can >> coexist? > > SELinux does *not* have to be disabled completely for Nagios to run; > that's just a very common recommendation often made to people who > don't > understand enough about SELinux to configure it correctly. > > Recent versions of Fedora, for example, have a set of SELinux policies > that seem to work fine. -- Joseph Filla Systems Administrator Carnegie Institution of Washington 1 (650) 325-1521 x296 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From liste at mattiamartinello.com Sat Dec 16 19:23:10 2006 From: liste at mattiamartinello.com (Mattia Martinello) Date: Sat, 16 Dec 2006 19:23:10 +0100 Subject: Different types of notifications Message-ID: <4584398E.1050405@mattiamartinello.com> Hi. I need different types of notifications for different services. For example, I need the notification type "notification-by-sms-1" for the service "check_ping" and the notification type "notification-by-sms-2" for the service "check_internet". For all other services I need the e-mail notification for all states and the sms notification only for the critical state. How I can configure this? Thank you very much and goodbye, Mattia. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Dec 16 16:02:08 2006 From: marc at ena.com (Marc Powell) Date: Sat, 16 Dec 2006 09:02:08 -0600 Subject: SELinux policies for Nagios on RHEL 4 Message-ID: There was a policy posted to the list about 6 months ago or so. Google or searching the list archives will probably bring it up. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Joseph Filla > Sent: Friday, December 15, 2006 5:12 PM > To: Patrick Morris > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] SELinux policies for Nagios on RHEL 4 > > Thanks for your reply, > > Does anyone know if the SELinux policies are transferable from Fedora > to RHEL? I can run Audit2allow and try to configure my first policy, > but I was wondering if someone has already cracked this nut. I > donwanna redo the wheel if possible. > > > On Dec 15, 2006, at 2:50 PM, Patrick Morris wrote: > > > On Fri, 15 Dec 2006, Joseph Filla wrote: > > > >> As I have seen posted before, one has to disable SELinux so the cgi > >> scripts can run. I too encountered the problems and had to disable > >> SELinux. Is there any progress being made to get the cgis to work > >> correctly or to define a policy so SELinux and Nagios cgis can > >> coexist? > > > > SELinux does *not* have to be disabled completely for Nagios to run; > > that's just a very common recommendation often made to people who > > don't > > understand enough about SELinux to configure it correctly. > > > > Recent versions of Fedora, for example, have a set of SELinux policies > > that seem to work fine. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Sun Dec 17 05:09:57 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Sat, 16 Dec 2006 23:09:57 -0500 Subject: Different types of notifications Message-ID: Hello Mattia, I have done this using a mixture of contacts and contact groups with different settings -- although in my case I used it for creating different RSS feeds, but this technique will work for you as well. Here are some pieces of my config files as an example for you. I am using nagios 1.4, so if there are any differences in the configs, someone with experience in 2.x will have to keep me honest. :-) define contact{ contact_name notify-sms-1 alias Notify SMS 1 for check_ping service_notification_commands notify-by-sms-1 } define contact{ contact_name notify-sms-2 alias Notify SMS 2 for check_internet service_notification_commands notify-by-sms-2 } define contact{ contact_name notify-by-email alias Notify by Email service_notification_commands commandtoemail } define contact{ contact_name notify-sms-critical alias Notify SMS for critical service_notification_commands commandtosms service_notification_options c } NOTICE the service_notification_options in the last contact. We are telling it to ONLY send notices if the event is a "critical". This is (obviously) important. Then create the contact groups. For your needs, I would suggest 3 contact groups: define contactgroup{ contactgroup_name check-ping-sms-group alias check-ping-sms-group members notify-sms-1 } define contactgroup{ contactgroup_name check-internet-sms-group alias check-internet-sms-group members notify-sms-2 } And finally: define contactgroup{ contactgroup_name everyone_else alias Everyone Else members notify-by-email,notify-by-sms-critical } Under your service definition for check_ping, put the check-ping-sms-group as the contact. For the check_internet check, put the check-internet-sms-group as the contact. For everything else, use the everyone_else group. Both notify-by-email and notify-by-sms-critical can be in the group, but the sms member will only be used if it is a critical alert. The only caveat in this, is that the person getting the sms alert will not receive recovery alerts. As far as I know, recover alerts will send whether the alert was a "warning" or a "critical"...it makes no distinction. So, you can either send sms recoveries for alerts that they have no visibility to, or they can receive none. Your choice. :-) Hope this is helpful, Janet -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mattia Martinello Sent: December 16, 2006 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Different types of notifications Hi. I need different types of notifications for different services. For example, I need the notification type "notification-by-sms-1" for the service "check_ping" and the notification type "notification-by-sms-2" for the service "check_internet". For all other services I need the e-mail notification for all states and the sms notification only for the critical state. How I can configure this? Thank you very much and goodbye, Mattia. ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsaeks at district30.k12.il.us Sun Dec 17 17:53:07 2006 From: rsaeks at district30.k12.il.us (Randall R. Saeks) Date: Sun, 17 Dec 2006 10:53:07 -0600 Subject: check_disk by check_by_ssh Message-ID: <54DFE14C-317D-4BC4-AC73-295067E7D49D@district30.k12.il.us> I have my check_by_ssh working, but now I want to execute the check_disk command. I send to the machine the check_disk executable, and placed it into a secure location on the machine. Do I need to actually compile the nagios plugins on the server for it to run? I try, and on the remote server it complains that a dylib is not present, even though I copied it to the path it is looking in. Thanks, Randy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill.omer at gmail.com Sun Dec 17 19:29:29 2006 From: bill.omer at gmail.com (Bill Omer) Date: Sun, 17 Dec 2006 13:29:29 -0500 Subject: Problems with Distributed Monitoring Message-ID: <3ec83c030612171029w79323f73o9d53c6156345c966@mail.gmail.com> I'm trying to configure a distributed monitoring setup and I am having some problems getting results processed by the central server. I am using: check_external_commands=1 I have active checks disabled in hosts.cfg and in my host templates. active_checks_enabled 0 I also have (in the same configuration files) passive_checks_enabled 1 On the distributed server, I'm using: ochp_command=submit_check_result ocsp_command=submit_check_result obsess_over_service=1 obsess_over_hosts=1 In the services templates, I'm using obsess_over_service 1 for all services, too. In my commands.cfg I've added: define command{ command_name submit_check_result command_line /usr/lib/nagios/plugins/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' } define command{ command_name submit_host_result command_line /usr/lib/nagios/plugins/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' } Finnaly, I can run /usr/lib/nagios/plugins/submit_check_result manually and it replies with: 1 data packet(s) sent to host successfully. However I never see anything in /var/log/nagios/nagios.log, even though I am using log_passive_checks=1 Any help with this would be greatly appreciated. I'm sure it's something, probably simple, that i've missed... -Bill ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Sun Dec 17 23:24:23 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Mon, 18 Dec 2006 09:24:23 +1100 Subject: help please Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01A679F7@mail01.ccia.local> Can you post your hosts.cfg and services.cfg file for us to look at ? Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of tyrus at icsit.jkuat.ac.ke Sent: Friday, 15 December 2006 10:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help please I have performed all the necessary modifications to my host.cfg file and now there is this error message am getting. Error: Could not find a service matching host name 'jkuatdb' and description 'mysql' Error: Could not expand member services specified in servicegroup (config file '/usr/local/nagios/etc/services.cfg', starting on line 20) Now my host is jkuatdb and the service its running is mysql. could i be missing something here?? ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Murray.Barton at woodside.com.au Mon Dec 18 03:14:35 2006 From: Murray.Barton at woodside.com.au (Barton, Murray M.) Date: Mon, 18 Dec 2006 11:14:35 +0900 Subject: nsca query Message-ID: <17EBC05307239C4896ED25244F42A80102381249@permls05.wde.woodside.com.au> Hi, I have setup nsca and I can send alerts to nagios OK. Here is the problem I have- 1. send critical/warning alert to nagios 2. confirm alert is displayed 3. send OK status to nagios 4. confirm nagios displays status OK 5. time passes 6. nagios displays the item in warning status with alarm message from 1. previously. I have pasted the section out of the nagios services.cfg below (it's basically straight out of the doco...) What I really want nagios to do at point 6 is to keep on displaying what-ever it was sent last until I send it something else. (I have over 200 hosts with many services and I don't want all of them polling nagios every x minutes). Is there are a configuration option to do thist? thanks for your help Cheers Murray define service { use generic-service name passive_service active_checks_enabled 0 passive_checks_enabled 1 flap_detection_enabled 0 register 0 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 check_freshness 0 contact_groups unixteam check_command check_dummy!0 notification_interval 120 notification_period 24x7 notification_options w,u,c,r stalking_options w,c,u } define service { use passive_service service_description DiskCheck hostgroup_name lws } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Dec 18 08:26:11 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 18 Dec 2006 08:26:11 +0100 (CET) Subject: nsca query In-Reply-To: <17EBC05307239C4896ED25244F42A80102381249@permls05.wde.woodside.com.au> References: <17EBC05307239C4896ED25244F42A80102381249@permls05.wde.woodside.com.au> Message-ID: On Mon, 18 Dec 2006, Barton, Murray M. wrote: > I have setup nsca and I can send alerts to nagios OK. Here is the > problem I have- > > 1. send critical/warning alert to nagios > 2. confirm alert is displayed > 3. send OK status to nagios > 4. confirm nagios displays status OK > 5. time passes > 6. nagios displays the item in warning status with alarm message from 1. > previously. > > > I have pasted the section out of the nagios services.cfg below (it's > basically straight out of the doco...) Did you check out the passive mode section of the manual http://nagios.sourceforge.net/docs/2_0/passivechecks.html ? > What I really want nagios to do at point 6 is to keep on displaying > what-ever it was sent last until I send it something else. (I have over > 200 hosts with many services and I don't want all of them polling nagios > every x minutes). Is there are a configuration option to do thist? Unless I am mistaken this should the default with your config. But I suggest you put everything in your service definition first before you start playing with templates. And which Nagios version are you running? Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 18 08:32:03 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 18 Dec 2006 08:32:03 +0100 (CET) Subject: nsca query In-Reply-To: <17EBC05307239C4896ED25244F42A80102381249@permls05.wde.woodside.com.au> References: <17EBC05307239C4896ED25244F42A80102381249@permls05.wde.woodside.com.au> Message-ID: On Mon, 18 Dec 2006, Barton, Murray M. wrote: > check_command check_dummy!0 A real dummy could propably work without options. > notification_options w,u,c,r > stalking_options w,c,u Unreachable is an odd thing with passive checks. And I do not think one should be stalking passive checks unless you know exactly what you are doing. It could very well be the cause of your problem. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Mon Dec 18 08:36:04 2006 From: eagle at cyberdelia.de (Daniel Meyer) Date: Mon, 18 Dec 2006 08:36:04 +0100 (CET) Subject: big performance issue with Nagios 2.5 In-Reply-To: <1166116512.11007.6.camel@localhost> References: <8C917597-A286-4483-82C4-C598FF2A8637@cisco.com> <1166034046.29364.27.camel@localhost> <1166116512.11007.6.camel@localhost> Message-ID: On Thu, 14 Dec 2006, Marcel Mitsuto Fucatu Sugano wrote: > What kind of checks do you run? Is there any custom plugins that take 700 * "check_nt" 280 * "check_icmp" 170 * checks against Netapp Filer (Perl und C) 160 * selfmade-checks against RSA Cards 120 * check_snmp_int.pl 80 * checks against VMWare (check_esx2.pl) 20 * checks against Brocade SAN Switches (C) > too long to finish? Paste here the performance table. Output from > nagiostats may also be helpful. I collected the following data with the output of nagiostats: http://www.cyberdelia.de/nagios-latency.png Resolution one week, 30 minutes interval. You can see how it runs just fine for several days (where i worked on the config and restarted nagios several times per day), and then on dec. 9th (a saturday) the latency skyrocketed, until i came back into the office on Monday and restarted the service. The latency dropped instantly. http://www.cyberdelia.de/nagios-timeframe.png Checks in the given timeframe (ignore the percentage vertical label). The more the latency increses the less checks are performed in the 5 minute timeframe. Quite logical result from the high service check latency. http://www.cyberdelia.de/nagios-executiontime.png Service check execution time. Rocksteady. Some 10 or 15 checks which need 10 seconds, but the average execution time is about 1 to 1.5 seconds... This is regardless of the state of nagios (eg. normal latency or the extrem high latency). This is the current nagiostats output: Nagios Stats 2.6 Copyright (c) 2003-2005 Ethan Galstad (www.nagios.org) Last Modified: 11-27-2006 License: GPL CURRENT STATUS DATA ---------------------------------------------------- Status File: /var/log/nagios/status.dat Status File Age: 0d 0h 0m 4s Status File Version: 2.6 Program Running Time: 0d 0h 13m 49s Total Services: 1612 Services Checked: 1602 Services Scheduled: 1602 Active Service Checks: 1612 Passive Service Checks: 0 Total Service State Change: 0.000 / 5.990 / 0.007 % Active Service Latency: 0.000 / 1.404 / 0.315 sec Active Service Execution Time: 0.000 / 10.031 / 0.407 sec Active Service State Change: 0.000 / 5.990 / 0.007 % Active Services Last 1/5/15/60 min: 315 / 1551 / 1602 / 1602 Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 1562 / 5 / 36 / 9 Services Flapping: 0 Services In Downtime: 0 Total Hosts: 289 Hosts Checked: 279 Hosts Scheduled: 0 Active Host Checks: 289 Passive Host Checks: 0 Total Host State Change: 0.000 / 0.000 / 0.000 % Active Host Latency: 0.000 / 0.000 / 0.000 sec Active Host Execution Time: 0.000 / 0.327 / 0.033 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min: 7 / 25 / 25 / 26 Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 289 / 0 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 (made about 15 minutes after a restart of nagios, it was again way in the 360 second latency when i came into the office this morning) Danny ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ianpcollier at gmail.com Mon Dec 18 10:33:54 2006 From: ianpcollier at gmail.com (Ian Collier) Date: Mon, 18 Dec 2006 09:33:54 +0000 Subject: Infortrend Eonstor RAID Message-ID: <640bfc410612180133o28f1c137ue934f50e3e169f8b@mail.gmail.com> To save me reinventing the wheel, is anyone already monitoring an Infortrend Eonstor RAID? Ian Collier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jczucco at ucs.br Mon Dec 18 12:04:24 2006 From: jczucco at ucs.br (Jeronimo Zucco) Date: Mon, 18 Dec 2006 09:04:24 -0200 Subject: Nagios monitoring bacula - service dependencies Message-ID: <458675B8.6070104@ucs.br> Hi, all. I have problem using service dependencies. I have a backup server (bacula), and I check status of backup through a mysql query ( http://darcs.complete.org/debian/bacula.upstream/examples/nagios.txt ) on server bacula using nrpe in server bacula. I have many others servers with I do backups in bacula (like server1 below), then I check status of backup of this server, with this definition: define service{ use generic-service ; Name of service template to use name TEMPLATE-REMOTE-BACULA-BACKUP service_description Backup is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 notification_options w,u,c,r notification_interval 0 notification_period 24x7 register 0 } define service{ use TEMPLATE-REMOTE-BACULA-BACKUP host_name server1 contact_groups admins register 1 check_command check_remote_bacula_server1Job } define servicedependency{ host_name server1 service_description Backup dependent_host_name bacula dependent_service_description PING execution_failure_criteria u,c notification_failure_criteria w,u,c } I configure service dependency because when I shutdown bacula/mysql server, I got many notifications about backups. What is wrong in my definition of service dependency ? I want no notifications when bacula server is down. Thank you. -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified N?cleo de Processamento de Dados Universidade de Caxias do Sul http://jczucco.blogspot.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 18 23:24:30 2006 From: marc at ena.com (Marc Powell) Date: Mon, 18 Dec 2006 16:24:30 -0600 Subject: Schedule Downtime w/o authentication requirement Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Patrick Morris > Sent: Monday, December 18, 2006 3:19 PM > To: Subin Shakya > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Schedule Downtime w/o authentication > requirement > > On Mon, 18 Dec 2006, Subin Shakya wrote: > > > > > I want to configure nagios in such a way that it does not require any > > kind of authorization/authentication including 'guest'. How can I > > do > > that? > > Strictly speaking, you can't. Sure you can. See the default_user_name and authorized_for_* variables and descriptions in cgi.cfg. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 18 23:35:09 2006 From: marc at ena.com (Marc Powell) Date: Mon, 18 Dec 2006 16:35:09 -0600 Subject: URGENT REPOST: CHECK_NRPE: Received 0 bytes fromdaemon ErrorMessage Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. > Sent: Monday, December 18, 2006 3:18 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] URGENT REPOST: CHECK_NRPE: Received 0 bytes > fromdaemon ErrorMessage I don't have the answer but frequent and repeated postings generally just irritate people enough to not want to help. It's not like we could have missed it the first, second or third times today to necessitate this fourth. Your urgent problem is not our urgent problem unfortunately. You generally want to allow at least 24 hours before reposting to give everyone a chance to see it. Seems to me that a logical short term solution might be to just add 0.0.0.0 to the allowed hosts in nrpe.cfg until someone familiar with NRPE on HP-UX that might be able to help you reads your message. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 19 00:00:42 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 18 Dec 2006 15:00:42 -0800 Subject: Schedule Downtime w/o authentication requirement In-Reply-To: References: Message-ID: <20061218230042.GZ17454@pmorris.usa.hp.com> On Mon, 18 Dec 2006, Marc Powell wrote: > > > I want to configure nagios in such a way that it does not require > any > > > kind of authorization/authentication including 'guest'. How can > I > > > do > > > that? > > > > Strictly speaking, you can't. > > Sure you can. See the default_user_name and authorized_for_* variables > and descriptions in cgi.cfg. I think we were both saying the same thing, though your detail and accuracy was far better than mine. :) My point was that you need to provide a username to Nagios one way or another; it can't be eliminated entirely. It could be called "guest," or anything else, but you need a default user to keep Nagios happy. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Dec 18 17:36:15 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 18 Dec 2006 16:36:15 +0000 Subject: Return Code 127 In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679A9C@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679A9C@PHSXMB5.partners.org> Message-ID: <4586C37F.6010602@mailnetwork.co.uk> This usually means Nagios cannot execute the plugin (on the server). If it was NRPE client-side it would give a different error. You need to be able to execute your plugin as the Nagios user, so check that first and any preceding directories above where that plugin is. Andy. Kaplan, Andrew H. wrote: > > I am attempting to monitor a remote HP-UX 11.11 client but I am > confronted with the following error message: > > Return code of 127 is out of bounds ? plugin may be missing. > > The log files add the following: Make sure the plugin you?re trying to > run actually exists. > > I checked the nrpe.cfg file on the remote client, and the check > commands do have the complete path to the > > plugins. I manually ran one of the commands to confirm it could run. I > then went to the Nagios server and > > verified the check_nrpe plugin was in the same directory as the > others. I noticed that I could not start > > the nrpe daemon as root, but I was able to do so as a sudo user. > > The version of nagios I am running is version 2.6. While the nrpe > client on the remote host and the check_nrpe > > plugin on the server are 2.5.1. > > What do I need to do to correct this? Thanks. > > !DSPAM:37,4586bfce30867380719048! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,4586bfce30867380719048! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,4586bfce30867380719048! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 18 16:15:16 2006 From: marc at ena.com (Marc Powell) Date: Mon, 18 Dec 2006 09:15:16 -0600 Subject: Problems with Distributed Monitoring Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Bill Omer > Sent: Sunday, December 17, 2006 12:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with Distributed Monitoring > > I'm trying to configure a distributed monitoring setup and I am having > some problems getting results processed by the central server. I'm doing many thousands of distributed service checks but no host checks. I'll see if I can help. > I am using: > > check_external_commands=1 > > I have active checks disabled in hosts.cfg and in my host templates. > active_checks_enabled 0 > > I also have (in the same configuration files) passive_checks_enabled 1 Ok good. > On the distributed server, I'm using: > > ochp_command=submit_check_result > ocsp_command=submit_check_result > obsess_over_service=1 > obsess_over_hosts=1 > Also set log_event_handlers=1 while your troubleshooting. That'll let you know if Nagios is attempting to call your ochp/ocsp commands. > In the services templates, I'm using obsess_over_service 1 for all > services, too. > > In my commands.cfg I've added: > > define command{ > command_name submit_check_result > command_line /usr/lib/nagios/plugins/submit_check_result > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' > } > > > define command{ > command_name submit_host_result > command_line /usr/lib/nagios/plugins/submit_check_result > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' > } This needs to change to be host output information, not service output. Also, the NSCA docs indicate that for passive host checks, only the hostname, return code (determined by $HOSTSTATE$) and host output will be needed. If you're going to use the same submit script you'll need to add in some logic to determine between a host and service submission and call send_nsca appropriately. If you're using the example submit_check_result in the doccos it does not include that functionality. Your command definition will look something like -- define command{ command_name submit_host_result command_line /usr/lib/nagios/plugins/submit_check_result $HOSTNAME$ $HOSTSTATE$ '$HOSTOUTPUT$' } > Finnaly, I can run /usr/lib/nagios/plugins/submit_check_result > manually and it replies with: > 1 data packet(s) sent to host successfully. > > However I never see anything in /var/log/nagios/nagios.log, even > though I am using log_passive_checks=1 Enable debug in nsca.cfg on your master and watch /var/log/messages while you submit. Is nsca running as a deamon or in (x)inetd mode? Verify that you have the correct command_file specified in nsca.cfg and that the user that nsca is running as has permissions to write to the named pipe. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara at gmail.com Mon Dec 18 15:59:29 2006 From: bohara at gmail.com (Ben O'Hara) Date: Mon, 18 Dec 2006 14:59:29 +0000 Subject: Periodic and automated reporting In-Reply-To: <4586A629.7080706@googlemail.com> References: <20061214061826.EC89733C128@mail.t-online.hu> <4586A629.7080706@googlemail.com> Message-ID: <2b36e660612180659r24940951tcf24b8a19dbc6c4f@mail.gmail.com> On 12/18/06, Hari Sekhon wrote: > use nagios reporter from the exchange site > > http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 > Heres a copy of the original ive modified slightly to include 1) output to HTML file 2) get availaibity reports 3) set which servicegroups to include Cheers Ben #!/usr/local/bin/perl -w # # Nagios overnight/daily/weekly/monthly reporter # # Fetches Nagios report from web, processes HTML/CSS and emails to someone # Written by Rob Moss, 2005-07-26, coding at mossko.com # # Use at your own risk, knoweledge of perl required. # # Version 1.3.1 # - Overnight, Daily, Weekly, Monthly reports # use strict; use Getopt::Long; use Net::SMTP; use LWP::UserAgent; use Date::Manip; my $mailhost = 'mx.trigold.net'; # Fill these in! my $maildomain = 'trigold.net'; # Fill these in! my $mailfrom = 'nagios at trigold.co.uk'; # Fill these in! my $mailto = ""; my $timeout = 30; my $mailsubject = ''; my $mailbody = ''; my $file = ""; my $filedir = ""; my $logfile = '/apps/nagios/var/mail.log'; # Where would you like your logfile to live? my $debug = 1; #Set the debug level to 1 or higher for information my $type = ''; my $repdateprev; my $reporturl; my $availreport; my $alertreport; my $servicegroup = "all"; my $nagssbody; my $nagsssummary; my $webuser = 'nagios'; #Set this to a read-only nagios user (not nagiosadmin!) my $webpass = 'password'; #Set this to a read-only nagios user (not nagiosadmin!) my $webbase = 'http://monitor.office.trigold.net/nagios'; #Set this to the base of Nagios web page my $webcssembed = 0; GetOptions ( "debug=s" => \$debug, "help" => \&help, "type=s" => \$type, "email=s" => \$mailto, "file=s" => \$filedir, "embedcss" => \$webcssembed, "avail" => \$availreport, "alerts" => \$alertreport, "servicegroup=s" => \$servicegroup, ); if (not defined $type or $type eq "") { help(); exit; } elsif ($type eq "overnight") { if ($availreport) { report_overnight_avail(); } elsif ($alertreport) { report_overnight(); } else { die("Unknown Availability or Alerts\n"); } } elsif ($type eq "daily") { report_daily(); if ($availreport) { report_daily_avail(); } elsif ($alertreport) { report_daily(); } else { die("Unknown Availability or Alerts\n"); } } elsif ($type eq "weekly") { if ($availreport) { report_weekly_avail(); } elsif ($alertreport) { report_weekly(); } else { die("Unknown Availability or Alerts\n"); } } elsif ($type eq "monthly") { if ($availreport) { report_monthly_avail(); } elsif ($alertreport) { report_monthly(); } else { die("Unknown Availability or Alerts\n"); } } else { die("Unknown report type $type\n"); } debug(1,"reporturl: [$reporturl]"); $mailbody = http_request($reporturl); if ($webcssembed) { # Stupid hacks for dodgy notes $nagssbody = http_request("$webbase/stylesheets/summary.css"); $nagsssummary = "\n"; $nagsssummary .= "\n"; $mailbody =~ s@@@; $mailbody =~ s@@$nagsssummary@; } if ($file) { open(FILE, "> $file") or warn "can't open file /tmp/nagios-report-htmlout.html: $!\n"; print FILE $mailbody; close FILE; } elsif ($mailto) { sendmail(); } else { die("No File or Email Specified\n"); } ############################################################################### sub help { print <<_END_; Nagios web->email reporter program. $0 --help This screen --email= Send to this address instead of the default address "$mailto" --file= Directory to write Reports to in eg /usr/local/nagios/share/reports ./avail/--.html --type=overnight Overnight report, from 17h last working day to Today (9am) --type=daily Daily report, 09:00 last working day to Today (9am) --type=weekly Weekly report, 9am 7 days ago, until 9am today (run at 9am friday!) --type=monthly Monthly report, 1st of prev month at 9am to last day of month, 9am --avail Availabilty Reports --alerts Aler Reports --embedcss Downloads the CSS file and embeds it into the main HTML to enable Lotus Notes to work (yet another reason to hate Notes) _END_ exit 1; } ############################################################################### sub report_monthly { # This should be run on the 1st of every month $repdateprev = DateCalc("yesterday",1); debug(1,"repdateprev = $repdateprev"); # #2006072116:48:37 my ($repsday, $repsmonth, $repsyear, $repshour ) = 0; $repdateprev =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repsday = 01; $repsmonth = $2; $repsyear = $1; $repshour = 0; my ($repeday, $repemonth, $repeyear, $repehour ) = 0; my $repdatenow = ParseDate("today"); debug(1,"repdatenow = $repdatenow"); $repdatenow =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repeday = $3; $repemonth = $2; $repeyear = $1; $repehour = 0; $reporturl = "$webbase/cgi-bin/summary.cgi?report=1&displaytype=1&timeperiod=custom" . "&smon=$repsmonth&sday=$repsday&syear=$repsyear&shour=$repshour&smin=0&ssec=0" . "&emon=$repemonth&eday=$repeday&eyear=$repeyear&ehour=$repehour&emin=0&esec=0" . "&hostgroup=all&servicegroup=$servicegroup&host=all&alerttypes=3&statetypes=2&hoststates=3" . "&servicestates=56&limit=500"; $file = "$filedir/alerts/$type-$repeyear-$repemonth-$repeday.html"; $mailsubject = "Nagios alerts for month $repsmonth/$repsyear"; } sub report_monthly_avail { # This should be run on the 1st of every month $repdateprev = DateCalc("yesterday",1); debug(1,"repdateprev = $repdateprev"); # #2006072116:48:37 my ($repsday, $repsmonth, $repsyear, $repshour ) = 0; $repdateprev =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repsday = 01; $repsmonth = $2; $repsyear = $1; $repshour = 0; my ($repeday, $repemonth, $repeyear, $repehour ) = 0; my $repdatenow = ParseDate("today"); debug(1,"repdatenow = $repdatenow"); $repdatenow =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repeday = $3; $repemonth = $2; $repeyear = $1; $repehour = 0; $reporturl = "$webbase/cgi-bin/avail.cgi?show_log_entries=&servicegroup=$servicegroup&timeperiod=custom" . "&smon=$repsmonth&sday=$repsday&syear=$repsyear&shour=$repshour&smin=0&ssec=0" . "&emon=$repemonth&eday=$repeday&eyear=$repeyear&ehour=$repehour&emin=0&esec=0" . "&rpttimeperiod=24x7&assumeinitialstates=yes&assumestateretention=yes" . "&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=0" . "&initialassumedservicestate=0&backtrack=4"; $file = "$filedir/availability/$type-$repeyear-$repemonth-$repeday.html"; $mailsubject = "Nagios alerts for month $repsmonth/$repsyear"; } ############################################################################### sub report_weekly { # This should be run on Monday, 9am $repdateprev = Date_PrevWorkDay("today",5); debug(1,"repdateprev = $repdateprev"); #2006072116:48:37 my ($repsday, $repsmonth, $repsyear, $repshour ) = 0; $repdateprev =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repsday = $3; $repsmonth = $2; $repsyear = $1; $repshour = 9; my ($repeday, $repemonth, $repeyear, $repehour ) = 0; my $repdatenow = ParseDate("today"); debug(1,"repdatenow = $repdatenow"); $repdatenow =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repeday = $3; $repemonth = $2; $repeyear = $1; $repehour = 9; $reporturl = "$webbase/cgi-bin/summary.cgi?report=1&displaytype=1&timeperiod=custom" . "&smon=$repsmonth&sday=$repsday&syear=$repsyear&shour=$repshour&smin=0&ssec=0" . "&emon=$repemonth&eday=$repeday&eyear=$repeyear&ehour=$repehour&emin=0&esec=0" . "&hostgroup=all&servicegroup=$servicegroup&host=all&alerttypes=3&statetypes=2&hoststates=3" . "&servicestates=56&limit=500"; $file = "$filedir/alerts/$type-$repeyear-$repemonth-$repeday.html"; $mailsubject = "Nagios alerts for week ending $repsday/$repsmonth/$repsyear"; } sub report_weekly_avail { # This should be run on Monday, 9am $repdateprev = Date_PrevWorkDay("today",5); debug(1,"repdateprev = $repdateprev"); #2006072116:48:37 my ($repsday, $repsmonth, $repsyear, $repshour ) = 0; $repdateprev =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repsday = $3; $repsmonth = $2; $repsyear = $1; $repshour = 9; my ($repeday, $repemonth, $repeyear, $repehour ) = 0; my $repdatenow = ParseDate("today"); debug(1,"repdatenow = $repdatenow"); $repdatenow =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repeday = $3; $repemonth = $2; $repeyear = $1; $repehour = 9; $reporturl = "$webbase/cgi-bin/avail.cgi?show_log_entries=&servicegroup=$servicegroup&timeperiod=custom" . "&smon=$repsmonth&sday=$repsday&syear=$repsyear&shour=$repshour&smin=0&ssec=0" . "&emon=$repemonth&eday=$repeday&eyear=$repeyear&ehour=$repehour&emin=0&esec=0" . "&rpttimeperiod=24x7&assumeinitialstates=yes&assumestateretention=yes" . "&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=0" . "&initialassumedservicestate=0&backtrack=4"; $file = "$filedir/availability/$type-$repeyear-$repemonth-$repeday.html"; $mailsubject = "Nagios alerts for week ending $repsday/$repsmonth/$repsyear"; } ############################################################################### sub report_daily { # This should be run on Daily, 7am $repdateprev = Date_PrevWorkDay("today",1); debug(1,"repdateprev = $repdateprev"); #2006072116:48:37 my ($repsday, $repsmonth, $repsyear, $repshour ) = 0; $repdateprev =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repsday = $3; $repsmonth = $2; $repsyear = $1; $repshour = 7; my ($repeday, $repemonth, $repeyear, $repehour ) = 0; my $repdatenow = ParseDate("today"); debug(1,"repdatenow = $repdatenow"); $repdatenow =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repeday = $3; $repemonth = $2; $repeyear = $1; $repehour = 7; $reporturl = "$webbase/cgi-bin/summary.cgi?report=1&displaytype=1&timeperiod=custom" . "&smon=$repsmonth&sday=$repsday&syear=$repsyear&shour=$repshour&smin=0&ssec=0" . "&emon=$repemonth&eday=$repeday&eyear=$repeyear&ehour=$repehour&emin=0&esec=0" . "&hostgroup=all&servicegroup=$servicegroup&host=all&alerttypes=3&statetypes=2&hoststates=3" . "&servicestates=56&limit=500"; $file = "$filedir/alerts/$type-$repeyear-$repemonth-$repeday.html"; $mailsubject = "Nagios alerts for 24 hours $repsday/$repsmonth/$repsyear ${repshour}h to present"; } sub report_daily_avail { # This should be run on Daily, 7am $repdateprev = Date_PrevWorkDay("today",1); debug(1,"repdateprev = $repdateprev"); #2006072116:48:37 my ($repsday, $repsmonth, $repsyear, $repshour ) = 0; $repdateprev =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repsday = $3; $repsmonth = $2; $repsyear = $1; $repshour = 7; my ($repeday, $repemonth, $repeyear, $repehour ) = 0; my $repdatenow = ParseDate("today"); debug(1,"repdatenow = $repdatenow"); $repdatenow =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repeday = $3; $repemonth = $2; $repeyear = $1; $repehour = 7; $reporturl = "$webbase/cgi-bin/avail.cgi?show_log_entries=&servicegroup=$servicegroup&timeperiod=custom" . "&smon=$repsmonth&sday=$repsday&syear=$repsyear&shour=$repshour&smin=0&ssec=0" . "&emon=$repemonth&eday=$repeday&eyear=$repeyear&ehour=$repehour&emin=0&esec=0" . "&rpttimeperiod=24x7&assumeinitialstates=yes&assumestateretention=yes" . "&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=0" . "&initialassumedservicestate=0&backtrack=4"; $file = "$filedir/availability/$type-$repeyear-$repemonth-$repeday.html"; $mailsubject = "Nagios alerts for 24 hours $repsday/$repsmonth/$repsyear ${repshour}h to present"; } ############################################################################### sub report_overnight { $repdateprev = Date_PrevWorkDay("today",1); debug(1,"repdateprev = $repdateprev"); #2006072116:48:37 my ($repsday, $repsmonth, $repsyear, $repshour ) = 0; $repdateprev =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repsday = $3; $repsmonth = $2; $repsyear = $1; $repshour = 17; my ($repeday, $repemonth, $repeyear, $repehour ) = 0; my $repdatenow = ParseDate("today"); debug(1,"repdatenow = $repdatenow"); $repdatenow =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repeday = $3; $repemonth = $2; $repeyear = $1; $repehour = 9; $reporturl = "$webbase/cgi-bin/summary.cgi?report=1&displaytype=1&timeperiod=custom" . "&smon=$repsmonth&sday=$repsday&syear=$repsyear&shour=$repshour&smin=0&ssec=0" . "&emon=$repemonth&eday=$repeday&eyear=$repeyear&ehour=$repehour&emin=0&esec=0" . "&hostgroup=all&servicegroup=$servicegroup&host=all&alerttypes=3&statetypes=2&hoststates=3" . "&servicestates=56&limit=500"; $file = "$filedir/$repdatenow-$type-alert.html"; $mailsubject = "Nagios overnight alerts from $repsday/$repsmonth/$repsyear ${repshour}h to present"; } sub report_overnight_avail { $repdateprev = Date_PrevWorkDay("today",1); debug(1,"repdateprev = $repdateprev"); #2006072116:48:37 my ($repsday, $repsmonth, $repsyear, $repshour ) = 0; $repdateprev =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repsday = $3; $repsmonth = $2; $repsyear = $1; $repshour = 17; my ($repeday, $repemonth, $repeyear, $repehour ) = 0; my $repdatenow = ParseDate("today"); debug(1,"repdatenow = $repdatenow"); $repdatenow =~ /(\d\d\d\d)(\d\d)(\d\d)(.*)/; $repeday = $3; $repemonth = $2; $repeyear = $1; $repehour = 9; $reporturl = "$webbase/cgi-bin/avail.cgi?show_log_entries=&servicegroup=$servicegroup&timeperiod=custom" . "&smon=$repsmonth&sday=$repsday&syear=$repsyear&shour=$repshour&smin=0&ssec=0" . "&emon=$repemonth&eday=$repeday&eyear=$repeyear&ehour=$repehour&emin=0&esec=0" . "&rpttimeperiod=24x7&assumeinitialstates=yes&assumestateretention=yes" . "&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=0" . "&initialassumedservicestate=0&backtrack=4"; $file = "$filedir/$repdatenow-$type-avail.html"; $mailsubject = "Nagios overnight alerts from $repsday/$repsmonth/$repsyear ${repshour}h to present"; } ############################################################################### sub http_request { my $ua; my $req; my $res; my $geturl = shift; if (not defined $geturl or $geturl eq "") { warn "No URL defined for http_request\n"; return 0; } $ua = LWP::UserAgent->new; $ua->agent("Nagios Report Generator " . $ua->agent); $req = HTTP::Request->new(GET => $geturl); $req->authorization_basic($webuser, $webpass); $req->header( 'Accept' => 'text/html', 'Content_Base' => $webbase, ); # send request $res = $ua->request($req); # check the outcome if ($res->is_success) { debug(1,"Retreived URL successfully"); return $res->decoded_content; } else { print "Error: " . $res->status_line . "\n"; return 0; } } ############################################################################### sub debug { my ($lvl,$msg) = @_; if ( defined $debug and $lvl <= $debug ) { chomp($msg); print localtime(time) .": $msg\n"; } return 1; } ######################################################### sub sendmail { my $smtp = Net::SMTP->new( $mailhost, Hello => $maildomain, Timeout => $timeout, Debug => $debug, ); $smtp->mail($mailfrom); $smtp->to($mailto); $smtp->data(); $smtp->datasend("To: $mailto\n"); $smtp->datasend("From: $mailfrom\n"); $smtp->datasend("Subject: $mailsubject\n"); $smtp->datasend("MIME-Version: 1.0\n"); $smtp->datasend("Content-type: multipart/mixed; boundary=\"boundary\"\n"); $smtp->datasend("\n"); $smtp->datasend("This is a multi-part message in MIME format.\n"); $smtp->datasend("--boundary\n"); $smtp->datasend("Content-type: text/html\n"); $smtp->datasend("Content-Disposition: inline\n"); $smtp->datasend("Content-Description: Nagios report\n"); $smtp->datasend("$mailbody\n"); $smtp->datasend("--boundary\n"); $smtp->datasend("Content-type: text/plain\n"); $smtp->datasend("Please read the attatchment\n"); $smtp->datasend("--boundary--\n"); $smtp->dataend(); $smtp->quit; } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 19 00:42:45 2006 From: marc at ena.com (Marc Powell) Date: Mon, 18 Dec 2006 17:42:45 -0600 Subject: Schedule Downtime w/o authentication requirement Message-ID: > -----Original Message----- > From: Subin Shakya [mailto:subin at symyx.com] > Sent: Monday, December 18, 2006 5:08 PM > To: Marc Powell; patrick.morris at hp.com > Subject: RE: [Nagios-users] Schedule Downtime w/o authentication > requirement > > > Patrick and Mark, > > I added "guest" to all the authorized_for_* lines and the > default_user_name is guest. But I got the same results. Do I need to > do anything else like restarting apache, etc? Please always respond on list so that others may benefit from your experience in the future. No, you don't need to restart apache. Make sure you have use_authentication=1 in cgi.cfg. Do not create a .htaccess file or enable htaccess in httpd.conf for the Nagios directories. Nagios will not be able to determine the REMOTE_USER environment variable and will instead use the default_user_name. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 19 01:12:57 2006 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Mon, 18 Dec 2006 19:12:57 -0500 Subject: Joseph Petrucci is out of the office. Message-ID: I will be out of the office starting 12/18/2006 and will not return until 12/19/2006. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 19 01:11:18 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 19 Dec 2006 01:11:18 +0100 (CET) Subject: URGENT REPOST: CHECK_NRPE: Received 0 bytes fromdaemon ErrorMessage In-Reply-To: References: Message-ID: On Mon, 18 Dec 2006, Marc Powell wrote: >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. >> Sent: Monday, December 18, 2006 3:18 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] URGENT REPOST: CHECK_NRPE: Received 0 bytes >> fromdaemon ErrorMessage > > I don't have the answer but frequent and repeated postings generally > just irritate people enough to not want to help. It's not like we could > have missed it the first, second or third times today to necessitate > this fourth. Your urgent problem is not our urgent problem > unfortunately. You generally want to allow at least 24 hours before > reposting to give everyone a chance to see it. I would suggest more like 72 hours at least. And even then I think one should question if a verbatim repost is usefull. If no one reacted the first time it well be because a posting was unclear in it's intend. If one is in dire need one needs to pick up the tab and hire some nagios consultant. Open Source by no means you get days of support for free. Most of the people around here have mortgages or rent to pay and propably the need for groceries and so on. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Dec 18 15:31:05 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 18 Dec 2006 14:31:05 +0000 Subject: Periodic and automated reporting In-Reply-To: <20061214061826.EC89733C128@mail.t-online.hu> References: <20061214061826.EC89733C128@mail.t-online.hu> Message-ID: <4586A629.7080706@googlemail.com> use nagios reporter from the exchange site http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 -h Hari Sekhon Horvath Tamas wrote: > Hi listmembers! > > Our customer would like an automatic reporting mechanism with Nagios (for > example it could run first days of every month for the last month). > > I can see how can I invoke for example the Availability Reporting CGI, but I > think I can invoke it only from a browser. So I can't automatize it. > > Does anybody have such an experience, or some idea how can I do this? > > Thanks in advance, Tamas > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Mon Dec 18 14:33:07 2006 From: btmanmeh at verizon.net (Max H.) Date: Mon, 18 Dec 2006 08:33:07 -0500 Subject: Nagios upgrade to 2.6 bumps using RPMs In-Reply-To: References: Message-ID: <45869893.40601@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hugo van der Kooij wrote: > Hi, > > Just some notes before anyones picks up the nagios 2.6 RPM from DAG. Make > sure to backup the config directory (as always). > > > Just got the upgrade. But I lost some files in the upgrade and had to > restore them from backup. > > In /etc/nagios the files checkcommands.cfg and misccommands.cfg are > deleted and replaced by an incompatible file called command-plugins.cfg > which is not even in the proper format for Nagios: > > #Note: Use the convertcfg program in the contrib directory of the Nagios > # distribution to convert this file into a object file format. > > for misccommands.cfg there also was a *.rpmsave version but the other one > was just gone. > > > There is also a bug in 1 of the nagios-plugins for which the following > tiny diff file is the answer: > > --- check_linux_raid.pl.SHIPPED 2006-12-13 07:47:01.000000000 +0100 > +++ check_linux_raid.pl 2006-12-13 07:47:40.000000000 +0100 > @@ -23,7 +23,7 @@ > # WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min > > use strict; > -use lib utils.pm; > +#use lib utils.pm; > use utils qw(%ERRORS); > > # die with an error if we're not on Linux > > > This is also reported to the packager. > Thanks for posting this Hugo. Has Dag fixed this yet? I was about to update some documentation I have hosted on the CentOS and Nagios sites, but wanted to confirm this problem still exists before I proceed with mentioning these issues. I looked on Dag's site and the release is still from December 12th, so I'm assuming not. Thanks, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFhpiSHoeeepPau2ERAhUxAKDSkwVYzc9532YiU055k/5ws+fSEQCgs20w jMfdld4fxKWyCCAH0rAvyAM= =P6YG -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill.omer at gmail.com Mon Dec 18 17:05:09 2006 From: bill.omer at gmail.com (Bill Omer) Date: Mon, 18 Dec 2006 11:05:09 -0500 Subject: Problems with Distributed Monitoring In-Reply-To: References: Message-ID: <3ec83c030612180805x6ea6a68cv7c8a3f6e9e646174@mail.gmail.com> > I'm doing many thousands of distributed service checks but no host > checks. I'll see if I can help. Hey Marc, thanks for the help! > > On the distributed server, I'm using: > > > > ochp_command=submit_check_result > > ocsp_command=submit_check_result > > obsess_over_service=1 > > obsess_over_hosts=1 > > > > Also set log_event_handlers=1 while your troubleshooting. That'll let > you know if Nagios is attempting to call your ochp/ocsp commands. That was already enabled. I've created two scripts, one called submit_service_check and submit_host_check. Here are the two sections for these scripts: define command{ command_name submit_service_check command_line /usr/lib/nagios/plugins/submit_service_check $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$' } define command{ command_name submit_host_check command_line /usr/lib/nagios/plugins/submit_host_check $HOSTNAME$ '$HOSTSTATE$' '$HOSTOUTPUT$' } In my nagios.cfg, I have: ochp_command=submit_host_check ocsp_command=submit_service_check The good bits of my submit_host/service scripts are: /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/lib/nagios/plugins/send_nsca -H -c /usr/lib/nagios/send_nsca.cfg The $4 shouldn't matter when a host result is sent, it should just be ignored. > > Finnaly, I can run /usr/lib/nagios/plugins/submit_check_result > > manually and it replies with: > > 1 data packet(s) sent to host successfully. > > > > However I never see anything in /var/log/nagios/nagios.log, even > > though I am using log_passive_checks=1 > > Enable debug in nsca.cfg on your master and watch /var/log/messages > while you submit. Is nsca running as a deamon or in (x)inetd mode? > Verify that you have the correct command_file specified in nsca.cfg and > that the user that nsca is running as has permissions to write to the > named pipe. > I'm running nsca as a daemon. I've enabled debugg and I've also added a logger command to my two scripts, so I can see when it's being ran in /var/log/messages. I can run this manually and it actually works! /usr/lib/nagios/plugins/submit_service_check AnnapolisFW UP PING "OK - Packet loss = 0%, RTA = 79.41 ms" On the centeral server, I see the following in /var/log/messages: Dec 18 16:03:45 ip-208-109-28-219 nsca[10438]: SERVICE CHECK -> Host Name: 'AnnapolisFW', Service Description: 'UP', Return Code: '2', Output: 'OK - Packet loss = 0%, RTA = 79.41 ms' Dec 18 16:03:45 ip-208-109-28-219 nsca[10438]: End of connection... Dec 18 09:03:46 ip-208-109-28-219 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;AnnapolisFW;UP;2;OK - Packet loss = 0%, RTA = 79.41 ms When I put nsca in to debug mode, I found a typeo in the passwords I picked. So now I can submit results and they work just fine. However, when these scripts are being ran via nagios, for some reason I'm not seeing anything show up in my /var/log/messages on the central server. On the distributed monitoring server, I see in /var/log/messages the logger messages from where nagios is actually executing the script, but I just dont see anything else. I did however solve my own problem. I wrapped the submit_service_check script with logger and it logged the output from send_nsca, which just so happened to have the key problem in it. Apparently the nsca config file I was using only had read permissions for root. A quick chmod a+r send_nsca.cfg and now, all is good. Thanks for the help Marc. You troubleshooting assistances was exactly what I needed to get this knocked out. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Dec 18 17:18:42 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 18 Dec 2006 11:18:42 -0500 Subject: Return Code 127 Message-ID: <9C63A4713C4E3342B90428CE44806A7302679A9C@PHSXMB5.partners.org> I am attempting to monitor a remote HP-UX 11.11 client but I am confronted with the following error message: Return code of 127 is out of bounds - plugin may be missing. The log files add the following: Make sure the plugin you're trying to run actually exists. I checked the nrpe.cfg file on the remote client, and the check commands do have the complete path to the plugins. I manually ran one of the commands to confirm it could run. I then went to the Nagios server and verified the check_nrpe plugin was in the same directory as the others. I noticed that I could not start the nrpe daemon as root, but I was able to do so as a sudo user. The version of nagios I am running is version 2.6. While the nrpe client on the remote host and the check_nrpe plugin on the server are 2.5.1. What do I need to do to correct this? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Dec 19 02:24:07 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 19 Dec 2006 14:24:07 +1300 Subject: URGENT REPOST: CHECK_NRPE: Received 0 bytes fromdaemon ErrorMessage In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679AA4@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679AA4@PHSXMB5.partners.org> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2689BE7@UXCHANGE3.UoA.auckland.ac.nz> Sounds like the daemon is comparing the client's IP against the list of permitted connections, and not getting a match. For some reason the query of the source IP on the connection is returning 0.0.0.0 instead of the source IP - maybe you have some special wrapper or intervening agent. I'd suggest running under xinetd or something similar which can do the filtering instead. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkunjal at gmail.com Tue Dec 19 03:46:30 2006 From: mkunjal at gmail.com (Mahesh Kunjal) Date: Mon, 18 Dec 2006 18:46:30 -0800 Subject: Child Process Spawning Message-ID: Andrew, We had similar issue. We have a distributed environment with one master and 4 slaves. Total number of hosts monitored are 1900+ and 20000+ services spread across 4 slaves. At times we saw 14K or more results being sent in a second from slaves. This resulted in 100+ nagios processes being created. Changed reaper frequency to 2 seconds and played with all tunables. Nothing seemed to help. Looking at the nagios source, This is what I found out was happening... Nagios has a commands file worker thread and when it gets woken up, looks if there is data in pipe(nagios.cmd), if exists, forks a child process. This will be in a loop and checks the pipe for data. Now what does the forked nagios child process do? It reads all the data from the pipe one message a time and puts it in commands buffer. If if is able to write to buffer, just exits. The problem here was command buffer had a limited size of 1024. This is the default setting in include/nagios.h.in and is in the line #define COMMAND_BUFFER_SLOTS 1024. This was not enough and the child process started to wait for memory to be freed so that the pipe data retrieved can be put in buffer. While this child process waited for memory to be freed, the command worker thread got woken up and realized that there is data in pipe and forked another child. This got repeated and eventually server went out of memory. Here is what we did to resolve. 1. Edit the include/nagios.h.in change #define COMMAND_BUFFER_SLOTS 1024 to #define COMMAND_BUFFER_SLOTS 60000 And change #define SERVICE_BUFFER_SLOTS 1024 to #define SERVICE_BUFFER_SLOTS 60000 2. Run ./configure (make sure you don't have nano second sleep enabled. Also disable perl interpreter) 3. make all;make install - Mahesh Kunjal ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist.nagios at inlan.inmics.fi Tue Dec 19 07:43:56 2006 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Tue, 19 Dec 2006 08:43:56 +0200 Subject: Service depedency problem In-Reply-To: <45811671.8000506@op5.se> References: <1166036312.45804d58a0199@imp.inmics.fi> <20061214002935.GX17454@pmorris.usa.hp.com> <1166081223.4580fcc742bf2@imp.inmics.fi> <45811671.8000506@op5.se> Message-ID: <1166510636.45878a2cb4d63@imp.inmics.fi> Quoting Andreas Ericsson : > If you have "u" in your host_notification_options it will tell you when > hosts are UNREACHABLE (as in, the parent host is down as well as the > host in question). Using dependencies for this sort of thing is just > wrong. Make your parent setup work instead. In hosts setup for notification_options I use d,u,r, and as I said the if hosts are down, the setup is fine. But if let's say ping reaches critical, I will get alert for all devices behind the parent. Do you suggest not using dependencies.cfg at all, and should services not get alerted, if upper level/parent host service is is critical? > Incidentally, what version of Nagios are you running? Nagios version is 1.3. -Miika ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 19 10:13:04 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Dec 2006 10:13:04 +0100 Subject: Service depedency problem In-Reply-To: <1166510636.45878a2cb4d63@imp.inmics.fi> References: <1166036312.45804d58a0199@imp.inmics.fi> <20061214002935.GX17454@pmorris.usa.hp.com> <1166081223.4580fcc742bf2@imp.inmics.fi> <45811671.8000506@op5.se> <1166510636.45878a2cb4d63@imp.inmics.fi> Message-ID: <4587AD20.6030604@op5.se> MiikaT wrote: > Quoting Andreas Ericsson : > >> If you have "u" in your host_notification_options it will tell you when >> hosts are UNREACHABLE (as in, the parent host is down as well as the >> host in question). Using dependencies for this sort of thing is just >> wrong. Make your parent setup work instead. > > In hosts setup for notification_options I use d,u,r, and as I said the > if hosts are down, the setup is fine. But if let's say ping reaches critical, > I will get alert for all devices behind the parent. Because you have 'u' (notify when unreachable) in your host_notification_options. > Do you suggest not using > dependencies.cfg at all, and should services not get alerted, if upper > level/parent host service is is critical? > I suggest not using dependencies at all, but instead using the "parents" directive and removing 'u' from your host_notification_options. I also suggest reading the documentation regarding parents, host_notification_options and notification logic. Dependencies can be a fine thing for services. It's almost always the wrong thing to use for hosts. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 19 10:16:41 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Dec 2006 10:16:41 +0100 Subject: Return Code 127 In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679A9F@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679A9F@PHSXMB5.partners.org> Message-ID: <4587ADF9.9010402@op5.se> Kaplan, Andrew H. wrote: > I checked the commands.cfg file and modified the command syntax of check_nrpe > from /usr/lib/nagios/plugins/check_nrpe to $USER1$/check_nrpe. > > The result was I am no longer getting the 127 error, but I am now faced > with another issue. > > The new error that I am seeing is: > > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for > error messages. > > I checked the HP-UX 11.11 box and the syslog.log file had the following > entry: > > Host 0.0.0.0 is not allowed to talk to us! > It seems there's a bug in HP-UX or you have some extremely odd firewall installed. This is supposed to print the ip-address of the connecting host. > I checked the nrpe.cfg file and under SERVER ADDRESS, I have nrpe bound to > client's ip address, and under ALLOWED HOSTS, I have several addresses, > including the Nagios 2.6 server, that are permitted to talk to NRPE on the > client. > Quick and dirty hack: Add "0.0.0.0" to the list of allowed_hosts. This will make it work but will most likely also make it possible to query the host from any other server on the network. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 19 10:26:46 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Dec 2006 10:26:46 +0100 Subject: Schedule Downtime w/o authentication requirement In-Reply-To: <8C12A2BD8CFE894C891514267B55A2B5025E9A56@srv-sc-mail.symyx.com> References: <8C12A2BD8CFE894C891514267B55A2B5025E9A56@srv-sc-mail.symyx.com> Message-ID: <4587B056.6050703@op5.se> Subin Shakya wrote: > I want to configure nagios in such a way that it does not require any > kind of authorization/authentication including 'guest'. How can I > do > that? > I do not know where to go in Nagios config to make this happen. > TIA, Symuser > =0D > Right now when I select a Host to schedule a downtime I get: > =0D > Sorry Dave, I can't let you do that... > It seems that you have chosen to not use the authentication > functionality of the CGIs. > I don't want to be personally responsible for what may happen as a > result of allowing unauthorized users to issue commands to Nagios,so > you'll have to disable this safeguard if you are really stubborn and > want to invite trouble. > Read the section on CGI authentication in the HTML documentation to > learn how you can enable authentication and why you should want to. > Nagios is more polite than I am. RTFM and do some thinking and you'll find the answer. On a sidenote; I know the answer but I'm not interested in giving it to you when you haven't even bothered trying to find it for yourself. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jczucco at ucs.br Tue Dec 19 11:21:42 2006 From: jczucco at ucs.br (Jeronimo Zucco) Date: Tue, 19 Dec 2006 08:21:42 -0200 Subject: Nagios monitoring bacula - service dependencies In-Reply-To: <458675B8.6070104@ucs.br> References: <458675B8.6070104@ucs.br> Message-ID: <4587BD36.2000906@ucs.br> NOBODY KNOWS ??? Jeronimo Zucco escreveu: > Hi, all. > > I have problem using service dependencies. I have a backup server > (bacula), and I check status of backup through a mysql query ( > http://darcs.complete.org/debian/bacula.upstream/examples/nagios.txt ) > on server bacula using nrpe in server bacula. > > I have many others servers with I do backups in bacula (like server1 > below), then I check status of backup of this server, with this definition: > > define service{ > use generic-service ; Name > of service template to use > name TEMPLATE-REMOTE-BACULA-BACKUP > service_description Backup > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > notification_options w,u,c,r > notification_interval 0 > notification_period 24x7 > register 0 > } > > define service{ > use TEMPLATE-REMOTE-BACULA-BACKUP > host_name server1 > contact_groups admins > register 1 > check_command check_remote_bacula_server1Job > } > > define servicedependency{ > host_name server1 > service_description Backup > dependent_host_name bacula > dependent_service_description PING > execution_failure_criteria u,c > notification_failure_criteria w,u,c > } > > I configure service dependency because when I shutdown bacula/mysql > server, I got many notifications about backups. What is wrong in my > definition of service dependency ? I want no notifications when bacula > server is down. > > Thank you. > > -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified N?cleo de Processamento de Dados Universidade de Caxias do Sul http://jczucco.blogspot.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Tue Dec 19 11:40:10 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Tue, 19 Dec 2006 11:40:10 +0100 Subject: Performance issues, too Message-ID: <20061219104010.GA20712@eric.schwarzvogel.de> Hi! Recently I have run into the very same performance issues as Daniel Meyer (or so it seems). However, I'm not quite sure about it. Here's the gist of it. Currently, service check latency slowly creeps up. As it is now, it starts out at a little over 1s and after about 12 hours it's in the area of about 90s. It keeps climbing after that. Here's the output of nagios -s: Nagios 2.6 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 11-27-2006 License: GPL Warning: Contact group 'Singles-Truppe' is not used in any host/service definitions or host/service escalations! Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 330 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 10 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2836 Total scheduled services: 2836 Service inter-check delay method: SMART Average service check interval: 2225.56 sec Inter-check delay: 0.21 sec Interleave factor method: SMART Average services per host: 8.59 Service interleave factor: 9 Max service check spread: 10 min First scheduled check: Tue Dec 19 11:21:45 2006 Last scheduled check: Tue Dec 19 11:31:47 2006 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 5 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. This all looks peachy - I think. What I don't get is this line: Average service check interval: 2225.56 sec It seems to me that this is either a skewed value, stemming from my history of looong latencies (at one point we were beyonf 9000 seconds). *Or* it is indicative of a misconfiguration on my part. If the latter is the case, I'd be eager, nay ecstatic to hear what I did wrong. Here are a few of the config vars that might influence this: sleep_time=0.25 service_reaper_frequency=5 max_concurrent_checks=0 max_host_check_spread=10 host_inter_check_delay_method=s service_interleave_factor=s command_check_interval=1 obsess_over_services=0 aggregate_status_updates=1 status_update_interval=20 Also, here's the output from nagiostats: Nagios Stats 2.6 Copyright (c) 2003-2005 Ethan Galstad (www.nagios.org) Last Modified: 11-27-2006 License: GPL CURRENT STATUS DATA ---------------------------------------------------- Status File: /var/nagios/status.dat Status File Age: 0d 0h 0m 3s Status File Version: 2.6 Program Running Time: 0d 1h 59m 5s Total Services: 2836 Services Checked: 2836 Services Scheduled: 2758 Active Service Checks: 2836 Passive Service Checks: 0 Total Service State Change: 0.000 / 12.370 / 0.007 % Active Service Latency: 0.006 / 10.237 / 0.906 sec Active Service Execution Time: 0.047 / 10.159 / 0.180 sec Active Service State Change: 0.000 / 12.370 / 0.007 % Active Services Last 1/5/15/60 min: 477 / 2678 / 2745 / 2754 Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2814 / 6 / 0 / 16 Services Flapping: 0 Services In Downtime: 0 Total Hosts: 330 Hosts Checked: 330 Hosts Scheduled: 0 Active Host Checks: 330 Passive Host Checks: 0 Total Host State Change: 0.000 / 0.000 / 0.000 % Active Host Latency: 0.000 / 1.000 / 0.888 sec Active Host Execution Time: 0.030 / 4.059 / 0.112 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min: 0 / 12 / 12 / 12 Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 329 / 1 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Hardware is a dual-2.8GHz Xeon, 2G RAM and a 100 FDX interface. LoadAvg is around 1.6, sometimes gets to 1.9. CPUs are both around 40% idle most of the time. I see about 300 context switches and 500 interrupts per second. The network load is neglible, ditto the packet rate. The way these figures look I don't see a performance problem per se, but maybe I have overlooked a metric that descirbes the "usual" bottleneck of installations. Any help is appreciated. Regards, Tobias PS: I'll send another mail with my questions regarding scheduling as they're more general in nature. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Tue Dec 19 11:46:46 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Tue, 19 Dec 2006 11:46:46 +0100 Subject: Questions about scheduling In-Reply-To: <456D7CD6.1050608@neuwald.biz> References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> <456D782B.8010008@neuwald.biz> <456D79A0.20905@googlemail.com> <456D7CD6.1050608@neuwald.biz> Message-ID: <20061219104646.GB20712@eric.schwarzvogel.de> Hi! I have a few questions about scheduling in Nagios. - How does the scheduling queue work? From the docs it seems the whole queue is held up as soon as a host check is necessary. As far as I know, Nagios parallelizes checks, so my question is if the current checking thread is held up only or if all of the checks are stopped immediately? - If the whole set of workers is stopped, this would mean that a failing check would result in an immeidate host check which in turn holds up all the queues until it is complete. Does it really work this way? - How much performance overhead do service dependencies generate? I have quite a few NRPE checks and all of them depend on the NRPE dummy check I always define. Does this stall checking by any considerable amount? Thansk for any help, Tobias ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 19 11:53:08 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Dec 2006 11:53:08 +0100 Subject: Nagios monitoring bacula - service dependencies In-Reply-To: <4587BD36.2000906@ucs.br> References: <458675B8.6070104@ucs.br> <4587BD36.2000906@ucs.br> Message-ID: <4587C494.5060509@op5.se> Jeronimo Zucco wrote: > NOBODY KNOWS ??? > Lots of people know. The answer is ofcourse that you should read and understand the manual before asking questions here. The Nagios config documentation really is quite extensive. Perhaps you missed this particular snippet when configuring? ---%<---%<---%<--- One important thing to note is that by default, Nagios will use the most current hard state of the service(s) that is/are being depended upon when it does the dependeny checks. If you want Nagios to use the most current state of the services (regardless of whether its a soft or hard state), enable the soft_service_dependencies option. ---%<---%<---%<--- There are lots of other goodies in the docs. > Jeronimo Zucco escreveu: >> Hi, all. >> >> I have problem using service dependencies. I have a backup server >> (bacula), and I check status of backup through a mysql query ( >> http://darcs.complete.org/debian/bacula.upstream/examples/nagios.txt ) >> on server bacula using nrpe in server bacula. >> >> I have many others servers with I do backups in bacula (like server1 >> below), then I check status of backup of this server, with this definition: >> >> define service{ >> use generic-service ; Name >> of service template to use >> name TEMPLATE-REMOTE-BACULA-BACKUP >> service_description Backup >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 4 >> normal_check_interval 5 >> retry_check_interval 1 >> notification_options w,u,c,r >> notification_interval 0 >> notification_period 24x7 >> register 0 >> } >> >> define service{ >> use TEMPLATE-REMOTE-BACULA-BACKUP >> host_name server1 >> contact_groups admins >> register 1 >> check_command check_remote_bacula_server1Job >> } >> >> define servicedependency{ >> host_name server1 >> service_description Backup >> dependent_host_name bacula >> dependent_service_description PING >> execution_failure_criteria u,c >> notification_failure_criteria w,u,c >> } >> >> I configure service dependency because when I shutdown bacula/mysql >> server, I got many notifications about backups. What is wrong in my >> definition of service dependency ? I want no notifications when bacula >> server is down. >> >> Thank you. >> >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 19 11:59:12 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 19 Dec 2006 11:59:12 +0100 (CET) Subject: Questions about scheduling In-Reply-To: <20061219104646.GB20712@eric.schwarzvogel.de> References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> <456D782B.8010008@neuwald.biz> <456D79A0.20905@googlemail.com> <456D7CD6.1050608@neuwald.biz> <20061219104646.GB20712@eric.schwarzvogel.de> Message-ID: On Tue, 19 Dec 2006, Tobias Klausmann wrote: > - How does the scheduling queue work? From the docs it seems the > whole queue is held up as soon as a host check is necessary. > As far as I know, Nagios parallelizes checks, so my question > is if the current checking thread is held up only or if all of > the checks are stopped immediately? > > - If the whole set of workers is stopped, this would mean that a > failing check would result in an immeidate host check which in > turn holds up all the queues until it is complete. Does it > really work this way? Judging from the past months traffic on this mailinglist I am inclined to say: yes. I think you will find it interresting to delve a bit into the archives of this mailinglist. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 19 12:15:03 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Dec 2006 12:15:03 +0100 Subject: Performance issues, too In-Reply-To: <20061219104010.GA20712@eric.schwarzvogel.de> References: <20061219104010.GA20712@eric.schwarzvogel.de> Message-ID: <4587C9B7.4040605@op5.se> Thanks for an excellently detailed problem report, missing only the Nagios version and system type/version info. I've got some comments and followup questions. See below. Tobias Klausmann wrote: > Hi! > > Recently I have run into the very same performance issues > as Daniel Meyer (or so it seems). However, I'm not quite sure > about it. Here's the gist of it. > > Currently, service check latency slowly creeps up. As it is now, > it starts out at a little over 1s and after about 12 hours it's > in the area of about 90s. It keeps climbing after that. > > Here's the output of nagios -s: > > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 330 > Total scheduled hosts: 0 No scheduled host-checks. That's good, cause they interfere with normal operations in Nagios. > Host inter-check delay method: SMART > Average host check interval: 0.00 sec > Host inter-check delay: 0.00 sec > Max host check spread: 10 min > First scheduled check: N/A > Last scheduled check: N/A > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 2836 > Total scheduled services: 2836 > Service inter-check delay method: SMART > Average service check interval: 2225.56 sec This is, as you point out below, quite odd. What's your _longest_ normal_check_interval for services? > Inter-check delay: 0.21 sec > Interleave factor method: SMART > Average services per host: 8.59 > Service interleave factor: 9 > Max service check spread: 10 min > First scheduled check: Tue Dec 19 11:21:45 2006 > Last scheduled check: Tue Dec 19 11:31:47 2006 > > > CHECK PROCESSING INFORMATION > ---------------------------- > Service check reaper interval: 5 sec You could lower this to 2 seconds. I've done so on any number of installations and it has no negative impact what so ever, but seems to make Nagios a bit more responsive. > Max concurrent service checks: Unlimited > I assume you aren't running in to hardware limits on this machine. What's the normal load when you're running nagios? If it's > NUM_CPUS then you most likely don't have beefy enough hardware. That's hardly ever the case though, so don't bother looking into it unless all else fails. Nvm, question answered below. Hardware resources should be no problem what so ever. > > This all looks peachy - I think. What I don't get is this line: > > Average service check interval: 2225.56 sec > > It seems to me that this is either a skewed value, stemming from > my history of looong latencies (at one point we were beyonf > 9000 seconds). Nopes. Nagios doesn't bother reading logfiles when it calculates the scheduling numbers. > *Or* it is indicative of a misconfiguration on my > part. If the latter is the case, I'd be eager, nay ecstatic to > hear what I did wrong. Here are a few of the config vars that > might influence this: > There has been a slight thinko in Nagios. I don't know if it's still there in recent CVS versions. The thinko is that it (used to?) calculate average service check interval by adding up all normal_check_interval values and dividing it by the number of services configured (or something along those lines), which leads to long latencies. This normally didn't make those latencies increase though. Humm... > sleep_time=0.25 > service_reaper_frequency=5 > max_concurrent_checks=0 > max_host_check_spread=10 > host_inter_check_delay_method=s > service_interleave_factor=s > command_check_interval=1 > obsess_over_services=0 > aggregate_status_updates=1 > status_update_interval=20 > > Also, here's the output from nagiostats: > Nagios Stats 2.6 > Copyright (c) 2003-2005 Ethan Galstad (www.nagios.org) > Last Modified: 11-27-2006 > License: GPL > > CURRENT STATUS DATA > ---------------------------------------------------- > Status File: /var/nagios/status.dat > Status File Age: 0d 0h 0m 3s > Status File Version: 2.6 > > Program Running Time: 0d 1h 59m 5s > > Total Services: 2836 > Services Checked: 2836 > Services Scheduled: 2758 > Active Service Checks: 2836 > Passive Service Checks: 0 All services aren't being scheduled, but you have no passive service checks. Have you disabled checks of 78 services? > Total Service State Change: 0.000 / 12.370 / 0.007 % > Active Service Latency: 0.006 / 10.237 / 0.906 sec > Active Service Execution Time: 0.047 / 10.159 / 0.180 sec > Active Service State Change: 0.000 / 12.370 / 0.007 % > Active Services Last 1/5/15/60 min: 477 / 2678 / 2745 / 2754 > Passive Service State Change: 0.000 / 0.000 / 0.000 % > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Services Ok/Warn/Unk/Crit: 2814 / 6 / 0 / 16 > Services Flapping: 0 > Services In Downtime: 0 > > Total Hosts: 330 > Hosts Checked: 330 > Hosts Scheduled: 0 > Active Host Checks: 330 > Passive Host Checks: 0 > Total Host State Change: 0.000 / 0.000 / 0.000 % > Active Host Latency: 0.000 / 1.000 / 0.888 sec > Active Host Execution Time: 0.030 / 4.059 / 0.112 sec > Active Host State Change: 0.000 / 0.000 / 0.000 % > Active Hosts Last 1/5/15/60 min: 0 / 12 / 12 / 12 > Passive Host State Change: 0.000 / 0.000 / 0.000 % > Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Hosts Up/Down/Unreach: 329 / 1 / 0 > Hosts Flapping: 0 > Hosts In Downtime: 0 > > Hardware is a dual-2.8GHz Xeon, 2G RAM and a 100 FDX interface. > LoadAvg is around 1.6, sometimes gets to 1.9. CPUs are both > around 40% idle most of the time. I see about 300 context > switches and 500 interrupts per second. The network load is > neglible, ditto the packet rate. > > The way these figures look I don't see a performance problem per > se, but maybe I have overlooked a metric that descirbes the > "usual" bottleneck of installations. > Are the CPU's 64 bit ones running in 32-bit emulation mode? For intel cpu's, that causes up to 60% performance loss (yes, it really is that bad). I'm puzzled. Please let me know if you find the answer to this problem. I'll help you debug it as best I can, but please continue posting on-list. Thanks. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 19 12:23:12 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Dec 2006 12:23:12 +0100 Subject: Questions about scheduling In-Reply-To: <20061219104646.GB20712@eric.schwarzvogel.de> References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> <456D782B.8010008@neuwald.biz> <456D79A0.20905@googlemail.com> <456D7CD6.1050608@neuwald.biz> <20061219104646.GB20712@eric.schwarzvogel.de> Message-ID: <4587CBA0.7010201@op5.se> Tobias Klausmann wrote: > Hi! > > I have a few questions about scheduling in Nagios. > > - How does the scheduling queue work? From the docs it seems the > whole queue is held up as soon as a host check is necessary. > As far as I know, Nagios parallelizes checks, so my question > is if the current checking thread is held up only or if all of > the checks are stopped immediately? > All the checks are stopped immediately. This is to prevent sending service notifications when hosts go down, so it's sort of inevitable. Nagios 3.0 will support asynchronous host checks, but we're not there yet. > - If the whole set of workers is stopped, this would mean that a > failing check would result in an immeidate host check which in > turn holds up all the queues until it is complete. Does it > really work this way? > Yes, for reasons stated above. It gets slightly worse if you have a largely linear network (many hosts only have one child), since it also has to check parent hosts until it finds the "closest" possible "up" to determine where a possible network outage is happening. > - How much performance overhead do service dependencies generate? > I have quite a few NRPE checks and all of them depend on the > NRPE dummy check I always define. Does this stall checking by > any considerable amount? > Not much, and not really, respectively :). You might want to enable "soft_service_dependencies" though. The dependencies only add a couple of internal checks along the lines of if (service->state & dependent_state->notification_failure_criteria) /* don't send a notification */ ; -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Tue Dec 19 12:34:10 2006 From: eagle at cyberdelia.de (Daniel Meyer) Date: Tue, 19 Dec 2006 12:34:10 +0100 (CET) Subject: Performance issues, too In-Reply-To: <4587C9B7.4040605@op5.se> References: <20061219104010.GA20712@eric.schwarzvogel.de> <4587C9B7.4040605@op5.se> Message-ID: On Tue, 19 Dec 2006, Andreas Ericsson wrote: > Are the CPU's 64 bit ones running in 32-bit emulation mode? For intel > cpu's, that causes up to 60% performance loss (yes, it really is that bad). I just can answer for my setup (which is almost identical except for i have "only" 1700 service checks so far): my xeon cpus are pure 32 bit stuff... > I'm puzzled. Please let me know if you find the answer to this problem. > I'll help you debug it as best I can, but please continue posting > on-list. Thanks. Me too, i am somewhat out of ideas... Danny -- Q: Gentoo is too hard to install = http://www.cyberdelia.de and I feel like whining. = eagle at cyberdelia.de A: Please see /dev/null. = (from the gentoo installer FAQ) = \o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Tue Dec 19 12:42:43 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Tue, 19 Dec 2006 12:42:43 +0100 Subject: Performance issues, too In-Reply-To: <4587C9B7.4040605@op5.se> References: <20061219104010.GA20712@eric.schwarzvogel.de> <4587C9B7.4040605@op5.se> Message-ID: <20061219114242.GC20712@eric.schwarzvogel.de> Hi! On Tue, 19 Dec 2006, Andreas Ericsson wrote: > Thanks for an excellently detailed problem report, missing only the > Nagios version and system type/version info. I've got some comments and > followup questions. See below. I'm running 2.6 now but I had the troubles with 2.5 initially. OS is a Gentoo Linux, Kernel 2.6.15.5 initially, upgrade to 2.6.19 today. > > --------------------------- > > Total hosts: 330 > > Total scheduled hosts: 0 > > No scheduled host-checks. That's good, cause they interfere with normal > operations in Nagios. I've read as much. In my seperate mail I had a few questions about it, let's keep them (and the answers there ;) > > Host inter-check delay method: SMART > > Average host check interval: 0.00 sec > > Host inter-check delay: 0.00 sec > > Max host check spread: 10 min > > First scheduled check: N/A > > Last scheduled check: N/A > > > > > > SERVICE SCHEDULING INFORMATION > > ------------------------------- > > Total services: 2836 > > Total scheduled services: 2836 > > Service inter-check delay method: SMART > > Average service check interval: 2225.56 sec > > This is, as you point out below, quite odd. What's your _longest_ > normal_check_interval for services? The longest check_interval is 86400 seconds. It's a SSL cert freshness check. I figured it wasn't necesseary to check that more often than once a day. I also have check_intervals of 3, 5, 15, 20, 30 and 1440 seconds. The latter is also a cert freshness check which is lower because the customer wanted it to be that short. > > CHECK PROCESSING INFORMATION > > ---------------------------- > > Service check reaper interval: 5 sec > > You could lower this to 2 seconds. I've done so on any number of > installations and it has no negative impact what so ever, but seems to > make Nagios a bit more responsive. I'll give that a try. > > Max concurrent service checks: Unlimited > > I assume you aren't running in to hardware limits on this machine. > What's the normal load when you're running nagios? If it's > NUM_CPUS > then you most likely don't have beefy enough hardware. That's hardly > ever the case though, so don't bother looking into it unless all else fails. > > Nvm, question answered below. Hardware resources should be no problem > what so ever. I also noticed that HT was disabled on the machine. I've changed that (and added support for it to the kernel) when I did the kernel upgrade today. I'll keep an eye on check latency. > > *Or* it is indicative of a misconfiguration on my > > part. If the latter is the case, I'd be eager, nay ecstatic to > > hear what I did wrong. Here are a few of the config vars that > > might influence this: > > There has been a slight thinko in Nagios. I don't know if it's still > there in recent CVS versions. The thinko is that it (used to?) calculate > average service check interval by adding up all normal_check_interval > values and dividing it by the number of services configured (or > something along those lines), which leads to long latencies. This > normally didn't make those latencies increase though. Humm... Well, the numbers sure do get whacky after a restart: first it skyrockets for about five minutes, then plummets to 1s. From there it works its way up the way I described. > > Total Services: 2836 > > Services Checked: 2836 > > Services Scheduled: 2758 > > Active Service Checks: 2836 > > Passive Service Checks: 0 > > All services aren't being scheduled, but you have no passive service > checks. Have you disabled checks of 78 services? Oops, forgot to mention that. Yes, a server farm is being rebuilt currently. As I didn't want all the host check timeouts to make matters much, much, worse, I disabled them entirely. > > Hardware is a dual-2.8GHz Xeon, 2G RAM and a 100 FDX interface. > > LoadAvg is around 1.6, sometimes gets to 1.9. CPUs are both > > around 40% idle most of the time. I see about 300 context > > switches and 500 interrupts per second. The network load is > > neglible, ditto the packet rate. > > > > The way these figures look I don't see a performance problem per > > se, but maybe I have overlooked a metric that descirbes the > > "usual" bottleneck of installations. > > > > Are the CPU's 64 bit ones running in 32-bit emulation mode? For intel > cpu's, that causes up to 60% performance loss (yes, it really is that bad). Sheesh. Yes, it is a 32-bit installation. I only ever bothered with 64-bit installs on Opteron hardware. I might look into migrating to 64 bits, then. > I'm puzzled. Please let me know if you find the answer to this problem. > I'll help you debug it as best I can, but please continue posting > on-list. Thanks. Sure. I'll first check if the "processor upgrade" and kernel update helped anything, then try lowering the reaper interval to 2. I'll post the results as soon as I have them. Regards & Thanks, Tobias -- Never touch a burning system. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Tue Dec 19 12:46:58 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Tue, 19 Dec 2006 12:46:58 +0100 Subject: Questions about scheduling In-Reply-To: <4587CBA0.7010201@op5.se> References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> <456D782B.8010008@neuwald.biz> <456D79A0.20905@googlemail.com> <456D7CD6.1050608@neuwald.biz> <20061219104646.GB20712@eric.schwarzvogel.de> <4587CBA0.7010201@op5.se> Message-ID: <20061219114658.GD20712@eric.schwarzvogel.de> Hi! On Tue, 19 Dec 2006, Andreas Ericsson wrote: > > - How does the scheduling queue work? From the docs it seems the > > whole queue is held up as soon as a host check is necessary. > > As far as I know, Nagios parallelizes checks, so my question > > is if the current checking thread is held up only or if all of > > the checks are stopped immediately? > > All the checks are stopped immediately. This is to prevent sending > service notifications when hosts go down, so it's sort of inevitable. > Nagios 3.0 will support asynchronous host checks, but we're not there yet. Good, good, at least there's a solution on the horizon. > > - If the whole set of workers is stopped, this would mean that a > > failing check would result in an immeidate host check which in > > turn holds up all the queues until it is complete. Does it > > really work this way? > > Yes, for reasons stated above. It gets slightly worse if you have a > largely linear network (many hosts only have one child), since it also > has to check parent hosts until it finds the "closest" possible "up" to > determine where a possible network outage is happening. I have nearly no parent/child relationships in my setup, as I don't monitor network equipment just hosts (and their services) As such, I only have service deps (more deps than services, actually). > > - How much performance overhead do service dependencies generate? > > I have quite a few NRPE checks and all of them depend on the > > NRPE dummy check I always define. Does this stall checking by > > any considerable amount? > > Not much, and not really, respectively :). You might want to enable > "soft_service_dependencies" though. The dependencies only add a couple > of internal checks along the lines of > > if (service->state & dependent_state->notification_failure_criteria) > /* don't send a notification */ > ; Ok, I'll refrain from dropping them, then :) Thanks, Tobias PS: Sorry for hijacking the thread, I missed deleting the in-reply-to-line. Thinking how easy that mistake was, I'll probably be a little less annoyed next time I see someone do it :) -- Never touch a burning system. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 19 12:56:23 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 19 Dec 2006 12:56:23 +0100 (CET) Subject: Questions about scheduling In-Reply-To: <4587CBA0.7010201@op5.se> References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> <456D782B.8010008@neuwald.biz> <456D79A0.20905@googlemail.com> <456D7CD6.1050608@neuwald.biz> <20061219104646.GB20712@eric.schwarzvogel.de> <4587CBA0.7010201@op5.se> Message-ID: On Tue, 19 Dec 2006, Andreas Ericsson wrote: > Yes, for reasons stated above. It gets slightly worse if you have a > largely linear network (many hosts only have one child), since it also > has to check parent hosts until it finds the "closest" possible "up" to > determine where a possible network outage is happening. Just curious. How will this work if you have something like 5 hosts in line in a parent-child relation? The fastest way would be starting from nagios and work your way to the downed host as the average latency on a check on a live host is much faster then the timeout you get on downed hosts. Considere the map as shown on http://hvdkooij.xs4all.nl/statusmap-20061219.png If nagios detects the ipv6 router in the lab to be down and it has to work it's way up it has to deal with the timeouts on nlams04 and nlams05. If it starts polling the other way around it only has to deal with the host check latency of the switch and the timeout of nlams05. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 19 13:09:37 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Dec 2006 13:09:37 +0100 Subject: Performance issues, too In-Reply-To: <20061219114242.GC20712@eric.schwarzvogel.de> References: <20061219104010.GA20712@eric.schwarzvogel.de> <4587C9B7.4040605@op5.se> <20061219114242.GC20712@eric.schwarzvogel.de> Message-ID: <4587D681.6040005@op5.se> Tobias Klausmann wrote: > Hi! > > On Tue, 19 Dec 2006, Andreas Ericsson wrote: >> Thanks for an excellently detailed problem report, missing only the >> Nagios version and system type/version info. I've got some comments and >> followup questions. See below. > > I'm running 2.6 now but I had the troubles with 2.5 initially. > OS is a Gentoo Linux, Kernel 2.6.15.5 initially, upgrade to > 2.6.19 today. > >>> --------------------------- >>> Total hosts: 330 >>> Total scheduled hosts: 0 >> No scheduled host-checks. That's good, cause they interfere with normal >> operations in Nagios. > > I've read as much. In my seperate mail I had a few questions > about it, let's keep them (and the answers there ;) > >>> Host inter-check delay method: SMART >>> Average host check interval: 0.00 sec >>> Host inter-check delay: 0.00 sec >>> Max host check spread: 10 min >>> First scheduled check: N/A >>> Last scheduled check: N/A >>> >>> >>> SERVICE SCHEDULING INFORMATION >>> ------------------------------- >>> Total services: 2836 >>> Total scheduled services: 2836 >>> Service inter-check delay method: SMART >>> Average service check interval: 2225.56 sec >> This is, as you point out below, quite odd. What's your _longest_ >> normal_check_interval for services? > > The longest check_interval is 86400 seconds. It's a SSL cert > freshness check. I figured it wasn't necesseary to check that > more often than once a day. I also have check_intervals of 3, 5, > 15, 20, 30 and 1440 seconds. The latter is also a cert freshness > check which is lower because the customer wanted it to be that > short. > Try changing the really long intervals to something shorter or commenting them out completely and see what happens. Checking a certificate is not a particularly heavy operation so it doesn't matter much if you run it ever 5 minutes. On the server side it just gets handed out from cache, so it's not heave there either. If you have the various normal_check_interval's specified in templates, try setting them all to 5 minutes and let Nagios run over-night. If this interferes with some fragile services on the network (webservers whose sessions don't expire, fe), disable active checks for those services during the testing period. (yes, this might seem braindead, but I really need to know if this bug is still in Nagios). > >>> *Or* it is indicative of a misconfiguration on my >>> part. If the latter is the case, I'd be eager, nay ecstatic to >>> hear what I did wrong. Here are a few of the config vars that >>> might influence this: >> There has been a slight thinko in Nagios. I don't know if it's still >> there in recent CVS versions. The thinko is that it (used to?) calculate >> average service check interval by adding up all normal_check_interval >> values and dividing it by the number of services configured (or >> something along those lines), which leads to long latencies. This >> normally didn't make those latencies increase though. Humm... > > Well, the numbers sure do get whacky after a restart: first it > skyrockets for about five minutes, then plummets to 1s. From > there it works its way up the way I described. > Are the first checks of things being scheduled with unreasonably long delays? Fe, a check with 3 minute normal_check_interval being scheduled an hour or so into the future. >>> Total Services: 2836 >>> Services Checked: 2836 >>> Services Scheduled: 2758 >>> Active Service Checks: 2836 >>> Passive Service Checks: 0 >> All services aren't being scheduled, but you have no passive service >> checks. Have you disabled checks of 78 services? > > Oops, forgot to mention that. Yes, a server farm is being rebuilt > currently. As I didn't want all the host check timeouts to make > matters much, much, worse, I disabled them entirely. > Ah, that explains it then. It shouldn't matter, but unless the experiment I suggested above turns up anything useful, would you mind commenting them out and testing that? >>> Hardware is a dual-2.8GHz Xeon, 2G RAM and a 100 FDX interface. >>> LoadAvg is around 1.6, sometimes gets to 1.9. CPUs are both >>> around 40% idle most of the time. I see about 300 context >>> switches and 500 interrupts per second. The network load is >>> neglible, ditto the packet rate. >>> >>> The way these figures look I don't see a performance problem per >>> se, but maybe I have overlooked a metric that descirbes the >>> "usual" bottleneck of installations. >>> >> Are the CPU's 64 bit ones running in 32-bit emulation mode? For intel >> cpu's, that causes up to 60% performance loss (yes, it really is that bad). > > Sheesh. Yes, it is a 32-bit installation. I only ever bothered > with 64-bit installs on Opteron hardware. I might look into > migrating to 64 bits, then. > So the CPU's are 64-bits? Humm... 64-bit mode would boost available resources quite a bit, but as you just enabled HT you should now have 3 extra CPU's (Xeon's are dualcore AFAIR) which will probably set you safe for a while. >> I'm puzzled. Please let me know if you find the answer to this problem. >> I'll help you debug it as best I can, but please continue posting >> on-list. Thanks. > > Sure. I'll first check if the "processor upgrade" and kernel > update helped anything, then try lowering the reaper interval to > 2. I'll post the results as soon as I have them. > It might help with the slowly creeping latencies. If the experiment above doesn't yield anything useful, try installing a 64-bit userland and recompiling Nagios and the plugins (and perl, and /bin/sh, wherever it points to) with a 64-bit compiler. It should quell any remaining resource starvation and let load average drop to around 0.5 - 1.0. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Tue Dec 19 13:13:39 2006 From: eagle at cyberdelia.de (Daniel Meyer) Date: Tue, 19 Dec 2006 13:13:39 +0100 (CET) Subject: Performance issues, too In-Reply-To: <20061219114242.GC20712@eric.schwarzvogel.de> References: <20061219104010.GA20712@eric.schwarzvogel.de> <4587C9B7.4040605@op5.se> <20061219114242.GC20712@eric.schwarzvogel.de> Message-ID: On Tue, 19 Dec 2006, Tobias Klausmann wrote: > I'm running 2.6 now but I had the troubles with 2.5 initially. > OS is a Gentoo Linux, Kernel 2.6.15.5 initially, upgrade to > 2.6.19 today. Same here. Latency-Problems with both 2.5 and 2.6, but on CentOS 4.4 (good that you use gentoo, saves me the time to try it on a heavy optimized gentoo box :) >> You could lower this to 2 seconds. I've done so on any number of >> installations and it has no negative impact what so ever, but seems to >> make Nagios a bit more responsive. > > I'll give that a try. I've tried that but had some failing checks when i did that. Very strange... > I also noticed that HT was disabled on the machine. I've changed > that (and added support for it to the kernel) when I did the > kernel upgrade today. I'll keep an eye on check latency. I have HT enabled, no effect on the nagios latency problems. Danny -- Q: Gentoo is too hard to install = http://www.cyberdelia.de and I feel like whining. = eagle at cyberdelia.de A: Please see /dev/null. = (from the gentoo installer FAQ) = \o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 19 13:18:05 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Dec 2006 13:18:05 +0100 Subject: Questions about scheduling In-Reply-To: References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> <456D782B.8010008@neuwald.biz> <456D79A0.20905@googlemail.com> <456D7CD6.1050608@neuwald.biz> <20061219104646.GB20712@eric.schwarzvogel.de> <4587CBA0.7010201@op5.se> Message-ID: <4587D87D.1030403@op5.se> Hugo van der Kooij wrote: > On Tue, 19 Dec 2006, Andreas Ericsson wrote: > >> Yes, for reasons stated above. It gets slightly worse if you have a >> largely linear network (many hosts only have one child), since it also >> has to check parent hosts until it finds the "closest" possible "up" to >> determine where a possible network outage is happening. > > Just curious. How will this work if you have something like 5 hosts in > line in a parent-child relation? > > The fastest way would be starting from nagios and work your way to the > downed host as the average latency on a check on a live host is much > faster then the timeout you get on downed hosts. > > Considere the map as shown on > http://hvdkooij.xs4all.nl/statusmap-20061219.png > > If nagios detects the ipv6 router in the lab to be down and it has to work > it's way up it has to deal with the timeouts on nlams04 and nlams05. > > If it starts polling the other way around it only has to deal with the > host check latency of the switch and the timeout of nlams05. > In the case you posted on your map, it would indeed be faster to start walking in -> out. However, if the closest parent had been up it would have been the other way around. Anyways, I *think* nagios checks in->out. Either way, it's important for a host check to return OK *immediately* when it finds that the host it's checking actually *is* ok, which is why I wrote check_icmp and let it have a check_host mode which does just that. The original default hostcheck (I think it's still the default, btw) would wait a minimum of 5 seconds no matter if the first ping came back ok after 5ms. Since all other checks are stopped, this causes quite a bit of slowdown. When I think about it, it would indeed (especially with check_host) be faster to start unreachability checks with root-hosts and then following children down to the targeted host since we would that way encounter a minimum of host check timeouts. It's programmatically slightly trickier though, as you'd have to walk it backwards from the problem host, push each parent host to a stack and then pop them from that stack when you do the actual checking. I'll look in this and see if a patch is necessary and, if so, if I can come up with one. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagle at cyberdelia.de Tue Dec 19 13:18:36 2006 From: eagle at cyberdelia.de (Daniel Meyer) Date: Tue, 19 Dec 2006 13:18:36 +0100 (CET) Subject: Questions about scheduling In-Reply-To: References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> <456D782B.8010008@neuwald.biz> <456D79A0.20905@googlemail.com> <456D7CD6.1050608@neuwald.biz> <20061219104646.GB20712@eric.schwarzvogel.de> <4587CBA0.7010201@op5.se> Message-ID: On Tue, 19 Dec 2006, Hugo van der Kooij wrote: > Just curious. How will this work if you have something like 5 hosts in > line in a parent-child relation? > > The fastest way would be starting from nagios and work your way to the > downed host as the average latency on a check on a live host is much > faster then the timeout you get on downed hosts. i think it works its way from the failing host up to the nagios server, which would be "logical" from the point of view that nagios knows the parents of the failed server. Dont think that nagios uses that information to rebuild it into a child list... That might be the solution to "why did nagios send me so many notifications today": consider those host relations: nagios - router - router - switch - server1 to server n (up) (up) (down) (dummy) (up...) I had a failed leased line today. The switch in that scenario was up due to a dummy check which always replies "ok", the router was down. I got a host down notification for each of the servers.... Must be because nagios started to check from the servers to the nagios host, and found the switch to be up and runnnig. Danny -- Q: Gentoo is too hard to install = http://www.cyberdelia.de and I feel like whining. = eagle at cyberdelia.de A: Please see /dev/null. = (from the gentoo installer FAQ) = \o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From azoecalvo at yahoo.com.ar Tue Dec 19 13:22:35 2006 From: azoecalvo at yahoo.com.ar (Alicia Calvo) Date: Tue, 19 Dec 2006 12:22:35 +0000 (GMT) Subject: start nagios Message-ID: <20061219122236.89170.qmail@web33003.mail.mud.yahoo.com> hello, I configured about manual but at start time Nagios send the following msgs: Permiso denegado. I try start at /etc/rc.d/init.d/nagios start. Thank you for any idea. AC __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! ?Abr? tu cuenta ya! - http://correo.yahoo.com.ar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Tue Dec 19 13:32:40 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Tue, 19 Dec 2006 13:32:40 +0100 Subject: Performance issues, too In-Reply-To: References: <20061219104010.GA20712@eric.schwarzvogel.de> <4587C9B7.4040605@op5.se> <20061219114242.GC20712@eric.schwarzvogel.de> Message-ID: <20061219123240.GA1484@eric.schwarzvogel.de> Hi! On Tue, 19 Dec 2006, Daniel Meyer wrote: > >> You could lower this to 2 seconds. I've done so on any number of > >> installations and it has no negative impact what so ever, but seems to > >> make Nagios a bit more responsive. > > > > I'll give that a try. > > I've tried that but had some failing checks when i did that. Very > strange... I'm still waiting how the kernel change will work out. > > I also noticed that HT was disabled on the machine. I've changed > > that (and added support for it to the kernel) when I did the > > kernel upgrade today. I'll keep an eye on check latency. > > I have HT enabled, no effect on the nagios latency problems. I've now setup a little script that puts host and service check latency in an RRD file every five minutes. So far, the curve looks very inconclusive. Regards, Tobias -- Never touch a burning system. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Tue Dec 19 13:47:16 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Tue, 19 Dec 2006 13:47:16 +0100 Subject: Performance issues, too In-Reply-To: <4587D681.6040005@op5.se> References: <20061219104010.GA20712@eric.schwarzvogel.de> <4587C9B7.4040605@op5.se> <20061219114242.GC20712@eric.schwarzvogel.de> <4587D681.6040005@op5.se> Message-ID: <20061219124716.GB1484@eric.schwarzvogel.de> Hi! On Tue, 19 Dec 2006, Andreas Ericsson wrote: > >>> ------------------------------- > >>> Total services: 2836 > >>> Total scheduled services: 2836 > >>> Service inter-check delay method: SMART > >>> Average service check interval: 2225.56 sec > >> This is, as you point out below, quite odd. What's your _longest_ > >> normal_check_interval for services? > > > > The longest check_interval is 86400 seconds. It's a SSL cert > > freshness check. I figured it wasn't necesseary to check that > > more often than once a day. I also have check_intervals of 3, 5, > > 15, 20, 30 and 1440 seconds. The latter is also a cert freshness > > check which is lower because the customer wanted it to be that > > short. > > Try changing the really long intervals to something shorter or > commenting them out completely and see what happens. Checking a > certificate is not a particularly heavy operation so it doesn't matter > much if you run it ever 5 minutes. On the server side it just gets > handed out from cache, so it's not heave there either. > > If you have the various normal_check_interval's specified in templates, > try setting them all to 5 minutes and let Nagios run over-night. If this > interferes with some fragile services on the network (webservers whose > sessions don't expire, fe), disable active checks for those services > during the testing period. > > (yes, this might seem braindead, but I really need to know if this bug > is still in Nagios). I'll do that this afternoon, I'd just like to wait a little more regarding the changes my kernel/cpu-update brings (or doesn't). > >>> *Or* it is indicative of a misconfiguration on my > >>> part. If the latter is the case, I'd be eager, nay ecstatic to > >>> hear what I did wrong. Here are a few of the config vars that > >>> might influence this: > >> There has been a slight thinko in Nagios. I don't know if it's still > >> there in recent CVS versions. The thinko is that it (used to?) calculate > >> average service check interval by adding up all normal_check_interval > >> values and dividing it by the number of services configured (or > >> something along those lines), which leads to long latencies. This > >> normally didn't make those latencies increase though. Humm... > > > > Well, the numbers sure do get whacky after a restart: first it > > skyrockets for about five minutes, then plummets to 1s. From > > there it works its way up the way I described. > > Are the first checks of things being scheduled with unreasonably long > delays? Fe, a check with 3 minute normal_check_interval being scheduled > an hour or so into the future. Usually, yes. As I use state retention, I don't believe in the initial numbers all that much. After about 5-10 minutes one can usually make out a trend. Not this time, though. Here's hoping that it keeps oscillating around the 8-9 seconds I currently. > >>> Total Services: 2836 > >>> Services Checked: 2836 > >>> Services Scheduled: 2758 > >>> Active Service Checks: 2836 > >>> Passive Service Checks: 0 > >> All services aren't being scheduled, but you have no passive service > >> checks. Have you disabled checks of 78 services? > > > > Oops, forgot to mention that. Yes, a server farm is being rebuilt > > currently. As I didn't want all the host check timeouts to make > > matters much, much, worse, I disabled them entirely. > > Ah, that explains it then. It shouldn't matter, but unless the > experiment I suggested above turns up anything useful, would you mind > commenting them out and testing that? I was planning to do that tomorrow for the very same reasons. > >>> Hardware is a dual-2.8GHz Xeon, 2G RAM and a 100 FDX interface. > >>> LoadAvg is around 1.6, sometimes gets to 1.9. CPUs are both > >>> around 40% idle most of the time. I see about 300 context > >>> switches and 500 interrupts per second. The network load is > >>> neglible, ditto the packet rate. > >>> > >>> The way these figures look I don't see a performance problem per > >>> se, but maybe I have overlooked a metric that descirbes the > >>> "usual" bottleneck of installations. > >>> > >> Are the CPU's 64 bit ones running in 32-bit emulation mode? For intel > >> cpu's, that causes up to 60% performance loss (yes, it really is that bad). > > > > Sheesh. Yes, it is a 32-bit installation. I only ever bothered > > with 64-bit installs on Opteron hardware. I might look into > > migrating to 64 bits, then. > > > > So the CPU's are 64-bits? Humm... 64-bit mode would boost available > resources quite a bit, but as you just enabled HT you should now have 3 > extra CPU's (Xeon's are dualcore AFAIR) which will probably set you safe > for a while. Colleague just told me that this particular batch wasn't available in 64 bits. So no, they're 32bits, well one thing to test out of the way :-/ > >> I'm puzzled. Please let me know if you find the answer to this problem. > >> I'll help you debug it as best I can, but please continue posting > >> on-list. Thanks. > > > > Sure. I'll first check if the "processor upgrade" and kernel > > update helped anything, then try lowering the reaper interval to > > 2. I'll post the results as soon as I have them. > > It might help with the slowly creeping latencies. If the experiment > above doesn't yield anything useful, try installing a 64-bit userland > and recompiling Nagios and the plugins (and perl, and /bin/sh, wherever > it points to) with a 64-bit compiler. It should quell any remaining > resource starvation and let load average drop to around 0.5 - 1.0. Well, I already convinced my boss that we need beefier machines anyway (we currently have no spare machine and all current machines are too incompatible to act as spares. If it tells you anything: we're on a single HP DL360G3 now and will be moving to two DL360G5 or two DL365 early next year). Still, we need to switch to a distributed setup - another headache I'd rather put off til nex year. Regards, Tobias -- Never touch a burning system. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 19 13:59:02 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 19 Dec 2006 13:59:02 +0100 (CET) Subject: start nagios In-Reply-To: <20061219122236.89170.qmail@web33003.mail.mud.yahoo.com> References: <20061219122236.89170.qmail@web33003.mail.mud.yahoo.com> Message-ID: On Tue, 19 Dec 2006, Alicia Calvo wrote: > I configured about manual but at start time Nagios send the following msgs: Permiso denegado. > I try start at /etc/rc.d/init.d/nagios start. Try looking for "permission denied" and nagios with your favorite search engine. You did not include any relevant details like: - Nagios version - Install method - Started as user ..... ........ Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Dec 19 14:02:58 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 19 Dec 2006 08:02:58 -0500 Subject: URGENT REPOST: CHECK_NRPE: Received 0 bytes fromdaemon ErrorMessage In-Reply-To: References: Message-ID: <9C63A4713C4E3342B90428CE44806A7302679AA7@PHSXMB5.partners.org> Message to all -- I am sorry about the repeated posts. I was simply desperate for an answer, hence my 'panic'. I did not intend to irritate anybody on this matter, and if I have please accept my apologies and assurances that it was completely accidental. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Monday, December 18, 2006 7:11 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] URGENT REPOST: CHECK_NRPE: Received 0 bytes fromdaemon ErrorMessage On Mon, 18 Dec 2006, Marc Powell wrote: >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. >> Sent: Monday, December 18, 2006 3:18 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] URGENT REPOST: CHECK_NRPE: Received 0 bytes >> fromdaemon ErrorMessage > > I don't have the answer but frequent and repeated postings generally > just irritate people enough to not want to help. It's not like we could > have missed it the first, second or third times today to necessitate > this fourth. Your urgent problem is not our urgent problem > unfortunately. You generally want to allow at least 24 hours before > reposting to give everyone a chance to see it. I would suggest more like 72 hours at least. And even then I think one should question if a verbatim repost is usefull. If no one reacted the first time it well be because a posting was unclear in it's intend. If one is in dire need one needs to pick up the tab and hire some nagios consultant. Open Source by no means you get days of support for free. Most of the people around here have mortgages or rent to pay and propably the need for groceries and so on. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From herman_ang at toyota.co.id Tue Dec 19 14:31:46 2006 From: herman_ang at toyota.co.id (Herman (ISTD)) Date: Tue, 19 Dec 2006 20:31:46 +0700 Subject: Server/Router with more than 1 interface Message-ID: Dear all, I have some servers and routers that have more than 1 interface, and each interface has IP Address. I would like define a host is alive if all of its interface ip address are available via check_ping. So I define as following, but if I shut down the interface with ip 10.254.8.2. Nagios still think the host as alive, since Nagios just detect the IP 10.16.20.120 as the indicator of the host. Any workaround to make Nagios aware of both IP Addresses/IP Address ? Any suggestion will be highly appreciated. Thank you. define host{ use generic-host ; Name of host template to use host_name NAS-TMMIN-HO alias FTP Server address 10.16.20.120,10.254.8.2 parents HO_Core_SW max_check_attempts 2 check_command check-host-alive contact_groups admins notification_interval 120 notification_options d,u,r notification_period 24x7 flap_detection_enabled 1 } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 19 15:01:09 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 19 Dec 2006 15:01:09 +0100 (CET) Subject: Server/Router with more than 1 interface In-Reply-To: References: Message-ID: On Tue, 19 Dec 2006, Herman (ISTD) wrote: > I have some servers and routers that have more than 1 interface, and > each interface has IP Address. I would like define a host is alive if > all of its interface ip address are available via check_ping. > > So I define as following, but if I shut down the interface with ip > 10.254.8.2. Nagios still think the host as alive, since Nagios just > detect the IP 10.16.20.120 as the indicator of the host. Any workaround > to make Nagios aware of both IP Addresses/IP Address ? Any suggestion > will be highly appreciated. This is one of those rare cases where host dependencies may come into play. But I would add the interfaces as PING service to the host or use SNMP to check the real interface status. Something like: # 'check_snmp_int' command definition define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ } Getting the proper interface names can be a daunting task with some routers. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sauloaugustosilva at gmail.com Tue Dec 19 15:20:59 2006 From: sauloaugustosilva at gmail.com (Saulo Silva) Date: Tue, 19 Dec 2006 11:20:59 -0300 Subject: Use statement Message-ID: <3ddff6900612190620g235d498dr631ec8139e3bf772@mail.gmail.com> Hi all , Just to confirm . Can I use two use statement when I am defining a service . Like a example : service http{ host_name some name use service definition 1 use service definition 2 Best Regards , Saulo Augusto Silva -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.koch at eurodata.de Tue Dec 19 15:22:02 2006 From: a.koch at eurodata.de (Andreas Koch) Date: Tue, 19 Dec 2006 15:22:02 +0100 Subject: notifications.cgi Message-ID: <1166538122.27800.125.camel@warndt.eurodata.de> Hello Group. i want see all notification for the special User (work with contact="User") and the Last Week (7 Days). Can notifications.cgi this or have anybody script who make this? Regards, Andreas. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4145 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Dec 19 15:30:51 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 19 Dec 2006 09:30:51 -0500 Subject: URGENT REPOST: CHECK_NRPE: Received 0 bytes fromdaemon ErrorMessage In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A2689BE7@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A2689BE7@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <9C63A4713C4E3342B90428CE44806A7302679AAA@PHSXMB5.partners.org> The NRPE issue that has been very problematic has generated another error. I was briefly getting output back from the remote client, but now I am getting the error message: NRPE: Unable to read output. Here is a brief listing of the configuration: Nagios server: Nagios 2.6 NRPE client: 2.5.2 running on an HP-UX 11.11 system Allowed hosts: 0.0.0.0 The remote client uses inetd (without tcp wrappers) and here is the configuration in the inetd.conf file: nrpe stream tcp nowait bin /usr/local/nagios/bin/nrpe -c /usr/local/nagios/nrpe.cfg -inetd The remote client also has a startup script in the /sbin/init.d directory called nrpe. Here is the text of the script: /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/nrpe.cfg -d I checked the log file on the remote client, and there was no indication of any connection problem. The messages and nagios.log files on the server simply reported the following: UNKNOWN;notify-by-email;NRPE: Unable to read ouput. I have confirmed there is no firewall activated on the system, and that nrpe communication is allowed on the client. ________________________________ From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Sent: Monday, December 18, 2006 8:24 PM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] URGENT REPOST: CHECK_NRPE: Received 0 bytes fromdaemon ErrorMessage Sounds like the daemon is comparing the client's IP against the list of permitted connections, and not getting a match. For some reason the query of the source IP on the connection is returning 0.0.0.0 instead of the source IP - maybe you have some special wrapper or intervening agent. I'd suggest running under xinetd or something similar which can do the filtering instead. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From extraspecialbitter at gmail.com Tue Dec 19 15:44:54 2006 From: extraspecialbitter at gmail.com (Extra Special Bitter) Date: Tue, 19 Dec 2006 09:44:54 -0500 Subject: SSL handshake error Message-ID: <5a6de18e0612190644o99d0456ge3a5daab38691620@mail.gmail.com> Last week we installed the NRPE daemon on a Solaris 10 server but have had trouble configuring it to monitor anything more sophisticated than a basic "Host Alive" check. Remote checks show up in the console with a status of "unknown" with the error message: "CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. " Checking the error log on the remote server reveals the following: user at host=> dmesg | grep nrpe | tail -1 Dec 19 08:45:40 txopprd1 nrpe[27334]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1 Any clues? Thanks in advance... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 19 15:54:27 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 19 Dec 2006 15:54:27 +0100 (CET) Subject: Use statement In-Reply-To: <3ddff6900612190620g235d498dr631ec8139e3bf772@mail.gmail.com> References: <3ddff6900612190620g235d498dr631ec8139e3bf772@mail.gmail.com> Message-ID: On Tue, 19 Dec 2006, Saulo Silva wrote: > Just to confirm . Can I use two use statement when I am defining a service . Why do you not use nagios -v to confirm it? It is there for you to verify your config. (http://nagios.sourceforge.net/docs/2_0/verifyconfig.html) Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Dec 19 16:20:38 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 19 Dec 2006 15:20:38 -0000 Subject: URGENT REPOST: CHECK_NRPE: Received 0 bytesfromdaemon ErrorMessage In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679AAA@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679AAA@PHSXMB5.partners.org> Message-ID: > The remote client uses inetd (without tcp wrappers) and here is the configuration in the inetd.conf file: > > nrpe stream tcp nowait bin /usr/local/nagios/bin/nrpe -c /usr/local/nagios/nrpe.cfg -inetd Solaris requires the name of the server program and then the arguments, which include argument 0 (the name of the program). So that would be : nrpe stream tcp nowait bin /usr/local/nagios/bin/nrpe /usr/local/nagios/bin/nrpe -c /usr/local/nagios/nrpe.cfg --inetd Not sure if HP-UX inetd.conf works the same way. > The remote client also has a startup script in the /sbin/init.d directory called nrpe. Here is the text of the script: > > /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/nrpe.cfg -d I'd say that you either want to run as a daemon or run under inetd, not both. Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Dec 19 16:30:23 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 19 Dec 2006 10:30:23 -0500 Subject: URGENT REPOST: CHECK_NRPE: Received 0bytesfromdaemon ErrorMessage In-Reply-To: References: Message-ID: <9C63A4713C4E3342B90428CE44806A7302679AAC@PHSXMB5.partners.org> Hi there -- I checked the inetd.conf file for HP-UX and it differs from Solaris in that it does not require the name of the program after the user field. I did remove nrpe from the file to see if that made a difference, and unfortunately it did not. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil Costelloe Sent: Tuesday, December 19, 2006 10:21 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] URGENT REPOST: CHECK_NRPE: Received 0bytesfromdaemon ErrorMessage > The remote client uses inetd (without tcp wrappers) and here is the configuration in the inetd.conf file: > > nrpe stream tcp nowait bin /usr/local/nagios/bin/nrpe -c /usr/local/nagios/nrpe.cfg -inetd Solaris requires the name of the server program and then the arguments, which include argument 0 (the name of the program). So that would be : nrpe stream tcp nowait bin /usr/local/nagios/bin/nrpe /usr/local/nagios/bin/nrpe -c /usr/local/nagios/nrpe.cfg --inetd Not sure if HP-UX inetd.conf works the same way. > The remote client also has a startup script in the /sbin/init.d directory called nrpe. Here is the text of the script: > > /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/nrpe.cfg -d I'd say that you either want to run as a daemon or run under inetd, not both. Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 19 16:46:59 2006 From: marc at ena.com (Marc Powell) Date: Tue, 19 Dec 2006 09:46:59 -0600 Subject: Questions about scheduling Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Daniel Meyer > Sent: Tuesday, December 19, 2006 6:19 AM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] Questions about scheduling > > On Tue, 19 Dec 2006, Hugo van der Kooij wrote: > > > Just curious. How will this work if you have something like 5 hosts in > > line in a parent-child relation? > > > > The fastest way would be starting from nagios and work your way to the > > downed host as the average latency on a check on a live host is much > > faster then the timeout you get on downed hosts. > > i think it works its way from the failing host up to the nagios server, > which would be "logical" from the point of view that nagios knows the > parents of the failed server. Dont think that nagios uses that information > to rebuild it into a child list... This presentation, starting on page 19, details current and future host check logic -- http://www.netways.de/de/nagios_konferenz/archiv_2006/programm/nagios_30 _and_beyond/ -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludwig.Pummer at Copart.Com Tue Dec 19 18:05:24 2006 From: Ludwig.Pummer at Copart.Com (Ludwig Pummer) Date: Tue, 19 Dec 2006 09:05:24 -0800 Subject: SSL handshake error Message-ID: So, the daemon end of your NRPE check is a Solaris 10 server. What OS is on the client end? What if you try to connect to localhost on the Solaris 10 machine with check_nrpe ? -- Ludwig Pummer System Administrator, Copart Auto Auctions 707-639-5067 ludwig.pummer at copart.com ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Extra Special Bitter Sent: Tuesday, December 19, 2006 6:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SSL handshake error Last week we installed the NRPE daemon on a Solaris 10 server but have had trouble configuring it to monitor anything more sophisticated than a basic "Host Alive" check. Remote checks show up in the console with a status of "unknown" with the error message: "CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. " Checking the error log on the remote server reveals the following: user at host=> dmesg | grep nrpe | tail -1 Dec 19 08:45:40 txopprd1 nrpe[27334]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1 Any clues? Thanks in advance... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Tue Dec 19 18:39:54 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Tue, 19 Dec 2006 12:39:54 -0500 Subject: MRTG link to a specific host. Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3019C36C0@mtlexchange.Duocom.local> Hello, I have Nagios 2.6 installed and I have mrtg 2.13.2 installed and working. I would like to create a icon or link that within Nagiso that when you click on the link that it will go to the mrtg page that I created. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Dec 19 18:46:22 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 19 Dec 2006 12:46:22 -0500 Subject: MRTG link to a specific host. In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3019C36C0@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A3019C36C0@mtlexchange.Duocom.local> Message-ID: > I have Nagios 2.6 installed and I have mrtg 2.13.2 installed > and working. > > I would like to create a icon or link that within Nagiso that > when you click on the link that it will go to the mrtg page > that I created. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subin at symyx.com Tue Dec 19 19:30:06 2006 From: subin at symyx.com (Subin Shakya) Date: Tue, 19 Dec 2006 10:30:06 -0800 Subject: Schedule Downtime w/o authentication requirement References: <8C12A2BD8CFE894C891514267B55A2B5025E9A56@srv-sc-mail.symyx.com> <4587B056.6050703@op5.se> Message-ID: <8C12A2BD8CFE894C891514267B55A2B5025E9A59@srv-sc-mail.symyx.com> Andreas, Thanks for your advice. But, FYI, I have done what I could before I painfully signed up and advertised my issue on this list. By the way, I am novice on Nagios (heck also with Linux) and took me a while to build the Nagios system which I am extremely proud of. What do you think? Can you pass your knowledge to me now? - Subin -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Tuesday, December 19, 2006 1:27 AM To: Subin Shakya Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Schedule Downtime w/o authentication requirement Subin Shakya wrote: > I want to configure nagios in such a way that it does not require any > kind of authorization/authentication including 'guest'. How can I > do > that? > I do not know where to go in Nagios config to make this happen. > TIA, Symuser > =0D > Right now when I select a Host to schedule a downtime I get: > =0D > Sorry Dave, I can't let you do that... > It seems that you have chosen to not use the authentication > functionality of the CGIs. > I don't want to be personally responsible for what may happen as a > result of allowing unauthorized users to issue commands to Nagios,so > you'll have to disable this safeguard if you are really stubborn and > want to invite trouble. > Read the section on CGI authentication in the HTML documentation to > learn how you can enable authentication and why you should want to. > Nagios is more polite than I am. RTFM and do some thinking and you'll find the answer. On a sidenote; I know the answer but I'm not interested in giving it to you when you haven't even bothered trying to find it for yourself. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ======= Notice: This e-mail message, together with any attachments, contains information of Symyx Technologies, Inc. or any of its affiliates or subsidiaries that may be confidential, proprietary, copyrighted, privileged and/or protected work product, and is meant solely for the intended recipient. If you are not the intended recipient, and have received this message in error, please contact the sender immediately, permanently delete the original and any copies of this email and any attachments thereto. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikhollo at cisco.com Tue Dec 19 20:32:40 2006 From: mikhollo at cisco.com (Mike Holloway) Date: Tue, 19 Dec 2006 13:32:40 -0600 Subject: Schedule Downtime w/o authentication requirement In-Reply-To: <8C12A2BD8CFE894C891514267B55A2B5025E9A59@srv-sc-mail.symyx.com> References: <8C12A2BD8CFE894C891514267B55A2B5025E9A56@srv-sc-mail.symyx.com> <4587B056.6050703@op5.se> <8C12A2BD8CFE894C891514267B55A2B5025E9A59@srv-sc-mail.symyx.com> Message-ID: Subin, have a look through cgi.cfg -mike On Dec 19, 2006, at 12:30 PM, Subin Shakya wrote: > > Andreas, Thanks for your advice. But, FYI, I have done what I could > before I painfully signed up and advertised my issue on this list. > > By the way, I am novice on Nagios (heck also with Linux) and took me a > while to build the Nagios system which I am extremely proud of. > > What do you think? Can you pass your knowledge to me now? > > - Subin > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Tuesday, December 19, 2006 1:27 AM > To: Subin Shakya > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Schedule Downtime w/o authentication > requirement > > Subin Shakya wrote: >> I want to configure nagios in such a way that it does not require >> any >> kind of authorization/authentication including 'guest'. How >> can I >> do >> that? >> I do not know where to go in Nagios config to make this happen. >> TIA, Symuser >> =0D >> Right now when I select a Host to schedule a downtime I get: >> =0D >> Sorry Dave, I can't let you do that... >> It seems that you have chosen to not use the authentication >> functionality of the CGIs. >> I don't want to be personally responsible for what may happen >> as a >> result of allowing unauthorized users to issue commands to > Nagios,so >> you'll have to disable this safeguard if you are really stubborn > and >> want to invite trouble. >> Read the section on CGI authentication in the HTML documentation > to >> learn how you can enable authentication and why you should want > to. >> > > Nagios is more polite than I am. RTFM and do some thinking and you'll > find the answer. > > On a sidenote; I know the answer but I'm not interested in giving > it to > you when you haven't even bothered trying to find it for yourself. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > ======= > Notice: This e-mail message, together with any attachments, contains > information of Symyx Technologies, Inc. or any of its affiliates or > subsidiaries that may be confidential, proprietary, copyrighted, > privileged and/or protected work product, and is meant solely for > the intended recipient. If you are not the intended recipient, and > have received this message in error, please contact the sender > immediately, permanently delete the original and any copies of this > email and any attachments thereto. > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 19 20:49:03 2006 From: ratty at they.org (frank) Date: Tue, 19 Dec 2006 11:49:03 -0800 (PST) Subject: Schedule Downtime w/o authentication requirement In-Reply-To: <8C12A2BD8CFE894C891514267B55A2B5025E9A59@srv-sc-mail.symyx.com> References: <8C12A2BD8CFE894C891514267B55A2B5025E9A56@srv-sc-mail.symyx.com> <4587B056.6050703@op5.se> <8C12A2BD8CFE894C891514267B55A2B5025E9A59@srv-sc-mail.symyx.com> Message-ID: No, you didn't. The last link under "Configuring Nagios" in the documentation table of contents clearly says "Configuring authorization for the CGIs". Read it! http://nagios.sourceforge.net/docs/2_0/cgiauth.html "Authentication On Secured Web Servers If your web server is located in a secure domain (i.e., behind a firewall) or if you are using SSL, you can define a default username that can be used to access the CGIs. This is done by defining the default_user_name option in the CGI configuration file. By defining a default username that can access the CGIs, you can allow users to access the CGIs without necessarily having to authenticate to the web server.. You may want to use this to avoid having to use basic web authentication, as basic authentication transmits passwords in clear text over the Internet. Important: Do not define a default username unless you are running a secure web server and are sure that everyone who has access to the CGIs has been authenticated in some manner! If you define this variable, anyone who has not authenticated to the web server will inherit all rights you assign to this user!" -f On Tue, 19 Dec 2006, Subin Shakya wrote: > Date: Tue, 19 Dec 2006 10:30:06 -0800 > From: Subin Shakya > To: Andreas Ericsson > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Schedule Downtime w/o authentication requirement > > > Andreas, Thanks for your advice. But, FYI, I have done what I could > before I painfully signed up and advertised my issue on this list. > > By the way, I am novice on Nagios (heck also with Linux) and took me a > while to build the Nagios system which I am extremely proud of. > > What do you think? Can you pass your knowledge to me now? > > - Subin > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Tuesday, December 19, 2006 1:27 AM > To: Subin Shakya > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Schedule Downtime w/o authentication > requirement > > Subin Shakya wrote: >> I want to configure nagios in such a way that it does not require any >> kind of authorization/authentication including 'guest'. How can I >> do >> that? >> I do not know where to go in Nagios config to make this happen. >> TIA, Symuser >> =0D >> Right now when I select a Host to schedule a downtime I get: >> =0D >> Sorry Dave, I can't let you do that... >> It seems that you have chosen to not use the authentication >> functionality of the CGIs. >> I don't want to be personally responsible for what may happen as a >> result of allowing unauthorized users to issue commands to > Nagios,so >> you'll have to disable this safeguard if you are really stubborn > and >> want to invite trouble. >> Read the section on CGI authentication in the HTML documentation > to >> learn how you can enable authentication and why you should want > to. >> > > Nagios is more polite than I am. RTFM and do some thinking and you'll > find the answer. > > On a sidenote; I know the answer but I'm not interested in giving it to > you when you haven't even bothered trying to find it for yourself. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > ======= > Notice: This e-mail message, together with any attachments, contains > information of Symyx Technologies, Inc. or any of its affiliates or > subsidiaries that may be confidential, proprietary, copyrighted, > privileged and/or protected work product, and is meant solely for > the intended recipient. If you are not the intended recipient, and > have received this message in error, please contact the sender > immediately, permanently delete the original and any copies of this > email and any attachments thereto. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From extraspecialbitter at gmail.com Tue Dec 19 21:06:10 2006 From: extraspecialbitter at gmail.com (Extra Special Bitter) Date: Tue, 19 Dec 2006 15:06:10 -0500 Subject: SSL handshake error In-Reply-To: References: Message-ID: <5a6de18e0612191206t5c7cf422p22c9d4406af2f1ea@mail.gmail.com> Ludwig, Thanks for the reply. As it turns out, the error went away when I changed my check command from "check_unix_disk_no-ssl" to "check_unix_disk". Who knew? Paul On 12/19/06, Ludwig Pummer wrote: > > So, the daemon end of your NRPE check is a Solaris 10 server. What OS is > on the client end? What if you try to connect to localhost on the Solaris 10 > machine with check_nrpe ? > > > -- > Ludwig Pummer > System Administrator, Copart Auto Auctions > 707-639-5067 ludwig.pummer at copart.com > > > > ------------------------------ > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Extra Special > Bitter > *Sent:* Tuesday, December 19, 2006 6:45 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] SSL handshake error > > Last week we installed the NRPE daemon on a Solaris 10 server but have had > trouble configuring it to monitor anything more sophisticated than a basic > "Host Alive" check. Remote checks show up in the console with a status of > "unknown" with the error message: > > "CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs > for error messages. " > > Checking the error log on the remote server reveals the following: > > user at host=> dmesg | grep nrpe | tail -1 > Dec 19 08:45:40 txopprd1 nrpe[27334]: [ID 813741 daemon.error] Error: > Could not complete SSL handshake. 1 > Any clues? Thanks in advance... > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at codestorm.org Tue Dec 19 22:31:25 2006 From: craig at codestorm.org (Craig Van Tassle) Date: Tue, 19 Dec 2006 15:31:25 -0600 Subject: Getting pie charts in host's history Message-ID: <45885A2D.4030205@codestorm.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 My boss wants to be able to look at pie charts when ever we are looking at history for various services. So far I have only been able to get a bar graph that is showing the uptime and down time, but not I have not been able to get a pie chart to display. I am using ubuntu 6.10, with nagios 2.4 Any help or though would be appreciated. Craig -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFiFotAOTIJ89W4sIRAgbGAJ4geQOzBNgIurspehrapp3THi8xbgCfUGR9 UaNr+RnEzArd6nsNTasN7fM= =S0Pg -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 20 00:02:12 2006 From: az at whoever.org (Az) Date: Wed, 20 Dec 2006 09:02:12 +1000 Subject: Getting pie charts in host's history In-Reply-To: <45885A2D.4030205@codestorm.org> References: <45885A2D.4030205@codestorm.org> Message-ID: <45886F74.1000605@whoever.org> Craig Van Tassle wrote: > My boss wants to be able to look at pie charts when ever we are looking at > history for various services. So far I have only been able to get a bar graph > that is showing the uptime and down time, but not I have not been able to get a > pie chart to display. > > I am using ubuntu 6.10, with nagios 2.4 > > Any help or though would be appreciated. By bar graph I assume you mean the one on 'View Trends For This Service' (which doesnt look very bar-ish when its all one colour ;) ). There is no pie chart in the version I am running (v2.1) nor in the doco (http://nagios.sourceforge.net/docs/2_0/cgis.html). You can either export the data in CSV format from the Availability Report and process it yourself, or write your own CGI. Or do as I do... tell your boss how to get the raw data and they can spend all day making purty charts while you can spend your day doing more productive things like keeping things running. ;) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Dec 20 01:06:09 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 20 Dec 2006 13:06:09 +1300 Subject: URGENT REPOST: CHECK_NRPE: Received 0 bytes fromdaemon ErrorMessage In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679AAA@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679AAA@PHSXMB5.partners.org> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2689CAA@UXCHANGE3.UoA.auckland.ac.nz> I would say that you need to use inetd, OR an init.d script, but not both. If you try to then you'll get errors when they try and start up. Your 'unable to read output' error seems to indicate that you have a timeout. I don't know what plugin you are attempting to run remotely, but check to make sure that the timeout on check_nrpe (A), on the nrpe.cfg file (B) and for the remotely run plugin (C) are set as C -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Wed Dec 20 03:17:17 2006 From: dtownrobbrown at gmail.com (Rob Brown) Date: Tue, 19 Dec 2006 18:17:17 -0800 Subject: monitoring streaming In-Reply-To: <1166125586.11007.20.camel@localhost> References: <1166125586.11007.20.camel@localhost> Message-ID: You can use the check_real plugin to test basic connectivity to a WMS server: ./check_real -H hostname -u /industrial.wmv On 12/14/06, Marcel Mitsuto Fucatu Sugano wrote: > Does anyone knows of a plugin to monitor windows media services > streamings, by emulating a user who watches a sample movie? I mean, by > connecting and evaluating if the server is responding correctly? > > TIA, > Marcel > > > AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. > > NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Wed Dec 20 03:44:41 2006 From: dtownrobbrown at gmail.com (Rob Brown) Date: Tue, 19 Dec 2006 18:44:41 -0800 Subject: Using $ in password In-Reply-To: <014201c71e95$5ab65e50$1d8e79a3@kareemdesktop> References: <01e401c71e26$ab799150$1d8e79a3@kareemdesktop> <1742D444-86A4-49F6-A198-7267D6F142A3@cisco.com> <014201c71e95$5ab65e50$1d8e79a3@kareemdesktop> Message-ID: I ran into a similar issue when using the check_snmp plugin and my ultimate solution was to write a small wrapper shell script with the password hard coded in it and call that as your check command. Example one line script called check_httpp check_http -p $1 -I $2 -t 120 -a username:passsword then define your check command: define command{ command_name check_httpp command_line $USER1$/check_httpp $ARG1$ $HOSTADDRESS$ } then define your service: define service{ use generic-service host_name XXXX service_description YYY contact_groups ZZZ check_command check_httpp!61002 } On 12/13/06, Kareem Mahgoub wrote: > Thanks again for every one replied to me. > I tired all what was suggested, yet nothing is working. > I want to add something, when I add quotes on the password and run the > command and it worked but when nagios parse the config file it didn't work, > showing on the web interface "HTTP WARNING: HTTP/1.0 401 Unauthorized" > Changing the password will be my last option cause there are hundreds of > devices with password having the "$" character > Thanks all for your help > ----- Original Message ----- > From: "Mike Holloway" > To: > Sent: Wednesday, December 13, 2006 12:07 AM > Subject: Re: [Nagios-users] Using $ in password > > > > In checkcommands.cfg, try wrapping ARG3 in single quotes on the > command_line. From experience, you are better off changing the > password to not use a $ character. > > > # 'check_httpp' command definition > define command{ > command_name check_httpp > command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t > 120 -a '$ARG3$' > > > -mike > > > > > > > On Dec 12, 2006, at 1:49 PM, Kareem Mahgoub wrote: > > > Thanks for all who replied to me, but unfortunately the three > > solutions > > didn't work. > > Kindly if anyone has other ideas, post it. > > Regards > > ----- Original Message ----- > > From: > > To: > > Sent: Tuesday, December 12, 2006 9:28 PM > > Subject: Re: [Nagios-users] Using $ in password > > > > > >> Normally, doubling the $ sign and eclosing the statement in single > >> quotes > >> works fine. > >> > >> check_command check_httpp!61002!192.168.1.4!:'33$$77' > >> > >> > > ______________________________________________________________________ > > ______ > > ___ > >> > >> Jason Shein > >> Network Administrator ? Linux Systems > >> Iovate Health Sciences Inc. > >> 5100 Spectrum Way > >> Mississauga, ON L4W 5S2 > >> ( 905 ) - 678 - 3119 x 3136 > >> 1 - 888 - 334 - 4448, x 3136 (toll-free) > >> jason.shein at iovate.com > >> > >> Customer Service. Collaboration. Innovation. Efficiency. > >> Iovate's Information Technology Team > >> > >> > > ______________________________________________________________________ > > ______ > > ___ > >> > >> CONFIDENTIALITY NOTICE: > >> THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL > >> AND IS > >> INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > >> THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS > >> DISCLOSED > >> TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > >> OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN > >> CONSENT > >> OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. > >> IF YOU > >> HAVE > >> RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > >> TO THE SENDER. > >> > > ______________________________________________________________________ > > ______ > > ___ > >> > >> > >> > >> "Kareem Mahgoub" > >> Sent by: nagios-users-bounces at lists.sourceforge.net > >> 12/12/2006 02:10 PM > >> > >> To > >> > >> cc > >> > >> Subject > >> [Nagios-users] Using $ in password > >> > >> > >> > >> > >> > >> > >> Dear All, > >> > >> I have a simple question. What should I do to include the > >> character $ as > >> one > >> of the password characters in the check command? > >> > >> Here are some required information: > >> > >> 1- OS FC 5 > >> > >> 2- kernel 2.6.18-1 > >> > >> 3- Nagios version 2.5 > >> > >> 4- The command definition > >> > >> # 'check_httpp' command definition > >> define command{ > >> command_name check_httpp > >> command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t > >> 120 -a > >> $ARG3$ > >> } > >> 5- The service configuration > >> > >> define service{ > >> use generic-service > >> host_name XXXX > >> service_description YYY > >> contact_groups ZZZ > >> check_command check_httpp!61002!192.168.1.4!:33$77 > >> } > >> When I execute the command manually it works. > >> > >> Any help will be much appreciated > >> > >> Regards > >> > >> > >> --------------------------------------------------------------------- > >> ---- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to > >> share > >> your > >> opinions on IT & business topics through brief surveys - and earn > >> cash > >> http://www.techsay.com/default.php? > >> page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/ > >> null > >> > >> > >> --------------------------------------------------------------------- > >> ---- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to > >> share > > your > >> opinions on IT & business topics through brief surveys - and earn > >> cash > >> http://www.techsay.com/default.php? > >> page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/ > >> null > > > > > > ---------------------------------------------------------------------- > > --- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php? > > page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From herman_ang at toyota.co.id Wed Dec 20 07:42:39 2006 From: herman_ang at toyota.co.id (Herman (ISTD)) Date: Wed, 20 Dec 2006 13:42:39 +0700 Subject: Server/Router with more than 1 interface Message-ID: Hi Hugo, thank you very much for your suggestion. Currently, I do the same thing with : define command{ command_name check_interface command_line $USER1$/check_snmp_cisco_ifstatus -H $HOSTADDRESS$ -C $ARG1$ -i $ARG2$ } However, is it possible to change HOST status in Status Map to "DOWN" if one of the ip address could not be contacted ? Best Regards, Herman > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Tuesday, December 19, 2006 9:01 PM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] Server/Router with more than 1 interface > > On Tue, 19 Dec 2006, Herman (ISTD) wrote: > > > I have some servers and routers that have more than 1 interface, and > > each interface has IP Address. I would like define a host is alive if > > all of its interface ip address are available via check_ping. > > > > So I define as following, but if I shut down the interface with ip > > 10.254.8.2. Nagios still think the host as alive, since Nagios just > > detect the IP 10.16.20.120 as the indicator of the host. Any workaround > > to make Nagios aware of both IP Addresses/IP Address ? Any suggestion > > will be highly appreciated. > > This is one of those rare cases where host dependencies may come into > play. > > But I would add the interfaces as PING service to the host or use SNMP to > check the real interface status. Something like: > > # 'check_snmp_int' command definition define command{ > command_name check_snmp_int > command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C > $ARG1$ -n $ARG2$ > } > > Getting the proper interface names can be a daunting task with some > routers. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > This message is using 100% recycled electrons. > > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Wed Dec 20 08:56:05 2006 From: jlongland at grintek.com (John Longland) Date: Wed, 20 Dec 2006 09:56:05 +0200 Subject: New condiguration not loading Message-ID: <97DAFA85DDDB9D4CA206918E0375033E02CDBC@Jupiter.Grintel.com> Hi all !!! Just saw something very weird for the first time since I have installed my distributed Nagios system ( 2.4 ). ( Running on CentOS4.0 ) I needed to take out 2 hosts. But after taking them out of my minimal.cfg and restarting nagios, I still see that these hosts are been scanned ! Do I need to remove another file ?? Thanks ! John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duke at sigsegv.at Wed Dec 20 09:35:59 2006 From: duke at sigsegv.at (Thomas Hager) Date: Wed, 20 Dec 2006 09:35:59 +0100 Subject: New condiguration not loading In-Reply-To: <97DAFA85DDDB9D4CA206918E0375033E02CDBC@Jupiter.Grintel.com> References: <97DAFA85DDDB9D4CA206918E0375033E02CDBC@Jupiter.Grintel.com> Message-ID: <1166603759.11070.4.camel@localhost.localdomain> On Wed, 2006-12-20 at 09:56 +0200, John Longland wrote: > Hi all !!! hi, > I needed to take out 2 hosts. But after taking them out of my > minimal.cfg and > restarting nagios, I still see that these hosts are been scanned ! > Do I need to remove another file ?? no. check for hanging nagios processes that are not killed when nagios is restarted. hth, tom. -- Thomas "Duke" Hager duke at sigsegv.at GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg ================================================================= "Never Underestimate the Power of Stupid People in Large Groups." -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Dec 20 10:07:32 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 20 Dec 2006 10:07:32 +0100 (CET) Subject: Server/Router with more than 1 interface In-Reply-To: References: Message-ID: On Wed, 20 Dec 2006, Herman (ISTD) wrote: > Hi Hugo, thank you very much for your suggestion. > > Currently, I do the same thing with : > > define command{ > command_name check_interface > command_line $USER1$/check_snmp_cisco_ifstatus -H > $HOSTADDRESS$ -C $ARG1$ -i $ARG2$ > } > > However, is it possible to change HOST status in Status Map to "DOWN" if > one of the ip address could not be contacted ? Be creative. Make dummy hosts using snmp as host check and base your topology (parent) on that. Nagios --> router --> link --> router --> host To which router interface you need to assign this dummy link host is left as an exercise for the reader. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 20 10:15:31 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 20 Dec 2006 10:15:31 +0100 (CET) Subject: New condiguration not loading In-Reply-To: <97DAFA85DDDB9D4CA206918E0375033E02CDBC@Jupiter.Grintel.com> References: <97DAFA85DDDB9D4CA206918E0375033E02CDBC@Jupiter.Grintel.com> Message-ID: On Wed, 20 Dec 2006, John Longland wrote: > Just saw something very weird for the first time since I have installed my > distributed > Nagios system ( 2.4 ). ( Running on CentOS4.0 ) > > I needed to take out 2 hosts. But after taking them out of my minimal.cfg > and > restarting nagios, I still see that these hosts are been scanned ! > Do I need to remove another file ?? Are you still using that file at all? Start at the top and follow the signs from your nagios,cfg And it is not recommended to use the restart option for the nagios service. The reload option does just fine for these purposes. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 20 10:28:40 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 20 Dec 2006 10:28:40 +0100 (CET) Subject: GD2 and Nagios? It works for me. Message-ID: Hi, I recall having seen some remarks on the GD2 support of Nagios when installed throug DAG's packages. Well it works for me. Added a config line to nagios.cfg like: cfg_dir=/etc/nagios/host-extinfo Then filled this directory with config files for my hosts. For example: define hostextinfo { host_name anfalas # icon_image symbols/dsl.png icon_image imagepak-cook/dsl_router.png icon_image_alt Cisco 836 / IOS 12.3 # statusmap_image symbols/dsl.gd2 statusmap_image imagepak-cook/dsl_router.gd2 } I installed the load of image paks from nagiosexchange as individual directories under /usr/share/nagios/images/logos Nothing to it, in fact. Just noticed with the last snapshot I never did put in the pictures. So I went in and added them this way. Old drawing: http://hvdkooij.xs4all.nl/statusmap-20061219.png New drawing: http://hvdkooij.xs4all.nl/statusmap-20061220.png Just make sure you get them gd2 images. I had to creat one or two of them myself using the pngtogd2 tool. (`pngtogd2 ....png ....gd2 0 1` did the trick for me.) Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmahgoub at gmail.com Wed Dec 20 10:50:06 2006 From: kmahgoub at gmail.com (Kareem Mahgoub) Date: Wed, 20 Dec 2006 11:50:06 +0200 Subject: Using $ in password References: <01e401c71e26$ab799150$1d8e79a3@kareemdesktop> <1742D444-86A4-49F6-A198-7267D6F142A3@cisco.com> <014201c71e95$5ab65e50$1d8e79a3@kareemdesktop> Message-ID: <010801c7241c$3cd402c0$0200a8c0@kareemdesktop> Thanks Rob for your help. I went with the easy way and convinced the other side to change the password, but I will give it a try in my network. Thanks again Regards, Kareem Mahgoub ----- Original Message ----- From: "Rob Brown" To: "Kareem Mahgoub" Cc: Sent: Wednesday, December 20, 2006 4:44 AM Subject: Re: [Nagios-users] Using $ in password I ran into a similar issue when using the check_snmp plugin and my ultimate solution was to write a small wrapper shell script with the password hard coded in it and call that as your check command. Example one line script called check_httpp check_http -p $1 -I $2 -t 120 -a username:passsword then define your check command: define command{ command_name check_httpp command_line $USER1$/check_httpp $ARG1$ $HOSTADDRESS$ } then define your service: define service{ use generic-service host_name XXXX service_description YYY contact_groups ZZZ check_command check_httpp!61002 } On 12/13/06, Kareem Mahgoub wrote: > Thanks again for every one replied to me. > I tired all what was suggested, yet nothing is working. > I want to add something, when I add quotes on the password and run the > command and it worked but when nagios parse the config file it didn't work, > showing on the web interface "HTTP WARNING: HTTP/1.0 401 Unauthorized" > Changing the password will be my last option cause there are hundreds of > devices with password having the "$" character > Thanks all for your help > ----- Original Message ----- > From: "Mike Holloway" > To: > Sent: Wednesday, December 13, 2006 12:07 AM > Subject: Re: [Nagios-users] Using $ in password > > > > In checkcommands.cfg, try wrapping ARG3 in single quotes on the > command_line. From experience, you are better off changing the > password to not use a $ character. > > > # 'check_httpp' command definition > define command{ > command_name check_httpp > command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t > 120 -a '$ARG3$' > > > -mike > > > > > > > On Dec 12, 2006, at 1:49 PM, Kareem Mahgoub wrote: > > > Thanks for all who replied to me, but unfortunately the three > > solutions > > didn't work. > > Kindly if anyone has other ideas, post it. > > Regards > > ----- Original Message ----- > > From: > > To: > > Sent: Tuesday, December 12, 2006 9:28 PM > > Subject: Re: [Nagios-users] Using $ in password > > > > > >> Normally, doubling the $ sign and eclosing the statement in single > >> quotes > >> works fine. > >> > >> check_command check_httpp!61002!192.168.1.4!:'33$$77' > >> > >> > > ______________________________________________________________________ > > ______ > > ___ > >> > >> Jason Shein > >> Network Administrator ? Linux Systems > >> Iovate Health Sciences Inc. > >> 5100 Spectrum Way > >> Mississauga, ON L4W 5S2 > >> ( 905 ) - 678 - 3119 x 3136 > >> 1 - 888 - 334 - 4448, x 3136 (toll-free) > >> jason.shein at iovate.com > >> > >> Customer Service. Collaboration. Innovation. Efficiency. > >> Iovate's Information Technology Team > >> > >> > > ______________________________________________________________________ > > ______ > > ___ > >> > >> CONFIDENTIALITY NOTICE: > >> THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL > >> AND IS > >> INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > >> THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS > >> DISCLOSED > >> TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > >> OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN > >> CONSENT > >> OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. > >> IF YOU > >> HAVE > >> RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > >> TO THE SENDER. > >> > > ______________________________________________________________________ > > ______ > > ___ > >> > >> > >> > >> "Kareem Mahgoub" > >> Sent by: nagios-users-bounces at lists.sourceforge.net > >> 12/12/2006 02:10 PM > >> > >> To > >> > >> cc > >> > >> Subject > >> [Nagios-users] Using $ in password > >> > >> > >> > >> > >> > >> > >> Dear All, > >> > >> I have a simple question. What should I do to include the > >> character $ as > >> one > >> of the password characters in the check command? > >> > >> Here are some required information: > >> > >> 1- OS FC 5 > >> > >> 2- kernel 2.6.18-1 > >> > >> 3- Nagios version 2.5 > >> > >> 4- The command definition > >> > >> # 'check_httpp' command definition > >> define command{ > >> command_name check_httpp > >> command_line $USER1$/check_http -p $ARG1$ -I $ARG2$ -t > >> 120 -a > >> $ARG3$ > >> } > >> 5- The service configuration > >> > >> define service{ > >> use generic-service > >> host_name XXXX > >> service_description YYY > >> contact_groups ZZZ > >> check_command check_httpp!61002!192.168.1.4!:33$77 > >> } > >> When I execute the command manually it works. > >> > >> Any help will be much appreciated > >> > >> Regards > >> > >> > >> --------------------------------------------------------------------- > >> ---- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to > >> share > >> your > >> opinions on IT & business topics through brief surveys - and earn > >> cash > >> http://www.techsay.com/default.php? > >> page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/ > >> null > >> > >> > >> --------------------------------------------------------------------- > >> ---- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to > >> share > > your > >> opinions on IT & business topics through brief surveys - and earn > >> cash > >> http://www.techsay.com/default.php? > >> page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/ > >> null > > > > > > ---------------------------------------------------------------------- > > --- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php? > > page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 20 11:03:31 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 Dec 2006 11:03:31 +0100 Subject: MRTG link to a specific host. In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3019C36C0@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A3019C36C0@mtlexchange.Duocom.local> Message-ID: <45890A73.1050105@op5.se> Antonio Pereira wrote: > Hello, > > > > I have Nagios 2.6 installed and I have mrtg 2.13.2 installed and > working. > > > > I would like to create a icon or link that within Nagiso that when you > click on the link that it will go to the mrtg page that I created. > Sounds like a sensible idea. Best of luck. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Wed Dec 20 11:37:11 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Wed, 20 Dec 2006 11:37:11 +0100 Subject: MRTG link to a specific host. Message-ID: Hi There is a nice Addon from http://ederdrom.de/doku.php/nagios/pnp_en PNP is a tool that produces graphs from performance data from from Nagios plugins. On the otherhand you have to config your serviceextinfo.cfg define serviceextinfo { host_name SRV04SQL service_description CPQ-ARRAY-53XX notes_url BLaBla http://servername/snmp/srv04array.php !!! just an example !!! icon_image devices.gif icon_image_alt Inforamtion - Array - Disk } /J?rg Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http://www.systeam.se -----Ursprungligt meddelande----- Fr?n: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] F?r ae at op5.se Skickat: den 20 december 2006 11:04 Till: apereira at duocom.ca Kopia: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] MRTG link to a specific host. Antonio Pereira wrote: > Hello, > > > > I have Nagios 2.6 installed and I have mrtg 2.13.2 installed and > working. > > > > I would like to create a icon or link that within Nagiso that when you > click on the link that it will go to the mrtg page that I created. > Sounds like a sensible idea. Best of luck. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From azoecalvo at yahoo.com.ar Wed Dec 20 13:06:32 2006 From: azoecalvo at yahoo.com.ar (Alicia Calvo) Date: Wed, 20 Dec 2006 09:06:32 -0300 (ART) Subject: start Nagios Message-ID: <20061220120632.71699.qmail@web33007.mail.mud.yahoo.com> Hello, I have a problen with started Nagios. When I start at /etc/rc.d/init.d/nagios start, it display this msgs 'Permiso denegado' . (I'm root). You have any idea?. This configuration for http is OK, .htaccess and input with nagiosadmin is OK too. Thanks, AC __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! ?Abr? tu cuenta ya! - http://correo.yahoo.com.ar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Dec 20 13:21:32 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 20 Dec 2006 12:21:32 +0000 Subject: start Nagios In-Reply-To: <20061220120632.71699.qmail@web33007.mail.mud.yahoo.com> References: <20061220120632.71699.qmail@web33007.mail.mud.yahoo.com> Message-ID: <45892ACC.2020005@mailnetwork.co.uk> What are the permissions on /etc/rc.d/init.d/nagios? You may need to set the execute bit (chmod u+x /etc/rc.d/init.d/nagios) Alicia Calvo wrote: > Hello, I have a problen with started Nagios. When I start at > /etc/rc..d/init.d/nagios start, it display this msgs 'Permiso > denegado' . (I'm root). You have any idea?. This configuration for > http is OK, .htaccess and > input with nagiosadmin is OK too. > > Thanks, AC > > __________________________________________________ > Correo Yahoo! > Espacio para todos tus mensajes, antivirus y antispam ?gratis! > ?Abr? tu cuenta ya! - http://correo.yahoo.com.ar > !DSPAM:37,4589286a30863272510596! > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,4589286a30863272510596! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,4589286a30863272510596! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edalb1979 at gmail.com Wed Dec 20 13:36:01 2006 From: edalb1979 at gmail.com (edalB) Date: Wed, 20 Dec 2006 14:36:01 +0200 Subject: Error: Could not read host and service status information! Message-ID: Hi all. I have nagios web intarface up and running and have nagios deamon up and running 100% But the web interface keeps on giving me the following error. Error: Could not read host and service status information! I have gotten nagios to work on my local test bed and was pritty simple to get it up and running. I used the following tutoria. http://gentoo-wiki.com/HOWTO_Install_Nagios When starting up nagios it started up with no error at all. I know nagios is running -------- mon-0 nagios # ps -aux|grep nagios Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html nagios 17996 0.0 0.9 7076 2424 ? Ss 14:17 0:00 /usr/nagios/bin/nagios -d /etc/nagios/nagios.cfg root 18238 0.0 0.1 1520 452 pts/1 R+ 14:33 0:00 grep nagios Any advice would be apriciated. Regards ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mha at cm4all.com Wed Dec 20 13:45:05 2006 From: mha at cm4all.com (Matthias) Date: Wed, 20 Dec 2006 13:45:05 +0100 Subject: check_disk Message-ID: hello, i am wondering about the output of the check_disk plugins: on the ext3 partition is 38% of inodes used: # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 9.2G 3.3G 5.5G 38% / but the check_disk plugins says the parttion has less than 5% inodes free: # /usr/lib/nagios/plugins/check_disk --icritical=5% -p /;echo $? DISK CRITICAL - free space: / 5568 MB (62% inode=69%);| / =3343MB;-2147483648;-2147483648;0;9388 2 the version i am using is 1.78 # /usr/lib/nagios/plugins/check_disk --version check_disk (nagios-plugins 1.4.4) 1.78 thanks, matthias ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loco at d0pefish.de Wed Dec 20 13:52:34 2006 From: loco at d0pefish.de (Peter Hinse) Date: Wed, 20 Dec 2006 13:52:34 +0100 Subject: check_disk In-Reply-To: References: Message-ID: <45893212.8070405@d0pefish.de> Matthias wrote: > hello, > > i am wondering about the output of the check_disk plugins: > on the ext3 partition is 38% of inodes used: > > # df -h > Filesystem Size Used Avail Use% Mounted on > /dev/sda2 9.2G 3.3G 5.5G 38% / > > > but the check_disk plugins says the parttion has less than 5% inodes > free: > > # /usr/lib/nagios/plugins/check_disk --icritical=5% -p /;echo $? > DISK CRITICAL - free space: / 5568 MB (62% inode=69%);| / > =3343MB;-2147483648;-2147483648;0;9388 > 2 df -i will list the use of inodes instead of used blocks. Regards, Peter ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 20 14:16:47 2006 From: marc at ena.com (Marc Powell) Date: Wed, 20 Dec 2006 07:16:47 -0600 Subject: start Nagios Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alicia Calvo > Sent: Wednesday, December 20, 2006 6:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] start Nagios > > Hello, I have a problen with started Nagios. When I start at > /etc/rc.d/init.d/nagios start, it display this msgs 'Permiso denegado' . > (I'm root). You have any idea?. This configuration for http is OK, > .htaccess and > input with nagiosadmin is OK too. Make sure that all files and directories that you've specified Nagios to write data to in Nagios.cfg (log files, pid file, archive files, etc) are writeable by the Nagios user. Try executing the startup script in a more verbose manner by running 'sh -x /etc/rd.c/init.d/Nagios start'. That may provide a clue as to what specific file Nagios is not able to create. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 20 15:55:36 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 20 Dec 2006 15:55:36 +0100 (CET) Subject: Error: Could not read host and service status information! In-Reply-To: References: Message-ID: On Wed, 20 Dec 2006, edalB wrote: > I used the following tutoria. > > http://gentoo-wiki.com/HOWTO_Install_Nagios > > When starting up nagios it started up with no error at all. Follow the manual instead and see what you did forget to do. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 20 16:06:56 2006 From: marc at ena.com (Marc Powell) Date: Wed, 20 Dec 2006 09:06:56 -0600 Subject: Error: Could not read host and service statusinformation! Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of edalB > Sent: Wednesday, December 20, 2006 6:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error: Could not read host and service > statusinformation! > > Hi all. > > I have nagios web intarface up and running and have nagios deamon up > and running 100% > > But the web interface keeps on giving me the following error. > Error: Could not read host and service status information! I don't have any specific experience with Gentoo but generally, make sure that the user your web server runs as has read permission for the nagios var directory and the files within it (status_file location in nagios.cfg). Make sure the status_file is being populated with data. Look for errors in nagios.log (log_file in nagios.cfg). -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mha at cm4all.com Wed Dec 20 16:11:41 2006 From: mha at cm4all.com (Matthias Haider) Date: Wed, 20 Dec 2006 16:11:41 +0100 Subject: check_disk inode bug Message-ID: <489A0C24-599F-418F-AF5B-B6A9BA90C01E@cm4all.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello again, i am trying to check the inode usage of a partition , where df -ih says there are 31% of inodes used, but check_disk exits with CRITICAL when setting --icritical to 5%: ~# /usr/lib/nagios/plugins/check_disk -vvv --icritical 5% / For /, used_pct=38 free_pct=62 used_units=3344 free_units=5567 total_units=9388 used_inodes_pct=31 Freespace_units result=0 Freespace% result=0 Usedspace_units result=0 Usedspace_percent result=0 Usedinodes_percent result=2 DISK CRITICAL - free space: / 5567 MB (62% inode=69%);| / =3344MB;-2147483648;-2147483648;0;9388 why is Usedinodes_percent result=2 when used_inodes_pct=31 and the critical threshosd is 5% ??? is this a bug? thanks, Matthias -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFiVKuzSQdV7jRRyURAuf4AJ9JAmuAakZ47Aiv4S8kV0O1kgR5WQCfXyqU hF6JMqLb1wTkumcyqwEKK4I= =+d2+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 20 16:13:27 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 20 Dec 2006 16:13:27 +0100 (CET) Subject: check_disk In-Reply-To: References: Message-ID: On Wed, 20 Dec 2006, Matthias wrote: > i am wondering about the output of the check_disk plugins: > on the ext3 partition is 38% of inodes used: > > # df -h > Filesystem Size Used Avail Use% Mounted on > /dev/sda2 9.2G 3.3G 5.5G 38% / That will be disk blocks, not inodes (See the df manual page) > but the check_disk plugins says the parttion has less than 5% inodes > free: > > # /usr/lib/nagios/plugins/check_disk --icritical=5% -p /;echo $? > DISK CRITICAL - free space: / 5568 MB (62% inode=69%);| / > =3343MB;-2147483648;-2147483648;0;9388 > 2 The help page seems to indicate this is a check on free space. But it seems to act more like used space. But a quick check here seems to indicate it is not doing any sane check on inodes at all. Regardless of how I run it I see some bogus values in the output: $ /usr/lib/nagios/plugins/check_disk -K 99% -p /var DISK OK - free space: /var 52274 MB (82% inode=98%);| /var=10724MB;-2147483648;-2147483648;0;66370 So I think it is safe to assume the plugin is in fact broken. But unless you have a very specific application capable of creating loads of tiny files on your system you are unlikely to run out of inodes. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 20 16:28:45 2006 From: marc at ena.com (Marc Powell) Date: Wed, 20 Dec 2006 09:28:45 -0600 Subject: check_disk inode bug Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Matthias Haider > Sent: Wednesday, December 20, 2006 9:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_disk inode bug > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > hello again, > > i am trying to check the inode usage of a partition , where df -ih > says there are 31% of inodes used, but > check_disk exits with CRITICAL when setting --icritical to 5%: > > > ~# /usr/lib/nagios/plugins/check_disk -vvv --icritical 5% / > For /, used_pct=38 free_pct=62 used_units=3344 free_units=5567 > total_units=9388 used_inodes_pct=31 > Freespace_units result=0 > Freespace% result=0 > Usedspace_units result=0 > Usedspace_percent result=0 > Usedinodes_percent result=2 > DISK CRITICAL - free space: / 5567 MB (62% inode=69%);| / > =3344MB;-2147483648;-2147483648;0;9388 > > > why is Usedinodes_percent result=2 when used_inodes_pct=31 and the > critical threshosd is 5% ??? > > is this a bug? I was just looking at this and I believe that it is, at least for your OS/partition type/plugin version combination. Check_disk doesn't use df but rather system calls directly via popen.c. Maybe something is wrong there. The clue is that your results are incorrect both in your performance data and in your verbose output indicating that it's might be getting either incorrect or no parseable information back from the system calls. I'd try the CVS version to make sure that it isn't something that's corrected, and if that doesn't work, bounce the question over to nagios-plugins, providing the information above as well as your OS/version and filesystem type you are checking. They'll be more familiar with the internal workings of the plugin. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 20 16:34:48 2006 From: marc at ena.com (Marc Powell) Date: Wed, 20 Dec 2006 09:34:48 -0600 Subject: check_disk Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Wednesday, December 20, 2006 9:13 AM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] check_disk > [chop] > Regardless of how I run it I see some bogus values in the output: > > $ /usr/lib/nagios/plugins/check_disk -K 99% -p /var > DISK OK - free space: /var 52274 MB (82% inode=98%);| /var=10724MB;- > 2147483648;-2147483648;0;66370 > > So I think it is safe to assume the plugin is in fact broken. But unless > you have a very specific application capable of creating loads of tiny > files on your system you are unlikely to run out of inodes. 1.64 (from plugins-1.4.3) works successfully here (RHAS3.7 checking an ext3 formatted LVM partition) -- $ ./check_disk --version check_disk (nagios-plugins 1.4.3) 1.64 $ ./check_disk --icritical 91% / DISK CRITICAL - free space: / 2546 MB (32% inode=90%);| /=5328MB;7874;7874;89;7874 $ ./check_disk --icritical 1% / DISK OK - free space: / 2546 MB (32% inode=90%);| /=5328MB;7874;7874;89;7874 -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Wed Dec 20 16:50:42 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Wed, 20 Dec 2006 10:50:42 -0500 Subject: MRTG link to a specific host. In-Reply-To: References: Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3019C3AFF@mtlexchange.Duocom.local> Hi, I have added the link to mrtg in the hosts.cfg file and created a hostsextinfo and it works. Is there a reason why created a sdreviceextinfo.cfg file. Is this more for organization purposes or is this required for the pnp tool that you referred to? -----Original Message----- From: Jorg.Schulz at systeam.se [mailto:Jorg.Schulz at systeam.se] Sent: December 20, 2006 5:37 AM To: Antonio Pereira Cc: nagios-users at lists.sourceforge.net Subject: SV: [Nagios-users] MRTG link to a specific host. Hi There is a nice Addon from http://ederdrom.de/doku.php/nagios/pnp_en PNP is a tool that produces graphs from performance data from from Nagios plugins. On the otherhand you have to config your serviceextinfo.cfg define serviceextinfo { host_name SRV04SQL service_description CPQ-ARRAY-53XX notes_url BLaBla http://servername/snmp/srv04array.php !!! just an example !!! icon_image devices.gif icon_image_alt Inforamtion - Array - Disk } /J?rg Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http://www.systeam.se -----Ursprungligt meddelande----- Fr?n: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] F?r ae at op5.se Skickat: den 20 december 2006 11:04 Till: apereira at duocom.ca Kopia: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] MRTG link to a specific host. Antonio Pereira wrote: > Hello, > > > > I have Nagios 2.6 installed and I have mrtg 2.13.2 installed and > working. > > > > I would like to create a icon or link that within Nagiso that when you > click on the link that it will go to the mrtg page that I created. > Sounds like a sensible idea. Best of luck. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourcefo