From mikeh at muppetlabs.com Sun Apr 1 03:12:53 2007 From: mikeh at muppetlabs.com (Mike Hamrick) Date: Sat, 31 Mar 2007 18:12:53 -0700 Subject: Which tool is best for me: Nagios, OpenNMS, or something else? In-Reply-To: <26face530703311109p556d612bje259cc0b0d2f2fff@mail.gmail.com> (kelly.terry.jones@gmail.com) References: <26face530703311109p556d612bje259cc0b0d2f2fff@mail.gmail.com> Message-ID: <200704010112.l311Cr0X008390@muppetlabs.com> I can't speak for OpenNMS, but I think for Nagios the answer for a lot of your questions is going to be: "There isn't a way of doing this with the standard nagios plugin package, but someone has probably written a plugin that does this, check the Nagios Exchange site." > % Confirm each machine is up/pingable/reachable [obviously!] Obviously. > % nmap each machine to make sure correct ports (varies by machine) and > no others are open This isn't a standard nagios plugin, however somebody has a plugin that does this, a quick google search found: http://ubermonkey.wordpress.com/2006/09/28/nagios-nmap-plugin/ > % Not all tests all the time: some tests should run less frequently > (reduce the load); You can define the check_interval on a service by service basis. > % For machines running httpd, download several pages, diff to last > copies of these pages, report "big" differences... I'm guessing you'll have to code this plugin yourself in nagios. > % For machines running sendmail, send a test email to one of the other > machines running sendmail, which then confirms receipt; alert if not > received. Also do other mail routing/delivery tests. This is becomming a frequently asked question on this list. Various people have written plugins to do this, but it's been my experience that most people who need this end up writing their own. > % For machines running popd/imapd, simulate login to confirm > authentication is working (popd/imapd auth isn't always local for us) See default answer. A quick google search found this page, which confirms authentication on pop/imap. http://www.jhweiss.de/software/nagios.html > % Monitor files in /etc (eg, passwd, shadow, crontab) for changes. You could do this with tripwire and then write a plugin that reads the snmp trap, or trap logfile. > % Ideally, the "something bad has happened" reporting can be > configured-- it may be OK for "mailq -v" to be large for 10-15 > minutes, but not for 30 minutes (for example). You can do this with nagios. You can check every five minutes and not go to a hard failure state until the check has failed six times. Mike ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Apr 1 03:45:34 2007 From: knobdy at gmail.com (Brian Loe) Date: Sat, 31 Mar 2007 20:45:34 -0500 Subject: Which tool is best for me: Nagios, OpenNMS, or something else? In-Reply-To: <200704010112.l311Cr0X008390@muppetlabs.com> References: <26face530703311109p556d612bje259cc0b0d2f2fff@mail.gmail.com> <200704010112.l311Cr0X008390@muppetlabs.com> Message-ID: <3c4611bc0703311845v796a5161qf9af6c6947584c4c@mail.gmail.com> On 3/31/07, Mike Hamrick wrote: > > % For machines running httpd, download several pages, diff to last > > copies of these pages, report "big" differences... > > I'm guessing you'll have to code this plugin yourself in nagios. Wget pages, diff previous version...blah? Sounds easy enough. I think I'd appreciate the plugin myself! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 10:32:43 2007 From: stava at telcotec.se (Lars Stavholm) Date: Sun, 01 Apr 2007 10:32:43 +0200 Subject: Which tool is best for me: Nagios, OpenNMS, or something else? In-Reply-To: <200704010112.l311Cr0X008390@muppetlabs.com> References: <26face530703311109p556d612bje259cc0b0d2f2fff@mail.gmail.com> <200704010112.l311Cr0X008390@muppetlabs.com> Message-ID: <460F6E2B.2040001@telcotec.se> Mike Hamrick wrote: > I can't speak for OpenNMS, but I think for Nagios the answer for a lot > of your questions is going to be: > > "There isn't a way of doing this with the standard nagios plugin > package, but someone has probably written a plugin that does this, > check the Nagios Exchange site." > >> % Confirm each machine is up/pingable/reachable [obviously!] > > Obviously. > >> % nmap each machine to make sure correct ports (varies by machine) and >> no others are open > > This isn't a standard nagios plugin, however somebody has a plugin that > does this, a quick google search found: > > http://ubermonkey.wordpress.com/2006/09/28/nagios-nmap-plugin/ > >> % Not all tests all the time: some tests should run less frequently >> (reduce the load); > > You can define the check_interval on a service by service basis. > >> % For machines running httpd, download several pages, diff to last >> copies of these pages, report "big" differences... > > I'm guessing you'll have to code this plugin yourself in nagios. > >> % For machines running sendmail, send a test email to one of the other >> machines running sendmail, which then confirms receipt; alert if not >> received. Also do other mail routing/delivery tests. > > This is becomming a frequently asked question on this list. Various > people have written plugins to do this, but it's been my experience > that most people who need this end up writing their own. > >> % For machines running popd/imapd, simulate login to confirm >> authentication is working (popd/imapd auth isn't always local for us) > > See default answer. A quick google search found this page, which > confirms authentication on pop/imap. > > http://www.jhweiss.de/software/nagios.html > >> % Monitor files in /etc (eg, passwd, shadow, crontab) for changes. > > You could do this with tripwire and then write a plugin that reads > the snmp trap, or trap logfile. Or, you could use check_rootkit plugin from http://nagiosexchange.org and rkhunter from http://www.rootkit.nl (comes preinstalled on SuSE Linux 10.x). /Lars >> % Ideally, the "something bad has happened" reporting can be >> configured-- it may be OK for "mailq -v" to be large for 10-15 >> minutes, but not for 30 minutes (for example). > > You can do this with nagios. You can check every five minutes and > not go to a hard failure state until the check has failed six times. > > Mike ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly.terry.jones at gmail.com Mon Apr 2 02:14:34 2007 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Sun, 1 Apr 2007 17:14:34 -0700 Subject: Unnecessary host_name and for type loops/multiple check_commands? Message-ID: <26face530704011714q73107ebar45ebd9aa8b55b87b@mail.gmail.com> Thanks to everyone who suggested nagios-- I have now started using it... so here come the newbie questions... I'm paranoid that someone will attack my DNS providers, so I want to confirm my hostnames look up correctly. I wrote this command: ; this is different from check_dns define command { command_name confirm_dns command_line check_dns $ARG1$ -s 63.226.12.96 -a $ARG2$ } which confirms that a given hostname resolves to a given address using the public DNS server 63.226.12.96. Here's one service that checks this: define service { use service-defaults ; just a bunch of trivial defaults service_description DNS-HOST1 host_name localhost check_command confirm_dns!host1.mycompany.com!1.2.3.4 } My questions: % Is "host_name localhost" really necessary here? There's no reference to $HOSTADDRESS$ anywhere in confirm_dns, but if I don't define "host_name", nagios complains. % I want to check about 20 hostnames. % Any shortcut to writing 20 6-line "service" definitions? % Can I use a for loop or something? % Use multiple check_command's in a single service (doesn't seem to to work)? Of course, I can write a Perl one-liner or something to populate the config file, but that seems kludgey. Having looping behavior in the config file directly would be really useful for other reasons too. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dustin.berube at gmail.com Mon Apr 2 03:02:22 2007 From: dustin.berube at gmail.com (Dustin Berube) Date: Sun, 01 Apr 2007 21:02:22 -0400 Subject: Unnecessary host_name and for type loops/multiple check_commands? In-Reply-To: <26face530704011714q73107ebar45ebd9aa8b55b87b@mail.gmail.com> References: <26face530704011714q73107ebar45ebd9aa8b55b87b@mail.gmail.com> Message-ID: <4610561E.3000005@gmail.com> First off, let me say that I am in no way a Nagios expert and I'm in the process of setting up my monitoring environment as well. But I will do my best to help point you in the right direction. Kelly Jones wrote: > My questions: > % Is "host_name localhost" really necessary here? There's no reference > to $HOSTADDRESS$ anywhere in confirm_dns, but if I don't define > "host_name", nagios complains. To my knowledge you must specify the host_name directive. > % I want to check about 20 hostnames. > > % Any shortcut to writing 20 6-line "service" definitions? > % Can I use a for loop or something? > % Use multiple check_command's in a single service (doesn't seem to to work)? You may want to look at the service templates, here's a few different URL's that point to the documenatation on this. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html http://nagios.sourceforge.net/docs/2_0/templatetricks.html > Of course, I can write a Perl one-liner or something to populate the > config file, but that seems kludgey. Having looping behavior in the > config file directly would be really useful for other reasons too. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Apr 2 08:15:40 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 2 Apr 2007 02:15:40 -0400 Subject: Unnecessary host_name and for type loops/multiplecheck_commands? In-Reply-To: <26face530704011714q73107ebar45ebd9aa8b55b87b@mail.gmail.com> References: <26face530704011714q73107ebar45ebd9aa8b55b87b@mail.gmail.com> Message-ID: > My questions: > > % Is "host_name localhost" really necessary here? There's no > reference to $HOSTADDRESS$ anywhere in confirm_dns, but if I > don't define "host_name", nagios complains. You'll need either a hostname or hostgroup that the service belongs to. > % I want to check about 20 hostnames. > > % Any shortcut to writing 20 6-line "service" definitions? > % Can I use a for loop or something? > % Use multiple check_command's in a single service (doesn't > seem to to work)? If you'll be otherwise monitoring those 20 hosts, you can put them in a hostgroup and assign your check to the group so it runs against all of them. Otherwise, you'll need to specify 20 different service checks. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Mon Apr 2 10:28:42 2007 From: rob.blake at gmail.com (Rob Blake) Date: Mon, 2 Apr 2007 09:28:42 +0100 Subject: Notifications and Event-Handlers In-Reply-To: References: Message-ID: On 3/30/07, Din?er Kavraal wrote: > > It's not dumb. I once try it. Answer is: no! > They are not fired. > > To whom it may concern: > Q: Why should somebody try this? > A: Sometimes notifications can not be controlled through escalations > easily. So you'd like to close all escalations and allow some of them. > That's why. Anyway, no way to do it. If you disable for a hostgroup (for > instance) notifications, then escalations and other settings related are > ommitted. I believe that this statement is incorrect. I see no reason why having enable_notifications=0 will disable any event handler functionality. While event handler commands and notification commands are defined in the same manner, they are executed in different contexts by Nagios. If enable notifications is false, then Nagios will not attempt to execute the command that defines a "notification method" for the contacts associated with a service/host. However it will still execute the event handler commands associated with the said services/hosts as long as event handling is enabled. Rob -------------- 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 horvathjozsef at gmail.com Mon Apr 2 18:06:49 2007 From: horvathjozsef at gmail.com (Jozsef Horvath) Date: Mon, 2 Apr 2007 17:06:49 +0100 Subject: Nagios installation problems on RHEL 4 x86-64 Message-ID: Hi, have been trying to install nagios to RHEL x86-64 arch. have installed: gd, gd-devel, jpeg,jpeg-devel, zlib, png, png-devel and gcc as well. Issuing the configure command got the following error: ./configure -with-gd-lib=/usr/lib --with-gd-inc=/usr/include checking for a BSD-compatible install... /usr/bin/install -c checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. in the config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure -with-gd-lib=/usr/lib --with-gd-inc=/usr/include ## --------- ## ## Platform. ## ## --------- ## hostname = acetest05.ace.arts.org.uk uname -m = x86_64 uname -r = 2.6.9-5.EL uname -s = Linux uname -v = #1 Wed Jan 5 19:21:57 EST 2005 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1356: checking for a BSD-compatible install configure:1411: result: /usr/bin/install -c configure:1430: checking build system type configure:1448: result: x86_64-unknown-linux-gnu configure:1456: checking host system type configure:1470: result: x86_64-unknown-linux-gnu configure:1525: checking for gcc configure:1541: found /usr/bin/gcc configure:1551: result: gcc configure:1795: checking for C compiler version configure:1798: gcc --version &5 gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1801: $? = 0 configure:1803: gcc -v &5 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) configure:1806: $? = 0 configure:1808: gcc -V &5 gcc: argument to `-V' is missing configure:1811: $? = 1 configure:1834: checking for C compiler default output file name configure:1837: gcc conftest.c >&5 /tmp/ccpD01fN.s: Assembler messages: /tmp/ccpD01fN.s:6: Error: suffix or operands invalid for `push' configure:1840: $? = 1 my gcc version is 3.2.3 Has anybody met such error before? Any idea? Thanks in advance, Jozsef ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesus.arnaiz at 0z0ne.com Mon Apr 2 18:32:28 2007 From: jesus.arnaiz at 0z0ne.com (=?ISO-8859-1?Q?Jes=FAs_Arn=E1iz?=) Date: Mon, 02 Apr 2007 18:32:28 +0200 Subject: active response Message-ID: <4611301C.6070206@0z0ne.com> Hi there. It is posible to make nagios to do some things when it detect a problems? I mean, if it detects one service stoped, I want it to try to start the service in addition to notify me by email. 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 aaron.segura at cabelas.com Mon Apr 2 18:36:16 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Mon, 02 Apr 2007 10:36:16 -0600 Subject: active response In-Reply-To: <4611301C.6070206@0z0ne.com> References: <4611301C.6070206@0z0ne.com> Message-ID: <1175531776.27595.27.camel@sidhqmis4grdv91> That is what's known as an "event handler" http://nagios.sourceforge.net/docs/2_0/eventhandlers.html On Mon, 2007-04-02 at 18:32 +0200, Jes?s Arn?iz wrote: > Hi there. > > It is posible to make nagios to do some things when it detect a > problems? I mean, if it detects one service stoped, I want it to try to > start the service in addition to notify me by email. > > 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Mon Apr 2 19:21:43 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Mon, 2 Apr 2007 13:21:43 -0400 Subject: Using plugins in general In-Reply-To: References: <7abcf48e0703292031t5c0de821i65146585f0feff9a@mail.gmail.com> Message-ID: <7abcf48e0704021021p2e30d675h479de5a4d0ebc681@mail.gmail.com> Hi i have nagios 2.4 I want to use the plugins i have but when i set up a test host to check CPU or diskspace i keep getting wiered error a bunch of code in the service menu on the nagios web - interface, but whats intresting the PING service works for some reason i enabled SNMP on the test host I am not sure how plugins suppose to work does anyone know how i can use these nice plugins there could be very useful thanks On 3/29/07, Morris, Patrick wrote: > > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Nedim Bicic > > Sent: Thursday, March 29, 2007 8:31 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Using plugins in general > > > > Hey everyone i have nagios 2.4 > > > > I am trying to use plugins i already have in the libiray > > folder but when ever i for example try check_disk on one of > > my hosts it brings an error on the nagios service page > > > > I mean i set the service description to check_disk and check > > command i even enabled snmp on one of my servers but it just > > doesnt work > > > > the only thing that have working fine is the PING thats it > > > > Can anyone help something i am doing wrong > > > > Forget the manual dont help that much > > What services you're checking, how they are configured, what errors > you're seeing, and what you've done to troubleshoot this would all be > helpful information. > > Without any of that, The best I'd be able to say is that something's > broken. > -------------- 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 Mon Apr 2 20:09:03 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 2 Apr 2007 11:09:03 -0700 Subject: active response In-Reply-To: <4611301C.6070206@0z0ne.com> References: <4611301C.6070206@0z0ne.com> Message-ID: <20070402180903.GU27901@pmorris.usa.hp.com> On Mon, 02 Apr 2007, Jes?s Arn?iz wrote: > Hi there. > > It is posible to make nagios to do some things when it detect a > problems? I mean, if it detects one service stoped, I want it to try to > start the service in addition to notify me by email. See the docs for event handlers. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naim.abu.darwish at gmail.com Mon Apr 2 20:18:43 2007 From: naim.abu.darwish at gmail.com (naim abu darwish) Date: Mon, 2 Apr 2007 21:18:43 +0300 Subject: detecting which node causing packet loss. Message-ID: <3f8ec11c0704021118j48af5b22iffd1044f9c3125f3@mail.gmail.com> Hello, We have a network of routers,bridges, DSL and wireless nodes .. the usual mix. about 700 hosts in total. The idea is to monitor as accurately as possible all services with as little checks as possible. Here is what I'm doing:: checking the service on the most remote hosts in each branch, or leaf. so no need to check parents, so i don't really need to check any of the intermediate links as long as i can reach the end user. So out of the 700 hosts, I'm only checking services on 150 servers(PPPoE, NAT, RADIUS, whatever .. ) , and some 50 simple check_ping, check_load etc etc on only important backbone links. The rest are just means to an end, I set them as parents, no services defined on them, they are just there to show if i cannot reach some end point, leaf, it shows me who is the blocking host. I only want to start checking intermediate nodes when the link is bad to some end node, or leaf, otherwise, i don't want to look at it. That's working fine, when a host is unreachable. But when I'm reaching it with high latency, its a different story. To detect why I am reaching that host with such high latency, What must I do? I think, please correct me if I am wrong, add a check_ping service for every node on the network. Every child must have a check ping dependent on a check_ping on the parent. So i must define N service dependencies dependencies, if i have N parents. Any help appreciated. 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 ampranti at gmail.com Mon Apr 2 22:27:45 2007 From: ampranti at gmail.com (Brandino Andreas) Date: Mon, 2 Apr 2007 23:27:45 +0300 Subject: installing Nagios on shared Debian box (Dreamhost)? In-Reply-To: <2b7af7c40703201457q5d783fc6kda5d134e49faab3d@mail.gmail.com> References: <2b7af7c40703201316m658dd950j4577cc2d5e6e05c3@mail.gmail.com> <20070320203633.GB4574@pmorris.usa.hp.com> <2b7af7c40703201457q5d783fc6kda5d134e49faab3d@mail.gmail.com> Message-ID: <86019063.20070402232745@gmail.com> 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 mike.j.johnston at boeing.com Mon Apr 2 22:53:43 2007 From: mike.j.johnston at boeing.com (Johnston, Mike J) Date: Mon, 2 Apr 2007 13:53:43 -0700 Subject: Another GD nagios problem In-Reply-To: References: Message-ID: I cannot figure out how to get Nagios to compile with GD. GD is on my system and I'm using just fine with MRTG. I've even installed the gd-2.0.28-1.2.bp.fc2.i386.rpm and gd-devel-2.0.28-1.2.bp.fc2.i386.rpm for my Fedora Core 2 box in hopes that it would be added into the system in some way that I'm not thinking of, but that doesn't work. I see the same thing every time: Checking for main in -liconv... No Checking for gdImagePng in -lgd (order 1)... no Checking for gdImagePng in -lgd (order 2)... no Checking for gdImagePng in -lgd (order 3)... no Checking for gdImagePng in -lgd (order 4)... no I can see the libraries in /usr/lib and /usr/src but even when I point them manually and try to recompile I come up short. I'm running out of things to try. Am I missing something? As always, thanks for the support! Mike ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Apr 2 23:12:09 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 2 Apr 2007 14:12:09 -0700 Subject: Another GD nagios problem In-Reply-To: References: Message-ID: <20070402211209.GW27901@pmorris.usa.hp.com> On Mon, 02 Apr 2007, Johnston, Mike J wrote: > I cannot figure out how to get Nagios to compile with GD. GD is on my > system and I'm using just fine with MRTG. I've even installed the > gd-2.0.28-1.2.bp.fc2.i386.rpm and gd-devel-2.0.28-1.2.bp.fc2.i386.rpm > for my Fedora Core 2 box in hopes that it would be added into the system > in some way that I'm not thinking of, but that doesn't work. I see the > same thing every time: > > Checking for main in -liconv... No > Checking for gdImagePng in -lgd (order 1)... no > Checking for gdImagePng in -lgd (order 2)... no > Checking for gdImagePng in -lgd (order 3)... no > Checking for gdImagePng in -lgd (order 4)... no > > I can see the libraries in /usr/lib and /usr/src but even when I point > them manually and try to recompile I come up short. I'm running out of > things to try. Am I missing something? As always, thanks for the > support! You're either missing headers, have conflicting headers installed already, or have a libgd without PNG support built in. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Apr 2 23:55:59 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 02 Apr 2007 23:55:59 +0200 Subject: Nagios installation problems on RHEL 4 x86-64 In-Reply-To: References: Message-ID: <46117BEF.2050903@its-lehmann.de> Hi, On 4/2/2007 6:06 PM, Jozsef Horvath wrote: > Hi, > > have been trying to install nagios to RHEL x86-64 arch. > have installed: gd, gd-devel, jpeg,jpeg-devel, zlib, png, png-devel > and gcc as well. > > Issuing the configure command got the following error: > ./configure -with-gd-lib=/usr/lib --with-gd-inc=/usr/include ... > configure:1411: result: /usr/bin/install -c > configure:1430: checking build system type > configure:1448: result: x86_64-unknown-linux-gnu > configure:1456: checking host system type > configure:1470: result: x86_64-unknown-linux-gnu > configure:1525: checking for gcc > configure:1541: found /usr/bin/gcc > configure:1551: result: gcc > configure:1795: checking for C compiler version > configure:1798: gcc --version &5 > gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) This one is *really* old. I'd suggest to find something newer and try that. Which RHEL is that, and where did you find the gcc package? Arno > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > configure:1801: $? = 0 > configure:1803: gcc -v &5 > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --enable-shared --enable-threads=posix > --disable-checking --with-system-zlib --enable-__cxa_atexit > --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux > Thread model: posix > gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) > configure:1806: $? = 0 > configure:1808: gcc -V &5 > gcc: argument to `-V' is missing > configure:1811: $? = 1 > configure:1834: checking for C compiler default output file name > configure:1837: gcc conftest.c >&5 > /tmp/ccpD01fN.s: Assembler messages: > /tmp/ccpD01fN.s:6: Error: suffix or operands invalid for `push' > configure:1840: $? = 1 > > my gcc version is 3.2.3 > > Has anybody met such error before? Any idea? > > Thanks in advance, > Jozsef > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Apr 2 23:59:09 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 02 Apr 2007 23:59:09 +0200 Subject: Using plugins in general In-Reply-To: <7abcf48e0704021021p2e30d675h479de5a4d0ebc681@mail.gmail.com> References: <7abcf48e0703292031t5c0de821i65146585f0feff9a@mail.gmail.com> <7abcf48e0704021021p2e30d675h479de5a4d0ebc681@mail.gmail.com> Message-ID: <46117CAD.3040105@its-lehmann.de> Hi, On 4/2/2007 7:21 PM, Nedim Bicic wrote: > > Hi i have nagios 2.4 > > I want to use the plugins i have but when i set up a test host to check > CPU or diskspace i keep getting wiered error a bunch of code in the > service menu on the nagios web - interface, but whats intresting the > PING service works for some reason i enabled SNMP on the test host > > I am not sure how plugins suppose to work does anyone know how i can use > these nice plugins there could be very useful The best thing to do is start with reading Nagios' manual. Then, try the plugins on the shell. Then, add things together - put the necessary things in the configuration file. If it doesn't work then, report your problem - including relevant configuration data, system information, and faulty output. Apart from that I can only confirm that I do know how to use plugins, and I can also confirm that some of them are very useful. Arno > thanks > > > > On 3/29/07, *Morris, Patrick* > wrote: > > > From: nagios-users-bounces at lists.sourceforge.net > > > [mailto:nagios-users-bounces at lists.sourceforge.net > ] On Behalf > > Of Nedim Bicic > > Sent: Thursday, March 29, 2007 8:31 PM > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Using plugins in general > > > > Hey everyone i have nagios 2.4 > > > > I am trying to use plugins i already have in the libiray > > folder but when ever i for example try check_disk on one of > > my hosts it brings an error on the nagios service page > > > > I mean i set the service description to check_disk and check > > command i even enabled snmp on one of my servers but it just > > doesnt work > > > > the only thing that have working fine is the PING thats it > > > > Can anyone help something i am doing wrong > > > > Forget the manual dont help that much > > What services you're checking, how they are configured, what errors > you're seeing, and what you've done to troubleshoot this would all be > helpful information. > > Without any of that, The best I'd be able to say is that something's > broken. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 3 06:46:23 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 3 Apr 2007 00:46:23 -0400 Subject: Mew Version NC_Net v4 Message-ID: Hi Everyone, I just finished updating the sourceforge site with the new install for NC_Net. I have not had a lot of feedback from testers, but I have done a lot of testing myself. http://sourceforge.net/projects/nc-net The document section of NC_Net on sourceforge also has been updated. there should not be a lot of issues with this release. I urge everyone, (who uses NC_NEt) to at least try it out on one Host. This update had a lot in it, the end of this message has the updates and fixes list. Some of the big things, are a improved EventLog check, Passive Host checks, improved check_nc_net, and fixed that space in path issue for using WIn32_send_NSCA for issues or comments: Please visit the Forum on http://sourceforge.net/projects/nc-net , or email NC_Net at MontiTech.com TOny (author of NC_Net) WHats New in NC_NEt v4: -Added new password system -Moved writing Event Log Entries from NC_NEt to a seperate thread. -Writing to Event Log now has Error checking and Handling, in case it fails. -Moved some Global Variables to local. -Added a configurable timmer into the Counter Check (this allows for more accurate Counter results) -Added Passive Host Checks -Removed Error reporting From The Embeded_send_nsca (the Error Reporting is handled in the Wrapper call to this class) -Converted Send_nsca Event Log Entries to Warnings instead of Errors. -Enhanced Check_nc_net with -a to allow for more than 1249 bytes by printing directly to output when recieving string is full. -Fixed External_send_nsca, now it allows for a space in the path. -Fixed the Event log entries for when passive_always_on so that it does not report Testrun info. -Added functionallity to Passive checks to allow for any command to be redirected to the Active checks. (this is a fallthrough for when the command is not explicitly defined as a passive check but it exists as an active check) -Modified The Accept_IP_List so now it also acceplts FQDN -Added a Timout to the NC_NEt Active check commands recieved via the active check socket. -added GETALLCHECK (added in 3.05) this is an active check that reports back the results of the last passive check of each that was run. -ECHO command added -RUNSCRIPS (added in 3.05) has a Syncronous counterpart, This one does not have its own TImeout, it must use the Active check TImeout. but it allows for running some scripts that fail with asyncronous output. -Added EVENTLOG_NEW this is a new and improved EventLog check, it is issued as a new command because the expected input has been simplified. -Added WMICAT_NEW this will give a different output than WMICAT. it is expecting a paired list of Label,Attribute. and give result of Label="attrubute" -Added Command FIles this allows for running a series of check that were preloaded into a config file. issueing the active check calling one of these files, will run the commands in the file and then return the results in one concatinated output. -Added CHANGEPASS for changing the password since it is handled differently than prior versions of NC_NEt. -Added -l to passive check CLIENTVERSION -Modified Working Directory of RUNSCRIPTS to be the Script directory. -Pruned some of the older extra documentation files out of the project. -Modified the existing Documention files. -Added DOCUMENTATION.HTM as new Starting point of Documentation (with new commands only) -Added new Welcome screen to the installer. -------------- 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 dave-nagios at homer.cymry.org Tue Apr 3 06:52:55 2007 From: dave-nagios at homer.cymry.org (dave-nagios at homer.cymry.org) Date: Mon, 2 Apr 2007 23:52:55 -0500 Subject: nagfs In-Reply-To: <46117BEF.2050903@its-lehmann.de> References: <46117BEF.2050903@its-lehmann.de> Message-ID: <20070403045255.GA2271@homer> Hiya. nagfs is an event broker module, which implements a filesystem interface to the current status of a running Nagios daemon. This means in a nutshell that you can query the status of a given service or set of services using everyday shell tools like find and grep. Each host is represented as a directory in the filesystem. Each host directory contains a file for each service nagios is monitoring on that host. Each file contains a single number representing the state of that service. For example, once nagfs is running, you can list all the services currently in a critical state by typing: grep -rl "2" /usr/share/nagios/status/local The numbers are what you'd expect ( 0:OK, 1:Warning, 2:Critical, 3,Unknown). If the service is in a soft state a "servicename.soft" file is created with the soft state status number. Each host directory also contains a HOST file which contains the current status of the host itself. As a second example, you could get a list of all the services Nagios is checking with: find /usr/share/nagios/status/local -type f This is a handy thing, and much easier than scraping html for the same info. nagfs registers for SERVICE_STATUS_DATA and HOST_STATUS_DATA updates from the Nagios server, which means that the nagfs filesystem is immediately brought up to date upon Nagios startup, and is always perfectly in sync with Nagios's memory state. It's released under the BSD license. The tarball is available on nagios exchange, and my blog http://www.skeptech.org Nagfs was originally the brainchild of Jeremy Blosser, who implemented it as a collection of shell scripts called via global event handlers. I found it so useful, and became so attached to it that I eventually forgot it wasn't actually part of the core Nagios package. I later re-implemented it as an event broker module as an object lesson for the addison wesley nagios book I authored, and refined it as part of a larger nagios clustering project called "nagimesh", which is not yet complete. However, I find nagfs so indispensable that I decided to release the source as a stand-alone NEB module, in the hope that you may too someday forget the time you've already spent without it. Check INSTALL in the tarball for installation instructions. It is assumed that you have a working Nagios implementation which has been compiled with the --enable-event-broker configure switch. I have several Nagios servers running versions of Nagios from 2.0alpha1 to 2.8, and nagfs works with all of them, so it ought to work for you if you haven't ventured into 3.0 territory yet. I haven't taken a look at the 3.0 event broker code yet, so for all I know it could work (if you try it and it works for you let me know). Have fun! -dave josephsen. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Tue Apr 3 09:42:26 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 03 Apr 2007 09:42:26 +0200 Subject: nagfs In-Reply-To: <20070403045255.GA2271@homer> References: <46117BEF.2050903@its-lehmann.de> <20070403045255.GA2271@homer> Message-ID: <46120562.6070207@its-lehmann.de> Hi, On 4/3/2007 6:52 AM, dave-nagios at homer.cymry.org wrote: > Hiya. > > nagfs is an event broker module, which implements a filesystem interface to the > current status of a running Nagios daemon. This means in a nutshell that you > can query the status of a given service or set of services using everyday shell > tools like find and grep. This sounds *very* interesting! Thank you for your work - I'll proably give it a try when I find the time. Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesus.arnaiz at 0z0ne.com Tue Apr 3 11:31:23 2007 From: jesus.arnaiz at 0z0ne.com (=?UTF-8?B?SmVzw7pzIEFybsOhaXo=?=) Date: Tue, 03 Apr 2007 11:31:23 +0200 Subject: active response In-Reply-To: <1175531776.27595.27.camel@sidhqmis4grdv91> References: <4611301C.6070206@0z0ne.com> <1175531776.27595.27.camel@sidhqmis4grdv91> Message-ID: <46121EEB.1030207@0z0ne.com> Thanks Aaron, I'm going to read the doc. Aaron M. Segura escribi?: > That is what's known as an "event handler" > > http://nagios.sourceforge.net/docs/2_0/eventhandlers.html > > On Mon, 2007-04-02 at 18:32 +0200, Jes?s Arn?iz wrote: >> Hi there. >> >> It is posible to make nagios to do some things when it detect a >> problems? I mean, if it detects one service stoped, I want it to try to >> start the service in addition to notify me by email. >> >> 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From horvathjozsef at gmail.com Tue Apr 3 11:43:07 2007 From: horvathjozsef at gmail.com (Jozsef Horvath) Date: Tue, 3 Apr 2007 10:43:07 +0100 Subject: Nagios installation problems on RHEL 4 x86-64 In-Reply-To: <46117BEF.2050903@its-lehmann.de> References: <46117BEF.2050903@its-lehmann.de> Message-ID: Hi Arno, Yes, it's quite old and there's newer :) It's RHEL 4 and unfortunately it's without any Update :( Probably applying update 3 or 4 might help? Jozsef On 02/04/07, Arno Lehmann wrote: > Hi, > > On 4/2/2007 6:06 PM, Jozsef Horvath wrote: > > Hi, > > > > have been trying to install nagios to RHEL x86-64 arch. > > have installed: gd, gd-devel, jpeg,jpeg-devel, zlib, png, png-devel > > and gcc as well. > > > > Issuing the configure command got the following error: > > ./configure -with-gd-lib=/usr/lib --with-gd-inc=/usr/include > ... > > configure:1411: result: /usr/bin/install -c > > configure:1430: checking build system type > > configure:1448: result: x86_64-unknown-linux-gnu > > configure:1456: checking host system type > > configure:1470: result: x86_64-unknown-linux-gnu > > configure:1525: checking for gcc > > configure:1541: found /usr/bin/gcc > > configure:1551: result: gcc > > configure:1795: checking for C compiler version > > configure:1798: gcc --version &5 > > gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) > > This one is *really* old. I'd suggest to find something newer and try that. > > Which RHEL is that, and where did you find the gcc package? > > Arno > > > Copyright (C) 2002 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There is NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > > configure:1801: $? = 0 > > configure:1803: gcc -v &5 > > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs > > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > > --infodir=/usr/share/info --enable-shared --enable-threads=posix > > --disable-checking --with-system-zlib --enable-__cxa_atexit > > --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux > > Thread model: posix > > gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) > > configure:1806: $? = 0 > > configure:1808: gcc -V &5 > > gcc: argument to `-V' is missing > > configure:1811: $? = 1 > > configure:1834: checking for C compiler default output file name > > configure:1837: gcc conftest.c >&5 > > /tmp/ccpD01fN.s: Assembler messages: > > /tmp/ccpD01fN.s:6: Error: suffix or operands invalid for `push' > > configure:1840: $? = 1 > > > > my gcc version is 3.2.3 > > > > Has anybody met such error before? Any idea? > > > > Thanks in advance, > > Jozsef > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > IT-Service Lehmann al at its-lehmann.de > Arno Lehmann http://www.its-lehmann.de > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 niky at sama.ru Tue Apr 3 12:19:31 2007 From: niky at sama.ru (Nikita) Date: Tue, 3 Apr 2007 15:19:31 +0500 Subject: nagios web-interface Message-ID: <8410377599.20070403151931@sama.ru> There is other system of monitoring in which condition of services and hosts is displayed in the form of a matrix. At the left names of hosts, at the top of the name of services. It is convenient because the matrix allows to place a plenty of the information within the limits of one screen. http://www.sama.ru/~niky/opt/mon.gif In nagios a similar opportunity has not found. In a window " all problems " at the left the name of a host and more to the right in a column of the name of services and their statuses. This column in case of several problems at once in the screen does not hold any more. Whether is not present in ???????? an opportunity to have the information on statuses of services in the form of a matrix? Whether there are for it in general-environments alternative a web? Whether solved someone similar problems? The Greater request to answer if there is an information on the given question. Best regards, Marianna Markusheva ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From horvathjozsef at gmail.com Tue Apr 3 12:42:25 2007 From: horvathjozsef at gmail.com (Jozsef Horvath) Date: Tue, 3 Apr 2007 11:42:25 +0100 Subject: Nagios installation problems on RHEL 4 x86-64 In-Reply-To: <1175531358.4756.6.camel@lnx024071100.vz.intra.sskm.de> References: <1175531358.4756.6.camel@lnx024071100.vz.intra.sskm.de> Message-ID: Hi Sebastian, Thanks for the link. I will try to solve my problem from here...but it seems to be the problem is rather around the os level. It is the base RHEL 4 installation and does not contain any Update. Thanks, Jozsef On 02/04/07, Sebastian Schubert wrote: > > hi jozsef, > > try the rpm's from dag. they work perfectly. > > http://dag.wieers.com/rpm/packages/nagios/ > > On Mon, 2007-04-02 at 17:06 +0100, Jozsef Horvath wrote: > > Hi, > have been trying to install nagios to RHEL x86-64 arch.have installed: gd, gd-devel, jpeg,jpeg-devel, zlib, png, png-develand gcc as well. > Issuing the configure command got the following error:./configure -with-gd-lib=/usr/lib --with-gd-inc=/usr/include > checking for a BSD-compatible install... /usr/bin/install -cchecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking for gcc... gccchecking for C compiler default output file name... configure: error:C compiler cannot create executablesSee `config.log' for more details. > in the config.log:This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake. > It was created by configure, which wasgenerated by GNU Autoconf 2.59. Invocation command line was > $ ./configure -with-gd-lib=/usr/lib --with-gd-inc=/usr/include > ## --------- #### Platform. #### --------- ## > hostname = acetest05.ace.arts.org.ukuname -m = x86_64uname -r = 2.6.9-5.ELuname -s = Linuxuname -v = #1 Wed Jan 5 19:21:57 EST 2005 > /usr/bin/uname -p = unknown/bin/uname -X = unknown > /bin/arch = x86_64/usr/bin/arch -k = unknown/usr/convex/getsysinfo = unknownhostinfo = unknown/bin/machine = unknown/usr/bin/oslevel = unknown/bin/universe = unknown > PATH: /usr/kerberos/sbinPATH: /usr/kerberos/binPATH: /usr/local/sbinPATH: /usr/local/binPATH: /sbinPATH: /binPATH: /usr/sbinPATH: /usr/binPATH: /usr/X11R6/binPATH: /root/bin > > ## ----------- #### Core tests. #### ----------- ## > configure:1356: checking for a BSD-compatible installconfigure:1411: result: /usr/bin/install -cconfigure:1430: checking build system typeconfigure:1448: result: x86_64-unknown-linux-gnuconfigure:1456: checking host system typeconfigure:1470: result: x86_64-unknown-linux-gnuconfigure:1525: checking for gccconfigure:1541: found /usr/bin/gccconfigure:1551: result: gccconfigure:1795: checking for C compiler versionconfigure:1798: gcc --version &5gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)Copyright (C) 2002 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > configure:1801: $? = 0configure:1803: gcc -v &5Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specsConfigured with: ../configure --prefix=/usr --mandir=/usr/share/man--infodir=/usr/share/info --enable-shared --enable-threads=posix--disable-checking --with-system-zlib --enable-__cxa_atexit--enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linuxThread model: posixgcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)configure:1806: $? = 0configure:1808: gcc -V &5gcc: argument to `-V' is missingconfigure:1811: $? = 1configure:1834: checking for C compiler default output file nameconfigure:1837: gcc conftest.c >&5/tmp/ccpD01fN.s: Assembler messages:/tmp/ccpD01fN.s:6: Error: suffix or operands invalid for `push'configure:1840: $? = 1 > my gcc version is 3.2.3 > Has anybody met such error before? Any idea? > Thanks in advance,Jozsef > -------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys-and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null > > -- > "In god we trust, the Rest we Monitor" > Sebastian Schubert - RHCE > Stadtsparkasse Munich > Network and IT Security > -------------------------- > basti-lists at sskm.de > > Stadtsparkasse M?nchen | Anstalt des ?ffentlichen Rechts | Amtsgericht M?nchen I HRA 75459 | Sparkassenstr. 2, 80331 M?nchen > > -------------- 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 miskobs at yahoo.com Tue Apr 3 15:07:53 2007 From: miskobs at yahoo.com (Bratislav Stojkovic) Date: Tue, 3 Apr 2007 06:07:53 -0700 (PDT) Subject: nsca PROCESS_HOST_CHECK_RESULT problem Message-ID: <401998.35286.qm@web33210.mail.mud.yahoo.com> Hi. I have problem regarding nsca and PROCESS_HOST_CHECK_RESULT. Actually I configure nsca using standard procedure and everything works fine except PROCESS_HOST_CHECK_RESULT. (nagios 2.8, nsca 2.71) - nagios.cfg ocsp_command=send_service_check ochp_command=send_host_check - cat /usr/lib/nagios/plugins/send_host_check ------- #!/bin/sh # Arguments: # $1 = Hostname of the host (using the $HOSTNAME$ macro) # $2 = Host Status ID of the host (using the $HOSTSTATUSID$ macro) # $3 = Output of the host check (using the $HOSTOUTPUT$ macro) /bin/echo "$1","$2","$3" | /usr/bin/send_nsca -H IP_ADDRESS -c /etc/nagios/send_nsca.cfg -d "," ------------- - cat /usr/lib/nagios/plugins/send_service_check -------------- #!/bin/sh # Arguments: # $1 = Hostname of the host (using the $HOSTNAME$ macro) # $2 = Service Description of the service (using the $SERVICEDESC$ macro) # $3 = Service Status ID of the service (using the $SERVICESTATUSID$ macro) # $4 = Output of the service check (using the $SERVICEOUTPUT$ macro) /bin/echo "$1","$2","$3","$4" | /usr/bin/send_nsca -H IP_ADDRESS -c /etc/nagios/send_nsca.cfg -d "," ------------ - misccommands.cfg: --------------- define command{ command_name send_host_check command_line /usr/lib/nagios/plugins/send_host_check $HOSTNAME$ $HOSTSTATEID$ "$HOSTOUTPUT$" } define command{ command_name send_service_check command_line /usr/lib/nagios/plugins/send_service_check $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$' } ------------- If I simulate host down I got HOST_CHECK from nagios.log on remote host: EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;server1;1;PING CRITICAL - Packet loss = 100% but regularly, it is triggered like it is service check, and PROCESS_HOST_CHECK_RESULT is not performed at all. [1175605177] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;server1;0;0; RTA = 0.18 ms [1175605177] Warning: Passive check result was received for service '0' on host 'server1', but the service could not be found! Bratislav. ...gios-users at lists.sourceforge.n ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ -------------- 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 npietrangelo at jewels.com Tue Apr 3 17:04:12 2007 From: npietrangelo at jewels.com (Pietrangelo, Nicholas) Date: Tue, 3 Apr 2007 11:04:12 -0400 Subject: Nagios Instructions and Recommendations Message-ID: <16C0BF72F86DB841A2BF675BCC2E1CD2D8769E@ex01.jewels.local> I am looking to install the latest version of Nagios (2.8.x). I would also like to collect statistics to determine trends during our peak times. Can the group please direct me to any "nutshell" documentation? Also, any recommendations on how to architect a Nagios environment for RHEL/WebSphere & HP-UX/Oracle would be appreciated. Cheers! Nick P The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone (330-668-5000), and destroy the original message. 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 kyle.odonnell at gmail.com Tue Apr 3 17:28:01 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Tue, 3 Apr 2007 11:28:01 -0400 Subject: checking multiple log files Message-ID: <2274b9c30704030828i5210b67aocd6dde3f2812b1b1@mail.gmail.com> Hi, I need to check for a string in multiple log files. The names of the log files will contain a constant string, and be located in constant directory. Currently I am using the check_logfiles plugin with the following configuration: @logs = ( { tag => 'mqrefused', logfile => '/var/mqm/exits/logs/.*.log', rotation => 'solaris', warningpatterns => 'refused', } ); @logs = ( { tag => 'mqfdcprobe', logfile => '/var/mqm/errors/.*.FDC', rotation => 'solaris', warningpatterns => 'Probe Id', } ); The only problems are that, the output does not contain the offending string/line, and the status is set to UNKNOWN when a string isn't matched. One thought was to write a wrapper for check_logs.pl which does for i in `ls *.log` do output=`check_logs.pl -f $i -s /tmp/$i.tmp -p "blah"` printf $output\t done This should print all of the output... I can work out the exit status as well... but this isn't ideal Any Ideas? Thanks, Kyle ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Tue Apr 3 18:16:09 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Tue, 03 Apr 2007 11:16:09 -0500 Subject: checking multiple log files In-Reply-To: <2274b9c30704030828i5210b67aocd6dde3f2812b1b1@mail.gmail.com> References: <2274b9c30704030828i5210b67aocd6dde3f2812b1b1@mail.gmail.com> Message-ID: <46127DC9.6050205@epsiia.com> Kyle O'Donnell wrote: > Hi, > > I need to check for a string in multiple log files. The names of the > log files will contain a constant string, and be located in constant > directory. > > Currently I am using the check_logfiles plugin with the following configuration: > > > @logs = ( > { > tag => 'mqrefused', > logfile => '/var/mqm/exits/logs/.*.log', > rotation => 'solaris', > warningpatterns => 'refused', > } > > ); > > @logs = ( > { > tag => 'mqfdcprobe', > logfile => '/var/mqm/errors/.*.FDC', > rotation => 'solaris', > warningpatterns => 'Probe Id', > } > > ); > > > The only problems are that, the output does not contain the offending > string/line, and the status is set to UNKNOWN when a string isn't > matched. > Hi, I would suggest writing your own plugin if it's this specific & you know what you're looking for. What you're wanting to do would be pretty easy in perl (but I'm not sure what output you're looking for exactly). here's my really quick, ugly, untested implementation =): use lib '/usr/nagios/libexec'; use utils qw ( %ERRORS ); my @files; push @files, (glob ('/var/mqm/exits/logs/*.log'), glob ('/var/mqm/errors/*.FDC')); my %errors; for my $f (@files){ unless (open FILE, $f){ print "can't open file $f!\n"; exit $ERRORS{'UNKNOWN'} } my $counter = 0; while (){ $counter++; if (($f =~ /log$/ && /refused/) || ($f =~ /FDC$/ && /Probe ID/)){ push @{$errors{$f}},$counter } } close FILE; } if (!%errors){ print "OK!\n"; exit $ERRORS{'OK'} } else{ for my $key (sort keys %errors){ print "$key: errors at lines ", join ',',@{$errors{$key}}, " "; } print "\n"; exit $ERRORS{'CRITICAL'} } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Tue Apr 3 18:31:04 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Tue, 3 Apr 2007 12:31:04 -0400 Subject: checking multiple log files In-Reply-To: <46127DC9.6050205@epsiia.com> References: <2274b9c30704030828i5210b67aocd6dde3f2812b1b1@mail.gmail.com> <46127DC9.6050205@epsiia.com> Message-ID: <2274b9c30704030931u73432066u47e1ad8046d2be77@mail.gmail.com> Hi Josh, Thanks very much, but I went the lazy route. I modified the following in check_logfiles: from: # maybe a rotation situation, a typo in the configfile,... trace("could not find logfile %s", $loginfo->{logfile}); $lastmsg{UNKNOWN} = sprintf "could not find logfile %s", $loginfo->{logfile}; push(@{$matchlines->{UNKNOWN}}, $lastmsg{UNKNOWN); to: # maybe a rotation situation, a typo in the configfile,... trace("could not find logfile %s", $loginfo->{logfile}); $lastmsg{OK} = sprintf "could not find logfile %s", $loginfo->{logfile}; push(@{$matchlines->{OK}}, $lastmsg{OK}); I was mistaken about the output. It does print the last offending line, but it's found in the 'performance data' output instead. Running it from the cmd line its printed after the '|', checked perfdata, and voila.. right there :) Thanks again, Kyle On 4/3/07, Josh Yost wrote: > > Kyle O'Donnell wrote: > > Hi, > > > > I need to check for a string in multiple log files. The names of the > > log files will contain a constant string, and be located in constant > > directory. > > > > Currently I am using the check_logfiles plugin with the following > configuration: > > > > > > @logs = ( > > { > > tag => 'mqrefused', > > logfile => '/var/mqm/exits/logs/.*.log', > > rotation => 'solaris', > > warningpatterns => 'refused', > > } > > > > ); > > > > @logs = ( > > { > > tag => 'mqfdcprobe', > > logfile => '/var/mqm/errors/.*.FDC', > > rotation => 'solaris', > > warningpatterns => 'Probe Id', > > } > > > > ); > > > > > > The only problems are that, the output does not contain the offending > > string/line, and the status is set to UNKNOWN when a string isn't > > matched. > > > > Hi, > I would suggest writing your own plugin if it's this specific & you > know what you're looking for. What you're wanting to do would be pretty > easy in perl (but I'm not sure what output you're looking for exactly). > > here's my really quick, ugly, untested implementation =): > > use lib '/usr/nagios/libexec'; > use utils qw ( %ERRORS ); > > my @files; > push @files, (glob ('/var/mqm/exits/logs/*.log'), > glob ('/var/mqm/errors/*.FDC')); > > my %errors; > for my $f (@files){ > unless (open FILE, $f){ > print "can't open file $f!\n"; exit $ERRORS{'UNKNOWN'} > } > my $counter = 0; > while (){ > $counter++; > if (($f =~ /log$/ && /refused/) || ($f =~ /FDC$/ && /Probe ID/)){ > push @{$errors{$f}},$counter > } > } > close FILE; > } > > if (!%errors){ > print "OK!\n"; exit $ERRORS{'OK'} > } > else{ > for my $key (sort keys %errors){ > print "$key: errors at lines ", join ',',@{$errors{$key}}, " "; > } > print "\n"; > exit $ERRORS{'CRITICAL'} > } > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rudys at spry.com Tue Apr 3 17:44:12 2007 From: rudys at spry.com (Rudy Setiawan) Date: Tue, 3 Apr 2007 08:44:12 -0700 Subject: service dependencies Message-ID: <19AB668060DF3D439833C2F4C305162044F141@sbs-server.office.spry.com> Hi All, I have a little bit problem with service dependency syntax Let's say I have the following host Host 1 with SSH and PING being monitored by nagios. If nagios check that if PING does not reply, then do not check the rest of the services (SSH,SMTP and WEB). The current config: define service{ use host-generic-service host_name newton.domain.com service_description PING NEWTON check_command check_ping!100.0,20%!500.0,60% } define service{ use host-generic-service host_name newton.domain.com service_description SSH NEWTON check_command check_ssh } define servicedependency{ host_name newton.domain.com service_description SSH NEWTON dependent_host_name newton.domain.com dependent_service_description PING NEWTON execution_failure_criteria w notification_failure_criteria u } Will this do it? Or am I missing something? Thank you. Rudy -------------- 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 james at nttmcl.com Tue Apr 3 20:09:34 2007 From: james at nttmcl.com (James Tran) Date: Tue, 03 Apr 2007 11:09:34 -0700 Subject: host downtime Message-ID: <4612985E.5080802@nttmcl.com> For some reason i'm scheduling downtime for hosts but i'm still getting service notifications... Anyone know why? It's kinda of annoying. I mean if the host is scheduled for downtime all the services for that host shouldn't be notifying me right? any help would be great thx. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at yahoo.com Tue Apr 3 20:13:00 2007 From: dkavraal at yahoo.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Tue, 3 Apr 2007 21:13:00 +0300 Subject: host downtime In-Reply-To: <4612985E.5080802@nttmcl.com> References: <4612985E.5080802@nttmcl.com> Message-ID: You might missed sth configuring downtime. - How much is your down time expected? - When? and how are you defining this? Could you give details? 2007/4/3, James Tran : > > For some reason i'm scheduling downtime for hosts but i'm still getting > service notifications... > Anyone know why? > > It's kinda of annoying. > I mean if the host is scheduled for downtime all the services for that > host shouldn't be notifying me right? > > any help would be great thx. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 patrick.morris at hp.com Tue Apr 3 20:17:07 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 3 Apr 2007 11:17:07 -0700 Subject: host downtime In-Reply-To: <4612985E.5080802@nttmcl.com> References: <4612985E.5080802@nttmcl.com> Message-ID: <20070403181707.GD27901@pmorris.usa.hp.com> On Tue, 03 Apr 2007, James Tran wrote: > For some reason i'm scheduling downtime for hosts but i'm still getting > service notifications... > Anyone know why? > > It's kinda of annoying. > I mean if the host is scheduled for downtime all the services for that > host shouldn't be notifying me right? > > any help would be great thx. Double-check that the downtimes are taking effect and that you don't have two instances of Nagios running at the same time. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at nttmcl.com Tue Apr 3 20:18:18 2007 From: james at nttmcl.com (James Tran) Date: Tue, 03 Apr 2007 11:18:18 -0700 Subject: host downtime In-Reply-To: References: <4612985E.5080802@nttmcl.com> Message-ID: <46129A6A.1020906@nttmcl.com> Din?er Kavraal wrote: > You might missed sth configuring downtime. > - How much is your down time expected? > - When? > > and how are you defining this? > > Could you give details? > > 2007/4/3, James Tran < james at nttmcl.com >: > > For some reason i'm scheduling downtime for hosts but i'm still > getting > service notifications... > Anyone know why? > > It's kinda of annoying. > I mean if the host is scheduled for downtime all the services for that > host shouldn't be notifying me right? > > any help would be great thx. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > I'm just going to the nagios front end choosing schedule downtime putting in hostname my name comment start time and endtime so for instance i put from 11am to 1pm today. then putting in flexible downtime then hitting commit it shows up in the downtime afterwards ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Apr 3 20:18:49 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 3 Apr 2007 11:18:49 -0700 Subject: service dependencies In-Reply-To: <19AB668060DF3D439833C2F4C305162044F141@sbs-server.office.spry.com> References: <19AB668060DF3D439833C2F4C305162044F141@sbs-server.office.spry.com> Message-ID: <20070403181849.GE27901@pmorris.usa.hp.com> On Tue, 03 Apr 2007, Rudy Setiawan wrote: > If nagios check that if PING does not reply, then do not check the rest > of the services (SSH,SMTP and WEB). > > define servicedependency{ > > host_name newton.domain.com > > service_description SSH NEWTON > > dependent_host_name newton.domain.com > > dependent_service_description PING NEWTON > > execution_failure_criteria w > > notification_failure_criteria u > > } You've got them backwards. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at nttmcl.com Tue Apr 3 20:23:36 2007 From: james at nttmcl.com (James Tran) Date: Tue, 03 Apr 2007 11:23:36 -0700 Subject: host downtime In-Reply-To: <20070403181707.GD27901@pmorris.usa.hp.com> References: <4612985E.5080802@nttmcl.com> <20070403181707.GD27901@pmorris.usa.hp.com> Message-ID: <46129BA8.3070906@nttmcl.com> Patrick Morris wrote: > On Tue, 03 Apr 2007, James Tran wrote: > > >> For some reason i'm scheduling downtime for hosts but i'm still getting >> service notifications... >> Anyone know why? >> >> It's kinda of annoying. >> I mean if the host is scheduled for downtime all the services for that >> host shouldn't be notifying me right? >> >> any help would be great thx. >> > > Double-check that the downtimes are taking effect and that you don't > have two instances of Nagios running at the same time. > Yeah i double checked that the downtime were in the downtime file and everything and i checked the front end to see if they appeared on list. i did a ps -ef|grep nagios to see what was running and there's only one daemon 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 james at nttmcl.com Tue Apr 3 21:07:21 2007 From: james at nttmcl.com (James Tran) Date: Tue, 03 Apr 2007 12:07:21 -0700 Subject: service dependencies In-Reply-To: <20070403181849.GE27901@pmorris.usa.hp.com> References: <19AB668060DF3D439833C2F4C305162044F141@sbs-server.office.spry.com> <20070403181849.GE27901@pmorris.usa.hp.com> Message-ID: <4612A5E9.9090309@nttmcl.com> Patrick Morris wrote: > On Tue, 03 Apr 2007, Rudy Setiawan wrote: > > >> If nagios check that if PING does not reply, then do not check the rest >> of the services (SSH,SMTP and WEB). >> >> define servicedependency{ >> >> host_name newton.domain.com >> >> service_description SSH NEWTON >> >> dependent_host_name newton.domain.com >> >> dependent_service_description PING NEWTON >> >> execution_failure_criteria w >> >> notification_failure_criteria u >> >> } >> > > You've got them backwards. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ok well apparently this works ok now for some reason. If i find out what went wrong i'll post it here but i don't seem to be getting the same problem anymore ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at nttmcl.com Tue Apr 3 21:09:18 2007 From: james at nttmcl.com (James Tran) Date: Tue, 03 Apr 2007 12:09:18 -0700 Subject: service dependencies In-Reply-To: <4612A5E9.9090309@nttmcl.com> References: <19AB668060DF3D439833C2F4C305162044F141@sbs-server.office.spry.com> <20070403181849.GE27901@pmorris.usa.hp.com> <4612A5E9.9090309@nttmcl.com> Message-ID: <4612A65E.7080502@nttmcl.com> James Tran wrote: > Patrick Morris wrote: > >> On Tue, 03 Apr 2007, Rudy Setiawan wrote: >> >> >> >>> If nagios check that if PING does not reply, then do not check the rest >>> of the services (SSH,SMTP and WEB). >>> >>> define servicedependency{ >>> >>> host_name newton.domain.com >>> >>> service_description SSH NEWTON >>> >>> dependent_host_name newton.domain.com >>> >>> dependent_service_description PING NEWTON >>> >>> execution_failure_criteria w >>> >>> notification_failure_criteria u >>> >>> } >>> >>> >> You've got them backwards. >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > Ok well apparently this works ok now for some reason. If i find out what > went wrong i'll post it here but i don't seem to be getting the same > problem anymore > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > oops sorry wrong thread ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rudys at spry.com Tue Apr 3 21:49:41 2007 From: rudys at spry.com (Rudy Setiawan) Date: Tue, 3 Apr 2007 12:49:41 -0700 Subject: service dependencies Message-ID: <19AB668060DF3D439833C2F4C305162044F14F@sbs-server.office.spry.com> Yeah I got it backwards :) thank you guys! Regards, Rudy -----Original Message----- From: James Tran [mailto:james at nttmcl.com] Sent: Tuesday, April 03, 2007 12:07 PM To: Patrick Morris Cc: Rudy Setiawan; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] service dependencies Patrick Morris wrote: > On Tue, 03 Apr 2007, Rudy Setiawan wrote: > > >> If nagios check that if PING does not reply, then do not check the rest >> of the services (SSH,SMTP and WEB). >> >> define servicedependency{ >> >> host_name newton.domain.com >> >> service_description SSH NEWTON >> >> dependent_host_name newton.domain.com >> >> dependent_service_description PING NEWTON >> >> execution_failure_criteria w >> >> notification_failure_criteria u >> >> } >> > > You've got them backwards. > > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share 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 > Ok well apparently this works ok now for some reason. If i find out what went wrong i'll post it here but i don't seem to be getting the same problem anymore ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve.wray at cwa.co.nz Tue Apr 3 23:41:52 2007 From: steve.wray at cwa.co.nz (Steve Wray) Date: Wed, 04 Apr 2007 09:41:52 +1200 Subject: shell script plugins and list archives? Message-ID: <4612CA20.50809@cwa.co.nz> Hi there, For one thing I was trying to recollect how to write a shell script for a nagios (nrpe) plugin. I can't find any of the documentation I used to do this before and I don't have access to the nagios config where I set this up. I also don't find any info in the FAQ nor in the nagios documentation... (this is for version 1.something) Clues please :) I went to the mailing list archives but they don't seem to work.. From: https://lists.sourceforge.net/lists/listinfo/nagios-users the link "Visit the Nagios-users Archives" appears to be broken. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 3 23:47:14 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 03 Apr 2007 23:47:14 +0200 Subject: shell script plugins and list archives? In-Reply-To: <4612CA20.50809@cwa.co.nz> References: <4612CA20.50809@cwa.co.nz> Message-ID: <4612CB62.4010002@telcotec.se> Steve Wray wrote: > Hi there, > > For one thing I was trying to recollect how to write a shell script for > a nagios (nrpe) plugin. I can't find any of the documentation I used to > do this before and I don't have access to the nagios config where I set > this up. > > I also don't find any info in the FAQ nor in the nagios documentation... > (this is for version 1.something) > > Clues please :) Good Luck/Lars > I went to the mailing list archives but they don't seem to work.. > > From: > https://lists.sourceforge.net/lists/listinfo/nagios-users > > the link "Visit the Nagios-users Archives" appears to be broken. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 rob.blake at gmail.com Tue Apr 3 23:49:11 2007 From: rob.blake at gmail.com (Rob Blake) Date: Tue, 3 Apr 2007 22:49:11 +0100 Subject: shell script plugins and list archives? In-Reply-To: <4612CA20.50809@cwa.co.nz> References: <4612CA20.50809@cwa.co.nz> Message-ID: On 4/3/07, Steve Wray wrote: > > Hi there, > > For one thing I was trying to recollect how to write a shell script for > a nagios (nrpe) plugin. I can't find any of the documentation I used to > do this before and I don't have access to the nagios config where I set > this up. > > I also don't find any info in the FAQ nor in the nagios documentation... > (this is for version 1.something) > > Clues please :) > > I went to the mailing list archives but they don't seem to work.. > > From: > https://lists.sourceforge.net/lists/listinfo/nagios-users > > the link "Visit the Nagios-users Archives" appears to be broken. Well here is a link to the plugin development specifications: http://nagiosplug.sourceforge.net/developer-guidelines.html Reading those should tell you all you need. Rob -------------- 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 Wed Apr 4 00:46:08 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 3 Apr 2007 15:46:08 -0700 Subject: shell script plugins and list archives? In-Reply-To: <4612CA20.50809@cwa.co.nz> References: <4612CA20.50809@cwa.co.nz> Message-ID: <20070403224608.GJ27901@pmorris.usa.hp.com> On Wed, 04 Apr 2007, Steve Wray wrote: > Hi there, > > For one thing I was trying to recollect how to write a shell script for > a nagios (nrpe) plugin. I can't find any of the documentation I used to > do this before and I don't have access to the nagios config where I set > this up. > > I also don't find any info in the FAQ nor in the nagios documentation... > (this is for version 1.something) > > Clues please :) nrpe doesn't have any special requirements. It's designed to run standard Nagios plugins. The biggies are that it should output one line, and conform to standard Nagios exit codes. Details are here: http://nagiosplug.sourceforge.net/developer-guidelines.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 pmui at groundworkopensource.com Wed Apr 4 01:48:23 2007 From: pmui at groundworkopensource.com (Peter Mui) Date: Tue, 3 Apr 2007 16:48:23 -0700 Subject: HP OpenView-Nagios event handler now on NagiosExchange Message-ID: The HP OpenView (HPOV) Event Handler takes the output of a Nagios monitoring system and feeds it into HP OpenView. It's available from NagiosExchange at: http://www.nagiosexchange.org/Communication.41.0.html? &tx_netnagext_pi1[p_view]=914 Please let us know if you find this useful, or if you have any suggestions for improvement in either the code or the documentation. And, of course, user-contributed enhancements and extensions are always welcome! Cheers, -Peter 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 -------------- 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 jesus.arnaiz at 0z0ne.com Wed Apr 4 13:06:13 2007 From: jesus.arnaiz at 0z0ne.com (=?ISO-8859-1?Q?Jes=FAs_Arn=E1iz?=) Date: Wed, 04 Apr 2007 13:06:13 +0200 Subject: active response In-Reply-To: <20070402180903.GU27901@pmorris.usa.hp.com> References: <4611301C.6070206@0z0ne.com> <20070402180903.GU27901@pmorris.usa.hp.com> Message-ID: <461386A5.1080006@0z0ne.com> Hi there. I use the doc. about event handlers and I define this one: # SERVICE CLAMD define service { use generic-service host_name MYHOST service_description CLAMD check_command check_clamd max_check_attempts 2 event_handler event_clamd } # COMMAND define command { command_name event_clamd command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c event_clamd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } And, on the remote machine I configure nrpe.cfg like this: command[event_clamd]=/data/general/nagios/libexec/event_clamd $ARG1$ $ARG2$ $ARG3$ Also, I put that script (event_clamd), with 755 permission. This script write to a file in /tmp in order to see if it run or not. I see it don't takes the args (SERVICESTATETYPE SERVICESTATE...), so I try to run the script by hand like this: libexec/check_nrpe -H MYHOST -c event_clamd OK HARD 1 And I see it run but it doesn't get that arguments (OK, HARD, 1). I try also: libexec/check_nrpe -H MYHOST -c event_clamd -a OK HARD 1 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. Any help? Patrick Morris escribi?: > On Mon, 02 Apr 2007, Jes?s Arn?iz wrote: > >> Hi there. >> >> It is posible to make nagios to do some things when it detect a >> problems? I mean, if it detects one service stoped, I want it to try to >> start the service in addition to notify me by email. > > See the docs for event handlers. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Wed Apr 4 13:48:29 2007 From: rob.blake at gmail.com (Rob Blake) Date: Wed, 4 Apr 2007 12:48:29 +0100 Subject: active response In-Reply-To: <461386A5.1080006@0z0ne.com> References: <4611301C.6070206@0z0ne.com> <20070402180903.GU27901@pmorris.usa.hp.com> <461386A5.1080006@0z0ne.com> Message-ID: On 4/4/07, Jes?s Arn?iz wrote: > > Hi there. > > I use the doc. about event handlers and I define this one: > > # SERVICE CLAMD > define service { > use generic-service > host_name MYHOST > service_description CLAMD > check_command check_clamd > max_check_attempts 2 > event_handler event_clamd > } > > # COMMAND > define command { > command_name event_clamd > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c > event_clamd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ > } > > And, on the remote machine I configure nrpe.cfg like this: > > command[event_clamd]=/data/general/nagios/libexec/event_clamd $ARG1$ > $ARG2$ $ARG3$ > > Also, I put that script (event_clamd), with 755 permission. This script > write to a file in /tmp in order to see if it run or not. I see it don't > takes the args (SERVICESTATETYPE SERVICESTATE...), so I try to run the > script by hand like this: > > libexec/check_nrpe -H MYHOST -c event_clamd OK HARD 1 > > And I see it run but it doesn't get that arguments (OK, HARD, 1). I try > also: > > libexec/check_nrpe -H MYHOST -c event_clamd -a OK HARD 1 > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs > for error messages. > > Any help? By default NRPE will ignore any passed command arguments. Have you made sure that you have dont_blame_nrpe set to 1 so that command arguments are allowed? Rob -------------- 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 stava at telcotec.se Wed Apr 4 13:56:12 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 04 Apr 2007 13:56:12 +0200 Subject: active response In-Reply-To: References: <4611301C.6070206@0z0ne.com> <20070402180903.GU27901@pmorris.usa.hp.com> <461386A5.1080006@0z0ne.com> Message-ID: <4613925C.8040505@telcotec.se> Rob Blake wrote: > On 4/4/07, Jes?s Arn?iz wrote: >> >> Hi there. >> >> I use the doc. about event handlers and I define this one: >> >> # SERVICE CLAMD >> define service { >> use generic-service >> host_name MYHOST >> service_description CLAMD >> check_command check_clamd >> max_check_attempts 2 >> event_handler event_clamd >> } >> >> # COMMAND >> define command { >> command_name event_clamd >> command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c >> event_clamd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ >> } >> >> And, on the remote machine I configure nrpe.cfg like this: >> >> command[event_clamd]=/data/general/nagios/libexec/event_clamd $ARG1$ >> $ARG2$ $ARG3$ >> >> Also, I put that script (event_clamd), with 755 permission. This script >> write to a file in /tmp in order to see if it run or not. I see it don't >> takes the args (SERVICESTATETYPE SERVICESTATE...), so I try to run the >> script by hand like this: >> >> libexec/check_nrpe -H MYHOST -c event_clamd OK HARD 1 >> >> And I see it run but it doesn't get that arguments (OK, HARD, 1). I try >> also: >> >> libexec/check_nrpe -H MYHOST -c event_clamd -a OK HARD 1 >> CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs >> for error messages. >> >> Any help? > > > > By default NRPE will ignore any passed command arguments. Have you made > sure > that you have dont_blame_nrpe set to 1 so that command arguments are > allowed? In addition, nrpe need to be built with "--enable-command-args". It's all in the new doc's: /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 jesus.arnaiz at 0z0ne.com Wed Apr 4 14:26:38 2007 From: jesus.arnaiz at 0z0ne.com (=?ISO-8859-1?Q?Jes=FAs_Arn=E1iz?=) Date: Wed, 04 Apr 2007 14:26:38 +0200 Subject: active response In-Reply-To: <4613925C.8040505@telcotec.se> References: <4611301C.6070206@0z0ne.com> <20070402180903.GU27901@pmorris.usa.hp.com> <461386A5.1080006@0z0ne.com> <4613925C.8040505@telcotec.se> Message-ID: <4613997E.5090307@0z0ne.com> Thanks Lars and Rob that was the problem. Lars Stavholm escribi?: > Rob Blake wrote: >> On 4/4/07, Jes?s Arn?iz wrote: >>> Hi there. >>> >>> I use the doc. about event handlers and I define this one: >>> >>> # SERVICE CLAMD >>> define service { >>> use generic-service >>> host_name MYHOST >>> service_description CLAMD >>> check_command check_clamd >>> max_check_attempts 2 >>> event_handler event_clamd >>> } >>> >>> # COMMAND >>> define command { >>> command_name event_clamd >>> command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c >>> event_clamd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ >>> } >>> >>> And, on the remote machine I configure nrpe.cfg like this: >>> >>> command[event_clamd]=/data/general/nagios/libexec/event_clamd $ARG1$ >>> $ARG2$ $ARG3$ >>> >>> Also, I put that script (event_clamd), with 755 permission. This script >>> write to a file in /tmp in order to see if it run or not. I see it don't >>> takes the args (SERVICESTATETYPE SERVICESTATE...), so I try to run the >>> script by hand like this: >>> >>> libexec/check_nrpe -H MYHOST -c event_clamd OK HARD 1 >>> >>> And I see it run but it doesn't get that arguments (OK, HARD, 1). I try >>> also: >>> >>> libexec/check_nrpe -H MYHOST -c event_clamd -a OK HARD 1 >>> CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs >>> for error messages. >>> >>> Any help? >> >> >> By default NRPE will ignore any passed command arguments. Have you made >> sure >> that you have dont_blame_nrpe set to 1 so that command arguments are >> allowed? > > In addition, nrpe need to be built with "--enable-command-args". > It's all in the new doc's: > > /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 azahn at insors.com Wed Apr 4 16:39:22 2007 From: azahn at insors.com (Andrew Zahn) Date: Wed, 04 Apr 2007 09:39:22 -0500 Subject: monitor linux sw raid with snmp? Message-ID: <4613B89A.7010603@insors.com> Hi, I am looking for a way to monitor the status of software raid (such as md0) using snmp? Primarily I would like to check for a "failed" or "degraded" status. I am wonder how Nagios admins are doing this. Thanks, 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 lflacayo at cps.k12.il.us Wed Apr 4 16:38:37 2007 From: lflacayo at cps.k12.il.us (Lacayo, Luis F) Date: Wed, 4 Apr 2007 09:38:37 -0500 Subject: Sharepoint DB check. In-Reply-To: References: Message-ID: HI Everyone, I was wondering if any one can point me to a place where I can find a plugin to check sharepoint database. Thanks, Luis Luis Lacayo -------------- 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 Wed Apr 4 17:20:00 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 4 Apr 2007 17:20:00 +0200 (CEST) Subject: monitor linux sw raid with snmp? In-Reply-To: <4613B89A.7010603@insors.com> References: <4613B89A.7010603@insors.com> Message-ID: On Wed, 4 Apr 2007, Andrew Zahn wrote: > I am looking for a way to monitor the status of software raid (such > as md0) using snmp? Primarily I would like to check for a "failed" or > "degraded" status. I am wonder how Nagios admins are doing this. What did you find on your server using snmpwalk? Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Apr 4 17:22:06 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 4 Apr 2007 16:22:06 +0100 Subject: Sharepoint DB check. In-Reply-To: References: Message-ID: From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lacayo, > I was wondering if any one can point me to a place where I can find a plugin to check sharepoint database. Sharepoint uses a number of SQL Server databases to store configuration and data so you can check them using the usual tools - check_mssql.sh in the standard plugin distribution for checking connectivity or by querying the performance counters for more detailed info. I'm not aware of any Sharepoint specific plugins. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surcouf at debianfr.net Wed Apr 4 17:30:54 2007 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl?= 'SurcouF' Bordet) Date: Wed, 04 Apr 2007 17:30:54 +0200 Subject: monitor linux sw raid with snmp? In-Reply-To: <4613B89A.7010603@insors.com> References: <4613B89A.7010603@insors.com> Message-ID: <1175700654.9351.3.camel@rpvbpi> Le mercredi 04 avril 2007 ? 09:39 -0500, Andrew Zahn a ?crit : > Hi, > > I am looking for a way to monitor the status of software raid (such > as md0) using snmp? Primarily I would like to check for a "failed" or > "degraded" status. I am wonder how Nagios admins are doing this. Hi, You can try to use chek_raid[1] plugin wrote by Steve Shipway with the net-snmp exec[2] directive. This plugin is previously designed for NRPE but you can successfully use it with Net-SNMP, I guess. Regards, [1]:http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=224 [2]:http://net-snmp.sourceforge.net/docs/man/snmpd.conf.html#lbAX -- Rapha?l 'SurcouF' Bordet ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Wed Apr 4 17:37:23 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Wed, 4 Apr 2007 11:37:23 -0400 Subject: websphere mq plugins on NE Message-ID: <2274b9c30704040837n249d5801oc12b2f711a111070@mail.gmail.com> Hi, I wrote a bunch of little scripts to monitoring MQ and just threw them on the nagiosexchange. http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1[p_view]=920 Enjoy! --kyleo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PriggeScottM at JohnDeere.com Wed Apr 4 18:33:53 2007 From: PriggeScottM at JohnDeere.com (Prigge Scott) Date: Wed, 4 Apr 2007 11:33:53 -0500 Subject: (no subject) Message-ID: <0B5F692B776CFF4AB836841D36E92E9B02BF3797@edxmb7.jdnet.deere.com> I recently upgraded from 1.0b to 2.7. I noticed that immediately after my daily log rotation, the current state of all hosts and services is entered in the log file. As I have thousands of hosts/services, this makes the log (in my case) unnecessarily large, and was hoping to find an option to prevent those states from being logged. Here is a sample of entries I am referring to: [04-04-2007 00:00:00] CURRENT SERVICE STATE: ;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 51.00 ms [04-04-2007 00:00:00] CURRENT SERVICE STATE: ;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 212.99 ms [04-04-2007 00:00:00] CURRENT HOST STATE: r;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 11.14 ms [04-04-2007 00:00:00] CURRENT HOST STATE: ;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 28.26 ms The documentation references the "log_initial_states" entry in the main configuration file, which seems like it should control this option. But as you can see by my config file below, it's disabled. Should I be looking at a different option(s)? Thanks. 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 log_file=/usr/local/nagios/var/nagios.log temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat aggregate_status_updates=1 status_update_interval=30 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=0 enable_event_handlers=0 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd downtime_file=/usr/local/nagios/var/downtime.dat comment_file=/usr/local/nagios/var/comment.dat lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=15 use_retained_program_state=1 use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=0 service_interleave_factor=s service_reaper_frequency=10 interval_length=60 service_check_timeout=60 host_check_timeout=60 notification_timeout=60 date_format=us illegal_object_name_chars=`~!$%^&*"|'<>?,()= illegal_macro_output_chars=`~$^&"|'<> object_cache_file=/usr/local/nagios/var/objects.cache execute_host_checks=1 service_inter_check_delay_method=s use_retained_scheduling_info=0 accept_passive_host_checks=0 host_inter_check_delay_method=s host_perfdata_file_mode=a service_perfdata_file_mode=a host_perfdata_file_processing_interval=0 service_perfdata_file_processing_interval=0 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 18:35:23 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 04 Apr 2007 17:35:23 +0100 Subject: monitor linux sw raid with snmp? In-Reply-To: <4613B89A.7010603@insors.com> References: <4613B89A.7010603@insors.com> Message-ID: <4613D3CB.7080308@googlemail.com> I wrote 3 scripts to monitor Raid arrays on 3ware, Lsi MegaRaid, and Linux Software (MD) Raid which it sounds like you are using. I use these on both 32-bit and 64-bit Linux servers you can find the plugins here Linux MD Software Raid http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=880 LSI MegaRaid http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=879 3ware Raid http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=878 -h Hari Sekhon Andrew Zahn wrote: > Hi, > > I am looking for a way to monitor the status of software raid (such > as md0) using snmp? Primarily I would like to check for a "failed" or > "degraded" status. I am wonder how Nagios admins are doing this. > > Thanks, > 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 > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From azahn at insors.com Wed Apr 4 18:50:16 2007 From: azahn at insors.com (Andrew Zahn) Date: Wed, 04 Apr 2007 11:50:16 -0500 Subject: [SPAM] Re: monitor linux sw raid with snmp? In-Reply-To: <4613D3CB.7080308@googlemail.com> References: <4613B89A.7010603@insors.com> <4613D3CB.7080308@googlemail.com> Message-ID: <4613D748.3010108@insors.com> do these plugins require NRPE? I was hoping to get raid status out of SNMP somehow. Hari Sekhon wrote: > I wrote 3 scripts to monitor Raid arrays on 3ware, Lsi MegaRaid, and > Linux Software (MD) Raid which it sounds like you are using. > > I use these on both 32-bit and 64-bit Linux servers > > you can find the plugins here > > Linux MD Software Raid > http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=880 > > LSI MegaRaid > http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=879 > > 3ware Raid > http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=878 > > > > -h > > Hari Sekhon > > > > Andrew Zahn wrote: >> Hi, >> >> I am looking for a way to monitor the status of software raid (such >> as md0) using snmp? Primarily I would like to check for a "failed" or >> "degraded" status. I am wonder how Nagios admins are doing this. >> >> Thanks, >> 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 >> >> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at cloned.org.uk Wed Apr 4 19:08:08 2007 From: lists at cloned.org.uk (john) Date: Wed, 4 Apr 2007 18:08:08 +0100 (BST) Subject: adaptive notifications Message-ID: Hi, I'm looking for a way to do adaptive notifications on monitoring a single service so that it notifies differently based on different criteria. For example, monitoring a network port bandwidth usage, we want an alert if between: ? ?0000 to 0559 - its 12Mbps+ for over 30 mins ? ?0600 to 2359 - its 5Mbps+ for over 3 hrs OR 8Mbps+ for over 30 mins I can obviously do this by setting up 3 different services with the appropriate variables and query the thing 3 times, but thats not a particularly nice solution if you want to monitor hundreds of ports.. The other option I see is to have the checking script do the processing of this, and then hand it off as critical or warning or whatever to nagios which then alerts on first status change, but that seems to be part way to building a replacement to nagios ;-) Anyone have any suggestions on other ways to do what I want to do? Cheers, john -------------- 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 Wed Apr 4 19:28:21 2007 From: bench at silentmedia.com (Ben) Date: Wed, 4 Apr 2007 10:28:21 -0700 (PDT) Subject: [SPAM] Re: monitor linux sw raid with snmp? In-Reply-To: <4613D748.3010108@insors.com> References: <4613B89A.7010603@insors.com> <4613D3CB.7080308@googlemail.com> <4613D748.3010108@insors.com> Message-ID: If you're running net-snmp (and given that you're running linux, you probably are), then it's fairly trivial to get it to execute a command and return the result when a certain oid is queried. See the snmp conf file for examples. On Wed, 4 Apr 2007, Andrew Zahn wrote: > do these plugins require NRPE? I was hoping to get raid status out of > SNMP somehow. > > Hari Sekhon wrote: >> I wrote 3 scripts to monitor Raid arrays on 3ware, Lsi MegaRaid, and >> Linux Software (MD) Raid which it sounds like you are using. >> >> I use these on both 32-bit and 64-bit Linux servers >> >> you can find the plugins here >> >> Linux MD Software Raid >> http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=880 >> >> LSI MegaRaid >> http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=879 >> >> 3ware Raid >> http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=878 >> >> >> >> -h >> >> Hari Sekhon >> >> >> >> Andrew Zahn wrote: >>> Hi, >>> >>> I am looking for a way to monitor the status of software raid (such >>> as md0) using snmp? Primarily I would like to check for a "failed" or >>> "degraded" status. I am wonder how Nagios admins are doing this. >>> >>> Thanks, >>> 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 >>> >>> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 israel at frontierflying.com Wed Apr 4 19:45:26 2007 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 4 Apr 2007 09:45:26 -0800 Subject: Nagios dying Message-ID: <088770FF-9BD3-4248-AD93-25CE1EC21519@frontierflying.com> A while ago I installed Nagios 2.4 on a somewhat minimal (don't remember the specs, but old) OpenBSD 4.0 box. For the most part, it appears to work fine- latency is a nice low .328 seconds on average, with an average execution time of 4 seconds. The execution time might be a bit high, but it doesn't appear to cause any issues. The only problem is that, from time to time, Nagios will simply die. The logs show normal operation right up to the time it dies, and there is no real indication that it isn't running, except that the last check times don't change and a look at the process list shows no Nagios processes. Now, I have written a script that checks for this and restarts Nagios if necessary, but it would of course be preferable to stop it from dying in the first place. I realize that this isn't much information to go on (more presumably available on specific request), but I was wondering if anyone had seen similar behavior and could give me an idea as to how to fix it? Thanks ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Wed Apr 4 21:29:24 2007 From: rob.blake at gmail.com (Rob Blake) Date: Wed, 4 Apr 2007 20:29:24 +0100 Subject: adaptive notifications In-Reply-To: References: Message-ID: On 4/4/07, john wrote: > > Hi, > I'm looking for a way to do adaptive notifications on monitoring a single > service so that it notifies differently based on different criteria. > > For example, monitoring a network port bandwidth usage, we want an alert > if between: > > 0000 to 0559 - its 12Mbps+ for over 30 mins > 0600 to 2359 - its 5Mbps+ for over 3 hrs OR 8Mbps+ for over 30 mins > > I can obviously do this by setting up 3 different services with the > appropriate variables and query the thing 3 times, but thats not a > particularly nice solution if you want to monitor hundreds of ports.. > > The other option I see is to have the checking script do the processing of > this, and then hand it off as critical or warning or whatever to nagios > which then alerts on first status change, but that seems to be part way to > building a replacement to nagios ;-) > > Anyone have any suggestions on other ways to do what I want to do? > > Cheers, Unfortunately I think you've covered all the traditional way of doing this. I guess it comes down to your preference of the lesser of two evils as to which you implement. Perhaps another option for you is to look at using a NEBModule. This could change the command line definition for your service check_command based around the time of day. This is possible as NEBModules have access to all of the internal object data stores in Nagios by interfacing directly with the daemon. Rob -------------- 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 rob.blake at gmail.com Wed Apr 4 21:35:16 2007 From: rob.blake at gmail.com (Rob Blake) Date: Wed, 4 Apr 2007 20:35:16 +0100 Subject: Nagios dying In-Reply-To: <088770FF-9BD3-4248-AD93-25CE1EC21519@frontierflying.com> References: <088770FF-9BD3-4248-AD93-25CE1EC21519@frontierflying.com> Message-ID: On 4/4/07, Israel Brewster wrote: > > A while ago I installed Nagios 2.4 on a somewhat minimal (don't > remember the specs, but old) OpenBSD 4.0 box. For the most part, it > appears to work fine- latency is a nice low .328 seconds on average, > with an average execution time of 4 seconds. The execution time might > be a bit high, but it doesn't appear to cause any issues. The only > problem is that, from time to time, Nagios will simply die. The logs > show normal operation right up to the time it dies, and there is no > real indication that it isn't running, except that the last check > times don't change and a look at the process list shows no Nagios > processes. Now, I have written a script that checks for this and > restarts Nagios if necessary, but it would of course be preferable to > stop it from dying in the first place. I realize that this isn't much > information to go on (more presumably available on specific request), > but I was wondering if anyone had seen similar behavior and could > give me an idea as to how to fix it? Thanks As you say not much to go on. Obviously something is causing Nagios to die. I've just had a quick look at the change list for later releases > 2.4 and there are some bug fixes for seg faults which presumably could cause Nagios to die silently. It may be worth updating to the latest and greatest version to see if this solves your issue. If this isn't possible, then I guess an inspection of the Nagios log file to see what it was doing last before it died is in order. cheers Rob -------------- 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 srikalyan.tangirala at gmail.com Wed Apr 4 22:03:59 2007 From: srikalyan.tangirala at gmail.com (srikalyan tangirala) Date: Wed, 4 Apr 2007 16:03:59 -0400 Subject: Nagios Users as Admin In-Reply-To: References: <2274b9c30703131016o13f4dcbbp27a8e8674ccf39c0@mail.gmail.com> Message-ID: Hi All: I am a newbie using the NAGIOS 2.1. I tried setting up the software and was successfull in installing nas configuring it. I have few questions regarding the usage of the software: I was looking at the features and would like to investigate if these things can be possible and how can they be achieved: 1) Network Logs 2) Hardware failure and faults 3) Scheduled Maintenance 4) Automatic Notification 5) Ease of use as it has a simple web interface 6) Show different user privileges for different users so that each user can maintain his own server if required 7) General System monitoring Any Leads? Best Regards, Sri On 3/13/07, Marc Powell wrote: > > Or define them as a contact for all the services they should see. > > -- > Marc > > (mmmmm. top posting. Tasty fun.) > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Kyle O'Donnell > > Sent: Tuesday, March 13, 2007 12:17 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios Users as Admin > > > > modify cgi.cfg > > > > authorized_for_system_information=nagiosadmin,newuser > > authorized_for_system_commands=nagiosadmin,newuser > > authorized_for_configuration_information=... > > authorized_for_all_services... > > authorized_for_all_hosts=... > > > > On 3/13/07, Nedim Bicic wrote: > > > Hey everyone i have Nagios 2.4 i have the default login as > nagiosadmin > > as > > > master administrator where everyone do external commands such as > > > acknowledgements > > > > > > but i want to be able to add different users to view and have the > same > > > permission as admin to change stuff on nagios webinterface? > > > > > > i tryed adding a user1 as an example, but when i login no > information > > can be > > > seen (ex : no hosts are there no services) How do i enable this user > to > > have > > > same view and permission as admin I am sure this is possible 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 > -------------- 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 Wed Apr 4 22:28:31 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 4 Apr 2007 13:28:31 -0700 Subject: Nagios Users as Admin In-Reply-To: References: <2274b9c30703131016o13f4dcbbp27a8e8674ccf39c0@mail.gmail.com> Message-ID: <20070404202831.GR27901@pmorris.usa.hp.com> On Wed, 04 Apr 2007, srikalyan tangirala wrote: > Hi All: > I am a newbie using the NAGIOS 2.1. I tried setting up the software > and was successfull in installing nas configuring it. I have few questions > regarding the usage of the software: > > I was looking at the features and would like to investigate if these things > can be possible and how can they be achieved: > > 1) Network Logs > > 2) Hardware failure and faults > > 3) Scheduled Maintenance > > 4) Automatic Notification > > 5) Ease of use as it has a simple web interface > > 6) Show different user privileges for different users so that each > user can maintain his own server if required > > 7) General System monitoring > > Any Leads? All of those subjects are covered in the Nagios documentation. You should probably give it a thorough reading. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Apr 4 23:28:36 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 4 Apr 2007 23:28:36 +0200 (CEST) Subject: [SPAM] Re: monitor linux sw raid with snmp? In-Reply-To: <4613D748.3010108@insors.com> References: <4613B89A.7010603@insors.com> <4613D3CB.7080308@googlemail.com> <4613D748.3010108@insors.com> Message-ID: On Wed, 4 Apr 2007, Andrew Zahn wrote: > do these plugins require NRPE? I was hoping to get raid status out of > SNMP somehow. You might want to look up your snmpd.conf file and see how one can sneak in scripts there. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tstocking at groundworkopensource.com Thu Apr 5 00:35:15 2007 From: tstocking at groundworkopensource.com (Thomas Stocking) Date: Wed, 04 Apr 2007 15:35:15 -0700 Subject: (no subject) In-Reply-To: <0B5F692B776CFF4AB836841D36E92E9B02BF3797@edxmb7.jdnet.deere.com> References: <0B5F692B776CFF4AB836841D36E92E9B02BF3797@edxmb7.jdnet.deere.com> Message-ID: <46142823.8010308@groundworkopensource.com> Curious of it's the log rotation HUP signal that is doing this. Does it do the same thing on a restart of nagios? Also, have you tried shutting down nagios, checking for any old nagios processes hanging around and killing them off, then restarting? Thomas Prigge Scott wrote: > I recently upgraded from 1.0b to 2.7. I noticed that immediately after > my daily log rotation, the current state of all hosts and services is > entered in the log file. As I have thousands of hosts/services, this > makes the log (in my case) unnecessarily large, and was hoping to find > an option to prevent those states from being logged. > > Here is a sample of entries I am referring to: > [04-04-2007 00:00:00] CURRENT SERVICE STATE: > ;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 51.00 ms > [04-04-2007 00:00:00] CURRENT SERVICE STATE: > ;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 212.99 ms > [04-04-2007 00:00:00] CURRENT HOST STATE: r;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 11.14 ms > [04-04-2007 00:00:00] CURRENT HOST STATE: ;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 28.26 ms > > The documentation references the "log_initial_states" entry in the main > configuration file, which seems like it should control this option. But > as you can see by my config file below, it's disabled. Should I be > looking at a different option(s)? > > Thanks. > > 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 > log_file=/usr/local/nagios/var/nagios.log > temp_file=/usr/local/nagios/var/nagios.tmp > status_file=/usr/local/nagios/var/status.dat > aggregate_status_updates=1 > status_update_interval=30 > nagios_user=nagios > nagios_group=nagios > enable_notifications=1 > execute_service_checks=1 > accept_passive_service_checks=0 > enable_event_handlers=0 > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > check_external_commands=1 > command_check_interval=-1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > downtime_file=/usr/local/nagios/var/downtime.dat > comment_file=/usr/local/nagios/var/comment.dat > lock_file=/usr/local/nagios/var/nagios.lock > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/retention.dat > retention_update_interval=15 > use_retained_program_state=1 > use_syslog=0 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=0 > log_external_commands=1 > log_passive_checks=0 > service_interleave_factor=s > service_reaper_frequency=10 > interval_length=60 > service_check_timeout=60 > host_check_timeout=60 > notification_timeout=60 > date_format=us > illegal_object_name_chars=`~!$%^&*"|'<>?,()= > illegal_macro_output_chars=`~$^&"|'<> > object_cache_file=/usr/local/nagios/var/objects.cache > execute_host_checks=1 > service_inter_check_delay_method=s > use_retained_scheduling_info=0 > accept_passive_host_checks=0 > host_inter_check_delay_method=s > host_perfdata_file_mode=a > service_perfdata_file_mode=a > host_perfdata_file_processing_interval=0 > service_perfdata_file_processing_interval=0 > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 blangen at cisco.com Thu Apr 5 01:34:44 2007 From: blangen at cisco.com (Ben Langen (blangen)) Date: Wed, 4 Apr 2007 16:34:44 -0700 Subject: Configuring TimePeriods and Contact groups for daytime support notifications Message-ID: I'm setting up Nagios to monitor services in several sites around the world, and would like to configure the notifications to only be sent to specific people (mail aliases) based on their daylight hours. This would essentially be sending notifications to my team in Israel, or India while my team is sleeping in San Jose. Any help would be greatly appreciated. Thanks, -Ben -------------- 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 Apr 5 01:43:12 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 4 Apr 2007 16:43:12 -0700 Subject: Configuring TimePeriods and Contact groups for daytime support notifications In-Reply-To: References: Message-ID: <20070404234312.GX27901@pmorris.usa.hp.com> On Wed, 04 Apr 2007, Ben Langen (blangen) wrote: > I'm setting up Nagios to monitor services in several sites around the > world, and would like to configure the notifications to only be sent to > specific people (mail aliases) based on their daylight hours. This would > essentially be sending notifications to my team in Israel, or India > while my team is sleeping in San Jose. Check the docs for how to set a notification timeperiod, then associate it with your contact groups. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Thu Apr 5 01:48:26 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Wed, 04 Apr 2007 18:48:26 -0500 Subject: Configuring TimePeriods and Contact groups for daytime support notifications In-Reply-To: References: Message-ID: <4614394A.50908@epsiia.com> Ben Langen (blangen) wrote: > I'm setting up Nagios to monitor services in several sites around the > world, and would like to configure the notifications to only be sent to > specific people (mail aliases) based on their daylight hours. This would > essentially be sending notifications to my team in Israel, or India > while my team is sleeping in San Jose. > > > Any help would be greatly appreciated. Thanks, > > -Ben http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact That should be easy enough to do from reading the documentation. Each contact has a defined 'service_notification_period' and 'host_notification_period' where you can specify the time period to allow notifications. - Josh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From list.mail at comcast.net Thu Apr 5 03:19:59 2007 From: list.mail at comcast.net (list.mail) Date: Wed, 4 Apr 2007 21:19:59 -0400 Subject: Nagios dying In-Reply-To: References: Message-ID: <000001c77720$8768f550$162aa8c0@dawn> I'm having the same problem with my installation of 2.7 on OpenBSD 4.0. It dyes silently. I do notice in the logs it tries to restart after and can't find the .pid file. [1174798800] LOG ROTATION: DAILY [1174798800] LOG VERSION: 2.0 Then it dies, I have to manually restart it. Sometimes this shows up in the log also [1168546261] /var/run/nagios/nagios.pid does not exist (ENOENT) I then look for the /var/run/nagios/ dir and its not there, so I Mkdir /var/run/nagios/ Chown _nagios:_nagios And restart the daemon. My guess Israel, is that you got the installation from the packages on the OpenBSD website, which has been packaged up as chroot version. I did the same, then upgraded to 2.7, but followed the dir structure of the chroot installation and I'm still having the problem. Does anyone know if there is a problem running Nagios in chroot? Or the fix for our issue here? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rob Blake Sent: Wednesday, April 04, 2007 3:35 PM To: Israel Brewster Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] Nagios dying On 4/4/07, Israel Brewster wrote: A while ago I installed Nagios 2.4 on a somewhat minimal (don't remember the specs, but old) OpenBSD 4.0 box. For the most part, it appears to work fine- latency is a nice low .328 seconds on average, with an average execution time of 4 seconds. The execution time might be a bit high, but it doesn't appear to cause any issues. The only problem is that, from time to time, Nagios will simply die. The logs show normal operation right up to the time it dies, and there is no real indication that it isn't running, except that the last check times don't change and a look at the process list shows no Nagios processes. Now, I have written a script that checks for this and restarts Nagios if necessary, but it would of course be preferable to stop it from dying in the first place. I realize that this isn't much information to go on (more presumably available on specific request), but I was wondering if anyone had seen similar behavior and could give me an idea as to how to fix it? Thanks As you say not much to go on. Obviously something is causing Nagios to die. I've just had a quick look at the change list for later releases > 2.4 and there are some bug fixes for seg faults which presumably could cause Nagios to die silently. It may be worth updating to the latest and greatest version to see if this solves your issue. If this isn't possible, then I guess an inspection of the Nagios log file to see what it was doing last before it died is in order. cheers Rob ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 04:07:53 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 5 Apr 2007 12:07:53 +1000 Subject: Sharepoint DB check. Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A020CF129@mail01.ccia.local> Presumable you want to check the database because you want to know that share point is running. You can check the SQL service easy enough, and check the HTTP service is running, you can check the results of the webpage, but authentication may be an issue. You could use NRPE to run a vbscript to check the db too. 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 Lacayo, Luis F Sent: Thursday, 5 April 2007 12:39 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Sharepoint DB check. HI Everyone, I was wondering if any one can point me to a place where I can find a plugin to check sharepoint database. Thanks, Luis Luis Lacayo -------------- 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 mukta at gwu.edu Thu Apr 5 06:51:32 2007 From: mukta at gwu.edu (Mukta Sharma) Date: Thu, 05 Apr 2007 00:51:32 -0400 Subject: Problem in running Nagios Message-ID: Hi, I have one problem after installing and running nagios, actually its running but the the graphics of the page showing the host details and services details are not getting displayed. One more thing as iam doing this nagios installation on my laptop only, so i added the host as my windows wireless adapter. Now iam not able to understand how can i see the details of this host and how to configure the services of this host. Thanks for your time. Regards Mukta Sharma M.S Student. The George Washington University ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at extenprise.com Thu Apr 5 09:27:01 2007 From: nilesh at extenprise.com (nilesh at extenprise.com) Date: Thu, 05 Apr 2007 00:27:01 -0700 Subject: Problem in running Nagios Message-ID: <20070405002701.950497dbae856235a3836a629a269cc6.afb63aaee0.wbe@email.secureserver.net> Hello Mukta, I had faced the same problem,I think you have installed through the RPMS please try to install by tarball and its very easy If you are using redhat please follow this document http://nagios.sourceforge.net/download/contrib/documentation/misc/Nagios%20Install%20on%20Redhat%20EL%204.doc or follow the link as per your flavour http://www.nagioscommunity.org/wiki/index.php/Howtos:specific Regards Nilesh. > -------- Original Message -------- > Subject: [Nagios-users] Problem in running Nagios > From: Mukta Sharma > Date: Thu, April 05, 2007 10:21 am > To: nagios-users at lists.sourceforge.net > > Hi, > > I have one problem after installing and running nagios, actually its > running but the the graphics of the page showing the host details and > services details are not getting displayed. > > One more thing as iam doing this nagios installation on my laptop > only, so i added the host as my windows wireless adapter. Now iam not > able to understand how can i see the details of this host and how to > configure the services of this host. > > Thanks for your time. > > Regards > > Mukta Sharma > M.S Student. > The George Washington University > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 hpsekhon at googlemail.com Thu Apr 5 10:13:33 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Apr 2007 09:13:33 +0100 Subject: [SPAM] Re: monitor linux sw raid with snmp? In-Reply-To: <4613D748.3010108@insors.com> References: <4613B89A.7010603@insors.com> <4613D3CB.7080308@googlemail.com> <4613D748.3010108@insors.com> Message-ID: <4614AFAD.5070403@googlemail.com> I've designed them with NRPE in mind but it doesn't really matter, you can execute them via snmp and retrieve both the output and the status code as normal. see http://www.kilala.nl/Sysadmin/retrieve_custom_snmp.php for details. -h Hari Sekhon Andrew Zahn wrote: > do these plugins require NRPE? I was hoping to get raid status out of > SNMP somehow. > > Hari Sekhon wrote: >> I wrote 3 scripts to monitor Raid arrays on 3ware, Lsi MegaRaid, and >> Linux Software (MD) Raid which it sounds like you are using. >> >> I use these on both 32-bit and 64-bit Linux servers >> >> you can find the plugins here >> >> Linux MD Software Raid >> http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=880 >> >> LSI MegaRaid >> http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=879 >> >> 3ware Raid >> http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=878 >> >> >> >> -h >> >> Hari Sekhon >> >> >> >> Andrew Zahn wrote: >>> Hi, >>> >>> I am looking for a way to monitor the status of software raid (such >>> as md0) using snmp? Primarily I would like to check for a "failed" >>> or "degraded" status. I am wonder how Nagios admins are doing this. >>> >>> Thanks, >>> 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 >>> >>> > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rprague at geekforever.com Thu Apr 5 10:14:54 2007 From: rprague at geekforever.com (Ronald Prague) Date: Thu, 5 Apr 2007 01:14:54 -0700 Subject: Gentoo install of nagios 2.8, statusmap.c not compiling, no statusmap.cgi Message-ID: <000f01c7775a$7e1c89f0$0201a8c0@STAR> I've read the install documentation, I have libjpeg, libgd, libpng etc installed, but when I do a make all, statusmap.cgi isn't created and google hasn't been of great help, am I missing something simple? Sincerely, Ron Prague -------------- 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 PriggeScottM at JohnDeere.com Thu Apr 5 15:21:10 2007 From: PriggeScottM at JohnDeere.com (Prigge Scott) Date: Thu, 5 Apr 2007 08:21:10 -0500 Subject: (no subject) In-Reply-To: <46142823.8010308@groundworkopensource.com> References: <0B5F692B776CFF4AB836841D36E92E9B02BF3797@edxmb7.jdnet.deere.com> <46142823.8010308@groundworkopensource.com> Message-ID: <0B5F692B776CFF4AB836841D36E92E9B02BF37C1@edxmb7.jdnet.deere.com> Sorry about the missing subject... It does seem to be caused by the log rotation signal. The entries are not re-created on a restart, nor on full clean shutdown and restart. -----Original Message----- From: Thomas Stocking [mailto:tstocking at groundworkopensource.com] Sent: Wednesday, April 04, 2007 5:35 PM To: Prigge Scott Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] (no subject) Curious of it's the log rotation HUP signal that is doing this. Does it do the same thing on a restart of nagios? Also, have you tried shutting down nagios, checking for any old nagios processes hanging around and killing them off, then restarting? Thomas Prigge Scott wrote: > I recently upgraded from 1.0b to 2.7. I noticed that immediately after > my daily log rotation, the current state of all hosts and services is > entered in the log file. As I have thousands of hosts/services, this > makes the log (in my case) unnecessarily large, and was hoping to find > an option to prevent those states from being logged. > > Here is a sample of entries I am referring to: > [04-04-2007 00:00:00] CURRENT SERVICE STATE: > ;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 51.00 ms > [04-04-2007 00:00:00] CURRENT SERVICE STATE: > ;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 212.99 ms > [04-04-2007 00:00:00] CURRENT HOST STATE: r;UP;HARD;1;PING OK > - Packet loss = 0%, RTA = 11.14 ms > [04-04-2007 00:00:00] CURRENT HOST STATE: ;UP;HARD;1;PING OK - > Packet loss = 0%, RTA = 28.26 ms > > The documentation references the "log_initial_states" entry in the > main configuration file, which seems like it should control this > option. But as you can see by my config file below, it's disabled. > Should I be looking at a different option(s)? > > Thanks. > > 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 > log_file=/usr/local/nagios/var/nagios.log > temp_file=/usr/local/nagios/var/nagios.tmp > status_file=/usr/local/nagios/var/status.dat > aggregate_status_updates=1 > status_update_interval=30 > nagios_user=nagios > nagios_group=nagios > enable_notifications=1 > execute_service_checks=1 > accept_passive_service_checks=0 > enable_event_handlers=0 > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > check_external_commands=1 > command_check_interval=-1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > downtime_file=/usr/local/nagios/var/downtime.dat > comment_file=/usr/local/nagios/var/comment.dat > lock_file=/usr/local/nagios/var/nagios.lock > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/retention.dat > retention_update_interval=15 > use_retained_program_state=1 > use_syslog=0 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=0 > log_external_commands=1 > log_passive_checks=0 > service_interleave_factor=s > service_reaper_frequency=10 > interval_length=60 > service_check_timeout=60 > host_check_timeout=60 > notification_timeout=60 > date_format=us > illegal_object_name_chars=`~!$%^&*"|'<>?,()= > illegal_macro_output_chars=`~$^&"|'<> > object_cache_file=/usr/local/nagios/var/objects.cache > execute_host_checks=1 > service_inter_check_delay_method=s > use_retained_scheduling_info=0 > accept_passive_host_checks=0 > host_inter_check_delay_method=s > host_perfdata_file_mode=a > service_perfdata_file_mode=a > host_perfdata_file_processing_interval=0 > service_perfdata_file_processing_interval=0 > > > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > 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 From paul.roberts at 7digital.com Thu Apr 5 14:43:57 2007 From: paul.roberts at 7digital.com (Paul Roberts) Date: Thu, 5 Apr 2007 13:43:57 +0100 Subject: Socket timeout issue Message-ID: <000801c77780$1413ce30$280a000a@7digital.local> Hi All, Can someone help out with my CHECK_NRPE: Socket timeout after 10 seconds issue. I have Nagios running on a Debian server, runs tests to Windows Boxes OK. I am attempting to do remote checks of an Debian server. I can telnet on port 5666 to the remote server, netstat -l reports: tcp 0 0 *:nrpe *:* LISTEN I can run this check on the remote server: # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 check_disk # NRPE v2.0 What information/configurations files do you need from me? Regards Paul Roberts. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 15:37:28 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Apr 2007 14:37:28 +0100 Subject: Socket timeout issue In-Reply-To: <000801c77780$1413ce30$280a000a@7digital.local> References: <000801c77780$1413ce30$280a000a@7digital.local> Message-ID: <4614FB98.6070804@googlemail.com> aren't you missing a -c before check_disk? typo on command line or typo in email? -h Hari Sekhon Paul Roberts wrote: > Hi All, > > Can someone help out with my CHECK_NRPE: Socket timeout after 10 seconds > issue. > > I have Nagios running on a Debian server, runs tests to Windows Boxes OK. > > I am attempting to do remote checks of an Debian server. > > I can telnet on port 5666 to the remote server, netstat -l reports: > tcp 0 0 *:nrpe *:* LISTEN > > I can run this check on the remote server: > > # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 > check_disk # NRPE v2.0 > > What information/configurations files do you need from me? > > Regards > Paul Roberts. > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 hpsekhon at googlemail.com Thu Apr 5 15:41:14 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Apr 2007 14:41:14 +0100 Subject: Socket timeout issue In-Reply-To: <000801c77780$1413ce30$280a000a@7digital.local> References: <000801c77780$1413ce30$280a000a@7digital.local> Message-ID: <4614FC7A.5010805@googlemail.com> post your nrpe config is your nrpe tcpwrapped? run as daemon or from inetd/xinetd? -h Hari Sekhon Paul Roberts wrote: > Hi All, > > Can someone help out with my CHECK_NRPE: Socket timeout after 10 seconds > issue. > > I have Nagios running on a Debian server, runs tests to Windows Boxes OK. > > I am attempting to do remote checks of an Debian server. > > I can telnet on port 5666 to the remote server, netstat -l reports: > tcp 0 0 *:nrpe *:* LISTEN > > I can run this check on the remote server: > > # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 > check_disk # NRPE v2.0 > > What information/configurations files do you need from me? > > Regards > Paul Roberts. > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ktynagios at richard-group.com Thu Apr 5 15:47:42 2007 From: ktynagios at richard-group.com (Kurt Yoder) Date: Thu, 5 Apr 2007 09:47:42 -0400 Subject: Nagios dying In-Reply-To: <088770FF-9BD3-4248-AD93-25CE1EC21519@frontierflying.com> References: <088770FF-9BD3-4248-AD93-25CE1EC21519@frontierflying.com> Message-ID: <0C0D4A00-DFCF-41AC-9929-C238C690B91A@richard-group.com> On Apr 4, 2007, at 1:45 PM, Israel Brewster wrote: > A while ago I installed Nagios 2.4 on a somewhat minimal (don't > remember the specs, but old) OpenBSD 4.0 box. For the most part, it > appears to work fine- latency is a nice low .328 seconds on average, > with an average execution time of 4 seconds. The execution time might > be a bit high, but it doesn't appear to cause any issues. The only > problem is that, from time to time, Nagios will simply die. The logs > show normal operation right up to the time it dies, and there is no > real indication that it isn't running, except that the last check > times don't change and a look at the process list shows no Nagios > processes. Now, I have written a script that checks for this and > restarts Nagios if necessary, but it would of course be preferable to > stop it from dying in the first place. I realize that this isn't much > information to go on (more presumably available on specific request), > but I was wondering if anyone had seen similar behavior and could > give me an idea as to how to fix it? Thanks You wouldn't happen to be running it with a database back-end would you? I had an identical problem on Debian while using the Nagios/ Postgres package. There seems to be some kind of bug somewhere in this Debian package that causes Nagios to frequently and silently die. Once I removed the Postgres back-end, Nagios became stable again. -- Kurt Yoder The Richard Group ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.roberts at 7digital.com Thu Apr 5 15:47:41 2007 From: paul.roberts at 7digital.com (Paul Roberts) Date: Thu, 5 Apr 2007 14:47:41 +0100 Subject: Socket timeout issue In-Reply-To: <4614FC7A.5010805@googlemail.com> References: <000801c77780$1413ce30$280a000a@7digital.local> <4614FC7A.5010805@googlemail.com> Message-ID: <001001c77788$fb597530$280a000a@7digital.local> Hi, Thanks for looking. Hope this helps. Here is my inetd.conf file entry: nrpe stream tcp nowait nagios /usr/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg --inetd server_port=5666 allowed_hosts=x.x.x.x nrpe_user=nagios nrpe_group=nagios dont_blame_nrpe=0 debug=0 command_timeout=60 command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p / command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /data command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200 command[check_ping]=/usr/local/nagios/libexec/check_ping -H localhost -w 100.0,20% -c 500.0,60% command[check_samba]=/usr/local/nagios/libexec/check_procs -C nmbd -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: 05 April 2007 14:41 To: Paul Roberts Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] Socket timeout issue post your nrpe config is your nrpe tcpwrapped? run as daemon or from inetd/xinetd? -h Hari Sekhon Paul Roberts wrote: > Hi All, > > Can someone help out with my CHECK_NRPE: Socket timeout after 10 > seconds issue. > > I have Nagios running on a Debian server, runs tests to Windows Boxes OK. > > I am attempting to do remote checks of an Debian server. > > I can telnet on port 5666 to the remote server, netstat -l reports: > tcp 0 0 *:nrpe *:* LISTEN > > I can run this check on the remote server: > > # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 > check_disk # NRPE v2.0 > > What information/configurations files do you need from me? > > Regards > Paul Roberts. > > > > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > 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 From parcher at bcm.edu Thu Apr 5 15:49:12 2007 From: parcher at bcm.edu (Paul Archer) Date: Thu, 5 Apr 2007 08:49:12 -0500 (CDT) Subject: event_handlers through nrpe? Message-ID: Can anyone point me to a HOWTO or other documentation for setting up an event handler that runs on a remote machine (probably through nrpe)? I've gone over the docs for setting up a local event handler, but translating that to a remote handler is just not working for me right now. thanks, Paul Archer -- ---------- # pwd /loony/bin ---------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 15:55:58 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Apr 2007 14:55:58 +0100 Subject: event_handlers through nrpe? In-Reply-To: References: Message-ID: <4614FFEE.4010800@googlemail.com> my event handlers run over ssh but this doesn't seem difficult to do at all, just create an event handler script, copy it to the remote machine and then put a command in the nrpe.cfg for that machine. [event_handler_name]=/path/my_event_handler_script.sh then create a checkcommand like so define command{ command_name blah_event_handler command_line check_nrpe -H $HOSTADDRESS$ -c event_handler_name } then just add the line event_handler blah_event_handler to the service definition that should sort it. -h Hari Sekhon Paul Archer wrote: > Can anyone point me to a HOWTO or other documentation for setting up an > event handler that runs on a remote machine (probably through nrpe)? > I've gone over the docs for setting up a local event handler, but > translating that to a remote handler is just not working for me right now. > > thanks, > > Paul Archer > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 15:58:29 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Apr 2007 14:58:29 +0100 Subject: Socket timeout issue In-Reply-To: <001101c77789$3e311f20$280a000a@7digital.local> References: <000801c77780$1413ce30$280a000a@7digital.local> <4614FB98.6070804@googlemail.com> <001101c77789$3e311f20$280a000a@7digital.local> Message-ID: <46150085.9070108@googlemail.com> how do you mean if nrpe will work locally? if you want to use nrpe on the local machine you can just give it the hostname or the ip address (but you can't use "localhost" as it will fail in the SSL handshake) -h Hari Sekhon Paul Roberts wrote: > Command line I just wanted to see if nrpe would work locally > > -----Original Message----- > From: Hari Sekhon [mailto:hpsekhon at googlemail.com] > Sent: 05 April 2007 14:37 > To: Paul Roberts > Cc: Nagios Users mailinglist > Subject: Re: [Nagios-users] Socket timeout issue > > aren't you missing a -c before check_disk? > > typo on command line or typo in email? > > -h > > Hari Sekhon > > > > Paul Roberts wrote: > >> Hi All, >> >> Can someone help out with my CHECK_NRPE: Socket timeout after 10 >> seconds issue. >> >> I have Nagios running on a Debian server, runs tests to Windows Boxes OK. >> >> I am attempting to do remote checks of an Debian server. >> >> I can telnet on port 5666 to the remote server, netstat -l reports: >> tcp 0 0 *:nrpe *:* LISTEN >> >> I can run this check on the remote server: >> >> # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 >> check_disk # NRPE v2.0 >> >> What information/configurations files do you need from me? >> >> Regards >> Paul Roberts. >> >> >> >> ---------------------------------------------------------------------- >> --- Take Surveys. Earn Cash. Influence the Future of IT Join >> SourceForge.net's Techsay panel and you'll get the chance to share >> 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 >> >> >> > > > -------------- 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 paul.roberts at 7digital.com Thu Apr 5 15:59:21 2007 From: paul.roberts at 7digital.com (Paul Roberts) Date: Thu, 5 Apr 2007 14:59:21 +0100 Subject: Socket timeout issue In-Reply-To: <46150085.9070108@googlemail.com> References: <000801c77780$1413ce30$280a000a@7digital.local> <4614FB98.6070804@googlemail.com> <001101c77789$3e311f20$280a000a@7digital.local> <46150085.9070108@googlemail.com> Message-ID: <001501c7778a$9c4a84b0$280a000a@7digital.local> Sorry I don't want it to work locally just wanted to see if it ran _____ From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: 05 April 2007 14:58 To: Paul Roberts Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] Socket timeout issue how do you mean if nrpe will work locally? if you want to use nrpe on the local machine you can just give it the hostname or the ip address (but you can't use "localhost" as it will fail in the SSL handshake) -h Hari Sekhon Paul Roberts wrote: Command line I just wanted to see if nrpe would work locally -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: 05 April 2007 14:37 To: Paul Roberts Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] Socket timeout issue aren't you missing a -c before check_disk? typo on command line or typo in email? -h Hari Sekhon Paul Roberts wrote: Hi All, Can someone help out with my CHECK_NRPE: Socket timeout after 10 seconds issue. I have Nagios running on a Debian server, runs tests to Windows Boxes OK. I am attempting to do remote checks of an Debian server. I can telnet on port 5666 to the remote server, netstat -l reports: tcp 0 0 *:nrpe *:* LISTEN I can run this check on the remote server: # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 check_disk # NRPE v2.0 What information/configurations files do you need from me? Regards Paul Roberts. ---------------------------------------------------------------------- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share 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 -------------- 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 Thu Apr 5 16:01:07 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Apr 2007 15:01:07 +0100 Subject: Socket timeout issue In-Reply-To: <001001c77788$fb597530$280a000a@7digital.local> References: <000801c77780$1413ce30$280a000a@7digital.local> <4614FC7A.5010805@googlemail.com> <001001c77788$fb597530$280a000a@7digital.local> Message-ID: <46150123.4070009@googlemail.com> if that is the nrpe on the remote machine then check_disk won't work cos you've defined check_disk1 and check_disk2 in your nrpe config. also, isn't the allowed_hosts option unsupported now? isn't the proper way to do that to tcpwrap it in xinetd? (which is what I do) what problem are you having specifically. tell us what you are typing and what result you are getting... -h Hari Sekhon Paul Roberts wrote: > Hi, > > Thanks for looking. > Hope this helps. > > Here is my inetd.conf file entry: > nrpe stream tcp nowait nagios /usr/sbin/tcpd > /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg --inetd > > server_port=5666 > allowed_hosts=x.x.x.x > nrpe_user=nagios > nrpe_group=nagios > dont_blame_nrpe=0 > debug=0 > command_timeout=60 > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c > 30,25,20 > command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p / > command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > /data > command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 > -s Z > command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c > 200 > command[check_ping]=/usr/local/nagios/libexec/check_ping -H localhost -w > 100.0,20% -c 500.0,60% > command[check_samba]=/usr/local/nagios/libexec/check_procs -C nmbd > > -----Original Message----- > From: Hari Sekhon [mailto:hpsekhon at googlemail.com] > Sent: 05 April 2007 14:41 > To: Paul Roberts > Cc: Nagios Users mailinglist > Subject: Re: [Nagios-users] Socket timeout issue > > post your nrpe config > > is your nrpe tcpwrapped? run as daemon or from inetd/xinetd? > > -h > > Hari Sekhon > > > > Paul Roberts wrote: > >> Hi All, >> >> Can someone help out with my CHECK_NRPE: Socket timeout after 10 >> seconds issue. >> >> I have Nagios running on a Debian server, runs tests to Windows Boxes OK. >> >> I am attempting to do remote checks of an Debian server. >> >> I can telnet on port 5666 to the remote server, netstat -l reports: >> tcp 0 0 *:nrpe *:* LISTEN >> >> I can run this check on the remote server: >> >> # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 >> check_disk # NRPE v2.0 >> >> What information/configurations files do you need from me? >> >> Regards >> Paul Roberts. >> >> >> >> ---------------------------------------------------------------------- >> --- Take Surveys. Earn Cash. Influence the Future of IT Join >> SourceForge.net's Techsay panel and you'll get the chance to share >> 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 >> >> >> > > > -------------- 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 Thu Apr 5 16:02:49 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Apr 2007 15:02:49 +0100 Subject: Socket timeout issue In-Reply-To: <001501c7778a$9c4a84b0$280a000a@7digital.local> References: <000801c77780$1413ce30$280a000a@7digital.local> <4614FB98.6070804@googlemail.com> <001101c77789$3e311f20$280a000a@7digital.local> <46150085.9070108@googlemail.com> <001501c7778a$9c4a84b0$280a000a@7digital.local> Message-ID: <46150189.8070605@googlemail.com> if you are running it through xinetd like you are supposed to then there is a log entry created on the system like so xinetd[673]: START: nrpe pid=27671 from........ -h Hari Sekhon Paul Roberts wrote: > Sorry I don't want it to work locally just wanted to see if it ran > > ------------------------------------------------------------------------ > *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] > *Sent:* 05 April 2007 14:58 > *To:* Paul Roberts > *Cc:* Nagios Users mailinglist > *Subject:* Re: [Nagios-users] Socket timeout issue > > how do you mean if nrpe will work locally? > > if you want to use nrpe on the local machine you can just give it the > hostname or the ip address (but you can't use "localhost" as it will > fail in the SSL handshake) > > -h > Hari Sekhon > > > > Paul Roberts wrote: >> Command line I just wanted to see if nrpe would work locally >> >> -----Original Message----- >> From: Hari Sekhon [mailto:hpsekhon at googlemail.com] >> Sent: 05 April 2007 14:37 >> To: Paul Roberts >> Cc: Nagios Users mailinglist >> Subject: Re: [Nagios-users] Socket timeout issue >> >> aren't you missing a -c before check_disk? >> >> typo on command line or typo in email? >> >> -h >> >> Hari Sekhon >> >> >> >> Paul Roberts wrote: >> >>> Hi All, >>> >>> Can someone help out with my CHECK_NRPE: Socket timeout after 10 >>> seconds issue. >>> >>> I have Nagios running on a Debian server, runs tests to Windows Boxes OK. >>> >>> I am attempting to do remote checks of an Debian server. >>> >>> I can telnet on port 5666 to the remote server, netstat -l reports: >>> tcp 0 0 *:nrpe *:* LISTEN >>> >>> I can run this check on the remote server: >>> >>> # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 >>> check_disk # NRPE v2.0 >>> >>> What information/configurations files do you need from me? >>> >>> Regards >>> Paul Roberts. >>> >>> >>> >>> ---------------------------------------------------------------------- >>> --- Take Surveys. Earn Cash. Influence the Future of IT Join >>> SourceForge.net's Techsay panel and you'll get the chance to share >>> 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 >>> >>> >>> >> >> >> -------------- 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 Apr 5 16:07:27 2007 From: marc at ena.com (Marc Powell) Date: Thu, 5 Apr 2007 09:07:27 -0500 Subject: (no subject) In-Reply-To: <0B5F692B776CFF4AB836841D36E92E9B02BF3797@edxmb7.jdnet.deere.com> References: <0B5F692B776CFF4AB836841D36E92E9B02BF3797@edxmb7.jdnet.deere.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Prigge Scott > Sent: Wednesday, April 04, 2007 11:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] (no subject) > > I recently upgraded from 1.0b to 2.7. I noticed that immediately after > my daily log rotation, the current state of all hosts and services is > entered in the log file. As I have thousands of hosts/services, this > makes the log (in my case) unnecessarily large, and was hoping to find > an option to prevent those states from being logged. This was a new feature introduced in 2.0 to reduce the amount of time that a host or service status would be UNDETERMINED for reporting. Previously, nagios couldn't determine the state of a host or service in a log file unless that host or service changed state. This required users to manually set the first assumed state for accurate reporting. This fix makes that unnecessary. AFAIK, there's no way to disable it outside of code editing. http://nagios.sourceforge.net/docs/2_0/whatsnew.html "Logging changes - Initial host and service states are now logged a bit differently. Also, the initial states of all hosts and services are logged immediately after all log rotations. This should help with all those "undetermined time" problems in the availability and trends CGIs." -- 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 azahn at insors.com Thu Apr 5 16:21:01 2007 From: azahn at insors.com (Andrew Zahn) Date: Thu, 05 Apr 2007 09:21:01 -0500 Subject: monitor linux sw raid with snmp? In-Reply-To: <1175700654.9351.3.camel@rpvbpi> References: <4613B89A.7010603@insors.com> <1175700654.9351.3.camel@rpvbpi> Message-ID: <461505CD.8030004@insors.com> Thanks for the tips! I was use the net-snmp exec directive to execute the check_raid plugin and it's working well! Rapha?l 'SurcouF' Bordet wrote: > Le mercredi 04 avril 2007 ? 09:39 -0500, Andrew Zahn a ?crit : > >> Hi, >> >> I am looking for a way to monitor the status of software raid (such >> as md0) using snmp? Primarily I would like to check for a "failed" or >> "degraded" status. I am wonder how Nagios admins are doing this. >> > > Hi, > > You can try to use chek_raid[1] plugin wrote by Steve Shipway with the > net-snmp exec[2] directive. This plugin is previously designed for NRPE > but you can successfully use it with Net-SNMP, I guess. > > > Regards, > > [1]:http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=224 > [2]:http://net-snmp.sourceforge.net/docs/man/snmpd.conf.html#lbAX > -------------- 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 abeneuneu at gmail.com Thu Apr 5 16:25:49 2007 From: abeneuneu at gmail.com (Benoit Moeremans) Date: Thu, 5 Apr 2007 16:25:49 +0200 Subject: cgi auth problems Message-ID: Hi guys, I have a debian sarge with nagios 2.8. Everything works fine, except one thing: sometimes, without any reasons, i have the following message on the nagios web pages: "It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." I checked in the ml or the forums, i saw a lot of complaints about that (without solutions) or misconfigured nagios, but i'm sure my nagios is correctly configured. The auth is set to 1 in the cgi.cfg, and i put a * for the "authorized people". /nagios/etc is readable & executable by nagios.www-data. So, even the apache group could access to the etc directory, where is the cgi.cfg By the way, is there any way to check the uptime with the nrpe daemon of a linux node? Regards, Ben -------------- 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 paul.roberts at 7digital.com Thu Apr 5 16:29:51 2007 From: paul.roberts at 7digital.com (Paul Roberts) Date: Thu, 5 Apr 2007 15:29:51 +0100 Subject: Socket timeout issue In-Reply-To: <46150189.8070605@googlemail.com> References: <000801c77780$1413ce30$280a000a@7digital.local> <4614FB98.6070804@googlemail.com> <001101c77789$3e311f20$280a000a@7digital.local> <46150085.9070108@googlemail.com> <001501c7778a$9c4a84b0$280a000a@7digital.local> <46150189.8070605@googlemail.com> Message-ID: <004a01c7778e$df1ab7c0$280a000a@7digital.local> HI Hari, I looked at that but I can't see the xinetd folder on Debian, should it be there by default? Paul. _____ From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: 05 April 2007 15:03 To: Paul Roberts Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] Socket timeout issue if you are running it through xinetd like you are supposed to then there is a log entry created on the system like so xinetd[673]: START: nrpe pid=27671 from........ -h Hari Sekhon Paul Roberts wrote: Sorry I don't want it to work locally just wanted to see if it ran _____ From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: 05 April 2007 14:58 To: Paul Roberts Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] Socket timeout issue how do you mean if nrpe will work locally? if you want to use nrpe on the local machine you can just give it the hostname or the ip address (but you can't use "localhost" as it will fail in the SSL handshake) -h Hari Sekhon Paul Roberts wrote: Command line I just wanted to see if nrpe would work locally -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: 05 April 2007 14:37 To: Paul Roberts Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] Socket timeout issue aren't you missing a -c before check_disk? typo on command line or typo in email? -h Hari Sekhon Paul Roberts wrote: Hi All, Can someone help out with my CHECK_NRPE: Socket timeout after 10 seconds issue. I have Nagios running on a Debian server, runs tests to Windows Boxes OK. I am attempting to do remote checks of an Debian server. I can telnet on port 5666 to the remote server, netstat -l reports: tcp 0 0 *:nrpe *:* LISTEN I can run this check on the remote server: # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 check_disk # NRPE v2.0 What information/configurations files do you need from me? Regards Paul Roberts. ---------------------------------------------------------------------- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share 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 -------------- 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 parcher at bcm.edu Thu Apr 5 16:35:07 2007 From: parcher at bcm.edu (Paul Archer) Date: Thu, 5 Apr 2007 09:35:07 -0500 (CDT) Subject: event_handlers through nrpe? In-Reply-To: <4614FFEE.4010800@googlemail.com> References: <4614FFEE.4010800@googlemail.com> Message-ID: I suppose I should have been more explicit in my first email. The problem I'm having is not with the basic chain of commands, but with all the environmental variables/macros. Figuring out what to put where to get the $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ data all the way to the remote machine is giving me a headache. Perhaps using ssh is the way to go... Paul On Thu, 5 Apr 2007, Hari Sekhon wrote: > my event handlers run over ssh but this doesn't seem difficult to do at all, > just create an event handler script, copy it to the remote machine and then > put a command in the nrpe.cfg for that machine. > > [event_handler_name]=/path/my_event_handler_script.sh > > then create a checkcommand like so > > define command{ > command_name blah_event_handler command_line check_nrpe -H > $HOSTADDRESS$ -c event_handler_name > } > > then just add the line > > event_handler blah_event_handler > > to the service definition > > that should sort it. > > > -h > > Hari Sekhon > > > > Paul Archer wrote: >> Can anyone point me to a HOWTO or other documentation for setting up an >> event handler that runs on a remote machine (probably through nrpe)? >> I've gone over the docs for setting up a local event handler, but >> translating that to a remote handler is just not working for me right now. >> >> thanks, >> >> Paul Archer >> >> -- ---------- # pwd /loony/bin ---------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at openstream.ch Thu Apr 5 17:47:00 2007 From: nick at openstream.ch (Nick Weisser) Date: Thu, 05 Apr 2007 17:47:00 +0200 Subject: Could not connect to MySQL database Message-ID: <461519F4.7060805@openstream.ch> Hi there, I've installed Nagios 1.3 under Debian Sarge. The nagios.log file states that [1175786914] Error: Could not connect to MySQL database '' on host '' using username '' and password 'XXXXXX' for downtime data! I found this FAQ entry and followed the instructions http://www.nagios.org/faqs/viewfaq.php?faq_id=228 but still the error message remains the same. From where is Nagios taking username and password? Any pointers as to where else I could look would be very much appreciated. Cheers, Nick ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 5 18:03:11 2007 From: marc at ena.com (Marc Powell) Date: Thu, 5 Apr 2007 11:03:11 -0500 Subject: Could not connect to MySQL database In-Reply-To: <461519F4.7060805@openstream.ch> References: <461519F4.7060805@openstream.ch> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nick Weisser > Sent: Thursday, April 05, 2007 10:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Could not connect to MySQL database > > Hi there, > > I've installed Nagios 1.3 under Debian Sarge. The nagios.log file states > that > > [1175786914] Error: Could not connect to MySQL database '' on host '' > using username '' and password 'XXXXXX' for downtime data! > > > I found this FAQ entry and followed the instructions > > http://www.nagios.org/faqs/viewfaq.php?faq_id=228 > > but still the error message remains the same. > > From where is Nagios taking username and password? > > Any pointers as to where else I could look would be very much appreciated. cgi.cfg and resource.cfg. http://nagios.sourceforge.net/docs/1_0/xdata-db.html You are using a very old version of nagios. Unless you specifically require the database support of that version and are comfortable mostly supporting yourself, you should use a recent release. With the release of 3.0 approaching, you'll find fewer people are able to help you with 1.3. -- 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 Thu Apr 5 18:03:59 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 5 Apr 2007 12:03:59 -0400 Subject: Could not connect to MySQL database In-Reply-To: <461519F4.7060805@openstream.ch> References: <461519F4.7060805@openstream.ch> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Nick Weisser > Sent: Thursday, April 05, 2007 8:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Could not connect to MySQL database > > I've installed Nagios 1.3 under Debian Sarge. The nagios.log > file states that > > [1175786914] Error: Could not connect to MySQL database '' on host '' > using username '' and password 'XXXXXX' for downtime data! > > From where is Nagios taking username and password? > > Any pointers as to where else I could look would be very much > appreciated. They're taken from your config files. I quick search for the failing password should show you exactly where. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 21:11:14 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Apr 2007 20:11:14 +0100 Subject: Socket timeout issue In-Reply-To: <004a01c7778e$df1ab7c0$280a000a@7digital.local> References: <000801c77780$1413ce30$280a000a@7digital.local> <4614FB98.6070804@googlemail.com> <001101c77789$3e311f20$280a000a@7digital.local> <46150085.9070108@googlemail.com> <001501c7778a$9c4a84b0$280a000a@7digital.local> <46150189.8070605@googlemail.com> <004a01c7778e$df1ab7c0$280a000a@7digital.local> Message-ID: <461549D2.2010406@googlemail.com> you'll likely have to apt-get install xinetd which will uninstall inetd, so you should probably check if you have any services running through that (or any backdoors running through that ;-) ) if you do, you can convert the inetd config to xinetd with the itox command. -h Hari Sekhon Paul Roberts wrote: > HI Hari, > > I looked at that but I can't see the xinetd folder on Debian, should > it be there by default? > > Paul. > > ------------------------------------------------------------------------ > *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] > *Sent:* 05 April 2007 15:03 > *To:* Paul Roberts > *Cc:* Nagios Users mailinglist > *Subject:* Re: [Nagios-users] Socket timeout issue > > if you are running it through xinetd like you are supposed to then > there is a log entry created on the system like so > > xinetd[673]: START: nrpe pid=27671 from........ > > -h > Hari Sekhon > > > > Paul Roberts wrote: >> Sorry I don't want it to work locally just wanted to see if it ran >> >> ------------------------------------------------------------------------ >> *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] >> *Sent:* 05 April 2007 14:58 >> *To:* Paul Roberts >> *Cc:* Nagios Users mailinglist >> *Subject:* Re: [Nagios-users] Socket timeout issue >> >> how do you mean if nrpe will work locally? >> >> if you want to use nrpe on the local machine you can just give it the >> hostname or the ip address (but you can't use "localhost" as it will >> fail in the SSL handshake) >> >> -h >> Hari Sekhon >> >> >> >> Paul Roberts wrote: >>> Command line I just wanted to see if nrpe would work locally >>> >>> -----Original Message----- >>> From: Hari Sekhon [mailto:hpsekhon at googlemail.com] >>> Sent: 05 April 2007 14:37 >>> To: Paul Roberts >>> Cc: Nagios Users mailinglist >>> Subject: Re: [Nagios-users] Socket timeout issue >>> >>> aren't you missing a -c before check_disk? >>> >>> typo on command line or typo in email? >>> >>> -h >>> >>> Hari Sekhon >>> >>> >>> >>> Paul Roberts wrote: >>> >>>> Hi All, >>>> >>>> Can someone help out with my CHECK_NRPE: Socket timeout after 10 >>>> seconds issue. >>>> >>>> I have Nagios running on a Debian server, runs tests to Windows Boxes OK. >>>> >>>> I am attempting to do remote checks of an Debian server. >>>> >>>> I can telnet on port 5666 to the remote server, netstat -l reports: >>>> tcp 0 0 *:nrpe *:* LISTEN >>>> >>>> I can run this check on the remote server: >>>> >>>> # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 >>>> check_disk # NRPE v2.0 >>>> >>>> What information/configurations files do you need from me? >>>> >>>> Regards >>>> Paul Roberts. >>>> >>>> >>>> >>>> ---------------------------------------------------------------------- >>>> --- Take Surveys. Earn Cash. Influence the Future of IT Join >>>> SourceForge.net's Techsay panel and you'll get the chance to share >>>> 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 >>>> >>>> >>>> >>> >>> >>> -------------- 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 amontibello at gmail.com Thu Apr 5 20:08:57 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 5 Apr 2007 14:08:57 -0400 Subject: Socket timeout issue In-Reply-To: <004a01c7778e$df1ab7c0$280a000a@7digital.local> References: <000801c77780$1413ce30$280a000a@7digital.local> <4614FB98.6070804@googlemail.com> <001101c77789$3e311f20$280a000a@7digital.local> <46150085.9070108@googlemail.com> <001501c7778a$9c4a84b0$280a000a@7digital.local> <46150189.8070605@googlemail.com> <004a01c7778e$df1ab7c0$280a000a@7digital.local> Message-ID: Hi Paul, I had the same issue last weekend, of not having xinetd on Debain, I used the command apt-get install xinetd hope this helps, Tony On 4/5/07, Paul Roberts wrote: > > HI Hari, > > I looked at that but I can't see the xinetd folder on Debian, should it be > there by default? > > Paul. > > ------------------------------ > *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] > *Sent:* 05 April 2007 15:03 > *To:* Paul Roberts > *Cc:* Nagios Users mailinglist > *Subject:* Re: [Nagios-users] Socket timeout issue > > > if you are running it through xinetd like you are supposed to then there > is a log entry created on the system like so > > xinetd[673]: START: nrpe pid=27671 from........ > > -h > > Hari Sekhon > > > > Paul Roberts wrote: > > Sorry I don't want it to work locally just wanted to see if it ran > > ------------------------------ > *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] > > *Sent:* 05 April 2007 14:58 > *To:* Paul Roberts > *Cc:* Nagios Users mailinglist > *Subject:* Re: [Nagios-users] Socket timeout issue > > > how do you mean if nrpe will work locally? > > if you want to use nrpe on the local machine you can just give it the > hostname or the ip address (but you can't use "localhost" as it will fail in > the SSL handshake) > > -h > > Hari Sekhon > > > > > Paul Roberts wrote: > > Command line I just wanted to see if nrpe would work locally > > -----Original Message----- > From: Hari Sekhon [mailto:hpsekhon at googlemail.com ] > Sent: 05 April 2007 14:37 > To: Paul Roberts > Cc: Nagios Users mailinglist > Subject: Re: [Nagios-users] Socket timeout issue > > aren't you missing a -c before check_disk? > > typo on command line or typo in email? > > -h > > Hari Sekhon > > > > Paul Roberts wrote: > > > Hi All, > > Can someone help out with my CHECK_NRPE: Socket timeout after 10 > seconds issue. > > I have Nagios running on a Debian server, runs tests to Windows Boxes OK. > > I am attempting to do remote checks of an Debian server. > > I can telnet on port 5666 to the remote server, netstat -l reports: > tcp 0 0 *:nrpe *:* LISTEN > > I can run this check on the remote server: > > # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 > check_disk # NRPE v2.0 > > What information/configurations files do you need from me? > > Regards > Paul Roberts. > > > > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share > 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 listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 > -------------- 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 Thu Apr 5 21:09:07 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Apr 2007 20:09:07 +0100 Subject: event_handlers through nrpe? In-Reply-To: References: <4614FFEE.4010800@googlemail.com> Message-ID: <46154953.4040701@googlemail.com> actually now I think about it, nrpe isn't well suited to this, you'd have to enable command args to pass those and that is considered a security risk. you'd be better off using ssh keys. on fact, my event handlers run on my server with ssh keys to kill or restart something on another server. -h Hari Sekhon Paul Archer wrote: > I suppose I should have been more explicit in my first email. The > problem I'm having is not with the basic chain of commands, but with > all the environmental variables/macros. Figuring out what to put where > to get the $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ data all > the way to the remote machine is giving me a headache. > Perhaps using ssh is the way to go... > > Paul > > > On Thu, 5 Apr 2007, Hari Sekhon wrote: > >> my event handlers run over ssh but this doesn't seem difficult to do >> at all, just create an event handler script, copy it to the remote >> machine and then put a command in the nrpe.cfg for that machine. >> >> [event_handler_name]=/path/my_event_handler_script.sh >> >> then create a checkcommand like so >> >> define command{ >> command_name blah_event_handler command_line >> check_nrpe -H $HOSTADDRESS$ -c event_handler_name >> } >> >> then just add the line >> >> event_handler blah_event_handler >> >> to the service definition >> >> that should sort it. >> >> >> -h >> >> Hari Sekhon >> >> >> >> Paul Archer wrote: >>> Can anyone point me to a HOWTO or other documentation for setting up >>> an event handler that runs on a remote machine (probably through nrpe)? >>> I've gone over the docs for setting up a local event handler, but >>> translating that to a remote handler is just not working for me >>> right now. >>> >>> thanks, >>> >>> Paul Archer >>> >>> > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blangen at cisco.com Thu Apr 5 23:45:02 2007 From: blangen at cisco.com (Ben Langen (blangen)) Date: Thu, 5 Apr 2007 14:45:02 -0700 Subject: Configuring TimePeriods and Contact groups for daytime support notifications In-Reply-To: <20070404234312.GX27901@pmorris.usa.hp.com> References: <20070404234312.GX27901@pmorris.usa.hp.com> Message-ID: Thanks for the advice, that makes sense now. I've gone and created my timeperiods to send to the contacts in other sites during their daylight hours. -Ben -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Wednesday, April 04, 2007 4:43 PM To: Ben Langen (blangen) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Configuring TimePeriods and Contact groups for daytime support notifications On Wed, 04 Apr 2007, Ben Langen (blangen) wrote: > I'm setting up Nagios to monitor services in several sites around the > world, and would like to configure the notifications to only be sent > to specific people (mail aliases) based on their daylight hours. This > would essentially be sending notifications to my team in Israel, or > India while my team is sleeping in San Jose. Check the docs for how to set a notification timeperiod, then associate it with your contact groups. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thalesrx at click21.com.br Fri Apr 6 01:10:46 2007 From: thalesrx at click21.com.br (Thales Azevedo) Date: Thu, 5 Apr 2007 20:10:46 -0300 Subject: check_http using post option Message-ID: <00c601c777d7$a4fb6000$e71811c9@casa> Hi everybody, I am lookink for a plugin (or notification command ) that permit send variables ( $Hostaddress, $Hoststatus, $SERVICESTATE and etc ) to a homepage ( ASP application ). The objective is to open a ticket to helpdesk application automatically. It is possible use the check_http plugin ? Thanks in Advance, Thales Azevedo Rio de Janeiro - Brazil -------------- 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 Stanley.Hopcroft at Dest.gov.au Fri Apr 6 04:49:39 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 6 Apr 2007 12:49:39 +1000 Subject: Does anyone use and love NDOUtils for availability reporting ? [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F8EB7@acexp005.portfolio.base> Dear Folks, Would anyone like to comment on the use of NDOUtils (Nagios 2.x or later) for availability reporting ? I believe that NDOUtils inserts rows representing down times in an MySQL table, making it much easier for DIY reporters to produce reports. I am currently using an event handler for adding outage records to a table but I am not happy with this method. Thank you, Yours sincerely. Classification: UNCLASSIFIED ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Fri Apr 6 13:24:47 2007 From: rob.blake at gmail.com (Rob Blake) Date: Fri, 6 Apr 2007 12:24:47 +0100 Subject: Does anyone use and love NDOUtils for availability reporting ? [SEC=UNCLASSIFIED] In-Reply-To: <18544FA17F881A4DBC2F41AC89E46BA9018F8EB7@acexp005.portfolio.base> References: <18544FA17F881A4DBC2F41AC89E46BA9018F8EB7@acexp005.portfolio.base> Message-ID: On 4/6/07, Stanley.Hopcroft at dest.gov.au wrote: > > Dear Folks, > > Would anyone like to comment on the use of NDOUtils (Nagios 2.x or > later) for availability reporting ? > > I believe that NDOUtils inserts rows representing down times in an MySQL > table, making it much easier for DIY reporters to produce reports. > > I am currently using an event handler for adding outage records to a > table but I am not happy with this method. > > Thank you, NDOUtils will take the majority of the data associated with your Nagios installation and send it to a database for you (currently only mysql is supported). You can store information about your current setup, notifications, current host/service status, the results of checks etc. With this information in a database you are free to do what you want with it. I believe the current plan is to leverage the data that is stored in the database to faciliate a complete overhaul of the current Nagios frontend. There is absolutely nothing stopping you from putting together your own application that makes custom graphs, custom reports based around the data available to you. You can use whatever language you like, through whatever presentation medium you like. You are simply limited by the connection to the database, and as I assume you will be managing the database, this shouldn't be a problem. Rob -------------- 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 nagios at thebug.demon.nl Fri Apr 6 14:20:27 2007 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Fri, 06 Apr 2007 14:20:27 +0200 Subject: NSCA for Windows??? Message-ID: Hi folks, Quick question: We like to submit passive checks from a Windows server, but the NSCA package does not provide a Windows 'send_nsca'. Does something like that exist or should we proceed in another way? Regards, Richard ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 6 14:26:00 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 06 Apr 2007 14:26:00 +0200 Subject: NSCA for Windows??? In-Reply-To: References: Message-ID: <46163C58.70708@telcotec.se> Richard Luys-Nagios User wrote: > Hi folks, > > Quick question: We like to submit passive checks from a Windows server, > but the NSCA package does not provide a Windows 'send_nsca'. Does > something like that exist or should we proceed in another way? Look for NC_net or similar at http://nagiosexchange.org. /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 nagios at thebug.demon.nl Fri Apr 6 14:30:05 2007 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Fri, 06 Apr 2007 14:30:05 +0200 Subject: What do you not like about Nagios' notification/escalation system? In-Reply-To: <765d77c80703290526y7f438fe8l36ec661bfea5c334@mail.gmail.com> References: <3d2eb72a0703261114h2eb70e0y20fd06dc6a01bc31@mail.gmail.com> <765d77c80703261311w705dc668vd260e89c632f9d56@mail.gmail.com> <4608F1C8.10802@ultra-secure.de> <765d77c80703290526y7f438fe8l36ec661bfea5c334@mail.gmail.com> Message-ID: On Thu, 29 Mar 2007 14:26:59 +0200, Jim Avery wrote: > On 27/03/07, Rainer Duffner wrote: > >> Hand over da phone ;-) > > That's just too simple! Unfortunately some of our on-call engineers > work from home, and live some miles apart so it's not that easy. > Looks to me he was just kidding, so don't take that comment to seriously... > In fact what I do now is use a commercial email-sms gateway service > and have set up a contact group there which contains the mobile number > of the on-call engineer. The service I use > (http://www.initellisms.co.uk) has a really easy admin interface so I > can just drag/drop the engineer names into the group as needed. We have a bit of a different approach: We use sms-client and we have standby-groups for different expertises (ie. standby-windows, standby-unix, etc). So, we do not change anything in Nagios, instead we make changes in the phonebook of the sms-client. All standby-contacts are defined in that addressbook, with their number and a 3-character abbreviation of their names. We simply move the right name to the right standby-category, and that person receives the sms-alerts. What might be interesting to think about, is the possibility to create a schedule, so that Nagios (or a third party tool) will modify the configuration to have the alerts send to the person that has standby. In other words: automate the process of managing standby phonenumbers. Unfortunately, things like holidays, people calling in sick, etc will make this probably less usefull... Richard > > Cheers, > > Jim > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Using Opera's revolutionary e-mail client: http://www.opera.com/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 From dermoth at aei.ca Fri Apr 6 15:04:57 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 06 Apr 2007 09:04:57 -0400 Subject: NSCA for Windows??? In-Reply-To: <46163C58.70708@telcotec.se> References: <46163C58.70708@telcotec.se> Message-ID: <46164579.90402@aei.ca> On 06/04/07 08:26 AM, Lars Stavholm wrote: > Richard Luys-Nagios User wrote: >> Hi folks, >> >> Quick question: We like to submit passive checks from a Windows server, >> but the NSCA package does not provide a Windows 'send_nsca'. Does >> something like that exist or should we proceed in another way? > > Look for NC_net or similar at http://nagiosexchange.org. > /Lars A simpler option is to use NSCA Win32Client found on Nagiosexchange: I used it in the past and it works just as well as the Linux client. Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abeneuneu at gmail.com Fri Apr 6 15:13:58 2007 From: abeneuneu at gmail.com (Benoit Moeremans) Date: Fri, 6 Apr 2007 15:13:58 +0200 Subject: cgi auth problems In-Reply-To: References: Message-ID: (i sent this mail yesterday, i wanna just be sure everyone saw it ^^) Hi guys, I have a debian sarge with nagios 2.8. Everything works fine, except one thing: sometimes, without any reasons, i have the following message on the nagios web pages: "It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." I checked in the ml or the forums, i saw a lot of complaints about that (without solutions) or misconfigured nagios, but i'm sure my nagios is correctly configured. The auth is set to 1 in the cgi.cfg, and i put a * for the "authorized people". /nagios/etc is readable & executable by nagios.www-data. So, even the apache group could access to the etc directory, where is the cgi.cfg By the way, is there any way to check the uptime with the nrpe daemon of a linux node? Regards, Ben -------------- 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 Fri Apr 6 16:40:55 2007 From: marc at ena.com (Marc Powell) Date: Fri, 6 Apr 2007 09:40:55 -0500 Subject: cgi auth problems In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Benoit Moeremans > Sent: Friday, April 06, 2007 8:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] cgi auth problems > > (i sent this mail yesterday, i wanna just be sure everyone saw it ^^) It's a mailing list. Everyone that wanted to see it did... ;) Generally when you don't get a response your request is too vague, you haven't provided enough information and asking for it is too tedious, you haven't indicated what troubleshooting you've done and the results, it's a FAQ or nobody has seen the problem as you describe it. > I have a debian sarge with nagios 2.8. Everything works fine, except one > thing: sometimes, without any reasons, i have the following message on the > nagios web pages: > > "It appears as though you do not have permission to view information for > any of the services you requested... Does nagios show you logged in as the user you expect? Do you see any errors in your HTTP error log? Is nagios restarting or reloading when you see this notice? Is there anything consistent about when it's happening? Those are some good starting points for troubleshooting. > I checked in the ml or the forums, i saw a lot of complaints about that > (without solutions) or misconfigured nagios, but i'm sure my nagios is > correctly configured. There are many complaints and many solutions. 98% of the time it's user misconfiguration. For something intermittent like you're reporting it's likely to be something unusual and hence, hard to diagnose without more troubleshooting on your part. > /nagios/etc is readable & executable by nagios.www-data. So, even the > apache group could access to the etc directory, where is the cgi.cfg How about the nagios var directory? All those files must be readable by your webserver. That's were the CGI's are reading the object and status data. > By the way, is there any way to check the uptime with the nrpe daemon of a > linux node? Here, I've googled for you -- http://www.google.com/search?q=nagios+check_uptime -- 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 amontibello at gmail.com Fri Apr 6 18:32:23 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 6 Apr 2007 12:32:23 -0400 Subject: cgi auth problems In-Reply-To: References: Message-ID: Hi Benoit, Like Marc said, this is a mailing list and not everyone posts get an answers, Also this is typically a busy week for many Americans; being the week before Easter Sunday. I have been experiencing a similar issue to yours. for more information that may help clarify your issue, you go to do something through the Web interface and you get the permission error page thingy then after tinkering for a bit you may(may not) get it working but latter it fails again. I found this was due to my configuration, The /nagios/var/rw directory was owned by a nagioscmd group while most my configuration and settings were using the nagios group. I am still working on trying to fix this conflict but my symptoms were similar to what you described so I think your problem may be a similar source. I just installed Nagios last week, so I am also still working through some of these minor issues (that I probably induced myself) I just used the change owner command on the RW directory and the nagios.cmdfile to change their group. I hope this resolves the issue but I am still testing. TOny On 4/5/07, Benoit Moeremans wrote: > > Hi guys, > > I have a debian sarge with nagios 2.8. Everything works fine, except one > thing: sometimes, without any reasons, i have the following message on the > nagios web pages: > > "It appears as though you do not have permission to view information for > any of the services you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file." > > I checked in the ml or the forums, i saw a lot of complaints about that > (without solutions) or misconfigured nagios, but i'm sure my nagios is > correctly configured. > > The auth is set to 1 in the cgi.cfg, and i put a * for the "authorized > people". > > /nagios/etc is readable & executable by nagios.www-data. So, even the > apache group could access to the etc directory, where is the cgi.cfg > > By the way, is there any way to check the uptime with the nrpe daemon of a > linux node? > > Regards, > > Ben > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 stava at telcotec.se Fri Apr 6 23:05:48 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 06 Apr 2007 23:05:48 +0200 Subject: NagiosGrapher problems Message-ID: <4616B62C.7060405@telcotec.se> Hi All, I downloaded the latest NagiosGrapher-1.6.1-rc3a, and failed miserably to get it working. In the process I lost my NagiosGrapher-1.6.1-rc3, which worked perfectly. The nagiosexchange website doesn't seem to have the older versions available. So, does anyone have NagiosGrapher-1.6.1-rc3 available? 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 Stanley.Hopcroft at Dest.gov.au Sat Apr 7 04:28:24 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Sat, 7 Apr 2007 12:28:24 +1000 Subject: Does anyone use and love NDOUtils for availability reporting .. ? [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F8EB9@acexp005.portfolio.base> Dear Folks, I am writing to thank you for your letter and say, > -----Original Message----- > Message: 4 > Date: Fri, 6 Apr 2007 12:24:47 +0100 > From: "Rob Blake" > > > > Would anyone like to comment on the use of NDOUtils (Nagios 2.x or > > later) for availability reporting ? > > > NDOUtils will take the majority of the data associated with your > Nagios installation and send it to a database for you (currently only > mysql is supported). You can store information about your current > setup, notifications, current host/service status, the results of > checks etc. With this information in a database you are free to do > what you want with it. I believe the current plan is to leverage the > data that is stored in the database to faciliate a complete overhaul > of the current Nagios frontend. > > There is absolutely nothing stopping you from putting together your > own application that makes custom graphs, custom reports based around > the data available to you. You can use whatever language you like, > through whatever presentation medium you like. You are simply limited > by the connection to the database, and as I assume you will be > managing the database, this shouldn't be a problem. > This is excellent. While the availability CGIs are excellent they do not 1 facilitate arbitrary presentation of the data (without say importing the CSV output into a DB) 2 allow the combination of the outage data with other information such as links to 'trouble ticket/service desk (for the ITIL inclined)' systems for combining the outage data with other views of the 'incident' (such as WTF caused it). Having the outage data in tables should lead to an explosion of third party/community developed reports and presentation frameworks in the same way that the very clean architectural divisions in Cacti has lead to that products extensibility and popularity. Thank you. > Rob Yours sincerely. Classification: UNCLASSIFIED ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 10:15:14 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 08 Apr 2007 09:15:14 +0100 Subject: NRPE: Could not complete SSL handshake Message-ID: <4618A492.1050708@mailnetwork.co.uk> Hi, I'm running NRPE 2.7.1 on a Fedora 6 machine. My Nagios 2.8 server is talking to it fine, and all NRPE checks are succeeding. However, every 5 minutes I'm getting the following error logged in my /var/log/messages log on the FC6 machine: Apr 8 08:33:58 acs20aa6 nrpe[23649]: Error: Could not complete SSL handshake. 5 Yet when I look in my /var/log/secure log (which stores every command run through sudo from NRPE), I cannot match the SSL handshake error to a time of a check attempt from my Nagios server, e.g. for the above error: Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/nagios/libexec/check_uptime Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/nagios/libexec/check_dns -H portland-1.andyshellam.eu -a 89.200.137.203 -t 5 -w 3 -c 5 Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/nagios/libexec/check_load -w 5,4,3 -c 10,8,6 Apr 8 08:35:18 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/nagios/libexec/check_disk -w 25% -c 10% -p / Apr 8 08:35:19 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/nagios/libexec/check_procs -w 1:1 -c 1:1 -C named Apr 8 08:35:19 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/nagios/libexec/check_swap -w 25% -c 10% Apr 8 08:35:32 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/nagios/libexec/check_procs -w 150 -c 200 As you can see, there is no check being carried out at 8:33 (the time of the SSL error.) Plus there are no failing NRPE checks on the Nagios server for this host. I'm baffled. I've just checked on 2 of my other machines, which are running NRPE 2.7.1 on Fedora 4 and FreeBSD 6.1, and they both have the same problem - a reported SSL handshake error when no checks were being carried out. Now, on the FreeBSD machine, it has a firewall only letting my Nagios server talk to port 5666, so I know it's not possible for it to be another Nagios machine somewhere. Any ideas what could be causing NRPE to fail a connection attempt every 5 minutes, when it doesn't appear to be Nagios talking to it? Thanks 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 jeffrey at hyves.nl Sun Apr 8 11:05:25 2007 From: jeffrey at hyves.nl (Jeffrey Lensen) Date: Sun, 08 Apr 2007 11:05:25 +0200 Subject: NRPE: Could not complete SSL handshake In-Reply-To: <4618A492.1050708@mailnetwork.co.uk> References: <4618A492.1050708@mailnetwork.co.uk> Message-ID: <4618B055.7070504@hyves.nl> Hey Andy, Have you tried running your NRPE checkcommands manually? ${NRPE_DIR}/check_nrpe -H ${host} -c ${command} -a ${arguments_if_you_have_any} What does this return? Usually when you get an error like this, it means that you have not specified the ipaddress of the Nagios server (doing the nrpe checkcommands) in the nrpe.cfg on the machine(s) being checked. So make sure you have something like this: allowed_hosts=127.0.0.1,${nagios_ip} Hope this helps, Jeffrey Andy Shellam wrote: > Hi, > > I'm running NRPE 2.7.1 on a Fedora 6 machine. > My Nagios 2.8 server is talking to it fine, and all NRPE checks are > succeeding. > > However, every 5 minutes I'm getting the following error logged in my > /var/log/messages log on the FC6 machine: > > Apr 8 08:33:58 acs20aa6 nrpe[23649]: Error: Could not complete SSL > handshake. 5 > > Yet when I look in my /var/log/secure log (which stores every command > run through sudo from NRPE), I cannot match the SSL handshake error to a > time of a check attempt from my Nagios server, e.g. for the above error: > > Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; > USER=root ; COMMAND=/usr/local/nagios/libexec/check_uptime > Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; > USER=root ; COMMAND=/usr/local/nagios/libexec/check_dns -H > portland-1.andyshellam.eu -a 89.200.137.203 -t 5 -w 3 -c 5 > Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; > USER=root ; COMMAND=/usr/local/nagios/libexec/check_load -w 5,4,3 -c 10,8,6 > Apr 8 08:35:18 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; > USER=root ; COMMAND=/usr/local/nagios/libexec/check_disk -w 25% -c 10% -p / > Apr 8 08:35:19 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; > USER=root ; COMMAND=/usr/local/nagios/libexec/check_procs -w 1:1 -c 1:1 > -C named > Apr 8 08:35:19 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; > USER=root ; COMMAND=/usr/local/nagios/libexec/check_swap -w 25% -c 10% > Apr 8 08:35:32 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; > USER=root ; COMMAND=/usr/local/nagios/libexec/check_procs -w 150 -c 200 > > As you can see, there is no check being carried out at 8:33 (the time of > the SSL error.) Plus there are no failing NRPE checks on the Nagios > server for this host. > > I'm baffled. > > I've just checked on 2 of my other machines, which are running NRPE > 2.7.1 on Fedora 4 and FreeBSD 6.1, and they both have the same problem - > a reported SSL handshake error when no checks were being carried out. > > Now, on the FreeBSD machine, it has a firewall only letting my Nagios > server talk to port 5666, so I know it's not possible for it to be > another Nagios machine somewhere. > > Any ideas what could be causing NRPE to fail a connection attempt every > 5 minutes, when it doesn't appear to be Nagios talking to it? > > Thanks > > 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 > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 11:14:44 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 08 Apr 2007 10:14:44 +0100 Subject: NRPE: Could not complete SSL handshake In-Reply-To: <4618B055.7070504@hyves.nl> References: <4618A492.1050708@mailnetwork.co.uk> <4618B055.7070504@hyves.nl> Message-ID: <4618B284.4000502@mailnetwork.co.uk> Hi Jeffrey, That's what I thought - but as I said, all checks that use NRPE on any of these servers are succeeding, plus the times that the errors are logged do not correspond to a time that Nagios runs a check. Andy. Jeffrey Lensen wrote: > Hey Andy, > > Have you tried running your NRPE checkcommands manually? > ${NRPE_DIR}/check_nrpe -H ${host} -c ${command} -a > ${arguments_if_you_have_any} > What does this return? > > Usually when you get an error like this, it means that you have not > specified the ipaddress of the Nagios server (doing the nrpe > checkcommands) in the nrpe.cfg on the machine(s) being checked. > So make sure you have something like this: > allowed_hosts=127.0.0.1,${nagios_ip} > > Hope this helps, > > Jeffrey > > > Andy Shellam wrote: >> Hi, >> >> I'm running NRPE 2.7.1 on a Fedora 6 machine. >> My Nagios 2.8 server is talking to it fine, and all NRPE checks are >> succeeding. >> >> However, every 5 minutes I'm getting the following error logged in my >> /var/log/messages log on the FC6 machine: >> >> Apr 8 08:33:58 acs20aa6 nrpe[23649]: Error: Could not complete SSL >> handshake. 5 >> >> Yet when I look in my /var/log/secure log (which stores every command >> run through sudo from NRPE), I cannot match the SSL handshake error >> to a time of a check attempt from my Nagios server, e.g. for the >> above error: >> >> Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >> USER=root ; COMMAND=/usr/local/nagios/libexec/check_uptime >> Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >> USER=root ; COMMAND=/usr/local/nagios/libexec/check_dns -H >> portland-1.andyshellam.eu -a 89.200.137.203 -t 5 -w 3 -c 5 >> Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >> USER=root ; COMMAND=/usr/local/nagios/libexec/check_load -w 5,4,3 -c >> 10,8,6 >> Apr 8 08:35:18 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >> USER=root ; COMMAND=/usr/local/nagios/libexec/check_disk -w 25% -c >> 10% -p / >> Apr 8 08:35:19 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >> USER=root ; COMMAND=/usr/local/nagios/libexec/check_procs -w 1:1 -c >> 1:1 -C named >> Apr 8 08:35:19 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >> USER=root ; COMMAND=/usr/local/nagios/libexec/check_swap -w 25% -c 10% >> Apr 8 08:35:32 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >> USER=root ; COMMAND=/usr/local/nagios/libexec/check_procs -w 150 -c 200 >> >> As you can see, there is no check being carried out at 8:33 (the time >> of the SSL error.) Plus there are no failing NRPE checks on the >> Nagios server for this host. >> >> I'm baffled. >> >> I've just checked on 2 of my other machines, which are running NRPE >> 2.7.1 on Fedora 4 and FreeBSD 6.1, and they both have the same >> problem - a reported SSL handshake error when no checks were being >> carried out. >> >> Now, on the FreeBSD machine, it has a firewall only letting my Nagios >> server talk to port 5666, so I know it's not possible for it to be >> another Nagios machine somewhere. >> >> Any ideas what could be causing NRPE to fail a connection attempt >> every 5 minutes, when it doesn't appear to be Nagios talking to it? >> >> Thanks >> >> 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 >> > > > !DSPAM:37,4618b06689291545070445! > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey at hyves.nl Sun Apr 8 11:28:34 2007 From: jeffrey at hyves.nl (Jeffrey Lensen) Date: Sun, 08 Apr 2007 11:28:34 +0200 Subject: NRPE: Could not complete SSL handshake In-Reply-To: <4618B284.4000502@mailnetwork.co.uk> References: <4618A492.1050708@mailnetwork.co.uk> <4618B055.7070504@hyves.nl> <4618B284.4000502@mailnetwork.co.uk> Message-ID: <4618B5C2.702@hyves.nl> Do you have something like a nagios.log file? Where Nagios logs its alerts, external commands,etc? You can set this in your nagios.cfg file. In here you should see something like: [1175986495] SERVICE ALERT: ${host};${servicecheck};CRITICAL;SOFT;1;CHECK_NRPE: Could not complete SSL handshake This should give you an idea where the problem lies. - Jeffrey Andy Shellam wrote: > Hi Jeffrey, > > That's what I thought - but as I said, all checks that use NRPE on any > of these servers are succeeding, plus the times that the errors are > logged do not correspond to a time that Nagios runs a check. > > Andy. > > Jeffrey Lensen wrote: > >> Hey Andy, >> >> Have you tried running your NRPE checkcommands manually? >> ${NRPE_DIR}/check_nrpe -H ${host} -c ${command} -a >> ${arguments_if_you_have_any} >> What does this return? >> >> Usually when you get an error like this, it means that you have not >> specified the ipaddress of the Nagios server (doing the nrpe >> checkcommands) in the nrpe.cfg on the machine(s) being checked. >> So make sure you have something like this: >> allowed_hosts=127.0.0.1,${nagios_ip} >> >> Hope this helps, >> >> Jeffrey >> >> >> Andy Shellam wrote: >> >>> Hi, >>> >>> I'm running NRPE 2.7.1 on a Fedora 6 machine. >>> My Nagios 2.8 server is talking to it fine, and all NRPE checks are >>> succeeding. >>> >>> However, every 5 minutes I'm getting the following error logged in my >>> /var/log/messages log on the FC6 machine: >>> >>> Apr 8 08:33:58 acs20aa6 nrpe[23649]: Error: Could not complete SSL >>> handshake. 5 >>> >>> Yet when I look in my /var/log/secure log (which stores every command >>> run through sudo from NRPE), I cannot match the SSL handshake error >>> to a time of a check attempt from my Nagios server, e.g. for the >>> above error: >>> >>> Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_uptime >>> Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_dns -H >>> portland-1.andyshellam.eu -a 89.200.137.203 -t 5 -w 3 -c 5 >>> Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_load -w 5,4,3 -c >>> 10,8,6 >>> Apr 8 08:35:18 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_disk -w 25% -c >>> 10% -p / >>> Apr 8 08:35:19 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_procs -w 1:1 -c >>> 1:1 -C named >>> Apr 8 08:35:19 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_swap -w 25% -c 10% >>> Apr 8 08:35:32 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_procs -w 150 -c 200 >>> >>> As you can see, there is no check being carried out at 8:33 (the time >>> of the SSL error.) Plus there are no failing NRPE checks on the >>> Nagios server for this host. >>> >>> I'm baffled. >>> >>> I've just checked on 2 of my other machines, which are running NRPE >>> 2.7.1 on Fedora 4 and FreeBSD 6.1, and they both have the same >>> problem - a reported SSL handshake error when no checks were being >>> carried out. >>> >>> Now, on the FreeBSD machine, it has a firewall only letting my Nagios >>> server talk to port 5666, so I know it's not possible for it to be >>> another Nagios machine somewhere. >>> >>> Any ideas what could be causing NRPE to fail a connection attempt >>> every 5 minutes, when it doesn't appear to be Nagios talking to it? >>> >>> Thanks >>> >>> 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 >>> >>> >> !DSPAM:37,4618b06689291545070445! >> >> >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Apr 8 11:50:40 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 08 Apr 2007 10:50:40 +0100 Subject: NRPE: Could not complete SSL handshake In-Reply-To: <4618B5C2.702@hyves.nl> References: <4618A492.1050708@mailnetwork.co.uk> <4618B055.7070504@hyves.nl> <4618B284.4000502@mailnetwork.co.uk> <4618B5C2.702@hyves.nl> Message-ID: <4618BAF0.3010705@mailnetwork.co.uk> Sorry this message bounced, trying it again... Yes, and the last log entry was at 05:56 this morning when one of my client servers was rebooted. Can I just stress that NO checks within Nagios are failing. ALL checks that use NRPE are currently sitting with an OK state. This is not causing a problem with any checks, that's why I want to know what's causing this error to be logged every 5 minutes when there's no problem anywhere. It's almost as if there's another Nagios server somewhere trying to talk to my 3 machines - but I know this isn't the case because there's a firewall on one of them that only allows my Nagios server on that port. Andy. Jeffrey Lensen wrote: > Do you have something like a nagios.log file? Where Nagios logs its > alerts, external commands,etc? You can set this in your nagios.cfg file. > In here you should see something like: > [1175986495] SERVICE ALERT: > ${host};${servicecheck};CRITICAL;SOFT;1;CHECK_NRPE: Could not complete > SSL handshake > > This should give you an idea where the problem lies. > > - Jeffrey > > Andy Shellam wrote: >> Hi Jeffrey, >> >> That's what I thought - but as I said, all checks that use NRPE on any >> of these servers are succeeding, plus the times that the errors are >> logged do not correspond to a time that Nagios runs a check. >> >> Andy. >> >> Jeffrey Lensen wrote: >> >>> Hey Andy, >>> >>> Have you tried running your NRPE checkcommands manually? >>> ${NRPE_DIR}/check_nrpe -H ${host} -c ${command} -a >>> ${arguments_if_you_have_any} >>> What does this return? >>> >>> Usually when you get an error like this, it means that you have not >>> specified the ipaddress of the Nagios server (doing the nrpe >>> checkcommands) in the nrpe.cfg on the machine(s) being checked. >>> So make sure you have something like this: >>> allowed_hosts=127.0.0.1,${nagios_ip} >>> >>> Hope this helps, >>> >>> Jeffrey >>> >>> >>> Andy Shellam wrote: >>> >>>> Hi, >>>> >>>> I'm running NRPE 2.7.1 on a Fedora 6 machine. >>>> My Nagios 2.8 server is talking to it fine, and all NRPE checks are >>>> succeeding. >>>> >>>> However, every 5 minutes I'm getting the following error logged in my >>>> /var/log/messages log on the FC6 machine: >>>> >>>> Apr 8 08:33:58 acs20aa6 nrpe[23649]: Error: Could not complete SSL >>>> handshake. 5 >>>> >>>> Yet when I look in my /var/log/secure log (which stores every command >>>> run through sudo from NRPE), I cannot match the SSL handshake error >>>> to a time of a check attempt from my Nagios server, e.g. for the >>>> above error: >>>> >>>> Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_uptime >>>> Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_dns -H >>>> portland-1.andyshellam.eu -a 89.200.137.203 -t 5 -w 3 -c 5 >>>> Apr 8 08:31:10 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_load -w 5,4,3 -c >>>> 10,8,6 >>>> Apr 8 08:35:18 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_disk -w 25% -c >>>> 10% -p / >>>> Apr 8 08:35:19 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_procs -w 1:1 -c >>>> 1:1 -C named >>>> Apr 8 08:35:19 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_swap -w 25% -c 10% >>>> Apr 8 08:35:32 acs20aa6 sudo: nagios : TTY=unknown ; PWD=/ ; >>>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_procs -w 150 -c 200 >>>> >>>> As you can see, there is no check being carried out at 8:33 (the time >>>> of the SSL error.) Plus there are no failing NRPE checks on the >>>> Nagios server for this host. >>>> >>>> I'm baffled. >>>> >>>> I've just checked on 2 of my other machines, which are running NRPE >>>> 2.7.1 on Fedora 4 and FreeBSD 6.1, and they both have the same >>>> problem - a reported SSL handshake error when no checks were being >>>> carried out. >>>> >>>> Now, on the FreeBSD machine, it has a firewall only letting my Nagios >>>> server talk to port 5666, so I know it's not possible for it to be >>>> another Nagios machine somewhere. >>>> >>>> Any ideas what could be causing NRPE to fail a connection attempt >>>> every 5 minutes, when it doesn't appear to be Nagios talking to it? >>>> >>>> Thanks >>>> >>>> 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 >>>> >>>> >>> >>> >>> >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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,4618b5f489292745212073! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Apr 8 13:07:14 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 8 Apr 2007 13:07:14 +0200 (CEST) Subject: NRPE: Could not complete SSL handshake In-Reply-To: <4618BAF0.3010705@mailnetwork.co.uk> References: <4618A492.1050708@mailnetwork.co.uk> <4618B055.7070504@hyves.nl> <4618B284.4000502@mailnetwork.co.uk> <4618B5C2.702@hyves.nl> <4618BAF0.3010705@mailnetwork.co.uk> Message-ID: On Sun, 8 Apr 2007, Andy Shellam wrote: > Yes, and the last log entry was at 05:56 this morning when one of my > client servers was rebooted. > > Can I just stress that NO checks within Nagios are failing. ALL checks > that use NRPE are currently sitting with an OK state. This is not > causing a problem with any checks, that's why I want to know what's > causing this error to be logged every 5 minutes when there's no problem > anywhere. > > It's almost as if there's another Nagios server somewhere trying to talk > to my 3 machines - but I know this isn't the case because there's a > firewall on one of them that only allows my Nagios server on that port. Be careful about what you 'know'. Assumptions have a tendency to backfire when you least expect it. Can you run tcpdump on the machine and let it collect for something like 10 minutes? It may show you the source of the unexpected connection. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 16:11:55 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 08 Apr 2007 15:11:55 +0100 Subject: NRPE: Could not complete SSL handshake In-Reply-To: References: <4618A492.1050708@mailnetwork.co.uk> <4618B055.7070504@hyves.nl> <4618B284.4000502@mailnetwork.co.uk> <4618B5C2.702@hyves.nl> <4618BAF0.3010705@mailnetwork.co.uk> Message-ID: <4618F82B.2050001@mailnetwork.co.uk> Hi Hugo, I've ran tcpdump to only capture packets on port 5666, and I can confirm that there is only my Nagios server talking to NRPE on the FreeBSD machine. I've ran it until I saw one of these such errors in the logs, and tcpdump reported 2 conversations from my Nagios server to NRPE, so I can confirm it is my Nagios server that's trying to communicate. However I've just realised what this is - I have a tcp check which looks to see if the NRPE agent is up and running (with other NRPE-based services set up as a dependency of it, so if NRPE goes down I don't get a flood of notifications.) The check uses check_tcp to connect to port 5666 then exits. NRPE reports this as an SSL handshake failed, because it's connecting then disconnecting without doing anything! Thanks for the help, at least I know what it is now! Andy. Hugo van der Kooij wrote: > On Sun, 8 Apr 2007, Andy Shellam wrote: > > >> Yes, and the last log entry was at 05:56 this morning when one of my >> client servers was rebooted. >> >> Can I just stress that NO checks within Nagios are failing. ALL checks >> that use NRPE are currently sitting with an OK state. This is not >> causing a problem with any checks, that's why I want to know what's >> causing this error to be logged every 5 minutes when there's no problem >> anywhere. >> >> It's almost as if there's another Nagios server somewhere trying to talk >> to my 3 machines - but I know this isn't the case because there's a >> firewall on one of them that only allows my Nagios server on that port. >> > > Be careful about what you 'know'. Assumptions have a tendency to backfire > when you least expect it. > > Can you run tcpdump on the machine and let it collect for something like > 10 minutes? It may show you the source of the unexpected connection. > > 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 henrik at morsing.cc Sun Apr 8 16:12:56 2007 From: henrik at morsing.cc (Henrik Morsing) Date: Sun, 8 Apr 2007 15:12:56 +0100 Subject: nrpe stopped working after upgrade Message-ID: <20070408141256.GA12032@morsing.cc> Hi, a few months back I upgraded Debian from 3.0 to 3.1 on my server. I have since failed to get nrpe working again but (obviously) cannot figure out why. This is what I have installed: emil:/usr/lib/backup/nagios/plugins# dpkg -l | grep nagios ii nagios-common 1.3-cvs.200504 A host/service/network monitoring and manage ii nagios-nrpe-pl 2.0-7 Nagios Remote Plugin Exectutor Plugin ii nagios-nrpe-se 2.0-7 Nagios Remote Plugin Exectutor Server ii nagios-plugins 1.4-6 Plugins for the nagios network monitoring an ii nagios-text 1.3-cvs.200504 A host/service/network monitoring and manage What I get it Nagios saying "(No output returned from plugin)". I have tried to replace the check_nrpe binary with a script that captures the arguments this is run with and correctly get "-H linux -c check_home" (example). So the executable is run. If I remove the file Nagios noticed as well so that's not the problem. If I let my shell script return a string like DISK OK - free space: /home 4767 MB (23%);| /home=15713MB;18431;19455;0;20479 Nagios is immediately happy and turns green but on the other hand if I let my script call the original binary to get the exact same output string, Nagios again says "no output...". All this works fine when run manually... I'm baffled. Don't know where to look. Does anyone have an idea? Thanks Henrik Morsing ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 16:31:10 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 08 Apr 2007 15:31:10 +0100 Subject: nrpe stopped working after upgrade In-Reply-To: <20070408141256.GA12032@morsing.cc> References: <20070408141256.GA12032@morsing.cc> Message-ID: <4618FCAE.7030201@mailnetwork.co.uk> Hi Henrik Is this the same when you run check_nrpe yourself manually? I.e. from the console as the Nagios user, run check_nrpe -H linux -c check_home - do you get "No output ..."? In NRPE's config file, are you using sudo as the command_prefix? I had a lot of problems that took a while to figure out - sudo was requiring a console which nrpe doesn't have. Removing the "defaults requiretty" from my /etc/sudoers file did the trick. Andy. Henrik Morsing wrote: > Hi, a few months back I upgraded Debian from 3.0 to 3.1 on my server. I have since failed to get nrpe working again but (obviously) cannot figure out why. > > This is what I have installed: > > emil:/usr/lib/backup/nagios/plugins# dpkg -l | grep nagios > ii nagios-common 1.3-cvs.200504 A host/service/network monitoring and manage > ii nagios-nrpe-pl 2.0-7 Nagios Remote Plugin Exectutor Plugin > ii nagios-nrpe-se 2.0-7 Nagios Remote Plugin Exectutor Server > ii nagios-plugins 1.4-6 Plugins for the nagios network monitoring an > ii nagios-text 1.3-cvs.200504 A host/service/network monitoring and manage > > > What I get it Nagios saying "(No output returned from plugin)". I have tried to replace the check_nrpe binary with a script that captures the arguments this is run with and correctly get "-H linux -c check_home" (example). So the executable is run. If I remove the file Nagios noticed as well so that's not the problem. > > If I let my shell script return a string like > > DISK OK - free space: /home 4767 MB (23%);| /home=15713MB;18431;19455;0;20479 > > Nagios is immediately happy and turns green but on the other hand if I let my script call the original binary to get the exact same output string, Nagios again says "no output...". All this works fine when run manually... > > I'm baffled. Don't know where to look. Does anyone have an idea? > > Thanks > Henrik Morsing > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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,4618f88189291111818056! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henrik at morsing.cc Sun Apr 8 16:40:28 2007 From: henrik at morsing.cc (Henrik Morsing) Date: Sun, 8 Apr 2007 15:40:28 +0100 Subject: nrpe stopped working after upgrade In-Reply-To: <4618FCAE.7030201@mailnetwork.co.uk> References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> Message-ID: <20070408144028.GB12032@morsing.cc> On Sun, Apr 08, 2007 at 03:31:10PM +0100, Andy Shellam wrote: > Hi Henrik > > Is this the same when you run check_nrpe yourself manually? > I.e. from the console as the Nagios user, run check_nrpe -H linux -c > check_home - do you get "No output ..."? Hi and thanks for replying. NRPE works fine, no problems there, as any user infact. I don?t use sudo either. > In NRPE's config file, are you using sudo as the command_prefix? > I had a lot of problems that took a while to figure out - sudo was > requiring a console which nrpe doesn't have. Removing the "defaults > requiretty" from my /etc/sudoers file did the trick. Thanks for the tip though :) Regards Henrik ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 20:51:53 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 08 Apr 2007 19:51:53 +0100 Subject: nrpe stopped working after upgrade In-Reply-To: <20070408144028.GB12032@morsing.cc> References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> <20070408144028.GB12032@morsing.cc> Message-ID: <461939C9.5060501@mailnetwork.co.uk> Another thing to try is adding "> /tmp/nrpe-test.txt 2>&1" to the end of your command in your NRPE config file. Then when Nagios has tried to run the plugin, /tmp/nrpe-test.txt on the NRPE side will contain any output/errors etc. That's actually how I found out about the TTY problem with sudo ;) Andy. Henrik Morsing wrote: > On Sun, Apr 08, 2007 at 03:31:10PM +0100, Andy Shellam wrote: > >> Hi Henrik >> >> Is this the same when you run check_nrpe yourself manually? >> I.e. from the console as the Nagios user, run check_nrpe -H linux -c >> check_home - do you get "No output ..."? >> > > Hi and thanks for replying. NRPE works fine, no problems there, as any user infact. I don?t use sudo either. > > >> In NRPE's config file, are you using sudo as the command_prefix? >> I had a lot of problems that took a while to figure out - sudo was >> requiring a console which nrpe doesn't have. Removing the "defaults >> requiretty" from my /etc/sudoers file did the trick. >> > > Thanks for the tip though :) > > Regards > Henrik > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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,4618feee89291156512267! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henrik at morsing.cc Mon Apr 9 09:04:42 2007 From: henrik at morsing.cc (Henrik Morsing) Date: Mon, 9 Apr 2007 08:04:42 +0100 Subject: nrpe stopped working after upgrade In-Reply-To: <461939C9.5060501@mailnetwork.co.uk> References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> <20070408144028.GB12032@morsing.cc> <461939C9.5060501@mailnetwork.co.uk> Message-ID: <20070409070442.GA7979@morsing.cc> On Sun, Apr 08, 2007 at 07:51:53PM +0100, Andy Shellam wrote: > Another thing to try is adding "> /tmp/nrpe-test.txt 2>&1" to the end of > your command in your NRPE config file. > Then when Nagios has tried to run the plugin, /tmp/nrpe-test.txt on the > NRPE side will contain any output/errors etc. That's actually how I > found out about the TTY problem with sudo ;) Do you mean to nrpe_local.cfg on the remote host? Well, that's not really what the problem is. First of all, I just tried doing that but the file in /tmp never gets created? Even when I run it manually. I?m not sure I understand what it is you're suggesting. Also, the problem is still with running check_nrpe, not the actual remote command. That works fine. Thanks Henrik ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 9 11:08:21 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 09 Apr 2007 10:08:21 +0100 Subject: nrpe stopped working after upgrade In-Reply-To: <20070409070442.GA7979@morsing.cc> References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> <20070408144028.GB12032@morsing.cc> <461939C9.5060501@mailnetwork.co.uk> <20070409070442.GA7979@morsing.cc> Message-ID: <461A0285.4060707@mailnetwork.co.uk> The way NRPE works is: 1. check_nrpe sends the request to the NRPE server. 2. The NRPE server runs the command and captures any output sent to stdout 3. The NRPE server sends the captured output back to check_nrpe. The error "No output returned from plugin" usually means that check_nrpe contacted the NRPE server OK, but the NRPE server did not return anything (i.e. point 2 above failed). From experience, I've found the most popular reason is that the plugin on the remote side sent it's output to stderr (e.g. an error occurred running the plugin,) therefore check_nrpe reports no output being received, as it doesn't capture the error output stream. What I'm suggesting is that you try to capture the output of the command on the remote side to a file, so you can see what's going on. If the command succeeded in running when you've added "> /tmp/nrpe-test.txt 2>&1" to the end of the command definition in your nrpe config file, you'll get the full output (stdout and stderr) of the plugin in /tmp/nrpe-test.txt. If there was no output, you'd still get an empty file. As you're not getting a file created, I'd suggest either NRPE is misconfigured, or it couldn't execute the command correctly. It also might help to check in /var/log/messages in case it logs a problem in there. Andy. Henrik Morsing wrote: > On Sun, Apr 08, 2007 at 07:51:53PM +0100, Andy Shellam wrote: > >> Another thing to try is adding "> /tmp/nrpe-test.txt 2>&1" to the end of >> your command in your NRPE config file. >> Then when Nagios has tried to run the plugin, /tmp/nrpe-test.txt on the >> NRPE side will contain any output/errors etc. That's actually how I >> found out about the TTY problem with sudo ;) >> > > Do you mean to nrpe_local.cfg on the remote host? Well, that's not really what the problem is. First of all, I just tried doing that but the file in /tmp never gets created? Even when I run it manually. I?m not sure I understand what it is you're suggesting. > > Also, the problem is still with running check_nrpe, not the actual remote command. That works fine. > > Thanks > Henrik > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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,4619e5a289291149167060! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henrik at morsing.cc Mon Apr 9 11:13:43 2007 From: henrik at morsing.cc (Henrik Morsing) Date: Mon, 9 Apr 2007 10:13:43 +0100 Subject: nrpe stopped working after upgrade In-Reply-To: <461A0285.4060707@mailnetwork.co.uk> References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> <20070408144028.GB12032@morsing.cc> <461939C9.5060501@mailnetwork.co.uk> <20070409070442.GA7979@morsing.cc> <461A0285.4060707@mailnetwork.co.uk> Message-ID: <20070409091343.GE7979@morsing.cc> On Mon, Apr 09, 2007 at 10:08:21AM +0100, Andy Shellam wrote: > The way NRPE works is: > > 1. check_nrpe sends the request to the NRPE server. > 2. The NRPE server runs the command and captures any output sent to stdout > 3. The NRPE server sends the captured output back to check_nrpe. All three works fine. > The error "No output returned from plugin" usually means that check_nrpe > contacted the NRPE server OK, but the NRPE server did not return > anything (i.e. point 2 above failed). Not in this case as check_nrpe never contacts it (Monitored with tcpdump) > From experience, I've found the most popular reason is that the plugin > on the remote side sent it's output to stderr (e.g. an error occurred > running the plugin,) therefore check_nrpe reports no output being > received, as it doesn't capture the error output stream. As mentioned, tcpdump shows it never even sends the request. > What I'm suggesting is that you try to capture the output of the command > on the remote side to a file, so you can see what's going on. > If the command succeeded in running when you've added "> > /tmp/nrpe-test.txt 2>&1" to the end of the command definition in your > nrpe config file, you'll get the full output (stdout and stderr) of the > plugin in /tmp/nrpe-test.txt. If there was no output, you'd still get > an empty file. No point as it's never being run as mentioned in my original post... > As you're not getting a file created, I'd suggest either NRPE is > misconfigured, or it couldn't execute the command correctly. > It also might help to check in /var/log/messages in case it logs a > problem in there. NRPE is not misconfigured. In fact NRPE works fine as mentioned in myoriginal post. Thanks for your suggestions though :) Regards Henrik ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at wansecurity.com Mon Apr 9 12:36:17 2007 From: lists at wansecurity.com (Robert Smith) Date: Mon, 09 Apr 2007 19:36:17 +0900 Subject: nrpe stopped working after upgrade In-Reply-To: <461939C9.5060501@mailnetwork.co.uk> References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> <20070408144028.GB12032@morsing.cc> <461939C9.5060501@mailnetwork.co.uk> Message-ID: <461A1721.4070107@wansecurity.com> You could also try prepending an echo to the command_line in the command and you will see the exact command line it is executing in the cgi interface, then copy and paste that into a terminal. work the bugs out from there. -Robert Andy Shellam wrote: > Another thing to try is adding "> /tmp/nrpe-test.txt 2>&1" to the end of > your command in your NRPE config file. > Then when Nagios has tried to run the plugin, /tmp/nrpe-test.txt on the > NRPE side will contain any output/errors etc. That's actually how I > found out about the TTY problem with sudo ;) > > Andy. > > Henrik Morsing wrote: > >> On Sun, Apr 08, 2007 at 03:31:10PM +0100, Andy Shellam wrote: >> >> >>> Hi Henrik >>> >>> Is this the same when you run check_nrpe yourself manually? >>> I.e. from the console as the Nagios user, run check_nrpe -H linux -c >>> check_home - do you get "No output ..."? >>> >>> >> Hi and thanks for replying. NRPE works fine, no problems there, as any user infact. I don?t use sudo either. >> >> >> >>> In NRPE's config file, are you using sudo as the command_prefix? >>> I had a lot of problems that took a while to figure out - sudo was >>> requiring a console which nrpe doesn't have. Removing the "defaults >>> requiretty" from my /etc/sudoers file did the trick. >>> >>> >> Thanks for the tip though :) >> >> Regards >> Henrik >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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,4618feee89291156512267! >> >> >> >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 henrik at morsing.cc Mon Apr 9 12:39:22 2007 From: henrik at morsing.cc (Henrik Morsing) Date: Mon, 9 Apr 2007 11:39:22 +0100 Subject: nrpe stopped working after upgrade In-Reply-To: <461A1721.4070107@wansecurity.com> References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> <20070408144028.GB12032@morsing.cc> <461939C9.5060501@mailnetwork.co.uk> <461A1721.4070107@wansecurity.com> Message-ID: <20070409103922.GG7979@morsing.cc> On Mon, Apr 09, 2007 at 07:36:17PM +0900, Robert Smith wrote: > You could also try prepending an echo to the command_line in the command > and you will see the exact command line it is executing in the cgi > interface, then copy and paste that into a terminal. work the bugs out > from there. Thanks. Where do I add this exactly? Thanks, Henrik Morsing ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesus.arnaiz at 0z0ne.com Mon Apr 9 13:39:20 2007 From: jesus.arnaiz at 0z0ne.com (=?ISO-8859-1?Q?Jes=FAs_Arn=E1iz?=) Date: Mon, 09 Apr 2007 13:39:20 +0200 Subject: event_handlers through nrpe? In-Reply-To: <46154953.4040701@googlemail.com> References: <4614FFEE.4010800@googlemail.com> <46154953.4040701@googlemail.com> Message-ID: <461A25E8.8020008@0z0ne.com> I do that this way: -First of all, compiling nrpe with: ./configure --enable-command-args Changing dont_blame_nrpe to 1 in nrpe.cfg dont_blame_nrpe=1 I defined the commands in nagios this way: command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c event_XXXX $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ And the command on nrpe.cfg command[event_XXXX]=/data/general/nagios/libexec/event_spamc $ARG1$ $ARG2$ $ARG3$ It works fine for me. Regards Hari Sekhon escribi?: > actually now I think about it, nrpe isn't well suited to this, you'd > have to enable command args to pass those and that is considered a > security risk. > > you'd be better off using ssh keys. > > on fact, my event handlers run on my server with ssh keys to kill or > restart something on another server. > > -h > > Hari Sekhon > > > > Paul Archer wrote: >> I suppose I should have been more explicit in my first email. The >> problem I'm having is not with the basic chain of commands, but with >> all the environmental variables/macros. Figuring out what to put where >> to get the $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ data all >> the way to the remote machine is giving me a headache. >> Perhaps using ssh is the way to go... >> >> Paul >> >> >> On Thu, 5 Apr 2007, Hari Sekhon wrote: >> >>> my event handlers run over ssh but this doesn't seem difficult to do >>> at all, just create an event handler script, copy it to the remote >>> machine and then put a command in the nrpe.cfg for that machine. >>> >>> [event_handler_name]=/path/my_event_handler_script.sh >>> >>> then create a checkcommand like so >>> >>> define command{ >>> command_name blah_event_handler command_line >>> check_nrpe -H $HOSTADDRESS$ -c event_handler_name >>> } >>> >>> then just add the line >>> >>> event_handler blah_event_handler >>> >>> to the service definition >>> >>> that should sort it. >>> >>> >>> -h >>> >>> Hari Sekhon >>> >>> >>> >>> Paul Archer wrote: >>>> Can anyone point me to a HOWTO or other documentation for setting up >>>> an event handler that runs on a remote machine (probably through nrpe)? >>>> I've gone over the docs for setting up a local event handler, but >>>> translating that to a remote handler is just not working for me >>>> right now. >>>> >>>> thanks, >>>> >>>> Paul Archer >>>> >>>> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 jesus.arnaiz at 0z0ne.com Mon Apr 9 13:41:46 2007 From: jesus.arnaiz at 0z0ne.com (=?ISO-8859-15?Q?Jes=FAs_Arn=E1iz?=) Date: Mon, 09 Apr 2007 13:41:46 +0200 Subject: Socket timeout issue In-Reply-To: <461549D2.2010406@googlemail.com> References: <000801c77780$1413ce30$280a000a@7digital.local> <4614FB98.6070804@googlemail.com> <001101c77789$3e311f20$280a000a@7digital.local> <46150085.9070108@googlemail.com> <001501c7778a$9c4a84b0$280a000a@7digital.local> <46150189.8070605@googlemail.com> <004a01c7778e$df1ab7c0$280a000a@7digital.local> <461549D2.2010406@googlemail.com> Message-ID: <461A267A.3030401@0z0ne.com> I think I have some similar problem. I use nrpe as a daemon: /usr/local/bin/nrpe -d -c /usr/local/etc/nrpe.cfg My cfg says: command_timeout=60 connection_timeout=300 But I see the "Socket timeout after 10 seconds" error. I thought it should wait 60 for the command and 300 for the connection. What is wrong? Thanks for your help Hari Sekhon escribi?: > you'll likely have to apt-get install xinetd which will uninstall inetd, > so you should probably check if you have any services running through > that (or any backdoors running through that ;-) ) > > if you do, you can convert the inetd config to xinetd with the itox command. > > -h > > Hari Sekhon > > > > Paul Roberts wrote: >> HI Hari, >> >> I looked at that but I can't see the xinetd folder on Debian, should >> it be there by default? >> >> Paul. >> >> ------------------------------------------------------------------------ >> *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] >> *Sent:* 05 April 2007 15:03 >> *To:* Paul Roberts >> *Cc:* Nagios Users mailinglist >> *Subject:* Re: [Nagios-users] Socket timeout issue >> >> if you are running it through xinetd like you are supposed to then >> there is a log entry created on the system like so >> >> xinetd[673]: START: nrpe pid=27671 from........ >> >> -h >> Hari Sekhon >> >> >> >> Paul Roberts wrote: >>> Sorry I don't want it to work locally just wanted to see if it ran >>> >>> ------------------------------------------------------------------------ >>> *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] >>> *Sent:* 05 April 2007 14:58 >>> *To:* Paul Roberts >>> *Cc:* Nagios Users mailinglist >>> *Subject:* Re: [Nagios-users] Socket timeout issue >>> >>> how do you mean if nrpe will work locally? >>> >>> if you want to use nrpe on the local machine you can just give it the >>> hostname or the ip address (but you can't use "localhost" as it will >>> fail in the SSL handshake) >>> >>> -h >>> Hari Sekhon >>> >>> >>> >>> Paul Roberts wrote: >>>> Command line I just wanted to see if nrpe would work locally >>>> >>>> -----Original Message----- >>>> From: Hari Sekhon [mailto:hpsekhon at googlemail.com] >>>> Sent: 05 April 2007 14:37 >>>> To: Paul Roberts >>>> Cc: Nagios Users mailinglist >>>> Subject: Re: [Nagios-users] Socket timeout issue >>>> >>>> aren't you missing a -c before check_disk? >>>> >>>> typo on command line or typo in email? >>>> >>>> -h >>>> >>>> Hari Sekhon >>>> >>>> >>>> >>>> Paul Roberts wrote: >>>> >>>>> Hi All, >>>>> >>>>> Can someone help out with my CHECK_NRPE: Socket timeout after 10 >>>>> seconds issue. >>>>> >>>>> I have Nagios running on a Debian server, runs tests to Windows Boxes OK. >>>>> >>>>> I am attempting to do remote checks of an Debian server. >>>>> >>>>> I can telnet on port 5666 to the remote server, netstat -l reports: >>>>> tcp 0 0 *:nrpe *:* LISTEN >>>>> >>>>> I can run this check on the remote server: >>>>> >>>>> # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 >>>>> check_disk # NRPE v2.0 >>>>> >>>>> What information/configurations files do you need from me? >>>>> >>>>> Regards >>>>> Paul Roberts. >>>>> >>>>> >>>>> >>>>> ---------------------------------------------------------------------- >>>>> --- Take Surveys. Earn Cash. Influence the Future of IT Join >>>>> SourceForge.net's Techsay panel and you'll get the chance to share >>>>> 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 From andy.shellam-lists at mailnetwork.co.uk Mon Apr 9 13:52:11 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 09 Apr 2007 12:52:11 +0100 Subject: Socket timeout issue In-Reply-To: <461A267A.3030401@0z0ne.com> References: <000801c77780$1413ce30$280a000a@7digital.local> <4614FB98.6070804@googlemail.com> <001101c77789$3e311f20$280a000a@7digital.local> <46150085.9070108@googlemail.com> <001501c7778a$9c4a84b0$280a000a@7digital.local> <46150189.8070605@googlemail.com> <004a01c7778e$df1ab7c0$280a000a@7digital.local> <461549D2.2010406@googlemail.com> <461A267A.3030401@0z0ne.com> Message-ID: <461A28EB.6020605@mailnetwork.co.uk> It might be on the check_nrpe side - as the default timeout for all standard plugins is 10 seconds. command_timeout on the NRPE config side is how long NRPE waits for a command to execute and return it's output before killing it off. Try adding "-t 60" to the command_line of your check_nrpe check in Nagios. Andy. Jes?s Arn?iz wrote: > I think I have some similar problem. I use nrpe as a daemon: > /usr/local/bin/nrpe -d -c /usr/local/etc/nrpe.cfg > > My cfg says: > command_timeout=60 > connection_timeout=300 > > But I see the "Socket timeout after 10 seconds" error. I thought it > should wait 60 for the command and 300 for the connection. What is wrong? > > Thanks for your help > > > > > Hari Sekhon escribi?: > >> you'll likely have to apt-get install xinetd which will uninstall inetd, >> so you should probably check if you have any services running through >> that (or any backdoors running through that ;-) ) >> >> if you do, you can convert the inetd config to xinetd with the itox command. >> >> -h >> >> Hari Sekhon >> >> >> >> Paul Roberts wrote: >> >>> HI Hari, >>> >>> I looked at that but I can't see the xinetd folder on Debian, should >>> it be there by default? >>> >>> Paul. >>> >>> ------------------------------------------------------------------------ >>> *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] >>> *Sent:* 05 April 2007 15:03 >>> *To:* Paul Roberts >>> *Cc:* Nagios Users mailinglist >>> *Subject:* Re: [Nagios-users] Socket timeout issue >>> >>> if you are running it through xinetd like you are supposed to then >>> there is a log entry created on the system like so >>> >>> xinetd[673]: START: nrpe pid=27671 from........ >>> >>> -h >>> Hari Sekhon >>> >>> >>> >>> Paul Roberts wrote: >>> >>>> Sorry I don't want it to work locally just wanted to see if it ran >>>> >>>> ------------------------------------------------------------------------ >>>> *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] >>>> *Sent:* 05 April 2007 14:58 >>>> *To:* Paul Roberts >>>> *Cc:* Nagios Users mailinglist >>>> *Subject:* Re: [Nagios-users] Socket timeout issue >>>> >>>> how do you mean if nrpe will work locally? >>>> >>>> if you want to use nrpe on the local machine you can just give it the >>>> hostname or the ip address (but you can't use "localhost" as it will >>>> fail in the SSL handshake) >>>> >>>> -h >>>> Hari Sekhon >>>> >>>> >>>> >>>> Paul Roberts wrote: >>>> >>>>> Command line I just wanted to see if nrpe would work locally >>>>> >>>>> -----Original Message----- >>>>> From: Hari Sekhon [mailto:hpsekhon at googlemail.com] >>>>> Sent: 05 April 2007 14:37 >>>>> To: Paul Roberts >>>>> Cc: Nagios Users mailinglist >>>>> Subject: Re: [Nagios-users] Socket timeout issue >>>>> >>>>> aren't you missing a -c before check_disk? >>>>> >>>>> typo on command line or typo in email? >>>>> >>>>> -h >>>>> >>>>> Hari Sekhon >>>>> >>>>> >>>>> >>>>> Paul Roberts wrote: >>>>> >>>>> >>>>>> Hi All, >>>>>> >>>>>> Can someone help out with my CHECK_NRPE: Socket timeout after 10 >>>>>> seconds issue. >>>>>> >>>>>> I have Nagios running on a Debian server, runs tests to Windows Boxes OK. >>>>>> >>>>>> I am attempting to do remote checks of an Debian server. >>>>>> >>>>>> I can telnet on port 5666 to the remote server, netstat -l reports: >>>>>> tcp 0 0 *:nrpe *:* LISTEN >>>>>> >>>>>> I can run this check on the remote server: >>>>>> >>>>>> # /usr/local/nagios/libexec/check_nrpe -H 10.0.10.200 -p 5666 -t 30 >>>>>> check_disk # NRPE v2.0 >>>>>> >>>>>> What information/configurations files do you need from me? >>>>>> >>>>>> Regards >>>>>> Paul Roberts. >>>>>> >>>>>> >>>>>> >>>>>> ---------------------------------------------------------------------- >>>>>> --- Take Surveys. Earn Cash. Influence the Future of IT Join >>>>>> SourceForge.net's Techsay panel and you'll get the chance to share >>>>>> 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 > > !DSPAM:37,461a268989292004314493! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PriggeScottM at JohnDeere.com Mon Apr 9 15:26:54 2007 From: PriggeScottM at JohnDeere.com (Prigge Scott) Date: Mon, 9 Apr 2007 08:26:54 -0500 Subject: Host/Service State Log Entries Message-ID: <0B5F692B776CFF4AB836841D36E92E9B02BF37E0@edxmb7.jdnet.deere.com> I recently upgraded from 1.0b to 2.7. I noticed that immediately after my daily log rotation, the current state of all hosts and services is entered in the log file. As I have thousands of hosts/services, this makes the log (in my case) unnecessarily large, and was hoping to find an option to prevent those states from being logged. They seem to be generated by the log rotation signal - they are not entered on a Nagios restart, nor on full clean shutdown and restart. Here is a sample of entries I am referring to: [04-04-2007 00:00:00] CURRENT SERVICE STATE: ;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 51.00 ms [04-04-2007 00:00:00] CURRENT SERVICE STATE: ;Ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 212.99 ms [04-04-2007 00:00:00] CURRENT HOST STATE: ;UP;HARD;1;PING OK- Packet loss = 0%, RTA = 11.14 ms [04-04-2007 00:00:00] CURRENT HOST STATE: ;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 28.26 ms The documentation references the "log_initial_states" entry in the main configuration file, which seems like it should control this option. But as you can see by my config file below, it's disabled. Should I be looking at a different option(s)? Thanks. 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 log_file=/usr/local/nagios/var/nagios.log temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat aggregate_status_updates=1 status_update_interval=30 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=0 enable_event_handlers=0 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd downtime_file=/usr/local/nagios/var/downtime.dat comment_file=/usr/local/nagios/var/comment.dat lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=15 use_retained_program_state=1 use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=0 service_interleave_factor=s service_reaper_frequency=10 interval_length=60 service_check_timeout=60 host_check_timeout=60 notification_timeout=60 date_format=us illegal_object_name_chars=`~!$%^&*"|' References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick > Sent: Monday, April 09, 2007 10:51 AM > To: Prigge Scott; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Host/Service State Log Entries > > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Prigge Scott > > Sent: Monday, April 09, 2007 6:27 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Host/Service State Log Entries > > > > I recently upgraded from 1.0b to 2.7. I noticed that > > immediately after my daily log rotation, the current state of > > all hosts and services is entered in the log file. As I have > > thousands of hosts/services, this makes the log (in my case) > > unnecessarily large, and was hoping to find an option to > > prevent those states from being logged. > > Have you done a full restart since making the change? That would be the > right option to prevent those states being logged, but it won't take > effect unless you shut down Nagios completely and restart it -- your > rotation is probably just sending a HUP to an already-running Nagios > process. I'm sure I answered this last week. This is expected and documented behavior. See the CHANGELOG. It's desirable for the vast majority of users and there's no option to disable it outside of editing source. If it's disabled, reporting will become less accurate. -- 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 esavage at digitalrage.org Mon Apr 9 17:35:52 2007 From: esavage at digitalrage.org (Elijah Savage) Date: Mon, 9 Apr 2007 11:35:52 -0400 (EDT) Subject: Service Group Summary Changing Numbers Message-ID: <14004497.401176132952093.JavaMail.root@mail> All, I have something going on that I consider very weird happening. Under service group summary my numbers are changing on refresh of the browser when there are no devices down. I have 4 different host groups on that page, but in one group I have 70 devices. You login it shows 70 devices up then you do a refresh and it will show 60 devices up none down when you know you have 70, next refresh it may show 68devices up none down. I know it all sounds like baby talk but it is some what difficult for me to explain. It does this under the hostgroup summary as well. I have been on this list for a long time and have never had to post because through reading the emails and searching the archives I have been able to achieve what I needed to for my environment, but I could not find anything close to what I am seeing now. Nagios is Version 2.7 updated this past weekend had I known and was paying attention I would have waited on the 2.8 release from this weekend :) Running on Solaris and Sun V880 Platform 4cpu's 8gig of mem. The server is no where close to being over loaded. Thing is I do not know if this was happening on the previous version. Of course when you announce a major change or upgrade people really start to pay close attention to the tools they use. Oh yeah one last thing these devices being monitored are Cisco devices with the check_command check-router-alive. Any help would be greatly appreciated. -------------- 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 Mon Apr 9 17:50:56 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 9 Apr 2007 11:50:56 -0400 Subject: Host/Service State Log Entries In-Reply-To: <0B5F692B776CFF4AB836841D36E92E9B02BF37E0@edxmb7.jdnet.deere.com> References: <0B5F692B776CFF4AB836841D36E92E9B02BF37E0@edxmb7.jdnet.deere.com> Message-ID: > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Prigge Scott > Sent: Monday, April 09, 2007 6:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host/Service State Log Entries > > I recently upgraded from 1.0b to 2.7. I noticed that > immediately after my daily log rotation, the current state of > all hosts and services is entered in the log file. As I have > thousands of hosts/services, this makes the log (in my case) > unnecessarily large, and was hoping to find an option to > prevent those states from being logged. Have you done a full restart since making the change? That would be the right option to prevent those states being logged, but it won't take effect unless you shut down Nagios completely and restart it -- your rotation is probably just sending a HUP to an already-running Nagios 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 stava at telcotec.se Mon Apr 9 18:07:15 2007 From: stava at telcotec.se (Lars Stavholm) Date: Mon, 09 Apr 2007 18:07:15 +0200 Subject: graphdeps.pl Message-ID: <461A64B3.8090909@telcotec.se> Anyone got the graphdeps.pl from nagiosexchange.org working? If so, how? /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 dfinkle at epixpharma.com Mon Apr 9 21:07:11 2007 From: dfinkle at epixpharma.com (Dan Finkle) Date: Mon, 09 Apr 2007 15:07:11 -0400 Subject: Uptime before downtime off Message-ID: Hello, I?m running Nagios 2.5 on Mac OS X 10.4. I am finding that 1. I am getting host down alerts almost 2 hours late and 2. The Uptime is being reported before the downtime. Any help would be great. Thanks Dan -------------- 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 PriggeScottM at JohnDeere.com Mon Apr 9 19:15:59 2007 From: PriggeScottM at JohnDeere.com (Prigge Scott) Date: Mon, 9 Apr 2007 12:15:59 -0500 Subject: Host/Service State Log Entries In-Reply-To: References: <0B5F692B776CFF4AB836841D36E92E9B02BF37E0@edxmb7.jdnet.deere.com> Message-ID: <0B5F692B776CFF4AB836841D36E92E9B02BF37F0@edxmb7.jdnet.deere.com> Yes, absolutely I've done many full stop and starts, and confirmed there are no remaining processes after the stop. -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Monday, April 09, 2007 10:51 AM To: Prigge Scott; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Host/Service State Log Entries > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > Prigge Scott > Sent: Monday, April 09, 2007 6:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host/Service State Log Entries > > I recently upgraded from 1.0b to 2.7. I noticed that immediately after > my daily log rotation, the current state of all hosts and services is > entered in the log file. As I have thousands of hosts/services, this > makes the log (in my case) unnecessarily large, and was hoping to find > an option to prevent those states from being logged. Have you done a full restart since making the change? That would be the right option to prevent those states being logged, but it won't take effect unless you shut down Nagios completely and restart it -- your rotation is probably just sending a HUP to an already-running Nagios 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 patrick.morris at hp.com Tue Apr 10 04:13:08 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 9 Apr 2007 22:13:08 -0400 Subject: Uptime before downtime off In-Reply-To: References: Message-ID: > I'm running Nagios 2.5 on Mac OS X 10.4. > > I am finding that 1. I am getting host down alerts almost 2 > hours late and 2. The Uptime is being reported before the downtime. > > Any help would be great. Check your mail logs. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Tue Apr 10 12:27:21 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Tue, 10 Apr 2007 11:27:21 +0100 Subject: Service Group Summary Changing Numbers In-Reply-To: <14004497.401176132952093.JavaMail.root@mail> References: <14004497.401176132952093.JavaMail.root@mail> Message-ID: <461B6689.9090800@aidananderson.co.uk> Hi Elijah, This sounds similar to a problem that I had, refreshing the browser was giving me different results. It turned out that the problem was to do with 2 Nagios processes running. When I was refreshing the browser, it was randomly picking one of the processes and reporting back the state of that particular instance hence the different results on each refresh. To rectify, I stopped Nagios and manually removed the remaining process and then started Nagios again. I caused the problem during a Nagios upgrade, I didn't stop Nagios before starting the upgrade so it ended up being started twice. Regards, Aidan Elijah Savage wrote: > All, > > I have something going on that I consider very weird happening. Under > service group summary my numbers are changing on refresh of the > browser when there are no devices down. I have 4 different host groups > on that page, but in one group I have 70 devices. You login it shows > 70 devices up then you do a refresh and it will show 60 devices up > none down when you know you have 70, next refresh it may show > 68devices up none down. I know it all sounds like baby talk but it is > some what difficult for me to explain. It does this under the > hostgroup summary as well. > > I have been on this list for a long time and have never had to post > because through reading the emails and searching the archives I have > been able to achieve what I needed to for my environment, but I could > not find anything close to what I am seeing now. > > Nagios is Version 2.7 updated this past weekend had I known and was > paying attention I would have waited on the 2.8 release from this > weekend :) > Running on Solaris and Sun V880 Platform 4cpu's 8gig of mem. > > The server is no where close to being over loaded. Thing is I do not > know if this was happening on the previous version. Of course when you > announce a major change or upgrade people really start to pay close > attention to the tools they use. > > Oh yeah one last thing these devices being monitored are Cisco devices > with the check_command check-router-alive. > > Any help would be greatly 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Tue Apr 10 16:23:23 2007 From: chiel at gmx.net (chiel) Date: Tue, 10 Apr 2007 16:23:23 +0200 Subject: NRPE - command arguments, security? References: <002001c77b78$ab96d7b0$7a0010ac@michiel> <461B9B39.90703@mailnetwork.co.uk> Message-ID: <007a01c77b7b$cc1301a0$7a0010ac@michiel> Thanks Andy, makes sense now. I have implemented the 3 security features you suggested so I will keep using it this way. chiel ----- Original Message ----- From: "Andy Shellam" To: "chiel" Cc: Sent: Tuesday, April 10, 2007 4:12 PM Subject: Re: [Nagios-users] NRPE - command arguments, security? > Certainly. > Imagine you have this command in your nrpe.cfg file: > > command[check_disk]=/usr/local/nagios/libexec/chec_disk -p $ARG1$ > > and you want to pass "/usr" as the parameter to check the disk space > available to the /usr directory. > Now, imagine some rogue has discovered you're running NRPE on your server, > connects to it, and sends the command check_disk with "/usr && rm -rf /" > as the argument. > > NRPE will pass out to the shell the command > "/usr/local/nagios/libexec/chec_disk -p /usr && rm -rf /" > which will cause it to run the plugin, then erase the entire contents of > your server's file system. > > To be fair, I think it's only a risk if your server is wide open in other > ways, such as: > > - NRPE allowing any host to connect to it > - No firewall restrictions > - sudo security really permissive > > etc. So if you know that only your Nagios server can connect to Nagios > (restricted by firewalls and allowed_hosts in nrpe.cfg) I think, with a > bit of extra attention paid to command definitions, you'll be OK. But > that's just my opinion. > > Note you also have to have compiled NRPE with an extra option to allow > command arguments (./configure --enable-command-args) as well as setting > the option in the config file. > > Andy. > > > chiel wrote: >> Hi all, >> I have just implemented some NRPE servers and I want to allow "command >> arguments" with nrpe. >> In the security readme form nrpe I see that this is a security issue and >> you must set "dont_blame_nrpe" (only the argument name already...). >> The only thing is that I don't see any reason in the docs why this is so >> dangerous. Can somebody please explain? >> chiel >> !DSPAM:37,461b98af89291579711602! >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> 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,461b98af89291579711602! >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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,461b98af89291579711602! >> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CKoop at vrg.de Tue Apr 10 16:19:22 2007 From: CKoop at vrg.de (Carsten Koop) Date: Tue, 10 Apr 2007 16:19:22 +0200 Subject: Antwort: nagios menagemente In-Reply-To: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> References: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> Message-ID: Hi, there are some more alternatives tools: Fruity, Oreon, NagEdit Mit freundlichen Gr??en / best regards Carsten Koop "Di Giambelardini Gabriele" Gesendet von: nagios-users-bounces at lists.sourceforge.net 10.04.2007 15:46 An nagios-users at lists.sourceforge.net Kopie Thema [Nagios-users] nagios menagemente Hi to all, somebody know some web managemente for nagios? for add/del/mod host or service? i just trie nagmin - nagat - nagiosweb, but they are not so userfriendly. some body can help me? i use nagios 2.8, and i change my self some nagios checks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 chiel at gmx.net Tue Apr 10 16:19:49 2007 From: chiel at gmx.net (chiel) Date: Tue, 10 Apr 2007 16:19:49 +0200 Subject: nagios menagemente References: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> Message-ID: <006c01c77b7b$4c4e9240$7a0010ac@michiel> Maybe Monarch? http://monarch.sourceforge.net/ It uses a mysql database to store all you hosts/services etc and then generates the .cfg for you. ----- Original Message ----- From: "Di Giambelardini Gabriele" To: Sent: Tuesday, April 10, 2007 3:46 PM Subject: [Nagios-users] nagios menagemente > Hi to all, somebody know some web managemente for nagios? > for add/del/mod host or service? > i just trie nagmin - nagat - nagiosweb, but they are not so userfriendly. > some body can help me? > i use nagios 2.8, and i change my self some nagios checks > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 andy.shellam-lists at mailnetwork.co.uk Tue Apr 10 16:12:09 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 10 Apr 2007 15:12:09 +0100 Subject: NRPE - command arguments, security? In-Reply-To: <002001c77b78$ab96d7b0$7a0010ac@michiel> References: <002001c77b78$ab96d7b0$7a0010ac@michiel> Message-ID: <461B9B39.90703@mailnetwork.co.uk> Certainly. Imagine you have this command in your nrpe.cfg file: command[check_disk]=/usr/local/nagios/libexec/chec_disk -p $ARG1$ and you want to pass "/usr" as the parameter to check the disk space available to the /usr directory. Now, imagine some rogue has discovered you're running NRPE on your server, connects to it, and sends the command check_disk with "/usr && rm -rf /" as the argument. NRPE will pass out to the shell the command "/usr/local/nagios/libexec/chec_disk -p /usr && rm -rf /" which will cause it to run the plugin, then erase the entire contents of your server's file system. To be fair, I think it's only a risk if your server is wide open in other ways, such as: - NRPE allowing any host to connect to it - No firewall restrictions - sudo security really permissive etc. So if you know that only your Nagios server can connect to Nagios (restricted by firewalls and allowed_hosts in nrpe.cfg) I think, with a bit of extra attention paid to command definitions, you'll be OK. But that's just my opinion. Note you also have to have compiled NRPE with an extra option to allow command arguments (./configure --enable-command-args) as well as setting the option in the config file. Andy. chiel wrote: > Hi all, > > I have just implemented some NRPE servers and I want to allow "command > arguments" with nrpe. > In the security readme form nrpe I see that this is a security issue > and you must set "dont_blame_nrpe" (only the argument name already...). > > The only thing is that I don't see any reason in the docs why this is > so dangerous. Can somebody please explain? > > chiel > > > > !DSPAM:37,461b98af89291579711602! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > 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,461b98af89291579711602! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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,461b98af89291579711602! > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Tue Apr 10 16:10:57 2007 From: chiel at gmx.net (chiel) Date: Tue, 10 Apr 2007 16:10:57 +0200 Subject: nrpe stopped working after upgrade References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> <20070408144028.GB12032@morsing.cc> <461939C9.5060501@mailnetwork.co.uk> <461A1721.4070107@wansecurity.com> <20070409103922.GG7979@morsing.cc><20070410135929.GA6732@morsing.cc> <461B9964.3030604@mailnetwork.co.uk> Message-ID: <004001c77b7a$0f9b6fe0$7a0010ac@michiel> hi, I had this issue also today. In my case I had the command definitions set to recieve aruguments ($ARG1$, $ARG2$..etc) but the service definitions did not pased any aruguments (sinds it didn't need to). After making a second check_nrpe command definition that didn't expected any arguments it worked. hope it helps, ----- Original Message ----- From: "Andy Shellam" To: "Henrik Morsing" Cc: Sent: Tuesday, April 10, 2007 4:04 PM Subject: Re: [Nagios-users] nrpe stopped working after upgrade > Hi Henrik, > > As I mentioned previously, the "no output returned from plugin" error > means that Nagios did contact NRPE successfully, but had nothing > returned (otherwise you'd get a "Socket timeout" or "NRPE: SSL handshake > failed" or similar failure). If you're certain Nagios isn't actually > contacting NRPE, then I suggest you check your Nagios config etc. > > What might be helpful is if you also post: > > What happens when you run "check_nrpe -H -c > " when run as the Nagios user. > The output you see in Nagios. > Your Nagios's NRPE command definition and a relevant service definition. > > Andy. > > Henrik Morsing wrote: >> So no-one has any other ideas? >> >> Regards >> Henrik >> >> >> On Mon, Apr 09, 2007 at 11:39:22AM +0100, Henrik Morsing wrote: >> >>> On Mon, Apr 09, 2007 at 07:36:17PM +0900, Robert Smith wrote: >>> >>>> You could also try prepending an echo to the command_line in the >>>> command >>>> and you will see the exact command line it is executing in the cgi >>>> interface, then copy and paste that into a terminal. work the bugs out >>>> from there. >>>> >>> Thanks. Where do I add this exactly? >>> >>> Thanks, >>> Henrik Morsing >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>> your >>> opinions on IT & business topics through brief surveys-and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 >> >> !DSPAM:37,461b986889292390011319! >> >> >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 PriggeScottM at JohnDeere.com Tue Apr 10 16:30:12 2007 From: PriggeScottM at JohnDeere.com (Prigge Scott) Date: Tue, 10 Apr 2007 09:30:12 -0500 Subject: Host/Service State Log Entries Message-ID: <0B5F692B776CFF4AB836841D36E92E9B02BF3808@edxmb7.jdnet.deere.com> > > I'm sure I answered this last week. This is expected and documented > > behavior. See the CHANGELOG. It's desirable for the vast majority of > > users and there's no option to disable it outside of editing source. If > > it's disabled, reporting will become less accurate. > > -- > > Marc I have been unable to open the previous thread, as my browser continually times out. So please accept my apologies for forcing you to post duplicate responses - but thank you for doing so. Is this the CHANGELOG entry you are referring to? 2.0b1 - 12/15/2004 # Improved logging of initial host and service states And if that is the case, then can you explain to me what the "log_initial_states" option does differently? I have been unable to determine the impact changing this value. Thanks again for your post. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henrik at morsing.cc Tue Apr 10 15:59:29 2007 From: henrik at morsing.cc (Henrik Morsing) Date: Tue, 10 Apr 2007 14:59:29 +0100 Subject: nrpe stopped working after upgrade In-Reply-To: <20070409103922.GG7979@morsing.cc> References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> <20070408144028.GB12032@morsing.cc> <461939C9.5060501@mailnetwork.co.uk> <461A1721.4070107@wansecurity.com> <20070409103922.GG7979@morsing.cc> Message-ID: <20070410135929.GA6732@morsing.cc> So no-one has any other ideas? Regards Henrik On Mon, Apr 09, 2007 at 11:39:22AM +0100, Henrik Morsing wrote: > On Mon, Apr 09, 2007 at 07:36:17PM +0900, Robert Smith wrote: > > You could also try prepending an echo to the command_line in the command > > and you will see the exact command line it is executing in the cgi > > interface, then copy and paste that into a terminal. work the bugs out > > from there. > > Thanks. Where do I add this exactly? > > Thanks, > Henrik Morsing > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 andy.shellam-lists at mailnetwork.co.uk Tue Apr 10 16:04:20 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 10 Apr 2007 15:04:20 +0100 Subject: nrpe stopped working after upgrade In-Reply-To: <20070410135929.GA6732@morsing.cc> References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> <20070408144028.GB12032@morsing.cc> <461939C9.5060501@mailnetwork.co.uk> <461A1721.4070107@wansecurity.com> <20070409103922.GG7979@morsing.cc> <20070410135929.GA6732@morsing.cc> Message-ID: <461B9964.3030604@mailnetwork.co.uk> Hi Henrik, As I mentioned previously, the "no output returned from plugin" error means that Nagios did contact NRPE successfully, but had nothing returned (otherwise you'd get a "Socket timeout" or "NRPE: SSL handshake failed" or similar failure). If you're certain Nagios isn't actually contacting NRPE, then I suggest you check your Nagios config etc. What might be helpful is if you also post: What happens when you run "check_nrpe -H -c " when run as the Nagios user. The output you see in Nagios. Your Nagios's NRPE command definition and a relevant service definition. Andy. Henrik Morsing wrote: > So no-one has any other ideas? > > Regards > Henrik > > > On Mon, Apr 09, 2007 at 11:39:22AM +0100, Henrik Morsing wrote: > >> On Mon, Apr 09, 2007 at 07:36:17PM +0900, Robert Smith wrote: >> >>> You could also try prepending an echo to the command_line in the command >>> and you will see the exact command line it is executing in the cgi >>> interface, then copy and paste that into a terminal. work the bugs out >>> from there. >>> >> Thanks. Where do I add this exactly? >> >> Thanks, >> Henrik Morsing >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > > !DSPAM:37,461b986889292390011319! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karoly.vegh at gmail.com Tue Apr 10 18:13:42 2007 From: karoly.vegh at gmail.com (Karoly VEGH) Date: Tue, 10 Apr 2007 17:13:42 +0100 Subject: serviceextinfo icons In-Reply-To: <461BB077.50201@verizon.net> References: <28ef5e8f0704100733p283d7685m3c5cfe1c38f41ee4@mail.gmail.com> <461BB077.50201@verizon.net> Message-ID: <28ef5e8f0704100913k7004a077mf2017cd76d2e3265@mail.gmail.com> 2007/4/10, Max Hetrick wrote: > Karoly VEGH wrote: > > > I understand that adding extra actions and features are nice features > > to add per service, but it really isn't possible now to have a single > > self-defined icon which directly links to an url? > > Sure, the action_url is just that. It just doesn't sound like it. If I > understand you correctly, you want the icon to be linked directly to an > outside URL...correct? > > I do that by the following: > > define serviceextinfo{ > host_name montemp > service_description TEMP > notes_url http://nagios/mrtg/monitor1_1.html > icon_image graph.gif > icon_image_alt Extended Info > } > > A little graph shows up beside my TEMP service which goes directly to my > MRTG graphs when clicked on the icon. Thanks, I recreated right now with the config you suggested: root at meta:/opt/csw/nagios# cat etc/servers/serviceextinfo.cfg define serviceextinfo{ host_name datapool service_description / Free space notes_url http://targethost/munin/domain.net/datapool.domain.net-df.html icon_image graph.gif icon_image_alt Extended Info } root at meta:/opt/csw/nagios# This shows at me next to my "/ Free space" service 2 icons. One red paperfolder, linking directly to the munin url, and the graph.gif icon, linking to http://nagios/nagios/cgi-bin/extinfo.cgi?type=2&host=datapool&service=%2F+Free+space I'd prefer to have only the latter one, linking to the munin graphs url :) wbr, charlie -- Karoly VEGH - Systemadministrator SSETI - Students Space Exploration and Technology Initiative INFRA Team - http://sseti.net https://www.openbc.com/hp/Karoly_Vegh/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Tue Apr 10 16:01:00 2007 From: chiel at gmx.net (chiel) Date: Tue, 10 Apr 2007 16:01:00 +0200 Subject: NRPE - command arguments, security? Message-ID: <002001c77b78$ab96d7b0$7a0010ac@michiel> Hi all, I have just implemented some NRPE servers and I want to allow "command arguments" with nrpe. In the security readme form nrpe I see that this is a security issue and you must set "dont_blame_nrpe" (only the argument name already...). The only thing is that I don't see any reason in the docs why this is so dangerous. Can somebody please explain? chiel -------------- 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 azoecalvo at yahoo.com.ar Tue Apr 10 16:12:49 2007 From: azoecalvo at yahoo.com.ar (Alicia Calvo) Date: Tue, 10 Apr 2007 11:12:49 -0300 (ART) Subject: logos-statusmap Message-ID: <74145.72288.qm@web33013.mail.mud.yahoo.com> Hi, I work with Suse 10.1 and Nagios V2.8. I can't display the *.gd2 images in my statusmap. I do, for example: pngtogd2 /usr/local/nagios/share/images/win40.png /usr/local/nagios/share/images/logos/win40.gd2 1 1 and it generate a nuw file .gd2 but whaen i want display it with 'File Manager' the uniques files that can't display are .gd2 and statusmap cant't display either. I compile nagios with-gd-lib=/usr/local/lib and with-gd-inc=/usr/local/include. In HostDetail and ServiceDetail, png, jpg and gif are ok. Do you notice that? you know any solution? Thanks!!! and sorry for my english!!! AC --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! -------------- 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 Apr 10 15:46:36 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Tue, 10 Apr 2007 15:46:36 +0200 (CEST) Subject: nagios menagemente Message-ID: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> Hi to all, somebody know some web managemente for nagios? for add/del/mod host or service? i just trie nagmin - nagat - nagiosweb, but they are not so userfriendly. some body can help me? i use nagios 2.8, and i change my self some nagios checks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 10 16:21:34 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 10 Apr 2007 15:21:34 +0100 Subject: nagios menagemente In-Reply-To: <006c01c77b7b$4c4e9240$7a0010ac@michiel> References: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> <006c01c77b7b$4c4e9240$7a0010ac@michiel> Message-ID: <461B9D6E.8050209@mailnetwork.co.uk> Try here instead, the previous link gave a 403: http://sourceforge.net/projects/monarch/ chiel wrote: > Maybe Monarch? > http://monarch.sourceforge.net/ > > It uses a mysql database to store all you hosts/services etc and then > generates the .cfg for you. > > > ----- Original Message ----- > From: "Di Giambelardini Gabriele" > To: > Sent: Tuesday, April 10, 2007 3:46 PM > Subject: [Nagios-users] nagios menagemente > > > >> Hi to all, somebody know some web managemente for nagios? >> for add/del/mod host or service? >> i just trie nagmin - nagat - nagiosweb, but they are not so userfriendly. >> some body can help me? >> i use nagios 2.8, and i change my self some nagios checks >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > > !DSPAM:37,461b9d0989292031175474! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karoly.vegh at gmail.com Tue Apr 10 16:33:57 2007 From: karoly.vegh at gmail.com (Karoly VEGH) Date: Tue, 10 Apr 2007 15:33:57 +0100 Subject: serviceextinfo icons Message-ID: <28ef5e8f0704100733p283d7685m3c5cfe1c38f41ee4@mail.gmail.com> Hi, I am running Nagios 2.7 on Solaris 10, and have just enabled the serviceextinfo funcitonality, since I would like to have a little graph icon next to some services in the webinterface, that can be clicked on to visit the relevant munin graphs I generate on another server. Now the docs ( http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#serviceextinfo ) say that I can use notes and notes_url and actiion and action_url and icon_image. If I do so, then the notes and the action urls can be used to directly link me to the wished url, but my chosen graph icon (icon_image) links to the extinfo.cgi site. I understand that adding extra actions and features are nice features to add per service, but it really isn't possible now to have a single self-defined icon which directly links to an url? TIA charlie -- Karoly VEGH - Systemadministrator SSETI - Students Space Exploration and Technology Initiative INFRA Team - http://sseti.net https://www.openbc.com/hp/Karoly_Vegh/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nmrksharma at gmail.com Tue Apr 10 17:48:36 2007 From: nmrksharma at gmail.com (nmrk sharma) Date: Tue, 10 Apr 2007 17:48:36 +0200 (CEST) Subject: Problem with nagios-plugins-1.4.7 Message-ID: <20070410154836.9B30F4F4045@desire.netways.de> Hi all I am planing to install Latest nagios Plugins (nagios-plugins-1.4.7).When i given ./configure it is stoping at following location and not going forward.Can any one help me in this regard. checking for ping... /bin/ping checking for ping6... /usr/sbin/ping6 checking for ICMP ping syntax... Please help. - nmrk sharma (nmrksharma) ----------------------- 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 sganame at yahoo.com.ar Tue Apr 10 19:47:09 2007 From: sganame at yahoo.com.ar (Sebastian Ganame) Date: Tue, 10 Apr 2007 14:47:09 -0300 (ART) Subject: Files locking might be an issue for scalability? Message-ID: <87529.567.qm@web32115.mail.mud.yahoo.com> I was going to ask the same exact thing, since the periodicity in which you retrieve data (and how of course) is the most important thing to interpret this data. However, now that I have your insights, I'll try to get deeper on using plugins and I'll keep you posted of my testing results. Best regards, Sebastian Ganame -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Martes, 10 de Abril de 2007 02:20 p.m. To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Files locking might be an issue for scalability? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jay Radcliffe > Sent: Tuesday, April 10, 2007 12:07 PM > To: sganame at yahoo.com.ar; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Files locking might be an issue for > scalability? > > Hello, > > I am running Nagios 2.8 in a production environment with 700 hosts and > 12,000 services on a single machine without any issues. Good to hear. What's your normal_check_interval and are they active or passive? Those are key factors to qualify that kind of statement and will help others with scalability questions in the future. If active, what kind of checks are you performing? 12,000 ping checks once a day is much easier than 12,000 checks every 5 minutes or every 10 seconds. -- 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 --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! -------------- 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 btmanmeh at verizon.net Tue Apr 10 17:42:47 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Tue, 10 Apr 2007 11:42:47 -0400 Subject: serviceextinfo icons In-Reply-To: <28ef5e8f0704100733p283d7685m3c5cfe1c38f41ee4@mail.gmail.com> References: <28ef5e8f0704100733p283d7685m3c5cfe1c38f41ee4@mail.gmail.com> Message-ID: <461BB077.50201@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Karoly VEGH wrote: > > I understand that adding extra actions and features are nice features > to add per service, but it really isn't possible now to have a single > self-defined icon which directly links to an url? > > Sure, the action_url is just that. It just doesn't sound like it. If I understand you correctly, you want the icon to be linked directly to an outside URL...correct? I do that by the following: define serviceextinfo{ host_name montemp service_description TEMP notes_url http://nagios/mrtg/monitor1_1.html icon_image graph.gif icon_image_alt Extended Info } A little graph shows up beside my TEMP service which goes directly to my MRTG graphs when clicked on the icon. I think this is what you mean anyways. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGG7B3HoeeepPau2ERApvLAKCmNSOMovadQtWzUzvwLPzl3vIVtQCdER7Y QOvY5WrRBbGw/nFmsTEQUMU= =4SSJ -----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 pjahromi at us.checkpoint.com Tue Apr 10 17:36:13 2007 From: pjahromi at us.checkpoint.com (Payam Jahromi) Date: Tue, 10 Apr 2007 08:36:13 -0700 Subject: Undetermined times in availability reports Message-ID: <005601c77b85$f89ca230$b97461d1@ad.checkpoint.com> Hi, when I generate host/service reports using the GUI, they get 100% "undetermined" . I saw the answer from the FAQs at http://www.nagios.org/faqs/viewfaq.php?faq_id=136 &expand=false&showdesc=false The instructions say to "increase the value of the Backtracked Archives options. If this does not help and you know what the state of the host/service was at the start of the report period, you can tell the CGIs what that was by selecting it from the First assumed state dropdown box." My question is, where do I make either of these changes? -------------- 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 Apr 10 18:25:59 2007 From: marc at ena.com (Marc Powell) Date: Tue, 10 Apr 2007 11:25:59 -0500 Subject: Files locking might be an issue for scalability? In-Reply-To: <629991.68704.qm@web32112.mail.mud.yahoo.com> References: <629991.68704.qm@web32112.mail.mud.yahoo.com> Message-ID: > -----Original Message----- > From: Sebastian Ganame [mailto:sganame at yahoo.com.ar] > Sent: Tuesday, April 10, 2007 10:48 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Files locking might be an issue for > scalability? > > Hi Marc (& others that answered my question), > I share your mindset that if using polling 1K instances every 10 > seconds (or so) wouldn't make any sense. > When I post file locking might be an issue, I was not thinking on a > pull mechanism for services (Nagios trying to retrieve information), but > in Nagios being pushed by services for this kind of info. As far as I read > from documentation, for a push schema, the monitored instance has to write > a given file inside Nagios structure to update his status. > What do you think about this? Passive checks are written to a named pipe that is read by nagios, not a file. Again, file contention isn't going to be an issue afaik as your OS will handle access to the named pipe. You do need to be worried about sending results faster than nagios can check them though. Your OS will buffer result submissions up to your max pipe size (typically 4096 bytes I believe) and you can configure nagios to check external commands as often as it possibly can (command_check_interval -1 I believe) but even so, processing 10 results for 1000 host every 10 seconds (1000 results/second) is not trivial. Again, you'd probably be breaking new ground and I'd be surprised if it worked with the current architecture. I submit about 4000 passive results every 5 minutes (~13/second) and feel like I have plenty of room to grow but not like that... -- 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 jqualkenbush at iso-ne.com Tue Apr 10 17:43:52 2007 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Tue, 10 Apr 2007 11:43:52 -0400 Subject: Nagios w/ heartbeat + drbd ? Message-ID: <461BB0B8.5050506@iso-ne.com> Anyone doing a failover cluster with heartbeat and drbd? I have a failover cluster working just fine. The problem is that the failover partner is in a different room so it's connected to different network devices. Nagios fails over just fine and continues monitoring when I test failover (/etc/init.d/heartbeat stop). I added in IPFail so the cluster will failover if the primary node can't ping it's gateway (switch failure). The problem I have is having different config files on each node in the cluster due to the different network devices depending on which node nagios is running on. The only solution I can come up with is to put all the network devices in a non-drbd partition creating a parent path that works depending on which nagios node is active. It just bugs me having to update two config files instead of just the one. Is anyone else using nagios in a heartbeat/drbd setup? What strategy are you using in this kind of configuration? -- -jq ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 10 17:30:10 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Tue, 10 Apr 2007 09:30:10 -0600 Subject: Files locking might be an issue for scalability? In-Reply-To: <869894.91026.qm@web32113.mail.mud.yahoo.com> References: <869894.91026.qm@web32113.mail.mud.yahoo.com> Message-ID: <1176219010.24158.59.camel@sidhqmis4grdv91> I believe all pertinent information regarding host/service status is kept in memory and only written out to a file periodically for other uses... probably...I could be wrong. On Tue, 2007-04-10 at 12:12 -0300, Sebastian Ganame wrote: > Hi guys, > I'm kind of a newbie not only with Nagios, but also with all > monitoring/management tools. I?ve just installed Nagios for testing > it, and I?m successfully doing basic monitoring of a bunch of > subnetworks, with no service monitoring yet (just pinging a few > machines, seen how parent/child relationship affects alarming, etc). > What I need to do is to evaluate if Nagios is suitable for a proof of > concept I?m researching on, trying to monitor both hardware and > services, and react if needed to meet a defined SLA for Web Services. > I know that Nagios is able to do this kind of monitoring, > but as far as I understood from the documentation, Nagios saves all > cache and status of the monitored environment in text files inside the > file system, and I was wondering how scalable would this be when > trying to online monitor (lets say) 10 services per machine in a 1K > machines environment that might update their status every 10 seconds. > Do you think text-files locking might be an issue in this case? I > cannot found architecture details on Nagios that might answer my > question, and maybe some of you can give me an insight on this matter. > Best regards, > > Sebastian Ganame > > > > ______________________________________________________________________ > Pregunt?. Respond?. Descubr?. > Todo lo que quer?as saber, y lo que ni imaginabas, > est? en Yahoo! Respuestas (Beta). > Probalo ya! > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 andy.shellam-lists at mailnetwork.co.uk Tue Apr 10 17:22:13 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 10 Apr 2007 16:22:13 +0100 Subject: Files locking might be an issue for scalability? In-Reply-To: <869894.91026.qm@web32113.mail.mud.yahoo.com> References: <869894.91026.qm@web32113.mail.mud.yahoo.com> Message-ID: <461BABA5.5050600@mailnetwork.co.uk> Hi Sebastian, I cannot answer from experience I'm afraid, as for me, Nagios only monitors a small number of servers. However there are people on the list who are running with 200, 400, even up to 700+ servers, with thousands of services, and Nagios does scale reliably. When you're talking specifically about it's status text files, Nagios does have an option (the name escapes me) where it keeps it's status data in memory, only writing it to disk every so often, which prevents the problem of concurrent writing you're talking about. Hope this helps some. Andy. Sebastian Ganame wrote: > Hi guys, > I'm kind of a newbie not only with Nagios, but also with all > monitoring/management tools. I?ve just installed Nagios for testing > it, and I?m successfully doing basic monitoring of a bunch of > subnetworks, with no service monitoring yet (just pinging a few > machines, seen how parent/child relationship affects alarming, etc). > What I need to do is to evaluate if Nagios is suitable for a proof of > concept I?m researching on, trying to monitor both hardware and > services, and react if needed to meet a defined SLA for Web Services. > I know that Nagios is able to do this kind of monitoring, but as far > as I understood from the documentation, Nagios saves all cache and > status of the monitored environment in text files inside the file > system, and I was wondering how scalable would this be when trying to > online monitor (lets say) 10 services per machine in a 1K machines > environment that might update their status every 10 seconds. Do you > think text-files locking might be an issue in this case? I cannot > found architecture details on Nagios that might answer my question, > and maybe some of you can give me an insight on this matter. > Best regards, > > Sebastian Ganame > > ------------------------------------------------------------------------ > *Pregunt?. Respond?. Descubr?.* > Todo lo que quer?as saber, y lo que ni imaginabas, > est? en *Yahoo! Respuestas* (Beta). > *Probalo ya! * > !DSPAM:37,461baa1d89297748677066! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > 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,461baa1d89297748677066! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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,461baa1d89297748677066! > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sganame at yahoo.com.ar Tue Apr 10 17:12:46 2007 From: sganame at yahoo.com.ar (Sebastian Ganame) Date: Tue, 10 Apr 2007 12:12:46 -0300 (ART) Subject: Files locking might be an issue for scalability? Message-ID: <869894.91026.qm@web32113.mail.mud.yahoo.com> Hi guys, I'm kind of a newbie not only with Nagios, but also with all monitoring/management tools. I?ve just installed Nagios for testing it, and I?m successfully doing basic monitoring of a bunch of subnetworks, with no service monitoring yet (just pinging a few machines, seen how parent/child relationship affects alarming, etc). What I need to do is to evaluate if Nagios is suitable for a proof of concept I?m researching on, trying to monitor both hardware and services, and react if needed to meet a defined SLA for Web Services. I know that Nagios is able to do this kind of monitoring, but as far as I understood from the documentation, Nagios saves all cache and status of the monitored environment in text files inside the file system, and I was wondering how scalable would this be when trying to online monitor (lets say) 10 services per machine in a 1K machines environment that might update their status every 10 seconds. Do you think text-files locking might be an issue in this case? I cannot found architecture details on Nagios that might answer my question, and maybe some of you can give me an insight on this matter. Best regards, Sebastian Ganame --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! -------------- 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 mail at aidananderson.co.uk Tue Apr 10 17:10:52 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Tue, 10 Apr 2007 16:10:52 +0100 Subject: Service Group Summary Changing Numbers In-Reply-To: <27904933.1201176216074047.JavaMail.root@mail> References: <27904933.1201176216074047.JavaMail.root@mail> Message-ID: <461BA8FC.4090601@aidananderson.co.uk> 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 dimma at higis.ru Tue Apr 10 16:49:38 2007 From: dimma at higis.ru (Dmitriy Kirhlarov) Date: Tue, 10 Apr 2007 18:49:38 +0400 Subject: nagios menagemente In-Reply-To: <006c01c77b7b$4c4e9240$7a0010ac@michiel> References: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> <006c01c77b7b$4c4e9240$7a0010ac@michiel> Message-ID: <20070410144933.GG3122@dkirhlarov.mow.oilspace.com> On Tue, Apr 10, 2007 at 04:19:49PM +0200, chiel wrote: > Maybe Monarch? > http://monarch.sourceforge.net/ > > It uses a mysql database to store all you hosts/services etc and then > generates the .cfg for you. I have several location with dedicated nagios server for every location and central server for accumulation information. This server get data over nsca. Central server have host and server lists from all servers, but active checks are deactivate for them. Can "monarch" help me for maintaine this configuration? May be some other tool? WBR Dmitriy ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henrik at morsing.cc Tue Apr 10 16:41:30 2007 From: henrik at morsing.cc (Henrik Morsing) Date: Tue, 10 Apr 2007 15:41:30 +0100 Subject: nrpe stopped working after upgrade In-Reply-To: <004001c77b7a$0f9b6fe0$7a0010ac@michiel> References: <20070408141256.GA12032@morsing.cc> <4618FCAE.7030201@mailnetwork.co.uk> <20070408144028.GB12032@morsing.cc> <461939C9.5060501@mailnetwork.co.uk> <461A1721.4070107@wansecurity.com> <461B9964.3030604@mailnetwork.co.uk> <004001c77b7a$0f9b6fe0$7a0010ac@michiel> Message-ID: <20070410144130.GE6732@morsing.cc> On Tue, Apr 10, 2007 at 04:10:57PM +0200, chiel wrote: > hi, > > I had this issue also today. > In my case I had the command definitions set to recieve aruguments ($ARG1$, > $ARG2$..etc) but the service definitions did not pased any aruguments (sinds > it didn't need to). > After making a second check_nrpe command definition that didn't expected any > arguments it worked. > > hope it helps, Oh... It most certainly did :) All I did was remove -a $ARG2$ from /etc/nagios-plugins/config/check_nrpe.cfg and it works :) I'm so happy. Thanks to both of you, Andy as well, for helping me out with this. Regards Henrik > > > ----- Original Message ----- > From: "Andy Shellam" > To: "Henrik Morsing" > Cc: > Sent: Tuesday, April 10, 2007 4:04 PM > Subject: Re: [Nagios-users] nrpe stopped working after upgrade > > > > Hi Henrik, > > > > As I mentioned previously, the "no output returned from plugin" error > > means that Nagios did contact NRPE successfully, but had nothing > > returned (otherwise you'd get a "Socket timeout" or "NRPE: SSL handshake > > failed" or similar failure). If you're certain Nagios isn't actually > > contacting NRPE, then I suggest you check your Nagios config etc. > > > > What might be helpful is if you also post: > > > > What happens when you run "check_nrpe -H -c > > " when run as the Nagios user. > > The output you see in Nagios. > > Your Nagios's NRPE command definition and a relevant service definition. > > > > Andy. > > > > Henrik Morsing wrote: > >> So no-one has any other ideas? > >> > >> Regards > >> Henrik > >> > >> > >> On Mon, Apr 09, 2007 at 11:39:22AM +0100, Henrik Morsing wrote: > >> > >>> On Mon, Apr 09, 2007 at 07:36:17PM +0900, Robert Smith wrote: > >>> > >>>> You could also try prepending an echo to the command_line in the > >>>> command > >>>> and you will see the exact command line it is executing in the cgi > >>>> interface, then copy and paste that into a terminal. work the bugs out > >>>> from there. > >>>> > >>> Thanks. Where do I add this exactly? > >>> > >>> Thanks, > >>> Henrik Morsing > >>> > >>> ------------------------------------------------------------------------- > >>> Take Surveys. Earn Cash. Influence the Future of IT > >>> Join SourceForge.net's Techsay panel and you'll get the chance to share > >>> your > >>> opinions on IT & business topics through brief surveys-and earn cash > >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: 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 > >> > >> !DSPAM:37,461b986889292390011319! > >> > >> > >> > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 esavage at digitalrage.org Tue Apr 10 16:41:14 2007 From: esavage at digitalrage.org (Elijah Savage) Date: Tue, 10 Apr 2007 10:41:14 -0400 (EDT) Subject: Service Group Summary Changing Numbers In-Reply-To: <461B6689.9090800@aidananderson.co.uk> References: <461B6689.9090800@aidananderson.co.uk> Message-ID: <27904933.1201176216074047.JavaMail.root@mail> Aidan, Not sure how I miss that but you are right there were multiple processes running. I think my situation was from actually doing a restart on the services with the init script and they all did not stop for some reason. I have since stopped all services killed off any additional processes and now things seem to be back to exactly what I have grown to expect, a nice stable platform in nagios. Thank you ----- Original Message ----- From: Aidan Anderson To: Nagios Users Mailinglist Sent: Tuesday, April 10, 2007 6:27:21 AM GMT-0500 Auto-Detected Subject: Re: [Nagios-users] Service Group Summary Changing Numbers Hi Elijah, This sounds similar to a problem that I had, refreshing the browser was giving me different results. It turned out that the problem was to do with 2 Nagios processes running. When I was refreshing the browser, it was randomly picking one of the processes and reporting back the state of that particular instance hence the different results on each refresh. To rectify, I stopped Nagios and manually removed the remaining process and then started Nagios again. I caused the problem during a Nagios upgrade, I didn't stop Nagios before starting the upgrade so it ended up being started twice. Regards, Aidan Elijah Savage wrote: > All, > > I have something going on that I consider very weird happening. Under > service group summary my numbers are changing on refresh of the > browser when there are no devices down. I have 4 different host groups > on that page, but in one group I have 70 devices. You login it shows > 70 devices up then you do a refresh and it will show 60 devices up > none down when you know you have 70, next refresh it may show > 68devices up none down. I know it all sounds like baby talk but it is > some what difficult for me to explain. It does this under the > hostgroup summary as well. > > I have been on this list for a long time and have never had to post > because through reading the emails and searching the archives I have > been able to achieve what I needed to for my environment, but I could > not find anything close to what I am seeing now. > > Nagios is Version 2.7 updated this past weekend had I known and was > paying attention I would have waited on the 2.8 release from this > weekend :) > Running on Solaris and Sun V880 Platform 4cpu's 8gig of mem. > > The server is no where close to being over loaded. Thing is I do not > know if this was happening on the previous version. Of course when you > announce a major change or upgrade people really start to pay close > attention to the tools they use. > > Oh yeah one last thing these devices being monitored are Cisco devices > with the check_command check-router-alive. > > Any help would be greatly 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 andy.shellam-lists at mailnetwork.co.uk Tue Apr 10 16:54:45 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 10 Apr 2007 15:54:45 +0100 Subject: nagios menagemente In-Reply-To: <20070410144933.GG3122@dkirhlarov.mow.oilspace.com> References: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> <006c01c77b7b$4c4e9240$7a0010ac@michiel> <20070410144933.GG3122@dkirhlarov.mow.oilspace.com> Message-ID: <461BA535.2030307@mailnetwork.co.uk> Personally I maintain all my Nagios files by hand (but am planning on looking at Monarch over the coming weeks.) I would imagine that whatever configuration you can code into a Nagios file by hand, Monarch will allow you to do it through your browser. From what I can tell, it only generates Nagios's configuration files for you, so I would hazard a guess at yes :) Andy. Dmitriy Kirhlarov wrote: > On Tue, Apr 10, 2007 at 04:19:49PM +0200, chiel wrote: > >> Maybe Monarch? >> http://monarch.sourceforge.net/ >> >> It uses a mysql database to store all you hosts/services etc and then >> generates the .cfg for you. >> > > I have several location with dedicated nagios server for every > location and central server for accumulation information. This server > get data over nsca. > Central server have host and server lists from all servers, but active > checks are deactivate for them. > Can "monarch" help me for maintaine this configuration? > May be some other tool? > > WBR > Dmitriy > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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,461ba42b89299759911437! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Apr 10 17:20:05 2007 From: marc at ena.com (Marc Powell) Date: Tue, 10 Apr 2007 10:20:05 -0500 Subject: Host/Service State Log Entries In-Reply-To: <0B5F692B776CFF4AB836841D36E92E9B02BF3808@edxmb7.jdnet.deere.com> References: <0B5F692B776CFF4AB836841D36E92E9B02BF3808@edxmb7.jdnet.deere.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Prigge Scott > Sent: Tuesday, April 10, 2007 9:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host/Service State Log Entries > > > > I'm sure I answered this last week. This is expected and documented > > > behavior. See the CHANGELOG. It's desirable for the vast majority of > > > users and there's no option to disable it outside of editing source. > Is this the CHANGELOG entry you are referring to? > > 2.0b1 - 12/15/2004 > # Improved logging of initial host and service states This is the one actually -- http://nagios.sourceforge.net/docs/2_0/whatsnew.html#changelog Logging changes - Initial host and service states are now logged a bit differently. Also, the initial states of all hosts and services are logged immediately after all log rotations. This should help with all those "undetermined time" problems in the availability and trends CGIs. > And if that is the case, then can you explain to me what the > "log_initial_states" option does differently? I have been unable to > determine the impact changing this value. Normally, when nagios starts, it will only log the state of hosts and services that are in a non-OK state. The log_initial_states variable tells nagios to log the state of all hosts and services on restart regardless of their state. Normally nagios does not need this but it was useful for accurate reporting in the past. The logging of states after log rotation further negates the need for this option and further improves the accuracy of reports IMHO. Reporting (as I understand it) works as follows -- Historically -- Nagios would only ever log state changes or non-OK states unless told to log all initial states on restart. For any given reporting period only reads the log files within that time period. If a host or service never changed state or nagios wasn't restarted during that time period (and the state was non-OK), the status of that host or service would be unknown. You would either need to tell nagios to backtrack through prior logs to look for a state change to know what the status was or to set an assumed state, presuming you knew what it was. Lots of guesswork could be involved and the reports are likely to be inaccurate. Today -- Nagios logs the state of all hosts and services at the start of every log file. For any given reporting period, nagios now knows the exact state of a host or service at the beginning of that period. No longer is there a need to backtrack through older logs to determine initial state or to assume states. -- 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 Apr 10 17:33:13 2007 From: marc at ena.com (Marc Powell) Date: Tue, 10 Apr 2007 10:33:13 -0500 Subject: Files locking might be an issue for scalability? In-Reply-To: <869894.91026.qm@web32113.mail.mud.yahoo.com> References: <869894.91026.qm@web32113.mail.mud.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sebastian Ganame > Sent: Tuesday, April 10, 2007 10:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Files locking might be an issue for scalability? > > I know that Nagios is able to do this kind of monitoring, but > as far as I understood from the documentation, Nagios saves all cache and > status of the monitored environment in text files inside the file system, > and I was wondering how scalable would this be when trying to online > monitor (lets say) 10 services per machine in a 1K machines environment > that might update their status every 10 seconds. Do you think text-files > locking might be an issue in this case? I cannot found architecture > details on Nagios that might answer my question, and maybe some of you can > give me an insight on this matter. AFAIK, there is only ever 1 nagios process that writes the status files at the interval specified by status_update_interval presuming aggregate_status_updates is enabled, and it should for that many services. File contention isn't an issue, but how long it takes to actually write the file might be if you actually want to see up-to-the-second status information in the web interface. I personally think you're going to have other scalability issues when trying to actually perform 10,000 checks every 10 seconds. That's extremely aggressive IMHO and I believe you'd be breaking new ground. I'm aware of other installations with that many services but I believe they're at a more sane check interval of 5 minutes or longer. -- 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 Apr 10 17:42:06 2007 From: marc at ena.com (Marc Powell) Date: Tue, 10 Apr 2007 10:42:06 -0500 Subject: Undetermined times in availability reports In-Reply-To: <005601c77b85$f89ca230$b97461d1@ad.checkpoint.com> References: <005601c77b85$f89ca230$b97461d1@ad.checkpoint.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Payam Jahromi > Sent: Tuesday, April 10, 2007 10:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Undetermined times in availability reports > > Hi, when I generate host/service reports using the GUI, they get 100% > "undetermined" . I saw the answer from the FAQs at > http://www.nagios.org/faqs/viewfaq.php?faq_id=136&expand=false&showdesc= fa > lse > > > > The instructions say to "increase the value of the Backtracked Archives > options. If this does not help and you know what the state of the > host/service was at the start of the report period, you can tell the CGIs > what that was by selecting it from the First assumed state dropdown box." > > > > My question is, where do I make either of these changes? For nagios 2, it's step 3 of the Availability wizard or, if you're looking at the availability report for a single host or service not using the wizard, top right corner of the availability report page for that host or service. -- 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 karoly.vegh at gmail.com Tue Apr 10 18:21:03 2007 From: karoly.vegh at gmail.com (Karoly VEGH) Date: Tue, 10 Apr 2007 17:21:03 +0100 Subject: serviceextinfo icons In-Reply-To: <28ef5e8f0704100913k7004a077mf2017cd76d2e3265@mail.gmail.com> References: <28ef5e8f0704100733p283d7685m3c5cfe1c38f41ee4@mail.gmail.com> <461BB077.50201@verizon.net> <28ef5e8f0704100913k7004a077mf2017cd76d2e3265@mail.gmail.com> Message-ID: <28ef5e8f0704100921x7bc134ffp2efccb5abfb291c0@mail.gmail.com> 2007/4/10, Karoly VEGH : It seems as if I wasn't the only one with this problem, see: http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?8442.post though there there isn't any solution posted either... could this be a problem in 2.7? charlie -- Karoly VEGH - Systemadministrator SSETI - Students Space Exploration and Technology Initiative INFRA Team - http://sseti.net https://www.openbc.com/hp/Karoly_Vegh/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 10 19:17:53 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Tue, 10 Apr 2007 13:17:53 -0400 Subject: serviceextinfo icons In-Reply-To: <28ef5e8f0704100921x7bc134ffp2efccb5abfb291c0@mail.gmail.com> References: <28ef5e8f0704100733p283d7685m3c5cfe1c38f41ee4@mail.gmail.com> <461BB077.50201@verizon.net> <28ef5e8f0704100913k7004a077mf2017cd76d2e3265@mail.gmail.com> <28ef5e8f0704100921x7bc134ffp2efccb5abfb291c0@mail.gmail.com> Message-ID: <461BC6C1.2030800@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Karoly VEGH wrote: > 2007/4/10, Karoly VEGH : > > It seems as if I wasn't the only one with this problem, see: > > http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?8442.post > > though there there isn't any solution posted either... could this be a > problem in 2.7? > > Hmm, not sure. I'm using 2.8. I have two icons as well, but one is pointing to the extended info page, and the definition I gave you as an example, is pointing directly to my graph page. I guess I've just never noticed the strange behavior. I also use host extended information which works too. Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGG8bBHoeeepPau2ERAsvZAJsFhOmp9ADDF/MLnDCo3yNC4Ak5uwCgylF8 m4AkXPPUK6Oozu1A1y1KaOc= =O9Od -----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 sganame at yahoo.com.ar Tue Apr 10 17:47:38 2007 From: sganame at yahoo.com.ar (Sebastian Ganame) Date: Tue, 10 Apr 2007 12:47:38 -0300 (ART) Subject: Files locking might be an issue for scalability? Message-ID: <629991.68704.qm@web32112.mail.mud.yahoo.com> Hi Marc (& others that answered my question), I share your mindset that if using polling 1K instances every 10 seconds (or so) wouldn't make any sense. When I post file locking might be an issue, I was not thinking on a pull mechanism for services (Nagios trying to retrieve information), but in Nagios being pushed by services for this kind of info. As far as I read from documentation, for a push schema, the monitored instance has to write a given file inside Nagios structure to update his status. What do you think about this? Regards, Sebastian -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Martes, 10 de Abril de 2007 12:33 p.m. To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Files locking might be an issue for scalability? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sebastian Ganame > Sent: Tuesday, April 10, 2007 10:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Files locking might be an issue for scalability? > > I know that Nagios is able to do this kind of monitoring, but > as far as I understood from the documentation, Nagios saves all cache and > status of the monitored environment in text files inside the file system, > and I was wondering how scalable would this be when trying to online > monitor (lets say) 10 services per machine in a 1K machines environment > that might update their status every 10 seconds. Do you think text-files > locking might be an issue in this case? I cannot found architecture > details on Nagios that might answer my question, and maybe some of you can > give me an insight on this matter. AFAIK, there is only ever 1 nagios process that writes the status files at the interval specified by status_update_interval presuming aggregate_status_updates is enabled, and it should for that many services. File contention isn't an issue, but how long it takes to actually write the file might be if you actually want to see up-to-the-second status information in the web interface. I personally think you're going to have other scalability issues when trying to actually perform 10,000 checks every 10 seconds. That's extremely aggressive IMHO and I believe you'd be breaking new ground. I'm aware of other installations with that many services but I believe they're at a more sane check interval of 5 minutes or longer. -- 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 --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! -------------- 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 james at nttmcl.com Tue Apr 10 18:17:38 2007 From: james at nttmcl.com (James Tran) Date: Tue, 10 Apr 2007 09:17:38 -0700 Subject: alert timeframe Message-ID: <461BB8A2.6070805@nttmcl.com> Hi i was wondering if there was a way to set nagios not to notify for instance if a host is down immediately... say give it like 2 to 3 minutes to recover before a notification is sent. i understand how to set interval BETWEEN notifications but i dunno how to set the initial notification delay. Thanks, james ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Apr 10 18:53:28 2007 From: marc at ena.com (Marc Powell) Date: Tue, 10 Apr 2007 11:53:28 -0500 Subject: Files locking might be an issue for scalability? In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Tuesday, April 10, 2007 11:26 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Files locking might be an issue for > scalability? > > > > > -----Original Message----- > > From: Sebastian Ganame [mailto:sganame at yahoo.com.ar] > > Sent: Tuesday, April 10, 2007 10:48 AM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Files locking might be an issue for > > scalability? > > > > Hi Marc (& others that answered my question), > > I share your mindset that if using polling 1K instances every 10 > > seconds (or so) wouldn't make any sense. > > When I post file locking might be an issue, I was not thinking on > a > > pull mechanism for services (Nagios trying to retrieve information), > but > > in Nagios being pushed by services for this kind of info. As far as I > read > > from documentation, for a push schema, the monitored instance has to > write > > a given file inside Nagios structure to update his status. > > What do you think about this? > > Passive checks are written to a named pipe that is read by nagios, not a > file. Again, file contention isn't going to be an issue afaik as your OS > will handle access to the named pipe. You do need to be worried about > sending results faster than nagios can check them though. Your OS will > buffer result submissions up to your max pipe size (typically 4096 bytes > I believe) and you can configure nagios to check external commands as > often as it possibly can (command_check_interval -1 I believe) but even > so, processing 10 results for 1000 host every 10 seconds (1000 > results/second) is not trivial. Again, you'd probably be breaking new > ground and I'd be surprised if it worked with the current architecture. > I submit about 4000 passive results every 5 minutes (~13/second) and > feel like I have plenty of room to grow but not like that... Sorry for the followup to my response but I'm just getting up to speed with what's coming with 3.0. Nagios-3 introduces a new external command that tells nagios to read further commands from a specified file for bulk processing. This will eventually be an option for NRPE but it would be useful in your case. http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=131 You would have your external checker write the results to an arbitrary file in bulk then you would tell nagios to process that file when it was 'full', whatever that criteria was. That would at least get you around the limitations of the named-pipe processing but you'd still be limited by how much time was required to process the file and it's commands. -- 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 jay.radcliffe at gmail.com Tue Apr 10 19:07:10 2007 From: jay.radcliffe at gmail.com (Jay Radcliffe) Date: Tue, 10 Apr 2007 13:07:10 -0400 Subject: Files locking might be an issue for scalability? Message-ID: <3075aa7f0704101007l1dc563a7l7db48e629b14df20@mail.gmail.com> Hello, I am running Nagios 2.8 in a production environment with 700 hosts and 12,000 services on a single machine without any issues. Jay Radcliffe ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Tue Apr 10 17:29:40 2007 From: werner.flamme at ufz.de (Werner Flamme) Date: Tue, 10 Apr 2007 17:29:40 +0200 Subject: Antwort: nagios menagemente In-Reply-To: References: Message-ID: <461BAD64.3040305@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carsten Koop schrieb am 10.04.2007 16:19: > Hi, > > there are some more alternatives tools: Fruity, Oreon, NagEdit > > Mit freundlichen Gr??en / best regards > > Carsten Koop NagEdit has had its latest release on sourceforge on June 7, 2004. There is no project website linked. Oreon has no downloadable files and no documentation on sourceforge. http://www.oreon-project.org is partly in french. At least, it is much more up to date than the sourceforge site ;-) Fruity http://fruity.sourceforge.net/ will be worth a look, too. And, of course, Monarch, though there is neither online documentation nor a project website ;-) We are fumbling with NagEdit - I agree with "not userfriendly" ;-) Just my 2c Werner - -- Werner Flamme, Abt. WKDV Helmholtz-Zentrum f?r Umweltforschung GmbH - UFZ Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGG61kk33Krq8b42MRAqX7AJ48FnF5SCe30oVXazCmS83AB3uUrwCfUm6Y 7iF56E+rW45mFG002+91rSU= =R4gD -----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 marc at ena.com Tue Apr 10 19:19:45 2007 From: marc at ena.com (Marc Powell) Date: Tue, 10 Apr 2007 12:19:45 -0500 Subject: Files locking might be an issue for scalability? In-Reply-To: <3075aa7f0704101007l1dc563a7l7db48e629b14df20@mail.gmail.com> References: <3075aa7f0704101007l1dc563a7l7db48e629b14df20@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jay Radcliffe > Sent: Tuesday, April 10, 2007 12:07 PM > To: sganame at yahoo.com.ar; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Files locking might be an issue for > scalability? > > Hello, > > I am running Nagios 2.8 in a production environment with 700 hosts and > 12,000 services on a single machine without any issues. Good to hear. What's your normal_check_interval and are they active or passive? Those are key factors to qualify that kind of statement and will help others with scalability questions in the future. If active, what kind of checks are you performing? 12,000 ping checks once a day is much easier than 12,000 checks every 5 minutes or every 10 seconds. -- 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 Tue Apr 10 21:47:39 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 10 Apr 2007 21:47:39 +0200 (CEST) Subject: Nagios w/ heartbeat + drbd ? In-Reply-To: <461BB0B8.5050506@iso-ne.com> References: <461BB0B8.5050506@iso-ne.com> Message-ID: On Tue, 10 Apr 2007, Jason Qualkenbush wrote: > The problem I have is having different config files on each node in the > cluster due to the different network devices depending on which node > nagios is running on. The only solution I can come up with is to put > all the network devices in a non-drbd partition creating a parent path > that works depending on which nagios node is active. It just bugs me > having to update two config files instead of just the one. The way I would do this would be to split off the unique per system parts from the remainder. Then you can sync everything you need to all servers except the config file(s) that are unique for each server. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Apr 10 21:52:30 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 10 Apr 2007 15:52:30 -0400 Subject: Files locking might be an issue for scalability? In-Reply-To: <87529.567.qm@web32115.mail.mud.yahoo.com> References: <87529.567.qm@web32115.mail.mud.yahoo.com> Message-ID: <461BEAFE.5020000@aei.ca> On 10/04/07 01:47 PM, Sebastian Ganame wrote: > I was going to ask the same exact thing, since the periodicity in which > you retrieve data (and how of course) is the most important thing to > interpret this data. > However, now that I have your insights, I'll try to get deeper on using > plugins and I'll keep you posted of my testing results. > Best regards, Hi Sebastian, Just to add one thing, your most concerning problem in 2.x series with a lot of hosts polling very often is likely to be hosts checks as they are not parallelized. On the latest box I set up I'm polling every minutes and as soon as there is a few unreachable hosts Nagios starts lagging. My workaround for now is to manually disable active host checks on them though there are many other options (I'm mainly thinking of removing the host check and using event handlers to set the host UP/DOWN, though you may want to test how that affect UNREACHABLE state). This has been addressed in the upcoming 3.0 release but it's still in alpha stage. Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From don.munyak at gmail.com Tue Apr 10 23:46:32 2007 From: don.munyak at gmail.com (Don Munyak) Date: Tue, 10 Apr 2007 17:46:32 -0400 Subject: make install-init Message-ID: <6207f7d90704101446l69fc062cse3e8405a48da7607@mail.gmail.com> web# make install-init /usr/bin/install -c -m 755 -d -o root -g root /usr/local/etc/rc.d install: root: Invalid argument *** Error code 67 Stop in /tmp/nagios-3.0a3. Need some help please Don ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Apr 11 01:03:50 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Tue, 10 Apr 2007 19:03:50 -0400 Subject: serviceextinfo icons Message-ID: <461C17D6.3030605@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm passing this along since it went directly to me and not the list. - -------- Original Message -------- Subject: Re: [Nagios-users] serviceextinfo icons Date: Wed, 11 Apr 2007 00:41:46 +0200 From: Peter Ringe To: Max Hetrick References: <28ef5e8f0704100733p283d7685m3c5cfe1c38f41ee4 at mail.gmail.com> <461BB077.50201 at verizon.net> <28ef5e8f0704100913k7004a077mf2017cd76d2e3265 at mail.gmail.com> <28ef5e8f0704100921x7bc134ffp2efccb5abfb291c0 at mail.gmail.com> <461BC6C1.2030800 at verizon.net> Hi , There is a way, described in the Nagios Book "*Pro Nagios 2.0: (Expert's Voice in Open Source)", *James Turnbull, APress. It shows, how to have a direkt link to perfdata gathered with nagiosgraph, but with some changes it may work for your requirements aswell. This method works with all 2.x Versions I have tried, even with 3.0a1. But be advised, this method isn't officailly supported and actually there ist an discussion how to handle html-tags of plugin-outputs and/or cgi-Input. define serviceextinfo{ host_name pcmon1 service_description DISK_C icon_image dot.png' border="0"> Karoly VEGH wrote: > >> 2007/4/10, Karoly VEGH : > >> It seems as if I wasn't the only one with this problem, see: > >> http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?8442.post > >> though there there isn't any solution posted either... could this be a >> problem in 2.7? > > > > > > Hmm, not sure. I'm using 2.8. I have two icons as well, but one is > pointing to the extended info page, and the definition I gave you as an > example, is pointing directly to my graph page. > > I guess I've just never noticed the strange behavior. I also use host > extended information which works too. > > Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGHBfWHoeeepPau2ERAkodAKCHPpREHWLU+XFfLWEQ0QdXHAmC8wCfR5p9 9mCAlELcKFfiBvgvl92upYY= =RlUz -----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 Apr 11 01:14:07 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 11 Apr 2007 01:14:07 +0200 (CEST) Subject: make install-init In-Reply-To: <6207f7d90704101446l69fc062cse3e8405a48da7607@mail.gmail.com> References: <6207f7d90704101446l69fc062cse3e8405a48da7607@mail.gmail.com> Message-ID: On Tue, 10 Apr 2007, Don Munyak wrote: > web# make install-init > /usr/bin/install -c -m 755 -d -o root -g root /usr/local/etc/rc.d > install: root: Invalid argument > *** Error code 67 > > Stop in /tmp/nagios-3.0a3. > > Need some help please Don't use this version. If you can 't do better then this you are not supposed to run a test version. ;-) Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From don.munyak at gmail.com Wed Apr 11 03:45:26 2007 From: don.munyak at gmail.com (Don Munyak) Date: Tue, 10 Apr 2007 21:45:26 -0400 Subject: make install-init In-Reply-To: References: <6207f7d90704101446l69fc062cse3e8405a48da7607@mail.gmail.com> Message-ID: <6207f7d90704101845y627bcc78xc1ef019bc814991e@mail.gmail.com> On 4/10/07, Hugo van der Kooij wrote: > Don't use this version. If you can 't do better then this you are not > supposed to run a test version. ;-) > > Hugo. At first I thought you may be insulting me...but after going back to the home page, I see where I made my mistake...Then again maybe you are :b Either way...thanks for pointing this out to me. I was not intending to install cutting-edge. My days are hard enough. Don ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Apr 11 04:28:43 2007 From: termx23 at gmail.com (Peter Edmonds) Date: Wed, 11 Apr 2007 12:28:43 +1000 Subject: nagios menagemente In-Reply-To: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> References: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> Message-ID: <6b8cee7e0704101928y131451feo6f48884ca0f6c62f@mail.gmail.com> On 4/10/07, Di Giambelardini Gabriele wrote: > Hi to all, somebody know some web managemente for nagios? > for add/del/mod host or service? > i just trie nagmin - nagat - nagiosweb, but they are not so userfriendly. > some body can help me? > i use nagios 2.8, and i change my self some nagios checks Groundwork Monitor Open Source would be my suggestion, preferably as a VMWare Virtual Machine as found at http://richard.trezza.us/vmach/index.html Latest version is 5.0 - I am still using 4.5 as I prefer the interface (AJAX is overrated - sorry Rich). You get a fully self contained Nagios environment with web based management interface. Version 5.0 has the advantage of fully integrated graphing of performance statistics into RRDs Best of all, you can import your existing Nagios config straight into Groundwork Monitor Open Source, copy over any custom plugins and you are good to go. 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 don.munyak at gmail.com Wed Apr 11 05:37:16 2007 From: don.munyak at gmail.com (Don Munyak) Date: Tue, 10 Apr 2007 23:37:16 -0400 Subject: make install-init In-Reply-To: <6207f7d90704101845y627bcc78xc1ef019bc814991e@mail.gmail.com> References: <6207f7d90704101446l69fc062cse3e8405a48da7607@mail.gmail.com> <6207f7d90704101845y627bcc78xc1ef019bc814991e@mail.gmail.com> Message-ID: <6207f7d90704102037u400e1947iea0ef5654acdd0b8@mail.gmail.com> Just tried with Nagios-2.9 ... same error :( ------------------- /usr/bin/install -c -m 755 -d -o root -g root /usr/local/etc/rc.d install: root: Invalid argument *** Error code 67 Stop in /tmp/nagios-2.9. ------------------- So maybe I should elaborate further since this doesn't seem to be cut-n-dry. -The server is FreeBSD-6.2, fully patched and updated # uname -a FreeBSD web.pmg.local 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:41:06 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 -I have created a Jailed environment using Ezjail-2.0 -I am trying to install Nagios-2.9 in a jail. -I had no problem installing any of the other packages/ports either from pkg_add or make install. -All done after su to root -The nagios:nagios was created -nagcmd added to group -added www,nagios to nagcmd group -I downloaded the source into /tmp and extracted # proz -v http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-2.9.tar.gz # tar xzvf nagios-2.9.tar.gz # cd nagios-2.9 # mkdir /usr/local/etc/nagios # chown nagios:nagios /usr/local/etc/nagios # ./configure --prefix=/usr/local/etc/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd # make all # make install -------------------{..snip..}------------------- ** Main program, CGIs and HTML files installed *** You can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install-init - This installs the init script in /usr/local/etc/rc.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs *SAMPLE* config files in /usr/local/etc/nagios/etc You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! -------------------{..end-snip...}------------------- Next, `make install-init` {TROUBLE !!!} ------------------- # make install-init /usr/bin/install -c -m 755 -d -o root -g root /usr/local/etc/rc.d install: root: Invalid argument *** Error code 67 Stop in /tmp/nagios-2.9. # ------------------- # make Please supply a command line argument (i.e. 'make all'). Other targets are: nagios cgis contrib modules clean install install-base install-cgis install-html install-config install-init install-commandmode fullinstall # ------------------- While not part of the 2.x install, I did see in 3.x the steps to run - make install-config - make install-commandmode Since make install-init failed, I tried install-config, and install-commandmode # make install-config {No errors} # make install-commandmode {Again, No errors} So, I'm back to make install-init ??? - Can I hack a file somehow? - Can I achieve the same end result another way? - Is there a fix or trouble shooting I can do ? Thanks Don ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marty at supine.com Wed Apr 11 05:59:37 2007 From: marty at supine.com (Martin Barry) Date: Wed, 11 Apr 2007 13:59:37 +1000 Subject: alert timeframe In-Reply-To: <461BB8A2.6070805@nttmcl.com> References: <461BB8A2.6070805@nttmcl.com> Message-ID: <20070411035937.GA8067@supine.com> $quoted_author = "James Tran" ; > > Hi i was wondering if there was a way to set nagios not to notify for > instance if a host is down immediately... say give it like 2 to 3 > minutes to recover before a notification is sent. > i understand how to set interval BETWEEN notifications but i dunno how > to set the initial notification delay. change the number of retries so it delays the transition from "soft fail" to "hard fail". e.g. if you check every 5 minutes when "ok", every 1 minute when "not ok" and have 5 retries then you will be notified somewhere between 5 and 10 minutes after the server/service fails. increasing the retries will delay the alert... cheers marty -- Government's view of the economy could be summed up in a few short phrases: If it moves, tax it. If it keeps moving, regulate it. And if it stops moving, subsidize it. -- Ronald Reagan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BStover at NorcalMutual.com Wed Apr 11 03:15:53 2007 From: BStover at NorcalMutual.com (Stover, Beth) Date: Tue, 10 Apr 2007 18:15:53 -0700 Subject: Fruity: Call to undefined function preg_match() Error when adding data or importing configs Message-ID: Hi, I'm hoping to get a little help in troubleshooting Fruity errors when I attempt to make certain changes or import the basic Nagios config files: 1. When I try to modify a contact group, I get this error: Fatal error: Call to undefined function preg_match() in /usr/local/www/apache22/data/fruity/includes/adodb/adodb-lib.inc.php on line 596 2. When I try to import nagios.cfg, cgi.cfg or resource.cfg, I get this error: Fatal error: Call to undefined function preg_match() in /usr/local/www/apache22/data/fruity/includes/tangelo.inc.php on line 85 Here are some basics on my setup: Fruity version -- fruity-1.0-rc2 OS -- FreeBSD 6.2 Nagios 2.8 -- it's up and running fine and monitoring 1 host so far. MySQL 5 -- it's up and running. Fruity database is created, nagios tables created, I confirmed that new hosts are added to the database when entered from Fruity PHP5 -- Installed and working PHP Extensions for MySQL -- Installed -- database is being updated Config Files -- www can write to the configs Because PHP, MySQL and Nagios are running fine, I wonder if I didn't install a necessary PHP Extension. Fruity can write to the database, so that doesn't seem to be the problem. Does anyone have any ideas? Anyone out there using Fruity successfully who could lend some advice? Thanks for any help you can give. Beth Stover Systems Administrator 415.395.8768 -------------- 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 BStover at NorcalMutual.com Wed Apr 11 07:35:56 2007 From: BStover at NorcalMutual.com (Stover, Beth) Date: Tue, 10 Apr 2007 22:35:56 -0700 Subject: Fruity: Call to undefined function preg_match() Error when adding data or importing configs In-Reply-To: <117548EDBB85D4119CA10050DAB1023A0BA76BC2@iccexch1.adpiicc.com> References: <117548EDBB85D4119CA10050DAB1023A0BA76BC2@iccexch1.adpiicc.com> Message-ID: To update my original post: I re-ran the install of my PHP-extensions, and now I get a different error when trying to import nagios.cfg, cgi.cfg and resource.cfg. I opened up permissions on the file just to be sure, and it still doesn't work. Here's the error: Tangelo Error: Cannot Open Configuration File: /usr/local/nagios/etc/nagios.cfg It seems I'm missing something pretty simple here. This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -------------- 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 Aritz.Lazkano at DaimlerChrysler.com Wed Apr 11 08:44:18 2007 From: Aritz.Lazkano at DaimlerChrysler.com (Aritz.Lazkano at DaimlerChrysler.com) Date: Wed, 11 Apr 2007 08:44:18 +0200 Subject: how to monitor my SAN Message-ID: Hi I?ve to monitor the used space of disks of mi SAN(eva6000(HP)) that is connected to a server "X". The SAN doesn?t have IP. Mi local machine "where is nagios runnig" "Y" can comunicate whith the server of SAN "X". I can use snmp, but only i can reach "X" server from my "Y" machine, and not the SAN. But i don?t know how can i get the used space of my SAN. ? Could you help me? any information would be really helpful for me. PD.Sorry because my english is not so good. 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 dermoth at aei.ca Wed Apr 11 14:20:10 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 11 Apr 2007 08:20:10 -0400 Subject: how to monitor my SAN In-Reply-To: References: Message-ID: <461CD27A.8020007@aei.ca> On 11/04/07 02:44 AM, Aritz.Lazkano at DaimlerChrysler.com wrote: > > Hi > > I?ve to monitor the used space of disks of mi SAN(eva6000(HP)) that is > connected to a server "X". > The SAN doesn?t have IP. > > Mi local machine "where is nagios runnig" "Y" can comunicate whith the > server of SAN "X". > I can use snmp, but only i can reach "X" server from my "Y" machine, and > not the SAN. > > But i don?t know how can i get the used space of my SAN. ? > > Could you help me? any information would be really helpful for me. You will have to monitor each partition of your san individually on servers they are mounted on. It works just like local disks. Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Wed Apr 11 09:23:59 2007 From: misch at multinet.de (Michael Schwartzkopff) Date: Wed, 11 Apr 2007 09:23:59 +0200 Subject: how to monitor my SAN In-Reply-To: References: Message-ID: <200704110923.59588.misch@multinet.de> Am Mittwoch, 11. April 2007 08:44 schrieb Aritz.Lazkano at daimlerchrysler.com: > Hi > > I?ve to monitor the used space of disks of mi SAN(eva6000(HP)) that is > connected to a server "X". > The SAN doesn?t have IP. > > Mi local machine "where is nagios runnig" "Y" can comunicate whith the > server of SAN "X". > I can use snmp, but only i can reach "X" server from my "Y" machine, and > not the SAN. > > But i don?t know how can i get the used space of my SAN. ? > > Could you help me? any information would be really helpful for me. > > PD.Sorry because my english is not so good. > > > > > Thank you. Does the SAN have a SNMP agent? I am sure it does. Please look into the documentation of the SAN and install the nescessary software. Please contect me direct if you have more questions about SNMP. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Ringe at web.de Wed Apr 11 09:37:37 2007 From: Peter.Ringe at web.de (Peter Ringe) Date: Wed, 11 Apr 2007 09:37:37 +0200 Subject: serviceextinfo icons In-Reply-To: <461BC6C1.2030800@verizon.net> References: <28ef5e8f0704100733p283d7685m3c5cfe1c38f41ee4@mail.gmail.com> <461BB077.50201@verizon.net> <28ef5e8f0704100913k7004a077mf2017cd76d2e3265@mail.gmail.com> <28ef5e8f0704100921x7bc134ffp2efccb5abfb291c0@mail.gmail.com> <461BC6C1.2030800@verizon.net> Message-ID: <461C9041.6090202@web.de> Hi , There is a way, described in the Nagios Book "Pro Nagios 2.0: (Expert's Voice in Open Source)", by James Turnbull, APress. It shows, how to have a direkt link to perfdata gathered with nagiosgraph, but with some changes it may work for your requirements aswell. This method works with all 2.x Versions I have tried, even with 3.0a1. But be advised, this method isn't officailly supported and actually there ist an discussion how to handle html-tags of plugin-outputs and/or cgi-Input. define serviceextinfo{ host_name pcmon1 service_description DISK_C icon_image dot.png' border="0"> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Karoly VEGH wrote: > >> 2007/4/10, Karoly VEGH : >> >> It seems as if I wasn't the only one with this problem, see: >> >> http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?8442.post >> >> though there there isn't any solution posted either... could this be a >> problem in 2.7? >> >> >> > > > Hmm, not sure. I'm using 2.8. I have two icons as well, but one is > pointing to the extended info page, and the definition I gave you as an > example, is pointing directly to my graph page. > > I guess I've just never noticed the strange behavior. I also use host > extended information which works too. > > Max > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFGG8bBHoeeepPau2ERAsvZAJsFhOmp9ADDF/MLnDCo3yNC4Ak5uwCgylF8 > m4AkXPPUK6Oozu1A1y1KaOc= > =O9Od > -----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 > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sbye at unifiedgroup.co.uk Wed Apr 11 10:57:27 2007 From: sbye at unifiedgroup.co.uk (Scott Bye) Date: Wed, 11 Apr 2007 09:57:27 +0100 Subject: make install-init In-Reply-To: References: <6207f7d90704101446l69fc062cse3e8405a48da7607@mail.gmail.com> <6207f7d90704101845y627bcc78xc1ef019bc814991e@mail.gmail.com> <6207f7d90704102037u400e1947iea0ef5654acdd0b8@mail.gmail.com> Message-ID: <461CB451.0840.003F.0@unifiedgroup.co.uk> >>> On 11/04/2007 at 10:05, in message , "Phil Costelloe" wrote: Don Munyak wrote: > Just tried with Nagios-2.9 ... same error :( > > ------------------- > /usr/bin/install -c -m 755 -d -o root -g root /usr/local/etc/rc.d > install: root: Invalid argument > *** Error code 67 > > Stop in /tmp/nagios-2.9. > ------------------- > So maybe I should elaborate further since this doesn't seem to be > cut-n-dry. > > -The server is FreeBSD-6.2, fully patched and updated # uname -a > FreeBSD web.pmg.local 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Tue > Feb 27 22:41:06 UTC 2007 I don't know FreeBSD that well but I'd guess there's no group called root and that's what's causing the error. Assuming that is the case, I don't know how you'd fix it programmatically (there's probably an option to configure that will do it) but you could manually change the line INIT_OPTS=-o root -g root in the Makefile to something more appropriate. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Having installed Nagios on a FreeBSD 6.2 server only yesterday, I just changed that Makefile line to... INIT_OPTS=-o root -g wheel This then matches other FreeBSD init scripts as well. Regards, Scott ************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ***************************************************** -------------- 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 philc at foundation-it.com Wed Apr 11 11:05:03 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 11 Apr 2007 10:05:03 +0100 Subject: make install-init In-Reply-To: <6207f7d90704102037u400e1947iea0ef5654acdd0b8@mail.gmail.com> References: <6207f7d90704101446l69fc062cse3e8405a48da7607@mail.gmail.com><6207f7d90704101845y627bcc78xc1ef019bc814991e@mail.gmail.com> <6207f7d90704102037u400e1947iea0ef5654acdd0b8@mail.gmail.com> Message-ID: Don Munyak wrote: > Just tried with Nagios-2.9 ... same error :( > > ------------------- > /usr/bin/install -c -m 755 -d -o root -g root /usr/local/etc/rc.d > install: root: Invalid argument > *** Error code 67 > > Stop in /tmp/nagios-2.9. > ------------------- > So maybe I should elaborate further since this doesn't seem to be > cut-n-dry. > > -The server is FreeBSD-6.2, fully patched and updated # uname -a > FreeBSD web.pmg.local 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Tue > Feb 27 22:41:06 UTC 2007 I don't know FreeBSD that well but I'd guess there's no group called root and that's what's causing the error. Assuming that is the case, I don't know how you'd fix it programmatically (there's probably an option to configure that will do it) but you could manually change the line INIT_OPTS=-o root -g root in the Makefile to something more appropriate. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nmrksharma at gmail.com Wed Apr 11 11:50:27 2007 From: nmrksharma at gmail.com (sarma nmrk) Date: Wed, 11 Apr 2007 15:20:27 +0530 Subject: Problem with nagios-plugins-1.4.7 In-Reply-To: <20070410154836.9B30F4F4045@desire.netways.de> References: <20070410154836.9B30F4F4045@desire.netways.de> Message-ID: <649a2b030704110250r1096981el96fbad57aa06483a@mail.gmail.com> Hi, Thanks for your mail. I am using red hat linux 9 with kernel version 2.4.20-8. It took long time around 1 hour or sooo but not going forward. Please hlep if we can fix the bug. Regards Sarma On 4/10/07, nmrk sharma wrote: > > Hi all > > I am planing to install Latest nagios Plugins (nagios-plugins-1.4.7).When > i given ./configure it is stoping at following location and not going > forward.Can any one help me in this regard. > > checking for ping... /bin/ping > checking for ping6... /usr/sbin/ping6 > checking for ICMP ping syntax... > > Please help. > > - nmrk sharma (nmrksharma) > > ----------------------- > 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 > -------------- 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 Wed Apr 11 12:17:15 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 11 Apr 2007 12:17:15 +0200 (CEST) Subject: Problem with nagios-plugins-1.4.7 In-Reply-To: <649a2b030704110250r1096981el96fbad57aa06483a@mail.gmail.com> References: <20070410154836.9B30F4F4045@desire.netways.de> <649a2b030704110250r1096981el96fbad57aa06483a@mail.gmail.com> Message-ID: On Wed, 11 Apr 2007, sarma nmrk wrote: > I am using red hat linux 9 with kernel version 2.4.20-8. You are aware that this version is old, obsolete and unsupport for a number of years now? Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karoly.vegh at gmail.com Wed Apr 11 13:53:03 2007 From: karoly.vegh at gmail.com (Karoly VEGH) Date: Wed, 11 Apr 2007 12:53:03 +0100 Subject: serviceextinfo icons In-Reply-To: <461C9041.6090202@web.de> References: <28ef5e8f0704100733p283d7685m3c5cfe1c38f41ee4@mail.gmail.com> <461BB077.50201@verizon.net> <28ef5e8f0704100913k7004a077mf2017cd76d2e3265@mail.gmail.com> <28ef5e8f0704100921x7bc134ffp2efccb5abfb291c0@mail.gmail.com> <461BC6C1.2030800@verizon.net> <461C9041.6090202@web.de> Message-ID: <28ef5e8f0704110453x57db85e9i64a6db1693da8ccd@mail.gmail.com> 2007/4/11, Peter Ringe : > But be advised, this method isn't officailly supported and actually > there ist an discussion how to handle html-tags of plugin-outputs and/or > cgi-Input. > icon_image dot.png' border="0"> References: Message-ID: This is a snippet of what I am seeing. What is the alias.db file? Mar 28 03:14:40 monitor postfix/smtpd[27661]: fatal: open database /opt/local/etc/postfix/aliases.db: No such file or directory Mar 28 03:14:56 monitor postfix/local[27667]: fatal: open database /opt/local/etc/postfix/aliases.db: No such file or directory Mar 28 03:15:01 monitor postfix/pickup[27473]: F12A69B2A62: uid=502 from= Mar 28 03:15:01 monitor postfix/cleanup[27710]: F12A69B2A62: message-id=<20070328071500.F12A69B2A62 at monitor.epixpharma.com> Mar 28 03:15:01 monitor postfix/pickup[27473]: 08D719B2A63: uid=502 from= On 4/9/07 10:13 PM, "Morris, Patrick" wrote: >> > I'm running Nagios 2.5 on Mac OS X 10.4. >> > >> > I am finding that 1. I am getting host down alerts almost 2 >> > hours late and 2. The Uptime is being reported before the downtime. >> > >> > Any help would be great. > > Check your mail logs. > -------------- 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 jqualkenbush at iso-ne.com Wed Apr 11 15:03:40 2007 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Wed, 11 Apr 2007 09:03:40 -0400 Subject: Nagios w/ heartbeat + drbd ? In-Reply-To: References: <461BB0B8.5050506@iso-ne.com> Message-ID: <461CDCAC.5010103@iso-ne.com> Hugo van der Kooij wrote: > On Tue, 10 Apr 2007, Jason Qualkenbush wrote: > > >> The problem I have is having different config files on each node in the >> cluster due to the different network devices depending on which node >> nagios is running on. The only solution I can come up with is to put >> all the network devices in a non-drbd partition creating a parent path >> that works depending on which nagios node is active. It just bugs me >> having to update two config files instead of just the one. >> > > The way I would do this would be to split off the unique per system parts > from the remainder. > > Then you can sync everything you need to all servers except the config > file(s) that are unique for each server. > Looks to be working fine like that. I did some testing and found that I should figure out something with the mail queue. If there is a network failure, notification gets attempted, fails to connect to the mail gateway, then put into the queue. When the secondary comes up, because it's picking up where the other node failed, it thinks it already sent the notifications. This could easily be fixed with making the queue a drbd8 partition I suppose. -- -jq ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From otto at riconet.de Wed Apr 11 15:51:45 2007 From: otto at riconet.de (Christoph Otto) Date: Wed, 11 Apr 2007 15:51:45 +0200 Subject: mail status plugin In-Reply-To: <461CE45F.6000907@0z0ne.com> References: <461BB0B8.5050506@iso-ne.com> <461CDCAC.5010103@iso-ne.com> <461CE45F.6000907@0z0ne.com> Message-ID: <461CE7F1.905@riconet.de> try this one: http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=328 Jes?s Arn?iz schrieb: > Hi there. > > I'm interested on a plugin that sends a mail and check (in a defined > period of time) if it is in the destination mailbox. The idea is to > detect problems in delivery, queue time and so on. > > Anyone know one that do this? > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 jesus.arnaiz at 0z0ne.com Wed Apr 11 15:36:31 2007 From: jesus.arnaiz at 0z0ne.com (=?ISO-8859-1?Q?Jes=FAs_Arn=E1iz?=) Date: Wed, 11 Apr 2007 15:36:31 +0200 Subject: mail status plugin In-Reply-To: <461CDCAC.5010103@iso-ne.com> References: <461BB0B8.5050506@iso-ne.com> <461CDCAC.5010103@iso-ne.com> Message-ID: <461CE45F.6000907@0z0ne.com> Hi there. I'm interested on a plugin that sends a mail and check (in a defined period of time) if it is in the destination mailbox. The idea is to detect problems in delivery, queue time and so on. Anyone know one that do this? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Apr 11 15:47:19 2007 From: marc at ena.com (Marc Powell) Date: Wed, 11 Apr 2007 08:47:19 -0500 Subject: mail status plugin In-Reply-To: <461CE45A.5000405@0z0ne.com> References: <461CE45A.5000405@0z0ne.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jes?s Arn?iz > Sent: Wednesday, April 11, 2007 8:36 AM > Cc: Nagios Users mailinglist > Subject: [Nagios-users] mail status plugin > > Hi there. > > I'm interested on a plugin that sends a mail and check (in a defined > period of time) if it is in the destination mailbox. The idea is to > detect problems in delivery, queue time and so on. > > Anyone know one that do this? check_email_loop.pl in the plugins Contrib directory is what you're looking for. -- 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 jesus.arnaiz at 0z0ne.com Wed Apr 11 15:36:26 2007 From: jesus.arnaiz at 0z0ne.com (=?ISO-8859-1?Q?Jes=FAs_Arn=E1iz?=) Date: Wed, 11 Apr 2007 15:36:26 +0200 Subject: mail status plugin In-Reply-To: <461CDCAC.5010103@iso-ne.com> References: <461BB0B8.5050506@iso-ne.com> <461CDCAC.5010103@iso-ne.com> Message-ID: <461CE45A.5000405@0z0ne.com> Hi there. I'm interested on a plugin that sends a mail and check (in a defined period of time) if it is in the destination mailbox. The idea is to detect problems in delivery, queue time and so on. Anyone know one that do this? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Wed Apr 11 16:13:01 2007 From: chiel at gmx.net (chiel) Date: Wed, 11 Apr 2007 16:13:01 +0200 Subject: Nagios sents notifi immideatly after recieving syslog error Message-ID: <00c001c77c43$84689d10$7a0010ac@michiel> Hello, On some of my network devices I have set up syslog to send there results to Nagios trough passive checks. This works perfectly. When syslog sents a error messages Nagios immideatly sents a notification e-mail/sms. The thing is that when syslog sent for example 20 error messages from one device within 5 secondes I also get 20 e-mail/sms notifications. Is there a way that Nagios waits for (let say) 5 minutes, after the first error hase been received, and than sents these 20 error messages all in one notification? chiel -------------- 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 don.munyak at gmail.com Wed Apr 11 16:41:39 2007 From: don.munyak at gmail.com (Don Munyak) Date: Wed, 11 Apr 2007 10:41:39 -0400 Subject: make install-init In-Reply-To: <461CB451.0840.003F.0@unifiedgroup.co.uk> References: <6207f7d90704101446l69fc062cse3e8405a48da7607@mail.gmail.com> <6207f7d90704101845y627bcc78xc1ef019bc814991e@mail.gmail.com> <6207f7d90704102037u400e1947iea0ef5654acdd0b8@mail.gmail.com> <461CB451.0840.003F.0@unifiedgroup.co.uk> Message-ID: <6207f7d90704110741l702bde0i7e6ec6ca5e494dc5@mail.gmail.com> On 4/11/07, Scott Bye wrote: > > Having installed Nagios on a FreeBSD 6.2 server only yesterday, I just > changed that Makefile line to... > > INIT_OPTS=-o root -g wheel > > This then matches other FreeBSD init scripts as well. > > Regards, > > Scott Thanks You VERY MUCH ! Don ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Wed Apr 11 16:45:37 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 11 Apr 2007 10:45:37 -0400 (EDT) Subject: check_ssl_cert w/ PKI / X.509 Chain Validation Message-ID: <20070411102445.V76445@arbitor.digitalfreaks.org> These scripts are great thank you very much to all involved who contributed (no e-mail address for 'mastrboy'). . I'm considering spending some time adding additional functionality: -- In addition to simply parsing the date and comparing the date/time, I'd like to test the validity of the X.509 Cert against it's PKI infrastructure using the OpenSSL routines. I'm pretty sure that this can be accomplished by checking the result code of openssl 's_client' or 'verify'; both permit for -CApath and -CAfile. For internal PKI, this is pretty straightforward; just specify your organization's Root CA Cert. For public cert verification; it gets tricky because you have to take a certificate store like the Mozilla NSS/NSPR default and convert it into OpenSSL c_rehash format -- taking ideas on that here. http://lxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt Thoughts? l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 11 18:40:41 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 11 Apr 2007 17:40:41 +0100 Subject: ANNOUNCE: Nagios Looking Glass 1.0.4 released Message-ID: <461D0F89.80604@mailnetwork.co.uk> The Nagios Looking Glass project is proud to announce it's latest release, 1.0.4. Project website: www.nagioslookingglass.co.uk Download this latest release at www.nagioslookingglass.co.uk/download.phpx This version fixes a bug when using Nagios Looking Glass against a Nagios server whose data and caching file names (in /usr/local/nagios/var) differ from those of a standard Nagios build. It's been noted that 3rd-party configuration file tools, such as Groundwork, may tell Nagios to generate files such as "status.log" and "nagioscomments.log" instead of the standard "status.dat" and "comments.dat." This release therefore allows Nagios Looking Glass to work happier with other extensions. *Upgrading from 1.0.3?* Please see the UPGRADING.txt file in the 1.0.4 distribution to see the changes you need to make to your server component's config file, s3_config.inc.php. Failure to make these changes will cause the poller to say Nagios isn't running even though it is. Thanks to Aaron Segura for reporting this bug. Regards Andy Shellam ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 11 18:55:41 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 11 Apr 2007 17:55:41 +0100 Subject: Nagios sents notifi immideatly after recieving syslog error In-Reply-To: <00c001c77c43$84689d10$7a0010ac@michiel> References: <00c001c77c43$84689d10$7a0010ac@michiel> Message-ID: <461D130D.8090103@mailnetwork.co.uk> At first glance I'd say you'd need to write your own notification handler that does this for you. It would be much easier to write, say, a shell script that takes the notification details as parameters to the script. That way your script can then do much greater filtering than Nagios alone does. Andy. chiel wrote: > Hello, > > On some of my network devices I have set up syslog to send there > results to Nagios trough passive checks. This works perfectly. > When syslog sents a error messages Nagios immideatly sents a > notification e-mail/sms. > > The thing is that when syslog sent for example 20 error messages from > one device within 5 secondes I also get 20 e-mail/sms notifications. > Is there a way that Nagios waits for (let say) 5 minutes, after the > first error hase been received, and than sents these 20 error messages > all in one notification? > > chiel > > > > > > !DSPAM:37,461cecf489294516711538! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > 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,461cecf489294516711538! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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,461cecf489294516711538! > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sganame at yahoo.com.ar Wed Apr 11 19:19:27 2007 From: sganame at yahoo.com.ar (Sebastian Ganame) Date: Wed, 11 Apr 2007 14:19:27 -0300 (ART) Subject: Any diagram of Nagios internal architecture? Message-ID: <347593.24233.qm@web32112.mail.mud.yahoo.com> Hi guys, As I told you yesterday, I'm starting to go deeper in Nagios architecture, in order to fully understand how it works. I've found a Nagios Event Broker document which I found very helpful for understanding the underneath behavior of the tool, and how you can "hook" from Nagios to get notifications. However, I was not able to found a high-level architectural diagram (or low-level as for example a class diagram). I've been browsing Nagios.org page and Nagios community wiki with no luck. Does any of you have any tips on how to get this kind of information (if available)? Best regards, Sebastian Ganame --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! -------------- 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 amontibello at gmail.com Wed Apr 11 19:43:29 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 11 Apr 2007 13:43:29 -0400 Subject: Any diagram of Nagios internal architecture? In-Reply-To: <347593.24233.qm@web32112.mail.mud.yahoo.com> References: <347593.24233.qm@web32112.mail.mud.yahoo.com> Message-ID: These are the twp that I have found and used in the past. http://www.nagioscommunity.org/wiki/index.php/Charts_%26_Diagrams Tony On 4/11/07, Sebastian Ganame wrote: > > Hi guys, > As I told you yesterday, I'm starting to go deeper in Nagios > architecture, in order to fully understand how it works. > I've found a Nagios Event Broker document which I found very helpful > for understanding the underneath behavior of the tool, and how you can > "hook" from Nagios to get notifications. > However, I was not able to found a high-level architectural diagram > (or low-level as for example a class diagram). I've been browsing > Nagios.org page and Nagios community wiki with no > luck. Does any of you have any tips on how to get this kind of information > (if available)? > Best regards, > > Sebastian Ganame > > ------------------------------ > *Pregunt?. Respond?. Descubr?.* > Todo lo que quer?as saber, y lo que ni imaginabas, > est? en *Yahoo! Respuestas* (Beta). > *Probalo ya! * > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sganame at yahoo.com.ar Wed Apr 11 19:59:07 2007 From: sganame at yahoo.com.ar (Sebastian Ganame) Date: Wed, 11 Apr 2007 14:59:07 -0300 (ART) Subject: Any diagram of Nagios internal architecture? Message-ID: <703878.26626.qm@web32104.mail.mud.yahoo.com> Hi Tony, Yes I have found myself there before, and those pictures helped a lot for understanding the flow that a notification goes thru on each event instance, and how configuration files are connected. However, I was looking for something more oriented to the developer, something like a class diagram or higher-level like how the NEB talks to the Nagios core engine, etc. Regards, Sebastian From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony Montibello Sent: Mi?rcoles, 11 de Abril de 2007 02:43 p.m. To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Any diagram of Nagios internal architecture? These are the twp that I have found and used in the past. http://www.nagioscommunity.org/wiki/index.php/Charts_%26_Diagrams Tony On 4/11/07, Sebastian Ganame wrote: Hi guys, As I told you yesterday, I'm starting to go deeper in Nagios architecture, in order to fully understand how it works. I've found a Nagios Event Broker document which I found very helpful for understanding the underneath behavior of the tool, and how you can "hook" from Nagios to get notifications. However, I was not able to found a high-level architectural diagram (or low-level as for example a class diagram). I've been browsing Nagios.org page and Nagios community wiki with no luck. Does any of you have any tips on how to get this kind of information (if available)? Best regards, Sebastian Ganame --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! -------------- 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 tstocking at groundworkopensource.com Wed Apr 11 20:44:59 2007 From: tstocking at groundworkopensource.com (Thomas Stocking) Date: Wed, 11 Apr 2007 11:44:59 -0700 Subject: Host/Service State Log Entries In-Reply-To: <0B5F692B776CFF4AB836841D36E92E9B02BF3808@edxmb7.jdnet.deere.com> References: <0B5F692B776CFF4AB836841D36E92E9B02BF3808@edxmb7.jdnet.deere.com> Message-ID: <461D2CAB.2080203@groundworkopensource.com> Well, the "log_initial_states" option has this description: "If you want Nagios to log all initial host and service states to the main log file (the first time the service or host is checked) you can enable this option" It then goes on to recommend against setting this option unless you are using an external application that does long-term state statistics reporting. What I have observed its effect to be is to write out a snapshot of the state of each host and service to the log file on restart of nagios. This would be useful in some situations, I suppose. I leave it off, for the same reasons you mention. Thomas Prigge Scott wrote: >>> I'm sure I answered this last week. This is expected and documented >>> behavior. See the CHANGELOG. It's desirable for the vast majority of >>> users and there's no option to disable it outside of editing source. >>> > If > >>> it's disabled, reporting will become less accurate. >>> > > >>> -- >>> Marc >>> > > I have been unable to open the previous thread, as my browser > continually times out. So please accept my apologies for forcing you to > post duplicate responses - but thank you for doing so. > > Is this the CHANGELOG entry you are referring to? > > 2.0b1 - 12/15/2004 > # Improved logging of initial host and service states > > And if that is the case, then can you explain to me what the > "log_initial_states" option does differently? I have been unable to > determine the impact changing this value. > > Thanks again for your post. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 tstocking at groundworkopensource.com Wed Apr 11 20:54:44 2007 From: tstocking at groundworkopensource.com (Thomas Stocking) Date: Wed, 11 Apr 2007 11:54:44 -0700 Subject: nagios menagemente In-Reply-To: <461BA535.2030307@mailnetwork.co.uk> References: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> <006c01c77b7b$4c4e9240$7a0010ac@michiel> <20070410144933.GG3122@dkirhlarov.mow.oilspace.com> <461BA535.2030307@mailnetwork.co.uk> Message-ID: <461D2EF4.8030803@groundworkopensource.com> The answer is most certainly yes. Monarch has a recently added (with version 2) a Groups feature, and the MonarchDeploy.pm module. You can use these features to manage distributed configurations. We do this often. The Groups allow you to override passive and acive state, so you can maintain a central nagios with all (or most) checks set passive, and the "child" nodes set active. There are many possible ways to transfer the files and restart the child nagios servers, so you can take your pick, but the MonarchDeploy.pm example uses scp to transfer the files, and ssh to launch the (compiled C) nagios restart command. Thomas Andy Shellam wrote: > Personally I maintain all my Nagios files by hand (but am planning on > looking at Monarch over the coming weeks.) > I would imagine that whatever configuration you can code into a Nagios > file by hand, Monarch will allow you to do it through your browser. > > From what I can tell, it only generates Nagios's configuration files > for you, so I would hazard a guess at yes :) > > Andy. > > Dmitriy Kirhlarov wrote: > >> On Tue, Apr 10, 2007 at 04:19:49PM +0200, chiel wrote: >> >> >>> Maybe Monarch? >>> http://monarch.sourceforge.net/ >>> >>> It uses a mysql database to store all you hosts/services etc and then >>> generates the .cfg for you. >>> >>> >> I have several location with dedicated nagios server for every >> location and central server for accumulation information. This server >> get data over nsca. >> Central server have host and server lists from all servers, but active >> checks are deactivate for them. >> Can "monarch" help me for maintaine this configuration? >> May be some other tool? >> >> WBR >> Dmitriy >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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,461ba42b89299759911437! >> >> >> >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 PriggeScottM at JohnDeere.com Wed Apr 11 21:08:09 2007 From: PriggeScottM at JohnDeere.com (Prigge Scott) Date: Wed, 11 Apr 2007 14:08:09 -0500 Subject: Host/Service State Log Entries In-Reply-To: <461D2CAB.2080203@groundworkopensource.com> References: <0B5F692B776CFF4AB836841D36E92E9B02BF3808@edxmb7.jdnet.deere.com> <461D2CAB.2080203@groundworkopensource.com> Message-ID: <0B5F692B776CFF4AB836841D36E92E9B04154B2F@edxmb7.jdnet.deere.com> It's not clear to me where you got your description from. This description is taken from the Main Configuration File Options page, and its pretty clear to me from that it is the option to control the behavior I'm referring to: ********************************* Initial States Logging Option Format: log_initial_states=<0/1> Example: log_initial_states=1 This variable determines whether or not Nagios will force all initial host and service states to be logged, even if they result in an OK state. Initial service and host states are normally only logged when there is a problem on the first check. Enabling this option is useful if you are using an application that scans the log file to determine long-term state statistics for services and hosts. * 0 = Don't log initial states (default) * 1 = Log initial states ********************************* It just doesn't seem to have any effect on my system. So the question I'm struggling with is whether this is a purposeful behavior as Marc describes? Is it a bug? Or is it some misconfiguration on my part? If the log_initial_states=0 option is set on your system and you are not seeing those log entries, then there is likely a misconfiguration on my system. But even if that's the case, it doesn't correlate with Marc's assertation that the inclusion of these entries is intentional and irreversable. If Marc's assertation is incorrect, then there must be some way to control the behavior - but what are the correct options? It obviously isn't entirely controlled by this option, otherwise I could control it. > Well, the "log_initial_states" option has this description: > "If you want Nagios to log all initial host and service > states to the main log file (the first time the service or > host is checked) you can enable this option" > It then goes on to recommend against setting this option > unless you are using an external application that does > long-term state statistics reporting. > > What I have observed its effect to be is to write out a > snapshot of the state of each host and service to the log > file on restart of nagios. > This would be useful in some situations, I suppose. I leave > it off, for the same reasons you mention. > Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Wed Apr 11 21:08:15 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Wed, 11 Apr 2007 15:08:15 -0400 Subject: Having issue with process-service-perfdata running too long Message-ID: <7F477BD26F545A4C8E4779754A38EFB3011468B2@PEPWMV00043.corp.pep.pvt> Hello. I'm running Nagios 2.9 with Nagiosgraph 0.8.2. This combination has worked well for us for a while now. I've found that recently the graphs (really the rrd files) have not been being updated. Looking further into the issue, I'm seeing the following in our nagios.log file: Warning: Service performance data file processing command '/usr/local/nagios/nagiosgraph/insert.pl' timed out after 5 seconds Now if I run nagiosgraph's insert.pl by hand it takes almost 5 minutes to complete, but it does run and does update all the rrd files. My perdata file has grown rather large: $ wc -l perfdata.log 817880 perfdata.log I see that my nagios.cfg file sets "perfdata_timeout=5" and that's probably where the timeout comes from. I also see that the process-service-perfdata command is set to run every 30 seconds. I like keeping the historical data, but I guess that would mean my perdata file would grow infinitely large. I don't see any option in nagios.cfg that controls how much data stays in the perfdata.log file (i.e. a retention interval for data contained therein). Maybe I missed it somewhere. So it's starting to seem like I should trim this file somehow myself, but I'm not sure how to go about that. What's odd is that Nagios did this processing for me fine up until yesterday. I have not added any new hosts since yesterday. I can't imagine that this ran anywhere near 5 seconds prior to yesterday but it still worked. My config file is the same. However, I did upgrade to Nagios 2.9 yesterday. How do others handle the size of this log file? Thanks Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Apr 11 21:12:21 2007 From: marc at ena.com (Marc Powell) Date: Wed, 11 Apr 2007 14:12:21 -0500 Subject: Any diagram of Nagios internal architecture? In-Reply-To: <703878.26626.qm@web32104.mail.mud.yahoo.com> References: <703878.26626.qm@web32104.mail.mud.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sebastian Ganame > Sent: Wednesday, April 11, 2007 12:59 PM > To: amontibello at gmail.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Any diagram of Nagios internal architecture? > > Hi Tony, > Yes I have found myself there before, and those pictures helped a lot > for understanding the flow that a notification goes thru on each event > instance, and how configuration files are connected. > However, I was looking for something more oriented to the developer, > something like a class diagram or higher-level like how the NEB talks to > the Nagios core engine, etc. You might have better luck with that over at nagios-devel. There's only really one principal developer so the resources you seek might not be available. -- 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 tstocking at groundworkopensource.com Wed Apr 11 21:20:14 2007 From: tstocking at groundworkopensource.com (Thomas Stocking) Date: Wed, 11 Apr 2007 12:20:14 -0700 Subject: Nagios sents notifi immideatly after recieving syslog error In-Reply-To: <461D130D.8090103@mailnetwork.co.uk> References: <00c001c77c43$84689d10$7a0010ac@michiel> <461D130D.8090103@mailnetwork.co.uk> Message-ID: <461D34EE.9070901@groundworkopensource.com> Well, yes...or do it at the plugin level. I mean, what about writing the syslog messages to a log file that you parse every 5 minutes? There are plugins like check_log3 that do this, and they can be set to filter for regex expressions. Another way would be to use syslog-ng to accept and filter the syslog messages, and post them to Nagios as passive checks via a program that does some consolidation/filtering for you. We have done this using the Foundation database in GroundWork - post the messages there, and then query periodically to find the conditions you want an alert for with a simple perl plugin. FYI GroundWork Foundation is now bundled into GroundWork Monitor Open Source 5.1. Thomas http://www.nagiosexchange.org/Solaris.50.0.html?&tx_netnagext_pi1[p_view]=423 http://www.balabit.com/products/syslog_ng/ http://gwfoundation.sourceforge.net/ http://www.groundworkopensource.com/downloads/full_download.html Andy Shellam wrote: > At first glance I'd say you'd need to write your own notification > handler that does this for you. > It would be much easier to write, say, a shell script that takes the > notification details as parameters to the script. > > That way your script can then do much greater filtering than Nagios > alone does. > > Andy. > > chiel wrote: > >> Hello, >> >> On some of my network devices I have set up syslog to send there >> results to Nagios trough passive checks. This works perfectly. >> When syslog sents a error messages Nagios immideatly sents a >> notification e-mail/sms. >> >> The thing is that when syslog sent for example 20 error messages from >> one device within 5 secondes I also get 20 e-mail/sms notifications. >> Is there a way that Nagios waits for (let say) 5 minutes, after the >> first error hase been received, and than sents these 20 error messages >> all in one notification? >> >> chiel >> >> >> >> >> >> !DSPAM:37,461cecf489294516711538! >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> 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,461cecf489294516711538! >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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,461cecf489294516711538! >> >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Janet.Post at excapsa.ca Wed Apr 11 22:12:05 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 11 Apr 2007 16:12:05 -0400 Subject: NDOUtils 1.4 Stability Message-ID: Hello Everyone, I would -really- like to use the NDOUtils for my nagios 2.8 install. But the big **DO NOT USE IN PRODUCTION ENVIRONMENT** warning is a little scary. Here are some questions for you all who are using it (and the developers): 1) is there any outward sign that the NDOMOD module has segfaulted? A logfile? 2) Can nagios monitor this itself? Or will a crash in NDOMOD cause nagios itself to die as well? (I was thinking of having nagios watch for the NDOMOD process, and if it wasn't there, restart everything...but if nagios goes down too, that obviously won't work) 3) Any ETA on when NDOUtils will be ready? Losing database support was one of the reasons I did not want to upgrade to nagios 2.x. Pointing the cold spare to a database with up-to-date status information is just easy! Seriously, I have seen a LOT of really rock solid "beta" programs out there -- I am hoping this one is one of them! :-) Janet ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Apr 11 22:20:37 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 11 Apr 2007 13:20:37 -0700 Subject: NDOUtils 1.4 Stability In-Reply-To: References: Message-ID: <20070411202037.GN27901@pmorris.usa.hp.com> On Wed, 11 Apr 2007, Janet Post wrote: > Hello Everyone, > > I would -really- like to use the NDOUtils for my nagios 2.8 install. > But the big **DO NOT USE IN PRODUCTION ENVIRONMENT** warning is a little > scary. > > Here are some questions for you all who are using it (and the > developers): > > 1) is there any outward sign that the NDOMOD module has segfaulted? A > logfile? > > 2) Can nagios monitor this itself? Or will a crash in NDOMOD cause > nagios itself to die as well? (I was thinking of having nagios watch > for the NDOMOD process, and if it wasn't there, restart everything...but > if nagios goes down too, that obviously won't work) > > 3) Any ETA on when NDOUtils will be ready? Losing database support was > one of the reasons I did not want to upgrade to nagios 2.x. Pointing > the cold spare to a database with up-to-date status information is just > easy! Nagios will keep running if ndmomod dies; it just won't log to a database any more. It's pretty easy to spot the insertion errors in Nagios's log if/when it happens, or by monitoring the process as you mentioned. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Wed Apr 11 22:19:58 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 11 Apr 2007 16:19:58 -0400 Subject: NDOUtils 1.4 Stability In-Reply-To: <20070411202037.GN27901@pmorris.usa.hp.com> References: <20070411202037.GN27901@pmorris.usa.hp.com> Message-ID: SHINY! Thanks Patick! I am going to start the install now. Janet. -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: April 11, 2007 4:21 PM To: Janet Post Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDOUtils 1.4 Stability On Wed, 11 Apr 2007, Janet Post wrote: > Hello Everyone, > > I would -really- like to use the NDOUtils for my nagios 2.8 install. > But the big **DO NOT USE IN PRODUCTION ENVIRONMENT** warning is a little > scary. > > Here are some questions for you all who are using it (and the > developers): > > 1) is there any outward sign that the NDOMOD module has segfaulted? A > logfile? > > 2) Can nagios monitor this itself? Or will a crash in NDOMOD cause > nagios itself to die as well? (I was thinking of having nagios watch > for the NDOMOD process, and if it wasn't there, restart everything...but > if nagios goes down too, that obviously won't work) > > 3) Any ETA on when NDOUtils will be ready? Losing database support was > one of the reasons I did not want to upgrade to nagios 2.x. Pointing > the cold spare to a database with up-to-date status information is just > easy! Nagios will keep running if ndmomod dies; it just won't log to a database any more. It's pretty easy to spot the insertion errors in Nagios's log if/when it happens, or by monitoring the process as you mentioned. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Wed Apr 11 22:25:33 2007 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 11 Apr 2007 21:25:33 +0100 Subject: NDOUtils 1.4 Stability In-Reply-To: <20070411202037.GN27901@pmorris.usa.hp.com> References: <20070411202037.GN27901@pmorris.usa.hp.com> Message-ID: <0B5F2193-54C6-4EF9-9DFF-F4F605F3174B@altinity.com> On 11 Apr 2007, at 21:20, Patrick Morris wrote: > On Wed, 11 Apr 2007, Janet Post wrote: > >> Hello Everyone, >> >> I would -really- like to use the NDOUtils for my nagios 2.8 install. >> But the big **DO NOT USE IN PRODUCTION ENVIRONMENT** warning is a >> little >> scary. >> >> Here are some questions for you all who are using it (and the >> developers): >> >> 1) is there any outward sign that the NDOMOD module has >> segfaulted? A >> logfile? >> >> 2) Can nagios monitor this itself? Or will a crash in NDOMOD cause >> nagios itself to die as well? (I was thinking of having nagios watch >> for the NDOMOD process, and if it wasn't there, restart >> everything...but >> if nagios goes down too, that obviously won't work) >> >> 3) Any ETA on when NDOUtils will be ready? Losing database >> support was >> one of the reasons I did not want to upgrade to nagios 2.x. Pointing >> the cold spare to a database with up-to-date status information is >> just >> easy! > > Nagios will keep running if ndmomod dies; it just won't log to a > database any more. It's pretty easy to spot the insertion errors in > Nagios's log if/when it happens, or by monitoring the process as you > mentioned. I don't think that is strictly true. Since ndomod is running in the same process space as Nagios, a problem with the broker module will cause the main nagios process to die too. However, a failure at ndo2db (that writes to the db) will not affect Nagios. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Wed Apr 11 22:45:12 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 11 Apr 2007 16:45:12 -0400 Subject: NDOUtils 1.4 Stability In-Reply-To: <0B5F2193-54C6-4EF9-9DFF-F4F605F3174B@altinity.com> References: <0B5F2193-54C6-4EF9-9DFF-F4F605F3174B@altinity.com> Message-ID: Ton, So ndomod will take the nagios process with it. That does not sound very comforting. I run a 24x7 monitoring environment complete with NOC team, and having our monitoring system just stop tends to annoy upper management. Does this happen very often? I'm not too worried about it if the system is mostly stable. What kind of uptimes have people had with this very handy tool? Janet -----Original Message----- From: Ton Voon [mailto:ton.voon at altinity.com] Sent: April 11, 2007 4:26 PM To: Patrick Morris Cc: Janet Post; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDOUtils 1.4 Stability On 11 Apr 2007, at 21:20, Patrick Morris wrote: > On Wed, 11 Apr 2007, Janet Post wrote: > >> Hello Everyone, >> >> I would -really- like to use the NDOUtils for my nagios 2.8 install. >> But the big **DO NOT USE IN PRODUCTION ENVIRONMENT** warning is a >> little >> scary. >> >> Here are some questions for you all who are using it (and the >> developers): >> >> 1) is there any outward sign that the NDOMOD module has >> segfaulted? A >> logfile? >> >> 2) Can nagios monitor this itself? Or will a crash in NDOMOD cause >> nagios itself to die as well? (I was thinking of having nagios watch >> for the NDOMOD process, and if it wasn't there, restart >> everything...but >> if nagios goes down too, that obviously won't work) >> >> 3) Any ETA on when NDOUtils will be ready? Losing database >> support was >> one of the reasons I did not want to upgrade to nagios 2.x. Pointing >> the cold spare to a database with up-to-date status information is >> just >> easy! > > Nagios will keep running if ndmomod dies; it just won't log to a > database any more. It's pretty easy to spot the insertion errors in > Nagios's log if/when it happens, or by monitoring the process as you > mentioned. I don't think that is strictly true. Since ndomod is running in the same process space as Nagios, a problem with the broker module will cause the main nagios process to die too. However, a failure at ndo2db (that writes to the db) will not affect Nagios. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tstocking at groundworkopensource.com Wed Apr 11 23:03:36 2007 From: tstocking at groundworkopensource.com (Thomas Stocking) Date: Wed, 11 Apr 2007 14:03:36 -0700 Subject: Host/Service State Log Entries In-Reply-To: <0B5F692B776CFF4AB836841D36E92E9B04154B2F@edxmb7.jdnet.deere.com> References: <0B5F692B776CFF4AB836841D36E92E9B02BF3808@edxmb7.jdnet.deere.com> <461D2CAB.2080203@groundworkopensource.com> <0B5F692B776CFF4AB836841D36E92E9B04154B2F@edxmb7.jdnet.deere.com> Message-ID: <461D4D28.6080309@groundworkopensource.com> Scott, Marc is right - this is neither a bug, nor a misconfiguration. It is purposeful behavior. It was added to Nagios by the developer as a fix for another issue with the reports. You can't control it without modification to the source code, unless both you and I and Marc are all missing something. I also see these log entries at log rotation, regardless of my log_initial_states setting. If I enable this option I *also* see these at, or just after, restart, and it balloons my log files in large systems, hence I refrain from setting it. I tolerate the entries at log rotation, though I admit that it would be nice to be able to turn these off :) Thomas Prigge Scott wrote: > It's not clear to me where you got your description from. This > description is taken from the Main Configuration File Options page, and > its pretty clear to me from that it is the option to control the > behavior I'm referring to: > ********************************* > Initial States Logging Option > > Format: log_initial_states=<0/1> > Example: log_initial_states=1 > > This variable determines whether or not Nagios will force all initial > host and service states to be logged, even if they result in an OK > state. Initial service and host states are normally only logged when > there is a problem on the first check. Enabling this option is useful if > you are using an application that scans the log file to determine > long-term state statistics for services and hosts. > > * 0 = Don't log initial states (default) > * 1 = Log initial states > ********************************* > > It just doesn't seem to have any effect on my system. So the question > I'm struggling with is whether this is a purposeful behavior as Marc > describes? Is it a bug? Or is it some misconfiguration on my part? If > the log_initial_states=0 option is set on your system and you are not > seeing those log entries, then there is likely a misconfiguration on my > system. But even if that's the case, it doesn't correlate with Marc's > assertation that the inclusion of these entries is intentional and > irreversable. If Marc's assertation is incorrect, then there must be > some way to control the behavior - but what are the correct options? It > obviously isn't entirely controlled by this option, otherwise I could > control it. > > >> Well, the "log_initial_states" option has this description: >> "If you want Nagios to log all initial host and service >> states to the main log file (the first time the service or >> host is checked) you can enable this option" >> It then goes on to recommend against setting this option >> unless you are using an external application that does >> long-term state statistics reporting. >> >> What I have observed its effect to be is to write out a >> snapshot of the state of each host and service to the log >> file on restart of nagios. >> This would be useful in some situations, I suppose. I leave >> it off, for the same reasons you mention. >> Thomas >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 PriggeScottM at JohnDeere.com Wed Apr 11 23:04:46 2007 From: PriggeScottM at JohnDeere.com (Prigge Scott) Date: Wed, 11 Apr 2007 16:04:46 -0500 Subject: Host/Service State Log Entries In-Reply-To: <461D4D28.6080309@groundworkopensource.com> References: <0B5F692B776CFF4AB836841D36E92E9B02BF3808@edxmb7.jdnet.deere.com> <461D2CAB.2080203@groundworkopensource.com> <0B5F692B776CFF4AB836841D36E92E9B04154B2F@edxmb7.jdnet.deere.com> <461D4D28.6080309@groundworkopensource.com> Message-ID: <0B5F692B776CFF4AB836841D36E92E9B0418CDE3@edxmb7.jdnet.deere.com> Ahh, I understand now. Thanks for the clarification and for your input. > -----Original Message----- > From: Thomas Stocking [mailto:tstocking at groundworkopensource.com] > Sent: Wednesday, April 11, 2007 4:04 PM > To: Prigge Scott > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Host/Service State Log Entries > > Scott, > Marc is right - this is neither a bug, nor a > misconfiguration. It is purposeful behavior. It was added to > Nagios by the developer as a fix for another issue with the > reports. You can't control it without modification to the > source code, unless both you and I and Marc are all missing something. > I also see these log entries at log rotation, regardless of > my log_initial_states setting. If I enable this option I > *also* see these at, or just after, restart, and it balloons > my log files in large systems, hence I refrain from setting > it. I tolerate the entries at log rotation, though I admit > that it would be nice to be able to turn these off :) Thomas > > Prigge Scott wrote: > > It's not clear to me where you got your description from. This > > description is taken from the Main Configuration File Options page, > > and its pretty clear to me from that it is the option to > control the > > behavior I'm referring to: > > ********************************* > > Initial States Logging Option > > > > Format: log_initial_states=<0/1> > > Example: log_initial_states=1 > > > > This variable determines whether or not Nagios will force > all initial > > host and service states to be logged, even if they result in an OK > > state. Initial service and host states are normally only > logged when > > there is a problem on the first check. Enabling this option > is useful > > if you are using an application that scans the log file to > determine > > long-term state statistics for services and hosts. > > > > * 0 = Don't log initial states (default) > > * 1 = Log initial states > > ********************************* > > > > It just doesn't seem to have any effect on my system. So > the question > > I'm struggling with is whether this is a purposeful > behavior as Marc > > describes? Is it a bug? Or is it some misconfiguration on > my part? If > > the log_initial_states=0 option is set on your system and > you are not > > seeing those log entries, then there is likely a > misconfiguration on > > my system. But even if that's the case, it doesn't correlate with > > Marc's assertation that the inclusion of these entries is > intentional > > and irreversable. If Marc's assertation is incorrect, then > there must > > be some way to control the behavior - but what are the correct > > options? It obviously isn't entirely controlled by this option, > > otherwise I could control it. > > > > > >> Well, the "log_initial_states" option has this description: > >> "If you want Nagios to log all initial host and service > states to the > >> main log file (the first time the service or host is > checked) you can > >> enable this option" > >> It then goes on to recommend against setting this option > unless you > >> are using an external application that does long-term state > >> statistics reporting. > >> > >> What I have observed its effect to be is to write out a > snapshot of > >> the state of each host and service to the log file on restart of > >> nagios. > >> This would be useful in some situations, I suppose. I > leave it off, > >> for the same reasons you mention. > >> Thomas > >> > > > > > ---------------------------------------------------------------------- > > --- Take Surveys. Earn Cash. Influence the Future of IT Join > > SourceForge.net's Techsay panel and you'll get the chance to share > > 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 From jason at nothingbeatsaduck.com Thu Apr 12 02:26:56 2007 From: jason at nothingbeatsaduck.com (Jason Rojas) Date: Wed, 11 Apr 2007 17:26:56 -0700 (PDT) Subject: nagios menagemente In-Reply-To: <461BA535.2030307@mailnetwork.co.uk> References: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> <006c01c77b7b$4c4e9240$7a0010ac@michiel> <20070410144933.GG3122@dkirhlarov.mow.oilspace.com> <461BA535.2030307@mailnetwork.co.uk> Message-ID: <22265.206.169.30.106.1176337616.squirrel@www.nothingbeatsaduck.com> An ex-coworker just brought this to my attention, looks promising: http://www.opsview.org/ > Personally I maintain all my Nagios files by hand (but am planning on > looking at Monarch over the coming weeks.) > I would imagine that whatever configuration you can code into a Nagios > file by hand, Monarch will allow you to do it through your browser. > > From what I can tell, it only generates Nagios's configuration files > for you, so I would hazard a guess at yes :) > > Andy. > > Dmitriy Kirhlarov wrote: >> On Tue, Apr 10, 2007 at 04:19:49PM +0200, chiel wrote: >> >>> Maybe Monarch? >>> http://monarch.sourceforge.net/ >>> >>> It uses a mysql database to store all you hosts/services etc and then >>> generates the .cfg for you. >>> >> >> I have several location with dedicated nagios server for every >> location and central server for accumulation information. This server >> get data over nsca. >> Central server have host and server lists from all servers, but active >> checks are deactivate for them. >> Can "monarch" help me for maintaine this configuration? >> May be some other tool? >> >> WBR >> Dmitriy >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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,461ba42b89299759911437! >> >> >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 dermoth at aei.ca Thu Apr 12 04:39:32 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 11 Apr 2007 22:39:32 -0400 Subject: nagios menagemente In-Reply-To: <22265.206.169.30.106.1176337616.squirrel@www.nothingbeatsaduck.com> References: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> <006c01c77b7b$4c4e9240$7a0010ac@michiel> <20070410144933.GG3122@dkirhlarov.mow.oilspace.com> <461BA535.2030307@mailnetwork.co.uk> <22265.206.169.30.106.1176337616.squirrel@www.nothingbeatsaduck.com> Message-ID: <461D9BE4.8070706@aei.ca> On 11/04/07 08:26 PM, Jason Rojas wrote: > An ex-coworker just brought this to my attention, looks promising: > > http://www.opsview.org/ Interesting. However it does not seems to be well documented. I'm particularly wondering what level of flexibility does it gives. I'd certainly benefit from this kind of SNMP Trap management, but I doubt it could be of any help for setting up hosts and services considering the way wrote my Nagios config (Highly based on templates in a way it is very easy to maintain). Is it possible for example to use it only for trap management? Anyone has experience migrating large distributed setups partly or completely to Opsview? Thanks, Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leandro at hipertek.net Thu Apr 12 05:22:17 2007 From: leandro at hipertek.net (Leandro Rache Sanchez) Date: Wed, 11 Apr 2007 22:22:17 -0500 (COT) Subject: NSCA - Distributed Configuracion Message-ID: <6156309.251176348137977.JavaMail.root@jupiter.hipertek.net> Hello Nagios Community, it is my first mail, maybe this topic was responsed by you before, but i find that the documentation available for to configure nagios-nsca is not enought for me, I have 2 pcs with Centos 4.4, nagios 2.8, nsca and plugins, I need to configure one distributed monitoring with nagios, but i dont have specific documentation about each step required by this request, please help me with each step ( for client and server), some thinks are no easy for understand for me, but i have many experience with linux, Best regards, Leandro Rache Sanchez Director de Tecnolog?a Hipertek Ltda 011 - 57 1 - 520 1644 011 - 57 1 - 213 1295 Bogota, Colombia -------------- 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 Thu Apr 12 07:47:19 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 12 Apr 2007 07:47:19 +0200 (CEST) Subject: NSCA - Distributed Configuracion In-Reply-To: <6156309.251176348137977.JavaMail.root@jupiter.hipertek.net> References: <6156309.251176348137977.JavaMail.root@jupiter.hipertek.net> Message-ID: On Wed, 11 Apr 2007, Leandro Rache Sanchez wrote: > Hello Nagios Community, it is my first mail, maybe this topic was responsed by you before, but i find that the documentation available for to configure nagios-nsca is not enought for me, I have 2 pcs with Centos 4.4, nagios 2.8, nsca and plugins, I need to configure one distributed monitoring with nagios, but i dont have specific documentation about each step required by this request, please help me with each step ( for client and server), some thinks are no easy for understand for me, but i have many experience with linux, Well. I am afraid that if the current documentation is not sufficient you should hire someone. I do not think anyone is offering this sort of extensive handholding for free. I advise you to read the manual cover to cover at least once. Then go ahead and set it up. If you run into specific issues you can ask specific issues. But if you require more than that you should hire someone to do the job. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radha.Gollapinni at igate.com Thu Apr 12 09:17:07 2007 From: Radha.Gollapinni at igate.com (Radha Gollapinni) Date: Thu, 12 Apr 2007 12:47:07 +0530 Subject: About integration of nagios with confluence wiki Message-ID: <8F21AD7B7B42F540A179BD35126305B3986056@IGTEBLREXC01.igatecorp.com> Hi I have already asked or posted my question to you. We are using confluence wiki for our document management system. We want to use your nagios for our Monitoring system, Is this nagios Can be integrated with confluence wiki or not??? If so how? We have to use Any external plugins for that. Please do reply for this in detail. Thanking you very much Regards, Radha Gollapinni ________________________________ radha.gollapinni at igate.com | www.iGate.com | ----------------------------------------------------------------DISCLAIMER--------------------------------------------------------- Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin at igate.com and delete this EMAIL including any attachments -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 5371 bytes Desc: image001.gif 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 daydreama at daydreama.de Thu Apr 12 10:19:16 2007 From: daydreama at daydreama.de (Thomas Kallenbach) Date: Thu, 12 Apr 2007 10:19:16 +0200 Subject: Nagios 2.x and NSCA - hostnotification Problem Message-ID: <1176365956.5053.7.camel@kallenbach.ip-partner.de> Hi List, this is my first time I write to a mailinglist. So please don't slap me if I write anything wrong or incomplete. :) My problem is, that I set up a distributed Monitoring with Nagios 2.x and NSCA. The service_checks worked well, but if a host goes down, the notification is sent out directly, after the central nagiosserver receivs the downmessage. So it don't change to a "SOFT"-state (like it should) but rather switches to HARD;DOWN ... The hostdefinition looks like that: define host{ host_name phobos alias phobos address 1.2.3.4 max_check_attempts 10 obsess_over_host 0 contact_groups tkext active_checks_enabled 0 passive_checks_enabled 1 check_period never obsess_over_host 0 check_command check-host-alive check_freshness 0 notification_interval 240 notification_period 24x7 notification_options d,u,r notifications_enabled 1 } In my opinion it should send a emay after 10 "nscamessages". Or not? Any ideas? Greets Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Thu Apr 12 12:20:35 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Thu, 12 Apr 2007 15:50:35 +0530 Subject: About integration of nagios with confluence wiki References: <8F21AD7B7B42F540A179BD35126305B3986056@IGTEBLREXC01.igatecorp.com> Message-ID: You can possibly use notes_url and action_url define serviceextinfo{ host_name host_name service_description service_description notes note_string notes_url url action_url url icon_image image_file icon_image_alt alt_string } Example Definition: define serviceextinfo{ host_name linux2 service_description Log Anomalies notes Security-related log anomalies on secondary Linux server notes_url http://webserver.localhost.localdomain/serviceinfo.pl?host=linux2&service=Log+Anomalies icon_image security.png icon_image_alt Security-Related Alerts } Regards, Narendran Neelamegam ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Radha Gollapinni Sent: Thu 12/04/2007 12:47 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] About integration of nagios with confluence wiki Hi I have already asked or posted my question to you. We are using confluence wiki for our document management system. We want to use your nagios for our Monitoring system, Is this nagios Can be integrated with confluence wiki or not??? If so how? We have to use Any external plugins for that. Please do reply for this in detail. Thanking you very much Regards, Radha Gollapinni ________________________________ radha.gollapinni at igate.com | www.iGate.com | ----------------------------------------------------------------DISCLAIMER--------------------------------------------------------- Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin at igate.com and delete this EMAIL including any attachments -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 5371 bytes Desc: image001.gif 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 chiel at gmx.net Thu Apr 12 13:07:22 2007 From: chiel at gmx.net (chiel) Date: Thu, 12 Apr 2007 13:07:22 +0200 Subject: Nagios sents notifi immideatly after recieving syslog error References: <00c001c77c43$84689d10$7a0010ac@michiel> <461D130D.8090103@mailnetwork.co.uk> <461D34EE.9070901@groundworkopensource.com> Message-ID: <005401c77cf2$bf279280$7d0010ac@michiel> Hi Thomas, Thanks for pointing met to check_log3, but i'm not sure if its what i'm looking for after I tested it. I didn't test the GroundWork yet because at this moment I only use Nagios. The thing that I am looking for is as follows, I want to get my Nagios notification e-mail as follows: ***** Nagios 2.8 ***** Notification Type: PROBLEM Host: NAGIOS State: DOWN Address: ***.***.***.*** Info: Syslog messages $DEVICENAME$ has reported the following syslog messages over the last 5 minutes: Emergencies: -emergencie message 1 -emergencie message 1 Alerts: -alert message 1 Critical: -etc... Date/Time: Mon Mar 19 13:21:07 CET 200 ..Or something like that. Group those messages together is also a posibility but I prefer the above methode. Is this posible with the Groundwork Foundation? or must I write some custom script? (don't hope so because I'm not that good of a programmer..maybe someone can help?) chiel ----- Original Message ----- From: "Thomas Stocking" To: Cc: "chiel" ; Sent: Wednesday, April 11, 2007 9:20 PM Subject: Re: [Nagios-users] Nagios sents notifi immideatly after recieving syslog error > Well, yes...or do it at the plugin level. > I mean, what about writing the syslog messages to a log file that you > parse every 5 minutes? There are plugins like check_log3 that do this, and > they can be set to filter for regex expressions. > Another way would be to use syslog-ng to accept and filter the syslog > messages, and post them to Nagios as passive checks via a program that > does some consolidation/filtering for you. > We have done this using the Foundation database in GroundWork - post the > messages there, and then query periodically to find the conditions you > want an alert for with a simple perl plugin. > FYI GroundWork Foundation is now bundled into GroundWork Monitor Open > Source 5.1. > Thomas > > http://www.nagiosexchange.org/Solaris.50.0.html?&tx_netnagext_pi1[p_view]=423 > http://www.balabit.com/products/syslog_ng/ > http://gwfoundation.sourceforge.net/ > http://www.groundworkopensource.com/downloads/full_download.html > > Andy Shellam wrote: >> At first glance I'd say you'd need to write your own notification handler >> that does this for you. >> It would be much easier to write, say, a shell script that takes the >> notification details as parameters to the script. >> >> That way your script can then do much greater filtering than Nagios alone >> does. >> >> Andy. >> >> chiel wrote: >> >>> Hello, >>> On some of my network devices I have set up syslog to send there >>> results to Nagios trough passive checks. This works perfectly. >>> When syslog sents a error messages Nagios immideatly sents a >>> notification e-mail/sms. >>> The thing is that when syslog sent for example 20 error messages from >>> one device within 5 secondes I also get 20 e-mail/sms notifications. >>> Is there a way that Nagios waits for (let say) 5 minutes, after the >>> first error hase been received, and than sents these 20 error messages >>> all in one notification? >>> chiel >>> !DSPAM:37,461cecf489294516711538! >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>> your >>> 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,461cecf489294516711538! >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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,461cecf489294516711538! >>> >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 ton.voon at altinity.com Thu Apr 12 13:57:26 2007 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 12 Apr 2007 12:57:26 +0100 Subject: nagios menagemente In-Reply-To: <461D9BE4.8070706@aei.ca> References: <53425.192.168.1.1.1176212796.squirrel@webmail2.fabaris.it> <006c01c77b7b$4c4e9240$7a0010ac@michiel> <20070410144933.GG3122@dkirhlarov.mow.oilspace.com> <461BA535.2030307@mailnetwork.co.uk> <22265.206.169.30.106.1176337616.squirrel@www.nothingbeatsaduck.com> <461D9BE4.8070706@aei.ca> Message-ID: <536B8D00-65FC-4F37-8EDF-D63AECEE434E@altinity.com> On 12 Apr 2007, at 03:39, Thomas Guyot-Sionnest wrote: > On 11/04/07 08:26 PM, Jason Rojas wrote: >> An ex-coworker just brought this to my attention, looks promising: >> >> http://www.opsview.org/ > > Interesting. However it does not seems to be well documented. I'm > particularly wondering what level of flexibility does it gives. > > I'd certainly benefit from this kind of SNMP Trap management, but I > doubt it could be of any help for setting up hosts and services > considering the way wrote my Nagios config (Highly based on > templates in > a way it is very easy to maintain). Is it possible for example to > use it > only for trap management? > > Anyone has experience migrating large distributed setups partly or > completely to Opsview? > Aahhh! The cat is out of the bag! We will be making a bigger announcement about Opsview shortly as we have a newer version waiting in the wings. But I will answer a few questions now: Q: Is it based on Nagios? A: Yes. Nagios is the world's most popular open source monitoring system, so it would be silly not to. We make a big (http:// altinity.com) deal (http://www.altinity.com/opensourcecommitment) about using Nagios (http://www.opsview.org/), and we continue to publish our changes upstream (http://www.altinity.org) Q: Can I manage Nagios config files using Opsview? A: Yup. We have our web frontend to add or clone hosts, services or contacts. We spend a lot of time making the front end as easy as possible. You don't touch the config files at all Q: Can I do distributed setups? A: Yup, as easy as a drop down selection for a host. Hit reload and we take care of sending all your configs to all the slaves. We even throw in freshness checking and parent child relationships for good measure Q: Do you have a Pro version? A: We only have one version: Opsview. We don't believe in splitting our codebase for marketing reasons - we just want to keep making our core code better. You can call it Pro if you want :) Q: How much does it cost? A: We licence Opsview under the GPL because we believe it is a fundamental right that you can change the code if you want. So the code is free. We make money on support (which you don't have to take) and development (so you can sponsor certain features). Q: So you're open sourcing it? A: That is our plan. We're starting with a publicly available VM, we'll be publishing RPMs and .deb files soon and we will be posting source code releases on Sourceforge. We're already put source code on SF, but they are hard to install or create RPMs. We're getting there. Q: Where can I start? A: I recommend getting the VM image from http:// downloads.opsview.org/ as we've sorted out a lot of the dependency issues. We will have a 2.7 image posted in the next few days, with packages soon after - we'll talk more about that when it is ready. Sign up to our mailing lists at http://opsview.org/mailinglists, and get ready for the announcements! Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Apr 12 14:02:04 2007 From: marc at ena.com (Marc Powell) Date: Thu, 12 Apr 2007 07:02:04 -0500 Subject: NSCA - Distributed Configuracion In-Reply-To: <6156309.251176348137977.JavaMail.root@jupiter.hipertek.net> References: <6156309.251176348137977.JavaMail.root@jupiter.hipertek.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Leandro Rache Sanchez > Sent: Thursday, April 12, 2007 5:22 AM > To: nagios-users > Subject: [Nagios-users] NSCA - Distributed Configuracion > > Hello Nagios Community, it is my first mail, maybe this topic > was responsed by you before, but i find that the > documentation available for to configure nagios-nsca is not > enought for me, I have 2 pcs with Centos 4.4, nagios 2.8, > nsca and plugins, I need to configure one distributed > monitoring with nagios, but i dont have specific > documentation about each step required by this request, > please help me with each step ( for client and server), some > thinks are no easy for understand for me, but i have many > experience with linux, Hi Leandro. The Nagios documentation goes into quite good detail on how to use NSCA in the Distributed Monitoring section. Was that not helpful? Instead of us re-telling that documentation in it's entirety, why don't you explain what you've done and what's not working for you to give us a starting point. -- 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 einar.indrida at gmail.com Thu Apr 12 15:31:10 2007 From: einar.indrida at gmail.com (Einar Indridason) Date: Thu, 12 Apr 2007 13:31:10 +0000 Subject: Having issue with process-service-perfdata running too long In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB3011468B2@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB3011468B2@PEPWMV00043.corp.pep.pvt> Message-ID: <32603e510704120631m5bdc7d15nfc842c2a2eeff594@mail.gmail.com> On 4/11/07, Frost, Mark {PBG} wrote: > > > Hello. I'm running Nagios 2.9 with Nagiosgraph 0.8.2. This combination > has worked well for us for a while now. > > My perdata file has grown rather large: > > $ wc -l perfdata.log > 817880 perfdata.log > > I like keeping the historical data, but I guess that would mean my > perdata file would grow infinitely large. I don't see any option in > nagios.cfg that controls how much data stays in the perfdata.log file > (i.e. a retention interval for data contained therein). Maybe I missed > it somewhere. > > So it's starting to seem like I should trim this file somehow myself, > but I'm not sure how to go about that. > > What's odd is that Nagios did this processing for me fine up until > yesterday. I have not added any new hosts since yesterday. I can't > imagine that this ran anywhere near 5 seconds prior to yesterday but it > still worked. My config file is the same. However, I did upgrade to > Nagios 2.9 yesterday. I have the same, or similar report. I was (and currently am) running Nagios 2.8, and the services-perf log file is created, added to, and eventually sent to a "process the perf data" (nagiosgraph 0.7 with some local add-ons). Then, I updated nagios to 2.9, and suddenly the perf-log file just got bigger, and bigger, and bigger, and bigger... and no services-performance processing was done, until the available diskspace (20MB all in all - stored on a ramdisk) was full, Nagios 2.9 then kept on running, but didn't have any meaningful informations available through the cgi's... (as the status.datfile is also stored on that ramdisk). Cheers, -- EinarI ps: my current perf settings (both for 2.8, which worked, and for 2.9, which didn't) are: perfdata_timeout=60 process_performance_data=1 host_perfdata_file=/usr/local/nagios/var/status.dir/host_perfdata.log service_perfdata_file=/usr/local/nagios/var/status.dir/service_perfdata.log host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$ service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ host_perfdata_file_mode=a service_perfdata_file_mode=a host_perfdata_file_processing_interval=0 service_perfdata_file_processing_interval=300 service_perfdata_file_processing_command=process-service-perfdata -------------- 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 mark.frost1 at pepsi.com Thu Apr 12 16:30:29 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 12 Apr 2007 10:30:29 -0400 Subject: Having issue with process-service-perfdata running too long In-Reply-To: <32603e510704120631m5bdc7d15nfc842c2a2eeff594@mail.gmail.com> References: <32603e510704120631m5bdc7d15nfc842c2a2eeff594@mail.gmail.com> Message-ID: <7F477BD26F545A4C8E4779754A38EFB301146F63@PEPWMV00043.corp.pep.pvt> I hadn't really had to pay attention to the perfdata file before. From looking at the contents of my perfdata file, it looks like it would normally be cleared or truncated or whatever Nagios does on its own perhaps daily. The old data in the file was only about 24 hours old. Looking at the file today, I see it's still growing. Now that someone else is reporting this problem after going to 2.9, I'm suspicious of a bug in 2.9. The only thing I saw in the changelog relating to this file was: * Fix for incorrect performance data file write/append mode options Perhaps there's a relationship. Mark ________________________________ From: Einar Indridason [mailto:einar.indrida at gmail.com] Sent: Thursday, April 12, 2007 9:31 AM To: Frost, Mark {PBG} Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Having issue with process-service-perfdata running too long On 4/11/07, Frost, Mark {PBG} wrote: Hello. I'm running Nagios 2.9 with Nagiosgraph 0.8.2. This combination has worked well for us for a while now. My perdata file has grown rather large: $ wc -l perfdata.log 817880 perfdata.log I like keeping the historical data, but I guess that would mean my perdata file would grow infinitely large. I don't see any option in nagios.cfg that controls how much data stays in the perfdata.log file (i.e. a retention interval for data contained therein). Maybe I missed it somewhere. So it's starting to seem like I should trim this file somehow myself, but I'm not sure how to go about that. What's odd is that Nagios did this processing for me fine up until yesterday. I have not added any new hosts since yesterday. I can't imagine that this ran anywhere near 5 seconds prior to yesterday but it still worked. My config file is the same. However, I did upgrade to Nagios 2.9 yesterday. I have the same, or similar report. I was (and currently am) running Nagios 2.8, and the services-perf log file is created, added to, and eventually sent to a "process the perf data" (nagiosgraph 0.7 with some local add-ons). Then, I updated nagios to 2.9, and suddenly the perf-log file just got bigger, and bigger, and bigger, and bigger... and no services-performance processing was done, until the available diskspace (20MB all in all - stored on a ramdisk) was full, Nagios 2.9 then kept on running, but didn't have any meaningful informations available through the cgi's... (as the status.dat file is also stored on that ramdisk). Cheers, -- EinarI ps: my current perf settings (both for 2.8, which worked, and for 2.9, which didn't) are: perfdata_timeout=60 process_performance_data=1 host_perfdata_file=/usr/local/nagios/var/status.dir/host_perfdata.log service_perfdata_file=/usr/local/nagios/var/status.dir/service_perfdata. log host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEX ECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$ service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ host_perfdata_file_mode=a service_perfdata_file_mode=a host_perfdata_file_processing_interval=0 service_perfdata_file_processing_interval=300 service_perfdata_file_processing_command=process-service-perfdata -------------- 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 tstocking at groundworkopensource.com Thu Apr 12 19:11:31 2007 From: tstocking at groundworkopensource.com (Thomas Stocking) Date: Thu, 12 Apr 2007 10:11:31 -0700 Subject: Nagios sents notifi immideatly after recieving syslog error In-Reply-To: <005401c77cf2$bf279280$7d0010ac@michiel> References: <00c001c77c43$84689d10$7a0010ac@michiel> <461D130D.8090103@mailnetwork.co.uk> <461D34EE.9070901@groundworkopensource.com> <005401c77cf2$bf279280$7d0010ac@michiel> Message-ID: <461E6843.3080803@groundworkopensource.com> Yes, You can do this with Foundation, but yes, you have to write the plugin to query it. Good news is there is a perl API. and examples to do that. As you stated your requirements here, I do not think you necessarily need to install Foundation to get the results you need, unless you are doing thousands of these checks. Log files will work fine. I don't know of any plugin offhand that does exactly what you need, here, so I suggest you hire some help if the plugins you can get for free don't quite do the job. If you do decide to use GroundWork, we do that kind of custom plugin development, and we put the results into our open source package, so everybody wins :) Thomas chiel wrote: > Hi Thomas, > > Thanks for pointing met to check_log3, but i'm not sure if its what i'm > looking for after I tested it. > I didn't test the GroundWork yet because at this moment I only use Nagios. > > The thing that I am looking for is as follows, I want to get my Nagios > notification e-mail as follows: > > > ***** Nagios 2.8 ***** > > Notification Type: PROBLEM > Host: NAGIOS > State: DOWN > Address: ***.***.***.*** > Info: Syslog messages > > $DEVICENAME$ has reported the following syslog messages over the last 5 > minutes: > > Emergencies: > -emergencie message 1 > -emergencie message 1 > > Alerts: > -alert message 1 > > Critical: > -etc... > > Date/Time: Mon Mar 19 13:21:07 CET 200 > > > ..Or something like that. > Group those messages together is also a posibility but I prefer the above > methode. > Is this posible with the Groundwork Foundation? or must I write some custom > script? (don't hope so because I'm not that good of a programmer..maybe > someone can help?) > > chiel > > ----- Original Message ----- > From: "Thomas Stocking" > To: > Cc: "chiel" ; > Sent: Wednesday, April 11, 2007 9:20 PM > Subject: Re: [Nagios-users] Nagios sents notifi immideatly after recieving > syslog error > > > >> Well, yes...or do it at the plugin level. >> I mean, what about writing the syslog messages to a log file that you >> parse every 5 minutes? There are plugins like check_log3 that do this, and >> they can be set to filter for regex expressions. >> Another way would be to use syslog-ng to accept and filter the syslog >> messages, and post them to Nagios as passive checks via a program that >> does some consolidation/filtering for you. >> We have done this using the Foundation database in GroundWork - post the >> messages there, and then query periodically to find the conditions you >> want an alert for with a simple perl plugin. >> FYI GroundWork Foundation is now bundled into GroundWork Monitor Open >> Source 5.1. >> Thomas >> >> http://www.nagiosexchange.org/Solaris.50.0.html?&tx_netnagext_pi1[p_view]=423 >> http://www.balabit.com/products/syslog_ng/ >> http://gwfoundation.sourceforge.net/ >> http://www.groundworkopensource.com/downloads/full_download.html >> >> Andy Shellam wrote: >> >>> At first glance I'd say you'd need to write your own notification handler >>> that does this for you. >>> It would be much easier to write, say, a shell script that takes the >>> notification details as parameters to the script. >>> >>> That way your script can then do much greater filtering than Nagios alone >>> does. >>> >>> Andy. >>> >>> chiel wrote: >>> >>> >>>> Hello, >>>> On some of my network devices I have set up syslog to send there >>>> results to Nagios trough passive checks. This works perfectly. >>>> When syslog sents a error messages Nagios immideatly sents a >>>> notification e-mail/sms. >>>> The thing is that when syslog sent for example 20 error messages from >>>> one device within 5 secondes I also get 20 e-mail/sms notifications. >>>> Is there a way that Nagios waits for (let say) 5 minutes, after the >>>> first error hase been received, and than sents these 20 error messages >>>> all in one notification? >>>> chiel >>>> !DSPAM:37,461cecf489294516711538! >>>> ------------------------------------------------------------------------ >>>> >>>> ------------------------------------------------------------------------- >>>> Take Surveys. Earn Cash. Influence the Future of IT >>>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>>> your >>>> 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,461cecf489294516711538! >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: 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,461cecf489294516711538! >>>> >>>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>> your >>> opinions on IT & business topics through brief surveys-and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 naim.abu.darwish at gmail.com Thu Apr 12 20:53:29 2007 From: naim.abu.darwish at gmail.com (naim abu darwish) Date: Thu, 12 Apr 2007 21:53:29 +0300 Subject: always online jabber client Message-ID: <3f8ec11c0704121153s1ab326b9t65f9a056bb3f6d5f@mail.gmail.com> hello, i setup some internal server for nagios notifications, the script provided with nagios signs in every time it need to notify and logs out again, like lights on a christmas tree. this makes it slower(maybe not), and really bugs us. anyone knows of some script to 'daemonize' the jabber client process ? so its always logged in. Any help 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 jim at jimavery.me.uk Thu Apr 12 22:30:14 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 12 Apr 2007 21:30:14 +0100 Subject: Does anyone use and love NDOUtils for availability reporting ? [SEC=UNCLASSIFIED] In-Reply-To: <18544FA17F881A4DBC2F41AC89E46BA9018F8EB7@acexp005.portfolio.base> References: <18544FA17F881A4DBC2F41AC89E46BA9018F8EB7@acexp005.portfolio.base> Message-ID: <765d77c80704121330l7863dcu10bc6174de8c4b83@mail.gmail.com> On 06/04/07, Stanley.Hopcroft at dest.gov.au wrote: > Dear Folks, > > Would anyone like to comment on the use of NDOUtils (Nagios 2.x or > later) for availability reporting ? > > I believe that NDOUtils inserts rows representing down times in an MySQL > table, making it much easier for DIY reporters to produce reports. > > I am currently using an event handler for adding outage records to a > table but I am not happy with this method. There's an excellent frontend called NagVis which uses NDOUtils for producing dashboards. See http://www.nagvis.org/doku.php Even if this isn't quite what you're after, it gives you an idea of some of the things that are possible and it's a darned excellent tool in its own right! Cheers, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Apr 12 22:48:58 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 12 Apr 2007 21:48:58 +0100 Subject: logos-statusmap In-Reply-To: <74145.72288.qm@web33013.mail.mud.yahoo.com> References: <74145.72288.qm@web33013.mail.mud.yahoo.com> Message-ID: <765d77c80704121348y7213fa43rd203d1be1ea72945@mail.gmail.com> On 10/04/07, Alicia Calvo wrote: > Hi, I work with Suse 10.1 and Nagios V2.8. I can't display the *.gd2 images > in my statusmap. > I do, for example: > pngtogd2 /usr/local/nagios/share/images/win40.png > /usr/local/nagios/share/images/logos/win40.gd2 1 1 > and it generate a nuw file .gd2 but whaen i want display it with 'File > Manager' the uniques files that can't display are .gd2 and statusmap cant't > display either. > > I compile nagios with-gd-lib=/usr/local/lib and > with-gd-inc=/usr/local/include. > In HostDetail and ServiceDetail, png, jpg and gif are ok. > > Do you notice that? you know any solution? > Thanks!!! and sorry for my english!!! > AC It has been a long time since I did this. To get the syntax, use the --help option like so: $ pngtogd2 --help Usage: pngtogd2 filename.png filename.gd2 cs fmt where cs is the chunk size fmt is 1 for raw, 2 for compressed So this tells you that the first argument is the chunk size. I just guessed and used 1024, so the syntax I used for the conversion was: $ pngtogd2 mypicture.png mypicture.gd2 1024 1 I hope this helps. Cheers, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From don.munyak at gmail.com Thu Apr 12 23:08:24 2007 From: don.munyak at gmail.com (Don Munyak) Date: Thu, 12 Apr 2007 17:08:24 -0400 Subject: nagios-plugins-1.4.7 -d:No such file or directory Message-ID: <6207f7d90704121408n20863cfagf9faa57594e10a0@mail.gmail.com> sorry for the cross-posting if your subscribe to the plug-ins list Can someone tell me why this is failing ? # # ./configure -C --prefix=/usr/local/etc/nagios --with-cgiurl=/nagios/cgi-bin --with-nagios-user=nagios --with-nagios-group=nagios # make # make install : : : Making install in plugins-root /usr/bin/install -c -o nagios -g nagios check_dhcp /usr/local/etc/nagios/libexec/check_dhcp chown root /usr/local/etc/nagios/libexec/check_dhcp chmod a=rx,u+s /usr/local/etc/nagios/libexec/check_dhcp /usr/bin/install -c -o nagios -g nagios check_icmp /usr/local/etc/nagios/libexec/check_icmp chown root /usr/local/etc/nagios/libexec/check_icmp chmod a=rx,u+s /usr/local/etc/nagios/libexec/check_icmp Making install in po -d /usr/local/etc/nagios/share -d:No such file or directory *** Error code 1 Stop in /tmp/nagios-plugins-1.4.7/po. *** Error code 1 Stop in /tmp/nagios-plugins-1.4.7. web# Thanks Don ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Apr 13 07:40:59 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 13 Apr 2007 07:40:59 +0200 (CEST) Subject: nagios-plugins-1.4.7 -d:No such file or directory In-Reply-To: <6207f7d90704121408n20863cfagf9faa57594e10a0@mail.gmail.com> References: <6207f7d90704121408n20863cfagf9faa57594e10a0@mail.gmail.com> Message-ID: On Thu, 12 Apr 2007, Don Munyak wrote: > Making install in po > -d /usr/local/etc/nagios/share > -d:No such file or directory My guess its that your flavor of mkdir does not like the -p option. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From horvathjozsef at gmail.com Fri Apr 13 09:31:29 2007 From: horvathjozsef at gmail.com (Jozsef Horvath) Date: Fri, 13 Apr 2007 08:31:29 +0100 Subject: nagios-plugins-1.4.7 -d:No such file or directory In-Reply-To: <6207f7d90704121408n20863cfagf9faa57594e10a0@mail.gmail.com> References: <6207f7d90704121408n20863cfagf9faa57594e10a0@mail.gmail.com> Message-ID: Hi, Have already met such error before and the solution was the following: edit /po/Makefile change MKINSTALLDIRS = @MKINSTALLDIRS to MKINSTALLDIRS = ../mkinstalldirs Hope it helps. Jozsef On 12/04/07, Don Munyak wrote: > sorry for the cross-posting if your subscribe to the plug-ins list > > Can someone tell me why this is failing ? > > # # ./configure -C --prefix=/usr/local/etc/nagios > --with-cgiurl=/nagios/cgi-bin --with-nagios-user=nagios > --with-nagios-group=nagios > > # make > # make install > : > : > : > Making install in plugins-root > /usr/bin/install -c -o nagios -g nagios check_dhcp > /usr/local/etc/nagios/libexec/check_dhcp > chown root /usr/local/etc/nagios/libexec/check_dhcp > chmod a=rx,u+s /usr/local/etc/nagios/libexec/check_dhcp > /usr/bin/install -c -o nagios -g nagios check_icmp > /usr/local/etc/nagios/libexec/check_icmp > chown root /usr/local/etc/nagios/libexec/check_icmp > chmod a=rx,u+s /usr/local/etc/nagios/libexec/check_icmp > Making install in po > -d /usr/local/etc/nagios/share > -d:No such file or directory > *** Error code 1 > > Stop in /tmp/nagios-plugins-1.4.7/po. > *** Error code 1 > > Stop in /tmp/nagios-plugins-1.4.7. > web# > > Thanks > Don > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 MarcJonkers at mgzl.nl Fri Apr 13 09:45:16 2007 From: MarcJonkers at mgzl.nl (Marc Jonkers) Date: Fri, 13 Apr 2007 09:45:16 +0200 Subject: Help! Debian and nagios not working Message-ID: Hi, I get the following message when I start Nagios with the -v switch: Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'root' and password 'XXXXXX'. Status data will not be saved! Thx, Marc -------------- 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 jim at jimavery.me.uk Fri Apr 13 10:05:05 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 13 Apr 2007 09:05:05 +0100 Subject: logos-statusmap In-Reply-To: <412592.18191.qm@web33015.mail.mud.yahoo.com> References: <765d77c80704121348y7213fa43rd203d1be1ea72945@mail.gmail.com> <412592.18191.qm@web33015.mail.mud.yahoo.com> Message-ID: <765d77c80704130105w6c6902e7o53bfe182f3974cb8@mail.gmail.com> On 12/04/07, Alicia Calvo wrote: > Thanks Jim, > I just do it but is the same effect, quadrate empty. > > Jim Avery escribi?: > On 10/04/07, Alicia Calvo wrote: > > Hi, I work with Suse 10.1 and Nagios V2.8. I can't display the *.gd2 > images > > in my statusmap. > > I do, for example: > > pngtogd2 /usr/local/nagios/share/images/win40.png > > /usr/local/nagios/share/images/logos/win40.gd2 1 1 > > and it generate a nuw file .gd2 but whaen i want display it with 'File > > Manager' the uniques files that can't display are .gd2 and statusmap > cant't > > display either. > > > > I compile nagios with-gd-lib=/usr/local/lib and > > with-gd-inc=/usr/local/include. > > In HostDetail and ServiceDetail, png, jpg and gif are ok. > > > > Do you notice that? you know any solution? > > Thanks!!! and sorry for my english!!! > > AC Forgive me if this is a silly question, but do you have the relevant extended host information in your configuration files? For example: define hostextinfo { host_name router120 icon_image router.gif statusmap_image router.gd2 } Also make sure you have configured the parent relationships in your host definitions. I don't use Suse myself. If it is any consolation, the Thunar file manager I use with XUbuntu does not display the .gd2 images either. Firefox will not display them, nor will the Gimp open them. They display ok in the Nagios statusmap though! It might be worth compiling again and keeping an eye out for any errors relating to the gd libraries. It might also be worth trying a different browser in case that is the problem. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Apr 13 14:30:14 2007 From: marc at ena.com (Marc Powell) Date: Fri, 13 Apr 2007 07:30:14 -0500 Subject: Help! Debian and nagios not working In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Marc Jonkers > Sent: Friday, April 13, 2007 9:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help! Debian and nagios not working > > Hi, > > I get the following message when I start Nagios with the -v switch: > > Error: Could not connect to MySQL database 'nagios' on host > 'localhost' using username 'root' and password 'XXXXXX'. > Status data will not be saved! Version of nagios? If 1.x, the documentation on how to configure database support is at http://nagios.sourceforge.net/docs/1_0/xdata-db.html. You should seriously consider starting with nagios2. nagios1 is very old and we're approaching the release of nagios3. The database configuration of nagios1 is no longer used in these modern releases. In any event it sounds like either mysql isn't running, the proper database/tables weren't created or you've supplied an incorrect username and password to access the database. -- 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 henrik at morsing.cc Fri Apr 13 15:11:31 2007 From: henrik at morsing.cc (Henrik Morsing) Date: Fri, 13 Apr 2007 14:11:31 +0100 Subject: Help! Debian and nagios not working In-Reply-To: References: Message-ID: <20070413131131.GE30802@morsing.cc> On Fri, Apr 13, 2007 at 09:45:16AM +0200, Marc Jonkers wrote: > Hi, > > I get the following message when I start Nagios with the -v switch: > > Error: Could not connect to MySQL database 'nagios' on host 'localhost' > using username 'root' and password 'XXXXXX'. Status data will not be > saved! Hi, I have had the same problem a few times. Un-install nagios-mysql and install nagios-text instead and it works. Regards, Henrik Morsing ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Fri Apr 13 16:55:21 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 13 Apr 2007 10:55:21 -0400 Subject: Having issue with process-service-perfdata running too long In-Reply-To: <32603e510704120631m5bdc7d15nfc842c2a2eeff594@mail.gmail.com> References: <32603e510704120631m5bdc7d15nfc842c2a2eeff594@mail.gmail.com> Message-ID: <7F477BD26F545A4C8E4779754A38EFB30117BCB8@PEPWMV00043.corp.pep.pvt> I received the following reponse from Thomas Guyot-Sionnest on the nagios-devel mailing list which explains the change a little better and suggests a change to the way the perfdata processing script runs. I implemented the changes he suggested to my insert.pl script and it cleans the file and runs quickly now. Mark There was a bug in 2.8 and earlier were perfdata_file_mode=a were writing and perfdata_file_mode=w were appending. change it to "w" and you'll get the old behavior. My understanding is that you never remove the file in your perfdata processing script so that in 2.8, when told to write, the file was truncated when Nagios was reopening it. The correct fix is to remove the file before returning back to nagios. For better performance I'd suggest something like this: open(PERFDATA, "<$perfdata_file") or die; if ((my $test=fork) == 0) { # Do something useful here close (PERFDATA); exit (0); } elsif ($test > 0) { # Fork forked, remove file and return unlink ($perfdata_file); close (PERFDATA); exit (0); } else { # Something went wrong! Don't remove the file, Nagios # will keep appending to it. close (PERFDATA); exit (1); } This will open the file, remove it and return immediately to nagios while the forked process will continue processing the file. Since the file is already opened when it is unlinked the new file won't interfere with the one opened by the forked process. Thomas ________________________________ From: Einar Indridason [mailto:einar.indrida at gmail.com] Sent: Thursday, April 12, 2007 9:31 AM To: Frost, Mark {PBG} Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Having issue with process-service-perfdata running too long On 4/11/07, Frost, Mark {PBG} wrote: Hello. I'm running Nagios 2.9 with Nagiosgraph 0.8.2. This combination has worked well for us for a while now. My perdata file has grown rather large: $ wc -l perfdata.log 817880 perfdata.log I like keeping the historical data, but I guess that would mean my perdata file would grow infinitely large. I don't see any option in nagios.cfg that controls how much data stays in the perfdata.log file (i.e. a retention interval for data contained therein). Maybe I missed it somewhere. So it's starting to seem like I should trim this file somehow myself, but I'm not sure how to go about that. What's odd is that Nagios did this processing for me fine up until yesterday. I have not added any new hosts since yesterday. I can't imagine that this ran anywhere near 5 seconds prior to yesterday but it still worked. My config file is the same. However, I did upgrade to Nagios 2.9 yesterday. I have the same, or similar report. I was (and currently am) running Nagios 2.8, and the services-perf log file is created, added to, and eventually sent to a "process the perf data" (nagiosgraph 0.7 with some local add-ons). Then, I updated nagios to 2.9, and suddenly the perf-log file just got bigger, and bigger, and bigger, and bigger... and no services-performance processing was done, until the available diskspace (20MB all in all - stored on a ramdisk) was full, Nagios 2.9 then kept on running, but didn't have any meaningful informations available through the cgi's... (as the status.dat file is also stored on that ramdisk). Cheers, -- EinarI ps: my current perf settings (both for 2.8, which worked, and for 2.9, which didn't) are: perfdata_timeout=60 process_performance_data=1 host_perfdata_file=/usr/local/nagios/var/status.dir/host_perfdata.log service_perfdata_file=/usr/local/nagios/var/status.dir/service_perfdata. log host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEX ECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$ service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ host_perfdata_file_mode=a service_perfdata_file_mode=a host_perfdata_file_processing_interval=0 service_perfdata_file_processing_interval=300 service_perfdata_file_processing_command=process-service-perfdata -------------- 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 joe.fortier at simondelivers.com Fri Apr 13 18:00:12 2007 From: joe.fortier at simondelivers.com (Josef Fortier) Date: Fri, 13 Apr 2007 11:00:12 -0500 Subject: Continuation Character Message-ID: <20070413160012.GC14335@simondelivers.com> Hi all: I glanced at the linux.com article http://enterprise.linux.com/enterprise/07/03/29/1811249.shtml?tid=129 And saw a command definition with backslash line continuation characters for formatting. To the best of my knowledge this is not supported, but I wish it was. I like vertically formatted files, much easier to double-check and alter. I looked through the docs, and tried to use a backslash, to no avail. Is this possible in some way? Is it on the wishlist? Joe ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fssilva at gmail.com Fri Apr 13 18:14:48 2007 From: fssilva at gmail.com (Fabio Silva) Date: Fri, 13 Apr 2007 13:14:48 -0300 Subject: Reports Message-ID: Hi list, i have a question about if it's possible to schedule the nagios to export some reports, like.. every week or.. every day...??? Or have some plugin to do it? Regards, -- Fabio S. 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 Janet.Post at excapsa.ca Fri Apr 13 18:19:18 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Fri, 13 Apr 2007 12:19:18 -0400 Subject: NDOUtils 1.4 Stability In-Reply-To: References: Message-ID: Hello All, I have installed NDOUtils (1.4b2). I am using nagios 2.8 on a RedHat EL 4. I have connected ndomod and ndo2db-2x via socket, and everything -seems- fine. There are no errors in the logfiles, and, in the database, I get nagios_conninfo entries for the connection...but nothing else. I used socketdebug to see what information was being sent over the socket, and this is the output: ----------------------------------------------- server:/usr/local/nagios/var$ sudo -u nagios ../bin/sockdebug ./ndo.sock HELLO PROTOCOL: 2 AGENT: NDOMOD AGENTVERSION: 1.4b2 STARTTIME: 1176480042 DISPOSITION: REALTIME CONNECTION: UNIXSOCKET CONNECTTYPE: INITIAL INSTANCENAME: default STARTDATADUMP ----------------------------------------------- And that's it. No more information is ever communicated over the socket. NDOMOD gives no error messages, no log entries are made, nothing. I have no idea what is happening at this point. Nagios continues to write status information to the regular files on the drive as if ndomod were not running. If anyone could give me a hand with this, I would appreciate it greatly. Thanks. Janet Some relevant configurations: (if you need anymore, let me know) Nagios.cfg: ---------------------------------------- # Config parameter for ndoutils: broker_module=/usr/local/nagios/bin/ndomod-2x.o config_file=/usr/local/nagios/etc/ndomod.cfg ---------------------------------------- Ndomod.cfg: ------------------------ instance_name=default output_type=unixsocket output=/usr/local/nagios/var/ndo.sock tcp_port=5668 output_buffer_items=5000 buffer_file=/usr/local/nagios/var/ndomodbuffer.tmp file_rotation_interval=14400 #file_rotation_command=rotate_ndo_log file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=3 ---------------------------------------------- -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Janet Post Sent: April 11, 2007 4:45 PM To: Ton Voon Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDOUtils 1.4 Stability Ton, So ndomod will take the nagios process with it. That does not sound very comforting. I run a 24x7 monitoring environment complete with NOC team, and having our monitoring system just stop tends to annoy upper management. Does this happen very often? I'm not too worried about it if the system is mostly stable. What kind of uptimes have people had with this very handy tool? Janet -----Original Message----- From: Ton Voon [mailto:ton.voon at altinity.com] Sent: April 11, 2007 4:26 PM To: Patrick Morris Cc: Janet Post; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDOUtils 1.4 Stability On 11 Apr 2007, at 21:20, Patrick Morris wrote: > On Wed, 11 Apr 2007, Janet Post wrote: > >> Hello Everyone, >> >> I would -really- like to use the NDOUtils for my nagios 2.8 install. >> But the big **DO NOT USE IN PRODUCTION ENVIRONMENT** warning is a >> little >> scary. >> >> Here are some questions for you all who are using it (and the >> developers): >> >> 1) is there any outward sign that the NDOMOD module has >> segfaulted? A >> logfile? >> >> 2) Can nagios monitor this itself? Or will a crash in NDOMOD cause >> nagios itself to die as well? (I was thinking of having nagios watch >> for the NDOMOD process, and if it wasn't there, restart >> everything...but >> if nagios goes down too, that obviously won't work) >> >> 3) Any ETA on when NDOUtils will be ready? Losing database >> support was >> one of the reasons I did not want to upgrade to nagios 2.x. Pointing >> the cold spare to a database with up-to-date status information is >> just >> easy! > > Nagios will keep running if ndmomod dies; it just won't log to a > database any more. It's pretty easy to spot the insertion errors in > Nagios's log if/when it happens, or by monitoring the process as you > mentioned. I don't think that is strictly true. Since ndomod is running in the same process space as Nagios, a problem with the broker module will cause the main nagios process to die too. However, a failure at ndo2db (that writes to the db) will not affect Nagios. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share 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 -------------- 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 Fri Apr 13 18:47:15 2007 From: marc at ena.com (Marc Powell) Date: Fri, 13 Apr 2007 11:47:15 -0500 Subject: Reports In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Fabio Silva > Sent: Friday, April 13, 2007 11:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Reports > > Hi list, i have a question about if it's possible to schedule the nagios > to export some reports, like.. every week or.. every day...??? > I don't use it myself but I've seen this referenced several times -- http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_vi ew]=636 -- 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 Gerhard.Lausser at consol.de Fri Apr 13 19:01:51 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Fri, 13 Apr 2007 19:01:51 +0200 Subject: Plugin for HP Proliant Hardware Health Monitoring Message-ID: <012b01c77ded$6e9e2e90$0202fea9@int.consol.de> Hi, i make a plugin, which checks the state of CPUs, fans, power supplies, fans and memory modules of HP Proliant servers with the hpasm software installed. Maybe it is useful for some of you. http://www.consol.com/opensource/nagios/check-hpasm Greetings from Munich, Gerhard ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Fri Apr 13 20:41:50 2007 From: weinerm at ccf.org (Weiner, Michael) Date: Fri, 13 Apr 2007 14:41:50 -0400 Subject: perfdata Message-ID: Using Nagios 2.8 and I am not sure what I am doing wrong. Been trying to squeeze out some perfdata in order to test nagiosgraph and I get Nagios to create the file, but it remains empty no matter what occurs. Here are the relevant portions of my nagios.cfg for clarification: nagios.cfg: perfdata_timeout=5 process_performance_data=1 #service_perfdata_command=process-service-perfdata service_perfdata_file=/var/spool/nagios/perfdata.log service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a <-- had this set to w based on a previous email, but that didn't seem to do anything service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata checkcommands.cfg: define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/share/nagios/nagiosgraph/insert.pl } I just can NOT seem to get anything written to the perfdata.log file although nagios DOES create it upon (re)start. Any thoughts? Michael Weiner | Lead Analyst | Lerner Research Institute Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) 445-6454 Cleveland Clinic is ranked one of the top 3 hospitals in America by U.S.News & World Report. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank 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 mark.frost1 at pepsi.com Fri Apr 13 20:48:04 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 13 Apr 2007 14:48:04 -0400 Subject: perfdata In-Reply-To: References: Message-ID: <7F477BD26F545A4C8E4779754A38EFB3011ABA83@PEPWMV00043.corp.pep.pvt> Michael, I assume you've checked and made sure that no *.rrd files are being generated? Perhaps it is running, but emptying that file out so quickly that you never catch it when it has data in it? I found that was happening to me at one point, but I could see that I was getting new/updated *.rrd files in my rrd directory for nagiosgraph. You could also try running "watch" (if it's available on your platform) to monitor the contents of the perfdata.log file to see if anything ever really does go in there ("watch -d cat perfdata.log"). Also, it's not going to hurt, but you don't really need to say "/usr/bin/perl /usr/share/nagios/nagiosgraph/insert.pl" as long as insert.pl is executable and has "#!/usr/bin/perl" as the first line. Mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Weiner, Michael Sent: Friday, April 13, 2007 2:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] perfdata Using Nagios 2.8 and I am not sure what I am doing wrong. Been trying to squeeze out some perfdata in order to test nagiosgraph and I get Nagios to create the file, but it remains empty no matter what occurs. Here are the relevant portions of my nagios.cfg for clarification: nagios.cfg: perfdata_timeout=5 process_performance_data=1 #service_perfdata_command=process-service-perfdata service_perfdata_file=/var/spool/nagios/perfdata.log service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a <-- had this set to w based on a previous email, but that didn't seem to do anything service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata checkcommands.cfg: define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/share/nagios/nagiosgraph/insert.pl } I just can NOT seem to get anything written to the perfdata.log file although nagios DOES create it upon (re)start. Any thoughts? Michael Weiner | Lead Analyst | Lerner Research Institute Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) 445-6454 Cleveland Clinic is ranked one of the top 3 hospitals in America by U.S.News & World Report. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank 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=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 mluser at rbmail.ch Fri Apr 13 20:50:06 2007 From: mluser at rbmail.ch (Andre Keller) Date: Fri, 13 Apr 2007 20:50:06 +0200 Subject: Notify By SMS Problem Message-ID: <461FD0DE.6040408@rbmail.ch> Hi Guys I've got some problems to get my notification by sms working... I'm using nagios 2.9 and smsclient 2.0.8z when i execute the following command as user nagios (which the server runs under) the sms is being sent /usr/bin/printf "%.150s" "$NOTIFICATIONTYPE$ $HOSTNAME$[$HOSTADDRESS$]/$SERVICESTATE$ /$SHORTDATETIME$/ $SERVICEOUTPUT$" | /usr/bin/sms_client *snip*myphone*snap* the logfile (smbclient) entry for this command is Apr 13 20:32:34 [1363] : Dialing SMSC 0794998990... Apr 13 20:32:39 [1363] WARNING: read() Timeout Apr 13 20:33:07 [1363] : Connection Established. Apr 13 20:33:08 [1363] : SMSC Respsonse: 01/00042/R/01/A/*snip*myphone*snap*:130407203306/10 Apr 13 20:33:08 [1363] : Message accepted Apr 13 20:33:08 [1363] : Hangup... Apr 13 20:33:11 [1363] : swisscom Service Time: 37 Seconds Apr 13 20:33:11 [1363] : [000] swisscom:*snip*myphone*snap* "" Apr 13 20:33:11 [1362] : Total Elapsed Time: 37 Seconds So i added the command to my configs define command{ command_name notify-by-sms command_line /usr/bin/printf "%.150s" "$NOTIFICATIONTYPE$ $HOSTNAME$[$HOSTADDRESS$]/$SERVICESTATE$ /$SHORTDATETIME$/ $SERVICEOUTPUT$" | /usr/bin/sms_client *snip*myphone*snap* } than i've shutdown a service so that a service check raises a notification... In the nagios web interface notification the notification shows up: Host Service Type Time Contact Notification Command Information server01 Network PHPMyAdmin CRITICAL 2007-04-13 19:32:58 nagios notify-by-sms Connection refused When i now check the log file only the following lines shows up Apr 13 20:42:59 [1788] : Dialing SMSC 0794998990... Apr 13 20:43:04 [1788] WARNING: read() Timeout the modems is doing something and then unexpectedly disconnects... If I send an sms with user nagios (sms_client number "hello") after this all work absolutly normal... has anyone an idea whats causing this problem??? thank you andre PS: please excuse my english... i'm swiss ;) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marco at praxell.com Sat Apr 14 00:40:38 2007 From: Marco at praxell.com (Marco Supino) Date: Sat, 14 Apr 2007 01:40:38 +0300 Subject: Notify By SMS Problem References: <461FD0DE.6040408@rbmail.ch> Message-ID: <45B7271392D7634ABA08F4429B57F1B13A2093@praxexil2> This is from the smsclient FAQ Question I can't get smsclient to run from inside a script. (eg. netsaint) Answer by default SMSClient uses stdout to display some information (dialing...). Some apllications (eg. netsaint) don't want to know what a script returns, and SMSClient sends it output into the great wide open... This results in a Broken Pipe . You should call smsclient without output, smsclient -q . Hope it helps. Marco. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andre Keller Sent: Friday, April 13, 2007 21:50 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notify By SMS Problem Hi Guys I've got some problems to get my notification by sms working... I'm using nagios 2.9 and smsclient 2.0.8z when i execute the following command as user nagios (which the server runs under) the sms is being sent /usr/bin/printf "%.150s" "$NOTIFICATIONTYPE$ $HOSTNAME$[$HOSTADDRESS$]/$SERVICESTATE$ /$SHORTDATETIME$/ $SERVICEOUTPUT$" | /usr/bin/sms_client *snip*myphone*snap* the logfile (smbclient) entry for this command is Apr 13 20:32:34 [1363] : Dialing SMSC 0794998990... Apr 13 20:32:39 [1363] WARNING: read() Timeout Apr 13 20:33:07 [1363] : Connection Established. Apr 13 20:33:08 [1363] : SMSC Respsonse: 01/00042/R/01/A/*snip*myphone*snap*:130407203306/10 Apr 13 20:33:08 [1363] : Message accepted Apr 13 20:33:08 [1363] : Hangup... Apr 13 20:33:11 [1363] : swisscom Service Time: 37 Seconds Apr 13 20:33:11 [1363] : [000] swisscom:*snip*myphone*snap* "" Apr 13 20:33:11 [1362] : Total Elapsed Time: 37 Seconds So i added the command to my configs define command{ command_name notify-by-sms command_line /usr/bin/printf "%.150s" "$NOTIFICATIONTYPE$ $HOSTNAME$[$HOSTADDRESS$]/$SERVICESTATE$ /$SHORTDATETIME$/ $SERVICEOUTPUT$" | /usr/bin/sms_client *snip*myphone*snap* } than i've shutdown a service so that a service check raises a notification... In the nagios web interface notification the notification shows up: Host Service Type Time Contact Notification Command Information server01 Network PHPMyAdmin CRITICAL 2007-04-13 19:32:58 nagios notify-by-sms Connection refused When i now check the log file only the following lines shows up Apr 13 20:42:59 [1788] : Dialing SMSC 0794998990... Apr 13 20:43:04 [1788] WARNING: read() Timeout the modems is doing something and then unexpectedly disconnects... If I send an sms with user nagios (sms_client number "hello") after this all work absolutly normal... has anyone an idea whats causing this problem??? thank you andre PS: please excuse my english... i'm swiss ;) ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share 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 jpratt at norwich.edu Sat Apr 14 13:19:21 2007 From: jpratt at norwich.edu (James E. Pratt) Date: Sat, 14 Apr 2007 07:19:21 -0400 Subject: Plugin for HP Proliant Hardware Health Monitoring Message-ID: <06D8FC34F6A06B45A27B3BC804D0A89E3869CD@XMAIL.norwich.edu> Would love to check this out - anyone able to download it? I keep getting "Page cannot be displayed" on the download link, and can't get email to Gerhard either, as it keeps timing out/deferring on his mail server... :( Regards, jamie -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gerhard Lausser Sent: Friday, April 13, 2007 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring Hi, i make a plugin, which checks the state of CPUs, fans, power supplies, fans and memory modules of HP Proliant servers with the hpasm software installed. Maybe it is useful for some of you. http://www.consol.com/opensource/nagios/check-hpasm Greetings from Munich, Gerhard ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mluser at rbmail.ch Sat Apr 14 13:23:19 2007 From: mluser at rbmail.ch (Andre Keller) Date: Sat, 14 Apr 2007 13:23:19 +0200 Subject: Notify By SMS Problem In-Reply-To: <45B7271392D7634ABA08F4429B57F1B13A2093@praxexil2> References: <461FD0DE.6040408@rbmail.ch> <45B7271392D7634ABA08F4429B57F1B13A2093@praxexil2> Message-ID: <4620B9A7.5000100@rbmail.ch> Marco Supino wrote: > This is from the smsclient FAQ > > Question I can't get smsclient to run from inside a script. (eg. > netsaint) > Answer > by default SMSClient uses stdout to display some information > (dialing...). Some apllications (eg. netsaint) don't want to know what a > script returns, and SMSClient sends it output into the great wide > open... This results in a Broken Pipe . You should call smsclient > without output, smsclient -q . > Hi marco thank you for this hint! i added the option -q to my command but the problem still exists... anyone another idea? Could it be some kind of a timeout (nagios stop the process before the connection to the smsc is established) problem? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mluser at rbmail.ch Sat Apr 14 16:02:11 2007 From: mluser at rbmail.ch (Andre Keller) Date: Sat, 14 Apr 2007 16:02:11 +0200 Subject: Notify By SMS Problem In-Reply-To: <4620B9A7.5000100@rbmail.ch> References: <461FD0DE.6040408@rbmail.ch> <45B7271392D7634ABA08F4429B57F1B13A2093@praxexil2> <4620B9A7.5000100@rbmail.ch> Message-ID: <4620DEE3.6080007@rbmail.ch> > > Could it be some kind of a timeout (nagios stop the process before the > connection to the smsc is established) problem? > i've overseen some option in my config notification timeout = 30 i thought the default value was 60... have they changed that? After changing the value to 60 the sms notify worked as expected! ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marco at praxell.com Sat Apr 14 16:43:34 2007 From: Marco at praxell.com (Marco Supino) Date: Sat, 14 Apr 2007 17:43:34 +0300 Subject: Notify By SMS Problem References: <461FD0DE.6040408@rbmail.ch> <45B7271392D7634ABA08F4429B57F1B13A2093@praxexil2><4620B9A7.5000100@rbmail.ch> <4620DEE3.6080007@rbmail.ch> Message-ID: <45B7271392D7634ABA08F4429B57F1B13A2097@praxexil2> Great. Marco. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andre Keller Sent: Saturday, April 14, 2007 17:02 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notify By SMS Problem > > Could it be some kind of a timeout (nagios stop the process before the > connection to the smsc is established) problem? > i've overseen some option in my config notification timeout = 30 i thought the default value was 60... have they changed that? After changing the value to 60 the sms notify worked as expected! ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 14 17:56:41 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 14 Apr 2007 11:56:41 -0400 Subject: perfdata In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB3011ABA83@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB3011ABA83@PEPWMV00043.corp.pep.pvt> Message-ID: hi all, in responce to Mark's comment of: Also, it's not going to hurt, but you don't really need to say "/usr/bin/perl /usr/share/nagios/nagiosgraph/insert.pl" as long as insert.pl is executable and has "#!/usr/bin/perl" as the first line. Acctually it may hurt. There was a thread in the Nagiosplugin Help mailing list this week that discussed this. if the insert.pl is called without the /usr/bin/perl and Embedded Perl is enabled then the Embedded perl will run the script despite the #! on the first line of the script. This may cause the script to not work. likewise with the /usr/bin/perl in the command then it will always use the External Perl. If Embedded Perl was not compiled into the Nagios install, then what you say would be completly true. Tony On 4/13/07, Frost, Mark {PBG} wrote: > > Michael, > > I assume you've checked and made sure that no *.rrd files are being > generated? Perhaps it is running, but emptying that file out so quickly > that you never catch it when it has data in it? > > I found that was happening to me at one point, but I could see that I > was getting new/updated *.rrd files in my rrd directory for nagiosgraph. > You could also try running "watch" (if it's available on your platform) > to monitor the contents of the perfdata.log file to see if anything ever > really does go in there ("watch -d cat perfdata.log"). > > Also, it's not going to hurt, but you don't really need to say > "/usr/bin/perl /usr/share/nagios/nagiosgraph/insert.pl" as long as > insert.pl is executable and has "#!/usr/bin/perl" as the first line. > > Mark > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Weiner, > Michael > Sent: Friday, April 13, 2007 2:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] perfdata > > Using Nagios 2.8 and I am not sure what I am doing wrong. Been trying to > squeeze out some perfdata in order to test nagiosgraph and I get Nagios > to create the file, but it remains empty no matter what occurs. Here are > the relevant portions of my nagios.cfg for clarification: > > nagios.cfg: > perfdata_timeout=5 > process_performance_data=1 > #service_perfdata_command=process-service-perfdata > service_perfdata_file=/var/spool/nagios/perfdata.log > service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED > ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ > service_perfdata_file_mode=a <-- had this set to w based on a previous > email, but that didn't seem to do anything > service_perfdata_file_processing_interval=30 > service_perfdata_file_processing_command=process-service-perfdata > > checkcommands.cfg: > define command{ > command_name process-service-perfdata > command_line /usr/bin/perl > /usr/share/nagios/nagiosgraph/insert.pl > } > > I just can NOT seem to get anything written to the perfdata.log file > although nagios DOES create it upon (re)start. > > Any thoughts? > > Michael Weiner | Lead Analyst | Lerner Research Institute > Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) > 445-6454 > > > > > > Cleveland Clinic is ranked one of the top 3 hospitals in > America by U.S.News & World Report. Visit us online at > http://www.clevelandclinic.org for a complete listing of > our services, staff and locations. > > > Confidentiality Note: This message is intended for use > only by the individual or entity to which it is addressed > and may contain information that is privileged, > confidential, and exempt from disclosure under applicable > law. If the reader of this message is not the intended > recipient or the employee or agent responsible for > delivering the message to the intended recipient, you are > hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. If > you have received this communication in error, please > contact the sender immediately and destroy the material in > its entirety, whether electronic or hard copy. Thank 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=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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 mukta at gwu.edu Sun Apr 15 01:59:07 2007 From: mukta at gwu.edu (Mukta Sharma) Date: Sat, 14 Apr 2007 19:59:07 -0400 Subject: Need help for Nagios configuration Message-ID: Hi, I have installed and configured Nagios on my laptop which has Fedora as virtual machine and it is working fine. But as I have installed on virtual machine so i added windows wireless adapter IP address and vmware IP address as the host. I am running the PING and HTTP service for both the host and also added some services like CurrentLoad, CurrentUsers and Total processes for the localmachine and all these services are working fine. So can anyone please tell me what extra services i can add for these particular hosts and if possible the syntax of adding those services. Thanks and Regards, Mukta Sharma M.S Student, Computer Science. The George Washington University ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Apr 15 08:09:34 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Sun, 15 Apr 2007 02:09:34 -0400 Subject: Need help for Nagios configuration In-Reply-To: References: Message-ID: hi, Nagios is capable of monitoring many things, your best option is to Read The Documentation. then review the existing plugins that are out there. (review the official plugins, and Nagios Exchange) Basically nagios can check anything you want as long as you get can print output and return the proper exit code. For windows I recomend NC_Net (since I made it) but there is also NS_CLient++, SNMP traps, NRPE and several other ways to check against a windows box. (once again check nagios Exchange) Good Luck, TOny (author of NC_Net) On 4/14/07, Mukta Sharma wrote: > > Hi, > > I have installed and configured Nagios on my laptop which has Fedora as > virtual machine and it is working fine. But as I have installed on virtual > machine so i added windows wireless adapter IP address and vmware IP address > as the host. I am running the PING and HTTP service for both the host and > also added some services like CurrentLoad, CurrentUsers and Total processes > for the localmachine and all these services are working fine. > > So can anyone please tell me what extra services i can add for these > particular hosts and if possible the syntax of adding those services. > > > Thanks and Regards, > > Mukta Sharma > M.S Student, Computer Science. > The George Washington University > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Sun Apr 15 12:32:31 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 15 Apr 2007 12:32:31 +0200 (CEST) Subject: Need help for Nagios configuration In-Reply-To: References: Message-ID: On Sat, 14 Apr 2007, Mukta Sharma wrote: > So can anyone please tell me what extra services i can add for these particular hosts and if possible the syntax of adding those services. Nagios is all about monitoring services. If you have to ask others which services to monitor I would say these services do not need to be monitored because they are not important to you. If they were important you could name them to us. If it is for educational purposes one should study the manuals. Read some bits of the tons of extra monitoring script available from nagios exchange and the archives of this mailinglist. There is no substitute for learning things by finding information yourself and building things. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Sun Apr 15 12:52:58 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Sun, 15 Apr 2007 12:52:58 +0200 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: <06D8FC34F6A06B45A27B3BC804D0A89E3869CD@XMAIL.norwich.edu> References: <06D8FC34F6A06B45A27B3BC804D0A89E3869CD@XMAIL.norwich.edu> Message-ID: <014101c77f4c$3aecd4b0$0202fea9@int.consol.de> Hi Jamie and list, that broken link will be corrected tomorrow (i need the typo3 guy to publish the corrected page). In the meantime please use http://www.consol.de/fileadmin/opensource/Nagios/check_hpasm-1.1.tgz Sorry for the inconvenience, Gerhard > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > Auftrag von James E. Pratt > Gesendet: Samstag, 14. April 2007 13:19 > An: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] Plugin for HP Proliant Hardware > Health Monitoring > > Would love to check this out - anyone able to download it? I > keep getting "Page cannot be displayed" on the download link, > and can't get email to Gerhard either, as it keeps timing > out/deferring on his mail server... > > :( > > Regards, > jamie > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Gerhard Lausser > Sent: Friday, April 13, 2007 1:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugin for HP Proliant Hardware > Health Monitoring > > Hi, > > i make a plugin, which checks the state of CPUs, fans, power > supplies, fans and memory modules of HP Proliant servers with > the hpasm software installed. > Maybe it is useful for some of you. > http://www.consol.com/opensource/nagios/check-hpasm > > Greetings from Munich, > Gerhard > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Apr 16 04:38:04 2007 From: benny at bennyvision.com (C. Bensend) Date: Sun, 15 Apr 2007 21:38:04 -0500 (CDT) Subject: Service dependencies not disabling notifications Message-ID: <53053.63.227.74.41.1176691084.squirrel@webmail.stinkweasel.net> Hey folks, I could swear I've asked this before, but neither Google nor the mailing list archives showed any posts. My apologies if this is indeed a repeat, my memory flakes out sometimes. I have a v2.8 installation on an OpenBSD machine. It was built from source, not installed via packages/ports. I have another OpenBSD machine called electron: # 'electron' host definition define host{ use generic-host host_name electron alias OpenBSD workstation - electron address electron.bennyvision.com check_command check-host-alive max_check_attempts 15 notification_interval 0 notification_period none notification_options d,u,r contact_groups admins-email } It's just a workstation, I don't care as much if it's offline as if it's online and something's broken, hence the 'notification_period 0'. I have three services set up, that are checked via NRPE: # Service definition define service{ use generic-service host_name electron service_description clamd is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 3 retry_check_interval 1 contact_groups admins-email notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_procs_nrpe!1:1!clamd } # Service definition define service{ use generic-service host_name electron service_description freshclam is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 3 retry_check_interval 1 contact_groups admins-email notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_procs_nrpe!1:1!freshclam } # Service definition define service{ use generic-service host_name electron service_description freshclam log is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 3 retry_check_interval 1 contact_groups admins-email notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_freshclam_log_nrpe } Basically, I'm checking to make sure clamd and freshclam are running, and that freshclam is actually updating it's log file, respectively. These all work just fine, NRPE is executing the checks, it all works. I get notified just fine if I kill a service or NRPE, and I get the recovery emails as well when I start them back up. Yay. However, I want to set up service dependencies for NRPE on this and all my other hosts, so if something weird happens to it, I don't get spanked by a gazillion alerts for each service. This shouldn't be that difficult, but I cannot for the life of me get service dependencies working as I think they should. I have three service dependencies set up for electron: # Servicedependency definition define servicedependency{ host_name electron service_description nrpe dependent_host_name electron dependent_service_description clamd execution_failure_criteria w,u,c,p notification_failure_criteria w,u,c,p } # Servicedependency definition define servicedependency{ host_name electron service_description nrpe dependent_host_name electron dependent_service_description freshclam execution_failure_criteria w,u,c,p notification_failure_criteria w,u,c,p } # Servicedependency definition define servicedependency{ host_name electron service_description nrpe dependent_host_name electron dependent_service_description freshclam log execution_failure_criteria w,u,c,p notification_failure_criteria w,u,c,p } nagios -v is happy with this, it does not complain about any config errors. However, if I kill NRPE on electron, I get an alert for each of the supposedly dependent services. I am absolutely at a loss to see why. I have been through /nagios/docs/xodtemplate.html#servicedependency a gazillion times - what in the heck am I missing? No matter what options I give for *_failure_criteria, I cannot get the dependency to NOT alert me when NRPE is down on electron. This is driving me nuts. If someone could point out where I'm going wrong, I'd _really_ appreciate it. Thanks much! Benny -- I've said it before and I'll say it again: If I ever catch a spammer, I will hang him upside down with rusty barbed wire by his nether-regions over a pit of rabid lawyers who haven't eaten in days... -- Benjamin A. Shelton ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Mon Apr 16 04:57:38 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 15 Apr 2007 22:57:38 -0400 Subject: Service dependencies not disabling notifications In-Reply-To: <53053.63.227.74.41.1176691084.squirrel@webmail.stinkweasel.net> References: <53053.63.227.74.41.1176691084.squirrel@webmail.stinkweasel.net> Message-ID: <4622E622.7010507@aei.ca> On 15/04/07 10:38 PM, C. Bensend wrote: > Hey folks, > > > > nagios -v is happy with this, it does not complain about any config > errors. However, if I kill NRPE on electron, I get an alert for > each of the supposedly dependent services. I am absolutely at a > loss to see why. > > I have been through /nagios/docs/xodtemplate.html#servicedependency a > gazillion times - what in the heck am I missing? No matter what options I > give for *_failure_criteria, I cannot get the dependency to NOT alert me > when NRPE is down on electron. > > This is driving me nuts. If someone could point out where I'm going > wrong, I'd _really_ appreciate it. Take a very close look at the output of "nagios -v". It happened to me in the past that making a small error in the servicedependency definitions would make Nagios discard them as "Lame service dependency" without counting it in the warning/error count. This is logged at the top and discarded before Nagios enters the objects verification step. This is likely your problem. Maybe this should cause Nagios to die instead of skipping part of the configuration.... Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Apr 16 05:03:00 2007 From: benny at bennyvision.com (C. Bensend) Date: Sun, 15 Apr 2007 22:03:00 -0500 (CDT) Subject: Service dependencies not disabling notifications In-Reply-To: <4622E622.7010507@aei.ca> References: <53053.63.227.74.41.1176691084.squirrel@webmail.stinkweasel.net> <4622E622.7010507@aei.ca> Message-ID: <63800.63.227.74.41.1176692580.squirrel@webmail.stinkweasel.net> > Take a very close look at the output of "nagios -v". It happened to me > in the past that making a small error in the servicedependency > definitions would make Nagios discard them as "Lame service dependency" > without counting it in the warning/error count. This is logged at the > top and discarded before Nagios enters the objects verification step. > > This is likely your problem. Maybe this should cause Nagios to die > instead of skipping part of the configuration.... Thanks for the suggestion, Thomas, but I don't see any problems: Nagios 2.8 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 03-08-2007 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 77 services. Checking hosts... Checked 12 hosts. Checking host groups... Checked 4 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 2 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 64 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 73 commands. Checking time periods... Checked 5 time periods. Checking extended host info definitions... Checked 11 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check :( Benny -- I've said it before and I'll say it again: If I ever catch a spammer, I will hang him upside down with rusty barbed wire by his nether-regions over a pit of rabid lawyers who haven't eaten in days... -- Benjamin A. Shelton ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Mon Apr 16 09:48:07 2007 From: m.borsani at it.net (Marco Borsani) Date: Mon, 16 Apr 2007 09:48:07 +0200 Subject: parameter inside notifications Message-ID: <009c01c77ffb$9336a7e0$0900d40a@intranet.it.net> Hi all ! I?d like to insert the command parameters inside the notifications. Reading the manual it does not seem possible, is it corrects ? Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 manishs at gs-lab.com Mon Apr 16 10:26:46 2007 From: manishs at gs-lab.com (Manish Sapariya) Date: Mon, 16 Apr 2007 13:56:46 +0530 Subject: perfdata In-Reply-To: References: Message-ID: <46233346.7060002@gs-lab.com> Hi, I ran into same problem, I got it working by changing the insert.pl. I am not sure if my config was wrong or there is something wrong in nagios or nagiosgraph. ----------------Changed code in insert.pl------------------- # Parse performance data from input # sub parseinput { my $data = shift; #debug(5, "INSERT perfdata: $data"); #my @d = split( /\|\|/, $data); ### Note the the split delimiter in below line, No matter what I do to configure the #nagios, I cannot make it print || in the perfdata. It always separated the # fields with tab. Also the index used below had to be adjusted according #to how nagios wrote the performance data file. my @d = split( /\t/, $data); return ( lastcheck => $d[1], hostname => $d[2], servicedescr => $d[3], output => $d[6], perfdata => $d[7], ); } ---------------------------------------------------------------- Hope this help. Regards, Manish Weiner, Michael wrote: > Using Nagios 2.8 and I am not sure what I am doing wrong. Been trying to > squeeze out some perfdata in order to test nagiosgraph and I get Nagios > to create the file, but it remains empty no matter what occurs. Here are > the relevant portions of my nagios.cfg for clarification: > > nagios.cfg: > perfdata_timeout=5 > process_performance_data=1 > #service_perfdata_command=process-service-perfdata > service_perfdata_file=/var/spool/nagios/perfdata.log > service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED > ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ > service_perfdata_file_mode=a <-- had this set to w based on a previous > email, but that didn't seem to do anything > service_perfdata_file_processing_interval=30 > service_perfdata_file_processing_command=process-service-perfdata > > checkcommands.cfg: > define command{ > command_name process-service-perfdata > command_line /usr/bin/perl > /usr/share/nagios/nagiosgraph/insert.pl > } > > I just can NOT seem to get anything written to the perfdata.log file > although nagios DOES create it upon (re)start. > > Any thoughts? > > Michael Weiner | Lead Analyst | Lerner Research Institute > Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) > 445-6454 > > > > > > Cleveland Clinic is ranked one of the top 3 hospitals in > America by U.S.News & World Report. Visit us online at > http://www.clevelandclinic.org for a complete listing of > our services, staff and locations. > > > Confidentiality Note: This message is intended for use > only by the individual or entity to which it is addressed > and may contain information that is privileged, > confidential, and exempt from disclosure under applicable > law. If the reader of this message is not the intended > recipient or the employee or agent responsible for > delivering the message to the intended recipient, you are > hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. If > you have received this communication in error, please > contact the sender immediately and destroy the material in > its entirety, whether electronic or hard copy. Thank 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 > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marty at supine.com Mon Apr 16 11:50:35 2007 From: marty at supine.com (Martin Barry) Date: Mon, 16 Apr 2007 19:50:35 +1000 Subject: always online jabber client In-Reply-To: <3f8ec11c0704121153s1ab326b9t65f9a056bb3f6d5f@mail.gmail.com> References: <3f8ec11c0704121153s1ab326b9t65f9a056bb3f6d5f@mail.gmail.com> Message-ID: <20070416095035.GP14835@supine.com> $quoted_author = "naim abu darwish" ; > > anyone knows of some script to 'daemonize' the jabber client process > ? so its always logged in. an ex co-worker appears to have GPL'd his handiwork that we use inhouse. http://www.stupendous.net/archives/2006/12/07/nimitz/ cheers marty -- "Ocean racing is like standing under a cold shower tearing up 5 pound notes." - Edward Heath (ex British Prime Minister and Sydney-Hobart competitor) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From haydn.haines at halian.com Mon Apr 16 12:06:56 2007 From: haydn.haines at halian.com (Haydn Haines) Date: Mon, 16 Apr 2007 11:06:56 +0100 Subject: $HOSTADDRESS$ being ignored with nrpe? Message-ID: <98807D14FDAFAB4D964C7A48A61F911C013365BF@tcsrlon4.halian.dom> Hi All, I'm currently evaluating Nagios for use in our company and I've run in to a small problem. For some reason the nrpe plugin is ignoring the $HOSTADDRESS$ argument and always returns stats for the localhost. The relevant parts of the configuration files are as follows: /etc/nagios/nagios.cfg: ----------------------- cfg_dir=/etc/nagios/hosts /etc/nagios/commands.cfg: ------------------------- define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } /etc/nagios/nrpe.cfg: --------------------- command[check_disk1]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p / hostX:/etc/nrpe.cfg: -------------------- command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p / /etc/hosts/hostX.cfg: --------------------- define host{ use linux-server ; Name of host template to use host_name hostX alias hostX address 192.168.1.1 } define service{ use remote-service ; Name of service template to use host_name hostX service_description Root Partition check_command check_nrpe!check_disk1 } If I change the check_nrpe command line in commands.cfg and the check_command of the hostX.cfg file to the following it works, but I don't want to repeat the hostname over and over as it will make adding new hosts awkward: command_line $USER1$/check_nrpe -H $ARG1$ -c $ARG2$ check_command check_nrpe!hostX!check_disk1 Please would somebody advise me why the $HOSTADDRESS$ argument isn't working?? Thanks, Haydn. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: HALIAN_Disclaimer.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 hunter at userfriendly.net Mon Apr 16 12:43:43 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Mon, 16 Apr 2007 06:43:43 -0400 Subject: perfdata In-Reply-To: <46233346.7060002@gs-lab.com> References: <46233346.7060002@gs-lab.com> Message-ID: On 4/16/07, Manish Sapariya wrote: > > Hi, > I ran into same problem, I got it working by changing the insert.pl. I > am not sure > if my config was wrong or there is something wrong in nagios or > nagiosgraph. > > ----------------Changed code in insert.pl------------------- > # Parse performance data from input > # > sub parseinput { > my $data = shift; > #debug(5, "INSERT perfdata: $data"); > > #my @d = split( /\|\|/, $data); > > ### Note the the split delimiter in below line, No matter what I do to > configure the > #nagios, I cannot make it print || in the perfdata. It always separated > the > # fields with tab. Also the index used below had to be adjusted according > #to how nagios wrote the performance data file. > > my @d = split( /\t/, $data); > > return ( lastcheck => $d[1], > hostname => $d[2], > servicedescr => $d[3], > output => $d[6], > perfdata => $d[7], > ); > } > ---------------------------------------------------------------- Thanks for the response. I modified the insert.pl as stated above but that still made no difference. If you notice in the nagios.cfg: service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ which should actually be: service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ might explain why you arent seing || but are seing tabs in your perfdata. My problem seems to stem from the fact that i cannot get data written to the perfdata.log file at all, thus the insert.pl fails to parse anything at all. And i cannot find a reason why this is the case. Thanks again for your response, i hope the above helps your issue out. Michael -- > Weiner, Michael wrote: > > Using Nagios 2.8 and I am not sure what I am doing wrong. Been trying to > > squeeze out some perfdata in order to test nagiosgraph and I get Nagios > > to create the file, but it remains empty no matter what occurs. Here are > > the relevant portions of my nagios.cfg for clarification: > > > > nagios.cfg: > > perfdata_timeout=5 > > process_performance_data=1 > > #service_perfdata_command=process-service-perfdata > > service_perfdata_file=/var/spool/nagios/perfdata.log > > service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED > > ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ > > service_perfdata_file_mode=a <-- had this set to w based on a previous > > email, but that didn't seem to do anything > > service_perfdata_file_processing_interval=30 > > service_perfdata_file_processing_command=process-service-perfdata > > > > checkcommands.cfg: > > define command{ > > command_name process-service-perfdata > > command_line /usr/bin/perl > > /usr/share/nagios/nagiosgraph/insert.pl > > } > > > > I just can NOT seem to get anything written to the perfdata.log file > > although nagios DOES create it upon (re)start. > > > > Any thoughts? > > > > Michael Weiner | Lead Analyst | Lerner Research Institute > > Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) > > 445-6454 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 junior at gujao.com Mon Apr 16 16:54:08 2007 From: junior at gujao.com (Junior Pires) Date: Mon, 16 Apr 2007 11:54:08 -0300 (BRT) Subject: SMS to mobile phone on Brazil. Message-ID: <62105.201.18.137.114.1176735248.squirrel@mail.gujao.com> Hi! I'm a new user of this list and a newbie on Nagios. I'm configuring my Nagios and have the following question: Can i make my nagios to send SMS to my moblile phone (claro) in my country? I have this question, because i saw some documentations and saw that only have supprt to phones out of my country... Any help? Thank's. -- Junior Pires Assistente de Inform?ica CPD Guj?o Alimentos. Tel: (75) 3244-2121 (Ramal 218). -- Esta mensagem foi verificada pelo sistema de antiv?rus e acredita-se estar livre de perigo. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Mon Apr 16 17:15:02 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 16 Apr 2007 17:15:02 +0200 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: <462335F0.6060804@de.rhenus.com> References: <012b01c77ded$6e9e2e90$0202fea9@int.consol.de> <462335F0.6060804@de.rhenus.com> Message-ID: <015501c7803a$019d6820$0202fea9@int.consol.de> Hi Marcus, i can understand, not-so-important servers are not fully equipped. I will introduce an option like "-b ps:3,..." to blacklist the named components (skip checking power supply #3 in this example). Maybe by the end of the week. Keep an eye on http://www.consol.com/opensource/nagios/check-hpasm (the broken download link has been fixed). Greetings, Gerhard > -----Urspr?ngliche Nachricht----- > Von: Marcus Fleige [mailto:marcus.fleige at de.rhenus.com] > Gesendet: Montag, 16. April 2007 10:38 > An: Gerhard Lausser > Cc: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] Plugin for HP Proliant Hardware > Health Monitoring > > Hi, > > Gerhard Lausser schrieb am 13.04.2007 19:01 Uhr: > > Hi, > > > > i make a plugin, which checks the state of CPUs, fans, > power supplies, > > fans and memory modules of HP Proliant servers with the > hpasm software installed. > > Maybe it is useful for some of you. > > http://www.consol.com/opensource/nagios/check-hpasm > > Great thing! I circumvented writing something like this for > quite some time now, thanks for saving me this piece of work! :-) > > One thing: is it possible to integrate a switch to exclude a > specific hardware device? I've got a machine here with a max. > of three Power Supplies, but at the moment there are only two > in use. This leads to a Critical-Error, because the check > misses the non-existent power supply ... > > Regards, > > Marcus Fleige > > > -- > > EOF > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nelson at pangeia.com.br Mon Apr 16 17:20:21 2007 From: nelson at pangeia.com.br (Nelson Murilo) Date: Mon, 16 Apr 2007 12:20:21 -0300 Subject: SMS to mobile phone on Brazil. In-Reply-To: <62105.201.18.137.114.1176735248.squirrel@mail.gujao.com> References: <62105.201.18.137.114.1176735248.squirrel@mail.gujao.com> Message-ID: <20070416152020.GA21197@pangeia.com.br> The easy way is using is your_number at clarotorpedo.com.br, Btw free SMS there aren?t arrived garanties, may you could contact CLARO for comercial SMS costs. Br, ./nelson -murilo On Mon, Apr 16, 2007 at 11:54:08AM -0300, Junior Pires wrote: > Hi! I'm a new user of this list and a newbie on Nagios. > > I'm configuring my Nagios and have the following question: > > Can i make my nagios to send SMS to my moblile phone (claro) in my country? > > I have this question, because i saw some documentations and saw that only > have supprt to phones out of my country... ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dimma at higis.ru Mon Apr 16 17:24:14 2007 From: dimma at higis.ru (Dmitriy Kirhlarov) Date: Mon, 16 Apr 2007 19:24:14 +0400 Subject: SMS to mobile phone on Brazil. In-Reply-To: <62105.201.18.137.114.1176735248.squirrel@mail.gujao.com> References: <62105.201.18.137.114.1176735248.squirrel@mail.gujao.com> Message-ID: <20070416152413.GF74655@dkirhlarov.mow.oilspace.com> On Mon, Apr 16, 2007 at 11:54:08AM -0300, Junior Pires wrote: > Hi! I'm a new user of this list and a newbie on Nagios. > > I'm configuring my Nagios and have the following question: > > Can i make my nagios to send SMS to my moblile phone (claro) in my country? > > I have this question, because i saw some documentations and saw that only > have supprt to phones out of my country... > > Any help? You can use one of free|commercial sms gates (csoft.co.uk for example) with simple notification script, or you can send messages over mobile phone, connected to server. In this case, you must setup some software for sending sms's over phone, before. http://smstools.meinemullemaus.de/ (for example) WBR. Dmitriy ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Mon Apr 16 18:27:59 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Mon, 16 Apr 2007 12:27:59 -0400 Subject: parameter inside notifications In-Reply-To: <009c01c77ffb$9336a7e0$0900d40a@intranet.it.net> References: <009c01c77ffb$9336a7e0$0900d40a@intranet.it.net> Message-ID: <2274b9c30704160927k7d06bd8fg99e657585e56c013@mail.gmail.com> Check the the nagios macros definitions: http://nagios.sourceforge.net/docs/2_0/macros.html $SERVICECHECKCOMMAND$ might meed your needs. --Kyle On 4/16/07, Marco Borsani wrote: > > > Hi all ! > > > > I'd like to insert the command parameters inside the notifications. > > > > Reading the manual it does not seem possible, is it corrects ? > > > > Marco Borsani > Technical Operation > > tel.: +390104310115 > e-fax: +390683175950 > * m.borsani at it.net > > ITnet S.r.l. > Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. > Via Pacinotti, 39 > 16151 - Genova > > > In ottemperanza al D. lgs 196/03 in materia di protezione dei dati > personali, le informazioni contenute in questo messaggio sono strettamente > riservate e sono esclusivamente indirizzate al destinatario indicato (oppure > alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, > riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui > aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il > mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio > erroneamente ricevuto. > > According to Italy's new data protection code (Legislative Decree no. > 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning > privacy, the information contained in this e-mail is confidential and is > intended for the addressee only. If you are not the correct recipient, > please note that any use, dissemination or copy of this document/information > is strictly prohibited.If you have received this message in error, you > should destroy it and please notify us immediately by e-mail. > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Apr 16 20:07:22 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 16 Apr 2007 14:07:22 -0400 Subject: Service dependencies not disabling notifications In-Reply-To: <53053.63.227.74.41.1176691084.squirrel@webmail.stinkweasel.net> References: <53053.63.227.74.41.1176691084.squirrel@webmail.stinkweasel.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of C. Bensend > Sent: Sunday, April 15, 2007 7:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service dependencies not disabling > notifications > > # Servicedependency definition > define servicedependency{ > host_name electron > service_description nrpe > dependent_host_name electron > dependent_service_description freshclam > execution_failure_criteria w,u,c,p > notification_failure_criteria w,u,c,p > } I don't know if it makes a difference, and I may have missed some new parameters that have been added since the docs were revised, but I'm not sure "p" is a valid failure criterion. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Apr 16 20:10:41 2007 From: benny at bennyvision.com (C. Bensend) Date: Mon, 16 Apr 2007 13:10:41 -0500 (CDT) Subject: Service dependencies not disabling notifications In-Reply-To: References: <53053.63.227.74.41.1176691084.squirrel@webmail.stinkweasel.net> Message-ID: <4447.134.244.169.17.1176747041.squirrel@webmail.stinkweasel.net> > I don't know if it makes a difference, and I may have missed some new > parameters that have been added since the docs were revised, but I'm not > sure "p" is a valid failure criterion. According to the docs, it is. But nevertheless, I've tried it with and without, and it doesn't work either way. :( Thanks, Benny -- I've said it before and I'll say it again: If I ever catch a spammer, I will hang him upside down with rusty barbed wire by his nether-regions over a pit of rabid lawyers who haven't eaten in days... -- Benjamin A. Shelton ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akrall-lists at intruder.com.mx Tue Apr 17 02:07:40 2007 From: akrall-lists at intruder.com.mx (Anton Krall) Date: Mon, 16 Apr 2007 19:07:40 -0500 Subject: nagios checks Message-ID: <01e301c78084$6b0d7170$41285450$@com.mx> Guys.. I have some nagios questions. 1. Is there a way to make users that can login thru the web interface and check hosts but disable them from getting email notifications of statuses? 2. I don't know why buyt nagios is checking services too fast for my taste, for example, ping service, I check the log and I get the first HOST ALERT: ipaq;DOWN;SOFT;1;CRITICAL - Host Unreachable (10.0.0.14) . . HOST ALERT: ipaq;DOWN;HARD;10;CRITICAL - Host Unreachable (10.0.0.14) SERVICE ALERT: ipaq;ping;CRITICAL;HARD;1;CRITICAL - Host Unreachable (10.0.0.14) But from the down soft 1 host alert to the 10th it only goes by like 1 second... why are those 10 soft check going by that fast? 3. Is there a way to disable hosts up down recovery notifications and just let the ping service alert me? Ive noticed that many times I get host downs and ups a lot but no ping service notifications.. seems my host check command is way to sensible... can this be mnodified? Hope Im not asking too many stupid questions :) AK ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Apr 17 02:27:20 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 16 Apr 2007 20:27:20 -0400 Subject: nagios checks In-Reply-To: <01e301c78084$6b0d7170$41285450$@com.mx> References: <01e301c78084$6b0d7170$41285450$@com.mx> Message-ID: > 1. Is there a way to make users that can login thru the web > interface and check hosts but disable them from getting email > notifications of statuses? Yes. Set the contacts so they don't receive alerts using service_notification_options. See the docs about contact configuration here: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact > 2. I don't know why buyt nagios is checking services too fast > for my taste, for example, ping service, I check the log and > I get the first > > HOST ALERT: ipaq;DOWN;SOFT;1;CRITICAL - Host Unreachable (10.0.0.14) . > . > HOST ALERT: ipaq;DOWN;HARD;10;CRITICAL - Host Unreachable (10.0.0.14) > > SERVICE ALERT: ipaq;ping;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (10.0.0.14) > > But from the down soft 1 host alert to the 10th it only goes > by like 1 second... why are those 10 soft check going by that fast? That's normal -- host checks will run serially as fast as they can. See the docs on host checks here: http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#host_checks > 3. Is there a way to disable hosts up down recovery > notifications and just let the ping service alert me? Ive > noticed that many times I get host downs and ups a lot but no > ping service notifications.. seems my host check command is > way to sensible... can this be mnodified? If you don't want host check functionality, use a host check that will never go down (check_dummy is a good plugin to use for this). ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smarcil at s3tech.ca Tue Apr 17 02:30:46 2007 From: smarcil at s3tech.ca (Simon Marcil) Date: Mon, 16 Apr 2007 20:30:46 -0400 Subject: StatusMap not Displaying Message-ID: I have Nagios 2.9 installed on OpenSuSE 10.2. The following are installed * lgd * gd-devel * libpng * libpng-devel * libjpeg * libjpeg-devel * zlib * zlib-devel Nagios compiled without errors and statusmap.cgi is present. When i try to access the statusmap page i get the normal page but no image. I get a square with an X. If i move my mouse around this blank space (where the image should be) i get the popupswith the host info... Any ideas? Thanks. Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 dermoth at aei.ca Tue Apr 17 02:54:33 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 16 Apr 2007 20:54:33 -0400 Subject: nagios checks In-Reply-To: References: <01e301c78084$6b0d7170$41285450$@com.mx> Message-ID: <46241AC9.6000600@aei.ca> On 16/04/07 08:27 PM, Morris, Patrick wrote: >> 1. Is there a way to make users that can login thru the web >> interface and check hosts but disable them from getting email >> notifications of statuses? > > Yes. Set the contacts so they don't receive alerts using > service_notification_options. See the docs about contact configuration > here: > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact Names in CGI configuration don't need to be Nagios contacts. The only difference that I know of it that the CGI will fill-in your name automatically in commands. >> 3. Is there a way to disable hosts up down recovery >> notifications and just let the ping service alert me? Ive >> noticed that many times I get host downs and ups a lot but no >> ping service notifications.. seems my host check command is >> way to sensible... can this be mnodified? > > If you don't want host check functionality, use a host check that will > never go down (check_dummy is a good plugin to use for this). What actually happens when a service go down is that Nagios runs the Host check and sends a notification only if the host check returns UP. This way you won't get paged for all services on the host when the host is down. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mukta at gwu.edu Tue Apr 17 07:24:32 2007 From: mukta at gwu.edu (Mukta Sharma) Date: Tue, 17 Apr 2007 01:24:32 -0400 Subject: status map problem in nagios Message-ID: Hi, I installed the nagios on my system but not able to run the status map, i tried to run it by installing the gdlib, libpng and libjpeg packages. Can anyone please tell me the right procedure to do this. Some internal server error is coming when i clicked on the statusmap. Thanks and Regards Mukta Sharma M.S Student, Computer Science. The George Washington University ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Apr 17 07:53:04 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 17 Apr 2007 01:53:04 -0400 Subject: status map problem in nagios In-Reply-To: References: Message-ID: > I installed the nagios on my system but not able to run the > status map, i tried to run it by installing the gdlib, libpng > and libjpeg packages. > > Can anyone please tell me the right procedure to do this. > > Some internal server error is coming when i clicked on the statusmap. Which error? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aritz.Lazkano at DaimlerChrysler.com Tue Apr 17 08:54:22 2007 From: Aritz.Lazkano at DaimlerChrysler.com (Aritz.Lazkano at DaimlerChrysler.com) Date: Tue, 17 Apr 2007 08:54:22 +0200 Subject: Snmptrap with Nagios Message-ID: Hello. I have to monitor a "thing" that works with snmptraps, but I don`t know what I have to do. I have read something about check_dummy How is it works? And then what i have to do, Create a service with passice_ check activate, and using the check_dummy command? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 misch at multinet.de Tue Apr 17 09:08:38 2007 From: misch at multinet.de (Michael Schwartzkopff) Date: Tue, 17 Apr 2007 09:08:38 +0200 Subject: Snmptrap with Nagios In-Reply-To: References: Message-ID: <200704170908.38881.misch@multinet.de> Am Dienstag, 17. April 2007 08:54 schrieb Aritz.Lazkano at daimlerchrysler.com: > Hello. > > I have to monitor a "thing" that works with snmptraps, but I don`t know > what I have to do. > I have read something about check_dummy How is it works? > And then what i have to do, Create a service with passice_ check activate, > and using the check_dummy command? > Thanks, see: http://nagios.sourceforge.net/docs/3_0/int-snmptrap.html -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikeh at muppetlabs.com Tue Apr 17 09:14:13 2007 From: mikeh at muppetlabs.com (Mike Hamrick) Date: Tue, 17 Apr 2007 00:14:13 -0700 Subject: Snmptrap with Nagios In-Reply-To: (Aritz.Lazkano@DaimlerChrysler.com) References: Message-ID: <200704170714.l3H7EDOp025070@muppetlabs.com> > I have to monitor a "thing" that works with snmptraps, but I don`t know > what I have to do. You need to have a machine that listens for SNMP traps. The program snmptrapd does this, it comes with net-snmp package. This daemon writes the trap info to the system log, or alternately runs a program and passes it the trap information. That program can then submit a check to nagios using NSCA or by writing to the nagios.cmd pipe. I found this article to be very helpful: http://www.samag.com/documents/s=9559/sam0503g/ Mike ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 17 09:19:27 2007 From: powo+lists.nagios-users at powo.priv.at (Wolfgang Powisch) Date: Tue, 17 Apr 2007 09:19:27 +0200 Subject: NDUUtils and Statechanges while a Host is DOWN Message-ID: <462474FF.7090208@powo.priv.at> Hello, I've built a custom Web-Interface which generates Service-Availability Reports from Nagios/NDO Database. I'm using the tables nagios_servicestatus to determine the current state and nagios_statehistory to read out the history of a specific service. Today I noticed, that there are no entries for a specific Service in the statehistory table while the host has been considered as DOWN. so I couldn't see an outage (which effected the complete host) in the Service-Availability-Report. Is this an expected behaviour, that this state-changes are not send to NDO ? (If yes, can you explain the reason) What will be the correct way to query Availability and outages of a single service ? -- best regards, Wolfgang Powisch ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Apr 17 09:23:10 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 17 Apr 2007 03:23:10 -0400 Subject: Snmptrap with Nagios In-Reply-To: References: Message-ID: <462475DE.8040000@aei.ca> On 17/04/07 02:54 AM, Aritz.Lazkano at DaimlerChrysler.com wrote: > > Hello. > > I have to monitor a "thing" that works with snmptraps, but I don`t know > what I have to do. > I have read something about check_dummy How is it works? > And then what i have to do, Create a service with passice_ check > activate, and using the check_dummy command? First you need a trap handler properly set up to return passive results. I use SNMPTT (http://www.snmptt.org/) though you may want to look at OpsView (http://www.opsview.org/) as is seems to do a great job at simplifying the trap setup. Then you set up the service as "volatile". People usually disable active checks and use freshness checking to get the trap reset automatically after some time. If you rather want the service to stay in a non-OK state until someone change it you can make it active (It won't be scheduled if volatile) and have someone force an active check to reset the trap. In either case it the check command should looks like: check_command check_dummy!0!Trap reset on $LONGDATETIME$ and check_dummy should run something like: $USER1$/check_dummy $ARG1$ $ARG2$ Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Apr 17 09:31:41 2007 From: m.borsani at it.net (Marco Borsani) Date: Tue, 17 Apr 2007 09:31:41 +0200 Subject: R: parameter inside notifications In-Reply-To: <2274b9c30704160927k7d06bd8fg99e657585e56c013@mail.gmail.com> References: <009c01c77ffb$9336a7e0$0900d40a@intranet.it.net> <2274b9c30704160927k7d06bd8fg99e657585e56c013@mail.gmail.com> Message-ID: <005701c780c2$71ec70c0$0900d40a@intranet.it.net> That macro could be ok, but I am running Nagios 1.4, not Nagios 2.0 -----Messaggio originale----- Da: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] Per conto di Kyle O'Donnell Inviato: luned? 16 aprile 2007 18.28 A: Marco Borsani Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] parameter inside notifications Check the the nagios macros definitions: http://nagios.sourceforge.net/docs/2_0/macros.html $SERVICECHECKCOMMAND$ might meed your needs. --Kyle On 4/16/07, Marco Borsani wrote: > > > Hi all ! > > > > I'd like to insert the command parameters inside the notifications. > > > > Reading the manual it does not seem possible, is it corrects ? > > > > Marco Borsani > Technical Operation > > tel.: +390104310115 > e-fax: +390683175950 > * m.borsani at it.net > > ITnet S.r.l. > Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. > Via Pacinotti, 39 > 16151 - Genova > > > In ottemperanza al D. lgs 196/03 in materia di protezione dei dati > personali, le informazioni contenute in questo messaggio sono strettamente > riservate e sono esclusivamente indirizzate al destinatario indicato (oppure > alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, > riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui > aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il > mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio > erroneamente ricevuto. > > According to Italy's new data protection code (Legislative Decree no. > 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning > privacy, the information contained in this e-mail is confidential and is > intended for the addressee only. If you are not the correct recipient, > please note that any use, dissemination or copy of this document/information > is strictly prohibited.If you have received this message in error, you > should destroy it and please notify us immediately by e-mail. > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus.fleige at de.rhenus.com Tue Apr 17 11:02:06 2007 From: marcus.fleige at de.rhenus.com (Marcus Fleige) Date: Tue, 17 Apr 2007 11:02:06 +0200 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: <015501c7803a$019d6820$0202fea9@int.consol.de> References: <012b01c77ded$6e9e2e90$0202fea9@int.consol.de> <462335F0.6060804@de.rhenus.com> <015501c7803a$019d6820$0202fea9@int.consol.de> Message-ID: <46248D0E.20007@de.rhenus.com> Hey, Gerhard Lausser schrieb am 16.04.2007 17:15 Uhr: > Hi Marcus, > > i can understand, not-so-important servers are not fully equipped. > I will introduce an option like "-b ps:3,..." to blacklist the named > components (skip checking power supply #3 in this example). > > Maybe by the end of the week. Keep an eye on > http://www.consol.com/opensource/nagios/check-hpasm (the broken download > link has been fixed). Great, thanks a lot! After that is finished, i'm looking forward to deploy the check throughout my network. :-) Regards, Marcus Fleige ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Navdeep.Sidhu at tatatel.co.in Tue Apr 17 11:02:37 2007 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Tue, 17 Apr 2007 14:32:37 +0530 Subject: Router & L3 Device CPU & Memory Utilization Message-ID: <745C9242AACB2D468091BC33BFD668D002B4CDF6@pb-chd-mbx01.pjb.ttsl.com> Hi I'm using Nagios 2.8 version & right now I'm using Nagios to monitor the server resources like HDD, CPU, Memory & Ping etc. Now I want to monitor router & layer 3 CPU & memory utilization. So please suggest me the way forward. Thanks in advance. Navdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 chiel at gmx.net Tue Apr 17 12:02:43 2007 From: chiel at gmx.net (chiel) Date: Tue, 17 Apr 2007 12:02:43 +0200 Subject: Router & L3 Device CPU & Memory Utilization References: <745C9242AACB2D468091BC33BFD668D002B4CDF6@pb-chd-mbx01.pjb.ttsl.com> Message-ID: <006f01c780d7$8ddaa8f0$760010ac@michiel> Router & L3 Device CPU & Memory UtilizationYou can use check_snmp and provide the MIB. Or take a look at the following website: http://nagios.manubulon.com/ It has some standard scripts that check the cpu/mem/interface for a router. ----- Original Message ----- From: Navdeep Sidhu To: nagios-users at lists.sourceforge.net Sent: Tuesday, April 17, 2007 11:02 AM Subject: [Nagios-users] Router & L3 Device CPU & Memory Utilization Hi I'm using Nagios 2.8 version & right now I'm using Nagios to monitor the server resources like HDD, CPU, Memory & Ping etc. Now I want to monitor router & layer 3 CPU & memory utilization. So please suggest me the way forward. Thanks in advance. Navdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 simvirus at gmail.com Tue Apr 17 15:22:18 2007 From: simvirus at gmail.com (Sim) Date: Tue, 17 Apr 2007 15:22:18 +0200 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: <46248D0E.20007@de.rhenus.com> References: <012b01c77ded$6e9e2e90$0202fea9@int.consol.de> <462335F0.6060804@de.rhenus.com> <015501c7803a$019d6820$0202fea9@int.consol.de> <46248D0E.20007@de.rhenus.com> Message-ID: I have this problem, I can run check_hpasm only once: Thanks for reply ---------------------------------------------- # service hpasm start Starting Proliant System Health Monitor (hpasmd): [ SUCCESS ] Starting Foundation Agents (cmafdtn): cmathreshd cmahostd cmapeerd Starting Threshold agent (cmathreshd): [ SUCCESS ] Starting Host agent (cmahostd): [ SUCCESS ] Starting SNMP Peer (cmapeerd): [ SUCCESS ] Starting Server Agents (cmasvr): cmastdeqd cmahealthd cmaperfd Starting Standard Equipment agent (cmastdeqd): [ SUCCESS ] Starting Health agent (cmahealthd): [ SUCCESS ] Starting Performance agent (cmaperfd): [ SUCCESS ] Starting Storage Agents (cmastor): cmaeventd cmaidad cmafcad cmaided cmascsid cmasasd Starting Storage Event Logger (cmaeventd): [ SUCCESS ] Starting IDA agent (cmaidad): [ SUCCESS ] Starting FCA agent (cmafcad): [ SUCCESS ] Starting IDE agent (cmaided): [ SUCCESS ] Starting SCSI agent (cmascsid): [ SUCCESS ] Starting SAS agent (cmasasd): [ SUCCESS ] hpasm: Server Management is enabled ---------------------------------------------- # ./check_hpasm -v checking hpasmd process System :proliant dl380 g4 [...] dimm 1 at 0 is ok dimm 2 at 0 is ok OK - hardware working fine ---------------------------------------------- # ./check_hpasm -v checking hpasmd process UNKNOWN - multiple hpasmd procs ---------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Tue Apr 17 20:39:38 2007 From: snyper9311 at yahoo.com (abid dar) Date: Tue, 17 Apr 2007 11:39:38 -0700 (PDT) Subject: hostgroup limit in 1.x? Message-ID: <543546.95201.qm@web36811.mail.mud.yahoo.com> I tried searching online but could not find out if there is a limit to number of hosts that can be added to a particular hostgroup in nagios 1.x ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lunaslide at 23.org Tue Apr 17 20:50:12 2007 From: lunaslide at 23.org (lunaslide) Date: Tue, 17 Apr 2007 11:50:12 -0700 Subject: PDI Power Distribution Unit monitoring Message-ID: <462516E4.3050501@23.org> I'm seeking information on monitoring power distribution units manufactured by Power Distribution, Inc. (PDI) in our data center. I've been searching around and there is little to find. If anyone is doing this with Nagios I'd love to hear about it. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Apr 17 20:58:44 2007 From: marc at ena.com (Marc Powell) Date: Tue, 17 Apr 2007 13:58:44 -0500 Subject: hostgroup limit in 1.x? In-Reply-To: <543546.95201.qm@web36811.mail.mud.yahoo.com> References: <543546.95201.qm@web36811.mail.mud.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of abid dar > Sent: Tuesday, April 17, 2007 1:40 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hostgroup limit in 1.x? > > I tried searching online but could not find out if there is a limit to > number of hosts that can be added to a particular hostgroup in nagios 1.x > ? Indirectly, yes. There's no limit to the number of hosts but there is a limit to the number of characters per line of config file that nagios will read in. The default, MAX_XODTEMPLATE_INPUT_BUFFER in xdata/xodtemplate.h, is 8196 characters under nagios-1. I've had success in the past increasing that to 65535 and have had some _very_ long hostgroup members lines. In fact, that's what the default is in nagios-2. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From junior at gujao.com Tue Apr 17 21:23:16 2007 From: junior at gujao.com (Junior Pires) Date: Tue, 17 Apr 2007 16:23:16 -0300 (BRT) Subject: Smstools Message-ID: <62129.201.18.137.114.1176837796.squirrel@mail.gujao.com> For to use the smstools, need i a mobile phone connected on my computer? Thank's. -- Junior Pires Assistente de Inform?ica CPD Guj?o Alimentos. Tel: (75) 3244-2121 (Ramal 218). -- Esta mensagem foi verificada pelo sistema de antiv?rus e acredita-se estar livre de perigo. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From detrak at caere.fr Tue Apr 17 22:16:12 2007 From: detrak at caere.fr (Detrak User) Date: Tue, 17 Apr 2007 22:16:12 +0200 Subject: Announce - Nagios to Cacti Message-ID: <3745c6370704171316h20130beex4db72b804a255315@mail.gmail.com> Hi, I have release for my customers a project to interface Nagios and Cacti. Nagios does the check and store perfdata with n2rrd in rrd base. Nagios2Cacti will load Nagios configuration with Nagios::Object Perl library and load N2RRD configuration and will create the configuration in Cacti to each Nagios services with perfdata configurate in N2RRD. By the way, you can use Nagios and Cacti for their best features : * nagios to supervise, schedule, alerting * cacti to graph, reporting in sexy interface this project is accessible on sourceforge : http://sourceforge.net/projects/nagios2cacti/ Best regards, Det. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Roy.Marantz at deshaw.com Tue Apr 17 23:26:54 2007 From: Roy.Marantz at deshaw.com (Marantz, Roy) Date: Tue, 17 Apr 2007 17:26:54 -0400 Subject: hostgroup limit in 1.x? In-Reply-To: References: <543546.95201.qm@web36811.mail.mud.yahoo.com> Message-ID: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D502468530@mailnyc2.nyc.deshaw.com> I've put the hostgroup membership in the host definitions instead of the hostgroup definition. You still need to define the hostgroup even if it has no members. Roy -----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, April 17, 2007 2:59 PM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] hostgroup limit in 1.x? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of abid dar > Sent: Tuesday, April 17, 2007 1:40 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hostgroup limit in 1.x? > > I tried searching online but could not find out if there is a limit to > number of hosts that can be added to a particular hostgroup in nagios 1.x > ? Indirectly, yes. There's no limit to the number of hosts but there is a limit to the number of characters per line of config file that nagios will read in. The default, MAX_XODTEMPLATE_INPUT_BUFFER in xdata/xodtemplate.h, is 8196 characters under nagios-1. I've had success in the past increasing that to 65535 and have had some _very_ long hostgroup members lines. In fact, that's what the default is in nagios-2. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Tue Apr 17 23:37:25 2007 From: snyper9311 at yahoo.com (abid dar) Date: Tue, 17 Apr 2007 14:37:25 -0700 (PDT) Subject: check_dhcp Message-ID: <460818.22300.qm@web36809.mail.mud.yahoo.com> Having a weird situation.. /usr/local/nagios/libexec/check_dhcp DHCP ok: Received 1 DHCPOFFER(s), max lease time = 0 sec. /usr/local/nagios/libexec/check_dhcp -s xx.xxx.xxx.xxx (our dhcp server) DHCP problem: Received 3 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 284400 sec. why is it getting a DHCP okay when I do flat check_dhcp but when I specify I dont get a valid response. Also, the verbose option does not give any more information.. but thats not really important.. Any thoughts? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Apr 17 23:48:32 2007 From: marc at ena.com (Marc Powell) Date: Tue, 17 Apr 2007 16:48:32 -0500 Subject: hostgroup limit in 1.x? In-Reply-To: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D502468530@mailnyc2.nyc.deshaw.com> References: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D502468530@mailnyc2.nyc.deshaw.com> Message-ID: > -----Original Message----- > From: Marantz, Roy [mailto:Roy.Marantz at deshaw.com] > Sent: Tuesday, April 17, 2007 4:27 PM > To: Marc Powell; Nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] hostgroup limit in 1.x? > > I've put the hostgroup membership in the host definitions instead of the > hostgroup definition. You still need to define the hostgroup even if it > has no members. I'm 99% sure this wasn't supported until nagios-2. Admittedly it's been quite some time since I've looked at 1.x configs but the doccos don't mention it until the Changelog for 2.0. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Apr 18 00:01:44 2007 From: marc at ena.com (Marc Powell) Date: Tue, 17 Apr 2007 17:01:44 -0500 Subject: check_dhcp In-Reply-To: <460818.22300.qm@web36809.mail.mud.yahoo.com> References: <460818.22300.qm@web36809.mail.mud.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of abid dar > Sent: Tuesday, April 17, 2007 4:37 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_dhcp > > Having a weird situation.. > > /usr/local/nagios/libexec/check_dhcp > DHCP ok: Received 1 DHCPOFFER(s), max lease time = 0 sec. > > /usr/local/nagios/libexec/check_dhcp -s xx.xxx.xxx.xxx (our dhcp server) > DHCP problem: Received 3 DHCPOFFER(s), 0 of 1 requested servers responded, > max lease time = 284400 sec. > > why is it getting a DHCP okay when I do flat check_dhcp but when I specify > I dont get a valid response. No suggestions here without the output from below... > Also, the verbose option does not give any more information.. but thats > not really important.. It should. Testing with check_dhcp from plugins-1.4.3 (no dhcp server on this network) -- ./check_dhcp -v DHCP socket: 3 Hardware address: 00123ffef903 DHCPDISCOVER to 255.255.255.255 port 67 DHCPDISCOVER XID: 589273772 (0x231F9AAC) DHCDISCOVER ciaddr: 0.0.0.0 DHCDISCOVER yiaddr: 0.0.0.0 DHCDISCOVER siaddr: 0.0.0.0 DHCDISCOVER giaddr: 0.0.0.0 send_dhcp_packet result: 548 No (more) data received Result=ERROR Total responses seen on the wire: 0 Valid responses for this machine: 0 DHCP problem: No DHCPOFFERs were received. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.merrett at whitehorse.ca Wed Apr 18 00:48:31 2007 From: mike.merrett at whitehorse.ca (Merrett, Mike) Date: Tue, 17 Apr 2007 15:48:31 -0700 Subject: Service Dependencies - how to make a new one Message-ID: <0FE9FD8D9717A5448CA544F8BD27A0720194E8BD@duke.CITY.local> Hi: Does anyone know how to make a service dependency work globally? For example I want to do this but it doesn't seem to work (at least in 3.0a3) define servicedependency { hostgroups 2003-servers, 200-servers, XP-servers service_description NT_Stats_Port dependent_service_description UPTIME notification_failure_criteria w,c,u,p } WITH define service{ hostgroup_name 2003-servers, 2000-servers, XP-servers service_description UPTIME check_command check_nt_uptime use generic-service } AND define service{ hostgroup_name 2003-servers, 2000-servers, XP-servers service_description NT_Stats_Port check_command check_tcp!1248 use generic-service } I get 2 errors: Error: A circular notification dependency (which could result in a deadlock) exists for service 'NT_Stats_Port' on host 'hosta'! Error: A circular notification dependency (which could result in a deadlock) exists for service 'UPTIME' on host 'hosta'! Thanks in advance Mike Merrett -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Edwin.Zoeller at ama-assn.org Wed Apr 18 02:06:49 2007 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Tue, 17 Apr 2007 19:06:49 -0500 Subject: check_vhost Message-ID: Does check_vhost have a timeout value? I would like to increase ours to at least 20 seconds. Thanks, Ed Zoeller -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Radha.Gollapinni at igate.com Wed Apr 18 07:32:19 2007 From: Radha.Gollapinni at igate.com (Radha Gollapinni) Date: Wed, 18 Apr 2007 11:02:19 +0530 Subject: whether we (as a user of Nagios tool) will be allowed to modify the shell prg or not Message-ID: <8F21AD7B7B42F540A179BD35126305B39CDAD7@IGTEBLREXC01.igatecorp.com> HI all If any one of you know the solution for my question please do reply to the same mail Id from which I am sending my mail. My doubt is: 1.whether we (as a user of Nagios tool) will be allowed to modify the shell program internally or not 2. How the alert message is getting created when ever something is happened? Which method is responsible for this activity? Whether we can modify this method to include the hyperlink/url which we got from an external source? Thanking you all Regards Radha Gollapinni ----------------------------------------------------------------DISCLAIMER--------------------------------------------------------- Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin at igate.com and delete this EMAIL including any attachments -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Wed Apr 18 08:19:37 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 18 Apr 2007 02:19:37 -0400 Subject: whether we (as a user of Nagios tool) will beallowed to modify the shell prg or not In-Reply-To: <8F21AD7B7B42F540A179BD35126305B39CDAD7@IGTEBLREXC01.igatecorp.com> References: <8F21AD7B7B42F540A179BD35126305B39CDAD7@IGTEBLREXC01.igatecorp.com> Message-ID: > If any one of you know the solution for my question please do > reply to the same mail Id from which I am sending my mail. > > My doubt is: > > 1.whether we (as a user of Nagios tool) will be allowed to > modify the shell program internally or not The shell program? What do you mean by that? > > 2. How the alert message is getting created when ever > something is happened? Which method is responsible for this activity? > > Whether we can modify this method to include the > hyperlink/url which we got from an external source? Notification command are completely configurable. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radha.Gollapinni at igate.com Wed Apr 18 08:26:04 2007 From: Radha.Gollapinni at igate.com (Radha Gollapinni) Date: Wed, 18 Apr 2007 11:56:04 +0530 Subject: whether we (as a user of Nagios tool) will beallowed to modify the shell prg or not In-Reply-To: References: <8F21AD7B7B42F540A179BD35126305B39CDAD7@IGTEBLREXC01.igatecorp.com> Message-ID: <8F21AD7B7B42F540A179BD35126305B39CDB77@IGTEBLREXC01.igatecorp.com> Hi Morris, I didn't get you and what you sent as a reply. Can you please clearly clarify this. Thanking you very much.. Radha Gollapinni -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Wednesday, April 18, 2007 11:50 AM To: Radha Gollapinni; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] whether we (as a user of Nagios tool) will beallowed to modify the shell prg or not > If any one of you know the solution for my question please do > reply to the same mail Id from which I am sending my mail. > > My doubt is: > > 1.whether we (as a user of Nagios tool) will be allowed to > modify the shell program internally or not The shell program? What do you mean by that? > > 2. How the alert message is getting created when ever > something is happened? Which method is responsible for this activity? > > Whether we can modify this method to include the > hyperlink/url which we got from an external source? Notification command are completely configurable. ----------------------------------------------------------------DISCLAIMER--------------------------------------------------------- Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin at igate.com and delete this EMAIL including any attachments ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus.fleige at de.rhenus.com Wed Apr 18 10:00:58 2007 From: marcus.fleige at de.rhenus.com (Marcus Fleige) Date: Wed, 18 Apr 2007 10:00:58 +0200 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: <01b001c780fa$d187dd70$0202fea9@int.consol.de> References: <012b01c77ded$6e9e2e90$0202fea9@int.consol.de> <462335F0.6060804@de.rhenus.com> <015501c7803a$019d6820$0202fea9@int.consol.de> <46248D0E.20007@de.rhenus.com> <01b001c780fa$d187dd70$0202fea9@int.consol.de> Message-ID: <4625D03A.6070109@de.rhenus.com> Hi Gerhard, Gerhard Lausser schrieb am 17.04.2007 16:15 Uhr: > Hallo Marcus, > > ich habe check_hpasm-1.3 angeh?ngt. K?nntest du bitte ausprobieren, ob > es so passt? > Du m?sstest mit hpasmcli die Nummer des fehlenden Netzteils rausfinden > und dieses dann als blacklisted ?bergeben. > check_hpasm -v -b p: > Alternativ kannst du auch in eine Datei dieses "p:" reinschreiben > und dem -b Parameter den Dateinamen mitgeben. I better write in english, as some mailinglist members have their difficulties with german. ;-) Thanks a lot for the new version! The blacklist switch works like a charme, both as an argument and as a file. And even better: in the verbose output the problem persists, with the notice of it being blacklisted. I'll be deploying this version asap. Thanks again, very good work! Regards, Marcus Fleige ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Apr 18 10:09:54 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 18 Apr 2007 10:09:54 +0200 Subject: whether we (as a user of Nagios tool) will beallowed to modify the shell prg or not In-Reply-To: <8F21AD7B7B42F540A179BD35126305B39CDB77@IGTEBLREXC01.igatecorp.com> References: <8F21AD7B7B42F540A179BD35126305B39CDAD7@IGTEBLREXC01.igatecorp.com> <8F21AD7B7B42F540A179BD35126305B39CDB77@IGTEBLREXC01.igatecorp.com> Message-ID: <4625D252.8070700@its-lehmann.de> Hi, I'm wondering what you want to know... you can do almost everything with Nagios - that's described in the license - but, as far as I know, there is no shell program included in a typical Nagios system. If, after modifying the core program, it's ok to still use the name Nagios is another question. You'll have to discuss that with Ethan. But, reading your original mail, I suppose it might be best for you to first read and understand the manual and the license and then ask for clarifications or help when you encounter specific problems. The points you asked are, IMO, both clearly described in the documentation available at the project web site and with the source. Regards, Arno On 4/18/2007 8:26 AM, Radha Gollapinni wrote: > Hi Morris, > > I didn't get you and what you sent as a reply. > Can you please clearly clarify this. > Thanking you very much.. > > Radha Gollapinni > > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Sent: Wednesday, April 18, 2007 11:50 AM > To: Radha Gollapinni; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] whether we (as a user of Nagios tool) will > beallowed to modify the shell prg or not > >> If any one of you know the solution for my question please do >> reply to the same mail Id from which I am sending my mail. >> >> My doubt is: >> >> 1.whether we (as a user of Nagios tool) will be allowed to >> modify the shell program internally or not > > The shell program? What do you mean by that? >> 2. How the alert message is getting created when ever >> something is happened? Which method is responsible for this activity? >> >> Whether we can modify this method to include the >> hyperlink/url which we got from an external source? > > Notification command are completely configurable. > > ----------------------------------------------------------------DISCLAIMER--------------------------------------------------------- > Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual > or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under > applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin at igate.com > and delete this EMAIL including any attachments > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Navdeep.Sidhu at tatatel.co.in Wed Apr 18 10:16:53 2007 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Wed, 18 Apr 2007 13:46:53 +0530 Subject: Router & L3 Device CPU & Memory Utilization In-Reply-To: References: Message-ID: <745C9242AACB2D468091BC33BFD668D002B4D666@pb-chd-mbx01.pjb.ttsl.com> Hi I have installed all the SNMP related plugins at my nagios box. Now where should I specify SNMP string & other router related information like hostname? Thanks in advance. Regards Navdeep Singh Sidhu +91-9216709251 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Wednesday, April 18, 2007 12:44 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 11, Issue 21 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. nagios checks (Anton Krall) 2. Re: nagios checks (Morris, Patrick) 3. StatusMap not Displaying (Simon Marcil) 4. Re: nagios checks (Thomas Guyot-Sionnest) 5. status map problem in nagios (Mukta Sharma) 6. Re: status map problem in nagios (Morris, Patrick) 7. Snmptrap with Nagios (Aritz.Lazkano at DaimlerChrysler.com) 8. Re: Snmptrap with Nagios (Michael Schwartzkopff) 9. Re: Snmptrap with Nagios (Mike Hamrick) 10. NDUUtils and Statechanges while a Host is DOWN (Wolfgang Powisch) 11. Re: Snmptrap with Nagios (Thomas Guyot-Sionnest) 12. R: parameter inside notifications (Marco Borsani) 13. Re: Plugin for HP Proliant Hardware Health Monitoring (Marcus Fleige) 14. Router & L3 Device CPU & Memory Utilization (Navdeep Sidhu) 15. Re: Router & L3 Device CPU & Memory Utilization (chiel) 16. Re: Plugin for HP Proliant Hardware Health Monitoring (Sim) 17. hostgroup limit in 1.x? (abid dar) 18. PDI Power Distribution Unit monitoring (lunaslide) 19. Re: hostgroup limit in 1.x? (Marc Powell) ---------------------------------------------------------------------- Message: 1 Date: Mon, 16 Apr 2007 19:07:40 -0500 From: "Anton Krall" Subject: [Nagios-users] nagios checks To: Message-ID: <01e301c78084$6b0d7170$41285450$@com.mx> Content-Type: text/plain; charset="us-ascii" Guys.. I have some nagios questions. 1. Is there a way to make users that can login thru the web interface and check hosts but disable them from getting email notifications of statuses? 2. I don't know why buyt nagios is checking services too fast for my taste, for example, ping service, I check the log and I get the first HOST ALERT: ipaq;DOWN;SOFT;1;CRITICAL - Host Unreachable (10.0.0.14) . . HOST ALERT: ipaq;DOWN;HARD;10;CRITICAL - Host Unreachable (10.0.0.14) SERVICE ALERT: ipaq;ping;CRITICAL;HARD;1;CRITICAL - Host Unreachable (10.0.0.14) But from the down soft 1 host alert to the 10th it only goes by like 1 second... why are those 10 soft check going by that fast? 3. Is there a way to disable hosts up down recovery notifications and just let the ping service alert me? Ive noticed that many times I get host downs and ups a lot but no ping service notifications.. seems my host check command is way to sensible... can this be mnodified? Hope Im not asking too many stupid questions :) AK ------------------------------ Message: 2 Date: Mon, 16 Apr 2007 20:27:20 -0400 From: "Morris, Patrick" Subject: Re: [Nagios-users] nagios checks To: "Anton Krall" , Message-ID: Content-Type: text/plain; charset="us-ascii" > 1. Is there a way to make users that can login thru the web > interface and check hosts but disable them from getting email > notifications of statuses? Yes. Set the contacts so they don't receive alerts using service_notification_options. See the docs about contact configuration here: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact > 2. I don't know why buyt nagios is checking services too fast > for my taste, for example, ping service, I check the log and > I get the first > > HOST ALERT: ipaq;DOWN;SOFT;1;CRITICAL - Host Unreachable (10.0.0.14) . > . > HOST ALERT: ipaq;DOWN;HARD;10;CRITICAL - Host Unreachable (10.0.0.14) > > SERVICE ALERT: ipaq;ping;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (10.0.0.14) > > But from the down soft 1 host alert to the 10th it only goes > by like 1 second... why are those 10 soft check going by that fast? That's normal -- host checks will run serially as fast as they can. See the docs on host checks here: http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#host_checks > 3. Is there a way to disable hosts up down recovery > notifications and just let the ping service alert me? Ive > noticed that many times I get host downs and ups a lot but no > ping service notifications.. seems my host check command is > way to sensible... can this be mnodified? If you don't want host check functionality, use a host check that will never go down (check_dummy is a good plugin to use for this). ------------------------------ Message: 3 Date: Mon, 16 Apr 2007 20:30:46 -0400 From: "Simon Marcil" Subject: [Nagios-users] StatusMap not Displaying To: Message-ID: Content-Type: text/plain; charset="us-ascii" I have Nagios 2.9 installed on OpenSuSE 10.2. The following are installed * lgd * gd-devel * libpng * libpng-devel * libjpeg * libjpeg-devel * zlib * zlib-devel Nagios compiled without errors and statusmap.cgi is present. When i try to access the statusmap page i get the normal page but no image. I get a square with an X. If i move my mouse around this blank space (where the image should be) i get the popupswith the host info... Any ideas? Thanks. Simon -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Mon, 16 Apr 2007 20:54:33 -0400 From: Thomas Guyot-Sionnest Subject: Re: [Nagios-users] nagios checks Cc: Anton Krall , nagios-users at lists.sourceforge.net Message-ID: <46241AC9.6000600 at aei.ca> Content-Type: text/plain; charset=ISO-8859-1 On 16/04/07 08:27 PM, Morris, Patrick wrote: >> 1. Is there a way to make users that can login thru the web >> interface and check hosts but disable them from getting email >> notifications of statuses? > > Yes. Set the contacts so they don't receive alerts using > service_notification_options. See the docs about contact configuration > here: > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact Names in CGI configuration don't need to be Nagios contacts. The only difference that I know of it that the CGI will fill-in your name automatically in commands. >> 3. Is there a way to disable hosts up down recovery >> notifications and just let the ping service alert me? Ive >> noticed that many times I get host downs and ups a lot but no >> ping service notifications.. seems my host check command is >> way to sensible... can this be mnodified? > > If you don't want host check functionality, use a host check that will > never go down (check_dummy is a good plugin to use for this). What actually happens when a service go down is that Nagios runs the Host check and sends a notification only if the host check returns UP. This way you won't get paged for all services on the host when the host is down. Thomas ------------------------------ Message: 5 Date: Tue, 17 Apr 2007 01:24:32 -0400 From: Mukta Sharma Subject: [Nagios-users] status map problem in nagios To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=us-ascii Hi, I installed the nagios on my system but not able to run the status map, i tried to run it by installing the gdlib, libpng and libjpeg packages. Can anyone please tell me the right procedure to do this. Some internal server error is coming when i clicked on the statusmap. Thanks and Regards Mukta Sharma M.S Student, Computer Science. The George Washington University ------------------------------ Message: 6 Date: Tue, 17 Apr 2007 01:53:04 -0400 From: "Morris, Patrick" Subject: Re: [Nagios-users] status map problem in nagios To: "Mukta Sharma" , Message-ID: Content-Type: text/plain; charset="us-ascii" > I installed the nagios on my system but not able to run the > status map, i tried to run it by installing the gdlib, libpng > and libjpeg packages. > > Can anyone please tell me the right procedure to do this. > > Some internal server error is coming when i clicked on the statusmap. Which error? ------------------------------ Message: 7 Date: Tue, 17 Apr 2007 08:54:22 +0200 From: Aritz.Lazkano at DaimlerChrysler.com Subject: [Nagios-users] Snmptrap with Nagios To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="us-ascii" Hello. I have to monitor a "thing" that works with snmptraps, but I don`t know what I have to do. I have read something about check_dummy How is it works? And then what i have to do, Create a service with passice_ check activate, and using the check_dummy command? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 8 Date: Tue, 17 Apr 2007 09:08:38 +0200 From: Michael Schwartzkopff Subject: Re: [Nagios-users] Snmptrap with Nagios To: nagios-users at lists.sourceforge.net Message-ID: <200704170908.38881.misch at multinet.de> Content-Type: text/plain; charset="utf-8" Am Dienstag, 17. April 2007 08:54 schrieb Aritz.Lazkano at daimlerchrysler.com: > Hello. > > I have to monitor a "thing" that works with snmptraps, but I don`t know > what I have to do. > I have read something about check_dummy How is it works? > And then what i have to do, Create a service with passice_ check activate, > and using the check_dummy command? > Thanks, see: http://nagios.sourceforge.net/docs/3_0/int-snmptrap.html -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------ Message: 9 Date: Tue, 17 Apr 2007 00:14:13 -0700 From: Mike Hamrick Subject: Re: [Nagios-users] Snmptrap with Nagios To: Aritz.Lazkano at DaimlerChrysler.com Cc: nagios-users at lists.sourceforge.net Message-ID: <200704170714.l3H7EDOp025070 at muppetlabs.com> > I have to monitor a "thing" that works with snmptraps, but I don`t know > what I have to do. You need to have a machine that listens for SNMP traps. The program snmptrapd does this, it comes with net-snmp package. This daemon writes the trap info to the system log, or alternately runs a program and passes it the trap information. That program can then submit a check to nagios using NSCA or by writing to the nagios.cmd pipe. I found this article to be very helpful: http://www.samag.com/documents/s=9559/sam0503g/ Mike ------------------------------ Message: 10 Date: Tue, 17 Apr 2007 09:19:27 +0200 From: Wolfgang Powisch Subject: [Nagios-users] NDUUtils and Statechanges while a Host is DOWN To: nagios-users at lists.sourceforge.net Message-ID: <462474FF.7090208 at powo.priv.at> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Hello, I've built a custom Web-Interface which generates Service-Availability Reports from Nagios/NDO Database. I'm using the tables nagios_servicestatus to determine the current state and nagios_statehistory to read out the history of a specific service. Today I noticed, that there are no entries for a specific Service in the statehistory table while the host has been considered as DOWN. so I couldn't see an outage (which effected the complete host) in the Service-Availability-Report. Is this an expected behaviour, that this state-changes are not send to NDO ? (If yes, can you explain the reason) What will be the correct way to query Availability and outages of a single service ? -- best regards, Wolfgang Powisch ------------------------------ Message: 11 Date: Tue, 17 Apr 2007 03:23:10 -0400 From: Thomas Guyot-Sionnest Subject: Re: [Nagios-users] Snmptrap with Nagios To: Aritz.Lazkano at DaimlerChrysler.com Cc: nagios-users at lists.sourceforge.net Message-ID: <462475DE.8040000 at aei.ca> Content-Type: text/plain; charset=ISO-8859-1 On 17/04/07 02:54 AM, Aritz.Lazkano at DaimlerChrysler.com wrote: > > Hello. > > I have to monitor a "thing" that works with snmptraps, but I don`t know > what I have to do. > I have read something about check_dummy How is it works? > And then what i have to do, Create a service with passice_ check > activate, and using the check_dummy command? First you need a trap handler properly set up to return passive results. I use SNMPTT (http://www.snmptt.org/) though you may want to look at OpsView (http://www.opsview.org/) as is seems to do a great job at simplifying the trap setup. Then you set up the service as "volatile". People usually disable active checks and use freshness checking to get the trap reset automatically after some time. If you rather want the service to stay in a non-OK state until someone change it you can make it active (It won't be scheduled if volatile) and have someone force an active check to reset the trap. In either case it the check command should looks like: check_command check_dummy!0!Trap reset on $LONGDATETIME$ and check_dummy should run something like: $USER1$/check_dummy $ARG1$ $ARG2$ Thomas ------------------------------ Message: 12 Date: Tue, 17 Apr 2007 09:31:41 +0200 From: "Marco Borsani" Subject: [Nagios-users] R: parameter inside notifications To: "'Kyle O'Donnell'" Cc: nagios-users at lists.sourceforge.net Message-ID: <005701c780c2$71ec70c0$0900d40a at intranet.it.net> Content-Type: text/plain; charset="iso-8859-1" That macro could be ok, but I am running Nagios 1.4, not Nagios 2.0 -----Messaggio originale----- Da: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] Per conto di Kyle O'Donnell Inviato: luned? 16 aprile 2007 18.28 A: Marco Borsani Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] parameter inside notifications Check the the nagios macros definitions: http://nagios.sourceforge.net/docs/2_0/macros.html $SERVICECHECKCOMMAND$ might meed your needs. --Kyle On 4/16/07, Marco Borsani wrote: > > > Hi all ! > > > > I'd like to insert the command parameters inside the notifications. > > > > Reading the manual it does not seem possible, is it corrects ? > > > > Marco Borsani > Technical Operation > > tel.: +390104310115 > e-fax: +390683175950 > * m.borsani at it.net > > ITnet S.r.l. > Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. > Via Pacinotti, 39 > 16151 - Genova > > > In ottemperanza al D. lgs 196/03 in materia di protezione dei dati > personali, le informazioni contenute in questo messaggio sono strettamente > riservate e sono esclusivamente indirizzate al destinatario indicato (oppure > alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, > riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui > aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il > mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio > erroneamente ricevuto. > > According to Italy's new data protection code (Legislative Decree no. > 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning > privacy, the information contained in this e-mail is confidential and is > intended for the addressee only. If you are not the correct recipient, > please note that any use, dissemination or copy of this document/information > is strictly prohibited.If you have received this message in error, you > should destroy it and please notify us immediately by e-mail. > > > > ------------------------------ Message: 13 Date: Tue, 17 Apr 2007 11:02:06 +0200 From: Marcus Fleige Subject: Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring To: Gerhard Lausser Cc: nagios-users at lists.sourceforge.net Message-ID: <46248D0E.20007 at de.rhenus.com> Content-Type: text/plain; charset=UTF-8; format=flowed Hey, Gerhard Lausser schrieb am 16.04.2007 17:15 Uhr: > Hi Marcus, > > i can understand, not-so-important servers are not fully equipped. > I will introduce an option like "-b ps:3,..." to blacklist the named > components (skip checking power supply #3 in this example). > > Maybe by the end of the week. Keep an eye on > http://www.consol.com/opensource/nagios/check-hpasm (the broken download > link has been fixed). Great, thanks a lot! After that is finished, i'm looking forward to deploy the check throughout my network. :-) Regards, Marcus Fleige ------------------------------ Message: 14 Date: Tue, 17 Apr 2007 14:32:37 +0530 From: "Navdeep Sidhu" Subject: [Nagios-users] Router & L3 Device CPU & Memory Utilization To: Message-ID: <745C9242AACB2D468091BC33BFD668D002B4CDF6 at pb-chd-mbx01.pjb.ttsl.com> Content-Type: text/plain; charset="us-ascii" Hi I'm using Nagios 2.8 version & right now I'm using Nagios to monitor the server resources like HDD, CPU, Memory & Ping etc. Now I want to monitor router & layer 3 CPU & memory utilization. So please suggest me the way forward. Thanks in advance. Navdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 15 Date: Tue, 17 Apr 2007 12:02:43 +0200 From: "chiel" Subject: Re: [Nagios-users] Router & L3 Device CPU & Memory Utilization To: Message-ID: <006f01c780d7$8ddaa8f0$760010ac at michiel> Content-Type: text/plain; charset="iso-8859-1" Router & L3 Device CPU & Memory UtilizationYou can use check_snmp and provide the MIB. Or take a look at the following website: http://nagios.manubulon.com/ It has some standard scripts that check the cpu/mem/interface for a router. ----- Original Message ----- From: Navdeep Sidhu To: nagios-users at lists.sourceforge.net Sent: Tuesday, April 17, 2007 11:02 AM Subject: [Nagios-users] Router & L3 Device CPU & Memory Utilization Hi I'm using Nagios 2.8 version & right now I'm using Nagios to monitor the server resources like HDD, CPU, Memory & Ping etc. Now I want to monitor router & layer 3 CPU & memory utilization. So please suggest me the way forward. Thanks in advance. Navdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------ ------ ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------------------------------------------------ ------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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... ------------------------------ Message: 16 Date: Tue, 17 Apr 2007 15:22:18 +0200 From: Sim Subject: Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring To: Gerhard.Lausser at consol.de, nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed I have this problem, I can run check_hpasm only once: Thanks for reply ---------------------------------------------- # service hpasm start Starting Proliant System Health Monitor (hpasmd): [ SUCCESS ] Starting Foundation Agents (cmafdtn): cmathreshd cmahostd cmapeerd Starting Threshold agent (cmathreshd): [ SUCCESS ] Starting Host agent (cmahostd): [ SUCCESS ] Starting SNMP Peer (cmapeerd): [ SUCCESS ] Starting Server Agents (cmasvr): cmastdeqd cmahealthd cmaperfd Starting Standard Equipment agent (cmastdeqd): [ SUCCESS ] Starting Health agent (cmahealthd): [ SUCCESS ] Starting Performance agent (cmaperfd): [ SUCCESS ] Starting Storage Agents (cmastor): cmaeventd cmaidad cmafcad cmaided cmascsid cmasasd Starting Storage Event Logger (cmaeventd): [ SUCCESS ] Starting IDA agent (cmaidad): [ SUCCESS ] Starting FCA agent (cmafcad): [ SUCCESS ] Starting IDE agent (cmaided): [ SUCCESS ] Starting SCSI agent (cmascsid): [ SUCCESS ] Starting SAS agent (cmasasd): [ SUCCESS ] hpasm: Server Management is enabled ---------------------------------------------- # ./check_hpasm -v checking hpasmd process System :proliant dl380 g4 [...] dimm 1 at 0 is ok dimm 2 at 0 is ok OK - hardware working fine ---------------------------------------------- # ./check_hpasm -v checking hpasmd process UNKNOWN - multiple hpasmd procs ---------------------------------------------- ------------------------------ Message: 17 Date: Tue, 17 Apr 2007 11:39:38 -0700 (PDT) From: abid dar Subject: [Nagios-users] hostgroup limit in 1.x? To: Nagios-users at lists.sourceforge.net Message-ID: <543546.95201.qm at web36811.mail.mud.yahoo.com> Content-Type: text/plain; charset=ascii I tried searching online but could not find out if there is a limit to number of hosts that can be added to a particular hostgroup in nagios 1.x ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------ Message: 18 Date: Tue, 17 Apr 2007 11:50:12 -0700 From: lunaslide Subject: [Nagios-users] PDI Power Distribution Unit monitoring To: nagios-users at lists.sourceforge.net Message-ID: <462516E4.3050501 at 23.org> Content-Type: text/plain; charset=ISO-8859-1 I'm seeking information on monitoring power distribution units manufactured by Power Distribution, Inc. (PDI) in our data center. I've been searching around and there is little to find. If anyone is doing this with Nagios I'd love to hear about it. ------------------------------ Message: 19 Date: Tue, 17 Apr 2007 13:58:44 -0500 From: "Marc Powell" Subject: Re: [Nagios-users] hostgroup limit in 1.x? To: Message-ID: Content-Type: text/plain; charset="US-ASCII" > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of abid dar > Sent: Tuesday, April 17, 2007 1:40 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hostgroup limit in 1.x? > > I tried searching online but could not find out if there is a limit to > number of hosts that can be added to a particular hostgroup in nagios 1.x > ? Indirectly, yes. There's no limit to the number of hosts but there is a limit to the number of characters per line of config file that nagios will read in. The default, MAX_XODTEMPLATE_INPUT_BUFFER in xdata/xodtemplate.h, is 8196 characters under nagios-1. I've had success in the past increasing that to 65535 and have had some _very_ long hostgroup members lines. In fact, that's what the default is in nagios-2. -- Marc ------------------------------ ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 11, Issue 21 ******************************************** ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 18 10:56:30 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 18 Apr 2007 10:56:30 +0200 Subject: whether we (as a user of Nagios tool) will beallowed to modify the shell prg or not In-Reply-To: <4625D252.8070700@its-lehmann.de> References: <8F21AD7B7B42F540A179BD35126305B39CDAD7@IGTEBLREXC01.igatecorp.com> <8F21AD7B7B42F540A179BD35126305B39CDB77@IGTEBLREXC01.igatecorp.com> <4625D252.8070700@its-lehmann.de> Message-ID: <4625DD3E.3080505@op5.se> Arno Lehmann wrote: > > If, after modifying the core program, it's ok to still use the name > Nagios is another question. You'll have to discuss that with Ethan. > It is. The GPL expressly permits it. > But, reading your original mail, I suppose it might be best for you to > first read and understand the manual and the license and then ask for > clarifications or help when you encounter specific problems. The points > you asked are, IMO, both clearly described in the documentation > available at the project web site and with the source. > Indeed. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe.stringfellow at liverpool.com Wed Apr 18 10:44:29 2007 From: joe.stringfellow at liverpool.com (joe.stringfellow at liverpool.com) Date: Wed, 18 Apr 2007 09:44:29 +0100 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: References: Message-ID: I have been reading this check_hpasm thread and looked at some of the documentation which seems to suggest the plugin is used for monitoring HP proliant hardware that is only running a linux system. Does anyone know of any tweaks or similar plugins that can get the same sort of information from Proliant servers running Windows. Or a plugin that can take the data gleamed from Insight Manager and display it into Nagios. If anyone can point me in the right direction to a URL that provides further reading that would be greatly appreciated. Many thanks for any and all comments. Joe Sim Sent by: nagios-users-bounces at lists.sourceforge.net 17/04/2007 14:22 To Gerhard.Lausser at consol.de, nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring I have this problem, I can run check_hpasm only once: Thanks for reply ---------------------------------------------- # service hpasm start Starting Proliant System Health Monitor (hpasmd): [ SUCCESS ] Starting Foundation Agents (cmafdtn): cmathreshd cmahostd cmapeerd Starting Threshold agent (cmathreshd): [ SUCCESS ] Starting Host agent (cmahostd): [ SUCCESS ] Starting SNMP Peer (cmapeerd): [ SUCCESS ] Starting Server Agents (cmasvr): cmastdeqd cmahealthd cmaperfd Starting Standard Equipment agent (cmastdeqd): [ SUCCESS ] Starting Health agent (cmahealthd): [ SUCCESS ] Starting Performance agent (cmaperfd): [ SUCCESS ] Starting Storage Agents (cmastor): cmaeventd cmaidad cmafcad cmaided cmascsid cmasasd Starting Storage Event Logger (cmaeventd): [ SUCCESS ] Starting IDA agent (cmaidad): [ SUCCESS ] Starting FCA agent (cmafcad): [ SUCCESS ] Starting IDE agent (cmaided): [ SUCCESS ] Starting SCSI agent (cmascsid): [ SUCCESS ] Starting SAS agent (cmasasd): [ SUCCESS ] hpasm: Server Management is enabled ---------------------------------------------- # ./check_hpasm -v checking hpasmd process System :proliant dl380 g4 [...] dimm 1 at 0 is ok dimm 2 at 0 is ok OK - hardware working fine ---------------------------------------------- # ./check_hpasm -v checking hpasmd process UNKNOWN - multiple hpasmd procs ---------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ******************** IMPORTANT NOTICE This email (including any attachments) is meant only for the intended recipient. It may also contain confidential and privileged information. If you are not the intended recipient, any reliance on, use, disclosure, distribution or copying of this email or attachments is strictly prohibited. Please notify the sender immediately by email if you have received this message by mistake and delete the email and all attachments. Any views or opinions in this email are solely those of the author and do not necessarily represent those of Trinity Mirror PLC or its associated group companies (hereinafter referred to as "TM Group"). TM Group accept no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Although every reasonable effort is made to keep its network free from viruses, TM Group accept no liability for any virus transmitted by this email or any attachments and the recipient should use up-to-date virus checking software. Email to or from this address may be subject to interception or monitoring for operational reasons or for lawful business practices. Trinity Mirror PLC is the parent company of the Trinity Mirror group of companies and is registered in England No 82548, with its address at One Canada Square, Canary Wharf, London E14 5AP. ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Apr 18 11:45:26 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 18 Apr 2007 10:45:26 +0100 Subject: whether we (as a user of Nagios tool) will be allowed to modify the shell prg or not In-Reply-To: <8F21AD7B7B42F540A179BD35126305B39CDAD7@IGTEBLREXC01.igatecorp.com> References: <8F21AD7B7B42F540A179BD35126305B39CDAD7@IGTEBLREXC01.igatecorp.com> Message-ID: <4625E8B6.3000206@googlemail.com> go read the docs, it's all completely configurable, for example I have both emails and windows net send alerts and you can modify the contents to suit your own needs. read the __all__ the docs at least twice before posting, they are very good and will be able to answers these basic questions. post if you have read every page of the docs twice and do not understand something. -h Hari Sekhon Radha Gollapinni wrote: > > HI all > > > > If any one of you know the solution for my question please do reply to > the same mail Id from which I am sending my mail. > > > > My doubt is: > > > > 1.whether we (as a user of Nagios tool) will be allowed to modify the > shell program internally or not > > > > 2. How the alert message is getting created when ever something is > happened? Which method is responsible for this activity? > > Whether we can modify this method to include the hyperlink/url which > we got from an external source? > > Thanking you all > > > > > > Regards > > > > Radha Gollapinni > > > > > ----------------------------------------------------------------DISCLAIMER--------------------------------------------------------- > Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual > or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under > applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin at igate.com > and delete this EMAIL including any attachments > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Apr 18 12:06:05 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 18 Apr 2007 11:06:05 +0100 Subject: check_dhcp In-Reply-To: <460818.22300.qm@web36809.mail.mud.yahoo.com> References: <460818.22300.qm@web36809.mail.mud.yahoo.com> Message-ID: <4625ED8D.3090308@googlemail.com> the first test just checks to see if someone gives a dhcp lease. the second will fail unless that specific server gives a dhcp lease. it's possible you have a dhcp server trying to give a 0 second lease or the plugin may have a bug, are you sure it said 1 DHCPOFFER and max lease time 0 seconds? try -vvv to see who is giving you these leases. You generally only need 1 dhcp server per subnet or if you have more you should make sure they have non-overlapping address pools. I actually made a wrapper script to this to actually warn me of rogue dhcp servers on the network after an incident with some clumsy person installing vmware with it's dhcp and sending a laptop off to the wrong subnet... so you might want to check why the second attempt says you had 3 DHCPOFFERS. I would investigate if that was the case on my network... -h Hari Sekhon abid dar wrote: > Having a weird situation.. > > /usr/local/nagios/libexec/check_dhcp > DHCP ok: Received 1 DHCPOFFER(s), max lease time = 0 sec. > > /usr/local/nagios/libexec/check_dhcp -s xx.xxx.xxx.xxx (our dhcp server) > DHCP problem: Received 3 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 284400 sec. > > why is it getting a DHCP okay when I do flat check_dhcp but when I specify I dont get a valid response. > > Also, the verbose option does not give any more information.. but thats not really important.. > > Any thoughts? > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luca at jewelrydesign.com.hk Wed Apr 18 12:12:17 2007 From: luca at jewelrydesign.com.hk (Luca Fornasari) Date: Wed, 18 Apr 2007 18:12:17 +0800 Subject: check_dhcp In-Reply-To: <4625ED8D.3090308@googlemail.com> References: <460818.22300.qm@web36809.mail.mud.yahoo.com> <4625ED8D.3090308@googlemail.com> Message-ID: <4625EF01.4040609@jewelrydesign.com.hk> dhcp3 has built-in failover; maybe you also have dhcp-relay? anyway try -vvv Luca ----- Original Message ----- *From:* Hari Sekhon *Sent:* 04/18/2007 6:06:05 PM +0800 *To:* abid dar *CC:* Nagios Users mailinglist *Subject:* [Nagios-users] check_dhcp > try -vvv to see who is giving you these leases. > > You generally only need 1 dhcp server per subnet or if you have more you > should make sure they have non-overlapping address pools. I actually > made a wrapper script to this to actually warn me of rogue dhcp servers > on the network after an incident with some clumsy person installing > vmware with it's dhcp and sending a laptop off to the wrong subnet... so > you might want to check why the second attempt says you had 3 DHCPOFFERS. > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radha.Gollapinni at igate.com Wed Apr 18 11:57:40 2007 From: Radha.Gollapinni at igate.com (Radha Gollapinni) Date: Wed, 18 Apr 2007 15:27:40 +0530 Subject: sorry every one Message-ID: <8F21AD7B7B42F540A179BD35126305B39CDD61@IGTEBLREXC01.igatecorp.com> Sorry every one. Almost all mails I got saying the same thing. I am going through those things thoroughly. Actually I want to know how exactly the alerts are getting generated. That's why I asked Sorry for giving trouble to all of you. And thanks for whom replied me also. Regards Radha Gollapinni ----------------------------------------------------------------DISCLAIMER--------------------------------------------------------- Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin at igate.com and delete this EMAIL including any attachments -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Apr 18 12:27:17 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 18 Apr 2007 11:27:17 +0100 Subject: sorry every one In-Reply-To: <8F21AD7B7B42F540A179BD35126305B39CDD61@IGTEBLREXC01.igatecorp.com> References: <8F21AD7B7B42F540A179BD35126305B39CDD61@IGTEBLREXC01.igatecorp.com> Message-ID: <4625F285.5030400@googlemail.com> i'll throw you an extra bone. not sure about new installs but in mine install it's in a file called misccommand.cfg Very basically there you define the command to execute as a notification - the definition looks similar to all nagios definitions each command is within curly braces and one line for each setting. Use that command in your contact definitions. the file misccommands.cfg or whatever you have is sourced from nagios.cfg or your equivalent. -h Hari Sekhon Radha Gollapinni wrote: > > Sorry every one. Almost all mails I got saying the same thing. > > I am going through those things thoroughly. > > Actually I want to know how exactly the alerts are getting generated. > That's why I asked > > Sorry for giving trouble to all of you. And thanks for whom replied me > also. > > > > Regards > > Radha Gollapinni > > > > > ----------------------------------------------------------------DISCLAIMER--------------------------------------------------------- > Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual > or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under > applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin at igate.com > and delete this EMAIL including any attachments > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Apr 18 14:26:03 2007 From: marc at ena.com (Marc Powell) Date: Wed, 18 Apr 2007 07:26:03 -0500 Subject: check_vhost In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Edwin Zoeller > Sent: Wednesday, April 18, 2007 2:07 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_vhost > > Does check_vhost have a timeout value? I would like to increase ours to at > least 20 seconds. Run '/path/to/check_vhost --help' from the command line. This isn't a standard plugin so hopefully it follows plugin standards. If not you'll have to look at the source for the plugin to see or tell us where you got it so we can look for you. If that's just a name for a command definition that uses some other plugin, do the same for that plugin. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fssilva at gmail.com Wed Apr 18 15:01:17 2007 From: fssilva at gmail.com (Fabio Silva) Date: Wed, 18 Apr 2007 10:01:17 -0300 Subject: Question Message-ID: Hi all, is there any way to nagios get information about the disk if it will fail ... Like insight manager from HP does... The server send a trap to the insightmanager and the insightmanager know that the information is about a problem in a disk... Anybody has any solution or idea on how make it? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Wed Apr 18 15:09:47 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 18 Apr 2007 15:09:47 +0200 Subject: Question In-Reply-To: References: Message-ID: <4626189B.1080500@telcotec.se> Fabio Silva wrote: > Hi all, is there any way to nagios get information about the disk if it > will > fail ... Like insight manager from HP does... The server send a trap to the > insightmanager and the insightmanager know that the information is about a > problem in a disk... > > Anybody has any solution or idea on how make it? I don't know what insight manager from HP does, it would have helped if you told us. I take it that the overall problem you want to solve is monitoring disk(s). Have you tried check_disk for space problems and check_sensors for S.M.A.R.T. disks. check_linux_raid for Linux software RAID. On nagiosexchange you'll find some Solaris specific checks for disk health including mirrored devices. I do believe I've seen some HP specific ones as well. If you state your problem more clearly, it's easier to help you out. Cheers /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From delgallo at pic.es Wed Apr 18 15:19:08 2007 From: delgallo at pic.es (Alessandro del Gallo) Date: Wed, 18 Apr 2007 15:19:08 +0200 Subject: updates killing my files Message-ID: <46261ACC.9060105@pic.es> Hello, I think we have a poblem with Red Hat rpm's. When an update occurs, rpm erases all the files I modofied in /usr/share/nagios/ without making a backup. F.E. the original /usr/share/nagios/side.html is orrible, I modify it and the update trash it for me. thanks. the original /usr/share/nagios/index.html was very bad, I modify it and the update trash it for me. thanks. could the rpm backup these files like it does for the ones in /etc/nagios ?? Now I can do it for me, but i can be good for everybody Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed Apr 18 15:37:46 2007 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 18 Apr 2007 09:37:46 -0400 Subject: updates killing my files In-Reply-To: <46261ACC.9060105@pic.es> References: <46261ACC.9060105@pic.es> Message-ID: <302ce8b50704180637x77933f63qa7ba2bfbf63b011d@mail.gmail.com> On 4/18/07, Alessandro del Gallo wrote: > Hello, I think we have a poblem with Red Hat rpm's. > When an update occurs, rpm erases all the files I modofied > in /usr/share/nagios/ without making a backup. This is how the rpm is built. The files in /etc/ are listed as config files with the %noreplace option, so they get left alone. The files in /usr/share/ get no such protection. While I would like to see the nuvola theme made the default, I understand this behavior of rpm, and just work around it. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Wed Apr 18 15:38:46 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Wed, 18 Apr 2007 15:38:46 +0200 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: <4625D03A.6070109@de.rhenus.com> References: <012b01c77ded$6e9e2e90$0202fea9@int.consol.de> <462335F0.6060804@de.rhenus.com> <015501c7803a$019d6820$0202fea9@int.consol.de> <46248D0E.20007@de.rhenus.com> <01b001c780fa$d187dd70$0202fea9@int.consol.de> <4625D03A.6070109@de.rhenus.com> Message-ID: <003401c781be$e4e12c40$0202fea9@int.consol.de> Hi, the "official" 1.3 is now available at http://www.consol.de/opensource/nagios/check-hpasm There's an option --with-degrees for ./configure which lets you chose between temperatures displayed as celsius or fahrenheit. The second and important new thing is the --blacklist option. And for Sim i added Trustix support. Have fun, Gerhard p.s. there was a question wether something like hpasm exists for Windows. I don't monitor Windows servers, i think there is a snmp-based plugin check_compaq_health. No idea, what has to be installed on the machine. > -----Urspr?ngliche Nachricht----- > Von: Marcus Fleige [mailto:marcus.fleige at de.rhenus.com] > Gesendet: Mittwoch, 18. April 2007 10:01 > An: Gerhard Lausser; nagios-users at lists.sourceforge.net > Betreff: Re: AW: AW: [Nagios-users] Plugin for HP Proliant > Hardware Health Monitoring > > Hi Gerhard, > > Gerhard Lausser schrieb am 17.04.2007 16:15 Uhr: > > Hallo Marcus, > > > > ich habe check_hpasm-1.3 angeh?ngt. K?nntest du bitte > ausprobieren, ob > es so passt? > > Du m?sstest mit hpasmcli die Nummer des fehlenden > Netzteils rausfinden > und dieses dann als blacklisted ?bergeben. > > check_hpasm -v -b p: > > Alternativ kannst du auch in eine Datei dieses "p:" > reinschreiben > und dem -b Parameter den Dateinamen mitgeben. > > I better write in english, as some mailinglist members have > their difficulties with german. ;-) > > Thanks a lot for the new version! The blacklist switch works > like a charme, both as an argument and as a file. And even > better: in the verbose output the problem persists, with the > notice of it being blacklisted. > > I'll be deploying this version asap. Thanks again, very good work! > > Regards, > > Marcus Fleige > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Apr 18 15:57:25 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 18 Apr 2007 09:57:25 -0400 Subject: sorry every one In-Reply-To: <8F21AD7B7B42F540A179BD35126305B39CDD61@IGTEBLREXC01.igatecorp.com> References: <8F21AD7B7B42F540A179BD35126305B39CDD61@IGTEBLREXC01.igatecorp.com> Message-ID: > Actually I want to know how exactly the alerts are getting > generated. That's why I asked How alerts are generated varies; they are sent by a program external to nagios that you define in your configuration. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Wed Apr 18 16:26:31 2007 From: weinerm at ccf.org (Weiner, Michael) Date: Wed, 18 Apr 2007 10:26:31 -0400 Subject: Announce - Nagios to Cacti In-Reply-To: <3745c6370704171316h20130beex4db72b804a255315@mail.gmail.com> References: <3745c6370704171316h20130beex4db72b804a255315@mail.gmail.com> Message-ID: Has anyone tried this with nagiosgraph instead of n2rdd ? Thanks in advance Michael Weiner?| ?Lead Analyst? |??Lerner Research Institute Cleveland Clinic? | ?9500 Euclid Ave. ? | ?Cleveland, OH 44195? |?(216) 445-7454 ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Detrak User Sent: Tuesday, April 17, 2007 4:16 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Announce - Nagios to Cacti Hi, I have release for my customers a project to interface Nagios and Cacti. Nagios does the check and store perfdata with n2rrd in rrd base. Nagios2Cacti will load Nagios configuration with Nagios::Object Perl library and load N2RRD configuration and will create the configuration in Cacti to each Nagios services with perfdata configurate in N2RRD. By the way, you can use Nagios and Cacti for their best features : * nagios to supervise, schedule, alerting * cacti to graph, reporting in sexy interface this project is accessible on sourceforge : http://sourceforge.net/projects/nagios2cacti/ Best regards, Det. Cleveland Clinic is ranked one of the top 3 hospitals in America by U.S.News & World Report. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. =================================== ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Wed Apr 18 16:55:27 2007 From: snyper9311 at yahoo.com (abid dar) Date: Wed, 18 Apr 2007 07:55:27 -0700 (PDT) Subject: check_dhcp Message-ID: <193951.27545.qm@web36811.mail.mud.yahoo.com> I've tried that, " ./check_dhcp -vvv DHCP ok: Received 1 DHCPOFFER(s), max lease time = 0 sec." if I try passing any argument while trying to specify IP I get this ./check_dhcp -s 10 DHCP problem: Received 3 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 284400 sec. I tried to see if I can find another dhcp plugin but no luck. ----- Original Message ---- From: Luca Fornasari To: Hari Sekhon Cc: abid dar ; Nagios Users mailinglist Sent: Wednesday, April 18, 2007 6:12:17 AM Subject: Re: [Nagios-users] check_dhcp dhcp3 has built-in failover; maybe you also have dhcp-relay? anyway try -vvv Luca ----- Original Message ----- *From:* Hari Sekhon *Sent:* 04/18/2007 6:06:05 PM +0800 *To:* abid dar *CC:* Nagios Users mailinglist *Subject:* [Nagios-users] check_dhcp > try -vvv to see who is giving you these leases. > > You generally only need 1 dhcp server per subnet or if you have more you > should make sure they have non-overlapping address pools. I actually > made a wrapper script to this to actually warn me of rogue dhcp servers > on the network after an incident with some clumsy person installing > vmware with it's dhcp and sending a laptop off to the wrong subnet... so > you might want to check why the second attempt says you had 3 DHCPOFFERS. > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 18 17:59:26 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 18 Apr 2007 16:59:26 +0100 Subject: check_dhcp In-Reply-To: <193951.27545.qm@web36811.mail.mud.yahoo.com> References: <193951.27545.qm@web36811.mail.mud.yahoo.com> Message-ID: <4626405E.9090409@googlemail.com> check_dhcp -V check_dhcp (nagios-plugins 1.4.2) 1.7 That's my version and it works fine, what doesn't yours say? -h Hari Sekhon abid dar wrote: > I've tried that, > > " ./check_dhcp -vvv > DHCP ok: Received 1 DHCPOFFER(s), max lease time = 0 sec." > > if I try passing any argument while trying to specify IP I get this > > ./check_dhcp -s 10 > DHCP problem: Received 3 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 284400 sec. > > > I tried to see if I can find another dhcp plugin but no luck. > > > > ----- Original Message ---- > From: Luca Fornasari > To: Hari Sekhon > Cc: abid dar ; Nagios Users mailinglist > Sent: Wednesday, April 18, 2007 6:12:17 AM > Subject: Re: [Nagios-users] check_dhcp > > dhcp3 has built-in failover; maybe you also have dhcp-relay? > anyway try -vvv > Luca > > ----- Original Message ----- > *From:* Hari Sekhon > *Sent:* 04/18/2007 6:06:05 PM +0800 > *To:* abid dar > *CC:* Nagios Users mailinglist > *Subject:* [Nagios-users] check_dhcp > > >> try -vvv to see who is giving you these leases. >> >> You generally only need 1 dhcp server per subnet or if you have more you >> should make sure they have non-overlapping address pools. I actually >> made a wrapper script to this to actually warn me of rogue dhcp servers >> on the network after an incident with some clumsy person installing >> vmware with it's dhcp and sending a laptop off to the wrong subnet... so >> you might want to check why the second attempt says you had 3 DHCPOFFERS. >> >> > > > > > __________________________________________________ > 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Janet.Post at excapsa.ca Wed Apr 18 18:15:54 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 18 Apr 2007 12:15:54 -0400 Subject: NDOUtils and Status Information Message-ID: Hello All, Is there a method to pull nagios status information from an NDOUtils database for nagios at start time? I have used nagios 1.4 for a long time, using the database for my status information. I had linuxHA set up to switch to start nagios on a second node should some natural disaster take my production nagios offline. The second nagios would gather all status information from the database and continue on as if nothing had happened. Other than the alert that told us of the demise of our server, there was little to no interruption in monitoring. Alerts stayed acknowledged. Scheduled Downtime stayed scheduled. Notifications we did not want to hear from anymore stayed muted. I have now upgraded to nagios 2.8 and installed NDOUtils so I can continue to work this way....however, I cannot seem to find a way for nagios to discover the status of the dead nagios host the way nagios 1.4 did so effortlessly. Am I missing something? Janet ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Apr 18 19:48:11 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 18 Apr 2007 10:48:11 -0700 Subject: NDOUtils and Status Information In-Reply-To: References: Message-ID: <20070418174811.GM27901@pmorris.usa.hp.com> On Wed, 18 Apr 2007, Janet Post wrote: > Hello All, > > Is there a method to pull nagios status information from an NDOUtils > database for nagios at start time? Not directly, no. ndoutils is still in development, and there's very little real integration between it and Nagios. You could write a script that pulled status data from the database and rebuilt the file on the failover side, but at this point there's not really an easier way to handle it (unless someone out there's written the script already). ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Wed Apr 18 20:00:23 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 18 Apr 2007 14:00:23 -0400 Subject: NDOUtils and Status Information In-Reply-To: <20070418174811.GM27901@pmorris.usa.hp.com> References: <20070418174811.GM27901@pmorris.usa.hp.com> Message-ID: As I suspected. I am half way through writing this script now..... :-) Thanks Patrick! -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: April 18, 2007 1:48 PM To: Janet Post Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDOUtils and Status Information On Wed, 18 Apr 2007, Janet Post wrote: > Hello All, > > Is there a method to pull nagios status information from an NDOUtils > database for nagios at start time? Not directly, no. ndoutils is still in development, and there's very little real integration between it and Nagios. You could write a script that pulled status data from the database and rebuilt the file on the failover side, but at this point there's not really an easier way to handle it (unless someone out there's written the script already). ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Apr 18 21:51:44 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 18 Apr 2007 21:51:44 +0200 (CEST) Subject: updates killing my files In-Reply-To: <302ce8b50704180637x77933f63qa7ba2bfbf63b011d@mail.gmail.com> References: <46261ACC.9060105@pic.es> <302ce8b50704180637x77933f63qa7ba2bfbf63b011d@mail.gmail.com> Message-ID: On Wed, 18 Apr 2007, Jim Perrin wrote: > On 4/18/07, Alessandro del Gallo wrote: >> Hello, I think we have a poblem with Red Hat rpm's. >> When an update occurs, rpm erases all the files I modofied >> in /usr/share/nagios/ without making a backup. > > This is how the rpm is built. The files in /etc/ are listed as config > files with the %noreplace option, so they get left alone. The files in > /usr/share/ get no such protection. While I would like to see the > nuvola theme made the default, I understand this behavior of rpm, and > just work around it. The easy workaround for me is: - copy index.html to index.html.SHIPPED - edit index.html to my liking - create a diff file (diff -u index.html.SHIPPED index.html > index.html.diff) Then after an package update I can apply the patch once again. Done this ever sinds 2.0b(something) untill present day 2.9 Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 19 00:16:22 2007 From: nagios-user at proy.org (Patrick Proy) Date: Thu, 19 Apr 2007 00:16:22 +0200 Subject: Router & L3 Device CPU & Memory Utilization In-Reply-To: <745C9242AACB2D468091BC33BFD668D002B4D666@pb-chd-mbx01.pjb.ttsl.com> References: <745C9242AACB2D468091BC33BFD668D002B4D666@pb-chd-mbx01.pjb.ttsl.com> Message-ID: <002b01c78207$3276d8e0$2900a8c0@telindus.intra> Hi, Have a look at the config examples here : http://nagios.manubulon.com/index_commands.html Patrick -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Navdeep Sidhu Envoy? : mercredi 18 avril 2007 10:17 ? : nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] Router & L3 Device CPU & Memory Utilization Hi I have installed all the SNMP related plugins at my nagios box. Now where should I specify SNMP string & other router related information like hostname? Thanks in advance. Regards Navdeep Singh Sidhu +91-9216709251 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Wednesday, April 18, 2007 12:44 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 11, Issue 21 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. nagios checks (Anton Krall) 2. Re: nagios checks (Morris, Patrick) 3. StatusMap not Displaying (Simon Marcil) 4. Re: nagios checks (Thomas Guyot-Sionnest) 5. status map problem in nagios (Mukta Sharma) 6. Re: status map problem in nagios (Morris, Patrick) 7. Snmptrap with Nagios (Aritz.Lazkano at DaimlerChrysler.com) 8. Re: Snmptrap with Nagios (Michael Schwartzkopff) 9. Re: Snmptrap with Nagios (Mike Hamrick) 10. NDUUtils and Statechanges while a Host is DOWN (Wolfgang Powisch) 11. Re: Snmptrap with Nagios (Thomas Guyot-Sionnest) 12. R: parameter inside notifications (Marco Borsani) 13. Re: Plugin for HP Proliant Hardware Health Monitoring (Marcus Fleige) 14. Router & L3 Device CPU & Memory Utilization (Navdeep Sidhu) 15. Re: Router & L3 Device CPU & Memory Utilization (chiel) 16. Re: Plugin for HP Proliant Hardware Health Monitoring (Sim) 17. hostgroup limit in 1.x? (abid dar) 18. PDI Power Distribution Unit monitoring (lunaslide) 19. Re: hostgroup limit in 1.x? (Marc Powell) ---------------------------------------------------------------------- Message: 1 Date: Mon, 16 Apr 2007 19:07:40 -0500 From: "Anton Krall" Subject: [Nagios-users] nagios checks To: Message-ID: <01e301c78084$6b0d7170$41285450$@com.mx> Content-Type: text/plain; charset="us-ascii" Guys.. I have some nagios questions. 1. Is there a way to make users that can login thru the web interface and check hosts but disable them from getting email notifications of statuses? 2. I don't know why buyt nagios is checking services too fast for my taste, for example, ping service, I check the log and I get the first HOST ALERT: ipaq;DOWN;SOFT;1;CRITICAL - Host Unreachable (10.0.0.14) . . HOST ALERT: ipaq;DOWN;HARD;10;CRITICAL - Host Unreachable (10.0.0.14) SERVICE ALERT: ipaq;ping;CRITICAL;HARD;1;CRITICAL - Host Unreachable (10.0.0.14) But from the down soft 1 host alert to the 10th it only goes by like 1 second... why are those 10 soft check going by that fast? 3. Is there a way to disable hosts up down recovery notifications and just let the ping service alert me? Ive noticed that many times I get host downs and ups a lot but no ping service notifications.. seems my host check command is way to sensible... can this be mnodified? Hope Im not asking too many stupid questions :) AK ------------------------------ Message: 2 Date: Mon, 16 Apr 2007 20:27:20 -0400 From: "Morris, Patrick" Subject: Re: [Nagios-users] nagios checks To: "Anton Krall" , Message-ID: Content-Type: text/plain; charset="us-ascii" > 1. Is there a way to make users that can login thru the web interface > and check hosts but disable them from getting email notifications of > statuses? Yes. Set the contacts so they don't receive alerts using service_notification_options. See the docs about contact configuration here: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact > 2. I don't know why buyt nagios is checking services too fast for my > taste, for example, ping service, I check the log and I get the first > > HOST ALERT: ipaq;DOWN;SOFT;1;CRITICAL - Host Unreachable (10.0.0.14) . > . > HOST ALERT: ipaq;DOWN;HARD;10;CRITICAL - Host Unreachable (10.0.0.14) > > SERVICE ALERT: ipaq;ping;CRITICAL;HARD;1;CRITICAL - Host Unreachable > (10.0.0.14) > > But from the down soft 1 host alert to the 10th it only goes by like > 1 second... why are those 10 soft check going by that fast? That's normal -- host checks will run serially as fast as they can. See the docs on host checks here: http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#host_checks > 3. Is there a way to disable hosts up down recovery notifications and > just let the ping service alert me? Ive noticed that many times I get > host downs and ups a lot but no ping service notifications.. seems my > host check command is way to sensible... can this be mnodified? If you don't want host check functionality, use a host check that will never go down (check_dummy is a good plugin to use for this). ------------------------------ Message: 3 Date: Mon, 16 Apr 2007 20:30:46 -0400 From: "Simon Marcil" Subject: [Nagios-users] StatusMap not Displaying To: Message-ID: Content-Type: text/plain; charset="us-ascii" I have Nagios 2.9 installed on OpenSuSE 10.2. The following are installed * lgd * gd-devel * libpng * libpng-devel * libjpeg * libjpeg-devel * zlib * zlib-devel Nagios compiled without errors and statusmap.cgi is present. When i try to access the statusmap page i get the normal page but no image. I get a square with an X. If i move my mouse around this blank space (where the image should be) i get the popupswith the host info... Any ideas? Thanks. Simon -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Mon, 16 Apr 2007 20:54:33 -0400 From: Thomas Guyot-Sionnest Subject: Re: [Nagios-users] nagios checks Cc: Anton Krall , nagios-users at lists.sourceforge.net Message-ID: <46241AC9.6000600 at aei.ca> Content-Type: text/plain; charset=ISO-8859-1 On 16/04/07 08:27 PM, Morris, Patrick wrote: >> 1. Is there a way to make users that can login thru the web interface >> and check hosts but disable them from getting email notifications of >> statuses? > > Yes. Set the contacts so they don't receive alerts using > service_notification_options. See the docs about contact configuration > here: > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact Names in CGI configuration don't need to be Nagios contacts. The only difference that I know of it that the CGI will fill-in your name automatically in commands. >> 3. Is there a way to disable hosts up down recovery notifications and >> just let the ping service alert me? Ive noticed that many times I get >> host downs and ups a lot but no ping service notifications.. seems my >> host check command is way to sensible... can this be mnodified? > > If you don't want host check functionality, use a host check that will > never go down (check_dummy is a good plugin to use for this). What actually happens when a service go down is that Nagios runs the Host check and sends a notification only if the host check returns UP. This way you won't get paged for all services on the host when the host is down. Thomas ------------------------------ Message: 5 Date: Tue, 17 Apr 2007 01:24:32 -0400 From: Mukta Sharma Subject: [Nagios-users] status map problem in nagios To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=us-ascii Hi, I installed the nagios on my system but not able to run the status map, i tried to run it by installing the gdlib, libpng and libjpeg packages. Can anyone please tell me the right procedure to do this. Some internal server error is coming when i clicked on the statusmap. Thanks and Regards Mukta Sharma M.S Student, Computer Science. The George Washington University ------------------------------ Message: 6 Date: Tue, 17 Apr 2007 01:53:04 -0400 From: "Morris, Patrick" Subject: Re: [Nagios-users] status map problem in nagios To: "Mukta Sharma" , Message-ID: Content-Type: text/plain; charset="us-ascii" > I installed the nagios on my system but not able to run the status > map, i tried to run it by installing the gdlib, libpng and libjpeg > packages. > > Can anyone please tell me the right procedure to do this. > > Some internal server error is coming when i clicked on the statusmap. Which error? ------------------------------ Message: 7 Date: Tue, 17 Apr 2007 08:54:22 +0200 From: Aritz.Lazkano at DaimlerChrysler.com Subject: [Nagios-users] Snmptrap with Nagios To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="us-ascii" Hello. I have to monitor a "thing" that works with snmptraps, but I don`t know what I have to do. I have read something about check_dummy How is it works? And then what i have to do, Create a service with passice_ check activate, and using the check_dummy command? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 8 Date: Tue, 17 Apr 2007 09:08:38 +0200 From: Michael Schwartzkopff Subject: Re: [Nagios-users] Snmptrap with Nagios To: nagios-users at lists.sourceforge.net Message-ID: <200704170908.38881.misch at multinet.de> Content-Type: text/plain; charset="utf-8" Am Dienstag, 17. April 2007 08:54 schrieb Aritz.Lazkano at daimlerchrysler.com: > Hello. > > I have to monitor a "thing" that works with snmptraps, but I don`t know > what I have to do. > I have read something about check_dummy How is it works? > And then what i have to do, Create a service with passice_ check activate, > and using the check_dummy command? > Thanks, see: http://nagios.sourceforge.net/docs/3_0/int-snmptrap.html -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------ Message: 9 Date: Tue, 17 Apr 2007 00:14:13 -0700 From: Mike Hamrick Subject: Re: [Nagios-users] Snmptrap with Nagios To: Aritz.Lazkano at DaimlerChrysler.com Cc: nagios-users at lists.sourceforge.net Message-ID: <200704170714.l3H7EDOp025070 at muppetlabs.com> > I have to monitor a "thing" that works with snmptraps, but I don`t know > what I have to do. You need to have a machine that listens for SNMP traps. The program snmptrapd does this, it comes with net-snmp package. This daemon writes the trap info to the system log, or alternately runs a program and passes it the trap information. That program can then submit a check to nagios using NSCA or by writing to the nagios.cmd pipe. I found this article to be very helpful: http://www.samag.com/documents/s=9559/sam0503g/ Mike ------------------------------ Message: 10 Date: Tue, 17 Apr 2007 09:19:27 +0200 From: Wolfgang Powisch Subject: [Nagios-users] NDUUtils and Statechanges while a Host is DOWN To: nagios-users at lists.sourceforge.net Message-ID: <462474FF.7090208 at powo.priv.at> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Hello, I've built a custom Web-Interface which generates Service-Availability Reports from Nagios/NDO Database. I'm using the tables nagios_servicestatus to determine the current state and nagios_statehistory to read out the history of a specific service. Today I noticed, that there are no entries for a specific Service in the statehistory table while the host has been considered as DOWN. so I couldn't see an outage (which effected the complete host) in the Service-Availability-Report. Is this an expected behaviour, that this state-changes are not send to NDO ? (If yes, can you explain the reason) What will be the correct way to query Availability and outages of a single service ? -- best regards, Wolfgang Powisch ------------------------------ Message: 11 Date: Tue, 17 Apr 2007 03:23:10 -0400 From: Thomas Guyot-Sionnest Subject: Re: [Nagios-users] Snmptrap with Nagios To: Aritz.Lazkano at DaimlerChrysler.com Cc: nagios-users at lists.sourceforge.net Message-ID: <462475DE.8040000 at aei.ca> Content-Type: text/plain; charset=ISO-8859-1 On 17/04/07 02:54 AM, Aritz.Lazkano at DaimlerChrysler.com wrote: > > Hello. > > I have to monitor a "thing" that works with snmptraps, but I don`t know > what I have to do. > I have read something about check_dummy How is it works? > And then what i have to do, Create a service with passice_ check > activate, and using the check_dummy command? First you need a trap handler properly set up to return passive results. I use SNMPTT (http://www.snmptt.org/) though you may want to look at OpsView (http://www.opsview.org/) as is seems to do a great job at simplifying the trap setup. Then you set up the service as "volatile". People usually disable active checks and use freshness checking to get the trap reset automatically after some time. If you rather want the service to stay in a non-OK state until someone change it you can make it active (It won't be scheduled if volatile) and have someone force an active check to reset the trap. In either case it the check command should looks like: check_command check_dummy!0!Trap reset on $LONGDATETIME$ and check_dummy should run something like: $USER1$/check_dummy $ARG1$ $ARG2$ Thomas ------------------------------ Message: 12 Date: Tue, 17 Apr 2007 09:31:41 +0200 From: "Marco Borsani" Subject: [Nagios-users] R: parameter inside notifications To: "'Kyle O'Donnell'" Cc: nagios-users at lists.sourceforge.net Message-ID: <005701c780c2$71ec70c0$0900d40a at intranet.it.net> Content-Type: text/plain; charset="iso-8859-1" That macro could be ok, but I am running Nagios 1.4, not Nagios 2.0 -----Messaggio originale----- Da: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] Per conto di Kyle O'Donnell Inviato: luned? 16 aprile 2007 18.28 A: Marco Borsani Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] parameter inside notifications Check the the nagios macros definitions: http://nagios.sourceforge.net/docs/2_0/macros.html $SERVICECHECKCOMMAND$ might meed your needs. --Kyle On 4/16/07, Marco Borsani wrote: > > > Hi all ! > > > > I'd like to insert the command parameters inside the notifications. > > > > Reading the manual it does not seem possible, is it corrects ? > > > > Marco Borsani > Technical Operation > > tel.: +390104310115 > e-fax: +390683175950 > * m.borsani at it.net > > ITnet S.r.l. > Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. > Via Pacinotti, 39 > 16151 - Genova > > > In ottemperanza al D. lgs 196/03 in materia di protezione dei dati > personali, le informazioni contenute in questo messaggio sono strettamente > riservate e sono esclusivamente indirizzate al destinatario indicato (oppure > alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, > riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui > aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il > mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio > erroneamente ricevuto. > > According to Italy's new data protection code (Legislative Decree no. > 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning > privacy, the information contained in this e-mail is confidential and is > intended for the addressee only. If you are not the correct recipient, > please note that any use, dissemination or copy of this document/information > is strictly prohibited.If you have received this message in error, you > should destroy it and please notify us immediately by e-mail. > > > > ------------------------------ Message: 13 Date: Tue, 17 Apr 2007 11:02:06 +0200 From: Marcus Fleige Subject: Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring To: Gerhard Lausser Cc: nagios-users at lists.sourceforge.net Message-ID: <46248D0E.20007 at de.rhenus.com> Content-Type: text/plain; charset=UTF-8; format=flowed Hey, Gerhard Lausser schrieb am 16.04.2007 17:15 Uhr: > Hi Marcus, > > i can understand, not-so-important servers are not fully equipped. > I will introduce an option like "-b ps:3,..." to blacklist the named > components (skip checking power supply #3 in this example). > > Maybe by the end of the week. Keep an eye on > http://www.consol.com/opensource/nagios/check-hpasm (the broken download > link has been fixed). Great, thanks a lot! After that is finished, i'm looking forward to deploy the check throughout my network. :-) Regards, Marcus Fleige ------------------------------ Message: 14 Date: Tue, 17 Apr 2007 14:32:37 +0530 From: "Navdeep Sidhu" Subject: [Nagios-users] Router & L3 Device CPU & Memory Utilization To: Message-ID: <745C9242AACB2D468091BC33BFD668D002B4CDF6 at pb-chd-mbx01.pjb.ttsl.com> Content-Type: text/plain; charset="us-ascii" Hi I'm using Nagios 2.8 version & right now I'm using Nagios to monitor the server resources like HDD, CPU, Memory & Ping etc. Now I want to monitor router & layer 3 CPU & memory utilization. So please suggest me the way forward. Thanks in advance. Navdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 15 Date: Tue, 17 Apr 2007 12:02:43 +0200 From: "chiel" Subject: Re: [Nagios-users] Router & L3 Device CPU & Memory Utilization To: Message-ID: <006f01c780d7$8ddaa8f0$760010ac at michiel> Content-Type: text/plain; charset="iso-8859-1" Router & L3 Device CPU & Memory UtilizationYou can use check_snmp and provide the MIB. Or take a look at the following website: http://nagios.manubulon.com/ It has some standard scripts that check the cpu/mem/interface for a router. ----- Original Message ----- From: Navdeep Sidhu To: nagios-users at lists.sourceforge.net Sent: Tuesday, April 17, 2007 11:02 AM Subject: [Nagios-users] Router & L3 Device CPU & Memory Utilization Hi I'm using Nagios 2.8 version & right now I'm using Nagios to monitor the server resources like HDD, CPU, Memory & Ping etc. Now I want to monitor router & layer 3 CPU & memory utilization. So please suggest me the way forward. Thanks in advance. Navdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------ ------ ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------------------------------------------------ ------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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... ------------------------------ Message: 16 Date: Tue, 17 Apr 2007 15:22:18 +0200 From: Sim Subject: Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring To: Gerhard.Lausser at consol.de, nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed I have this problem, I can run check_hpasm only once: Thanks for reply ---------------------------------------------- # service hpasm start Starting Proliant System Health Monitor (hpasmd): [ SUCCESS ] Starting Foundation Agents (cmafdtn): cmathreshd cmahostd cmapeerd Starting Threshold agent (cmathreshd): [ SUCCESS ] Starting Host agent (cmahostd): [ SUCCESS ] Starting SNMP Peer (cmapeerd): [ SUCCESS ] Starting Server Agents (cmasvr): cmastdeqd cmahealthd cmaperfd Starting Standard Equipment agent (cmastdeqd): [ SUCCESS ] Starting Health agent (cmahealthd): [ SUCCESS ] Starting Performance agent (cmaperfd): [ SUCCESS ] Starting Storage Agents (cmastor): cmaeventd cmaidad cmafcad cmaided cmascsid cmasasd Starting Storage Event Logger (cmaeventd): [ SUCCESS ] Starting IDA agent (cmaidad): [ SUCCESS ] Starting FCA agent (cmafcad): [ SUCCESS ] Starting IDE agent (cmaided): [ SUCCESS ] Starting SCSI agent (cmascsid): [ SUCCESS ] Starting SAS agent (cmasasd): [ SUCCESS ] hpasm: Server Management is enabled ---------------------------------------------- # ./check_hpasm -v checking hpasmd process System :proliant dl380 g4 [...] dimm 1 at 0 is ok dimm 2 at 0 is ok OK - hardware working fine ---------------------------------------------- # ./check_hpasm -v checking hpasmd process UNKNOWN - multiple hpasmd procs ---------------------------------------------- ------------------------------ Message: 17 Date: Tue, 17 Apr 2007 11:39:38 -0700 (PDT) From: abid dar Subject: [Nagios-users] hostgroup limit in 1.x? To: Nagios-users at lists.sourceforge.net Message-ID: <543546.95201.qm at web36811.mail.mud.yahoo.com> Content-Type: text/plain; charset=ascii I tried searching online but could not find out if there is a limit to number of hosts that can be added to a particular hostgroup in nagios 1.x ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------ Message: 18 Date: Tue, 17 Apr 2007 11:50:12 -0700 From: lunaslide Subject: [Nagios-users] PDI Power Distribution Unit monitoring To: nagios-users at lists.sourceforge.net Message-ID: <462516E4.3050501 at 23.org> Content-Type: text/plain; charset=ISO-8859-1 I'm seeking information on monitoring power distribution units manufactured by Power Distribution, Inc. (PDI) in our data center. I've been searching around and there is little to find. If anyone is doing this with Nagios I'd love to hear about it. ------------------------------ Message: 19 Date: Tue, 17 Apr 2007 13:58:44 -0500 From: "Marc Powell" Subject: Re: [Nagios-users] hostgroup limit in 1.x? To: Message-ID: Content-Type: text/plain; charset="US-ASCII" > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of abid dar > Sent: Tuesday, April 17, 2007 1:40 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hostgroup limit in 1.x? > > I tried searching online but could not find out if there is a limit to > number of hosts that can be added to a particular hostgroup in nagios 1.x > ? Indirectly, yes. There's no limit to the number of hosts but there is a limit to the number of characters per line of config file that nagios will read in. The default, MAX_XODTEMPLATE_INPUT_BUFFER in xdata/xodtemplate.h, is 8196 characters under nagios-1. I've had success in the past increasing that to 65535 and have had some _very_ long hostgroup members lines. In fact, that's what the default is in nagios-2. -- Marc ------------------------------ ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 11, Issue 21 ******************************************** ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 19 03:11:14 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 19 Apr 2007 11:11:14 +1000 Subject: PDI Power Distribution Unit monitoring Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A020CFA13@mail01.ccia.local> If they support SNMP it should be reasonably easy. 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 lunaslide > Sent: Wednesday, 18 April 2007 4:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] PDI Power Distribution Unit monitoring > > I'm seeking information on monitoring power distribution > units manufactured by Power Distribution, Inc. (PDI) in our > data center. I've been searching around and there is little > to find. If anyone is doing this with Nagios I'd love to > hear about it. > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by DB2 Express Download DB2 > Express C - the FREE version of DB2 express and take control > of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luca at jewelrydesign.com.hk Thu Apr 19 03:24:33 2007 From: luca at jewelrydesign.com.hk (Luca Fornasari) Date: Thu, 19 Apr 2007 09:24:33 +0800 Subject: check_dhcp In-Reply-To: <193951.27545.qm@web36811.mail.mud.yahoo.com> References: <193951.27545.qm@web36811.mail.mud.yahoo.com> Message-ID: <4626C4D1.3090805@jewelrydesign.com.hk> Use a network monitoring tool such tcpdump while executing the check_dhcp so you can understand what's going on on the wire. Ciao Luca ----- Original Message ----- *From:* abid dar *Sent:* 04/18/2007 10:55:27 PM +0800 *To:* Luca Fornasari , Hari Sekhon *CC:* Nagios Users mailinglist *Subject:* [Nagios-users] check_dhcp > I've tried that, > > " ./check_dhcp -vvv > DHCP ok: Received 1 DHCPOFFER(s), max lease time = 0 sec." > > if I try passing any argument while trying to specify IP I get this > > ./check_dhcp -s 10 > DHCP problem: Received 3 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 284400 sec. > > > I tried to see if I can find another dhcp plugin but no luck. > > > > ----- Original Message ---- > From: Luca Fornasari > To: Hari Sekhon > Cc: abid dar ; Nagios Users mailinglist > Sent: Wednesday, April 18, 2007 6:12:17 AM > Subject: Re: [Nagios-users] check_dhcp > > dhcp3 has built-in failover; maybe you also have dhcp-relay? > anyway try -vvv > Luca > > ----- Original Message ----- > *From:* Hari Sekhon > *Sent:* 04/18/2007 6:06:05 PM +0800 > *To:* abid dar > *CC:* Nagios Users mailinglist > *Subject:* [Nagios-users] check_dhcp > > >> try -vvv to see who is giving you these leases. >> >> You generally only need 1 dhcp server per subnet or if you have more you >> should make sure they have non-overlapping address pools. I actually >> made a wrapper script to this to actually warn me of rogue dhcp servers >> on the network after an incident with some clumsy person installing >> vmware with it's dhcp and sending a laptop off to the wrong subnet... so >> you might want to check why the second attempt says you had 3 DHCPOFFERS. >> >> > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From delgallo at pic.es Thu Apr 19 09:25:56 2007 From: delgallo at pic.es (Alessandro del Gallo) Date: Thu, 19 Apr 2007 09:25:56 +0200 Subject: updates killing my files In-Reply-To: References: <46261ACC.9060105@pic.es> <302ce8b50704180637x77933f63qa7ba2bfbf63b011d@mail.gmail.com> Message-ID: <46271984.7080200@pic.es> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 adiyesaya at gmail.com Thu Apr 19 12:42:40 2007 From: adiyesaya at gmail.com (adi yesaya) Date: Thu, 19 Apr 2007 12:42:40 +0200 Subject: Memory Usage per plug-in Message-ID: <7ad6d2f90704190342l543135e9t4d1f94d99eea25cc@mail.gmail.com> Hi Nagiosers, I'm just starting my school project in writing plug-ins for Nagios, it's my first time with Nagios and im also learning more about Linux. In this project i installed Nagios on a Linux box and run several plug-ins. My question is: Is there any way that we can know how much memory and cpu percentage do we need when running 1 plug-in? I need to make an estimation how much memory and cpu it will take to run around 300 to 900 plug-ins. Could you share with me how much memory and cpu does your Nagios plug-in requires when they run? Thank you, Adi Yesaya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 delgallo at pic.es Thu Apr 19 13:16:23 2007 From: delgallo at pic.es (Alessandro del Gallo) Date: Thu, 19 Apr 2007 13:16:23 +0200 Subject: Memory Usage per plug-in In-Reply-To: <7ad6d2f90704190342l543135e9t4d1f94d99eea25cc@mail.gmail.com> References: <7ad6d2f90704190342l543135e9t4d1f94d99eea25cc@mail.gmail.com> Message-ID: <46274F87.9030405@pic.es> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 simvirus at gmail.com Thu Apr 19 13:31:31 2007 From: simvirus at gmail.com (Sim) Date: Thu, 19 Apr 2007 13:31:31 +0200 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: <003401c781be$e4e12c40$0202fea9@int.consol.de> References: <012b01c77ded$6e9e2e90$0202fea9@int.consol.de> <462335F0.6060804@de.rhenus.com> <015501c7803a$019d6820$0202fea9@int.consol.de> <46248D0E.20007@de.rhenus.com> <01b001c780fa$d187dd70$0202fea9@int.consol.de> <4625D03A.6070109@de.rhenus.com> <003401c781be$e4e12c40$0202fea9@int.consol.de> Message-ID: > Hi, > > the "official" 1.3 is now available at > http://www.consol.de/opensource/nagios/check-hpasm > There's an option --with-degrees for ./configure which lets you chose > between temperatures displayed as celsius or fahrenheit. > The second and important new thing is the --blacklist option. > And for Sim i added Trustix support. > Gerhard, very thanks! ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MarcJonkers at mgzl.nl Thu Apr 19 14:14:04 2007 From: MarcJonkers at mgzl.nl (Marc Jonkers) Date: Thu, 19 Apr 2007 14:14:04 +0200 Subject: example how to monitor a performance counter from windows with nsclient? In-Reply-To: References: Message-ID: Hi, Has somebody a example of the checkcommands.cfg for me with a performance counter for Windows 2003? I want to monitor Check Average Disc sec/Write . thx, Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 amontibello at gmail.com Thu Apr 19 14:26:12 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 19 Apr 2007 08:26:12 -0400 Subject: example how to monitor a performance counter from windows with nsclient? In-Reply-To: References: Message-ID: Hi Marc, Install a widows plugin onto the Windows Host. I recomend NC_NEt, then use check_nt or compile and use check_nc_net if using check_nc_net the syntex is in the help "check_nc_net --help=COUNTER" nc_net is availible from sourceforge: http://sourceforge.net/projects/nc-net There are also other plugins availibles for monitoring windows. see nagios exchange or review through this mailing lists archives. Good Luck, Tony (author of NC_net) On 4/19/07, Marc Jonkers wrote: > > Hi, > > Has somebody a example of the checkcommands.cfg for me with a performance > counter for Windows 2003? > I want to monitor Check Average Disc sec/Write. > > thx, > > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Gerhard.Lausser at consol.de Thu Apr 19 14:56:21 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Thu, 19 Apr 2007 14:56:21 +0200 Subject: Plugin for SUN Storagetek Common Array Manager Message-ID: <005f01c78282$2140e950$0202fea9@int.consol.de> Hi, i made a plugin which integrates the SUN Storagetek Common Array Manager into Nagios. The CAM is a management software for SUN StorEdge 6130 and SUN StorageTek 6140 and 6540 Storage arrays. So with this plugin you can monitor a bunch of these storage devices. You can download it from http://www.consol.com/opensource/nagios/check-sstcam Greetings from Munich, Gerhard ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MarcJonkers at mgzl.nl Thu Apr 19 15:03:33 2007 From: MarcJonkers at mgzl.nl (Marc Jonkers) Date: Thu, 19 Apr 2007 15:03:33 +0200 Subject: example how to monitor a performance counterfrom windows with nsclient?[Scanned] In-Reply-To: References: Message-ID: Hi Anthony, What is then the exact syntax? This will not work: define command{ command_name check_nt_disc_average_sec_write command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v "PhysicalDisk\Average Disk sec/Write" -l $ARG1$ -w $ARG2$ -c $ARG3$ } thx, Marc ________________________________ Van: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Namens Anthony Montibello Verzonden: 19 april 2007 14:26 Aan: Nagios Users Mailinglist Onderwerp: Re: [Nagios-users] example how to monitor a performance counterfrom windows with nsclient?[Scanned] Hi Marc, Install a widows plugin onto the Windows Host. I recomend NC_NEt, then use check_nt or compile and use check_nc_net if using check_nc_net the syntex is in the help "check_nc_net --help=COUNTER" nc_net is availible from sourceforge: http://sourceforge.net/projects/nc-net There are also other plugins availibles for monitoring windows. see nagios exchange or review through this mailing lists archives. Good Luck, Tony (author of NC_net) On 4/19/07, Marc Jonkers wrote: Hi, Has somebody a example of the checkcommands.cfg for me with a performance counter for Windows 2003? I want to monitor Check Average Disc sec/Write. thx, Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 stephen.valdinger at doverchem.com Thu Apr 19 15:31:49 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 19 Apr 2007 09:31:49 -0400 Subject: Blackberry Enterprise Server and Nagios Message-ID: Hi, I want to monitor a certain service on my BES server. Does any have, or can someone tell me how to write a definition for the service Blackberry Admin_(Computername)?? I'd appreciate the help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 stephen.valdinger at doverchem.com Thu Apr 19 16:21:58 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 19 Apr 2007 10:21:58 -0400 Subject: Just using SNMP Message-ID: Is there a way to just use SNMP to monitor windows machines in Nagios. We have a lot of servers and installing an agent like NSClient++ would be a real pain, when they all run SNMP already. Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 misch at multinet.de Thu Apr 19 16:27:27 2007 From: misch at multinet.de (Michael Schwartzkopff) Date: Thu, 19 Apr 2007 16:27:27 +0200 Subject: Just using SNMP In-Reply-To: References: Message-ID: <200704191627.27808.misch@multinet.de> Am Donnerstag, 19. April 2007 16:21 schrieb Valdinger, Stephen (DOV, MSX): > Is there a way to just use SNMP to monitor windows machines in Nagios. > We have a lot of servers and installing an agent like NSClient++ would > be a real pain, when they all run SNMP already. Any ideas? Get the OIDs of the parameters you want to watch (HDD space, CPU load, MEM consumption, ...) and define services based on check_snmp. We are doing this without and problem. Contect me if you have further questions. Sample for CPU load in windows: define command { command_name check_win_load command_line $USER1$/check_snmp -H \ $HOSTADDRESS$ -o .1.3.6.1.2.1.25.3.3.1.2 -n -w :95 -c :250 } -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Apr 19 16:38:47 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Thu, 19 Apr 2007 10:38:47 -0400 Subject: Just using SNMP In-Reply-To: References: Message-ID: <46277EF7.4010204@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Valdinger, Stephen (DOV, MSX) wrote: > Is there a way to just use SNMP to monitor windows machines in Nagios. > We have a lot of servers and installing an agent like NSClient++ would > be a real pain, when they all run SNMP already. Any ideas? > I use check_snmp_win.pl for some service checks across Windows XP clients and SNMP. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGJ372HoeeepPau2ERAlsIAKCA2Cnk10gSNzx463zgltJXdj+CdQCghVhN 8/mrxmijAMBtb8V5eMRTm5Y= =RsKw -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 19 17:59:52 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Thu, 19 Apr 2007 10:59:52 -0500 Subject: Just using SNMP In-Reply-To: References: Message-ID: <20070419155951.GD23528@odin.demosthenes.org> Use the Microsoft SNMP service, and look at Patrick Proy's snmp plugins. I've had good success with them. Russell On Thu, Apr 19, 2007 at 10:21:58AM -0400, Valdinger, Stephen (DOV, MSX) wrote: > Is there a way to just use SNMP to monitor windows machines in Nagios. > We have a lot of servers and installing an agent like NSClient++ would > be a real pain, when they all run SNMP already. Any ideas? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 19 18:25:00 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 19 Apr 2007 12:25:00 -0400 Subject: example how to monitor a performance counterfrom windows with nsclient?[Scanned] In-Reply-To: References: Message-ID: The Check command from the Nagios v3.x Documentation should be better to use in most situations: define command{ command_name check_nt command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v $ARG1$ $ARG2$ } (make sure port matches your systems and change it to check_nc_net if using it in place of check_nt) as for the service definition the problems with the one you proposed was A) it is missing the instance, B) it mispelled the counter name, avg. instead of average If you upgrade to NC_NEt then the Counter name, counter instaces and the Counter Category could have been checked remotly. using ENUMCOUNTER and INSTANCES (check_nc_net is required to use these commands and it is backwards compatible with Check_nt) >From the command line this is the prefered syntex if your using NC_NEt because it eliminates the \ and () making the parsing of instance and catagory a bit easier. (this syntex works when using either check_nt and check_nc_net. on NC_NEt only) ./check_nt -H notebook1 -v COUNTER -l '^PhysicalDisk^_total^avg. disk sec/write' otherwise the older command line syntex that should work on most clients(including NC_NEt): ./check_nt -H notebook1 -v COUNTER -l '\PhysicalDisk(_total)\avg. disk sec/write' For the Service definition using the above check command would look like: (only valid for NC_NEt) check_command check_nt!COUNTER!-l '^PhysicalDisk^_total^avg. disk sec/write' -w 2 -c 5 For all other check_nt hosts the syntex would be: check_command check_nt!COUNTER!-l '\\PhysicalDisk(_total)\\avg. disk sec/write' -w 2 -c 5 once again, most of this information should be availible in documentation and in help files, I know NC_NEt has this information in its "./check_nc_net --help=COUNTER" as well as in its documentaion. Tony (Author of NC_NET) On 4/19/07, Marc Jonkers wrote: Hi Anthony, > > What is then the exact syntax? > > This will not work: > > define command{ > command_name check_nt_disc_average_sec_write > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > "PhysicalDisk\Average Disk sec/Write" -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > thx, > > Marc > > ------------------------------ > *Van:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *Namens *Anthony Montibello > *Verzonden:* 19 april 2007 14:26 > *Aan:* Nagios Users Mailinglist > *Onderwerp:* Re: [Nagios-users] example how to monitor a performance > counterfrom windows with nsclient?[Scanned] > > > Hi Marc, > > Install a widows plugin onto the Windows Host. > I recomend NC_NEt, then use check_nt or compile and use check_nc_net > if using check_nc_net the syntex is in the help "check_nc_net > --help=COUNTER" > > nc_net is availible from sourceforge: > http://sourceforge.net/projects/nc-net > > There are also other plugins availibles for monitoring windows. see nagios > exchange or review through this mailing lists archives. > > Good Luck, > Tony (author of NC_net) > > > On 4/19/07, Marc Jonkers wrote: > > > > Hi, > > > > Has somebody a example of the checkcommands.cfg for me with a > > performance counter for Windows 2003? > > I want to monitor Check Average Disc sec/Write. > > > > thx, > > > > Marc > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 dit.dash at gmail.com Thu Apr 19 18:42:16 2007 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Thu, 19 Apr 2007 12:42:16 -0400 Subject: Just using SNMP In-Reply-To: <20070419155951.GD23528@odin.demosthenes.org> References: <20070419155951.GD23528@odin.demosthenes.org> Message-ID: <7f62d2420704190942x7edc7d8bv6f6c33fcc915aa6@mail.gmail.com> You can do the NSclient installs remotely by staging it on a common share, have a .cmd file something like this: mkdir c:\nsclient @if "%ERRORLEVEL%"=="1" goto :EXIT copy C:\\temp\nsclient\Win_2k_XP_Bin\* c:\nsclient @if "%ERRORLEVEL%"=="1" echo "error occurred while copying files" c:\nsclient\pNSClient.exe /install @if "%ERRORLEVEL%"=="1" echo "error running pNSClient" net start nsclient @if "%ERRORLEVEL%"=="1" echo "error occured while starting nsclient service" The above can be remotely run thru a variety of mechanisms, even submitting a remote scheduler job to run once. Then just write a script to install on all your servers once it's been tested. It's worth it in the longrun. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxwellb at oclc.org Thu Apr 19 19:15:05 2007 From: maxwellb at oclc.org (Maxwell,Brady) Date: Thu, 19 Apr 2007 13:15:05 -0400 Subject: End to End application Validation. Message-ID: <11DE62FF9C5102478FBCC536AC273518ABF6E2@OAEXCH5SERVER.oa.oclc.org> Hello Nagios-Users, I am preparing to deploy the lastest Nagios to replace our current monitoring system. I have tested some commercial applications for testing applications but am now looking at open source methods that will report up into the nagios interface. For instance check_website seems to be a good starting place for us. However I would like to get a feel for what products others are using for this type of monitoring. Basically I want to be able to log on a web application and do a search on a specific keyword, I would like to be able to pass back to nagios some search time data and some load time data along with the state of the application. Any advice on this topic would be greatly appreciated. Thank You Brady Maxwell -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 c.mies at itnovum.de Thu Apr 19 22:29:46 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Thu, 19 Apr 2007 22:29:46 +0200 Subject: Blackberry Enterprise Server and Nagios Message-ID: <1160D06701B0154985D72DA43FE3D33AEE5E77@srvcom02.master.dns> Hi Stephen, is the Computername the Servername of the BES Server? kind regards Christian it-novum GmbH Ein Unternehmen der Mehler AG Christian Mies Consultant Systemmanagement Edelzeller Stra?e 44 36043 Fulda FON: +49 (661) 103-874 (-333) FAX: +49 (661) 103-17874 (-334) MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Geschaftsfuhrer: Michael Kienle Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfanger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. ________________________________ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Valdinger, Stephen (DOV, MSX) Gesendet: Donnerstag, 19. April 2007 15:32 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Blackberry Enterprise Server and Nagios Hi, I want to monitor a certain service on my BES server. Does any have, or can someone tell me how to write a definition for the service Blackberry Admin_(Computername)?? I'd appreciate the help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at proy.org Thu Apr 19 23:03:22 2007 From: nagios-user at proy.org (Patrick Proy) Date: Thu, 19 Apr 2007 23:03:22 +0200 Subject: Just using SNMP In-Reply-To: References: Message-ID: <009f01c782c6$2a7625f0$2900a8c0@telindus.intra> Hi, With SNMP on Windows machines, you can check with the check_snmp_* scripts (http://nagios.manubulon.com) : - Disk Usage (check_snmp_storage.pl) - Virtual memory usage (check_snmp_storage.pl) - Windows Service state (check_snmp_win.pl) - Process state, memory and CPU usage (check_snmp_process.pl) - Interface state & bandwidth (check_snmp_int.pl) - CPU usage (check_snmp_load.pl) Without any installation on the windows machine, you can also make some checks using WMI with some perl modules (never found a good plugin for this), and with samba (for disks mainly) : have a look at http://www.nagiosexchange.org/Windows.49.0.html. Patrick http://nagios.manubulon.com _____ De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Valdinger, Stephen (DOV, MSX) Envoy? : jeudi 19 avril 2007 16:22 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Just using SNMP Is there a way to just use SNMP to monitor windows machines in Nagios. We have a lot of servers and installing an agent like NSClient++ would be a real pain, when they all run SNMP already. Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 termx23 at gmail.com Fri Apr 20 08:04:28 2007 From: termx23 at gmail.com (Peter Edmonds) Date: Fri, 20 Apr 2007 16:04:28 +1000 Subject: End to End application Validation. In-Reply-To: <11DE62FF9C5102478FBCC536AC273518ABF6E2@OAEXCH5SERVER.oa.oclc.org> References: <11DE62FF9C5102478FBCC536AC273518ABF6E2@OAEXCH5SERVER.oa.oclc.org> Message-ID: <6b8cee7e0704192304y4a61db0fp5c35583dbb74d8e4@mail.gmail.com> On 4/20/07, Maxwell,Brady wrote: >I have tested some commercial applications for testing > applications but am now looking at open source methods that will report up > into the nagios interface. > Basically I want to be able to > log on a web application and do a search on a specific keyword, I would like > to be able to pass back to nagios some search time data and some load time > data along with the state of the application. webinject would be your other option here. There are a few references to webinject on the mailing list. Steve Shipway's check_website does look like a good starting point - on casual inspection it has a lower learning curve than webinject. Peter ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fssilva at gmail.com Fri Apr 20 15:14:35 2007 From: fssilva at gmail.com (Fabio Silva) Date: Fri, 20 Apr 2007 10:14:35 -0300 Subject: Status Map Message-ID: Hi all, is there any way to get on the status map the STATE of the services of the hosts and not the Status of the host (up or down). If some service goes down or have some problem in the status map it show the host in a red color... tha has something bad with that machine... Any idea how to get it? Regards, -- Fabio S. Silva -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 Jesse.Saletan at amd.com Fri Apr 20 17:41:57 2007 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Fri, 20 Apr 2007 10:41:57 -0500 Subject: check_rpc problem after upgrade to 2.9 Message-ID: <7E630CF366B8404DA6AD5908338D64170DB786@SAUSEXMB2.amd.com> Since an upgrade from Nagios 2.8 to 2.9 I'm getting this error in the gui for check-nfs: **ePN failed to compile /usr/lib/nagios/plugins/check_rpc: "Can't locate utils.pm in @INC (@INC contains: nagios/plugins /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/ven" at /usr/bin/p check-nfs uses the check_rpc plugin: define command { command_name check-nfs command_line $USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -c2,3 } However, the check_rpc plugin seems to work from the command line: -bash-2.05b$ cd /usr/lib/nagios/plugins -bash-2.05b$ ./check_rpc -H myhost -C nfs -c2,3 OK: RPC program nfs version 2 version 3 udp running Any idea what's wrong? Thanks, Jesse ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 20 18:12:55 2007 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Fri, 20 Apr 2007 11:12:55 -0500 Subject: check_rpc problem after upgrade to 2.9 In-Reply-To: <7E630CF366B8404DA6AD5908338D64170DB786@SAUSEXMB2.amd.com> References: <7E630CF366B8404DA6AD5908338D64170DB786@SAUSEXMB2.amd.com> Message-ID: <7E630CF366B8404DA6AD5908338D64170DB787@SAUSEXMB2.amd.com> By the way, this is an rpm install on a system running RHEL3 i386. nagios-2.9-1.el3.rf nagios-plugins-1.4.8-1.el3.rf -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Saletan, Jesse Sent: Friday, April 20, 2007 10:42 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_rpc problem after upgrade to 2.9 Since an upgrade from Nagios 2.8 to 2.9 I'm getting this error in the gui for check-nfs: **ePN failed to compile /usr/lib/nagios/plugins/check_rpc: "Can't locate utils.pm in @INC (@INC contains: nagios/plugins /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/ven" at /usr/bin/p check-nfs uses the check_rpc plugin: define command { command_name check-nfs command_line $USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -c2,3 } However, the check_rpc plugin seems to work from the command line: -bash-2.05b$ cd /usr/lib/nagios/plugins -bash-2.05b$ ./check_rpc -H myhost -C nfs -c2,3 OK: RPC program nfs version 2 version 3 udp running Any idea what's wrong? Thanks, Jesse ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pjahromi at us.checkpoint.com Fri Apr 20 18:20:17 2007 From: pjahromi at us.checkpoint.com (Payam Jahromi) Date: Fri, 20 Apr 2007 09:20:17 -0700 Subject: Resetting nagios checks Message-ID: <003f01c78367$c91b2ce0$b97461d1@ad.checkpoint.com> The network at my work went down and it caused all the nagios checks to fail. We got the network back up and working, but the nagios checks haven't resumed - when I look at the "last check" it says 8 hours ago. I tried restarting the nagios process on the server but that didn't work. I even did a manual service check from the GUI "re-schedule the next check for this service" and that didn't work either. Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 mark.frost1 at pepsi.com Fri Apr 20 21:17:47 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 20 Apr 2007 15:17:47 -0400 Subject: check_http plugin and a proxy? Message-ID: <7F477BD26F545A4C8E4779754A38EFB30126EE21@PEPWMV00043.corp.pep.pvt> Hello. I have the Nagios Plugins 1.4.8. Is it possible to make check_http use a proxy to talk to another host? We had been using an older version of check_http_perl which will allow us to use a proxy host. I'm converting most of our checks to use the check_http code and I don't see anything that indicates that I can tell it to use a proxy. Is this possible? I figure this must be a frequently asked question, but I can't find the answer anywhere. thanks Mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Sat Apr 21 00:00:24 2007 From: moshesharon at gmail.com (moshe sharon) Date: Sat, 21 Apr 2007 01:00:24 +0300 Subject: Status Map In-Reply-To: References: Message-ID: <88ad29240704201500w6f658d08sba850e6db055eb19@mail.gmail.com> Hello There is a patch in nagiosexchange for the statusmap that will change the color of the green round circle to yellow = warning red = critical if one of the service states has changed. the only downside if you do parents / child's connections the circle disappear http://www.nagiosexchange.org/Patches_2_0.67.0.html?&tx_netnagext_pi1[p_view]=386 Hope it helped -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 moshesharon at gmail.com Sat Apr 21 00:06:47 2007 From: moshesharon at gmail.com (moshe sharon) Date: Sat, 21 Apr 2007 01:06:47 +0300 Subject: Resetting nagios checks In-Reply-To: <003f01c78367$c91b2ce0$b97461d1@ad.checkpoint.com> References: <003f01c78367$c91b2ce0$b97461d1@ad.checkpoint.com> Message-ID: <88ad29240704201506taff38deo93bbbb71da113a30@mail.gmail.com> Hello usually its related to orphaned services. nagios 1.x and 2.x checks hosts in serial processing rather the parallel processing like in services if you have multiple hosts down the whole schedule thing get messy. i can recommend 2 things: 1) disable host checks and only rely on service checks. 2) set *retain_state_information* to 0. when you restart nagios when retain_state_information is 0 it will flush the whole checks and restart from scratch. hopefully those problems will go away on nagios 3.x with the new host checks mechanism Hope it Helped -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Apr 21 17:50:09 2007 From: marc at ena.com (Marc Powell) Date: Sat, 21 Apr 2007 10:50:09 -0500 Subject: check_http plugin and a proxy? In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB30126EE21@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB30126EE21@PEPWMV00043.corp.pep.pvt> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Frost, Mark {PBG} > Sent: Friday, April 20, 2007 9:18 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http plugin and a proxy? > > > Hello. > > I have the Nagios Plugins 1.4.8. Is it possible to make check_http use > a proxy to talk to another host? We had been using an older version of > check_http_perl which will allow us to use a proxy host. I'm converting > most of our checks to use the check_http code and I don't see anything > that indicates that I can tell it to use a proxy. Is this possible? Yes, using the -H, -I and -u parameters. For example, the following command will request www.example.bar through the proxy located at $HOSTADDRESS$ via port 8080 and verify that it sees either '/html' or '/HTML' -- define command { command_name check_caching command_line $USER1$/check_http -H www.example.bar -I $HOSTADDRESS$ -p 8080 -wt 20 -ct 30 -to 35 -u http://www.example.bar -R \/html } -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sun Apr 22 13:06:36 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sun, 22 Apr 2007 13:06:36 +0200 Subject: Status Map In-Reply-To: References: Message-ID: <765d77c80704220406s5ee3dc0bg504316cf9ac0c6e1@mail.gmail.com> On 20/04/07, Fabio Silva wrote: > Hi all, is there any way to get on the status map the STATE of the services > of the hosts and not the Status of the host (up or down). > > If some service goes down or have some problem in the status map it show the > host in a red color... tha has something bad with that machine... You could try the Nagios Extended Status Map http://nexsm.sourceforge.net - It's very good but can be a little tricky to install. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carstenph at gmx.de Mon Apr 23 09:29:06 2007 From: carstenph at gmx.de (Carsten Philipp) Date: Mon, 23 Apr 2007 09:29:06 +0200 Subject: Nagios, Zabbix, OpenNMS? Message-ID: <462C6042.6040504@gmx.de> Hello, i work at a german research institute. We are searching for a good monitoring tool, which can control many PCs with Debian Linux and some with Windows. We already have a Nagios with many selfmade scripts here, but my boss also wants statistics with nice graphs like rrdtool. ;-) The nagiosgrapher isn`t running yet, because of some problems with cpan and perl. Does anybody have some experiences with Zabbix, OpenNMS or Cacti? I read something about nagios scripts support in the latest opennms version? We also need "special" scripts for swapping, cpu, printers (SNMP), bacula (backup), SMART, ... So what can you recommend? Regards, Carsten Philipp ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 23 10:40:39 2007 From: stava at telcotec.se (Lars Stavholm) Date: Mon, 23 Apr 2007 10:40:39 +0200 Subject: Nagios, Zabbix, OpenNMS? In-Reply-To: <462C6042.6040504@gmx.de> References: <462C6042.6040504@gmx.de> Message-ID: <462C7107.20402@telcotec.se> Carsten Philipp wrote: > Hello, > > i work at a german research institute. > We are searching for a good monitoring tool, which can control many PCs > with Debian Linux and some with Windows. > We already have a Nagios with many selfmade scripts here, but my boss > also wants statistics with nice graphs like rrdtool. ;-) > The nagiosgrapher isn`t running yet, because of some problems with cpan > and perl. We use NagiosGrapher, it's brilliant. /L > Does anybody have some experiences with Zabbix, OpenNMS or Cacti? I read > something about nagios scripts support in the latest opennms version? > > We also need "special" scripts for swapping, cpu, printers (SNMP), > bacula (backup), SMART, ... > So what can you recommend? > > > Regards, > Carsten Philipp > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Apr 23 13:50:53 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 23 Apr 2007 12:50:53 +0100 Subject: Nagios, Zabbix, OpenNMS? In-Reply-To: <462C6042.6040504@gmx.de> References: <462C6042.6040504@gmx.de> Message-ID: <765d77c80704230450h5669d8ffp9e980edd0f59fe7e@mail.gmail.com> On 23/04/07, Carsten Philipp wrote: > Hello, > > i work at a german research institute. > We are searching for a good monitoring tool, which can control many PCs > with Debian Linux and some with Windows. > We already have a Nagios with many selfmade scripts here, but my boss > also wants statistics with nice graphs like rrdtool. ;-) > The nagiosgrapher isn`t running yet, because of some problems with cpan > and perl. > > Does anybody have some experiences with Zabbix, OpenNMS or Cacti? I read > something about nagios scripts support in the latest opennms version? > > We also need "special" scripts for swapping, cpu, printers (SNMP), > bacula (backup), SMART, ... > So what can you recommend? I haven't tried NagiosGrapher. I'd also recommend PNP for nice graphs. http://www.ederdrom.de/doku.php/nagios/pnp (in German) http://www.ederdrom.de/doku.php/nagios/pnp_en (in English) If you have problems with Perl, you might need to resolve them to get PNP working. A common problem is that your nagios binary might have been compiled with the embedded perl option enabled. As for special scripts, it's quite easy to find some in (for example) http//www.nagiosexchange.org or to write your own. I hope this helps, Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrjacqmein at gmail.com Mon Apr 23 14:54:59 2007 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Mon, 23 Apr 2007 08:54:59 -0400 Subject: check_http plugin and a proxy? In-Reply-To: References: <7F477BD26F545A4C8E4779754A38EFB30126EE21@PEPWMV00043.corp.pep.pvt> Message-ID: <3c9a5bae0704230554sf3f5c9cg97748db62e785e72@mail.gmail.com> The only problem Ive found with this is the https component. It doesnt appear to speak "connect" when talking to the proxy. On 4/21/07, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Frost, Mark {PBG} > > Sent: Friday, April 20, 2007 9:18 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_http plugin and a proxy? > > > > > > Hello. > > > > I have the Nagios Plugins 1.4.8. Is it possible to make check_http > use > > a proxy to talk to another host? We had been using an older version > of > > check_http_perl which will allow us to use a proxy host. I'm > converting > > most of our checks to use the check_http code and I don't see anything > > that indicates that I can tell it to use a proxy. Is this possible? > > Yes, using the -H, -I and -u parameters. For example, the following > command will request www.example.bar through the proxy located at > $HOSTADDRESS$ via port 8080 and verify that it sees either '/html' or > '/HTML' -- > > > define command { > command_name check_caching > command_line $USER1$/check_http -H www.example.bar > -I $HOSTADDRESS$ -p 8080 -wt 20 -ct 30 -to 35 -u http://www.example.bar > -R \/html > } > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fssilva at gmail.com Mon Apr 23 15:22:44 2007 From: fssilva at gmail.com (Fabio Silva) Date: Mon, 23 Apr 2007 10:22:44 -0300 Subject: Status Map In-Reply-To: <765d77c80704220406s5ee3dc0bg504316cf9ac0c6e1@mail.gmail.com> References: <765d77c80704220406s5ee3dc0bg504316cf9ac0c6e1@mail.gmail.com> Message-ID: Right, im trying to install this tool... nexsm... but im with some problems... i installed all the packages.. but i think that something is wrong... when i try to open the url.. the jnlp file is showed.. and i open it with java... but i have this error code.. An error occurred while launching/running the application. Category: Launch File Error The field codebase has an invalid value: /nexsm And in apache2 logs.. i have this [client 192.168.1.252] PHP Notice: Undefined index: SCRIPT_URI in /var/www/html/nexsm/nexsm.php on line 7, referer: http://192.168.1.44/nexsm/ [client 192.168.1.252] PHP Notice: Undefined index: SCRIPT_URI in /var/www/html/nexsm/nexsm.php on line 33, referer: http://192.168.1.44/nexsm/ [client 192.168.1.252] PHP Notice: Undefined index: SCRIPT_URI in /var/www/html/nexsm/nexsm.php on line 37, referer: http://192.168.1.44/nexsm/ [client 192.168.1.252] PHP Notice: Undefined index: SCRIPT_URI in /var/www/html/nexsm/nexsm.php on line 39, referer: http://192.168.1.44/nexsm/ Any ideia? Regards... On 4/22/07, Jim Avery wrote: > > On 20/04/07, Fabio Silva wrote: > > Hi all, is there any way to get on the status map the STATE of the > services > > of the hosts and not the Status of the host (up or down). > > > > If some service goes down or have some problem in the status map it show > the > > host in a red color... tha has something bad with that machine... > > You could try the Nagios Extended Status Map > http://nexsm.sourceforge.net - It's very good but can be a little > tricky to install. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Fabio S. Silva -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- 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 esavage at digitalrage.org Mon Apr 23 16:57:54 2007 From: esavage at digitalrage.org (Elijah Savage) Date: Mon, 23 Apr 2007 10:57:54 -0400 (EDT) Subject: Nagios, Zabbix, OpenNMS? In-Reply-To: <462C6042.6040504@gmx.de> References: <462C6042.6040504@gmx.de> Message-ID: <7645779.1441177340274580.JavaMail.root@mail> I have never used Nagiosgrapher but cacti is very easy to setup, maintain, operate and is very scalable. ----- Original Message ----- From: Carsten Philipp To: nagios-users at lists.sourceforge.net Sent: Monday, April 23, 2007 3:29:06 AM GMT-0500 Auto-Detected Subject: [Nagios-users] Nagios, Zabbix, OpenNMS? Hello, i work at a german research institute. We are searching for a good monitoring tool, which can control many PCs with Debian Linux and some with Windows. We already have a Nagios with many selfmade scripts here, but my boss also wants statistics with nice graphs like rrdtool. ;-) The nagiosgrapher isn`t running yet, because of some problems with cpan and perl. Does anybody have some experiences with Zabbix, OpenNMS or Cacti? I read something about nagios scripts support in the latest opennms version? We also need "special" scripts for swapping, cpu, printers (SNMP), bacula (backup), SMART, ... So what can you recommend? Regards, Carsten Philipp ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrjacqmein at gmail.com Mon Apr 23 17:13:10 2007 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Mon, 23 Apr 2007 11:13:10 -0400 Subject: Nagios, Zabbix, OpenNMS? In-Reply-To: <462C6042.6040504@gmx.de> References: <462C6042.6040504@gmx.de> Message-ID: <3c9a5bae0704230813r309c464dm983887e810fe7695@mail.gmail.com> The biggest problem I have with OpenNMS and Zabbix is the reliance on SNMP. Most of the checks I do arent SNMP checks. What would be best is if the plugins for Nagios could be used on OpenNMS or Zabbix or another network monitor. On 4/23/07, Carsten Philipp wrote: > Hello, > > i work at a german research institute. > We are searching for a good monitoring tool, which can control many PCs > with Debian Linux and some with Windows. > We already have a Nagios with many selfmade scripts here, but my boss > also wants statistics with nice graphs like rrdtool. ;-) > The nagiosgrapher isn`t running yet, because of some problems with cpan > and perl. > > Does anybody have some experiences with Zabbix, OpenNMS or Cacti? I read > something about nagios scripts support in the latest opennms version? > > We also need "special" scripts for swapping, cpu, printers (SNMP), > bacula (backup), SMART, ... > So what can you recommend? > > > Regards, > Carsten Philipp > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at nttmcl.com Mon Apr 23 17:40:47 2007 From: james at nttmcl.com (James) Date: Mon, 23 Apr 2007 08:40:47 -0700 Subject: Nagios, Zabbix, OpenNMS? In-Reply-To: <3c9a5bae0704230813r309c464dm983887e810fe7695@mail.gmail.com> References: <462C6042.6040504@gmx.de> <3c9a5bae0704230813r309c464dm983887e810fe7695@mail.gmail.com> Message-ID: <462CD37F.1070200@nttmcl.com> Bill Jacqmein wrote: > The biggest problem I have with OpenNMS and Zabbix is the reliance on > SNMP. Most of the checks I do arent SNMP checks. What would be best is > if the plugins for Nagios could be used on OpenNMS or Zabbix or > another network monitor. > > On 4/23/07, Carsten Philipp wrote: > >> Hello, >> >> i work at a german research institute. >> We are searching for a good monitoring tool, which can control many PCs >> with Debian Linux and some with Windows. >> We already have a Nagios with many selfmade scripts here, but my boss >> also wants statistics with nice graphs like rrdtool. ;-) >> The nagiosgrapher isn`t running yet, because of some problems with cpan >> and perl. >> >> Does anybody have some experiences with Zabbix, OpenNMS or Cacti? I read >> something about nagios scripts support in the latest opennms version? >> >> We also need "special" scripts for swapping, cpu, printers (SNMP), >> bacula (backup), SMART, ... >> So what can you recommend? >> >> >> I personally use Oreon for Debian. www.oreon-project.org. It's probably the best substitute for groundwork for debian. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.valdinger at doverchem.com Mon Apr 23 17:40:04 2007 From: stephen.valdinger at doverchem.com (+ACI-Valdinger, Stephen (DOV, MSX)+ACI-) Date: Mon, 23 Apr 2007 11:40:04 -0400 Subject: (no subject) Message-ID: I am using check_snmp_win.pl and I am getting an ?Invalid check type !? error on the process I am monitoring. Any ideas of what it should be looking like? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at proy.org Mon Apr 23 17:52:02 2007 From: nagios-user at proy.org (Patrick Proy) Date: Mon, 23 Apr 2007 17:52:02 +0200 Subject: (no subject) In-Reply-To: References: Message-ID: <002e01c785bf$55ef1c90$880214ac@telindus.intra> Read the script usage (check_snmp_win.pl -h), then probably remove the "-T" option or put "-T service". Patrick http://nagios.manubulon.com ________________________________ De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de +ACI-Valdinger, Stephen (DOV, MSX)+ACI- Envoy? : lundi 23 avril 2007 17:40 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] (no subject) I am using check_snmp_win.pl and I am getting an ?Invalid check type !? error on the process I am monitoring. Any ideas of what it should be looking like? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 23 17:58:39 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Mon, 23 Apr 2007 10:58:39 -0500 Subject: Nagios, Zabbix, OpenNMS? In-Reply-To: <3c9a5bae0704230813r309c464dm983887e810fe7695@mail.gmail.com> References: <462C6042.6040504@gmx.de> <3c9a5bae0704230813r309c464dm983887e810fe7695@mail.gmail.com> Message-ID: <20070423155839.GA7265@odin.demosthenes.org> Oddly enough I'm a big advocate of using SNMP with Nagios. It leverages existing tools, and then plugins can suppliment the functionality. Also, managing NRPE etc in a large environment means additional software overhead. It is only suitable for LAN environments though. Just my $0.02. On Mon, Apr 23, 2007 at 11:13:10AM -0400, Bill Jacqmein wrote: > The biggest problem I have with OpenNMS and Zabbix is the reliance on > SNMP. Most of the checks I do arent SNMP checks. What would be best is > if the plugins for Nagios could be used on OpenNMS or Zabbix or > another network monitor. > > On 4/23/07, Carsten Philipp wrote: > > Hello, > > > > i work at a german research institute. > > We are searching for a good monitoring tool, which can control many PCs > > with Debian Linux and some with Windows. > > We already have a Nagios with many selfmade scripts here, but my boss > > also wants statistics with nice graphs like rrdtool. ;-) > > The nagiosgrapher isn`t running yet, because of some problems with cpan > > and perl. > > > > Do