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. > > > > 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 ------------------------------------------------------------------ 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 jim at jimavery.me.uk Mon Apr 23 17:59:37 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 23 Apr 2007 16:59:37 +0100 Subject: Status Map In-Reply-To: References: <765d77c80704220406s5ee3dc0bg504316cf9ac0c6e1@mail.gmail.com> Message-ID: <765d77c80704230859v249b86d2h385be9307e651f49@mail.gmail.com> On 23/04/07, Fabio Silva wrote: > 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... Not off hand, but it looks like you should find the solution in the NexSM SourceForge forum here: http://sourceforge.net/forum/?group_id=164361 ------------------------------------------------------------------------- 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 daniel_p_lacey at yahoo.com Mon Apr 23 18:00:44 2007 From: daniel_p_lacey at yahoo.com (Daniel Lacey) Date: Mon, 23 Apr 2007 09:00:44 -0700 Subject: Nagios, Zabbix, OpenNMS? In-Reply-To: <3c9a5bae0704230813r309c464dm983887e810fe7695@mail.gmail.com> References: <462C6042.6040504@gmx.de> <3c9a5bae0704230813r309c464dm983887e810fe7695@mail.gmail.com> Message-ID: <462CD82C.7060806@yahoo.com> 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 taieb.riahi at topnet.tn Mon Apr 23 18:01:52 2007 From: taieb.riahi at topnet.tn (Riahi Taieb) Date: Mon, 23 Apr 2007 18:01:52 +0200 Subject: Nagios & oreon on ubuntu server 6.10 Message-ID: <462CD870.1090109@topnet.tn> Hi folks, I'm trying to install oreon with my Nagios 2.4 under ubuntu. The problem is that in the oreon web config it always shows that I have a nagios version 1.X !! I think I miss configured oreon, here is the config : **where is installed nagios? /usr/sbin/nagios2 ( I'v tryed also /usr/lib/nagios2) **Where are your nagios etc directory ? /etc/nagios2 **Where are your nagios plugin / libexec directory ? /usr/lib/nagios/plugin **Where do I install Oreon ? /usr/local/oreon **Where is sudo ? /etc/sudoers **Where is RRD perl modules RRDs.pm? /usr/bin/rrdtool humm...any help? thx Taieb Riahi Service Etudes & D?veloppement **TOPNET** - Fournisseur de Service Internet 1, Avenue Kheireddine Pacha, Imm.Pacha Center, Bloc A, 6?me ?tage 1073 Tunis | T?l.: +21671770770 / +21622101626 | Poste.: 362 | Fax.: +21671951031 | E-mail : taieb.riahi at topnet.tn | Site web: www.topnet.tn -------------- 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 james at nttmcl.com Mon Apr 23 18:15:13 2007 From: james at nttmcl.com (James) Date: Mon, 23 Apr 2007 09:15:13 -0700 Subject: Nagios & oreon on ubuntu server 6.10 In-Reply-To: <462CD870.1090109@topnet.tn> References: <462CD870.1090109@topnet.tn> Message-ID: <462CDB91.7020700@nttmcl.com> Riahi Taieb wrote: > Hi folks, > > I'm trying to install oreon with my Nagios 2.4 under ubuntu. The > problem is that in the oreon web config it always shows that I have a > nagios version 1.X !! > I think I miss configured oreon, here is the config : > > **where is installed nagios? /usr/sbin/nagios2 ( I'v tryed also > /usr/lib/nagios2) > **Where are your nagios etc directory ? /etc/nagios2 > **Where are your nagios plugin / libexec directory ? > /usr/lib/nagios/plugin > **Where do I install Oreon ? /usr/local/oreon > **Where is sudo ? /etc/sudoers > **Where is RRD perl modules RRDs.pm? /usr/bin/rrdtool > > humm...any help? > > thx > > Taieb Riahi > Service Etudes & D?veloppement > **TOPNET** - Fournisseur de Service Internet > 1, Avenue Kheireddine Pacha, > Imm.Pacha Center, Bloc A, 6?me ?tage 1073 Tunis > | T?l.: +21671770770 / +21622101626 > | Poste.: 362 > | Fax.: +21671951031 > | E-mail : taieb.riahi at topnet.tn > | Site web: www.topnet.tn > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 Well first off i'd suggest going to the oreon forums for this... there's some stuff labeled there. Second the rrds.pm is in the wrong path. you'd wanna adjust that. it's asking for the perl module not the binary Third you usually define your nagios version after you run the php install. It asks which version you're using and sets up the paramaters accordingly ------------------------------------------------------------------------- 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 cedric.temple at linagora.com Mon Apr 23 18:17:31 2007 From: cedric.temple at linagora.com (=?iso-8859-15?q?C=E9dric_Temple?=) Date: Mon, 23 Apr 2007 18:17:31 +0200 Subject: Nagios & oreon on ubuntu server 6.10 In-Reply-To: <462CD870.1090109@topnet.tn> References: <462CD870.1090109@topnet.tn> Message-ID: <200704231817.32398.cedric.temple@linagora.com> Le lundi 23 avril 2007 18:01, Riahi Taieb a ?crit?: > Hi folks, Hi, > I'm trying to install oreon with my Nagios 2.4 under ubuntu. The problem > is that in the oreon web config it always shows that I have a nagios > version 1.X !! > I think I miss configured oreon, here is the config : Oreon does not test Nagios version. You have to configure it during web installation. Regards. -- C?dric Temple Administrateur Syst?mes et R?seaux Linagora SA http://www.linagora.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available 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 taieb.riahi at topnet.tn Mon Apr 23 19:03:31 2007 From: taieb.riahi at topnet.tn (Riahi Taieb) Date: Mon, 23 Apr 2007 19:03:31 +0200 Subject: Nagios & oreon on ubuntu server 6.10 In-Reply-To: <200704231817.32398.cedric.temple@linagora.com> References: <462CD870.1090109@topnet.tn> <200704231817.32398.cedric.temple@linagora.com> Message-ID: <462CE6E3.5020806@topnet.tn> Hi, I did mention the existence of a checkbox showing nagios version 2, the problem is this thing is disabled, and that is what i was asking you guys about, :( thank you C?dric Temple a ?crit : > Le lundi 23 avril 2007 18:01, Riahi Taieb a ?crit : > >> Hi folks, >> > > Hi, > > > >> I'm trying to install oreon with my Nagios 2.4 under ubuntu. The problem >> is that in the oreon web config it always shows that I have a nagios >> version 1.X !! >> I think I miss configured oreon, here is the config : >> > > Oreon does not test Nagios version. You have to configure it during web > installation. > > Regards. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 hmann at groundworkopensource.com Mon Apr 23 19:08:22 2007 From: hmann at groundworkopensource.com (Harper Mann) Date: Mon, 23 Apr 2007 10:08:22 -0700 Subject: Nagios, Zabbix, OpenNMS? In-Reply-To: <7645779.1441177340274580.JavaMail.root@mail> References: <7645779.1441177340274580.JavaMail.root@mail> Message-ID: <462CE806.9060205@groundworkopensource.com> 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 james at nttmcl.com Mon Apr 23 19:26:52 2007 From: james at nttmcl.com (James) Date: Mon, 23 Apr 2007 10:26:52 -0700 Subject: Nagios & oreon on ubuntu server 6.10 In-Reply-To: <462CE6E3.5020806@topnet.tn> References: <462CD870.1090109@topnet.tn> <200704231817.32398.cedric.temple@linagora.com> <462CE6E3.5020806@topnet.tn> Message-ID: <462CEC5C.2010408@nttmcl.com> Riahi Taieb wrote: > Hi, > I did mention the existence of a checkbox showing nagios version 2, > the problem is this thing is disabled, and that is what i was asking > you guys about, :( > > thank you > > C?dric Temple a ?crit : >> Le lundi 23 avril 2007 18:01, Riahi Taieb a ?crit : >> >>> Hi folks, >>> >> >> Hi, >> >> >> >>> I'm trying to install oreon with my Nagios 2.4 under ubuntu. The problem >>> is that in the oreon web config it always shows that I have a nagios >>> version 1.X !! >>> I think I miss configured oreon, here is the config : >>> >> >> Oreon does not test Nagios version. You have to configure it during web >> installation. >> >> Regards. >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> 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 Do you have any existence of another nagios version on your computer? if you do get rid of it. it's possible picking up an old nagios installation ------------------------------------------------------------------------- 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 22:23:26 2007 From: james at nttmcl.com (James) Date: Mon, 23 Apr 2007 13:23:26 -0700 Subject: check cluster plugin Message-ID: <462D15BE.5010900@nttmcl.com> Hi i was trying to use the check cluster plugin from the contrib directory in the nagios plugins download but i get the following: ./check_cluster2.c: line 1: /backup: is a directory ./check_cluster2.c: line 2: aix: command not found ./check_cluster2.c: line 3: aix: command not found ./check_cluster2.c: line 4: aix: command not found ./check_cluster2.c: line 5: syntax error near unexpected token `(' ./check_cluster2.c: line 5: ` * Copyright (c) 2000-2004 Ethan Galstad (nagios at nagios.org)' i'm just suppose to copy the files from the contrib directory to the plugins directory i'm using right? Or am i suppose to configure them and do make and all that stuff? cause if so can someone give me the command for making and installing the contrib plugins? 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 patrick.morris at hp.com Mon Apr 23 22:35:21 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 23 Apr 2007 13:35:21 -0700 Subject: check cluster plugin In-Reply-To: <462D15BE.5010900@nttmcl.com> References: <462D15BE.5010900@nttmcl.com> Message-ID: <20070423203521.GI27901@pmorris.usa.hp.com> You're going to need to compile it first. You're running the source code. On Mon, 23 Apr 2007, James wrote: > Hi i was trying to use the check cluster plugin from the contrib > directory in the nagios plugins download but i get the following: > > ./check_cluster2.c: line 1: /backup: is a directory > ./check_cluster2.c: line 2: aix: command not found > ./check_cluster2.c: line 3: aix: command not found > ./check_cluster2.c: line 4: aix: command not found > ./check_cluster2.c: line 5: syntax error near unexpected token `(' > ./check_cluster2.c: line 5: ` * Copyright (c) 2000-2004 Ethan Galstad > (nagios at nagios.org)' > > i'm just suppose to copy the files from the contrib directory to the > plugins directory i'm using right? > Or am i suppose to configure them and do make and all that stuff? > cause if so can someone give me the command for making and installing > the contrib plugins? > > 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 ------------------------------------------------------------------------- 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 22:46:45 2007 From: james at nttmcl.com (James) Date: Mon, 23 Apr 2007 13:46:45 -0700 Subject: check cluster plugin In-Reply-To: <20070423203521.GI27901@pmorris.usa.hp.com> References: <462D15BE.5010900@nttmcl.com> <20070423203521.GI27901@pmorris.usa.hp.com> Message-ID: <462D1B35.1050405@nttmcl.com> Patrick Morris wrote: > You're going to need to compile it first. You're running the source > code. > > On Mon, 23 Apr 2007, James wrote: > > >> Hi i was trying to use the check cluster plugin from the contrib >> directory in the nagios plugins download but i get the following: >> >> ./check_cluster2.c: line 1: /backup: is a directory >> ./check_cluster2.c: line 2: aix: command not found >> ./check_cluster2.c: line 3: aix: command not found >> ./check_cluster2.c: line 4: aix: command not found >> ./check_cluster2.c: line 5: syntax error near unexpected token `(' >> ./check_cluster2.c: line 5: ` * Copyright (c) 2000-2004 Ethan Galstad >> (nagios at nagios.org)' >> >> i'm just suppose to copy the files from the contrib directory to the >> plugins directory i'm using right? >> Or am i suppose to configure them and do make and all that stuff? >> cause if so can someone give me the command for making and installing >> the contrib plugins? >> >> 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 >> uhh what's the command to compile it? i know that's a dumb question but i dont see any configure or make files in the directory is there a flag for the main configure command to install contrib plugins? ------------------------------------------------------------------------- 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 ton.voon at altinity.com Mon Apr 23 23:26:13 2007 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 23 Apr 2007 22:26:13 +0100 Subject: check cluster plugin In-Reply-To: <462D15BE.5010900@nttmcl.com> References: <462D15BE.5010900@nttmcl.com> Message-ID: <2C392C3B-9A68-443E-B6CC-E3FA76FDBDCC@altinity.com> James, Can you try the snapshot at http://nagiosplug.sf.net/snapshot. check_cluster2 has been recently moved into core and renamed as check_cluster. Ton On 23 Apr 2007, at 21:23, James wrote: > Hi i was trying to use the check cluster plugin from the contrib > directory in the nagios plugins download but i get the following: > > ./check_cluster2.c: line 1: /backup: is a directory > ./check_cluster2.c: line 2: aix: command not found > ./check_cluster2.c: line 3: aix: command not found > ./check_cluster2.c: line 4: aix: command not found > ./check_cluster2.c: line 5: syntax error near unexpected token `(' > ./check_cluster2.c: line 5: ` * Copyright (c) 2000-2004 Ethan Galstad > (nagios at nagios.org)' > > i'm just suppose to copy the files from the contrib directory to the > plugins directory i'm using right? > Or am i suppose to configure them and do make and all that stuff? > cause if so can someone give me the command for making and installing > the contrib plugins? > > 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 http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by 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 Tue Apr 24 01:08:28 2007 From: james at nttmcl.com (James) Date: Mon, 23 Apr 2007 16:08:28 -0700 Subject: check cluster plugin In-Reply-To: <2C392C3B-9A68-443E-B6CC-E3FA76FDBDCC@altinity.com> References: <462D15BE.5010900@nttmcl.com> <2C392C3B-9A68-443E-B6CC-E3FA76FDBDCC@altinity.com> Message-ID: <462D3C6C.4010506@nttmcl.com> Ton Voon wrote: > James, > > Can you try the snapshot at http://nagiosplug.sf.net/snapshot. > check_cluster2 has been recently moved into core and renamed as > check_cluster. > > Ton > > On 23 Apr 2007, at 21:23, James wrote: > >> Hi i was trying to use the check cluster plugin from the contrib >> directory in the nagios plugins download but i get the following: >> >> ./check_cluster2.c: line 1: /backup: is a directory >> ./check_cluster2.c: line 2: aix: command not found >> ./check_cluster2.c: line 3: aix: command not found >> ./check_cluster2.c: line 4: aix: command not found >> ./check_cluster2.c: line 5: syntax error near unexpected token `(' >> ./check_cluster2.c: line 5: ` * Copyright (c) 2000-2004 Ethan Galstad >> (nagios at nagios.org)' >> >> i'm just suppose to copy the files from the contrib directory to the >> plugins directory i'm using right? >> Or am i suppose to configure them and do make and all that stuff? >> cause if so can someone give me the command for making and installing >> the contrib plugins? >> >> 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 > > > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > Ok thanks that's working great. I had one more question about this cluster plugin tho. So for instance when i'm running the plugin i'm checking the plugin against an ip address. However say if i want the notification to send back the hostname that's failing how would i do that? so for instance -d $HOSTSTATEID:ipaddress$ that would give information about the host state and give back an ip address in notification but is there anyway to include a hostname in the notification as well? Like anyway to append a comment to the $HOSTSTATEID:ipaddress$ that way when i get a notification i don't just get a number. i get an actual name identified with the ip address. Thanks Much ------------------------------------------------------------------------- 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 24 06:45:27 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 24 Apr 2007 00:45:27 -0400 Subject: check cluster plugin In-Reply-To: <462D3C6C.4010506@nttmcl.com> References: <462D15BE.5010900@nttmcl.com> <2C392C3B-9A68-443E-B6CC-E3FA76FDBDCC@altinity.com> <462D3C6C.4010506@nttmcl.com> Message-ID: <462D8B67.4030901@aei.ca> On 23/04/07 07:08 PM, James wrote: > Ok thanks that's working great. > > I had one more question about this cluster plugin tho. > > So for instance when i'm running the plugin i'm checking the plugin > against an ip address. > However say if i want the notification to send back the hostname that's > failing how would i do that? > > so for instance > -d $HOSTSTATEID:ipaddress$ > > that would give information about the host state and give back an ip > address in notification but is there anyway to include a hostname in the > notification as well? > Like anyway to append a comment to the $HOSTSTATEID:ipaddress$ > > that way when i get a notification i don't just get a number. i get an > actual name identified with the ip address. The name should be the host/service name in your notification email. I.e. define service { host_name ClusterNode service_description My Cluster check_command check_cluster!$HOSTSTATEID:1.2.3.4$,$HOSTSTATEID:4.3.2.1$,$HOSTSTATEID:2.1.4.3$ [...] } Then you would get notified for service "My Cluster" on host "ClusterNode" if $HOSTSTATEID:1.2.3.4$,$HOSTSTATEID:4.3.2.1$,$HOSTSTATEID:2.1.4.3$ exceed set thresholds. 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 nagios-user at proy.org Tue Apr 24 10:43:25 2007 From: nagios-user at proy.org (Patrick Proy) Date: Tue, 24 Apr 2007 10:43:25 +0200 Subject: Announce : snmp plugins version 1.1.1 Message-ID: <007c01c7864c$9ffb46f0$880214ac@telindus.intra> Hi, The 1.1.1 version of the snmp plugins is released. Major changes are : - Offline doc in the package - snmp enhancements : packet size option in many scripts, snmpv3 port bug corrected - check_snmp_env.pl : more sensors and equipements supported (Foundry & Cisco) - check_snmp_int.pl : Support for high speed interface (>1Gbps) in bandwidth monitoring. Many output enhancements (labels, units and performance data). - Added ClusterXL status detection (Active/standby) in check_snmp_cpfw.pl. - Bug fix in some other scripts (see Changelog for details). Download & help : http://nagios.manubulon.com Forums & mailling-list : http://sourceforge.net/projects/nagios-snmp/ The RPM file will be updated soon. I included at the end of this mail the list of all the plugins and what they do. Patrick http://nagios.manubulon.com http://sourceforge.net/projects/nagios-snmp/ Here is a full list of available plugins : All scripts works with snmp v1, v2c and v3 (AuthNoPriv & AuthPriv) excepts check_snmp_win. check_snmp_storage : - checks storages (disks, swap, memory, etc...) - Compatible systems : Linux,Windows, Unix, AS/400.... (all MIB-2 compliant hosts) check_snmp_int : - checks interface states, usage on hosts, switch, routers, etc (snmp v1,v2c,v3) - Compatible systems : Linux,Windows, Unix, AS/400, routers, switch... (All MIB-2 compliant hosts) check_snmp_process : - checks if process are running, the number that are running, memory and cpu used. - Compatible systems : Linux,Windows, Unix, AS/400 (All MIB-2 compliant) check_snmp_load : - checks the load or the cpu of a host. - Compatible systems : Linux, Windows, Cisco, AS400, HP Procurve, LinkProof, Blucoat, Nokia, Fortinet, Netscreen, HP-UX check_snmp_vrrp : - checks the interface state of vrrp cluster - Compatible systems : Nokia IP, LinkProof, Alteon check_snmp_cpfw : - checks Checkpoint Firewall-1 status - Compatible systems : Checkpoint Firewall-1 (Nokia, Splat, Linux) check_snmp_mem : - Checks memory and swap usage - Compatible systems : Linux/Net-snmp, Cisco, HP Switch check_snmp_win : - Checks windows services states - Compatible systems : Windows check_snmp_css : - Checks Cisco css services state, connexions & response time check_snmp_env : - Checks environemental status (fan, temp, power supply, voltage). - Compatible systems : Cisco, Nokia, Bluecoat, Foundry check_snmp_nsbox : - Checks nsbox vhost & diode status. - Compatible systems : NetSecureOne Netbox check_snmp_boostedge : - Checks Boostedge services. check_snmp_linkproof_nhr : - Checks Radware linkproof NHR status ------------------------------------------------------------------------- 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 Tommy.Mestdagh at geosolutions.be Tue Apr 24 11:27:19 2007 From: Tommy.Mestdagh at geosolutions.be (Mestdagh Tommy) Date: Tue, 24 Apr 2007 11:27:19 +0200 Subject: Check_vnstat small contribution + question ofcourse Message-ID: <27FA63FC15F4C243A37B07D57C891E3C063CF824@ws03-exchange.iconos.be> I know this is not the right place for this, but this is but i have made a (my first ) nagios plugin. Vnstat monitors networktraffic for a specified nic. And this plugins notifies when the daily traffic gets to much. I noticed one problem. When the traffic exceeds the 1Gb the numberformat changes. I fixed that but when the vnstat returns exactly 1000 MB or 2000MB The plugin fails tho add this traffic=$(($traffic + $mb)) because $MB is zero, a hint from a scripting expert would be nice. TM #!/bin/bash warn=$1 critical=$2 eth="eth0" eth=$3 if [ "$1" -eq 0 ] then echo "invalid use no warn value" fi if [ "$2" -eq 0 ] then echo "invalid use no critical value" fi #if [ "${#$eth}" -eq 0 ] # then # eth="eth0" #else # eth=$3 #fi line=`/usr/bin/vnstat -s -i $eth | grep today` #echo $line traffic=${line:44:9} traffic=`echo ${traffic}` #echo $traffic + "traffic gelezen" gigabyte=`expr index $traffic ","` if [ $gigabyte -gt 0 ] then #echo "more than a giga traffic " giga=${traffic:0:1} mb=${traffic:2} mb=`echo ${mb}` #echo "aantal giga :" + $giga traffic=$(($giga * 1000)) #echo "aantal mb :" + $mb traffic=$(($traffic + $mb)) #echo $traffic + " in MB" fi traffic=${traffic/.*} #let traffic=$traffic /1 #echo "current traffic :" + $traffic if [ "$traffic" -gt "$2" ] then echo "Critical;current = $traffic;" + $line exit 2 fi if [ "$traffic" -gt "$1" ] then echo "Warning;current = $traffic;" + $line exit 1 else echo "OK;current = $traffic;" + $line exit 0 fi -------------- 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 jim at jimavery.me.uk Tue Apr 24 11:52:52 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 24 Apr 2007 10:52:52 +0100 Subject: Nagios & NEXSM In-Reply-To: <25708.194.2.163.124.1177406863.squirrel@webmail.grabeuh.com> References: <25708.194.2.163.124.1177406863.squirrel@webmail.grabeuh.com> Message-ID: <765d77c80704240252lfd4f527nfc0f6ef4b6f7656e@mail.gmail.com> On 24/04/07, Jean-Francois Liotier wrote: > Hi, > > I am trying to install NEXSM too but I have that exact same problem as > Steve Barnes. > I have tried many things (lowering my browser security, giving rights to > many users on many folders on my nagios box...) > I still get the "2nd" authentication dialog box and whetever I enter I get > : An unsigned java : jung-1.7.6 is trying to access your system with > illimitate rights. > I have tried to sign it but without success > > If you managed to get it working please fill me in ;) > > Regards. > > Jeff > I still get 2nd authentication dialog box. I haven't bothered to fix that. I guess the best way (for me anyway) would be to use ldap rather than htaccess authentication. Not something I know how to do (yet). Otherwise I guess you could configure Apache not to require authentication when supplying the .jar files. As for signing the .jar files I remember finding some decent (easy) notes on how to do that after a fair bit of googling. Hopefully I bookmarked it at home because I can't find it in my bookmarks here! I'll have a look when I get home and get back to you. 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 nagios at lamp.xs4all.nl Tue Apr 24 13:27:24 2007 From: nagios at lamp.xs4all.nl (Lennard Bakker) Date: Tue, 24 Apr 2007 13:27:24 +0200 Subject: NDO documentation Message-ID: <462DE99C.9050002@lamp.xs4all.nl> Hello, I'm looking for the explanation for some files of NDO database. These fields arn't covered in http://nagios.sourceforge.net/docs/ndoutils/NDOUtils_DB_Model.pdf (yet). In the service table there is a field config_type (also in the hosts) table. This field is filled with either a '0' of a '1'. I have some databases where hosts/services have two rows, one with a 0 fill, the other with the '1' fill. Other databases only got the '0' with services/hosts. For an application i programma's to use always the '1' as data, but this go wrong with other databases. Now i want to use the right config, but i don't know the use of this field. Can somebody explain the use of this field. Thanx, Lennard ------------------------------------------------------------------------- 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 christian.masopust at siemens.com Tue Apr 24 13:34:59 2007 From: christian.masopust at siemens.com (Masopust, Christian) Date: Tue, 24 Apr 2007 13:34:59 +0200 Subject: host not found when receiving SNMP-Trap Message-ID: <60721B67EAF0994EAFFB561767B700140125D7CB@nets13ha.ww300.siemens.net> Hi all, in my nagios-event-log i'm getting the following entries when receiving SNMP-Traps from a RAID-System: [2007-04-24 08:00:29] Warning: Passive check result was received for service 'EonStore-Trap' on host 'aptcc7fc-2', but the host could not be found! [2007-04-24 08:00:29] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;aptcc7fc-2;EonStore-Trap;0;Warning: SMART-Slot:3 Predictable Failure Detected(TEST) but the host "atpcc7fc-2" is configured in hosts.cfg hosts.cfg: define host { use generic-host host_name atpcc7fc-2 alias EonStore-2 address XXX.XXX.XXX.XXX parents atpcc7fc check_command check-host-alive hostgroups Backup-Devices contact_groups backup-admins } services.cfg: define service { use t_eonstore_trap service_description EonStore-Trap check_command check-none host_name atpcc7fc-2 contact_groups backup-admins } so, what could be the reason why Nagios doesn't recognize this host? thanks a lot, chris -------------- 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 Tue Apr 24 13:34:49 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Tue, 24 Apr 2007 07:34:49 -0400 Subject: $USER1$ Message-ID: When declaring new commands do I need to sub out the $USER1$ arguments for anything, or can those stay there? Define command{ Command_name check_snmp_win Command_line $USER1$/check_snmp_win.pl -V 2 -H xxx.xxx.xxx.xxx -C -N BESAlert -T BESAlert } Would that be the proper way to define this new command on my Blackberry Enterprise server? Here is what the service looks like: Define service{ Host_name XXXXXXX Service_description BES Alert Check_command check_snmp_win!BESAlert Max_check_attempts 5 Normal_check_interval 5 Retry_check_interval 1 Check_period 24x7 } Thanks a lot. -------------- 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 rob.blake at gmail.com Tue Apr 24 13:43:40 2007 From: rob.blake at gmail.com (Rob Blake) Date: Tue, 24 Apr 2007 12:43:40 +0100 Subject: $USER1$ In-Reply-To: References: Message-ID: On 4/24/07, Valdinger, Stephen (DOV, MSX) wrote: > > When declaring new commands do I need to sub out the $USER1$ arguments > for anything, or can those stay there? > > > > Define command{ > > Command_name check_snmp_win > > Command_line $USER1$/check_snmp_win.pl ?V 2 ?H > xxx.xxx.xxx.xxx ?C -N BESAlert ?T BESAlert > > } > > Would that be the proper way to define this new command on my Blackberry > Enterprise server? > > > > Here is what the service looks like: > > > > Define service{ > > Host_name XXXXXXX > > Service_description BES Alert > > Check_command check_snmp_win!BESAlert > > Max_check_attempts 5 > > Normal_check_interval 5 > > Retry_check_interval 1 > > Check_period 24x7 > > } > > > > > > Thanks a lot. > The $USER1$ macro typically refers to the location in which the majority of your plugins are stored (usually this is $Nagios_home/libexec). Rather than having to type out the full path to your plugin everytime you define a command, you can use the $USER1$ macro as a shortcut. If the plugin for the new command you are defining is in the same directory as the rest of your plugins, the simply maintain your use of $USER1$. If the plugin resides elsewhere on your filesystem, you will either need to provide the full path in your command definition, or define a second macro with the command location and use that. When defining the service, simply use the name of the command. Rob -------------- 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 jim at jimavery.me.uk Tue Apr 24 13:46:03 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 24 Apr 2007 12:46:03 +0100 Subject: host not found when receiving SNMP-Trap In-Reply-To: <60721B67EAF0994EAFFB561767B700140125D7CB@nets13ha.ww300.siemens.net> References: <60721B67EAF0994EAFFB561767B700140125D7CB@nets13ha.ww300.siemens.net> Message-ID: <765d77c80704240446v4ffbe6c7r8db4ea77eef59c57@mail.gmail.com> On 24/04/07, Masopust, Christian wrote: > so, what could be the reason why Nagios doesn't recognize this host? > > thanks a lot, > chris Spot the difference: aptcc7fc-2 atpcc7fc-2 it's easily done! 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 mikeh at muppetlabs.com Tue Apr 24 13:50:47 2007 From: mikeh at muppetlabs.com (Mike Hamrick) Date: Tue, 24 Apr 2007 04:50:47 -0700 Subject: Passive host results & soft states? Message-ID: <200704241150.l3OBolU6018693@muppetlabs.com> Howdy, Host A is a server which sends passive host/service results to host B via NSCA. When a single host check fails on host C (a machine monitored by host A) host A considers host C to be a SOFT state, where host B (the one that actually sends notifications) considers host C to be in a HARD state. This causes me a lot of problems because often just one host check will fail, yet I still get a notification. Here are some log entries that illustrate this: Log entry from host A: Wed Mar 21 02:29:02 2007 HOST ALERT: prod-mysql-1a;DOWN;SOFT;1;CRITICAL - Host Unreachable (prod-mysql-1a) Log entry from host B: Wed Mar 21 02:29:04 2007 EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;prod-mysql-1a;1;CRITICAL - Host Unreachable (prod-mysql-1a) Wed Mar 21 02:29:04 2007 HOST ALERT: prod-mysql-1a;DOWN;HARD;1;CRITICAL - Host Unreachable (prod-mysql-1a) Host A defines its hosts using this template: define host { name server check_command check-host-alive failure_prediction_enabled 1 max_check_attempts 4 notification_period 24x7 freshness_threshold 250s contact_groups admins notification_period 24x7 notification_interval 0 notification_options d,u,r check_interval 4 register 0 } Host B defines its hosts using this template: define host { name remote-host-template active_checks_enabled 0 check_period 24x7 max_check_attempts 4 notification_period 24x7 notification_interval 5 notification_options d,r failure_prediction_enabled 1 check_command service_is_stale register 0 } Thanks for any help! 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 christian.masopust at siemens.com Tue Apr 24 13:50:36 2007 From: christian.masopust at siemens.com (Masopust, Christian) Date: Tue, 24 Apr 2007 13:50:36 +0200 Subject: host not found when receiving SNMP-Trap In-Reply-To: <765d77c80704240446v4ffbe6c7r8db4ea77eef59c57@mail.gmail.com> References: <60721B67EAF0994EAFFB561767B700140125D7CB@nets13ha.ww300.siemens.net> <765d77c80704240446v4ffbe6c7r8db4ea77eef59c57@mail.gmail.com> Message-ID: <60721B67EAF0994EAFFB561767B700140125D7CD@nets13ha.ww300.siemens.net> thanks Jim.... sorry for wasting bandwidht.... what a dumb fault.... -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Jim Avery > Sent: Tuesday, April 24, 2007 1:46 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] host not found when receiving SNMP-Trap > > On 24/04/07, Masopust, Christian > wrote: > > so, what could be the reason why Nagios doesn't recognize this host? > > > > thanks a lot, > > chris > > Spot the difference: > > aptcc7fc-2 > atpcc7fc-2 > > it's easily done! > > 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 > ------------------------------------------------------------------------- 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 24 14:19:15 2007 From: marc at ena.com (Marc Powell) Date: Tue, 24 Apr 2007 07:19:15 -0500 Subject: Passive host results & soft states? In-Reply-To: <200704241150.l3OBolU6018693@muppetlabs.com> References: <200704241150.l3OBolU6018693@muppetlabs.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mike Hamrick > Sent: Tuesday, April 24, 2007 6:51 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Passive host results & soft states? > > > Howdy, > > Host A is a server which sends passive host/service results to host B > via NSCA. When a single host check fails on host C (a machine > monitored by host A) host A considers host C to be a SOFT state, where > host B (the one that actually sends notifications) considers host C to > be in a HARD state. This causes me a lot of problems because often > just one host check will fail, yet I still get a notification. That's how passive host checks work -- http://thread.gmane.org/gmane.network.nagios.devel/3714/focus=3733 -- 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 mikeh at muppetlabs.com Tue Apr 24 14:39:43 2007 From: mikeh at muppetlabs.com (Mike Hamrick) Date: Tue, 24 Apr 2007 05:39:43 -0700 Subject: Passive host results & soft states? In-Reply-To: (marc@ena.com) References: Message-ID: <200704241239.l3OCdhul020305@muppetlabs.com> Thanks Marc, I found this answer from Ethan Galstad in the thread you posted: > Nagios 2 doesn't support a max_attempts directive for hosts and all > passive host check results will immediately force the host into a HARD > state. This has changed a bit in Nagios 3 - hosts do have a > max_attempts directive, but passive results still put the host into a > HARD state. I think the solution for me is to change the check-host-alive command to send more pings, that way one dropped packet on a remotely monitored box won't cause me to get woken up at some ungodly hour. The command_line I had for check-host-alive (not sure where I got it) seems somewhat silly to me: Original: $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 My Change: $USER1$/check_ping -H $HOSTADDRESS$ -w 1000.0,40% -c 5000.0,100% -p 5 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 Marco at praxell.com Tue Apr 24 15:42:27 2007 From: Marco at praxell.com (Marco Supino) Date: Tue, 24 Apr 2007 16:42:27 +0300 Subject: Passive host results & soft states? References: <200704241239.l3OCdhul020305@muppetlabs.com> Message-ID: <45B7271392D7634ABA08F4429B57F1B13A227B@praxexil2> Hi, What I did is to send the passive host check through NSCA only if its in hard state, soft states are ignored, what script do you use to call send_nsca ? Marco. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mike Hamrick Sent: Tuesday, April 24, 2007 15:40 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Passive host results & soft states? Thanks Marc, I found this answer from Ethan Galstad in the thread you posted: > Nagios 2 doesn't support a max_attempts directive for hosts and all > passive host check results will immediately force the host into a HARD > state. This has changed a bit in Nagios 3 - hosts do have a > max_attempts directive, but passive results still put the host into a > HARD state. I think the solution for me is to change the check-host-alive command to send more pings, that way one dropped packet on a remotely monitored box won't cause me to get woken up at some ungodly hour. The command_line I had for check-host-alive (not sure where I got it) seems somewhat silly to me: Original: $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 My Change: $USER1$/check_ping -H $HOSTADDRESS$ -w 1000.0,40% -c 5000.0,100% -p 5 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 ------------------------------------------------------------------------- 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 Jan.Ploski at offis.de Tue Apr 24 16:34:31 2007 From: Jan.Ploski at offis.de (Jan Ploski) Date: Tue, 24 Apr 2007 16:34:31 +0200 Subject: Authentication using client certificates Message-ID: Hello, I would like to use a client certificate to authenticate with Nagios 2.9. With the mod_ssl option +FakeBasicAuth I can make my distinguished name (/C=DE/O=GridGermany/OU=OFFIS e.V./OU=Grid-RA/CN=Jan Ploski) appear in the "Logged in as" line in the user interface. The problem is that I apparently cannot use this distinguished name as contact_name in the configuration file. Nagios complains: Error: The name of contact '"/C=DE/O=GridGermany/OU=OFFIS e.V./OU=Grid-RA/CN=Jan Ploski"' contains one or more illegal characters. The documentation only mentions that contact_name is supposed to be a "short name used to identify the contact". Given that the direct approach described above doesn't work, is there another way to do it? Best regards - Jan Ploski -- Dipl.-Inform. (FH) Jan Ploski OFFIS Betriebliches Informationsmanagement Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 441 9722 - 184 Fax: +49 441 9722 - 202 E-Mail: Jan.Ploski at offis.de - URL: http://www.offis.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 Jan.Ploski at offis.de Tue Apr 24 16:43:36 2007 From: Jan.Ploski at offis.de (Jan Ploski) Date: Tue, 24 Apr 2007 16:43:36 +0200 Subject: Authentication using client certificates In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 04/24/2007 04:34:31 PM: > Hello, > > I would like to use a client certificate to authenticate with Nagios 2.9. > With the mod_ssl option +FakeBasicAuth I can make my distinguished name > (/C=DE/O=GridGermany/OU=OFFIS e.V./OU=Grid-RA/CN=Jan Ploski) appear in the > "Logged in as" line in the user interface. The problem is that I > apparently cannot use this distinguished name as contact_name in the > configuration file. Nagios complains: > > Error: The name of contact '"/C=DE/O=GridGermany/OU=OFFIS > e.V./OU=Grid-RA/CN=Jan Ploski"' contains one or more illegal characters. > > The documentation only mentions that contact_name is supposed to be a > "short name used to identify the contact". > > Given that the direct approach described above doesn't work, is there > another way to do it? To answer my own question: I just needed to find and edit the configuration variable "illegal_object_name_chars" in nagios.cfg. Best regards, Jan Ploski -- Dipl.-Inform. (FH) Jan Ploski OFFIS Betriebliches Informationsmanagement Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 441 9722 - 184 Fax: +49 441 9722 - 202 E-Mail: Jan.Ploski at offis.de - URL: http://www.offis.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 james at nttmcl.com Tue Apr 24 18:07:14 2007 From: james at nttmcl.com (James) Date: Tue, 24 Apr 2007 09:07:14 -0700 Subject: check cluster plugin In-Reply-To: <462D8B67.4030901@aei.ca> References: <462D15BE.5010900@nttmcl.com> <2C392C3B-9A68-443E-B6CC-E3FA76FDBDCC@altinity.com> <462D3C6C.4010506@nttmcl.com> <462D8B67.4030901@aei.ca> Message-ID: <462E2B32.6000600@nttmcl.com> Thomas Guyot-Sionnest wrote: > On 23/04/07 07:08 PM, James wrote: > > The name should be the host/service name in your notification email. I.e. > > define service { > host_name ClusterNode > service_description My Cluster > check_command > check_cluster!$HOSTSTATEID:1.2.3.4$,$HOSTSTATEID:4.3.2.1$,$HOSTSTATEID:2.1.4.3$ > [...] > } > > Then you would get notified for service "My Cluster" on host > "ClusterNode" if > $HOSTSTATEID:1.2.3.4$,$HOSTSTATEID:4.3.2.1$,$HOSTSTATEID:2.1.4.3$ exceed > set thresholds. > > Thomas > What i wanted to know how to do was assign a name to EACH node of the cluster in the notification email. The host that is using the service is not associated with the cluster i need to monitor at least that's what it says i should do in the instructions. So knowing the name of the host is useless since it has nothing to do with the cluster. So what i need to be able to do is assign some sort of name to each node on the cluster and have it spit back that name in a notification email if possible. I also don't want to use the actual hostname of the host for it to check in the cluster because if the dns server goes down for some reason all of these clusters will be unable to resolve. any ideas anybody? I mean obviously having the ip is useful too but hostnames are much easier to identify ------------------------------------------------------------------------- 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 dad at baby-gnu.org Tue Apr 24 18:21:33 2007 From: dad at baby-gnu.org (Daniel Dehennin) Date: Tue, 24 Apr 2007 18:21:33 +0200 Subject: Generating PDF documentation Message-ID: <87ps5trbea.fsf@thorr.asgardr.info> Hello, I hope this is the right place to ask this, I want to generate the documentation as PDF. I see that Holger Weiss provide the script and the configuration to do so. The PDF is in letter format and I would like to generate it in another format. Is it possible to provide the generation tools ? Regards. -- Daniel Dehennin R?cup?rer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available 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 holger at CIS.FU-Berlin.DE Tue Apr 24 18:41:45 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Tue, 24 Apr 2007 18:41:45 +0200 Subject: Generating PDF documentation In-Reply-To: <87ps5trbea.fsf@thorr.asgardr.info> References: <87ps5trbea.fsf@thorr.asgardr.info> Message-ID: <20070424164145.GU161803@CIS.FU-Berlin.DE> * Daniel Dehennin [2007-04-24 18:21]: > I hope this is the right place to ask this, I want to generate the > documentation as PDF. > > I see that Holger Weiss provide the script and the configuration to do > so. The PDF is in letter format and I would like to generate it in > another format. > > Is it possible to provide the generation tools ? I used html2ps(1) with the following configuration file and expect(1) wrapper: ftp://ftp.in-berlin.de/pub/users/weiss/nagios/doc/src/ The wrapper is only useful if you retrieve the HTML input via HTTP (as opposed to using a local copy of the docs), as in this case, html2ps(1) will prompt you for _each_ remote document after the first fifty HTML pages have been downloaded. There's no "I know what I'm doing" flag. Note that Ethan has changed a few more configuration settings for the official docs, not only the paper size. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------------------------- 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 israel at frontierflying.com Tue Apr 24 18:50:22 2007 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 24 Apr 2007 08:50:22 -0800 Subject: Nagios & NEXSM In-Reply-To: <765d77c80704240252lfd4f527nfc0f6ef4b6f7656e@mail.gmail.com> References: <25708.194.2.163.124.1177406863.squirrel@webmail.grabeuh.com> <765d77c80704240252lfd4f527nfc0f6ef4b6f7656e@mail.gmail.com> Message-ID: On Apr 24, 2007, at 1:52 AM, Jim Avery wrote: > I still get 2nd authentication dialog box. > [snip] > Otherwise I guess you could configure Apache not to require > authentication when supplying the .jar files. > I was having the same issue when I first installed NEXSM. I contancted the author about it, and he suggested the configure apache to not require authentication approach, since there is nothing in the jar directory that needs protection. That is done with an apache configuration statement like the following, just in case someone needs it: Satisfy Any Allow from all that does, of course, assume that your jar files are located at / nexsm/jar on your server :) > As for signing the .jar files I remember finding some decent (easy) > notes on how to do that after a fair bit of googling. Hopefully I > bookmarked it at home because I can't find it in my bookmarks here! > I'll have a look when I get home and get back to you. I managed to figure it out using the documentation at and but if you have more of a "how-to" available, that would probably make things much easier. Either way, signing the files fixed the installation for me (although I do still have to click a "Trust" dialog every time I log in) ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- 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 jesus_charls at yahoo.es Tue Apr 24 18:53:43 2007 From: jesus_charls at yahoo.es (Carlos Alvarez) Date: Tue, 24 Apr 2007 16:53:43 +0000 (GMT) Subject: Generating PDF documentation Message-ID: <117517.4046.qm@web25606.mail.ukl.yahoo.com> Como hago para cambiar la ip donde apunta cada host dentro del statusmap Carlos ?lvarez ----- Mensaje original ---- De: Holger Weiss Para: Nagios Users Enviado: martes, 24 de abril, 2007 10:41:45 Asunto: Re: [Nagios-users] Generating PDF documentation * Daniel Dehennin [2007-04-24 18:21]: > I hope this is the right place to ask this, I want to generate the > documentation as PDF. > > I see that Holger Weiss provide the script and the configuration to do > so. The PDF is in letter format and I would like to generate it in > another format. > > Is it possible to provide the generation tools ? I used html2ps(1) with the following configuration file and expect(1) wrapper: ftp://ftp.in-berlin.de/pub/users/weiss/nagios/doc/src/ The wrapper is only useful if you retrieve the HTML input via HTTP (as opposed to using a local copy of the docs), as in this case, html2ps(1) will prompt you for _each_ remote document after the first fifty HTML pages have been downloaded. There's no "I know what I'm doing" flag. Note that Ethan has changed a few more configuration settings for the official docs, not only the paper size. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------------------------- 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 __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ?gratis! Reg?strate ya - http://correo.espanol.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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 dad at baby-gnu.org Tue Apr 24 18:55:38 2007 From: dad at baby-gnu.org (Daniel Dehennin) Date: Tue, 24 Apr 2007 18:55:38 +0200 Subject: Generating PDF documentation In-Reply-To: <20070424164145.GU161803@CIS.FU-Berlin.DE> (Holger Weiss's message of "Tue\, 24 Apr 2007 18\:41\:45 +0200") References: <87ps5trbea.fsf@thorr.asgardr.info> <20070424164145.GU161803@CIS.FU-Berlin.DE> Message-ID: <87r6q9vhit.fsf@thorr.asgardr.info> Le 4983 Septembre 1993, Holger Weiss a tapot?: > I used html2ps(1) with the following configuration file and expect(1) > wrapper: [...] > Note that Ethan has changed a few more configuration settings for the > official docs, not only the paper size. Thanks a lot. Regards. -- Daniel Dehennin R?cup?rer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1 ------------------------------------------------------------------------- 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 Tue Apr 24 19:10:53 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 24 Apr 2007 18:10:53 +0100 Subject: Nagios & NEXSM In-Reply-To: References: <25708.194.2.163.124.1177406863.squirrel@webmail.grabeuh.com> <765d77c80704240252lfd4f527nfc0f6ef4b6f7656e@mail.gmail.com> Message-ID: <765d77c80704241010u5fc4f89ld6cda29125c119b3@mail.gmail.com> On 24/04/07, Israel Brewster wrote: > > Satisfy Any > Allow from all > Excellent, thanks! (regarding the signing of .jar files) > but if you have more of a "how-to" available, that would probably > make things much easier. I don't know if it's any easier than the references you just mentioned, but the guide I used is here: http://www.securingjava.com/appdx-c/appdx-c-6.html 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 jamesremerson at gmail.com Tue Apr 24 19:18:11 2007 From: jamesremerson at gmail.com (James Emerson) Date: Tue, 24 Apr 2007 13:18:11 -0400 Subject: Issues starting nagios... Message-ID: <7282c1e00704241018x56f53c83yaac8d89f828d637b@mail.gmail.com> Following the directions at: http://wiki.centos.org/Nagios_on_CentOS_4.x?highlight=%28nagio%29 When I go to start nagios I get this error: nagios -v nagios.cfg nagios: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory Any suggestions? Thanks, Jim -------------- 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 james at nttmcl.com Tue Apr 24 19:28:31 2007 From: james at nttmcl.com (James) Date: Tue, 24 Apr 2007 10:28:31 -0700 Subject: check cluster plugin In-Reply-To: <462E2B32.6000600@nttmcl.com> References: <462D15BE.5010900@nttmcl.com> <2C392C3B-9A68-443E-B6CC-E3FA76FDBDCC@altinity.com> <462D3C6C.4010506@nttmcl.com> <462D8B67.4030901@aei.ca> <462E2B32.6000600@nttmcl.com> Message-ID: <462E3E3F.5050000@nttmcl.com> Ok i have a new problem I'm trying to run check_cluster as a service associated with the nagios server When i run the check_cluster command separately from nagios it's seems fine and i get a CLUSTER OK: DNS: 3 up, 0 down, 0 unreachable When i run it with nagios i get CLUSTER OK: DNS: 0 up, 0 down, 0 unreachable i checked the syslog and it says the service timed out It is checking 3 servers Here is my check command: $USER1$/check_cluster --host -l $ARG1$ -w $ARG2$ -c $ARG3$ -d $ARG4$ Here is my Service Definition: check_cluster_host!"DNS"!1!2!$HOSTSTATEID:host1$,$HOSTSTATEID:host2$,$HOSTSTATEID:host3$ Syslog entry: "Check Cluster - DNS" "CLUSTER OK: DNS: 0 up, 0 down, 0 unreachable" "OK" ""' for service 'Check Cluster - DNS' on host 'nagios' timed out after 5 seconds any ideas what's going on? ------------------------------------------------------------------------- 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 24 19:56:55 2007 From: marc at ena.com (Marc Powell) Date: Tue, 24 Apr 2007 12:56:55 -0500 Subject: Issues starting nagios... In-Reply-To: <7282c1e00704241018x56f53c83yaac8d89f828d637b@mail.gmail.com> References: <7282c1e00704241018x56f53c83yaac8d89f828d637b@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 James Emerson > Sent: Tuesday, April 24, 2007 12:18 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Issues starting nagios... > > Following the directions at: > http://wiki.centos.org/Nagios_on_CentOS_4.x?highlight=%28nagio%29 > > When I go to start nagios I get this error: > > nagios -v nagios.cfg > nagios: error while loading shared libraries: libltdl.so.3: cannot open > shared object file: No such file or directory It seems that the RPM's you installed have an undisclosed dependency on a file that's not installed on your machine. I believe that /usr/lib/libltdl.so.3 is part of the libtool-libs package. It is under CentOS 3 at least. # rpm -q --whatprovides libltdl.so.3 libtool-libs-1.4.3-6 -- 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 jamesremerson at gmail.com Tue Apr 24 20:12:14 2007 From: jamesremerson at gmail.com (James Emerson) Date: Tue, 24 Apr 2007 14:12:14 -0400 Subject: Issues starting nagios... In-Reply-To: References: <7282c1e00704241018x56f53c83yaac8d89f828d637b@mail.gmail.com> Message-ID: <7282c1e00704241112w7c1efc9dj294ff9cde4cd00f8@mail.gmail.com> Fixed that issue, thank you so much for your help. Here is the new issue that i am having. [root at localhost nagios]# nagios -v nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Error: Cannot open config file '/etc/nagios/dependencies.cfg' for reading: No such file or directory ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. Thanks, Jim On 4/24/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 James Emerson > > Sent: Tuesday, April 24, 2007 12:18 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Issues starting nagios... > > > > Following the directions at: > > http://wiki.centos.org/Nagios_on_CentOS_4.x?highlight=%28nagio%29 > > > > When I go to start nagios I get this error: > > > > nagios -v nagios.cfg > > nagios: error while loading shared libraries: libltdl.so.3: cannot > open > > shared object file: No such file or directory > > It seems that the RPM's you installed have an undisclosed dependency on > a file that's not installed on your machine. I believe that > /usr/lib/libltdl.so.3 is part of the libtool-libs package. It is under > CentOS 3 at least. > > # rpm -q --whatprovides libltdl.so.3 > libtool-libs-1.4.3-6 > > -- > 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 marc at ena.com Tue Apr 24 20:48:04 2007 From: marc at ena.com (Marc Powell) Date: Tue, 24 Apr 2007 13:48:04 -0500 Subject: Issues starting nagios... In-Reply-To: <7282c1e00704241112w7c1efc9dj294ff9cde4cd00f8@mail.gmail.com> References: <7282c1e00704241112w7c1efc9dj294ff9cde4cd00f8@mail.gmail.com> Message-ID: > -----Original Message----- > From: James Emerson [mailto:jamesremerson at gmail.com] > Sent: Tuesday, April 24, 2007 1:12 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Issues starting nagios... > > Fixed that issue, thank you so much for your help. Here is the new issue > that i am having. > > [root at localhost nagios]# nagios -v nagios.cfg > > Nagios 2.9 > Copyright (c) 1999-2007 Ethan Galstad ( http://www.nagios.org > ) > Last Modified: 04-10-2007 > License: GPL > > Reading configuration data... > > Error: Cannot open config file '/etc/nagios/dependencies.cfg' for reading: > No such file or directory Your nagios.cfg specifies a cfg_file of /etc/nagios/dependencies.cfg. That file either doesn't exist or isn't readable by the nagios user. If you haven't done anything to change the default config created by your RPM provider, it would appear that his default config is borked (surprising coming from Dag). If dependencies.cfg does not exist, comment out the line referencing it in nagios.cfg. If it does exist, make sure it is readable by the nagios user. -- 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 hvdkooij at vanderkooij.org Tue Apr 24 21:39:45 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 24 Apr 2007 21:39:45 +0200 (CEST) Subject: Issues starting nagios... In-Reply-To: <7282c1e00704241112w7c1efc9dj294ff9cde4cd00f8@mail.gmail.com> References: <7282c1e00704241018x56f53c83yaac8d89f828d637b@mail.gmail.com> <7282c1e00704241112w7c1efc9dj294ff9cde4cd00f8@mail.gmail.com> Message-ID: On Tue, 24 Apr 2007, James Emerson wrote: > Fixed that issue, thank you so much for your help. Here is the new issue > that i am having. > > [root at localhost nagios]# nagios -v nagios.cfg > > Nagios 2.9 > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > Last Modified: 04-10-2007 > License: GPL > > Reading configuration data... > > Error: Cannot open config file '/etc/nagios/dependencies.cfg' for reading: > No such file or directory I think this is the time at which Ethan gets the hardcover manual and throws it at you. I suggest you read the manual cover to cover in a fast way at least once and dig into the issues that are not clear. Then read the nagios config file and make sure you understand it. I recommend you set the samples aside and build the config from scratch so you know what you did put in there. Combining the included samples and the knowledge from the manual should get going in the long run while understanding what you did build. Getting quick fixes means you start running back for help at each tiny bump in the road. There is no substitute for experience. 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 jamesremerson at gmail.com Tue Apr 24 21:44:43 2007 From: jamesremerson at gmail.com (James Emerson) Date: Tue, 24 Apr 2007 15:44:43 -0400 Subject: Issues starting nagios... In-Reply-To: References: <7282c1e00704241018x56f53c83yaac8d89f828d637b@mail.gmail.com> <7282c1e00704241112w7c1efc9dj294ff9cde4cd00f8@mail.gmail.com> Message-ID: <7282c1e00704241244i4a8d1bb7n2dc65d32f0ab8e29@mail.gmail.com> Thanks for all your help. I played around with the config file a little bit more and was able to get things to start. Thank you so much both of you for all your help. I just printed out the manual and plan on reading it tonight. Thanks again, Jim On 4/24/07, Hugo van der Kooij wrote: > > On Tue, 24 Apr 2007, James Emerson wrote: > > > Fixed that issue, thank you so much for your help. Here is the new issue > > that i am having. > > > > [root at localhost nagios]# nagios -v nagios.cfg > > > > Nagios 2.9 > > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > > Last Modified: 04-10-2007 > > License: GPL > > > > Reading configuration data... > > > > Error: Cannot open config file '/etc/nagios/dependencies.cfg' for > reading: > > No such file or directory > > I think this is the time at which Ethan gets the hardcover manual and > throws it at you. > > I suggest you read the manual cover to cover in a fast way at least once > and dig into the issues that are not clear. Then read the nagios config > file and make sure you understand it. > > I recommend you set the samples aside and build the config from scratch so > you know what you did put in there. > > Combining the included samples and the knowledge from the manual should > get going in the long run while understanding what you did build. Getting > quick fixes means you start running back for help at each tiny bump in the > road. > > There is no substitute for experience. > > 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 > -------------- 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 Tue Apr 24 21:48:45 2007 From: stephen.valdinger at doverchem.com (+ACI-Valdinger, Stephen (DOV, MSX)+ACI-) Date: Tue, 24 Apr 2007 15:48:45 -0400 Subject: check+AF8-snmp+AF8-win.pl error Message-ID: When I run in terminal I get this error?. Can?t locate Net/SNMP.pm in @INC (@INC contains: /etc/perl /usr/local/ ???.yadda yadda yadda I checked those locations and the Net/SNMP.pm is there. Can I install another similar package to get this to work properly, because I tried to copy the scripts from Net::SNMP again, and it still did not work. Anyone else have similar problems? -------------- 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 kelly.terry.jones at gmail.com Wed Apr 25 04:48:01 2007 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Tue, 24 Apr 2007 19:48:01 -0700 Subject: Using nagios for machine-to-machine reporting? Message-ID: <26face530704241948j6efef4aayf8e1bbd030a5c96e@mail.gmail.com> Nagios does a great job of monitoring/reporting to humans (or sysadmins, the nearest equivalent ), but can it also be used for machine-to-machine reporting? Example: machine X at my company wants to start a process that involves machines Y and Z. However, if either machine is down, X's proces should die quietly (no point in reporting Y or Z is down, since a sysadmin has presumably already been notified). Can machine X contact my nagios server for a machine-readable status of machines Y and Z? I realize I could wget/curl/lynx-source the page: http://nagios.mycompany.com/nagios/cgi-bin/extinfo.cgi?type=1&host=hostname and parse the output, but that seems ugly. Is there a "machine-readable" option for the page above that just prints "up", "down", "unknown", "parent down" or a number or something easy-to-parse like that? -- 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. ------------------------------------------------------------------------- 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 kelly.terry.jones at gmail.com Wed Apr 25 04:59:59 2007 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Tue, 24 Apr 2007 19:59:59 -0700 Subject: Using nagios for reporting on non-machine data such as employees? Message-ID: <26face530704241959l4428bbf8u80837a158c6d1aac@mail.gmail.com> We have various systems that keep track of employee data: when an employee was last paid, hours of sick/vacation leave accrued, employee's laptop's last IP address (from DHCP server), last time employee's laptop was backed up (from backup server), whether employee is on-lave/traveling, whether the employee has been receiving email (vs employee's mailbox being full, account not setup properly, etc), etc. I realized we could use nagios' "passive service checks" to have the various systems upload employee data to our nagios server, but was wondering if this was fitting a round peg into a square hole. Is nagios a good tool for monitoring things that aren't machines? If not, what would be a good tool? One concern: nagios tends to treat data as almost "binary"-- either something is good (green) or bad (red) [yes, yellow + "unknown" also exist, but it's still almost binary]. In some cases, we're just looking to create an "employee status report" page that has text data on the employee (pushed from various servers), without necessarily categorizing the data as "good" or "bad". -- 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. ------------------------------------------------------------------------- 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 adevey at omniture.com Wed Apr 25 08:47:11 2007 From: adevey at omniture.com (Aaron Devey) Date: Wed, 25 Apr 2007 00:47:11 -0600 Subject: Using nagios for reporting on non-machine data such as employees? In-Reply-To: <26face530704241959l4428bbf8u80837a158c6d1aac@mail.gmail.com> References: <26face530704241959l4428bbf8u80837a158c6d1aac@mail.gmail.com> Message-ID: <462EF96F.1010408@omniture.com> Kelly, I admire your determination to use nagios in many versatile ways. Unfortunately, nagios is probably not the best fit in this case. This is especially true if you really intend to use passive checks instead of leveraging nagios' powerful scheduling or notification features. Plus, adding a new employee could be a potential nightmare if many systems are involved. The effort spent in getting nagios services set up and reto-fitted the way you need would be much better spent on a more conventional solution. Your situation is fairly unique, so I am unable to think of any ready-to-go solutions. In the long run it's probably easiest to periodically upload all this data to a database and put some php scripts together so you can view reports on that data over a web interface. -Aaron Devey Kelly Jones wrote: >We have various systems that keep track of employee data: when an >employee was last paid, hours of sick/vacation leave accrued, >employee's laptop's last IP address (from DHCP server), last time >employee's laptop was backed up (from backup server), whether employee >is on-lave/traveling, whether the employee has been receiving email >(vs employee's mailbox being full, account not setup properly, etc), >etc. > >I realized we could use nagios' "passive service checks" to have the >various systems upload employee data to our nagios server, but was >wondering if this was fitting a round peg into a square hole. > >Is nagios a good tool for monitoring things that aren't machines? If >not, what would be a good tool? > >One concern: nagios tends to treat data as almost "binary"-- either >something is good (green) or bad (red) [yes, yellow + "unknown" also >exist, but it's still almost binary]. In some cases, we're just >looking to create an "employee status report" page that has text data >on the employee (pushed from various servers), without necessarily >categorizing the data as "good" or "bad". > > > ------------------------------------------------------------------------- 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 Wed Apr 25 10:22:50 2007 From: moshesharon at gmail.com (moshe sharon) Date: Wed, 25 Apr 2007 10:22:50 +0200 Subject: Using nagios for machine-to-machine reporting? In-Reply-To: <26face530704241948j6efef4aayf8e1bbd030a5c96e@mail.gmail.com> References: <26face530704241948j6efef4aayf8e1bbd030a5c96e@mail.gmail.com> Message-ID: <88ad29240704250122p4bdfcb93k640880959848ae84@mail.gmail.com> Hello It can be done in various ways. but sounds like you need to use event handlers. event handlers allows you to run a trigger in case state of host / service changed. in your case if service you are monitoring goes critical you need to write a script ( you can also trigger nrpe command on another machine) that shuts down the other machine service. and of course the sys admin gets notified. -- 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 J.F.Wheeler at rl.ac.uk Wed Apr 25 10:23:54 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 25 Apr 2007 09:23:54 +0100 Subject: Master and slave servers for Nagios Message-ID: As I have reported in the past I have 2 slave servers and a master server; all checks should be run from the slave servers and passed back to the master server. I have been recently trying the understand why the master server still has kernel "Out of memory" problems such that the kernel starts killing active processes and, in some cases, panics because there are no more processes to kill (this happens perhaps once or twice per week usually around 4:50 - 5:10 in the morning). As part of my investigations I have noticed that for a typical host 40% of tests are reported from the slave and 60% are run by the master. I can tell this because 40% of messages for this typical host in /var/log/nagios on the master server begin "EXTERNAL_COMMAND" and 60% of messages begin "Warning:". My question is why this should be ? Here is a copy of nagios.log from the master server for one test of one host for today (so far): [1177369200] CURRENT SERVICE STATE: csflnx119;SPACE_TMP;OK;HARD;1;DISK OK - free space: /tmp 672 MB (70% inode=99%): [1177369894] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 41 seconds (threshold=1817 seconds). I'm forcing an immediate check of the service. [1177370925] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 672 MB (70% inode=99%): [1177373014] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 43 seconds (threshold=2052 seconds). I'm forcing an immediate check of the service. [1177374874] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 43 seconds (threshold=1816 seconds). I'm forcing an immediate check of the service. [1177376734] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 41 seconds (threshold=1817 seconds). I'm forcing an immediate check of the service. [1177377158] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 672 MB (70% inode=99%): [1177379494] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 33 seconds (threshold=2305 seconds). I'm forcing an immediate check of the service. [1177381354] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 39 seconds (threshold=1818 seconds). I'm forcing an immediate check of the service. [1177383214] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 43 seconds (threshold=1816 seconds). I'm forcing an immediate check of the service. [1177387073] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177389102] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 13 seconds (threshold=5089 seconds). I'm forcing an immediate check of the service. [1177390507] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177392635] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 11 seconds (threshold=2118 seconds). I'm forcing an immediate check of the service. [1177394495] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 39 seconds (threshold=1818 seconds). I'm forcing an immediate check of the service. [1177396362] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 36 seconds (threshold=1823 seconds). I'm forcing an immediate check of the service. [1177397210] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177399813] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 47 seconds (threshold=2562 seconds). I'm forcing an immediate check of the service. [1177401674] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 40 seconds (threshold=1818 seconds). I'm forcing an immediate check of the service. [1177403749] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 28 seconds (threshold=1931 seconds). I'm forcing an immediate check of the service. [1177404093] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177406037] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 42 seconds (threshold=1902 seconds). I'm forcing an immediate check of the service. [1177410112] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 184 seconds (threshold=2853 seconds). I'm forcing an immediate check of the service. [1177410863] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177413485] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 30 seconds (threshold=2579 seconds). I'm forcing an immediate check of the service. [1177415948] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 40 seconds (threshold=2119 seconds). I'm forcing an immediate check of the service. [1177417738] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177420390] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 29 seconds (threshold=2631 seconds). I'm forcing an immediate check of the service. [1177423551] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 14 seconds (threshold=2481 seconds). I'm forcing an immediate check of the service. [1177424385] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177426431] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 56 seconds (threshold=1990 seconds). I'm forcing an immediate check of the service. [1177428291] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 43 seconds (threshold=1816 seconds). I'm forcing an immediate check of the service. The nagios.log file on the slave server only contains the "CURRENT SERVICE STATE:" entries for this server and test combination. Why would this be ? Is it because the slave server is configured to "obsess_over_services" ? There are a few entries in the nagios.log file for this host, but they refer only to Warnings (there were no critical problems on this host). I have compared the retention data file entries for this service and they are not significantly different. I have also run nagios -s /etc/nagios/nagios.cfg on the master and the slave servers; the output on both systems says "I have no suggestions - thinks look okay". So has the list any suggestions ? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- 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 surcouf at debianfr.net Wed Apr 25 10:54:07 2007 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl?= 'SurcouF' Bordet) Date: Wed, 25 Apr 2007 10:54:07 +0200 Subject: Nagios, Zabbix, OpenNMS? In-Reply-To: <3c9a5bae0704230813r309c464dm983887e810fe7695@mail.gmail.com> References: <462C6042.6040504@gmx.de> <3c9a5bae0704230813r309c464dm983887e810fe7695@mail.gmail.com> Message-ID: <1177491247.13549.17.camel@rpvbpi> Le lundi 23 avril 2007 ? 11:13 -0400, Bill Jacqmein a ?crit : > 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. Hi, You can use "exec" directive to have Nagios Plugins to be executed by Net-SNMP and retrieve output and return code by walking extTable[1] (extOutput and extResult, respectively). Regards, [1]: http://net-snmp.sourceforge.net/docs/mibs/ucdavis.html#extTable -- Rapha?l 'SurcouF' Bordet ------------------------------------------------------------------------- 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 nicole.haehnel at gmx.net Wed Apr 25 11:18:23 2007 From: nicole.haehnel at gmx.net (=?ISO-8859-15?Q?Nicole_H=E4hnel?=) Date: Wed, 25 Apr 2007 11:18:23 +0200 Subject: Monitoring DELL server without openManage Message-ID: <462F1CDF.6090708@gmx.net> Hi, is it possible to monitor dell servers without openmanage installed? (snmp?) We have netware servers running and openmanage isn't working with this version of netware. Thanks! Nicole ------------------------------------------------------------------------- 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 nicole.haehnel at gmx.net Wed Apr 25 11:20:32 2007 From: nicole.haehnel at gmx.net (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Wed, 25 Apr 2007 11:20:32 +0200 Subject: Monitoring DELL server without openManage In-Reply-To: <462F1CDF.6090708@gmx.net> References: <462F1CDF.6090708@gmx.net> Message-ID: <462F1D60.5020909@gmx.net> I'd like to check the storage section from a dell server. Nicole H?hnel schrieb: > Hi, > > is it possible to monitor dell servers without openmanage installed? (snmp?) > We have netware servers running and openmanage isn't working with this > version of netware. > > Thanks! > > Nicole > > ------------------------------------------------------------------------- > 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 misch at multinet.de Wed Apr 25 11:21:39 2007 From: misch at multinet.de (Michael Schwartzkopff) Date: Wed, 25 Apr 2007 11:21:39 +0200 Subject: Monitoring DELL server without openManage In-Reply-To: <462F1CDF.6090708@gmx.net> References: <462F1CDF.6090708@gmx.net> Message-ID: <200704251121.39405.misch@multinet.de> Am Mittwoch, 25. April 2007 11:18 schrieb Nicole H?hnel: > Hi, > > is it possible to monitor dell servers without openmanage installed? > (snmp?) We have netware servers running and openmanage isn't working with > this version of netware. > > Thanks! > > Nicole SNMP Agents should be installable in all OS versions. I don't know about netware, but there should be no problem. Get the Dell MIBs and search what you want to check. -- 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 Cyrille.Bollu at fedasil.be Wed Apr 25 11:33:07 2007 From: Cyrille.Bollu at fedasil.be (Cyrille Bollu) Date: Wed, 25 Apr 2007 11:33:07 +0200 Subject: Monitoring DELL server without openManage In-Reply-To: <200704251121.39405.misch@multinet.de> References: <200704251121.39405.misch@multinet.de> Message-ID: On Linux it is possible. We have Dell servers (PE650,PE750,PE850,PE2650,PE2750 & PE2850) running linux but not openmanage. We installed the package "percsnmp" which provides /usr/sbin/percmain and added the following line to the /etc/snmp/snmpd.conf file pass .1.3.6.1.4.1.3582 /usr/sbin/percmain Hope this helps, Cyrille nagios-users-bounces at lists.sourceforge.net a ?crit sur 25/04/2007 11:21:39 : > Am Mittwoch, 25. April 2007 11:18 schrieb Nicole H?hnel: > > Hi, > > > > is it possible to monitor dell servers without openmanage installed? > > (snmp?) We have netware servers running and openmanage isn't working with > > this version of netware. > > > > Thanks! > > > > Nicole > > SNMP Agents should be installable in all OS versions. I don't know about > netware, but there should be no problem. Get the Dell MIBs and search what > you want to check. > > -- > 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 -------------- 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 Cyrille.Bollu at fedasil.be Wed Apr 25 11:47:09 2007 From: Cyrille.Bollu at fedasil.be (Cyrille Bollu) Date: Wed, 25 Apr 2007 11:47:09 +0200 Subject: Monitoring DELL server without openManage In-Reply-To: <462F225C.6050503@gmx.net> References: <462F225C.6050503@gmx.net> Message-ID: I guess that nothing except a software from Dell or LSI would do the trick. Maybe you will found what you need here http://support.euro.dell.com/support/downloads/driverslist.aspx?c=uk&cs=RC1050266&l=en&s=pub Regards, Cyrille Nicole H?hnel a ?crit sur 25/04/2007 11:41:48 : > Thanks, > but I need something for netware, basically to monitor the perc > controllers and disks. > > > Cyrille Bollu schrieb: > > > > On Linux it is possible. > > > > We have Dell servers (PE650,PE750,PE850,PE2650,PE2750 & PE2850) > > running linux but not openmanage. > > > > We installed the package "percsnmp" which provides /usr/sbin/percmain > > and added the following line to the /etc/snmp/snmpd.conf file > > > > pass .1.3.6.1.4.1.3582 /usr/sbin/percmain > > > > Hope this helps, > > > > Cyrille > > > > nagios-users-bounces at lists.sourceforge.net a ?crit sur 25/04/2007 > > 11:21:39 : > > > > > Am Mittwoch, 25. April 2007 11:18 schrieb Nicole H?hnel: > > > > Hi, > > > > > > > > is it possible to monitor dell servers without openmanage installed? > > > > (snmp?) We have netware servers running and openmanage isn't > > working with > > > > this version of netware. > > > > > > > > Thanks! > > > > > > > > Nicole > > > > > > SNMP Agents should be installable in all OS versions. I don't know > > about > > > netware, but there should be no problem. Get the Dell MIBs and > > search what > > > you want to check. > > > > > > -- > > > 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 > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > 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 miskobs at yahoo.com Wed Apr 25 12:14:36 2007 From: miskobs at yahoo.com (Bratislav Stojkovic) Date: Wed, 25 Apr 2007 03:14:36 -0700 (PDT) Subject: Appearance of disable icon for passive monitoring Message-ID: <747462.67213.qm@web33214.mail.mud.yahoo.com> How can I avoid appearance of disable active checks icon for host overview, when I want to use passive monitoring for that host. __________________________________________________ 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 jqualkenbush at iso-ne.com Wed Apr 25 12:54:43 2007 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Wed, 25 Apr 2007 06:54:43 -0400 Subject: Master and slave servers for Nagios In-Reply-To: References: Message-ID: <462F3373.6030101@iso-ne.com> Wheeler, JF (Jonathan) wrote: > As I have reported in the past I have 2 slave servers and a master > server; all checks should be run from the slave servers and passed back > to the master server. I have been recently trying the understand why > the master server still has kernel "Out of memory" problems such that > the kernel starts killing active processes and, in some cases, panics > because there are no more processes to kill (this happens perhaps once > or twice per week usually around 4:50 - 5:10 in the morning). As part > of my investigations I have noticed that for a typical host 40% of tests > are reported from the slave and 60% are run by the master. I can tell > this because 40% of messages for this typical host in /var/log/nagios on > the master server begin "EXTERNAL_COMMAND" and 60% of messages begin > "Warning:". My question is why this should be ? Here is a copy of > nagios.log from the master server for one test of one host for today (so > far): > Sounds like this has to do more with the freshness of the passive check. If the master server thinks the check isn't fresh, it will then run an active check to see for itself. I'd tune in the freshness, and keep in mind the scheduling of the checks. If you configure your freshness to expire at five minutes, and the slave server schedules that check for once every six minutes, you are going to get behavior like you mentioned. -Jason -- -jq ------------------------------------------------------------------------- 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 MLT at pshtc.ks.gov Wed Apr 25 14:42:39 2007 From: MLT at pshtc.ks.gov (Mark Thompson) Date: Wed, 25 Apr 2007 07:42:39 -0500 Subject: Monitoring DELL server without openManage In-Reply-To: <462F1CDF.6090708@gmx.net> References: <462F1CDF.6090708@gmx.net> Message-ID: <462F066F.0C26.00C8.0@pshtc.ks.gov> Nicole, I use a command called nwstat that will give you info from novell. SNMP is enabled in netware. mark >>> Nicole H?hnel 4/25/2007 4:18 AM >>> Hi, is it possible to monitor dell servers without openmanage installed? (snmp?) We have netware servers running and openmanage isn't working with this version of netware. Thanks! Nicole ------------------------------------------------------------------------- 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 mikeh at muppetlabs.com Wed Apr 25 15:09:56 2007 From: mikeh at muppetlabs.com (Mike Hamrick) Date: Wed, 25 Apr 2007 06:09:56 -0700 Subject: Passive host results & soft states? In-Reply-To: <45B7271392D7634ABA08F4429B57F1B13A227B@praxexil2> (Marco@praxell.com) References: <200704241239.l3OCdhul020305@muppetlabs.com> <45B7271392D7634ABA08F4429B57F1B13A227B@praxexil2> Message-ID: <200704251309.l3PD9uKD031967@muppetlabs.com> Marco wrote: > What I did is to send the passive host check through NSCA only if its > in hard state, soft states are ignored, what script do you use to call > send_nsca ? Just a simple script that pipes "$HOST\t$RESULT\t$OUTPUT\n" into send_nsca. I'll need to also pass in $HOSTSTATETYPE$ and exit if I don't see a HARD state. Thanks for the advice, this is a lot nicer way of dealing with this problem. 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 stephen.valdinger at doverchem.com Wed Apr 25 15:20:56 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Wed, 25 Apr 2007 09:20:56 -0400 Subject: no output returned from plugin Message-ID: Any ideas as to what could be causing this??? -------------- 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 rob.blake at gmail.com Wed Apr 25 15:26:47 2007 From: rob.blake at gmail.com (Rob Blake) Date: Wed, 25 Apr 2007 14:26:47 +0100 Subject: no output returned from plugin In-Reply-To: References: Message-ID: On 4/25/07, Valdinger, Stephen (DOV, MSX) wrote: > > Any ideas as to what could be causing this??? > Plugin is not in the location you have told Nagios it is, Nagios user does not have permissions to execute the plugin. Just a few to get you started. Rob -------------- 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 J.F.Wheeler at rl.ac.uk Wed Apr 25 15:34:12 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 25 Apr 2007 14:34:12 +0100 Subject: Master and slave servers for Nagios In-Reply-To: <462F3373.6030101@iso-ne.com> References: <462F3373.6030101@iso-ne.com> Message-ID: > -----Original Message----- > From: Jason Qualkenbush [mailto:jqualkenbush at iso-ne.com] > Sent: 25 April 2007 11:55 > > Wheeler, JF (Jonathan) wrote: > > As I have reported in the past I have 2 slave servers and a master > > server; all checks should be run from the slave servers and passed back > > to the master server. I have been recently trying the understand why > > the master server still has kernel "Out of memory" problems such that > > the kernel starts killing active processes and, in some cases, panics > > because there are no more processes to kill (this happens perhaps once > > or twice per week usually around 4:50 - 5:10 in the morning). As part > > of my investigations I have noticed that for a typical host 40% of tests > > are reported from the slave and 60% are run by the master. I can tell > > this because 40% of messages for this typical host in /var/log/nagios on > > the master server begin "EXTERNAL_COMMAND" and 60% of messages begin > > "Warning:". My question is why this should be ? Here is a copy of > > nagios.log from the master server for one test of one host for today (so > > far): > > Sounds like this has to do more with the freshness of the passive > check. If the master server thinks the check isn't fresh, it will then > run an active check to see for itself. I'd tune in the freshness, and > keep in mind the scheduling of the checks. If you configure your > freshness to expire at five minutes, and the slave server schedules that > check for once every six minutes, you are going to get behaviour like you > mentioned. Thanks for your reply. However the tests are scheduled to run every 30 minutes on both master and slave servers (confirmed by checking in retention.dat file). If you look in the original message you will see that the master server is correctly running the command by freshness checking ("Warning" messages) every 30 minutes, but the slave results are at longer intervals ("EXTERNAL" messages) though roughly at some number of 30 minute intervals. What are the possibilities for results from command issued by the slave getting lost ? Why are OK results not recorded in the slave server logs ? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- 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 25 15:37:17 2007 From: marc at ena.com (Marc Powell) Date: Wed, 25 Apr 2007 08:37:17 -0500 Subject: no output returned from plugin 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 Valdinger, Stephen (DOV, MSX) > Sent: Wednesday, April 25, 2007 8:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] no output returned from plugin > > Any ideas as to what could be causing this??? Whatever plugin it is didn't print any output the way that you're calling it. Either that or it's a magnetic anomaly caused by the rotation of the cesium atoms in the plugin output ;). Seriously, try running the plugin from the command line as the nagios user exactly as you have it defined in your configuration. Purely guessing, it's probably sending output to STDERR. In the future, please provide more specific information about your configuration, the plugin in question and how you're using it. The more helpful you are in providing information about your problem, the more helpful we can be in providing a useful answer. -- 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 J.F.Wheeler at rl.ac.uk Wed Apr 25 15:42:20 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 25 Apr 2007 14:42:20 +0100 Subject: no output returned from plugin In-Reply-To: References: Message-ID: -----Original Message----- From: nagios-users On Behalf Of Valdinger, Stephen (DOV, MSX) Sent: 25 April 2007 14:21 > Any ideas as to what could be causing this??? Usually because the plugin has returned nothing on STDOUT. So has the plugin worked before ? Does it work if run by hand on the system being tested for user name nagios ? Is the test failing in an unusual way ? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- 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 25 15:43:39 2007 From: marc at ena.com (Marc Powell) Date: Wed, 25 Apr 2007 08:43:39 -0500 Subject: no output returned from plugin In-Reply-To: References: Message-ID: Please always respond on list. > -----Original Message----- > From: Valdinger, Stephen (DOV, MSX) > [mailto:stephen.valdinger at doverchem.com] > Sent: Wednesday, April 25, 2007 8:39 AM > To: Marc Powell > Subject: RE: [Nagios-users] no output returned from plugin > > I'm using the check_snmp_win.pl plug-in from Patrick Proy. Version 3.0a2 > of Nagios. And version 1.4.7 of the plug-ins for it. > > I've checked the file permissions and my nagios user has all rights > needed to be able to use the check command. And the rest of my suggestions/requests? -- 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 25 17:14:11 2007 From: marc at ena.com (Marc Powell) Date: Wed, 25 Apr 2007 10:14:11 -0500 Subject: no output returned from plugin In-Reply-To: References: Message-ID: Once again, please always respond on list. Unless we have an agreement for consulting or I ask you specifically to do so do not email me directly. It's generally considered rude and selfish to do so on OSS technical lists. > -----Original Message----- > From: Valdinger, Stephen (DOV, MSX) > [mailto:stephen.valdinger at doverchem.com] > Sent: Wednesday, April 25, 2007 9:48 AM > To: Marc Powell > Subject: RE: [Nagios-users] no output returned from plugin > > Ok, new problem What was the resolution for your original problem? > I get Invalid check type ! errors when running check_snmp_win.pl thru > terminal > > > > Am in the /usr/local/nagios/libexec directory > > Run /usr/bin/perl check_snmp_win.pl -H -c community -n > BESAlert -T BESAlert > > Output is Invalid check type ! > > What is the problem? I can't find any documentation Dunno. I've never used the plugin before and it's not included with the standard plugins. I've googled for you though and found http://nagios.manubulon.com/snmp_windows.html which looks like very good documentation. Presuming that is the exact same plugin you are using, the -T parameter must be the exact word 'service'. A quick look at the code confirms this -- if ( $o_type ne "service" ) { print "Invalid check type !\n"; print_usage(); exit $ERRORS{"UNKNOWN"} } Seems kind of silly but that's the way it is. -- 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 mark.frost1 at pepsi.com Wed Apr 25 17:30:59 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Wed, 25 Apr 2007 11:30:59 -0400 Subject: Questions about Status Map Message-ID: <7F477BD26F545A4C8E4779754A38EFB301322C01@PEPWMV00043.corp.pep.pvt> I've never been able to use the status map and now I figured it was about time I asked why :-) We monitor mostly services. Meaning that we don't monitor the network in terms of routers, etc, so we don't have parent-host relationships. Mostly just hosts and the variety of services we monitor on those hosts. At present, I show around 350 hosts and around 1800 services. So I'm not wildly surprised if I open up the initial status map page and get what looks mostly like a sun -- a big circular blob with virtually nothing that's discernable on it. So I figured I need to trim the list down. If I tell the status map to "include" only a hostgroup with one member in it for instance, I still see a big massive blob with Nagios in the center (just less green, I guess). This is the Circular map type. If I switch to another map type I seem to never to get away from the picture with nagios in the center with tons of "empty" spokes. I suspect I could make more use of the user-defined coordinates, but with 350 hosts and 1800 services, that doesn't seem very practical. We monitor "tiers" of an application so there are relationships between the various services we monitor. It would be cool to have parent relationships between services (not really dependencies) and have that show on the status map, but I don't think that's possible. So am I using the status map incorrectly somehow? I've just never found it to be of any possible use to us. 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 jim at jimavery.me.uk Wed Apr 25 18:50:25 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 25 Apr 2007 17:50:25 +0100 Subject: Questions about Status Map In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB301322C01@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB301322C01@PEPWMV00043.corp.pep.pvt> Message-ID: <765d77c80704250950w3291f76av3afb45952e485951@mail.gmail.com> On 25/04/07, Frost, Mark {PBG} wrote: > I suspect I could make more use of the user-defined coordinates, but > with 350 hosts and 1800 services, that doesn't seem very practical. You could use nagiosmap which will give you the ability to drag the hosts around the screen to set the coordinates. Have a look on http://nagiosexchange.org . Without this, 350 hosts is stretching the abilities of the standard status map somewhat, imo. Admittedly I've never tried nagiosmap myself because ... An alternative status map visualisation tool which is much better suited to hundreds of hosts is nexsm. http://nexsm.gridshield.net/Overview.html It can be a little tricky to set up so be prepared to look through the forum discussion on sourceforge and the email archive here to see what some of the common issues are. Either way, you really will benefit from setting the parent relationships, not only for visualisation but for helping Nagios to send you only appropriate alerts too. hth, 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 emartine at bsd.uchicago.edu Wed Apr 25 19:14:21 2007 From: emartine at bsd.uchicago.edu (Martinez, Eduardo [BSD] - ADM) Date: Wed, 25 Apr 2007 12:14:21 -0500 Subject: Nagios-users Digest, Vol 11, Issue 32 In-Reply-To: References: Message-ID: <77E42E07A5FE2543999C226A83B776BA5E0E@ADM-EXCHVS03.bsdad.uchicago.edu> Is there a plug-in available for monitoring network traffic thresholds from network interfaces? -Eduardo -----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 25, 2007 8:37 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 11, Issue 32 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Issues starting nagios... (Hugo van der Kooij) 2. Re: Issues starting nagios... (James Emerson) 3. check+AF8-snmp+AF8-win.pl error (+ACI-Valdinger, Stephen (DOV, MSX)+ACI-) 4. Using nagios for machine-to-machine reporting? (Kelly Jones) 5. Using nagios for reporting on non-machine data such as employees? (Kelly Jones) 6. Re: Using nagios for reporting on non-machine data such as employees? (Aaron Devey) 7. Re: Using nagios for machine-to-machine reporting? (moshe sharon) 8. Master and slave servers for Nagios (Wheeler, JF (Jonathan)) 9. Re: Nagios, Zabbix, OpenNMS? (Rapha?l 'SurcouF' Bordet) 10. Monitoring DELL server without openManage (Nicole H?hnel) 11. Re: Monitoring DELL server without openManage (Nicole H?hnel) 12. Re: Monitoring DELL server without openManage (Michael Schwartzkopff) 13. Re: Monitoring DELL server without openManage (Cyrille Bollu) 14. Re: Monitoring DELL server without openManage (Cyrille Bollu) 15. Appearance of disable icon for passive monitoring (Bratislav Stojkovic) 16. Re: Master and slave servers for Nagios (Jason Qualkenbush) 17. Re: Monitoring DELL server without openManage (Mark Thompson) 18. Re: Passive host results & soft states? (Mike Hamrick) 19. no output returned from plugin (Valdinger, Stephen (DOV, MSX)) 20. Re: no output returned from plugin (Rob Blake) 21. Re: Master and slave servers for Nagios (Wheeler, JF (Jonathan)) 22. Re: no output returned from plugin (Marc Powell) ---------------------------------------------------------------------- Message: 1 Date: Tue, 24 Apr 2007 21:39:45 +0200 (CEST) From: Hugo van der Kooij Subject: Re: [Nagios-users] Issues starting nagios... To: Nagios Users mailinglist Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 24 Apr 2007, James Emerson wrote: > Fixed that issue, thank you so much for your help. Here is the new issue > that i am having. > > [root at localhost nagios]# nagios -v nagios.cfg > > Nagios 2.9 > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > Last Modified: 04-10-2007 > License: GPL > > Reading configuration data... > > Error: Cannot open config file '/etc/nagios/dependencies.cfg' for reading: > No such file or directory I think this is the time at which Ethan gets the hardcover manual and throws it at you. I suggest you read the manual cover to cover in a fast way at least once and dig into the issues that are not clear. Then read the nagios config file and make sure you understand it. I recommend you set the samples aside and build the config from scratch so you know what you did put in there. Combining the included samples and the knowledge from the manual should get going in the long run while understanding what you did build. Getting quick fixes means you start running back for help at each tiny bump in the road. There is no substitute for experience. 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.) ------------------------------ Message: 2 Date: Tue, 24 Apr 2007 15:44:43 -0400 From: "James Emerson" Subject: Re: [Nagios-users] Issues starting nagios... To: "Nagios Users mailinglist" Message-ID: <7282c1e00704241244i4a8d1bb7n2dc65d32f0ab8e29 at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Thanks for all your help. I played around with the config file a little bit more and was able to get things to start. Thank you so much both of you for all your help. I just printed out the manual and plan on reading it tonight. Thanks again, Jim On 4/24/07, Hugo van der Kooij wrote: > > On Tue, 24 Apr 2007, James Emerson wrote: > > > Fixed that issue, thank you so much for your help. Here is the new issue > > that i am having. > > > > [root at localhost nagios]# nagios -v nagios.cfg > > > > Nagios 2.9 > > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > > Last Modified: 04-10-2007 > > License: GPL > > > > Reading configuration data... > > > > Error: Cannot open config file '/etc/nagios/dependencies.cfg' for > reading: > > No such file or directory > > I think this is the time at which Ethan gets the hardcover manual and > throws it at you. > > I suggest you read the manual cover to cover in a fast way at least once > and dig into the issues that are not clear. Then read the nagios config > file and make sure you understand it. > > I recommend you set the samples aside and build the config from scratch so > you know what you did put in there. > > Combining the included samples and the knowledge from the manual should > get going in the long run while understanding what you did build. Getting > quick fixes means you start running back for help at each tiny bump in the > road. > > There is no substitute for experience. > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Tue, 24 Apr 2007 15:48:45 -0400 From: "+ACI-Valdinger, Stephen (DOV, MSX)+ACI-" Subject: [Nagios-users] check+AF8-snmp+AF8-win.pl error To: Message-ID: Content-Type: text/plain; charset="utf-7" When I run in terminal I get this error?. Can?t locate Net?SNMP.pm in @INC (@INC contains: ?etc?perl ?usr?local? ???.yadda yadda yadda I checked those locations and the Net?SNMP.pm is there. Can I install another similar package to get this to work properly, because I tried to copy the scripts from Net::SNMP again, and it still did not work. Anyone else have similar problems? -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Tue, 24 Apr 2007 19:48:01 -0700 From: "Kelly Jones" Subject: [Nagios-users] Using nagios for machine-to-machine reporting? To: nagios-users at lists.sourceforge.net Message-ID: <26face530704241948j6efef4aayf8e1bbd030a5c96e at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Nagios does a great job of monitoring/reporting to humans (or sysadmins, the nearest equivalent ), but can it also be used for machine-to-machine reporting? Example: machine X at my company wants to start a process that involves machines Y and Z. However, if either machine is down, X's proces should die quietly (no point in reporting Y or Z is down, since a sysadmin has presumably already been notified). Can machine X contact my nagios server for a machine-readable status of machines Y and Z? I realize I could wget/curl/lynx-source the page: http://nagios.mycompany.com/nagios/cgi-bin/extinfo.cgi?type=1&host=hostn ame and parse the output, but that seems ugly. Is there a "machine-readable" option for the page above that just prints "up", "down", "unknown", "parent down" or a number or something easy-to-parse like that? -- 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. ------------------------------ Message: 5 Date: Tue, 24 Apr 2007 19:59:59 -0700 From: "Kelly Jones" Subject: [Nagios-users] Using nagios for reporting on non-machine data such as employees? To: nagios-users at lists.sourceforge.net Message-ID: <26face530704241959l4428bbf8u80837a158c6d1aac at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed We have various systems that keep track of employee data: when an employee was last paid, hours of sick/vacation leave accrued, employee's laptop's last IP address (from DHCP server), last time employee's laptop was backed up (from backup server), whether employee is on-lave/traveling, whether the employee has been receiving email (vs employee's mailbox being full, account not setup properly, etc), etc. I realized we could use nagios' "passive service checks" to have the various systems upload employee data to our nagios server, but was wondering if this was fitting a round peg into a square hole. Is nagios a good tool for monitoring things that aren't machines? If not, what would be a good tool? One concern: nagios tends to treat data as almost "binary"-- either something is good (green) or bad (red) [yes, yellow + "unknown" also exist, but it's still almost binary]. In some cases, we're just looking to create an "employee status report" page that has text data on the employee (pushed from various servers), without necessarily categorizing the data as "good" or "bad". -- 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. ------------------------------ Message: 6 Date: Wed, 25 Apr 2007 00:47:11 -0600 From: Aaron Devey Subject: Re: [Nagios-users] Using nagios for reporting on non-machine data such as employees? To: nagios-users at lists.sourceforge.net Message-ID: <462EF96F.1010408 at omniture.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Kelly, I admire your determination to use nagios in many versatile ways. Unfortunately, nagios is probably not the best fit in this case. This is especially true if you really intend to use passive checks instead of leveraging nagios' powerful scheduling or notification features. Plus, adding a new employee could be a potential nightmare if many systems are involved. The effort spent in getting nagios services set up and reto-fitted the way you need would be much better spent on a more conventional solution. Your situation is fairly unique, so I am unable to think of any ready-to-go solutions. In the long run it's probably easiest to periodically upload all this data to a database and put some php scripts together so you can view reports on that data over a web interface. -Aaron Devey Kelly Jones wrote: >We have various systems that keep track of employee data: when an >employee was last paid, hours of sick/vacation leave accrued, >employee's laptop's last IP address (from DHCP server), last time >employee's laptop was backed up (from backup server), whether employee >is on-lave/traveling, whether the employee has been receiving email >(vs employee's mailbox being full, account not setup properly, etc), >etc. > >I realized we could use nagios' "passive service checks" to have the >various systems upload employee data to our nagios server, but was >wondering if this was fitting a round peg into a square hole. > >Is nagios a good tool for monitoring things that aren't machines? If >not, what would be a good tool? > >One concern: nagios tends to treat data as almost "binary"-- either >something is good (green) or bad (red) [yes, yellow + "unknown" also >exist, but it's still almost binary]. In some cases, we're just >looking to create an "employee status report" page that has text data >on the employee (pushed from various servers), without necessarily >categorizing the data as "good" or "bad". > > > ------------------------------ Message: 7 Date: Wed, 25 Apr 2007 10:22:50 +0200 From: "moshe sharon" Subject: Re: [Nagios-users] Using nagios for machine-to-machine reporting? To: "Nagios Users Mailing List" Message-ID: <88ad29240704250122p4bdfcb93k640880959848ae84 at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hello It can be done in various ways. but sounds like you need to use event handlers. event handlers allows you to run a trigger in case state of host / service changed. in your case if service you are monitoring goes critical you need to write a script ( you can also trigger nrpe command on another machine) that shuts down the other machine service. and of course the sys admin gets notified. -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 8 Date: Wed, 25 Apr 2007 09:23:54 +0100 From: "Wheeler, JF \(Jonathan\)" Subject: [Nagios-users] Master and slave servers for Nagios To: Message-ID: Content-Type: text/plain; charset="US-ASCII" As I have reported in the past I have 2 slave servers and a master server; all checks should be run from the slave servers and passed back to the master server. I have been recently trying the understand why the master server still has kernel "Out of memory" problems such that the kernel starts killing active processes and, in some cases, panics because there are no more processes to kill (this happens perhaps once or twice per week usually around 4:50 - 5:10 in the morning). As part of my investigations I have noticed that for a typical host 40% of tests are reported from the slave and 60% are run by the master. I can tell this because 40% of messages for this typical host in /var/log/nagios on the master server begin "EXTERNAL_COMMAND" and 60% of messages begin "Warning:". My question is why this should be ? Here is a copy of nagios.log from the master server for one test of one host for today (so far): [1177369200] CURRENT SERVICE STATE: csflnx119;SPACE_TMP;OK;HARD;1;DISK OK - free space: /tmp 672 MB (70% inode=99%): [1177369894] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 41 seconds (threshold=1817 seconds). I'm forcing an immediate check of the service. [1177370925] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 672 MB (70% inode=99%): [1177373014] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 43 seconds (threshold=2052 seconds). I'm forcing an immediate check of the service. [1177374874] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 43 seconds (threshold=1816 seconds). I'm forcing an immediate check of the service. [1177376734] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 41 seconds (threshold=1817 seconds). I'm forcing an immediate check of the service. [1177377158] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 672 MB (70% inode=99%): [1177379494] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 33 seconds (threshold=2305 seconds). I'm forcing an immediate check of the service. [1177381354] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 39 seconds (threshold=1818 seconds). I'm forcing an immediate check of the service. [1177383214] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 43 seconds (threshold=1816 seconds). I'm forcing an immediate check of the service. [1177387073] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177389102] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 13 seconds (threshold=5089 seconds). I'm forcing an immediate check of the service. [1177390507] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177392635] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 11 seconds (threshold=2118 seconds). I'm forcing an immediate check of the service. [1177394495] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 39 seconds (threshold=1818 seconds). I'm forcing an immediate check of the service. [1177396362] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 36 seconds (threshold=1823 seconds). I'm forcing an immediate check of the service. [1177397210] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177399813] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 47 seconds (threshold=2562 seconds). I'm forcing an immediate check of the service. [1177401674] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 40 seconds (threshold=1818 seconds). I'm forcing an immediate check of the service. [1177403749] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 28 seconds (threshold=1931 seconds). I'm forcing an immediate check of the service. [1177404093] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177406037] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 42 seconds (threshold=1902 seconds). I'm forcing an immediate check of the service. [1177410112] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 184 seconds (threshold=2853 seconds). I'm forcing an immediate check of the service. [1177410863] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177413485] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 30 seconds (threshold=2579 seconds). I'm forcing an immediate check of the service. [1177415948] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 40 seconds (threshold=2119 seconds). I'm forcing an immediate check of the service. [1177417738] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177420390] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 29 seconds (threshold=2631 seconds). I'm forcing an immediate check of the service. [1177423551] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 14 seconds (threshold=2481 seconds). I'm forcing an immediate check of the service. [1177424385] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;csflnx119;SPACE_TMP;0;DISK OK - free space: /tmp 660 MB (68% inode=99%): [1177426431] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 56 seconds (threshold=1990 seconds). I'm forcing an immediate check of the service. [1177428291] Warning: The results of service 'SPACE_TMP' on host 'csflnx119' are stale by 43 seconds (threshold=1816 seconds). I'm forcing an immediate check of the service. The nagios.log file on the slave server only contains the "CURRENT SERVICE STATE:" entries for this server and test combination. Why would this be ? Is it because the slave server is configured to "obsess_over_services" ? There are a few entries in the nagios.log file for this host, but they refer only to Warnings (there were no critical problems on this host). I have compared the retention data file entries for this service and they are not significantly different. I have also run nagios -s /etc/nagios/nagios.cfg on the master and the slave servers; the output on both systems says "I have no suggestions - thinks look okay". So has the list any suggestions ? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------ Message: 9 Date: Wed, 25 Apr 2007 10:54:07 +0200 From: Rapha?l 'SurcouF' Bordet Subject: Re: [Nagios-users] Nagios, Zabbix, OpenNMS? To: nagios-users at lists.sourceforge.net Message-ID: <1177491247.13549.17.camel at rpvbpi> Content-Type: text/plain; charset=utf-8 Le lundi 23 avril 2007 ? 11:13 -0400, Bill Jacqmein a ?crit : > 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. Hi, You can use "exec" directive to have Nagios Plugins to be executed by Net-SNMP and retrieve output and return code by walking extTable[1] (extOutput and extResult, respectively). Regards, [1]: http://net-snmp.sourceforge.net/docs/mibs/ucdavis.html#extTable -- Rapha?l 'SurcouF' Bordet ------------------------------ Message: 10 Date: Wed, 25 Apr 2007 11:18:23 +0200 From: Nicole H?hnel Subject: [Nagios-users] Monitoring DELL server without openManage To: Nagios Users mailinglist Message-ID: <462F1CDF.6090708 at gmx.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Hi, is it possible to monitor dell servers without openmanage installed? (snmp?) We have netware servers running and openmanage isn't working with this version of netware. Thanks! Nicole ------------------------------ Message: 11 Date: Wed, 25 Apr 2007 11:20:32 +0200 From: Nicole H?hnel Subject: Re: [Nagios-users] Monitoring DELL server without openManage To: Nagios Users mailinglist Message-ID: <462F1D60.5020909 at gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed I'd like to check the storage section from a dell server. Nicole H?hnel schrieb: > Hi, > > is it possible to monitor dell servers without openmanage installed? (snmp?) > We have netware servers running and openmanage isn't working with this > version of netware. > > Thanks! > > Nicole > > ------------------------------------------------------------------------ - > 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 > > ------------------------------ Message: 12 Date: Wed, 25 Apr 2007 11:21:39 +0200 From: Michael Schwartzkopff Subject: Re: [Nagios-users] Monitoring DELL server without openManage To: nagios-users at lists.sourceforge.net Message-ID: <200704251121.39405.misch at multinet.de> Content-Type: text/plain; charset="iso-8859-1" Am Mittwoch, 25. April 2007 11:18 schrieb Nicole H?hnel: > Hi, > > is it possible to monitor dell servers without openmanage installed? > (snmp?) We have netware servers running and openmanage isn't working with > this version of netware. > > Thanks! > > Nicole SNMP Agents should be installable in all OS versions. I don't know about netware, but there should be no problem. Get the Dell MIBs and search what you want to check. -- 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: 13 Date: Wed, 25 Apr 2007 11:33:07 +0200 From: Cyrille Bollu Subject: Re: [Nagios-users] Monitoring DELL server without openManage To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="iso-8859-1" On Linux it is possible. We have Dell servers (PE650,PE750,PE850,PE2650,PE2750 & PE2850) running linux but not openmanage. We installed the package "percsnmp" which provides /usr/sbin/percmain and added the following line to the /etc/snmp/snmpd.conf file pass .1.3.6.1.4.1.3582 /usr/sbin/percmain Hope this helps, Cyrille nagios-users-bounces at lists.sourceforge.net a ?crit sur 25/04/2007 11:21:39 : > Am Mittwoch, 25. April 2007 11:18 schrieb Nicole H?hnel: > > Hi, > > > > is it possible to monitor dell servers without openmanage installed? > > (snmp?) We have netware servers running and openmanage isn't working with > > this version of netware. > > > > Thanks! > > > > Nicole > > SNMP Agents should be installable in all OS versions. I don't know about > netware, but there should be no problem. Get the Dell MIBs and search what > you want to check. > > -- > 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 -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 14 Date: Wed, 25 Apr 2007 11:47:09 +0200 From: Cyrille Bollu Subject: Re: [Nagios-users] Monitoring DELL server without openManage To: Nicole H?hnel Cc: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="iso-8859-1" I guess that nothing except a software from Dell or LSI would do the trick. Maybe you will found what you need here http://support.euro.dell.com/support/downloads/driverslist.aspx?c=uk&cs= RC1050266&l=en&s=pub Regards, Cyrille Nicole H?hnel a ?crit sur 25/04/2007 11:41:48 : > Thanks, > but I need something for netware, basically to monitor the perc > controllers and disks. > > > Cyrille Bollu schrieb: > > > > On Linux it is possible. > > > > We have Dell servers (PE650,PE750,PE850,PE2650,PE2750 & PE2850) > > running linux but not openmanage. > > > > We installed the package "percsnmp" which provides /usr/sbin/percmain > > and added the following line to the /etc/snmp/snmpd.conf file > > > > pass .1.3.6.1.4.1.3582 /usr/sbin/percmain > > > > Hope this helps, > > > > Cyrille > > > > nagios-users-bounces at lists.sourceforge.net a ?crit sur 25/04/2007 > > 11:21:39 : > > > > > Am Mittwoch, 25. April 2007 11:18 schrieb Nicole H?hnel: > > > > Hi, > > > > > > > > is it possible to monitor dell servers without openmanage installed? > > > > (snmp?) We have netware servers running and openmanage isn't > > working with > > > > this version of netware. > > > > > > > > Thanks! > > > > > > > > Nicole > > > > > > SNMP Agents should be installable in all OS versions. I don't know > > about > > > netware, but there should be no problem. Get the Dell MIBs and > > search what > > > you want to check. > > > > > > -- > > > 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 > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------ - > > 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: 15 Date: Wed, 25 Apr 2007 03:14:36 -0700 (PDT) From: Bratislav Stojkovic Subject: [Nagios-users] Appearance of disable icon for passive monitoring To: nagios-users at lists.sourceforge.net Message-ID: <747462.67213.qm at web33214.mail.mud.yahoo.com> Content-Type: text/plain; charset="us-ascii" How can I avoid appearance of disable active checks icon for host overview, when I want to use passive monitoring for that host. __________________________________________________ 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... ------------------------------ Message: 16 Date: Wed, 25 Apr 2007 06:54:43 -0400 From: Jason Qualkenbush Subject: Re: [Nagios-users] Master and slave servers for Nagios To: "Wheeler, JF (Jonathan)" Cc: nagios-users at lists.sourceforge.net Message-ID: <462F3373.6030101 at iso-ne.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Wheeler, JF (Jonathan) wrote: > As I have reported in the past I have 2 slave servers and a master > server; all checks should be run from the slave servers and passed back > to the master server. I have been recently trying the understand why > the master server still has kernel "Out of memory" problems such that > the kernel starts killing active processes and, in some cases, panics > because there are no more processes to kill (this happens perhaps once > or twice per week usually around 4:50 - 5:10 in the morning). As part > of my investigations I have noticed that for a typical host 40% of tests > are reported from the slave and 60% are run by the master. I can tell > this because 40% of messages for this typical host in /var/log/nagios on > the master server begin "EXTERNAL_COMMAND" and 60% of messages begin > "Warning:". My question is why this should be ? Here is a copy of > nagios.log from the master server for one test of one host for today (so > far): > Sounds like this has to do more with the freshness of the passive check. If the master server thinks the check isn't fresh, it will then run an active check to see for itself. I'd tune in the freshness, and keep in mind the scheduling of the checks. If you configure your freshness to expire at five minutes, and the slave server schedules that check for once every six minutes, you are going to get behavior like you mentioned. -Jason -- -jq ------------------------------ Message: 17 Date: Wed, 25 Apr 2007 07:42:39 -0500 From: "Mark Thompson" Subject: Re: [Nagios-users] Monitoring DELL server without openManage To: " Nicole H?hnel " , Message-ID: <462F066F.0C26.00C8.0 at pshtc.ks.gov> Content-Type: text/plain; charset=ISO-8859-1 Nicole, I use a command called nwstat that will give you info from novell. SNMP is enabled in netware. mark >>> Nicole H?hnel 4/25/2007 4:18 AM >>> Hi, is it possible to monitor dell servers without openmanage installed? (snmp?) We have netware servers running and openmanage isn't working with this version of netware. Thanks! Nicole ------------------------------------------------------------------------ - 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 ------------------------------ Message: 18 Date: Wed, 25 Apr 2007 06:09:56 -0700 From: Mike Hamrick Subject: Re: [Nagios-users] Passive host results & soft states? To: Marco at praxell.com Cc: nagios-users at lists.sourceforge.net Message-ID: <200704251309.l3PD9uKD031967 at muppetlabs.com> Marco wrote: > What I did is to send the passive host check through NSCA only if its > in hard state, soft states are ignored, what script do you use to call > send_nsca ? Just a simple script that pipes "$HOST\t$RESULT\t$OUTPUT\n" into send_nsca. I'll need to also pass in $HOSTSTATETYPE$ and exit if I don't see a HARD state. Thanks for the advice, this is a lot nicer way of dealing with this problem. Mike ------------------------------ Message: 19 Date: Wed, 25 Apr 2007 09:20:56 -0400 From: "Valdinger, Stephen (DOV, MSX)" Subject: [Nagios-users] no output returned from plugin To: Message-ID: Content-Type: text/plain; charset="us-ascii" Any ideas as to what could be causing this??? -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 20 Date: Wed, 25 Apr 2007 14:26:47 +0100 From: "Rob Blake" Subject: Re: [Nagios-users] no output returned from plugin To: "Valdinger, Stephen (DOV, MSX)" Cc: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="iso-8859-1" On 4/25/07, Valdinger, Stephen (DOV, MSX) wrote: > > Any ideas as to what could be causing this??? > Plugin is not in the location you have told Nagios it is, Nagios user does not have permissions to execute the plugin. Just a few to get you started. Rob -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 21 Date: Wed, 25 Apr 2007 14:34:12 +0100 From: "Wheeler, JF \(Jonathan\)" Subject: Re: [Nagios-users] Master and slave servers for Nagios To: Message-ID: Content-Type: text/plain; charset="US-ASCII" > -----Original Message----- > From: Jason Qualkenbush [mailto:jqualkenbush at iso-ne.com] > Sent: 25 April 2007 11:55 > > Wheeler, JF (Jonathan) wrote: > > As I have reported in the past I have 2 slave servers and a master > > server; all checks should be run from the slave servers and passed back > > to the master server. I have been recently trying the understand why > > the master server still has kernel "Out of memory" problems such that > > the kernel starts killing active processes and, in some cases, panics > > because there are no more processes to kill (this happens perhaps once > > or twice per week usually around 4:50 - 5:10 in the morning). As part > > of my investigations I have noticed that for a typical host 40% of tests > > are reported from the slave and 60% are run by the master. I can tell > > this because 40% of messages for this typical host in /var/log/nagios on > > the master server begin "EXTERNAL_COMMAND" and 60% of messages begin > > "Warning:". My question is why this should be ? Here is a copy of > > nagios.log from the master server for one test of one host for today (so > > far): > > Sounds like this has to do more with the freshness of the passive > check. If the master server thinks the check isn't fresh, it will then > run an active check to see for itself. I'd tune in the freshness, and > keep in mind the scheduling of the checks. If you configure your > freshness to expire at five minutes, and the slave server schedules that > check for once every six minutes, you are going to get behaviour like you > mentioned. Thanks for your reply. However the tests are scheduled to run every 30 minutes on both master and slave servers (confirmed by checking in retention.dat file). If you look in the original message you will see that the master server is correctly running the command by freshness checking ("Warning" messages) every 30 minutes, but the slave results are at longer intervals ("EXTERNAL" messages) though roughly at some number of 30 minute intervals. What are the possibilities for results from command issued by the slave getting lost ? Why are OK results not recorded in the slave server logs ? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------ Message: 22 Date: Wed, 25 Apr 2007 08:37:17 -0500 From: "Marc Powell" Subject: Re: [Nagios-users] no output returned from plugin 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 Valdinger, Stephen (DOV, MSX) > Sent: Wednesday, April 25, 2007 8:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] no output returned from plugin > > Any ideas as to what could be causing this??? Whatever plugin it is didn't print any output the way that you're calling it. Either that or it's a magnetic anomaly caused by the rotation of the cesium atoms in the plugin output ;). Seriously, try running the plugin from the command line as the nagios user exactly as you have it defined in your configuration. Purely guessing, it's probably sending output to STDERR. In the future, please provide more specific information about your configuration, the plugin in question and how you're using it. The more helpful you are in providing information about your problem, the more helpful we can be in providing a useful answer. -- 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 32 ******************************************** This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destry/delete all copies of the transmittal. 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 mark.frost1 at pepsi.com Wed Apr 25 19:16:21 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Wed, 25 Apr 2007 13:16:21 -0400 Subject: Questions about Status Map In-Reply-To: <765d77c80704250950w3291f76av3afb45952e485951@mail.gmail.com> References: <765d77c80704250950w3291f76av3afb45952e485951@mail.gmail.com> Message-ID: <7F477BD26F545A4C8E4779754A38EFB301322DE9@PEPWMV00043.corp.pep.pvt> Thanks, Jim. I tried out Nexsm last night and found that it gave me a huge, unordered picture of all my hosts. It was as close to random as I can imagine. I realize I can create custom views if I wanted to dedicate the time to that. Perhaps I don't fully understand the parent relationship stuff. That's most for routers and switches which we don't monitor (nor really care about) -- that's for other teams that are completely disassociated with ours. My understanding is that you setup parent relationships between host entitities (including switches and routers) and for what we monitor, there are none. I'll have a look at nagiosmap. Thanks Mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jim Avery Sent: Wednesday, April 25, 2007 12:50 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Questions about Status Map On 25/04/07, Frost, Mark {PBG} wrote: > I suspect I could make more use of the user-defined coordinates, but > with 350 hosts and 1800 services, that doesn't seem very practical. You could use nagiosmap which will give you the ability to drag the hosts around the screen to set the coordinates. Have a look on http://nagiosexchange.org . Without this, 350 hosts is stretching the abilities of the standard status map somewhat, imo. Admittedly I've never tried nagiosmap myself because ... An alternative status map visualisation tool which is much better suited to hundreds of hosts is nexsm. http://nexsm.gridshield.net/Overview.html It can be a little tricky to set up so be prepared to look through the forum discussion on sourceforge and the email archive here to see what some of the common issues are. Either way, you really will benefit from setting the parent relationships, not only for visualisation but for helping Nagios to send you only appropriate alerts too. hth, 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 jim at jimavery.me.uk Wed Apr 25 19:46:37 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 25 Apr 2007 18:46:37 +0100 Subject: Questions about Status Map In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB301322DE9@PEPWMV00043.corp.pep.pvt> References: <765d77c80704250950w3291f76av3afb45952e485951@mail.gmail.com> <7F477BD26F545A4C8E4779754A38EFB301322DE9@PEPWMV00043.corp.pep.pvt> Message-ID: <765d77c80704251046l471e6bebsd171d4b76bfe5318@mail.gmail.com> On 25/04/07, Frost, Mark {PBG} wrote: > Thanks, Jim. > > I tried out Nexsm last night and found that it gave me a huge, unordered > picture of all my hosts. You need the parent relationships for Nexsm to work, and with that many hosts you may need to spend a little while dragging hosts around to make the map look meaningful. Once you've dragged the hosts to where you want them you should be able to save the Nexsm map. Without those parent relationships defined it's pretty pointless! > Perhaps I don't fully understand the parent relationship stuff. That's > most for routers and switches which we don't monitor (nor really care > about) -- that's for other teams that are completely disassociated with > ours. Even if they're not your responsibility it's worth putting routers in to your Nagios configuration. You don't need to do anything more with them than ping them to make sure they're alive. It helps in making sense of your map and greatly helps in ensuring that Nagios won't send you dozens of alerts when a single router or lan/wan link goes down. > My understanding is that you setup parent relationships between > host entitities (including switches and routers) and for what we > monitor, there are none. Put the routers in and there will be. The parent relationships are all about what nodes are in-between your Nagios system and the host you are monitoring. I don't have responsibility for routers - I still ping them from Nagios but have Nagios configured so that it won't alert for routers 'down' - only hosts. > I'll have a look at nagiosmap. By all means do, but again if you don't have some parent relationships defined, your 350 hosts will all appear to be connected to the one parent like the petals of a daisy. 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 pgrote at gmail.com Wed Apr 25 19:52:15 2007 From: pgrote at gmail.com (Patrick Grote) Date: Wed, 25 Apr 2007 12:52:15 -0500 Subject: Make install webconf error Message-ID: Version details: OS: fedora6 nagios version: 2.9 nagios plugin: 1.4.8 Following the quickstart guide and when I get to the part where you: make install-webconf and it came back with the error: *** No rule to make target `install-webconf I checked the online forums and someone suggested copying the http.conf, so I did this: cp sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf The file copied successfully, yet when I try the make install command it still gives the same error. Does anyone know what I am doing wrong in relation to getting it to work? 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 stephen.valdinger at doverchem.com Wed Apr 25 20:23:55 2007 From: stephen.valdinger at doverchem.com (+ACI-Valdinger, Stephen (DOV, MSX)+ACI-) Date: Wed, 25 Apr 2007 14:23:55 -0400 Subject: 3-D status map Message-ID: Anyone know of any real good documentation on getting this setup? Right now when I go to use it with Firefox it asks me to open or save a cgi file. Do I need to configure apache for this? -------------- 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 Wed Apr 25 20:59:46 2007 From: moshesharon at gmail.com (moshe sharon) Date: Wed, 25 Apr 2007 21:59:46 +0300 Subject: 3-D status map In-Reply-To: References: Message-ID: <88ad29240704251159p38362e9fua0a26d8c14e71d4c@mail.gmail.com> Hello you need VRML client such as cortona vrml ( http://www.parallelgraphics.com/products/cortona/ ) the setup of this map is just like setting 2d map but you have another Z coordination to enter. -- 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 jsalaz at meteostar.com Wed Apr 25 21:21:06 2007 From: jsalaz at meteostar.com (Jason Salaz) Date: Wed, 25 Apr 2007 13:21:06 -0600 Subject: Make install webconf error Message-ID: <462FAA22.5080701@meteostar.com> My apologies for making this a new thread and not a response. I hit delete and reacted to the fact that I could answer this question one second too late :/. This is in response to "Patrick Grote"'s e-mail ( context at gmane: http://article.gmane.org/gmane.network.nagios.user/46518 ). You're mixing up Nagios 3a and Nagios 2. If you're installing Nagios 2, MAKE ABSOLUTELY SURE YOU'RE READING THE DOCUMENTS FOR 2!!!! make install-webconf is a Nagios 3 only feature, and if you keep reading the docs for 3, some things will mysteriously not work, and you will be annoyed. The 2.x installation guide is located at http://nagios.sourceforge.net/docs/2_0/ Again, ensure you're using them and not the 3.0 docs... -- ------------------------------------------------------------------------- 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 Wed Apr 25 22:03:05 2007 From: nagios-user at proy.org (Patrick Proy) Date: Wed, 25 Apr 2007 22:03:05 +0200 Subject: no output returned from plugin In-Reply-To: References: Message-ID: <010901c78774$bcbda610$880214ac@telindus.intra> >Dunno. I've never used the plugin before and it's not included with the standard plugins. I've googled for >you though and found http://nagios.manubulon.com/snmp_windows.html which looks like very good >documentation. Presuming that is the exact same plugin you are using, the -T parameter must be the exact >word 'service'. A quick look at the code confirms this -- > if ( $o_type ne "service" ) { > print "Invalid check type !\n"; print_usage(); exit $ERRORS{"UNKNOWN"} > } >Seems kind of silly but that's the way it is. Only seems in fact ;-) : you can omit "-T" option as $o_type="service" by default (it's only for future use). And thanks to you for reminding users I spent time writing some doc so they can read it. Patrick http://nagios.manubulon.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 patrick.morris at hp.com Wed Apr 25 22:28:19 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 25 Apr 2007 13:28:19 -0700 Subject: Nagios-users Digest, Vol 11, Issue 32 In-Reply-To: <77E42E07A5FE2543999C226A83B776BA5E0E@ADM-EXCHVS03.bsdad.uchicago.edu> References: <77E42E07A5FE2543999C226A83B776BA5E0E@ADM-EXCHVS03.bsdad.uchicago.edu> Message-ID: <20070425202819.GA28851@pmorris.usa.hp.com> On Wed, 25 Apr 2007, Martinez, Eduardo [BSD] - ADM wrote: > Is there a plug-in available for monitoring network traffic thresholds > from network interfaces? Yes, several, including check_snmp, among others. A couple other tips: please don't reply to digests, especially without changing the subject line. And please, please don't quote the whole thing. ------------------------------------------------------------------------- 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 Thu Apr 26 00:58:55 2007 From: james at nttmcl.com (James) Date: Wed, 25 Apr 2007 15:58:55 -0700 Subject: nagios service check latency Message-ID: <462FDD2F.9030506@nttmcl.com> Ok i have a question about setting priority to service checks since i have a handful of service check checking clusters of servers i'd like the priority of those service checks as high as for instance... host checks as in they happen regularly and almost instantly without latency Now my service checks used to be REALLY high latency but i removed unnecessary active checks on certain services. However my service checks for my clusters are still latent by about 5 minutes. Is there anyway to reduce this or just say that a certain service check should have zero latency? 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 Stanley.Hopcroft at Dest.gov.au Thu Apr 26 01:45:57 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 26 Apr 2007 09:45:57 +1000 Subject: Using nagios for machine-to-machine reporting? [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F8F56@acexp005.portfolio.base> Dear Sir, I am writing to thank you for your letter and say, > -----Original Message----- > Message: 4 > Date: Tue, 24 Apr 2007 19:48:01 -0700 > From: "Kelly Jones" > Subject: [Nagios-users] Using nagios for machine-to-machine reporting? > > Nagios does a great job of monitoring/reporting to humans (or > sysadmins, the nearest equivalent ), but can it also be used for > machine-to-machine reporting? .. snip > Can machine X contact my nagios server for a machine-readable status > of machines Y and Z? > > I realize I could wget/curl/lynx-source the page: > > http://nagios.mycompany.com/nagios/cgi-bin/extinfo.cgi?type=1& host=hostn > ame I apologise for jumping in without reading the other responses but there are at _least two_ ways you can proceed 1 ad-hoc means of parsing the CGIs Look at NagiosExchange under reporting or addon misc. There is a Perl module that someone I know wrote that does this). (There is also the built-in bog standard nagstats but this only gives the summary. You could also fetch status.dat by ssh and parse it. Not very difficult.) 2 Use a Database populated by NDOUtils (the standard Nag way of adding DB support) This in my view is the way to go. NDOUTils for nothing populates tables with 2.1 configuration data 2.2 outage data You can select from ... where ... to your hearts content. If you didn't want to bite the 2.x/3.x/NDOUtils snack, you could have a global host event handler that adds records to an outage table. Classification: UNCLASSIFIED ------------------------------------------------------------------------- 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 Thu Apr 26 05:15:44 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 25 Apr 2007 23:15:44 -0400 Subject: nagios service check latency In-Reply-To: <462FDD2F.9030506@nttmcl.com> References: <462FDD2F.9030506@nttmcl.com> Message-ID: > Ok i have a question about setting priority to service checks > > since i have a handful of service check checking clusters of > servers i'd like the priority of those service checks as high > as for instance... > host checks > > as in they happen regularly and almost instantly without latency > > Now my service checks used to be REALLY high latency but i > removed unnecessary active checks on certain services. > However my service checks for my clusters are still latent by > about 5 minutes. Is there anyway to reduce this or just say > that a certain service check should have zero latency? Latency is the amount of time it takes a check to run. If there were a way to tell Nagios a check shouldn't have any latency, it wouldn't do any good. Nagios spawns the check, and that check runs as quickly as it can after that. That amount of time isn't something you can change with a configuration setting; it depends on what the check is (for example, if it needs to load libraries or do other startup tasks that require system resources), and the available resources on the machine doing the checking. There are some very good tuning tips in the docs here: http://nagios.sourceforge.net/docs/2_0/tuning.html ------------------------------------------------------------------------- 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 Thu Apr 26 08:15:41 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 26 Apr 2007 07:15:41 +0100 Subject: nagios service check latency In-Reply-To: <462FDD2F.9030506@nttmcl.com> References: <462FDD2F.9030506@nttmcl.com> Message-ID: <765d77c80704252315o50cb688ah48d32a3790f029e7@mail.gmail.com> On 25/04/07, James wrote: > Ok i have a question about setting priority to service checks > > since i have a handful of service check checking clusters of servers i'd > like the priority of those service checks as high as for instance... > host checks > > as in they happen regularly and almost instantly without latency > > Now my service checks used to be REALLY high latency but i removed > unnecessary active checks on certain services. However my service checks > for my clusters are still latent by about 5 minutes. Is there anyway to > reduce this or just say that a certain service check should have zero > latency? IMO, the no. 1 easy thing you can do to reduce latency if you haven't done so already is to replace your check_ping checks with check_icmp or check_fping . You want to make sure that any checks you have take as little time to run as possible. hth, 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 Aritz.Lazkano at DaimlerChrysler.com Thu Apr 26 08:43:58 2007 From: Aritz.Lazkano at DaimlerChrysler.com (Aritz.Lazkano at DaimlerChrysler.com) Date: Thu, 26 Apr 2007 08:43:58 +0200 Subject: upgrade Nagios Message-ID: Hi! I?m working with my nagios 2.7 and i?ve to upgrade to version 3. What i?ve to do to preserve my services? Is it enougth if i copy "urs" folder in the new version of Nagios? Someone has done this? thank you. -------------- 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 kyle at serv.co.za Thu Apr 26 09:21:07 2007 From: kyle at serv.co.za (Kyle Vorster) Date: Thu, 26 Apr 2007 09:21:07 +0200 Subject: check_ping Message-ID: <463052E3.8000607@serv.co.za> Hi Guys, Having some issues with check_ping, get the following error. nagioss at office1# ./check_ping -H localhost -w 1000,10% -c 2000,20% -p 1 CRITICAL - You need more args!!! could not open pipe: Any one know what might be wrong ? Regards, Kyle Vorster ------------------------------------------------------------------------- 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 chiel at gmx.net Thu Apr 26 09:29:34 2007 From: chiel at gmx.net (chiel) Date: Thu, 26 Apr 2007 09:29:34 +0200 Subject: check_ping References: <463052E3.8000607@serv.co.za> Message-ID: <002b01c787d4$a3412300$4b0010ac@michiel> Try to re-compile the plugins without ipv6 support. See: http://lists.freebsd.org/pipermail/freebsd-isp/2006-June/004152.html chiel ----- Original Message ----- From: "Kyle Vorster" To: Sent: Thursday, April 26, 2007 9:21 AM Subject: [Nagios-users] check_ping > Hi Guys, > > Having some issues with check_ping, get the following error. > > nagioss at office1# ./check_ping -H localhost -w 1000,10% -c 2000,20% -p 1 > CRITICAL - You need more args!!! > could not open pipe: > > Any one know what might be wrong ? > > Regards, > Kyle Vorster > > ------------------------------------------------------------------------- > 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 chiel at gmx.net Thu Apr 26 09:56:02 2007 From: chiel at gmx.net (chiel) Date: Thu, 26 Apr 2007 09:56:02 +0200 Subject: Create mesh network in status map Message-ID: <004c01c787d8$567e9350$4b0010ac@michiel> hello, We got a mesh network (every node connected to each other). But how can I use this in the status map? I don't think its a parrent/child relation because a node will still be up if a parrent fails (because there are other parrents). Can somebody explain me this and how to set it up for the status map? chiel -------------- 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 Jorg.Schulz at systeam.se Thu Apr 26 11:40:38 2007 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Thu, 26 Apr 2007 11:40:38 +0200 Subject: check_ping Message-ID: Hi It?s a bug in nagios-plugin 1.4.8 Fix with vi the config.h in the nagios-plugin.1.4.8/ Search for #define PING_COMMAND and Change it to #define PING_COMMAND "/bin/ping -t %u -c %u %s" Works fine Cheers /J?rg -----Ursprungligt meddelande----- Fr?n: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] F?r kyle at serv.co.za Skickat: den 26 april 2007 09:21 Till: nagios-users at lists.sourceforge.net ?mne: [Nagios-users] check_ping Hi Guys, Having some issues with check_ping, get the following error. nagioss at office1# ./check_ping -H localhost -w 1000,10% -c 2000,20% -p 1 CRITICAL - You need more args!!! could not open pipe: Any one know what might be wrong ? Regards, Kyle Vorster ------------------------------------------------------------------------- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.9/773 - Release Date: 2007-04-22 20:18 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.9/773 - Release Date: 2007-04-22 20:18 ------------------------------------------------------------------------- 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 rainer at ultra-secure.de Thu Apr 26 12:24:23 2007 From: rainer at ultra-secure.de (Rainer Duffner) Date: Thu, 26 Apr 2007 12:24:23 +0200 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: References: Message-ID: <46307DD7.1020708@ultra-secure.de> joe.stringfellow at liverpool.com wrote: > > 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. > Well, I wrote something like this some years ago, mainly to check fans and temperature. I posted it to the mailing-list and I uploaded the plugins to sourceforge. That was in January 2005. They are in the contrib directory in the nagiosplugins source distribution. You should get hold of an InsightManager CD and copy the MIBs to the directory where your SNMP-client stores MIBs. Then you can use a SNMP-browser (like mbrowse on Unix-systems) to access the MIBs and get an idea of what you should be looking at. Please note that these plugins are very crude - there's probably a more elegant way to access all these MIBs and automate some of the hardcoded stuff in there... cheers, Rainer ------------------------------------------------------------------------- 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 Thu Apr 26 12:37:56 2007 From: marc at ena.com (Marc Powell) Date: Thu, 26 Apr 2007 05:37:56 -0500 Subject: nagios service check latency In-Reply-To: <462FDD2F.9030506@nttmcl.com> References: <462FDD2F.9030506@nttmcl.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of James > Sent: Wednesday, April 25, 2007 5:59 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios service check latency > > Ok i have a question about setting priority to service checks > > since i have a handful of service check checking clusters of servers i'd > like the priority of those service checks as high as for instance... > host checks > > as in they happen regularly and almost instantly without latency > > Now my service checks used to be REALLY high latency but i removed > unnecessary active checks on certain services. However my service checks > for my clusters are still latent by about 5 minutes. Is there anyway to > reduce this or just say that a certain service check should have zero > latency? That is a really high latency and seems to imply either that you're starving nagios for resources or you're doing lots of host checks. How many hosts/services are you checking on what kind of hardware? Have you looked at the performance tuning documentation? For a benchmark, I have machines doing just over a thousand service checks every 5 minutes (mostly check_fping) with a max latency of under 5 seconds and average latency of 0.638 seconds at the moment. There's no way to tell nagios that certain service checks have a higher priority over others outside of normal_check_interval/retry_check_interval. The scheduler just automagically figures out what to do based on your config. -- 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 Thu Apr 26 12:43:29 2007 From: marc at ena.com (Marc Powell) Date: Thu, 26 Apr 2007 05:43:29 -0500 Subject: nagios service check latency 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 Morris, Patrick > Sent: Wednesday, April 25, 2007 10:16 PM > To: James; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios service check latency > > > Ok i have a question about setting priority to service checks > > > > since i have a handful of service check checking clusters of > > servers i'd like the priority of those service checks as high > > as for instance... > > host checks > > > > as in they happen regularly and almost instantly without latency > > > > Now my service checks used to be REALLY high latency but i > > removed unnecessary active checks on certain services. > > However my service checks for my clusters are still latent by > > about 5 minutes. Is there anyway to reduce this or just say > > that a certain service check should have zero latency? > > Latency is the amount of time it takes a check to run. If there were a Actually, that's check execution time. Check latency is the time between the scheduled time a check is supposed to run and when nagios is actually able to run it. -- 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 stephen.valdinger at doverchem.com Thu Apr 26 13:45:08 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 26 Apr 2007 07:45:08 -0400 Subject: check_hpjd timeout issues Message-ID: Nagios 3.0a2 Plugins 1.4.8 We just set up monitoring on our HP printers, just one to start and test, and the service is timing out. The printer responds to a normal ping, but not the Nagios ping. Community name and hostname are set correctly. Will setting the snmp version work on the command with the -v swich in command_line of the command definition file? Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4020 bytes Desc: image001.jpg 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 m.borsani at it.net Thu Apr 26 14:01:04 2007 From: m.borsani at it.net (Marco Borsani) Date: Thu, 26 Apr 2007 14:01:04 +0200 Subject: error compiling nrpe 2.7 on HP-Ux Message-ID: <014601c787fa$9176bc40$0900d40a@intranet.it.net> Hi all. I have compiled (and using) nrpe 1.9 on my Hp-Ux 11.0, but now I need to istall nrpe 2.7 too. No problem on a linux system, but on the Hp-Ux I received following error message at the end of command ?configure?: *** Generating DH Parameters for SSL/TLS *** warning, not much extra random data, consider using the -rand option Generating DH parameters, 512 bit long safe prime, generator 2 This is going to take a long time 22432:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:503:You need to read the OpenSSl 22432:error:05068003:Diffie-Hellman routines:DH_generate_parameters:BN lib:dh_gen.c:154: checking for Kerberos include files... could not find include files checking for perl... /opt/perl/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating subst config.status: creating include/config.h config.status: include/config.h is unchanged Any idea? 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 stava at telcotec.se Thu Apr 26 14:22:48 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 26 Apr 2007 14:22:48 +0200 Subject: check_hpjd timeout issues In-Reply-To: References: Message-ID: <46309998.7010906@telcotec.se> Valdinger, Stephen (DOV, MSX) wrote: > Nagios 3.0a2 > > Plugins 1.4.8 > > We just set up monitoring on our HP printers, just one to start and > test, and the service is timing out. The printer responds to a normal > ping, but not the Nagios ping. Community name and hostname are set > correctly. Will setting the snmp version work on the command with the -v > swich in command_line of the command definition file? Different HP printers use different versions of snmp. snmp uses version 3 by default. Try snmpwalk against the printer and figure out the snmp version it uses, then update your command definition accordingly. Good Luck /Lars Stavholm ------------------------------------------------------------------------- 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 ml at winfix.it Thu Apr 26 15:19:00 2007 From: ml at winfix.it (Jo) Date: Thu, 26 Apr 2007 15:19:00 +0200 Subject: Create mesh network in status map In-Reply-To: <004c01c787d8$567e9350$4b0010ac@michiel> References: <004c01c787d8$567e9350$4b0010ac@michiel> Message-ID: <4630A6C4.6090408@winfix.it> chiel wrote: > hello, > > We got a mesh network (every node connected to each other). But how > can I use this in the status map? > I don't think its a parrent/child relation because a node will still > be up if a parrent fails (because there are other parrents). > > Can somebody explain me this and how to set it up for the status map? > I guess you'll have to treat them all as independent hosts, all at the same level. Jo ------------------------------------------------------------------------- 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 chiel at gmx.net Thu Apr 26 15:22:39 2007 From: chiel at gmx.net (chiel) Date: Thu, 26 Apr 2007 15:22:39 +0200 Subject: Create mesh network in status map References: <004c01c787d8$567e9350$4b0010ac@michiel> <4630A6C4.6090408@winfix.it> Message-ID: <023001c78805$f69e9330$4b0010ac@michiel> And how can I make a relation between them that way? because I have also normal hosts that I monitor that are not part of this mesh. chiel ----- Original Message ----- From: "Jo" To: "chiel" Cc: Sent: Thursday, April 26, 2007 3:19 PM Subject: Re: [Nagios-users] Create mesh network in status map > chiel wrote: >> hello, >> We got a mesh network (every node connected to each other). But how can >> I use this in the status map? >> I don't think its a parrent/child relation because a node will still be >> up if a parrent fails (because there are other parrents). >> Can somebody explain me this and how to set it up for the status map? >> > I guess you'll have to treat them all as independent hosts, all at the > same level. > > Jo ------------------------------------------------------------------------- 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 tom.welsh at bt.com Thu Apr 26 15:30:47 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 26 Apr 2007 14:30:47 +0100 Subject: Create mesh network in status map In-Reply-To: <023001c78805$f69e9330$4b0010ac@michiel> References: <023001c78805$f69e9330$4b0010ac@michiel> Message-ID: <6546343904687E41B19D8E5A26AB9F53507312@E03MVB2-UKBR.domain1.systemhost.net> Might be a stretch here but why not use a hostdependency group and only alert when x amount off servers don't respond? Description: Host dependencies are an advanced feature of Nagios that allow you to suppress notifications for hosts based on the status of one or more other hosts. Host dependencies are optional and are mainly targeted at advanced users who have complicated monitoring setups. More information on how host dependencies work (read this!) can be found here. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostdependency I might be barking up the wrong dog here, but I think that would do it for you. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of chiel Sent: 26 April 2007 14:23 Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Create mesh network in status map And how can I make a relation between them that way? because I have also normal hosts that I monitor that are not part of this mesh. chiel ----- Original Message ----- From: "Jo" To: "chiel" Cc: Sent: Thursday, April 26, 2007 3:19 PM Subject: Re: [Nagios-users] Create mesh network in status map > chiel wrote: >> hello, >> We got a mesh network (every node connected to each other). But how can >> I use this in the status map? >> I don't think its a parrent/child relation because a node will still be >> up if a parrent fails (because there are other parrents). >> Can somebody explain me this and how to set it up for the status map? >> > I guess you'll have to treat them all as independent hosts, all at the > same level. > > Jo ------------------------------------------------------------------------ - 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 npietrangelo at jewels.com Thu Apr 26 15:49:43 2007 From: npietrangelo at jewels.com (Pietrangelo, Nicholas) Date: Thu, 26 Apr 2007 09:49:43 -0400 Subject: Nagiosgraph: RRDs doesn't generate a new database Message-ID: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2C8D@ex01.jewels.local> I have followed all of the instructions from Wolfgang, the INSTALL file from nagiosgraph-0.8.2 and any readme that I can find. The nagiosgraph.log is empty and the directory that I specify for the "rrddir" is empty. If I run the /usr/share/rrdtool/examples/perftest.pl it generates a database. Here is what I have: Nagios.cfg process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/var/adm/logs/nagios/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_command=process-service-perfdata log_file=/var/adm/logs/nagios/nagios.log status_file=/var/adm/logs/nagios/status.dat command_file=/var/adm/logs/nagios/nagios.cmd comment_file=/var/adm/logs/nagios/comments.dat temp_file=/var/adm/logs/nagios/nagios.tmp cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/dependencies.cfg cfg_file=/etc/nagios/escalations.cfg cfg_file=/etc/nagios/hostgroups.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/serviceextinfo.cfg object_cache_file=/var/adm/logs/nagios/objects.cache resource_file=/etc/nagios/resource.cfg commands.cfg ........ define command { command_name process-service-perfdata command_line /etc/nagios/nagiosgraph-0.8.2/insert.pl "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEDESC$||$SERVICEO UTPUT$||$SERVICEPERFDATA$" } Serviceextinfo.cfg define serviceextinfo{ service_description PING host_name * notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=PING icon_image graph.gif icon_image_alt show graphics } Nagiosgraph.cfg debug = 1 logfile = /var/adm/logs/nagios/nagiosgraph.log rrddir = /var/adm/logs/nagios/rrd mapfile = /etc/nagios/nagiosgraph-0.8.2/map perflog = /var/adm/logs/nagios/perfdata.log stylesheet = /usr/share/nagios/stylesheets/nagiosgraph.css insert.pl my $configfile = '/etc/nagios/nagiosgraph-0.8.2/nagiosgraph.conf'; Below shows that the nagiosgraph.log and rrddir is empty [root at rh02 nagios]# pwd /var/adm/logs/nagios [root at rh02 nagios]# ls -alR .: total 1212 drwxrwxrwx 3 root root 4096 Apr 26 09:48 . drwxr-xr-x 13 root root 4096 Apr 19 14:21 .. -rw-rw-r-- 1 nagios nagios 238 Apr 25 14:04 comments.dat -rw-rw-r-- 1 nagios nagios 239 Apr 25 14:04 downtime.dat -rwxrwxr-x 1 nagios nagios 0 Apr 19 14:22 nagiosgraph.log -rw-r--r-- 1 nagios nagios 4114 Apr 26 09:06 nagios.log -rw-r--r-- 1 nagios nagios 9337 Apr 25 15:06 objects.cache -rw------- 1 nagios nagios 7613 Apr 26 09:06 retention.dat drwxr-xr-x 2 nagios nagios 4096 Apr 25 15:06 rrd -rw-r--r-- 1 nagios nagios 1179322 Apr 26 09:48 service-perfdata -rw-rw-r-- 1 nagios nagios 7576 Apr 26 09:48 status.dat ./rrd: total 8 drwxr-xr-x 2 nagios nagios 4096 Apr 25 15:06 . drwxrwxrwx 3 root root 4096 Apr 26 09:48 .. Help!! 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 -------------- ------------------------------------------------------------------------- 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 weinerm at ccf.org Thu Apr 26 16:22:08 2007 From: weinerm at ccf.org (Weiner, Michael) Date: Thu, 26 Apr 2007 10:22:08 -0400 Subject: Nagiosgraph: RRDs doesn't generate a new database In-Reply-To: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2C8D@ex01.jewels.local> References: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2C8D@ex01.jewels.local> Message-ID: Having just been through this, LOL....commented below: 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 Pietrangelo, Nicholas Sent: Thursday, April 26, 2007 9:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagiosgraph: RRDs doesn't generate a new database I have followed all of the instructions from Wolfgang, the INSTALL file from nagiosgraph-0.8.2 and any readme that I can find. The nagiosgraph.log is empty and the directory that I specify for the "rrddir" is empty. If I run the /usr/share/rrdtool/examples/perftest.pl it generates a database. Here is what I have: Nagios.cfg process_performance_data=1 service_perfdata_command=process-service-perfdata <-- not supposed to be defined, comment this out as you define the service_perfdata_file_processing_command below service_perfdata_file=/var/adm/logs/nagios/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_command=process-service-perfdata log_file=/var/adm/logs/nagios/nagios.log status_file=/var/adm/logs/nagios/status.dat command_file=/var/adm/logs/nagios/nagios.cmd comment_file=/var/adm/logs/nagios/comments.dat temp_file=/var/adm/logs/nagios/nagios.tmp cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/dependencies.cfg cfg_file=/etc/nagios/escalations.cfg cfg_file=/etc/nagios/hostgroups.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/serviceextinfo.cfg object_cache_file=/var/adm/logs/nagios/objects.cache resource_file=/etc/nagios/resource.cfg commands.cfg ........ shouldn't matter tho I have read mixed reviews I have the path to perl before the insert.pl and you can remove the "$LASTSERCIVE...." Its already defined in the service template define command { command_name process-service-perfdata command_line /etc/nagios/nagiosgraph-0.8.2/insert.pl "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEDESC$||$SERVICEO UTPUT$||$SERVICEPERFDATA$" } Serviceextinfo.cfg define serviceextinfo{ service_description PING host_name * notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=PING <-- try notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&geom=900x300 icon_image graph.gif icon_image_alt show graphics } Nagiosgraph.cfg debug = 1 logfile = /var/adm/logs/nagios/nagiosgraph.log rrddir = /var/adm/logs/nagios/rrd mapfile = /etc/nagios/nagiosgraph-0.8.2/map perflog = /var/adm/logs/nagios/perfdata.log <-- define this the same as above in the nagios.cfg (i.e. service_perfdata_file=/var/adm/logs/nagios/service-perfdata ) stylesheet = /usr/share/nagios/stylesheets/nagiosgraph.css insert.pl my $configfile = '/etc/nagios/nagiosgraph-0.8.2/nagiosgraph.conf'; Below shows that the nagiosgraph.log and rrddir is empty [root at rh02 nagios]# pwd /var/adm/logs/nagios [root at rh02 nagios]# ls -alR .: total 1212 drwxrwxrwx 3 root root 4096 Apr 26 09:48 . drwxr-xr-x 13 root root 4096 Apr 19 14:21 .. -rw-rw-r-- 1 nagios nagios 238 Apr 25 14:04 comments.dat -rw-rw-r-- 1 nagios nagios 239 Apr 25 14:04 downtime.dat -rwxrwxr-x 1 nagios nagios 0 Apr 19 14:22 nagiosgraph.log -rw-r--r-- 1 nagios nagios 4114 Apr 26 09:06 nagios.log -rw-r--r-- 1 nagios nagios 9337 Apr 25 15:06 objects.cache -rw------- 1 nagios nagios 7613 Apr 26 09:06 retention.dat drwxr-xr-x 2 nagios nagios 4096 Apr 25 15:06 rrd <-- might want to make this 0775 rather than 0755 though either SHOULD work -rw-r--r-- 1 nagios nagios 1179322 Apr 26 09:48 service-perfdata -rw-rw-r-- 1 nagios nagios 7576 Apr 26 09:48 status.dat ./rrd: total 8 drwxr-xr-x 2 nagios nagios 4096 Apr 25 15:06 . drwxrwxrwx 3 root root 4096 Apr 26 09:48 .. Make those few changes, stop and restart nagios and take a look at the perfdata file you defined above to see if data is getting dumped there and check the nagiosgraph.log 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. 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. =================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2074 bytes Desc: image001.jpg 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 Thu Apr 26 16:30:31 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 26 Apr 2007 10:30:31 -0400 Subject: Questions about Status Map In-Reply-To: <765d77c80704251046l471e6bebsd171d4b76bfe5318@mail.gmail.com> References: <765d77c80704251046l471e6bebsd171d4b76bfe5318@mail.gmail.com> Message-ID: <7F477BD26F545A4C8E4779754A38EFB3013236BA@PEPWMV00043.corp.pep.pvt> OK, so this is starting to make some sense to me. The reason my status map looks like crap is because every host and service I own has the nagios server as its parent. So now I'm trying to use traceroute to determine the network topology which leads me to my next question. I've seen the nagios docs that talk about determining host reachability. It shows distinct routers and switches with (presumably) a single IP. How do people represent routers/switches that have different IPs depending on the network their on? I mean, yes, it is technically one physical piece of hardware, but it's separate interfaces. So for example ------------------- | Nagios Server | ------------------- | 1.2.3.4 | 1.2.3.1 | ----------------- | Router | ----------------- 4.5.6.1 | | | 4.5.6.7 ----------------- | Host A | ----------------- Technically, 1.2.3.1 and 4.5.6.1 both are IPs for the same router. In theory, pinging 1.2.3.1 indicates that the box is up. However, it doesn't guarantee that the interface to Host A's network is up. As I see it you could either ignore one or the other of the interfaces "on the way" to Host A, or you could pretend that each IP on the switch is a separate host. So Host A has a parent of 4.5.6.1 which has a parent of 1.2.3.1. I would imagine that this method (multiple host definitions for a single router box) is the best way. How do most people handle this kind of thing? thanks Mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jim Avery Sent: Wednesday, April 25, 2007 1:47 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Questions about Status Map On 25/04/07, Frost, Mark {PBG} wrote: > Thanks, Jim. > > I tried out Nexsm last night and found that it gave me a huge, unordered > picture of all my hosts. You need the parent relationships for Nexsm to work, and with that many hosts you may need to spend a little while dragging hosts around to make the map look meaningful. Once you've dragged the hosts to where you want them you should be able to save the Nexsm map. Without those parent relationships defined it's pretty pointless! > Perhaps I don't fully understand the parent relationship stuff. That's > most for routers and switches which we don't monitor (nor really care > about) -- that's for other teams that are completely disassociated with > ours. Even if they're not your responsibility it's worth putting routers in to your Nagios configuration. You don't need to do anything more with them than ping them to make sure they're alive. It helps in making sense of your map and greatly helps in ensuring that Nagios won't send you dozens of alerts when a single router or lan/wan link goes down. > My understanding is that you setup parent relationships between > host entitities (including switches and routers) and for what we > monitor, there are none. Put the routers in and there will be. The parent relationships are all about what nodes are in-between your Nagios system and the host you are monitoring. I don't have responsibility for routers - I still ping them from Nagios but have Nagios configured so that it won't alert for routers 'down' - only hosts. > I'll have a look at nagiosmap. By all means do, but again if you don't have some parent relationships defined, your 350 hosts will all appear to be connected to the one parent like the petals of a daisy. 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 Michael.Washington at fitchratings.com Thu Apr 26 16:39:25 2007 From: Michael.Washington at fitchratings.com (Michael.Washington at fitchratings.com) Date: Thu, 26 Apr 2007 09:39:25 -0500 Subject: Ping and RTA Message-ID: What is RTA? Between the 10:20 pm and 10:30 pm CST, RTA for the same multiple devices increases dramatically and then returns immediately to normal operational/baseline levels. Any thoughts on what could be the root cause of such a consistent occurrence? Would this be symptomatic of a broadcast storm? Could Spanning Tree be the root cause? What is the most simplistic way to determine the root cause? See examples below: ***** Nagios ***** Notification Type: PROBLEM Service: PING Host: Chicago WAN Level3/Wiltel (secondary) Address: 172.17.11.12 State: CRITICAL Date/Time: Wed Apr 25 22:16:35 CDT 2007 Additional Info: PING CRITICAL - Packet loss = 0%, RTA = 2131.27 ms ***** Nagios ***** Notification Type: RECOVERY Service: PING Host: Chicago WAN Level3/Wiltel (secondary) Address: 172.17.11.12 State: OK Date/Time: Wed Apr 25 22:20:57 CDT 2007 Additional Info: PING OK - Packet loss = 0%, RTA = 1.25 ms ______________________________________________________________________ Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- 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 glynn.seymour at bayerbbs.com Thu Apr 26 16:41:28 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Thu, 26 Apr 2007 16:41:28 +0200 Subject: RRD Doesn't generate a new DB Message-ID: Whats the security on insert.pl? Can the Nagios user ever run it (try SU'ing to it if you can) HTH, Glynn. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK e mail: nospam.glynn.seymour at bayerbbs.com Web: http://www.bayer.co.uk __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- 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 gcoochey at sapphire.gi Thu Apr 26 16:43:08 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 26 Apr 2007 16:43:08 +0200 Subject: Ping and RTA In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A574476E5FF@hermes.sapphire-int.gi> Round Trip Average - Congestion on your network is normally root cause. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael.Washington at fitchratings.com Sent: 26 April 2007 16:39 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Ping and RTA What is RTA? Between the 10:20 pm and 10:30 pm CST, RTA for the same multiple devices increases dramatically and then returns immediately to normal operational/baseline levels. Any thoughts on what could be the root cause of such a consistent occurrence? Would this be symptomatic of a broadcast storm? Could Spanning Tree be the root cause? What is the most simplistic way to determine the root cause? See examples below: ***** Nagios ***** Notification Type: PROBLEM Service: PING Host: Chicago WAN Level3/Wiltel (secondary) Address: 172.17.11.12 State: CRITICAL Date/Time: Wed Apr 25 22:16:35 CDT 2007 Additional Info: PING CRITICAL - Packet loss = 0%, RTA = 2131.27 ms ***** Nagios ***** Notification Type: RECOVERY Service: PING Host: Chicago WAN Level3/Wiltel (secondary) Address: 172.17.11.12 State: OK Date/Time: Wed Apr 25 22:20:57 CDT 2007 Additional Info: PING OK - Packet loss = 0%, RTA = 1.25 ms ______________________________________________________________________ Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------ - 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 Garry.Cook at arcadis-us.com Thu Apr 26 16:44:05 2007 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Thu, 26 Apr 2007 08:44:05 -0600 Subject: Questions about Status Map In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB3013236BA@PEPWMV00043.corp.pep. pvt> References: <765d77c80704251046l471e6bebsd171d4b76bfe5318@mail.gmail.com> <7F477BD26F545A4C8E4779754A38EFB3013236BA@PEPWMV00043.corp.pep.pvt> Message-ID: <38D6D515FC15924693F2640881AF4620E1042E@corpexbe2.arcadis-us.com> >-----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: Thursday, April 26, 2007 8:31 AM >To: Jim Avery; nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Questions about Status Map > >OK, so this is starting to make some sense to me. The reason my status >map looks like crap is because every host and service I own has the >nagios server as its parent. > Parent/child relationships are important, and not just to make your statusmap look pretty. Also keep in mind that once the parent/child relationships are added to Nagios, your statusmap may not look the way you expect it to (if p/c relationships are done correctly). The statusmap represents the network from Nagios' point of view, not as you might draw it in Visio or some other application. >So now I'm trying to use traceroute to determine the network topology >which leads me to my next question. I've seen the nagios docs that talk >about determining host reachability. It shows distinct routers and >switches with (presumably) a single IP. How do people represent >routers/switches that have different IPs depending on the network their >on? I mean, yes, it is technically one physical piece of hardware, but >it's separate interfaces. So for example > >------------------- >| Nagios Server | >------------------- > | 1.2.3.4 > | > 1.2.3.1 | >----------------- >| Router | >----------------- > 4.5.6.1 | > | > | 4.5.6.7 >----------------- >| Host A | >----------------- > > >Technically, 1.2.3.1 and 4.5.6.1 both are IPs for the same router. In >theory, pinging 1.2.3.1 indicates that the box is up. However, it >doesn't guarantee that the interface to Host A's network is up. > I try to never use physical interface IPs to refer to devices. This is what loopback addresses are for. In the case of a switch, it's the Management VLAN IP. If you can't use a loopback for some reason, you'll probably want to use the IP closest to Nagios. That way, if the 'outside' interface on a device goes critical, Nagios won't necessarily report the device as down. >As I see it you could either ignore one or the other of the interfaces >"on the way" to Host A, or you could pretend that each IP on the switch >is a separate host. So Host A has a parent of 4.5.6.1 which has a >parent of 1.2.3.1. I would imagine that this method (multiple host >definitions for a single router box) is the best way. >How do most people handle this kind of thing? > >thanks > >Mark Thanks, Garry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jim Avery Sent: Wednesday, April 25, 2007 1:47 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Questions about Status Map On 25/04/07, Frost, Mark {PBG} wrote: > Thanks, Jim. > > I tried out Nexsm last night and found that it gave me a huge, unordered > picture of all my hosts. You need the parent relationships for Nexsm to work, and with that many hosts you may need to spend a little while dragging hosts around to make the map look meaningful. Once you've dragged the hosts to where you want them you should be able to save the Nexsm map. Without those parent relationships defined it's pretty pointless! > Perhaps I don't fully understand the parent relationship stuff. That's > most for routers and switches which we don't monitor (nor really care > about) -- that's for other teams that are completely disassociated with > ours. Even if they're not your responsibility it's worth putting routers in to your Nagios configuration. You don't need to do anything more with them than ping them to make sure they're alive. It helps in making sense of your map and greatly helps in ensuring that Nagios won't send you dozens of alerts when a single router or lan/wan link goes down. > My understanding is that you setup parent relationships between > host entitities (including switches and routers) and for what we > monitor, there are none. Put the routers in and there will be. The parent relationships are all about what nodes are in-between your Nagios system and the host you are monitoring. I don't have responsibility for routers - I still ping them from Nagios but have Nagios configured so that it won't alert for routers 'down' - only hosts. > I'll have a look at nagiosmap. By all means do, but again if you don't have some parent relationships defined, your 350 hosts will all appear to be connected to the one parent like the petals of a daisy. 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 NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- 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 Thu Apr 26 16:49:29 2007 From: marc at ena.com (Marc Powell) Date: Thu, 26 Apr 2007 09:49:29 -0500 Subject: Ping and RTA 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 > Michael.Washington at fitchratings.com > Sent: Thursday, April 26, 2007 9:39 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Ping and RTA > > > What is RTA? Round Trip Average. The average time it took to receive a response to your ping packets. > Between the 10:20 pm and 10:30 pm CST, RTA for the same multiple > devices > increases dramatically and then returns immediately to normal > operational/baseline levels. Any thoughts on what could be the root > cause of such a consistent occurrence? Would this be symptomatic of a > broadcast storm? Could Spanning Tree be the root cause? What is the > most simplistic way to determine the root cause? Many things could cause it including the ones you mention. Could also be links approaching capacity, high cpu usage on a router or others. I'd start by running mtr from your nagios machine to one of the machines experiencing the problem and examine the devices that showed high round trip times for anomalies. -- 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 npietrangelo at jewels.com Thu Apr 26 17:02:53 2007 From: npietrangelo at jewels.com (Pietrangelo, Nicholas) Date: Thu, 26 Apr 2007 11:02:53 -0400 Subject: RRD Doesn't generate a new DB In-Reply-To: References: Message-ID: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CB3@ex01.jewels.local> I su'd to the nagios user and manually ran the insert.pl. I actually inserted rrd files into the rrddir. But it isn't updateing on its own. Nick P -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Thursday, April 26, 2007 10:41 AM To: Pietrangelo, Nicholas Cc: nagios-users at lists.sourceforge.net Subject: Re: RRD Doesn't generate a new DB Whats the security on insert.pl? Can the Nagios user ever run it (try SU'ing to it if you can) HTH, Glynn. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK e mail: nospam.glynn.seymour at bayerbbs.com Web: http://www.bayer.co.uk __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ 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. ------------------------------------------------------------------------- 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 npietrangelo at jewels.com Thu Apr 26 17:19:28 2007 From: npietrangelo at jewels.com (Pietrangelo, Nicholas) Date: Thu, 26 Apr 2007 11:19:28 -0400 Subject: Nagiosgraph: RRDs doesn't generateanewdatabase In-Reply-To: References: Message-ID: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CB6@ex01.jewels.local> I made the changes that you suggested. Still no success. I was able to create the rrd's after manaully running the insert.pl as the nagios user. Then, I had to revert back to my original serviceextinfo.cfg to see the graphs. Now I need to determine how to have this run automagically. Nick P ________________________________ From: Weiner, Michael [mailto:weinerm at ccf.org] Sent: Thursday, April 26, 2007 11:08 AM To: Pietrangelo, Nicholas Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generateanewdatabase Anything in the log and/or perfdata file? Michael Weiner | Lead Analyst | Lerner Research Institute Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) 445-7454 ________________________________ From: Pietrangelo, Nicholas [mailto:npietrangelo at jewels.com] Sent: Thursday, April 26, 2007 10:57 AM To: Weiner, Michael Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generate anewdatabase Well, I made the suggested changes and still nothing in the rrd. @#$%@& ________________________________ From: Weiner, Michael [mailto:weinerm at ccf.org] Sent: Thursday, April 26, 2007 10:36 AM To: Pietrangelo, Nicholas Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generate anewdatabase You're welcome, hope that helps...as for previous work...not sure, I have only been with the clinic for 3 months and before that with AmericanGreetings.com so we may have met there actually Michael Michael Weiner | Lead Analyst | Lerner Research Institute Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) 445-7454 ________________________________ From: Pietrangelo, Nicholas [mailto:npietrangelo at jewels.com] Sent: Thursday, April 26, 2007 10:30 AM To: Weiner, Michael Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generate a newdatabase Thanks Michael. Did I work with you when I was with VERITAS? Cheers, Nick P. Nicholas J. Pietrangelo Sterling Jewelers Inc. Sr. WebSphere/UNIX/Linux Administrator 330-655-6182 office 440-829-7777 mobile npietrangelo at jewels.com ________________________________ From: Weiner, Michael [mailto:weinerm at ccf.org] Sent: Thursday, April 26, 2007 10:22 AM To: Pietrangelo, Nicholas; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generate a newdatabase Having just been through this, LOL....commented below: 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 Pietrangelo, Nicholas Sent: Thursday, April 26, 2007 9:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagiosgraph: RRDs doesn't generate a new database I have followed all of the instructions from Wolfgang, the INSTALL file from nagiosgraph-0.8.2 and any readme that I can find. The nagiosgraph.log is empty and the directory that I specify for the "rrddir" is empty. If I run the /usr/share/rrdtool/examples/perftest.pl it generates a database. Here is what I have: Nagios.cfg process_performance_data=1 service_perfdata_command=process-service-perfdata <-- not supposed to be defined, comment this out as you define the service_perfdata_file_processing_command below service_perfdata_file=/var/adm/logs/nagios/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_command=process-service-perfdata log_file=/var/adm/logs/nagios/nagios.log status_file=/var/adm/logs/nagios/status.dat command_file=/var/adm/logs/nagios/nagios.cmd comment_file=/var/adm/logs/nagios/comments.dat temp_file=/var/adm/logs/nagios/nagios.tmp cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/dependencies.cfg cfg_file=/etc/nagios/escalations.cfg cfg_file=/etc/nagios/hostgroups.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/serviceextinfo.cfg object_cache_file=/var/adm/logs/nagios/objects.cache resource_file=/etc/nagios/resource.cfg commands.cfg ........ shouldn't matter tho I have read mixed reviews I have the path to perl before the insert.pl and you can remove the "$LASTSERCIVE...." Its already defined in the service template define command { command_name process-service-perfdata command_line /etc/nagios/nagiosgraph-0.8.2/insert.pl "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEDESC$||$SERVICEO UTPUT$||$SERVICEPERFDATA$" } Serviceextinfo.cfg define serviceextinfo{ service_description PING host_name * notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=PING <-- try notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&geom=900x300 icon_image graph.gif icon_image_alt show graphics } Nagiosgraph.cfg debug = 1 logfile = /var/adm/logs/nagios/nagiosgraph.log rrddir = /var/adm/logs/nagios/rrd mapfile = /etc/nagios/nagiosgraph-0.8.2/map perflog = /var/adm/logs/nagios/perfdata.log <-- define this the same as above in the nagios.cfg (i.e. service_perfdata_file=/var/adm/logs/nagios/service-perfdata ) stylesheet = /usr/share/nagios/stylesheets/nagiosgraph.css insert.pl my $configfile = '/etc/nagios/nagiosgraph-0.8.2/nagiosgraph.conf'; Below shows that the nagiosgraph.log and rrddir is empty [root at rh02 nagios]# pwd /var/adm/logs/nagios [root at rh02 nagios]# ls -alR .: total 1212 drwxrwxrwx 3 root root 4096 Apr 26 09:48 . drwxr-xr-x 13 root root 4096 Apr 19 14:21 .. -rw-rw-r-- 1 nagios nagios 238 Apr 25 14:04 comments.dat -rw-rw-r-- 1 nagios nagios 239 Apr 25 14:04 downtime.dat -rwxrwxr-x 1 nagios nagios 0 Apr 19 14:22 nagiosgraph.log -rw-r--r-- 1 nagios nagios 4114 Apr 26 09:06 nagios.log -rw-r--r-- 1 nagios nagios 9337 Apr 25 15:06 objects.cache -rw------- 1 nagios nagios 7613 Apr 26 09:06 retention.dat drwxr-xr-x 2 nagios nagios 4096 Apr 25 15:06 rrd <-- might want to make this 0775 rather than 0755 though either SHOULD work -rw-r--r-- 1 nagios nagios 1179322 Apr 26 09:48 service-perfdata -rw-rw-r-- 1 nagios nagios 7576 Apr 26 09:48 status.dat ./rrd: total 8 drwxr-xr-x 2 nagios nagios 4096 Apr 25 15:06 . drwxrwxrwx 3 root root 4096 Apr 26 09:48 .. Make those few changes, stop and restart nagios and take a look at the perfdata file you defined above to see if data is getting dumped there and check the nagiosgraph.log 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. 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. =================================== 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. 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. =================================== 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. 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. =================================== 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 -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2074 bytes Desc: image001.jpg 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 glynn.seymour at bayerbbs.com Thu Apr 26 17:31:41 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Thu, 26 Apr 2007 16:31:41 +0100 Subject: RRD Doesn't generate a new DB In-Reply-To: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CB3@ex01.jewels.local> References: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CB3@ex01.jewels.local> Message-ID: OK, so it'll run as the user, but it's not creating rrd files by itself? Sounds like nothing is getting through to the map file to attempt translation on, but I could be misunderstanding. Does your PING service (it's a good example to work with) have the performance data on? (process_perf_data 1) Set nagiosgraph.conf debug=5, and tail the log file - you should see stuff going on all the time if its working. Also tail your perfdata.dat file (nagios/var) in another console, you should see data dropping in to there then the file being truncated - give it a while if you don't have many hosts defined, or the check doesn't run often. When stuff drops into perfdata.dat, you should see an attempt to process it nagiosgraph.log - if you get an error like it can't recognise the data, you need to check your map file: # Service type: ping # output:PING OK - Packet loss = 0%, RTA = 0.00 ms /output:PING.*?(\d+)%.+?([.\d]+)\sms/ and push @s, [ ping, [ losspct, GAUGE, $1 ], [ rta, GAUGE, $2/1000 ] ]; .. is mine, think thats an out of the box setting though, so it should be OK. If nothing appears in perfdata.dat, no performance data is being processed by Nagios - back to the overall config (looks OK to me) and the service config. REMEMBER TO SET DEBUG BACK TO 1, IT GROWS BIG QUICK!! (Sorry for Caps, it's because I forgot to once.:-o..) ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK "Pietrangelo, Nicholas" 26/04/2007 16:02 To cc Subject RE: RRD Doesn't generate a new DB I su'd to the nagios user and manually ran the insert.pl. I actually inserted rrd files into the rrddir. But it isn't updateing on its own. Nick P -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Thursday, April 26, 2007 10:41 AM To: Pietrangelo, Nicholas Cc: nagios-users at lists.sourceforge.net Subject: Re: RRD Doesn't generate a new DB Whats the security on insert.pl? Can the Nagios user ever run it (try SU'ing to it if you can) HTH, Glynn. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK e mail: nospam.glynn.seymour at bayerbbs.com Web: http://www.bayer.co.uk __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ 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. ------------------------------------------------------------------------- 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 npietrangelo at jewels.com Thu Apr 26 17:36:28 2007 From: npietrangelo at jewels.com (Pietrangelo, Nicholas) Date: Thu, 26 Apr 2007 11:36:28 -0400 Subject: RRD Doesn't generate a new DB In-Reply-To: References: Message-ID: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CBB@ex01.jewels.local> Here's the nagiosgraph.log. Is this good or bad? Thu Apr 26 11:35:17 2007 INSERT debug: Config logfile:/var/adm/logs/nagios/nagiosgraph.log Thu Apr 26 11:35:17 2007 INSERT debug: Config rrddir:/var/adm/logs/nagios/rrd Thu Apr 26 11:35:17 2007 INSERT debug: Config mapfile:/etc/nagios/nagiosgraph-0.8.2/map Thu Apr 26 11:35:17 2007 INSERT debug: Config colorscheme:1 Thu Apr 26 11:35:17 2007 INSERT debug: Config heartbeat:600 Thu Apr 26 11:35:17 2007 INSERT debug: Config perflog:/var/adm/logs/nagios/service-perfdata Thu Apr 26 11:35:17 2007 INSERT debug: Config stylesheet:/usr/share/nagios/stylesheets/nagiosgraph.css Thu Apr 26 11:35:17 2007 INSERT debug: nagiosgraph spawned Thu Apr 26 11:35:17 2007 INSERT debug: processing perfdata: |||||||||| Thu Apr 26 11:35:17 2007 INSERT info: Input lastcheck: Thu Apr 26 11:35:17 2007 INSERT info: Input hostname: Thu Apr 26 11:35:17 2007 INSERT info: Input perfdata: Thu Apr 26 11:35:17 2007 INSERT info: Input servicedescr: Thu Apr 26 11:35:17 2007 INSERT info: Input output: Thu Apr 26 11:35:17 2007 INSERT warn: perfdata not recognized Thu Apr 26 11:35:17 2007 INSERT debug: nagiosgraph exited Thu Apr 26 11:35:47 2007 INSERT debug: Config logfile:/var/adm/logs/nagios/nagiosgraph.log Thu Apr 26 11:35:47 2007 INSERT debug: Config rrddir:/var/adm/logs/nagios/rrd Thu Apr 26 11:35:47 2007 INSERT debug: Config mapfile:/etc/nagios/nagiosgraph-0.8.2/map Thu Apr 26 11:35:47 2007 INSERT debug: Config colorscheme:1 Thu Apr 26 11:35:47 2007 INSERT debug: Config heartbeat:600 Thu Apr 26 11:35:47 2007 INSERT debug: Config perflog:/var/adm/logs/nagios/service-perfdata Thu Apr 26 11:35:47 2007 INSERT debug: Config stylesheet:/usr/share/nagios/stylesheets/nagiosgraph.css Thu Apr 26 11:35:47 2007 INSERT debug: nagiosgraph spawned Thu Apr 26 11:35:47 2007 INSERT debug: processing perfdata: |||||||||| Thu Apr 26 11:35:47 2007 INSERT info: Input lastcheck: Thu Apr 26 11:35:47 2007 INSERT info: Input hostname: Thu Apr 26 11:35:47 2007 INSERT info: Input perfdata: Thu Apr 26 11:35:47 2007 INSERT info: Input servicedescr: Thu Apr 26 11:35:47 2007 INSERT info: Input output: Thu Apr 26 11:35:47 2007 INSERT warn: perfdata not recognized Thu Apr 26 11:35:47 2007 INSERT debug: nagiosgraph exited -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Thursday, April 26, 2007 11:32 AM To: Pietrangelo, Nicholas Cc: nagios-users at lists.sourceforge.net Subject: RE: RRD Doesn't generate a new DB OK, so it'll run as the user, but it's not creating rrd files by itself? Sounds like nothing is getting through to the map file to attempt translation on, but I could be misunderstanding. Does your PING service (it's a good example to work with) have the performance data on? (process_perf_data 1) Set nagiosgraph.conf debug=5, and tail the log file - you should see stuff going on all the time if its working. Also tail your perfdata.dat file (nagios/var) in another console, you should see data dropping in to there then the file being truncated - give it a while if you don't have many hosts defined, or the check doesn't run often. When stuff drops into perfdata.dat, you should see an attempt to process it nagiosgraph.log - if you get an error like it can't recognise the data, you need to check your map file: # Service type: ping # output:PING OK - Packet loss = 0%, RTA = 0.00 ms /output:PING.*?(\d+)%.+?([.\d]+)\sms/ and push @s, [ ping, [ losspct, GAUGE, $1 ], [ rta, GAUGE, $2/1000 ] ]; .. is mine, think thats an out of the box setting though, so it should be OK. If nothing appears in perfdata.dat, no performance data is being processed by Nagios - back to the overall config (looks OK to me) and the service config. REMEMBER TO SET DEBUG BACK TO 1, IT GROWS BIG QUICK!! (Sorry for Caps, it's because I forgot to once.:-o..) ________________________________________________________________________ ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK "Pietrangelo, Nicholas" 26/04/2007 16:02 To cc Subject RE: RRD Doesn't generate a new DB I su'd to the nagios user and manually ran the insert.pl. I actually inserted rrd files into the rrddir. But it isn't updateing on its own. Nick P -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Thursday, April 26, 2007 10:41 AM To: Pietrangelo, Nicholas Cc: nagios-users at lists.sourceforge.net Subject: Re: RRD Doesn't generate a new DB Whats the security on insert.pl? Can the Nagios user ever run it (try SU'ing to it if you can) HTH, Glynn. ________________________________________________________________________ ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK e mail: nospam.glynn.seymour at bayerbbs.com Web: http://www.bayer.co.uk ________________________________________________________________________ __ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com ________________________________________________________________________ __ 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. 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. ------------------------------------------------------------------------- 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 npietrangelo at jewels.com Thu Apr 26 17:44:40 2007 From: npietrangelo at jewels.com (Pietrangelo, Nicholas) Date: Thu, 26 Apr 2007 11:44:40 -0400 Subject: RRD Doesn't generate a new DB In-Reply-To: References: Message-ID: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CBC@ex01.jewels.local> Is the perflog the same file as the service_perfdata_file? Nagiosgraph.cfg: perflog = /var/adm/logs/nagios/service-perfdata:q! Nagios.cfg: service_perfdata_file=/var/adm/logs/nagios/service-perfdata Nick P -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Thursday, April 26, 2007 11:32 AM To: Pietrangelo, Nicholas Cc: nagios-users at lists.sourceforge.net Subject: RE: RRD Doesn't generate a new DB OK, so it'll run as the user, but it's not creating rrd files by itself? Sounds like nothing is getting through to the map file to attempt translation on, but I could be misunderstanding. Does your PING service (it's a good example to work with) have the performance data on? (process_perf_data 1) Set nagiosgraph.conf debug=5, and tail the log file - you should see stuff going on all the time if its working. Also tail your perfdata.dat file (nagios/var) in another console, you should see data dropping in to there then the file being truncated - give it a while if you don't have many hosts defined, or the check doesn't run often. When stuff drops into perfdata.dat, you should see an attempt to process it nagiosgraph.log - if you get an error like it can't recognise the data, you need to check your map file: # Service type: ping # output:PING OK - Packet loss = 0%, RTA = 0.00 ms /output:PING.*?(\d+)%.+?([.\d]+)\sms/ and push @s, [ ping, [ losspct, GAUGE, $1 ], [ rta, GAUGE, $2/1000 ] ]; .. is mine, think thats an out of the box setting though, so it should be OK. If nothing appears in perfdata.dat, no performance data is being processed by Nagios - back to the overall config (looks OK to me) and the service config. REMEMBER TO SET DEBUG BACK TO 1, IT GROWS BIG QUICK!! (Sorry for Caps, it's because I forgot to once.:-o..) ________________________________________________________________________ ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK "Pietrangelo, Nicholas" 26/04/2007 16:02 To cc Subject RE: RRD Doesn't generate a new DB I su'd to the nagios user and manually ran the insert.pl. I actually inserted rrd files into the rrddir. But it isn't updateing on its own. Nick P -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Thursday, April 26, 2007 10:41 AM To: Pietrangelo, Nicholas Cc: nagios-users at lists.sourceforge.net Subject: Re: RRD Doesn't generate a new DB Whats the security on insert.pl? Can the Nagios user ever run it (try SU'ing to it if you can) HTH, Glynn. ________________________________________________________________________ ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK e mail: nospam.glynn.seymour at bayerbbs.com Web: http://www.bayer.co.uk ________________________________________________________________________ __ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com ________________________________________________________________________ __ 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. 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. ------------------------------------------------------------------------- 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 glynn.seymour at bayerbbs.com Thu Apr 26 17:48:12 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Thu, 26 Apr 2007 16:48:12 +0100 Subject: RRD Doesn't generate a new DB In-Reply-To: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CBB@ex01.jewels.local> References: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CBB@ex01.jewels.local> Message-ID: Bad :-( Perfdata not recognised is usually down to the map file in my experience, unless something screwy is being written to the perfdata.dat. I'm assuming only the PING service is attampting to write performance data, so it may be that another service which you aren't yet concerned with is generating the errors - but I see no successful writes here. Copy it out, edit the copied file and sub it back in when done (good practice for when its working), check and double check your regular expression for PING s perfomance data against what you see appearing in perfdata.dat If thats a direct cut'n'paste though, the perf data of | | | | | is odd, can't say I've seen that - if that's what PING is sticking out as performance data it's strange. Although my perfdata is never empty these days, maybe thats normal if nothing is getting there. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- 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 Thu Apr 26 17:50:24 2007 From: mukta at gwu.edu (Mukta Sharma) Date: Thu, 26 Apr 2007 11:50:24 -0400 Subject: Regarding statusmap Message-ID: Hi, I have one problem regarding the statusmap in nagios. I installed all the libraries required such as gdlib, libpng and linjpeg etc. for the working of the statusmap, as it was there in the documentation and some of you has also suggested to do that. After all the installation procedure still my statusmaps was not working. Next day when i started my Fedora again, it boots up but went to the black screen. Nothing is going on after that black screen. Can anyone tell me the solution for it. How can i get my GUI back from the command prompt, which iam entering by switching to the single user mode at the boot time. 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 npietrangelo at jewels.com Thu Apr 26 19:17:52 2007 From: npietrangelo at jewels.com (Pietrangelo, Nicholas) Date: Thu, 26 Apr 2007 13:17:52 -0400 Subject: RRD Doesn't generate a new DB In-Reply-To: References: Message-ID: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CD0@ex01.jewels.local> Could it be that there isn't any data to add to the rrd? Here is the rrd insert.pl ran manually then nagios runs it automatically. Thu Apr 26 13:12:54 2007 INSERT debug: processing perfdata: 1177603367||localhost||PING||PING OK - Packet loss = 0%, RTA = 0.04 ms|| Thu Apr 26 13:12:54 2007 INSERT info: Input lastcheck:1177603367 Thu Apr 26 13:12:54 2007 INSERT info: Input hostname:localhost Thu Apr 26 13:12:54 2007 INSERT info: Input perfdata: Thu Apr 26 13:12:54 2007 INSERT info: Input servicedescr:PING Thu Apr 26 13:12:54 2007 INSERT info: Input output:PING OK - Packet loss = 0%, RTA = 0.04 ms Thu Apr 26 13:12:54 2007 INSERT debug: Checking /var/adm/logs/nagios/rrd/localhost_PING_ping.rrd Thu Apr 26 13:12:54 2007 INSERT info: RRDs::update /var/adm/logs/nagios/rrd/localhost_PING_ping.rrd 1177603367:0:4e-05 Thu Apr 26 13:12:54 2007 INSERT debug: processing perfdata: 1177607438||localhost||Current Load||OK - load average: 0.04, 0.08, 0.27||load1=0.040;5.000;10.000;0; load5=0.080;4.000;6.000;0; load15=0.270;3.000;4.000;0; Thu Apr 26 13:12:54 2007 INSERT info: Input lastcheck:1177607438 Thu Apr 26 13:12:54 2007 INSERT info: Input hostname:localhost Thu Apr 26 13:12:54 2007 INSERT info: Input perfdata:load1=0.040;5.000;10.000;0; load5=0.080;4.000;6.000;0; load15=0.270;3.000;4.000;0; Thu Apr 26 13:12:54 2007 INSERT info: Input servicedescr:Current Load Thu Apr 26 13:12:54 2007 INSERT info: Input output:OK - load average: 0.04, 0.08, 0.27 Thu Apr 26 13:12:54 2007 INSERT debug: Checking /var/adm/logs/nagios/rrd/localhost_Current%20Load_load.rrd Thu Apr 26 13:12:54 2007 INSERT info: RRDs::update /var/adm/logs/nagios/rrd/localhost_Current%20Load_load.rrd 1177607438:0.04:0.08:0.27 Thu Apr 26 13:12:54 2007 INSERT debug: nagiosgraph exited Thu Apr 26 13:13:10 2007 INSERT debug: Config logfile:/var/adm/logs/nagios/nagiosgraph.log Thu Apr 26 13:13:10 2007 INSERT debug: Config rrddir:/var/adm/logs/nagios/rrd Thu Apr 26 13:13:10 2007 INSERT debug: Config mapfile:/etc/nagios/nagiosgraph-0.8.2/map Thu Apr 26 13:13:10 2007 INSERT debug: Config colorscheme:1 Thu Apr 26 13:13:10 2007 INSERT debug: Config heartbeat:600 Thu Apr 26 13:13:10 2007 INSERT debug: Config perflog:/var/adm/logs/nagios/service-perfdata Thu Apr 26 13:13:10 2007 INSERT debug: Config stylesheet:/usr/share/nagios/stylesheets/nagiosgraph.css Thu Apr 26 13:13:10 2007 INSERT debug: nagiosgraph spawned Thu Apr 26 13:13:10 2007 INSERT debug: processing perfdata: |||||||||| Thu Apr 26 13:13:10 2007 INSERT info: Input lastcheck: Thu Apr 26 13:13:10 2007 INSERT info: Input hostname: Thu Apr 26 13:13:10 2007 INSERT info: Input perfdata: Thu Apr 26 13:13:10 2007 INSERT info: Input servicedescr: Thu Apr 26 13:13:10 2007 INSERT info: Input output: Thu Apr 26 13:13:10 2007 INSERT warn: perfdata not recognized Thu Apr 26 13:13:10 2007 INSERT debug: nagiosgraph exited -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Thursday, April 26, 2007 11:51 AM To: Pietrangelo, Nicholas Subject: RE: RRD Doesn't generate a new DB No, perflog is your perfdata.dat file, where the performance data gets dumped - bit confusing I think.. # Location of performance data file. Comment out it not used. perflog = /usr/local/nagios/var/perfdata.dat .. from my nagiosgraph.conf ________________________________________________________________________ ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK Telephone: +44 1635 563574 e mail: glynn.seymour at bayerbbs.com Web: http://www.bayer.co.uk "Pietrangelo, Nicholas" 26/04/2007 16:44 To cc Subject RE: RRD Doesn't generate a new DB Is the perflog the same file as the service_perfdata_file? Nagiosgraph.cfg: perflog = /var/adm/logs/nagios/service-perfdata:q! Nagios.cfg: service_perfdata_file=/var/adm/logs/nagios/service-perfdata Nick P -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Thursday, April 26, 2007 11:32 AM To: Pietrangelo, Nicholas Cc: nagios-users at lists.sourceforge.net Subject: RE: RRD Doesn't generate a new DB OK, so it'll run as the user, but it's not creating rrd files by itself? Sounds like nothing is getting through to the map file to attempt translation on, but I could be misunderstanding. Does your PING service (it's a good example to work with) have the performance data on? (process_perf_data 1) Set nagiosgraph.conf debug=5, and tail the log file - you should see stuff going on all the time if its working. Also tail your perfdata.dat file (nagios/var) in another console, you should see data dropping in to there then the file being truncated - give it a while if you don't have many hosts defined, or the check doesn't run often. When stuff drops into perfdata.dat, you should see an attempt to process it nagiosgraph.log - if you get an error like it can't recognise the data, you need to check your map file: # Service type: ping # output:PING OK - Packet loss = 0%, RTA = 0.00 ms /output:PING.*?(\d+)%.+?([.\d]+)\sms/ and push @s, [ ping, [ losspct, GAUGE, $1 ], [ rta, GAUGE, $2/1000 ] ]; .. is mine, think thats an out of the box setting though, so it should be OK. If nothing appears in perfdata.dat, no performance data is being processed by Nagios - back to the overall config (looks OK to me) and the service config. REMEMBER TO SET DEBUG BACK TO 1, IT GROWS BIG QUICK!! (Sorry for Caps, it's because I forgot to once.:-o..) ________________________________________________________________________ ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK "Pietrangelo, Nicholas" 26/04/2007 16:02 To cc Subject RE: RRD Doesn't generate a new DB I su'd to the nagios user and manually ran the insert.pl. I actually inserted rrd files into the rrddir. But it isn't updateing on its own. Nick P -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Thursday, April 26, 2007 10:41 AM To: Pietrangelo, Nicholas Cc: nagios-users at lists.sourceforge.net Subject: Re: RRD Doesn't generate a new DB Whats the security on insert.pl? Can the Nagios user ever run it (try SU'ing to it if you can) HTH, Glynn. ________________________________________________________________________ ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK e mail: nospam.glynn.seymour at bayerbbs.com Web: http://www.bayer.co.uk ________________________________________________________________________ __ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com ________________________________________________________________________ __ 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. 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. 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. ------------------------------------------------------------------------- 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 carlo.piccini at katamail.com Thu Apr 26 19:22:55 2007 From: carlo.piccini at katamail.com (Carlo Piccini) Date: Thu, 26 Apr 2007 19:22:55 +0200 Subject: R: PHP parse error in NLG In-Reply-To: <45E17839.2050304@mailnetwork.co.uk> References: <000001c7586e$68f03cd0$0501a8c0@retesesa.it> <45E17839.2050304@mailnetwork.co.uk> Message-ID: <003b01c78827$89e7f250$8c6313d4@retesesa.it> Hello, sorry for not coming back soon on the issue. I had a forced time off nagios... :-( I solved the problem installing PHP 5.2 as suggested. So thanks for the reply. I have a question about the configuration: I use authentication in nagios web interface, and I use authenticated contacts to give access to only certain hosts/services to users. Example: User johndoe is a contact for server1 and server3 User foobar is a contact for server2 In nagios web interface user johndoe can only access services residing on server1 and server3, while user foobar only sees server2. I expected this to be true for NLG too, but I found that using $ServerFeed_AuthEnabled = 1 and indicating the user/password in the config files, gives user johndoe access to server1, server2, server3. The same apply for user foobar. Am I missing something? Thanks, Carlo Piccini _____ Da: Andy Shellam (Mailing Lists) [mailto:andy.shellam-lists at mailnetwork.co.uk] Inviato: domenica 25 febbraio 2007 12.51 A: Carlo Piccini Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] PHP parse error in NLG Hi Carlo, What version of PHP are you running? Line 327 in the code is a comparison of two classes, using the "instanceof" operator, which was introduced in PHP 5 (http://uk2.php.net/manual/en/language.operators.type.php). It sounds like you have PHP 4, which is not supported by NLG. Andy. Carlo Piccini wrote: Hello, just installed NLG 1.0.2, but stuck with a blank page on hitting URL. In apache error log I have: [client 192.168.1.5] PHP Parse error: parse error, unexpected T_STRING in /usr/share/nagios/client/s3_client.php on line 327 Any advice for me? Nagios 2.0 Thank you, Carlo Piccini !DSPAM:37,45e0cf26925177317654902! _____ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your 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,45e0cf26925177317654902! _____ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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,45e0cf26925177317654902! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- 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 26 19:29:30 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 26 Apr 2007 13:29:30 -0400 Subject: check_hpjd commands Message-ID: Anyone know of a good place to get the commands for the check_hpjd plugin? I know you can monitor all kinds of things about the printer, but I need a list of the MIB's or whatever else it uses to give me that information. Anything would be appreciated. Thanks Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4020 bytes Desc: image001.jpg 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 af.at.work at gmail.com Thu Apr 26 19:33:57 2007 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Thu, 26 Apr 2007 13:33:57 -0400 Subject: Installation help - CentOS 4.4 Server Message-ID: I have followed the install guide (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down to step #5 5) Configure the Web Interface Install the Nagios web config file in the Apache conf.d directory. make install-webconf But, after running 'make install-webconf' I get: make: *** No rule to make target `install-webconf'. Stop. Any help would be most appreciated. Cheers. ------------------------------------------------------------------------- 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 jsalaz at meteostar.com Thu Apr 26 19:38:49 2007 From: jsalaz at meteostar.com (Jason Salaz) Date: Thu, 26 Apr 2007 11:38:49 -0600 Subject: Installation help - CentOS 4.4 Server In-Reply-To: References: Message-ID: <4630E3A9.9090209@meteostar.com> af.at.work at gmail.com wrote: > I have followed the install guide > (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down > to step #5 > > 5) Configure the Web Interface > > Install the Nagios web config file in the Apache conf.d directory. > > make install-webconf > > > But, after running 'make install-webconf' I get: > make: *** No rule to make target `install-webconf'. Stop. > > Any help would be most appreciated. Which version of Nagios are you trying 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 stephen.valdinger at doverchem.com Thu Apr 26 19:38:57 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 26 Apr 2007 13:38:57 -0400 Subject: Installation help - CentOS 4.4 Server Message-ID: Are you running Fedora or Ubuntu? I have a this solution on the forums. You can see it here: http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?8517 there is also another bit that may help you out : 3) Post install Configuration of Nagios Edit apache's httpd.conf file. (the location of the httpd.conf file may differ) vim /etc/httpd/conf/httpd.conf Add the following line at the end of the file. Include /etc/httpd/conf/nagios.conf Create the file '/etc/httpd/conf/nagios.conf'. vi /etc/httpd/conf/nagios.conf Add the following contents to this file. ------------------------------------------------- ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Allow from all Order allow,deny Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all -------------------------------------------------- Make sure the updations done with http is fine and restart apache. #service httpd restart Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] Sent: Thursday, April 26, 2007 1:34 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Installation help - CentOS 4.4 Server I have followed the install guide (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down to step #5 5) Configure the Web Interface Install the Nagios web config file in the Apache conf.d directory. make install-webconf But, after running 'make install-webconf' I get: make: *** No rule to make target `install-webconf'. Stop. Any help would be most appreciated. Cheers. ------------------------------------------------------------------------ - 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 af.at.work at gmail.com Thu Apr 26 19:40:40 2007 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Thu, 26 Apr 2007 13:40:40 -0400 Subject: Installation help - CentOS 4.4 Server In-Reply-To: <4630E3A9.9090209@meteostar.com> References: <4630E3A9.9090209@meteostar.com> Message-ID: wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0a2.tar.gz wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.7.tar.gz On 4/26/07, Jason Salaz wrote: > af.at.work at gmail.com wrote: > > I have followed the install guide > > (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down > > to step #5 > > > > 5) Configure the Web Interface > > > > Install the Nagios web config file in the Apache conf.d directory. > > > > make install-webconf > > > > > > But, after running 'make install-webconf' I get: > > make: *** No rule to make target `install-webconf'. Stop. > > > > Any help would be most appreciated. > > Which version of Nagios are you trying 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 af.at.work at gmail.com Thu Apr 26 19:41:21 2007 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Thu, 26 Apr 2007 13:41:21 -0400 Subject: Installation help - CentOS 4.4 Server In-Reply-To: References: Message-ID: CentOS 4.4 thanks - I will give those a try. On 4/26/07, Valdinger, Stephen (DOV, MSX) wrote: > > Are you running Fedora or Ubuntu? I have a this solution on the forums. > You can see it here: > > http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?8517 > > there is also another bit that may help you out : > > > 3) Post install Configuration of Nagios > Edit apache's httpd.conf file. (the location of the httpd.conf file may > differ) > > vim /etc/httpd/conf/httpd.conf > > Add the following line at the end of the file. > > Include /etc/httpd/conf/nagios.conf > > Create the file '/etc/httpd/conf/nagios.conf'. > > vi /etc/httpd/conf/nagios.conf > > Add the following contents to this file. > > ------------------------------------------------- > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Allow from all > Order allow,deny > > > Alias /nagios/ /usr/local/nagios/share/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > -------------------------------------------------- > > > Make sure the updations done with http is fine and restart apache. > > #service httpd restart > > > > > Stephen Valdinger > MIS Helpdesk Coordinator > Dover Chemical Corporation > 3676 Davis Rd NW > Dover, OH 44622 > 330-365-3622 > stephen.valdinger at doverchem.com > > > > Your day probably won't get as bad as this guys...... > -----Original Message----- > From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] > Sent: Thursday, April 26, 2007 1:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Installation help - CentOS 4.4 Server > > I have followed the install guide > (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down > to step #5 > > 5) Configure the Web Interface > > Install the Nagios web config file in the Apache conf.d directory. > > make install-webconf > > > But, after running 'make install-webconf' I get: > make: *** No rule to make target `install-webconf'. Stop. > > Any help would be most appreciated. > > Cheers. > > ------------------------------------------------------------------------ > - > 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 stava at telcotec.se Thu Apr 26 19:43:33 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 26 Apr 2007 19:43:33 +0200 Subject: 3D status map problem Message-ID: <4630E4C5.8060106@telcotec.se> Hi All, I have a problem with the 3D status map display in Firefox on SuSE Linux 10.2 that I wonder if anyone can help with. I've built and installed the FreeWRL package successfully, and the 3D status map does show up (almost) properly. However, there's a lot of error messages showing up in the Console Display saying: /usr/bin/FreeWRL_Message Could not locate URL for texture (last choice was /nagios/images/logos/imagepak-andrade/.png When picking up the aforementioned address in the browser, I can see the image, so there's no access problem. Any ideas? Thankful for any ideas in this area /Lars Stavholm ------------------------------------------------------------------------- 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 drew.myers at innerwireless.com Thu Apr 26 19:43:07 2007 From: drew.myers at innerwireless.com (Drew Myers) Date: Thu, 26 Apr 2007 12:43:07 -0500 Subject: Nagios, REL, and Postfix Message-ID: <2DF21D80C81D024DB1A79BAC56EF913C8B2AEB@MAILSRV01.e-tron.com> Ok, I admit it, I'm a bonehead. I migrated from sendmail to postfix. I have several passive checks that run by way of REL. I did not anticipate breaking this functionality, but I have. In the maillog, I have the following entries: Command died with status 13: "/usr/local/nagios/bin/smtpreceiver.pl". Command output: Can't open /var/log/nagios/rw/nagios.cmd for writing: Permission denied ) The permissions on the pipe are: prw-rw---- 1 nagios nagios 0 Apr 26 12:41 /var/log/nagios/rw/nagios.cmd If I change from 0660 to 0666, everything works fine. I realize this is actually a postfix issue, not nagios, but I thought someone on the list might have encountered this problem and have a slick fix close to hand. Thanks for any assistance. Drew ------------------------------------------------------------------------- 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 jason-sourceforge at microlnk.net Thu Apr 26 19:46:48 2007 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Thu, 26 Apr 2007 12:46:48 -0500 Subject: Installation help - CentOS 4.4 Server In-Reply-To: References: Message-ID: <4630E588.7030800@microlnk.net> af.at.work at gmail.com wrote: > CentOS 4.4 > > thanks - I will give those a try. Personally, I like installing the packages from the RPMForge/Dag Wieers Yum repository. It's much simpler that way, and I also use CentOS 4.4. % wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm % rpm -Uvh rpmforge-release-0.3.6-1.el4.rf.i386.rpm % yum install nagios nagios-plugins :) -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------------------------- 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 af.at.work at gmail.com Thu Apr 26 19:51:30 2007 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Thu, 26 Apr 2007 13:51:30 -0400 Subject: Installation help - CentOS 4.4 Server In-Reply-To: References: Message-ID: We're cooking now ... I can log in - but get a perms error / warning 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. On 4/26/07, Valdinger, Stephen (DOV, MSX) wrote: > He should update to version 1.4.8 on the plugins for some of the stuff > to work in 3.0a2 > > wget > http://sourceforge.net/project/downloading.php?group_id=29880&use_mirror > =internap&filename=nagios-plugins-1.4.8.tar.gz&40722747 > > > > > > > > Stephen Valdinger > MIS Helpdesk Coordinator > Dover Chemical Corporation > 3676 Davis Rd NW > Dover, OH 44622 > 330-365-3622 > stephen.valdinger at doverchem.com > > > > Your day probably won't get as bad as this guys...... > > -----Original Message----- > From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] > Sent: Thursday, April 26, 2007 1:41 PM > To: Jason Salaz > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server > > wget > http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0a2.tar.gz > wget > http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4 > .7.tar.gz > > On 4/26/07, Jason Salaz wrote: > > af.at.work at gmail.com wrote: > > > I have followed the install guide > > > (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) down > > > to step #5 > > > > > > 5) Configure the Web Interface > > > > > > Install the Nagios web config file in the Apache conf.d directory. > > > > > > make install-webconf > > > > > > > > > But, after running 'make install-webconf' I get: > > > make: *** No rule to make target `install-webconf'. Stop. > > > > > > Any help would be most appreciated. > > > > Which version of Nagios are you trying 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 > > ------------------------------------------------------------------------- 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 ismail at habari.co.tz Thu Apr 26 19:59:26 2007 From: ismail at habari.co.tz (Ismail M. Settenda) Date: Thu, 26 Apr 2007 20:59:26 +0300 Subject: Nagios, REL, and Postfix In-Reply-To: <2DF21D80C81D024DB1A79BAC56EF913C8B2AEB@MAILSRV01.e-tron.com> References: <2DF21D80C81D024DB1A79BAC56EF913C8B2AEB@MAILSRV01.e-tron.com> Message-ID: <3c1cf0fd0704261059l4a7ded8bif2ddd06c3474e175@mail.gmail.com> Change group ownership to nagiocmd prw-rw---- 1 nagios nagiocmd 0 Apr 25 18:54 /usr/local/nagios/var/rw/nagios.cmd On 4/26/07, Drew Myers wrote: > > > Ok, I admit it, I'm a bonehead. > > I migrated from sendmail to postfix. I have several passive checks that > run by way of REL. I did not anticipate breaking this functionality, > but I have. > > In the maillog, I have the following entries: > > Command died with status 13: "/usr/local/nagios/bin/smtpreceiver.pl". > Command output: Can't open /var/log/nagios/rw/nagios.cmd for writing: > Permission denied ) > > The permissions on the pipe are: > > prw-rw---- 1 nagios nagios 0 Apr 26 12:41 /var/log/nagios/rw/nagios.cmd > > If I change from 0660 to 0666, everything works fine. > > I realize this is actually a postfix issue, not nagios, but I thought > someone on the list might have encountered this problem and have a slick > fix close to hand. > > Thanks for any assistance. > > Drew > > ------------------------------------------------------------------------- > 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/nul > -------------- 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 af.at.work at gmail.com Thu Apr 26 20:05:19 2007 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Thu, 26 Apr 2007 14:05:19 -0400 Subject: Installation help - CentOS 4.4 Server In-Reply-To: References: Message-ID: Restarted OK.. and "Things look okay - No serious problems were detected during the pre-flight check" As soon as I click one of the Service Detail link I get the permissions error... On 4/26/07, Valdinger, Stephen (DOV, MSX) wrote: > > Oh, shit, haha, yes you will have to restart the apache server for the > change to take effect > > Also make sure your changes to any config files don't produce and > ERRORS, warnings are ok, but errors cause nagios not to function > > > To restart server : > service httpd restart > > > check nagios config: > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > > > > Stephen Valdinger > MIS Helpdesk Coordinator > Dover Chemical Corporation > 3676 Davis Rd NW > Dover, OH 44622 > 330-365-3622 > stephen.valdinger at doverchem.com > > > > Your day probably won't get as bad as this guys...... > -----Original Message----- > From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] > Sent: Thursday, April 26, 2007 1:58 PM > To: Valdinger, Stephen (DOV, MSX) > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server > > Sorry, that didn't do it... do I have to restart the server or > anything like that? > > On 4/26/07, af.at.work at gmail.com wrote: > > Thanks. > > > > /usr/sbin/useradd -G nagcmd www-data > > > > > > That did the trick... the install instructions used a different group > name. > > > > > > On 4/26/07, Valdinger, Stephen (DOV, MSX) > > > wrote: > > > /usr/sbin/useradd -G nagioscmd www-data > > > > > > That should give the webserver access if you have not already done > so > > > > > > > > > > > > > > > > > > > > > > > > Stephen Valdinger > > > MIS Helpdesk Coordinator > > > Dover Chemical Corporation > > > 3676 Davis Rd NW > > > Dover, OH 44622 > > > 330-365-3622 > > > stephen.valdinger at doverchem.com > > > > > > > > > > > > Your day probably won't get as bad as this guys...... > > > > > > -----Original Message----- > > > From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] > > > Sent: Thursday, April 26, 2007 1:52 PM > > > To: Valdinger, Stephen (DOV, MSX) > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server > > > > > > We're cooking now ... > > > > > > I can log in - but get a perms error / warning > > > > > > 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. > > > > > > > > > > > > On 4/26/07, Valdinger, Stephen (DOV, MSX) > > > wrote: > > > > He should update to version 1.4.8 on the plugins for some of the > stuff > > > > to work in 3.0a2 > > > > > > > > wget > > > > > > > > > > http://sourceforge.net/project/downloading.php?group_id=29880&use_mirror > > > > =internap&filename=nagios-plugins-1.4.8.tar.gz&40722747 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Stephen Valdinger > > > > MIS Helpdesk Coordinator > > > > Dover Chemical Corporation > > > > 3676 Davis Rd NW > > > > Dover, OH 44622 > > > > 330-365-3622 > > > > stephen.valdinger at doverchem.com > > > > > > > > > > > > > > > > Your day probably won't get as bad as this guys...... > > > > > > > > -----Original Message----- > > > > From: af.at.work at gmail.com [mailto: af.at.work at gmail.com] > > > > Sent: Thursday, April 26, 2007 1:41 PM > > > > To: Jason Salaz > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server > > > > > > > > wget > > > > > > http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0a2.tar.gz > > > > wget > > > > > > > > > > http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4 > > > > .7.tar.gz > > > > > > > > On 4/26/07, Jason Salaz < jsalaz at meteostar.com> wrote: > > > > > af.at.work at gmail.com wrote: > > > > > > I have followed the install guide > > > > > > ( > > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) > > > down > > > > > > to step #5 > > > > > > > > > > > > 5) Configure the Web Interface > > > > > > > > > > > > Install the Nagios web config file in the Apache conf.d > directory. > > > > > > > > > > > > make install-webconf > > > > > > > > > > > > > > > > > > But, after running 'make install-webconf' I get: > > > > > > make: *** No rule to make target `install-webconf'. Stop. > > > > > > > > > > > > Any help would be most appreciated. > > > > > > > > > > Which version of Nagios are you trying 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 > > > > > > > > > > > > > > > > > > > > -------------- 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 james at nttmcl.com Thu Apr 26 20:10:06 2007 From: james at nttmcl.com (James) Date: Thu, 26 Apr 2007 11:10:06 -0700 Subject: nagios service check latency In-Reply-To: References: Message-ID: <4630EAFE.6010400@nttmcl.com> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick >> Sent: Wednesday, April 25, 2007 10:16 PM >> To: James; nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] nagios service check latency >> >> >>> Ok i have a question about setting priority to service checks >>> >>> since i have a handful of service check checking clusters of >>> servers i'd like the priority of those service checks as high >>> as for instance... I'm running about 120 services. My Nagios seemed pretty speedy before until recently i dunno what changes i made to do this but most of them should've been just to add a few services. After i noticed pretty delayed notifications and then some latency i started making changes and it still hasn't changed all that much here's my nagios.cfg tho ###############BEGIN CFG############################# cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/checkcommands.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/servicegroups.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/hostextinfo.cfg cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg cfg_file=/usr/local/nagios/etc/meta_commands.cfg cfg_file=/usr/local/nagios/etc/meta_contact.cfg cfg_file=/usr/local/nagios/etc/meta_contactgroup.cfg cfg_file=/usr/local/nagios/etc/meta_dependencies.cfg cfg_file=/usr/local/nagios/etc/meta_escalations.cfg cfg_file=/usr/local/nagios/etc/meta_host.cfg cfg_file=/usr/local/nagios/etc/meta_hostgroup.cfg cfg_file=/usr/local/nagios/etc/meta_services.cfg cfg_file=/usr/local/nagios/etc/meta_timeperiod.cfg resource_file=/usr/local/nagios/etc/resource.cfg log_file=/usr/local/nagios/var/nagios.log object_cache_file=/usr/local/nagios/var/objects.cache temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat p1_file=/usr/local/nagios/bin/p1.pl aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives/ check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd downtime_file=/usr/local/nagios/var/downtime.dat comment_file=/usr/local/nagios/var/comments.dat lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=0 log_initial_states=0 sleep_time=0.25 service_inter_check_delay_method=s host_inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=55 max_service_check_spread=30 max_host_check_spread=30 service_reaper_frequency=10 interval_length=60 auto_rescheduling_interval=30 auto_rescheduling_window=180 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata check_for_orphaned_services=1 service_freshness_check_interval=60 host_freshness_check_interval=60 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios admin_pager=pagenagios ###############END CFG############################# Here's the service template i'm using: ################BEGIN SERVICE TEMPLATE ############## define service{ name local-service service_description local-service use generic-service max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 15 notification_period 24x7 notification_options w,c,r notifications_enabled 1 contact_groups admins stalking_options o register 0 } ################END SERVICE TEMPLATE ################## and here's the host template i'm using ################ BEGIN HOST TEMPLATE ################### define host{ name linux-server use generic-host alias servers check_command Check_ICMP!1 max_check_attempts 10 check_interval 0 check_period 24x7 contact_groups admins notification_interval 15 notification_period 24x7 notification_options d,r notifications_enabled 1 register 0 } ################ END HOST TEMPLATE ##################### any recommendations on changes? i tried going through the tweak guide but no luck that i've noticed. when i take a host down i noticed it doesn't detect it for about 5-10 minutes same with detecting it after it comes back up -------------- 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 26 20:15:00 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 26 Apr 2007 14:15:00 -0400 Subject: 3-d status map Message-ID: I have my 3-d map working, but all I have is big green boring boxes. How do I get the nifty windows and linux images and what not to load up into it? Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4020 bytes Desc: image001.jpg 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 jim at jimavery.me.uk Thu Apr 26 20:19:32 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 26 Apr 2007 19:19:32 +0100 Subject: Questions about Status Map In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB3013236BA@PEPWMV00043.corp.pep.pvt> References: <765d77c80704251046l471e6bebsd171d4b76bfe5318@mail.gmail.com> <7F477BD26F545A4C8E4779754A38EFB3013236BA@PEPWMV00043.corp.pep.pvt> Message-ID: <765d77c80704261119m2dc882eap7b480706d7c96a23@mail.gmail.com> On 26/04/07, Frost, Mark {PBG} wrote: > How do most people handle this kind of thing? I'm fairly haphazard in my approach. Sometimes I set up each physical interface as a host. If, like me, you're not too interested in the details of the network (you only want to know enough to pass the problem over to the network team) then I'd recommend only using the interface(s) on the router which is/are most remote from your Nagios server. For example, if we have the following: nagios---routerinterface10.1.1.3-router-routerinterface10.1.231.3---webapps I would only bother to set up routerinterface10.1.231.3 and webapps as hosts in Nagios. If 10.1.1.3 goes down, Nagios will report 10.1.231.3 as 'down' and I simply pass it over to the networks team to work out which interface/lan/wan/whatever is the problem. The priority where we (who are not responsible for networks) are concerned is to make sure that Nagios tells us whether it is a host problem or a network problem. Also, Nagios won't bombard us with alerts for 'down' hosts when the underlying problem is with the network. If webapps has two interfaces, for example an internal one on 10.1.231.4 and an external one on 192.168.34.35 I would monitor both. I would also set up another nagios server on a standard internet connection so I can confirm that the web application page is accessible from the internet. In practice I do this by having a tiny nagios server at home which polls my corporate web sites using check_http every half hour or so (sad life I live I know). 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 robert.holmes at xo.com Thu Apr 26 20:20:49 2007 From: robert.holmes at xo.com (Holmes Robert) Date: Thu, 26 Apr 2007 12:20:49 -0600 Subject: nagios service check latency In-Reply-To: <4630EAFE.6010400@nttmcl.com> References: <4630EAFE.6010400@nttmcl.com> Message-ID: You need to include the directive which allows service/host checks to be parallelized. I had that same problem when I set up my first Nagios install. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James Sent: Thursday, April 26, 2007 11:10 AM To: Marc Powell Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios service check latency Marc Powell wrote: -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick Sent: Wednesday, April 25, 2007 10:16 PM To: James; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios service check latency Ok i have a question about setting priority to service checks since i have a handful of service check checking clusters of servers i'd like the priority of those service checks as high as for instance... I'm running about 120 services. My Nagios seemed pretty speedy before until recently i dunno what changes i made to do this but most of them should've been just to add a few services. After i noticed pretty delayed notifications and then some latency i started making changes and it still hasn't changed all that much here's my nagios.cfg tho ###############BEGIN CFG############################# cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/checkcommands.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/servicegroups.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/hostextinfo.cfg cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg cfg_file=/usr/local/nagios/etc/meta_commands.cfg cfg_file=/usr/local/nagios/etc/meta_contact.cfg cfg_file=/usr/local/nagios/etc/meta_contactgroup.cfg cfg_file=/usr/local/nagios/etc/meta_dependencies.cfg cfg_file=/usr/local/nagios/etc/meta_escalations.cfg cfg_file=/usr/local/nagios/etc/meta_host.cfg cfg_file=/usr/local/nagios/etc/meta_hostgroup.cfg cfg_file=/usr/local/nagios/etc/meta_services.cfg cfg_file=/usr/local/nagios/etc/meta_timeperiod.cfg resource_file=/usr/local/nagios/etc/resource.cfg log_file=/usr/local/nagios/var/nagios.log object_cache_file=/usr/local/nagios/var/objects.cache temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat p1_file=/usr/local/nagios/bin/p1.pl aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives/ check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd downtime_file=/usr/local/nagios/var/downtime.dat comment_file=/usr/local/nagios/var/comments.dat lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=0 log_initial_states=0 sleep_time=0.25 service_inter_check_delay_method=s host_inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=55 max_service_check_spread=30 max_host_check_spread=30 service_reaper_frequency=10 interval_length=60 auto_rescheduling_interval=30 auto_rescheduling_window=180 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata check_for_orphaned_services=1 service_freshness_check_interval=60 host_freshness_check_interval=60 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios admin_pager=pagenagios ###############END CFG############################# Here's the service template i'm using: ################BEGIN SERVICE TEMPLATE ############## define service{ name local-service service_description local-service use generic-service max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 15 notification_period 24x7 notification_options w,c,r notifications_enabled 1 contact_groups admins stalking_options o register 0 } ################END SERVICE TEMPLATE ################## and here's the host template i'm using ################ BEGIN HOST TEMPLATE ################### define host{ name linux-server use generic-host alias servers check_command Check_ICMP!1 max_check_attempts 10 check_interval 0 check_period 24x7 contact_groups admins notification_interval 15 notification_period 24x7 notification_options d,r notifications_enabled 1 register 0 } ################ END HOST TEMPLATE ##################### any recommendations on changes? i tried going through the tweak guide but no luck that i've noticed. when i take a host down i noticed it doesn't detect it for about 5-10 minutes same with detecting it after it comes back up -------------- 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 26 20:52:44 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 26 Apr 2007 14:52:44 -0400 Subject: Installation help - CentOS 4.4 Server Message-ID: Well, then, I am all out of ideas! I'll cc the rest of the list on this one and hopefully someone can help us figure out this issue. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... _____ From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] Sent: Thursday, April 26, 2007 2:52 PM To: Valdinger, Stephen (DOV, MSX) Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server Yes, JUST grabbed whatever was up there today with the largest version number :) On 4/26/07, Valdinger, Stephen (DOV, MSX) < stephen.valdinger at doverchem.com > wrote: Hmmm, that is a very interesting situation. Are you using the latest version of Apache? htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin that is the documentation portion for setting up the login interface. It assumes you have the latest version of apache. Make sure you have the latest version. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... _____ From: af.at.work at gmail.com [mailto: af.at.work at gmail.com ] Sent: Thursday, April 26, 2007 2:39 PM To: Valdinger, Stephen (DOV, MSX) Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server This is the user I created: /usr/sbin/useradd nagios passwd nagios But am never prompted to use that account... On 4/26/07, Valdinger, Stephen (DOV, MSX) < stephen.valdinger at doverchem.com > wrote: Set up a user for nagios ( I suggest nagiosadmin or something similar) and add that usr to the nagcmd group. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... _____ From: af.at.work at gmail.com [mailto: af.at.work at gmail.com ] Sent: Thursday, April 26, 2007 2:12 PM To: Valdinger, Stephen (DOV, MSX) Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server I'm logged in as root - do not get prompted to log in to the Nagios app. On 4/26/07, Valdinger, Stephen (DOV, MSX) < stephen.valdinger at doverchem.com > wrote: Do you authenticate to the webserver when you log on to nagios? You may need to add that user to nagcmd as well using /usr/sbin/useradd -G nagcmd "yourusername" Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... _____ From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] Sent: Thursday, April 26, 2007 2:05 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server Restarted OK.. and "Things look okay - No serious problems were detected during the pre-flight check" As soon as I click one of the Service Detail link I get the permissions error... On 4/26/07, Valdinger, Stephen (DOV, MSX) < stephen.valdinger at doverchem.com > wrote: Oh, shit, haha, yes you will have to restart the apache server for the change to take effect Also make sure your changes to any config files don't produce and ERRORS, warnings are ok, but errors cause nagios not to function To restart server : service httpd restart check nagios config: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: af.at.work at gmail.com [mailto: af.at.work at gmail.com ] Sent: Thursday, April 26, 2007 1:58 PM To: Valdinger, Stephen (DOV, MSX) Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server Sorry, that didn't do it... do I have to restart the server or anything like that? On 4/26/07, af.at.work at gmail.com < af.at.work at gmail.com > wrote: > Thanks. > > /usr/sbin/useradd -G nagcmd www-data > > > That did the trick... the install instructions used a different group name. > > > On 4/26/07, Valdinger, Stephen (DOV, MSX) > wrote: > > /usr/sbin/useradd -G nagioscmd www-data > > > > That should give the webserver access if you have not already done so > > > > > > > > > > > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > Dover Chemical Corporation > > 3676 Davis Rd NW > > Dover, OH 44622 > > 330-365-3622 > > stephen.valdinger at doverchem.com > > > > > > > > Your day probably won't get as bad as this guys...... > > > > -----Original Message----- > > From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] > > Sent: Thursday, April 26, 2007 1:52 PM > > To: Valdinger, Stephen (DOV, MSX) > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server > > > > We're cooking now ... > > > > I can log in - but get a perms error / warning > > > > 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. > > > > > > > > On 4/26/07, Valdinger, Stephen (DOV, MSX) > > wrote: > > > He should update to version 1.4.8 on the plugins for some of the stuff > > > to work in 3.0a2 > > > > > > wget > > > > > > http://sourceforge.net/project/downloading.php?group_id=29880&use_mirror > > > =internap&filename=nagios-plugins-1.4.8.tar.gz&40722747 > > > > > > > > > > > > > > > > > > > > > > > > Stephen Valdinger > > > MIS Helpdesk Coordinator > > > Dover Chemical Corporation > > > 3676 Davis Rd NW > > > Dover, OH 44622 > > > 330-365-3622 > > > stephen.valdinger at doverchem.com > > > > > > > > > > > > Your day probably won't get as bad as this guys...... > > > > > > -----Original Message----- > > > From: af.at.work at gmail.com [mailto: af.at.work at gmail.com] > > > Sent: Thursday, April 26, 2007 1:41 PM > > > To: Jason Salaz > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server > > > > > > wget > > > > http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0a2.tar.gz > > > wget > > > > > > http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4 > > > .7.tar.gz > > > > > > On 4/26/07, Jason Salaz < jsalaz at meteostar.com> wrote: > > > > af.at.work at gmail.com wrote: > > > > > I have followed the install guide > > > > > ( > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html ) > > down > > > > > to step #5 > > > > > > > > > > 5) Configure the Web Interface > > > > > > > > > > Install the Nagios web config file in the Apache conf.d directory. > > > > > > > > > > make install-webconf > > > > > > > > > > > > > > > But, after running 'make install-webconf' I get: > > > > > make: *** No rule to make target `install-webconf'. Stop. > > > > > > > > > > Any help would be most appreciated. > > > > > > > > Which version of Nagios are you trying 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 > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4020 bytes Desc: image001.jpg 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 Thu Apr 26 21:27:57 2007 From: marc at ena.com (Marc Powell) Date: Thu, 26 Apr 2007 14:27:57 -0500 Subject: nagios service check latency In-Reply-To: <4630EAFE.6010400@nttmcl.com> References: <4630EAFE.6010400@nttmcl.com> Message-ID: > -----Original Message----- > From: James [mailto:james at nttmcl.com] > Sent: Thursday, April 26, 2007 1:10 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios service check latency > > Marc Powell wrote: > > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick > Sent: Wednesday, April 25, 2007 10:16 PM > To: James; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios service check latency > > > > Ok i have a question about setting priority to service > checks > > since i have a handful of service check checking > clusters of > servers i'd like the priority of those service checks as > high > as for instance... > > I'm running about 120 services. > My Nagios seemed pretty speedy before until recently i dunno what changes > i made to do this but most of them should've been just to add a few > services. > After i noticed pretty delayed notifications and then some latency i > started making changes and it still hasn't changed all that much > > here's my nagios.cfg tho > ###############BEGIN CFG############################# > Here's the service template i'm using: > ################BEGIN SERVICE TEMPLATE ############## > define service{ > name local-service > service_description local-service > use generic-service > max_check_attempts 10 > normal_check_interval 1 > retry_check_interval 1 Here you're telling nagios to check a service 10 times with 1 minute delay between checks once a service goes down before notifying. This is a 10+ minute delay before notification. You probably want to lower max_check_attempts. > ################END SERVICE TEMPLATE ################## > > and here's the host template i'm using > ################ BEGIN HOST TEMPLATE ################### > define host{ > name linux-server > use generic-host > alias servers > check_command Check_ICMP!1 > max_check_attempts 10 Here you're telling nagios to run the host check_command 10 times before determining the host is really down and notifying. Depending one what your host check_command is, that could be a problem. For example, if the check_command is 10 pings, that's 10+ seconds * 10 times or 100+ seconds during which nagios will do absolutely nothing else except obsess over this host. It looks like it might only be 1 ping but I don't know if your Check_ICMP definition actually uses $ARG1$. > check_interval 0 I'd remove this line entirely. I'm unsure what a value of 0 will do but any host check_interval in highly discouraged in nagios2. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host "check_interval: NOTE: Do NOT enable regularly scheduled checks of a host unless you absolutely need to! Host checks are already performed on-demand when necessary, so there are few times when regularly scheduled checks would be needed. Regularly scheduled host checks can negatively impact performance - see the performance tuning tips for more information. This directive is used to define the number of "time units" between regularly scheduled checks of the host. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation." -- 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 Thu Apr 26 21:29:21 2007 From: marc at ena.com (Marc Powell) Date: Thu, 26 Apr 2007 14:29:21 -0500 Subject: 3-d status map 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 Valdinger, Stephen (DOV, MSX) > Sent: Thursday, April 26, 2007 1:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] 3-d status map > > I have my 3-d map working, but all I have is big green boring boxes. How > do I get the nifty windows and linux images and what not to load up into > it? http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo -- 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 af.at.work at gmail.com Thu Apr 26 21:44:45 2007 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Thu, 26 Apr 2007 15:44:45 -0400 Subject: Installation help - CentOS 4.4 Server In-Reply-To: References: Message-ID: I tracked this down: http://www.cisl.ucar.edu/nets/tools/nagios/ Which showed 1 way to resolve the issue - but is not the 'best' way to do so. On 4/26/07, Valdinger, Stephen (DOV, MSX) wrote: > > Well, then, I am all out of ideas! I'll cc the rest of the list on this > one and hopefully someone can help us figure out this issue. > > > > > > > > > > > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > Dover Chemical Corporation > > 3676 Davis Rd NW > > Dover, OH 44622 > > 330-365-3622 > > stephen.valdinger at doverchem.com > > > > > > > > Your day probably won't get as bad as this guys?? > ------------------------------ > > *From:* af.at.work at gmail.com [mailto:af.at.work at gmail.com] > *Sent:* Thursday, April 26, 2007 2:52 PM > *To:* Valdinger, Stephen (DOV, MSX) > *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server > > > > Yes, JUST grabbed whatever was up there today with the largest version > number :) > > On 4/26/07, *Valdinger, Stephen** (DOV, MSX)* > wrote: > > > > > > Hmmm, that is a very interesting situation. Are you using the latest > version of Apache? > > > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin > > > > that is the documentation portion for setting up the login interface. It > assumes you have the latest version of apache. > > Make sure you have the latest version. > > > > > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > Dover Chemical Corporation > > 3676 Davis Rd NW > > Dover, OH 44622 > > 330-365-3622 > > stephen.valdinger at doverchem.com > > > > > > > > Your day probably won't get as bad as this guys?? > ------------------------------ > > *From:* af.at.work at gmail.com [mailto: af.at.work at gmail.com] > *Sent:* Thursday, April 26, 2007 2:39 PM > > > *To:* Valdinger, Stephen (DOV, MSX) > *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server > > > > This is the user I created: > > /usr/sbin/useradd nagios > > passwd nagios > > > > But am never prompted to use that account... > > > > On 4/26/07, *Valdinger, Stephen** (DOV, MSX) * > wrote: > > Set up a user for nagios ( I suggest nagiosadmin or something similar) and > add that usr to the nagcmd group. > > > > > > > > > > > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > Dover Chemical Corporation > > 3676 Davis Rd NW > > Dover, OH 44622 > > 330-365-3622 > > stephen.valdinger at doverchem.com > > > > > > > > Your day probably won't get as bad as this guys?? > ------------------------------ > > *From:* af.at.work at gmail.com [mailto: af.at.work at gmail.com] > *Sent:* Thursday, April 26, 2007 2:12 PM > > > *To:* Valdinger, Stephen (DOV, MSX) > *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server > > > > I'm logged in as root - do not get prompted to log in to the Nagios app. > > On 4/26/07, *Valdinger, Stephen** (DOV, MSX)* > wrote: > > Do you authenticate to the webserver when you log on to nagios? You may > need to add that user to nagcmd as well using > > > > /usr/sbin/useradd ?G nagcmd *"yourusername" * > > > > > > > > > > > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > Dover Chemical Corporation > > 3676 Davis Rd NW > > Dover, OH 44622 > > 330-365-3622 > > stephen.valdinger at doverchem.com > > > > > > > > Your day probably won't get as bad as this guys?? > ------------------------------ > > *From:* af.at.work at gmail.com [mailto:af.at.work at gmail.com] > *Sent:* Thursday, April 26, 2007 2:05 PM > *To:* Valdinger, Stephen (DOV, MSX) > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server > > > > Restarted OK.. and "Things look okay - No serious problems were detected > during the pre-flight check" > > As soon as I click one of the Service Detail link I get the permissions > error... > > On 4/26/07, *Valdinger, Stephen** (DOV, MSX)* > wrote: > > Oh, shit, haha, yes you will have to restart the apache server for the > change to take effect > > Also make sure your changes to any config files don't produce and > ERRORS, warnings are ok, but errors cause nagios not to function > > > To restart server : > service httpd restart > > > check nagios config: > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > > > > Stephen Valdinger > MIS Helpdesk Coordinator > Dover Chemical Corporation > 3676 Davis Rd NW > Dover, OH 44622 > 330-365-3622 > stephen.valdinger at doverchem.com > > > > Your day probably won't get as bad as this guys...... > -----Original Message----- > From: af.at.work at gmail.com [mailto: af.at.work at gmail.com] > Sent: Thursday, April 26, 2007 1:58 PM > To: Valdinger, Stephen (DOV, MSX) > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server > > Sorry, that didn't do it... do I have to restart the server or > anything like that? > > On 4/26/07, af.at.work at gmail.com < af.at.work at gmail.com> wrote: > > Thanks. > > > > /usr/sbin/useradd -G nagcmd www-data > > > > > > That did the trick... the install instructions used a different group > name. > > > > > > On 4/26/07, Valdinger, Stephen (DOV, MSX) > > > wrote: > > > /usr/sbin/useradd -G nagioscmd www-data > > > > > > That should give the webserver access if you have not already done > so > > > > > > > > > > > > > > > > > > > > > > > > Stephen Valdinger > > > MIS Helpdesk Coordinator > > > Dover Chemical Corporation > > > 3676 Davis Rd NW > > > Dover, OH 44622 > > > 330-365-3622 > > > stephen.valdinger at doverchem.com > > > > > > > > > > > > Your day probably won't get as bad as this guys...... > > > > > > -----Original Message----- > > > From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] > > > Sent: Thursday, April 26, 2007 1:52 PM > > > To: Valdinger, Stephen (DOV, MSX) > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server > > > > > > We're cooking now ... > > > > > > I can log in - but get a perms error / warning > > > > > > 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. > > > > > > > > > > > > On 4/26/07, Valdinger, Stephen (DOV, MSX) > > > wrote: > > > > He should update to version 1.4.8 on the plugins for some of the > stuff > > > > to work in 3.0a2 > > > > > > > > wget > > > > > > > > > > http://sourceforge.net/project/downloading.php?group_id=29880&use_mirror > > > > =internap&filename=nagios-plugins-1.4.8.tar.gz&40722747 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Stephen Valdinger > > > > MIS Helpdesk Coordinator > > > > Dover Chemical Corporation > > > > 3676 Davis Rd NW > > > > Dover, OH 44622 > > > > 330-365-3622 > > > > stephen.valdinger at doverchem.com > > > > > > > > > > > > > > > > Your day probably won't get as bad as this guys...... > > > > > > > > -----Original Message----- > > > > From: af.at.work at gmail.com [mailto: af.at.work at gmail.com] > > > > Sent: Thursday, April 26, 2007 1:41 PM > > > > To: Jason Salaz > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server > > > > > > > > wget > > > > > > http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0a2.tar.gz > > > > wget > > > > > > > > > > http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4 > > > > .7.tar.gz > > > > > > > > On 4/26/07, Jason Salaz < jsalaz at meteostar.com> wrote: > > > > > af.at.work at gmail.com wrote: > > > > > > I have followed the install guide > > > > > > ( > > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html ) > > > down > > > > > > to step #5 > > > > > > > > > > > > 5) Configure the Web Interface > > > > > > > > > > > > Install the Nagios web config file in the Apache conf.d > directory. > > > > > > > > > > > > make install-webconf > > > > > > > > > > > > > > > > > > But, after running 'make install-webconf' I get: > > > > > > make: *** No rule to make target `install-webconf'. Stop. > > > > > > > > > > > > Any help would be most appreciated. > > > > > > > > > > Which version of Nagios are you trying 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4020 bytes Desc: not available 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 jeff.shumard at defenseweb.com Thu Apr 26 21:48:03 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Thu, 26 Apr 2007 12:48:03 -0700 Subject: Nagios Uptime reports. Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C6213460C@mail2.sd.defenseweb.net> Is there a way to generate monthly uptime reports and have them e-mailed to people? Some of our contracts require a specific percentage of uptime and we have to prove that we didn't go bellow the percentage on a monthly basis. Our current monitoring system allows us to generate a monthly report which gets sent to specified e-mail addresses and shows the uptime percentage. Thank you, Jeff ------------------------------------------------------------------------- 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 tstocking at groundworkopensource.com Thu Apr 26 22:45:49 2007 From: tstocking at groundworkopensource.com (Thomas Stocking) Date: Thu, 26 Apr 2007 13:45:49 -0700 Subject: Memory Usage per plug-in In-Reply-To: <46274F87.9030405@pic.es> References: <7ad6d2f90704190342l543135e9t4d1f94d99eea25cc@mail.gmail.com> <46274F87.9030405@pic.es> Message-ID: <46310F7D.9070004@groundworkopensource.com> Adi, We have found that the answer to this question is dependent upon multiple factors. Total number of service checks is of course one factor, and Nagios 2.5 (the last version we tested) will fail to start at around 24,000 service and host objects combined. We have also found that with typical settings, the top end limit of Nagios running active service checks on a 2 CPU system with 2GB RAM is around 500/minute. Beyond this, we observed a tipping point, where latency crept up to more than 300 seconds and stayed there. This of course depends on the running time of the plugins used, the number of failed checks, and hence the number of retires, the service timeout, etc. Suffice to say that there is not an easy formula that covers all situations. To baseline, you will need to hold many factors constant. Our "typical" settings will not work for more than 5% of the readers of this list, if that, and I have seen some systems running as many as 800 checks/minute in an optimized state, with low latency. Another limitation to watch out for is the number of host state changes per minute. With event handlers and/or notifications enabled, we have seen Nagios handle 300 or so state changes per minute before latency again becomes a problem. Of course, this depends on the number and speed of the event handlers, and the speed and type of the host check, which we optimize. In Nagios 3.x the host checks will be parallelized, but in 2.x so far, they block all service checks, and so are a major contributor to latency. A way around many of these limits is to use passive checks for Nagios. We have found that on a 100% passive system with typical settings (typical for US, remember), that around 3000 service checks can reliably be processed per minute. This number goes up significantly when a ramdisk is used to house the command pipe, and when NSCAfe is used instead of NSCA to receive and process the checks. If you are interested in commentary on your nagios plugin-writing project, please contact us directly. We often write and enhance plugins for this project, and would be happy to share what we know. Thomas Alessandro del Gallo wrote: > adi yesaya wrote: >> 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 >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> 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 > Hello, I am a Nagios user, > I can give you my statistics. > Nagios is currently monitoring: > 256 hosts (0 down) (the coincidence with 2^8 is only a coincidence ) > 2212 services > 2203 OK > 3 Warn. > 1 Unkn. > 5 Criticals. > > I give you the `ps` output. > > [root at nagios01 plugins]# ps auxwww|grep nagios > nagios 28426 0.0 0.0 5708 664 ? S Apr04 0:00 > /usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -t 60 -P 3 -L > authPriv -a MD5 -A -U nagios -X -o laErrorFlag.2 laErrMessage.2 > laLoad.2 -c 0:0 > nagios 28430 0.0 0.1 6448 1376 ? S Apr04 0:00 > /usr/bin/snmpget -t 60 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u > -A -x DES -X **.*6.198.208:161 laErrorFlag.2 > laErrMessage.2 laLoad.2 > nagios 29198 0.0 0.0 7420 664 ? S Apr04 0:00 > /usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -e 1 -t 120 -P 3 > -L authPriv -a MD5 -A -U nagios -X -w 0:0 -c 0:1 -o > .1.3.6.1.4.1.2021.95.100.1 .1.3.6.1.4.1.2021.95.101.1 > nagios 29199 0.0 0.1 6324 1376 ? S Apr04 0:00 > /usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u > -A -x DES -X **.*6.198.208:161 > .1.3.6.1.4.1.2021.95.100.1 .1.3.6.1.4.1.2021.95.101.1 > nagios 30092 0.0 0.0 6100 664 ? S Apr04 0:00 > /usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -e 1 -t 120 -P 3 > -L authPriv -a MD5 -A -U nagios -X -w 0:0 -c 0:1 -o > .1.3.6.1.4.1.2021.107.100.1 .1.3.6.1.4.1.2021.107.101.1 > nagios 30093 0.0 0.1 5984 1376 ? S Apr04 0:00 > /usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u > -A -x DES -X **.*6.198.208:161 > .1.3.6.1.4.1.2021.107.100.1 .1.3.6.1.4.1.2021.107.101.1 > nagios 30153 0.0 0.0 6584 664 ? S Apr04 0:00 > /usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -e 1 -t 120 -P 3 > -L authPriv -a MD5 -A -U nagios -X -w 0:0 -c 0:1 -o > .1.3.6.1.4.1.2021.76.100.1 .1.3.6.1.4.1.2021.76.101.1 > nagios 30154 0.0 0.1 6252 1376 ? S Apr04 0:00 > /usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u > -A -x DES -X **.*6.198.208:161 > .1.3.6.1.4.1.2021.76.100.1 .1.3.6.1.4.1.2021.76.101.1 > nagios 27018 0.0 0.0 5792 792 ? S Apr04 0:00 > /usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -e 1 -t 120 -P 3 > -L authPriv -a MD5 -A -U nagios -X -w 0:0 -c 0:1 -o > .1.3.6.1.4.1.2021.110.100.1 .1.3.6.1.4.1.2021.110.101.1 > nagios 27019 0.0 0.1 4612 2020 ? S Apr04 0:00 > /usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u > -A -x DES -X **.*6.198.208:161 > .1.3.6.1.4.1.2021.110.100.1 .1.3.6.1.4.1.2021.110.101.1 > nagios 27425 0.9 1.0 37400 11184 ? Ssl 10:43 1:24 > /usr/bin/nagios -d /etc/nagios/nagios.cfg > nagios 8307 0.0 0.9 37404 9436 ? S 13:04 0:00 > /usr/bin/nagios -d /etc/nagios/nagios.cfg > nagios 8308 0.0 0.0 5592 792 ? S 13:04 0:00 > /usr/lib/nagios/plugins//check_snmp -H **.*6.197.92 -e 1 -t 120 -P 3 > -L authPriv -a MD5 -A -U nagios -X -w 0:0 -c 0:1 -o > .1.3.6.1.4.1.2021.95.100.1 .1.3.6.1.4.1.2021.95.101.1 > nagios 8309 0.5 0.1 6264 1932 ? S 13:04 0:00 > /usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u > -A -x DES -X **.*6.197.92:161 > .1.3.6.1.4.1.2021.95.100.1 .1.3.6.1.4.1.2021.95.101.1 > nagios 8379 0.0 0.9 37404 9436 ? S 13:04 0:00 > /usr/bin/nagios -d /etc/nagios/nagios.cfg > nagios 8381 0.0 0.0 6236 788 ? S 13:04 0:00 > /usr/lib/nagios/plugins//check_snmp -H **.*6.196.3 -e 1 -t 120 -P 3 -L > authPriv -a MD5 -A -U nagios -X -w 0:0 -c 0:1 -o > .1.3.6.1.4.1.2021.50.100.1 .1.3.6.1.4.1.2021.50.101.1 > nagios 8385 2.0 0.1 5608 2020 ? S 13:04 0:00 > /usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u > -A -x DES -X **.*6.196.3:161 > .1.3.6.1.4.1.2021.50.100.1 .1.3.6.1.4.1.2021.50.101.1 > nagios 8415 0.0 0.9 37404 9436 ? S 13:04 0:00 > /usr/bin/nagios -d /etc/nagios/nagios.cfg > nagios 8416 0.0 0.0 6128 792 ? S 13:04 0:00 > /usr/lib/nagios/plugins//check_snmp -H **.*6.197.23 -e 1 -t 120 -P 3 > -L authPriv -a MD5 -A -U nagios -X -w 0:0 -c 0:1 -o > .1.3.6.1.4.1.2021.50.100.1 .1.3.6.1.4.1.2021.50.101.1 > nagios 8417 8.0 0.1 6220 2020 ? S 13:04 0:00 > /usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u > -A -x DES -X **.*6.197.23:161 > .1.3.6.1.4.1.2021.50.100.1 .1.3.6.1.4.1.2021.50.101.1 > root 8423 0.0 0.0 3760 664 pts/0 S+ 13:04 0:00 grep nagios > > > I hope this is useful for you. > bye > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 marc at ena.com Thu Apr 26 23:11:41 2007 From: marc at ena.com (Marc Powell) Date: Thu, 26 Apr 2007 16:11:41 -0500 Subject: Nagios, REL, and Postfix In-Reply-To: <2DF21D80C81D024DB1A79BAC56EF913C8B2AEB@MAILSRV01.e-tron.com> References: <2DF21D80C81D024DB1A79BAC56EF913C8B2AEB@MAILSRV01.e-tron.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Drew Myers > Sent: Thursday, April 26, 2007 12:43 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios, REL, and Postfix > > > Ok, I admit it, I'm a bonehead. > > I migrated from sendmail to postfix. I have several passive checks that > run by way of REL. I did not anticipate breaking this functionality, > but I have. > > In the maillog, I have the following entries: > > Command died with status 13: "/usr/local/nagios/bin/smtpreceiver.pl". > Command output: Can't open /var/log/nagios/rw/nagios.cmd for writing: > Permission denied ) > > The permissions on the pipe are: > > prw-rw---- 1 nagios nagios 0 Apr 26 12:41 /var/log/nagios/rw/nagios.cmd The user that smtpreceiver.pl runs as needs to be added to the nagios group, based on the permissions above. While specifically documenting how to submit external commands from a web server, the documentation at http://nagios.sourceforge.net/docs/2_0/commandfile.html covers the concepts you need to understand to submit them from a script. -- 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 Thu Apr 26 23:20:04 2007 From: marc at ena.com (Marc Powell) Date: Thu, 26 Apr 2007 16:20:04 -0500 Subject: Nagios Uptime reports. In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C6213460C@mail2.sd.defenseweb.net> References: <6F11F0B85CE3C841A4C78C8F364C1C6213460C@mail2.sd.defenseweb.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeff Shumard - DefenseWeb > Technologies > Sent: Thursday, April 26, 2007 2:48 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Uptime reports. > > Is there a way to generate monthly uptime reports and have them e-mailed > to people? Some of our contracts require a specific percentage of > uptime and we have to prove that we didn't go bellow the percentage on a > monthly basis. Our current monitoring system allows us to generate a > monthly report which gets sent to specified e-mail addresses and shows > the uptime percentage. Yes, look on http://nagiosexchange.org. -- 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 james at nttmcl.com Fri Apr 27 00:08:00 2007 From: james at nttmcl.com (James) Date: Thu, 26 Apr 2007 15:08:00 -0700 Subject: nagios service check latency In-Reply-To: References: Message-ID: <463122C0.9000009@nttmcl.com> >> check_interval 0 >> > > I'd remove this line entirely. I'm unsure what a value of 0 will do but > any host check_interval in highly discouraged in nagios2. > yeah my icmp was already set to 1 ping and the retries was lowered to 2 anyway. I removed the 0 value and set it to blank. Hosts are responding normally tho it still takes about 2 or 3 mins for it to detect which really is fine. but i'm still getting about like 400-700 sec latency on my services. service execution time is only like .5 seconds i'm running outta ideas. i've tried parallelizing all the services i've tried putting the concurrent checks number up. It's not straining my system at all even when i set the concurrent checks to like 100. by the way when i run the -s option in nagios i found this peculiar HOST SCHEDULING INFORMATION --------------------------- Total hosts: 18 Total scheduled hosts: 1 Host inter-check delay method: SMART *Average host check interval: 3600.00 sec* *Host inter-check delay: 1800.00 sec* Max host check spread: 30 min First scheduled check: Thu Apr 26 15:04:40 2007 Last scheduled check: Thu Apr 26 15:04:40 2007 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 105 Total scheduled services: 105 Service inter-check delay method: SMART Average service check interval: 60.00 sec Inter-check delay: 0.57 sec Interleave factor method: SMART Average services per host: 5.83 Service interleave factor: 6 Max service check spread: 30 min First scheduled check: Thu Apr 26 15:04:50 2007 Last scheduled check: Thu Apr 26 15:05:50 2007 That's a bit high for avg host check interval isn't it? Anyhow i'm more concerned with the services still. -------------- 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 Fri Apr 27 00:45:59 2007 From: marc at ena.com (Marc Powell) Date: Thu, 26 Apr 2007 17:45:59 -0500 Subject: nagios service check latency In-Reply-To: <463122C0.9000009@nttmcl.com> References: <463122C0.9000009@nttmcl.com> Message-ID: > -----Original Message----- > From: James [mailto:james at nttmcl.com] > Sent: Thursday, April 26, 2007 5:08 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios service check latency > > > check_interval 0 > > > > I'd remove this line entirely. I'm unsure what a value of 0 will do > but > any host check_interval in highly discouraged in nagios2. > > > yeah my icmp was already set to 1 ping and the retries was lowered to 2 > anyway. > I removed the 0 value and set it to blank. Don't set it to blank, remove the directive entirely. Nagios will fail if you leave the directive in with a blank value. > Hosts are responding normally tho it still takes about 2 or 3 mins for it > to detect which really is fine. Hosts will only be checked when a service on the host fails. This is probably directly related to the service latency for that host. > but i'm still getting about like 400-700 sec latency on my services. > service execution time is only like .5 seconds > > i'm running outta ideas. Post an entire host/service definition, not just your templates. > by the way when i run the -s option in nagios i found this peculiar > > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 18 > Total scheduled hosts: 1 > Host inter-check delay method: SMART > Average host check interval: 3600.00 sec > Host inter-check delay: 1800.00 sec > Max host check spread: 30 min > First scheduled check: Thu Apr 26 15:04:40 2007 > Last scheduled check: Thu Apr 26 15:04:40 2007 > > That's a bit high for avg host check interval isn't it? Yes, it should be 0.00s but that's what you've specified in some host definition. ;) You should have 0 scheduled hosts. Nagios will automagically run host checks as needed. > Anyhow i'm more concerned with the services still. Yes, certainly as that's nagios's main focus as well. There's something fundamental that's missing. I would expect a 286 box to be able to handle that number of checks easily ;) I'd try setting in nagios.cfg -- max_concurrent_check=0 service_reaper_frequency=2 If that didn't make a difference I'd try setting normal_check_interval to 5 in my service definitions. If that worked, lower it progressively. You also specify performance data collection -- process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata Are these scripts working as expected? If not you could be adding 5 seconds per check to your latency. -- 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 james at nttmcl.com Fri Apr 27 01:11:38 2007 From: james at nttmcl.com (James) Date: Thu, 26 Apr 2007 16:11:38 -0700 Subject: nagios service check latency In-Reply-To: References: Message-ID: <463131AA.3050309@nttmcl.com> > >> by the way when i run the -s option in nagios i found this peculiar >> >> HOST SCHEDULING INFORMATION >> --------------------------- >> Total hosts: 18 >> Total scheduled hosts: 1 >> Host inter-check delay method: SMART >> Average host check interval: 3600.00 sec >> Host inter-check delay: 1800.00 sec >> Max host check spread: 30 min >> First scheduled check: Thu Apr 26 15:04:40 2007 >> Last scheduled check: Thu Apr 26 15:04:40 2007 >> >> > > >> That's a bit high for avg host check interval isn't it? >> > > Yes, it should be 0.00s but that's what you've specified in some host > definition. ;) You should have 0 scheduled hosts. Nagios will > automagically run host checks as needed. > > You've got an magical eye for things Apparently that 1 host that i accidently left scheduled was the problem... *i think* i also set the rest of the things you told me to like the lower reaper interval. However things are fine and dandy... i really thing it was that host though. 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 joe.stringfellow at liverpool.com Fri Apr 27 10:12:26 2007 From: joe.stringfellow at liverpool.com (joe.stringfellow at liverpool.com) Date: Fri, 27 Apr 2007 09:12:26 +0100 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: <46307DD7.1020708@ultra-secure.de> References: <46307DD7.1020708@ultra-secure.de> Message-ID: Hi Rainer, Thank you very much for your reply. I have the CD's here somewhere for Insight Manager and will have a look to find the MIBS for the particular hardware. (never thought to look on the CD's). Downloading an SNMP browser from the internet should be easy enough. When I manage to find some free time I'll investigate further and let the list know how I got on. Once again, thanks for your input. Joe Rainer Duffner 26/04/2007 11:24 To joe.stringfellow at liverpool.com cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring joe.stringfellow at liverpool.com wrote: > > 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. > Well, I wrote something like this some years ago, mainly to check fans and temperature. I posted it to the mailing-list and I uploaded the plugins to sourceforge. That was in January 2005. They are in the contrib directory in the nagiosplugins source distribution. You should get hold of an InsightManager CD and copy the MIBs to the directory where your SNMP-client stores MIBs. Then you can use a SNMP-browser (like mbrowse on Unix-systems) to access the MIBs and get an idea of what you should be looking at. Please note that these plugins are very crude - there's probably a more elegant way to access all these MIBs and automate some of the hardcoded stuff in there... cheers, Rainer ******************** 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 christian.masopust at siemens.com Fri Apr 27 10:31:15 2007 From: christian.masopust at siemens.com (Masopust, Christian) Date: Fri, 27 Apr 2007 10:31:15 +0200 Subject: NDO 1.4b3 with Nagios 2.9 on Solaris 8 Message-ID: <60721B67EAF0994EAFFB561767B700140125D7E3@nets13ha.ww300.siemens.net> I tried to get NDOutils 1.4b3 running with my Nagios 2.9 installation on Solaris 8 and run into the following problems: 1. error during compile: Solaris 8 doesn't provide the SUN_LEN macro, so i copied it from one of my Linux - systems ---> compile ok. 2. error during linking: Solaris 8 doesn't provide "strtof". I found the source for strtof on www.koders.com and added it ---> link ok 3. i changed nagios.cfg to add the ndomod-2x.o and restarted nagios (before i started ndo2db) and i get an entry in nagios_instances and in nagios_conninfo that it's connected, but nothing else.... no entries for service-checks, no configuration, nothing.... so i googled around and find out that i also have to activate "event_broker_options".... so i did (set it to "-1") and when restarting Nagios it stops with a segmentation fault... any ideas what i did wrong? thanks a lot, christian -------------- 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 glynn.seymour at bayerbbs.com Fri Apr 27 11:46:46 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Fri, 27 Apr 2007 11:46:46 +0200 Subject: RRD Doesn't generate a new DB In-Reply-To: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CD0@ex01.jewels.local> References: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2CD0@ex01.jewels.local> Message-ID: Quite possibly, like I said, it's been a while since there wasn't any perfdata to be processed on mine.... Thu Apr 26 13:12:54 2007 INSERT info: Input servicedescr:PING Thu Apr 26 13:12:54 2007 INSERT info: Input output:PING OK - Packet loss = 0%, RTA = 0.04 ms Thu Apr 26 13:12:54 2007 INSERT debug: Checking /var/adm/logs/nagios/rrd/localhost_PING_ping.rrd Thu Apr 26 13:12:54 2007 INSERT info: RRDs::update /var/adm/logs/nagios/rrd/localhost_PING_ping.rrd 1177603367:0:4e-05 Thu Apr 26 13:12:54 2007 INSERT debug: processing perfdata: 1177607438||localhost||Current Load||OK - load average: 0.04, 0.08, 0.27||load1=0.040;5.000;10.000;0; load5=0.080;4.000;6.000;0; load15=0.270;3.000;4.000;0; is it doing its job, I guess from your manual run of it - that should have created an RRD for localhost Ping (localhost_PING_ping.rrd I think). Thu Apr 26 13:13:10 2007 INSERT debug: Config perflog:/var/adm/logs/nagios/service-perfdata looks wrong, this is my nagios.cfg entry: # HOST AND SERVICE PERFORMANCE DATA FILES # These files are used to store host and service performance data. # Performance data is only written to these files if the # enable_performance_data option (above) is set to 1. #host_perfdata_file=/usr/local/nagios/var/perf/host-perfdata service_perfdata_file=/usr/local/nagios/var/perfdata.dat .. and my nagiosgraph.conf corresponding entry # Location of performance data file. Comment out it not used. perflog = /usr/local/nagios/var/perfdata.dat Do they match in your config? Maybe there are 2 Nagios processes running? Or maybe the current running process is using an old version of performance data global settings, and the service performance data settings - might be worth a stop Nagios, check the processes are all gone, start Nagios if you can. It looks like it CAN run just isn't. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK Telephone: +44 1635 563574 e mail: glynn.seymour at bayerbbs.com Web: http://www.bayer.co.uk __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- 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 Fri Apr 27 12:36:11 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 27 Apr 2007 06:36:11 -0400 Subject: check_ping In-Reply-To: References: Message-ID: <4631D21B.5030806@aei.ca> config.h is generated by the configure script (which is itself generated by configure.in) and everything in config.h is specific to the os/distribution and possibly other apps installed on it. The problem you're having is definitely a bug and it would be helpful that you send us the output of the broken check_ping plugin when you add the "-vvv" parameter to it. Thanks, Thomas On 26/04/07 05:40 AM, Jorg.Schulz at systeam.se wrote: > > Hi It?s a bug in nagios-plugin 1.4.8 > > Fix with vi the config.h in the nagios-plugin.1.4.8/ > Search for #define PING_COMMAND and > Change it to > #define PING_COMMAND "/bin/ping -t %u -c %u %s" > > Works fine > > Cheers > > /J?rg > -----Ursprungligt meddelande----- > Fr?n: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] F?r kyle at serv.co.za > Skickat: den 26 april 2007 09:21 > Till: nagios-users at lists.sourceforge.net > ?mne: [Nagios-users] check_ping > > Hi Guys, > > Having some issues with check_ping, get the following error. > > nagioss at office1# ./check_ping -H localhost -w 1000,10% -c 2000,20% -p 1 > CRITICAL - You need more args!!! > could not open pipe: > > Any one know what might be wrong ? > > Regards, > Kyle Vorster ------------------------------------------------------------------------- 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 carlo.piccini at katamail.com Fri Apr 27 13:06:04 2007 From: carlo.piccini at katamail.com (Carlo Piccini) Date: Fri, 27 Apr 2007 13:06:04 +0200 Subject: Nagios Looking Glass - Authentication Message-ID: <001001c788bc$0eb858a0$8c6313d4@retesesa.it> I have a question about configuration: I use authentication in nagios web interface, and I use authenticated contacts to give access to only certain hosts/services to users. Example: User johndoe is a contact for server1 and server3 User foobar is a contact for server2 In nagios web interface user johndoe can only access services residing on server1 and server3, while user foobar only sees server2. I expected this to be true for NLG too, but I found that using $ServerFeed_AuthEnabled = 1 and indicating the user/password in the config files, gives user johndoe access to server1, server2, server3. The same apply for user foobar. Am I missing something? Thanks, Carlo Piccini -------------- 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 Aritz.Lazkano at DaimlerChrysler.com Fri Apr 27 13:14:30 2007 From: Aritz.Lazkano at DaimlerChrysler.com (Aritz.Lazkano at DaimlerChrysler.com) Date: Fri, 27 Apr 2007 13:14:30 +0200 Subject: Nagios & SNMP traps Message-ID: Hi friends of Nagios! I?m trying to monitor a service that works with snmp traps. The problem is that i recive the trap in my server, but nagios doesn?t do anything. The service status is "pending", also when the trap arrives into our server the status of the service that works with traps continues "pending". For making this work we follow a manual, we configured snmptrapd , we installed snmptrap translator and the simple event correlator (sec). Then we defined a service on Nagios to handle the traps on it. After that we introduced mib definition. The manual that we followed is this: http://www.samag.com/documents/s=9559/sam0503g/ Which migth be the problem? Any suggestion for monitor the traps? P.D. This problem happened on Nagios 2.7 and on recently upgraded Nagios 3.0a3 -------------- 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 aritz.lazkano at daimlerchrysler.com Fri Apr 27 14:05:16 2007 From: aritz.lazkano at daimlerchrysler.com (aritz.lazkano at daimlerchrysler.com) Date: Fri, 27 Apr 2007 14:05:16 +0200 Subject: 2- Nagios & SNMP traps Message-ID: thanks for answering so fast, my server is a suse linux server. The other server that I've to monitor is an hp that sends previously configured traps. That traps arrived into the server, but nagios does nothing with them. Any other suggest???? Thank u!! Aritz -------------- 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 Fri Apr 27 15:56:56 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 27 Apr 2007 09:56:56 -0400 Subject: Nagios & SNMP traps 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 Aritz.Lazkano at DaimlerChrysler.com > Sent: Friday, April 27, 2007 4:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios & SNMP traps > > I?m trying to monitor a service that works with snmp traps. > The problem is that i recive the trap in my server, but > nagios doesn?t do anything. > The service status is "pending", also when the trap arrives > into our server the status of the service that works with > traps continues "pending". There are a lot of things that could be broken here, and not enough information to tell you which one. Check your logs to make sure snmptt is getting the traps, and make sure that the trap(s) you're receiving are defined in its configs. If they are, verify that the EXEC command in the snmptt config is valid, and that it updates the status in Nagios if you run it manually. Do you ever see the result submitted to Nagios in the Nagios logs? If you do, check for errors in the command it's receiving. If you don't, your problem is farther back in the chain, with snmptt or snmptrapd. ------------------------------------------------------------------------- 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 lflacayo at cps.k12.il.us Fri Apr 27 15:57:17 2007 From: lflacayo at cps.k12.il.us (Lacayo, Luis F) Date: Fri, 27 Apr 2007 08:57:17 -0500 Subject: Alternate Email address. In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C6213460C@mail2.sd.defenseweb.net> References: <6F11F0B85CE3C841A4C78C8F364C1C6213460C@mail2.sd.defenseweb.net> Message-ID: HI All, I was wondering if itwould be possible to have nagios send a message to TWO (2) different email addresses for the same contact. I remember reading about email2 to email6 but I can's seem to find how this is accomplished. Any help is greatly appriciated. Thanks Luis ------------------------------------------------------------------------- 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 Fri Apr 27 16:08:52 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Fri, 27 Apr 2007 10:08:52 -0400 Subject: HP Printer Message-ID: I've got a few HP printers I want to monitor. I'm particularly interested in knowing when they are out of paper, and when their toner is running low. I've done some research and can't seem to find any good place with the OID's that I need. Can anyone point me in the right direction? Thanks. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4020 bytes Desc: image001.jpg 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 Fri Apr 27 16:14:51 2007 From: marc at ena.com (Marc Powell) Date: Fri, 27 Apr 2007 09:14:51 -0500 Subject: Nagios & SNMP traps 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 > Aritz.Lazkano at DaimlerChrysler.com > Sent: Friday, April 27, 2007 6:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios & SNMP traps > > > Hi friends of Nagios! > > I?m trying to monitor a service that works with snmp traps. The problem is > that i recive the trap in my server, but nagios doesn?t do anything. > The service status is "pending", also when the trap arrives into our > server the status of the service that works with traps continues > "pending". > For making this work we follow a manual, we configured snmptrapd , we > installed snmptrap translator and the simple event correlator (sec). > Then we defined a service on Nagios to handle the traps on it. After that > we introduced mib definition. The manual that we followed is this: > > http://www.samag.com/documents/s=9559/sam0503g/ > > > Which migth be the problem? Nagios is likely to be complaining in nagios.log. What do you see there? Possible problems -- Nagios isn't checking external commands. Nagios isn't accepting passive checks. Your script isn't writing to the correct nagios.cmd. Your script doesn't have permission to write to nagios.cmd. The service definition isn't configured for passive checks. The host name/service description being submitted don't match a known host/service combination. -- 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 mark.frost1 at pepsi.com Fri Apr 27 16:16:25 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 27 Apr 2007 10:16:25 -0400 Subject: Alternate Email address. In-Reply-To: References: Message-ID: <7F477BD26F545A4C8E4779754A38EFB301358F5C@PEPWMV00043.corp.pep.pvt> Luis, We do this by just listing more than one address for the "email" attribute of a contact. For instance, define contact { ... email foo at bar.com, blaz at biff.com, boot at abc.com } I have several contacts that generate mail to several addresses just fine. FYI. mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lacayo, Luis F Sent: Friday, April 27, 2007 9:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Alternate Email address. HI All, I was wondering if itwould be possible to have nagios send a message to TWO (2) different email addresses for the same contact. I remember reading about email2 to email6 but I can's seem to find how this is accomplished. Any help is greatly appriciated. Thanks Luis ------------------------------------------------------------------------ - 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 af.at.work at gmail.com Fri Apr 27 16:19:35 2007 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Fri, 27 Apr 2007 10:19:35 -0400 Subject: NSClient Message-ID: I've got the NSClient setup on a Windows 2003 Server, and Nagios shows it as up but all the services it's checking report back as critical "connection refused". 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 From patrick.morris at hp.com Fri Apr 27 16:18:00 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 27 Apr 2007 10:18:00 -0400 Subject: HP Printer In-Reply-To: References: Message-ID: > I've got a few HP printers I want to monitor. I'm > particularly interested in knowing when they are out of > paper, and when their toner is running low. I've done some > research and can't seem to find any good place with the OID's > that I need. Can anyone point me in the right direction? Thanks. The check_hpjd plugin should do that for 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 stava at telcotec.se Fri Apr 27 16:18:52 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 27 Apr 2007 16:18:52 +0200 Subject: HP Printer In-Reply-To: References: Message-ID: <4632064C.7030204@telcotec.se> Valdinger, Stephen (DOV, MSX) wrote: > I've got a few HP printers I want to monitor. I'm particularly > interested in knowing when they are out of paper, and when their toner > is running low. I've done some research and can't seem to find any good > place with the OID's that I need. Can anyone point me in the right > direction? Thanks. check_hpjd from nagios-plugins might do the job for you. /Lars Stavholm ------------------------------------------------------------------------- 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 Fri Apr 27 16:20:50 2007 From: marc at ena.com (Marc Powell) Date: Fri, 27 Apr 2007 09:20:50 -0500 Subject: Alternate Email address. 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 Lacayo, Luis F > Sent: Friday, April 27, 2007 8:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Alternate Email address. > > HI All, > > I was wondering if itwould be possible to have nagios send a message to > TWO (2) different email addresses for the same contact. I remember > reading about email2 to email6 but I can's seem to find how this is > accomplished. Any help is greatly appriciated. If you're using /bin/mail(x) as your notification command you can just specify a comma separated list of e-mail addresses since it accepts that format. define contact{ contact_name somename alias Multi-Contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands service-notify-by-email host_notification_commands host-notify-by-email email address1 at domain.foo,address2 at domain.foo,... } -- 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 stephen.valdinger at doverchem.com Fri Apr 27 16:23:05 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Fri, 27 Apr 2007 10:23:05 -0400 Subject: NSClient Message-ID: You may have a SNMP version issue. Specify -v 2 in your command definition file and see if that helps. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] Sent: Friday, April 27, 2007 10:20 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient I've got the NSClient setup on a Windows 2003 Server, and Nagios shows it as up but all the services it's checking report back as critical "connection refused". 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 ------------------------------------------------------------------------- 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 Fri Apr 27 16:24:30 2007 From: m.borsani at it.net (Marco Borsani) Date: Fri, 27 Apr 2007 16:24:30 +0200 Subject: R: NSClient In-Reply-To: References: Message-ID: <017c01c788d7$c5550ca0$0900d40a@intranet.it.net> Could be due to a firewall between client and server, or one of them could not find the "path" to reach the other. -----Messaggio originale----- Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di af.at.work at gmail.com Inviato: venerd? 27 aprile 2007 16.20 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] NSClient I've got the NSClient setup on a Windows 2003 Server, and Nagios shows it as up but all the services it's checking report back as critical "connection refused". 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 ------------------------------------------------------------------------- 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 Fri Apr 27 16:25:07 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Fri, 27 Apr 2007 10:25:07 -0400 Subject: HP Printer Message-ID: I am using the check_hpjd plugin, but I just have it configured to monitor the printer. I do not have any OID's defined in the command. Does the plug-in do this automatically? Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Friday, April 27, 2007 10:18 AM To: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Printer > I've got a few HP printers I want to monitor. I'm > particularly interested in knowing when they are out of > paper, and when their toner is running low. I've done some > research and can't seem to find any good place with the OID's > that I need. Can anyone point me in the right direction? Thanks. The check_hpjd plugin should do that for 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 af.at.work at gmail.com Fri Apr 27 16:34:59 2007 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Fri, 27 Apr 2007 10:34:59 -0400 Subject: NSClient In-Reply-To: References: Message-ID: # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -v 2 } On 4/27/07, Valdinger, Stephen (DOV, MSX) wrote: > > You may have a SNMP version issue. Specify -v 2 in your command > definition file and see if that helps. > > > > > > > > Stephen Valdinger > MIS Helpdesk Coordinator > Dover Chemical Corporation > 3676 Davis Rd NW > Dover, OH 44622 > 330-365-3622 > stephen.valdinger at doverchem.com > > > > Your day probably won't get as bad as this guys...... > -----Original Message----- > From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] > Sent: Friday, April 27, 2007 10:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSClient > > I've got the NSClient setup on a Windows 2003 Server, and Nagios shows > it as up but all the services it's checking report back as critical > "connection refused". > > 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 > > -------------- 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 Fri Apr 27 16:36:40 2007 From: misch at multinet.de (Michael Schwartzkopff) Date: Fri, 27 Apr 2007 16:36:40 +0200 Subject: HP Printer In-Reply-To: References: Message-ID: <200704271636.40973.misch@multinet.de> Am Freitag, 27. April 2007 16:08 schrieb Valdinger, Stephen (DOV, MSX): > I've got a few HP printers I want to monitor. I'm particularly > interested in knowing when they are out of paper, and when their toner > is running low. I've done some research and can't seem to find any good > place with the OID's that I need. Can anyone point me in the right > direction? Thanks. gdStatusPaperState.0 OID: 1.3.6.1.4.1.11.2.3.9.1.1.2.2.0 gdStatusPaperState OBJECT-TYPE SYNTAX INTEGER (0..255) ACCESS read-only STATUS optional DESCRIPTION "This describes the state of the paper on the peripheral. When non-zero, the peripheral has a paper problem. When zero, the peripheral does not have a paper problem." ::={ gdStatusEntry 2 } Get the jetdirekt MIB from http://www.wtcs.org/snmp4tpc/mibs.htm#HP -- 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 ahh at inbodan.dk Fri Apr 27 17:13:19 2007 From: ahh at inbodan.dk (Allan Holdt Hansen INBODAN) Date: Fri, 27 Apr 2007 17:13:19 +0200 Subject: NSClient In-Reply-To: References: Message-ID: <2F04E1B72633234494667B5DB0B8B8172DC7FB@TULKAS.inbodan.dk> NSClient does not speak SNMP. If you want to perform checks using SNMP, install/configure Windows SNMP service. To perform checks using NSClient you use check_nt og perhaps check_nrpe if using nsclient++ /Allan Fra: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] P? vegne af af.at.work at gmail.com Sendt: 27. april 2007 16:35 Til: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Emne: Re: [Nagios-users] NSClient # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -v 2 } On 4/27/07, Valdinger, Stephen (DOV, MSX) wrote: You may have a SNMP version issue. Specify -v 2 in your command definition file and see if that helps. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] Sent: Friday, April 27, 2007 10:20 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient I've got the NSClient setup on a Windows 2003 Server, and Nagios shows it as up but all the services it's checking report back as critical "connection refused". 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 -------------- 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 af.at.work at gmail.com Fri Apr 27 17:16:43 2007 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Fri, 27 Apr 2007 11:16:43 -0400 Subject: NSClient In-Reply-To: <2F04E1B72633234494667B5DB0B8B8172DC7FB@TULKAS.inbodan.dk> References: <2F04E1B72633234494667B5DB0B8B8172DC7FB@TULKAS.inbodan.dk> Message-ID: Ah, I just saw there are two apps - I am using nsclient++ On 4/27/07, Allan Holdt Hansen INBODAN wrote: > > NSClient does not speak SNMP. > > > > If you want to perform checks using SNMP, install/configure Windows SNMP > service. > > To perform checks using NSClient you use check_nt og perhaps check_nrpe > if using nsclient++ > > > > /Allan > > > > *Fra:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *P? vegne af * > af.at.work at gmail.com > *Sendt:* 27. april 2007 16:35 > *Til:* Valdinger, Stephen (DOV, MSX) > *Cc:* nagios-users at lists.sourceforge.net > *Emne:* Re: [Nagios-users] NSClient > > > > > # 'check_snmp' command definition > define command{ > command_name check_snmp > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -v 2 > } > > On 4/27/07, *Valdinger, Stephen (DOV, MSX)* < > stephen.valdinger at doverchem.com> wrote: > > You may have a SNMP version issue. Specify -v 2 in your command > definition file and see if that helps. > > > > > > > > Stephen Valdinger > MIS Helpdesk Coordinator > Dover Chemical Corporation > 3676 Davis Rd NW > Dover, OH 44622 > 330-365-3622 > stephen.valdinger at doverchem.com > > > > Your day probably won't get as bad as this guys...... > -----Original Message----- > From: af.at.work at gmail.com [mailto:af.at.work at gmail.com] > Sent: Friday, April 27, 2007 10:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSClient > > I've got the NSClient setup on a Windows 2003 Server, and Nagios shows > it as up but all the services it's checking report back as critical > "connection refused". > > 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 > > > -------------- 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 af.at.work at gmail.com Fri Apr 27 17:19:10 2007 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Fri, 27 Apr 2007 11:19:10 -0400 Subject: NSClient In-Reply-To: References: <2F04E1B72633234494667B5DB0B8B8172DC7FB@TULKAS.inbodan.dk> Message-ID: I have installed & configured SNMP... I still get: Current Status: CRITICAL (for 0d 0h 13m 41s) Status Information:Connection refused could not fetch information from server On 4/27/07, af.at.work at gmail.com wrote: > > Ah, I just saw there are two apps - I am using nsclient++ > > On 4/27/07, Allan Holdt Hansen INBODAN wrote: > > > > NSClient does not speak SNMP. > > > > > > > > If you want to perform checks using SNMP, install/configure Windows SNMP > > service. > > > > To perform checks using NSClient you use check_nt og perhaps check_nrpe > > if using nsclient++ > > > > > > > > /Allan > > > > > > > > *Fra:* nagios-users-bounces at lists.sourceforge.net [mailto: > > nagios-users-bounces at lists.sourceforge.net] *P? vegne af *af.at.work at gmail.com > > *Sendt:* 27. april 2007 16:35 > > *Til:* Valdinger, Stephen (DOV, MSX) > > *Cc:* nagios-users at lists.sourceforge.net > > *Emne:* Re: [Nagios-users] NSClient > > > > > > > > > > # 'check_snmp' command definition > > define command{ > > command_name check_snmp > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -v 2 > > } > > > > On 4/27/07, *Valdinger, Stephen (DOV, MSX)* < > > stephen.valdinger at doverchem.com> wrote: > > > > You may have a SNMP version issue. Specify -v 2 in your command > > definition file and see if that helps. > > > > > > > > > > > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > Dover Chemical Corporation > > 3676 Davis Rd NW > > Dover, OH 44622 > > 330-365-3622 > > stephen.valdinger at doverchem.com > > > > > > > > Your day probably won't get as bad as this guys...... > > -----Original Message----- > > From: af.at.work at gmail.com [mailto: af.at.work at gmail.com] > > Sent: Friday, April 27, 2007 10:20 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NSClient > > > > I've got the NSClient setup on a Windows 2003 Server, and Nagios shows > > it as up but all the services it's checking report back as critical > > "connection refused". > > > > 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 > > > > > > > > -------------- 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 Fri Apr 27 17:36:43 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 27 Apr 2007 11:36:43 -0400 Subject: NSClient In-Reply-To: References: Message-ID: If it is a new install of NSClient++ or for that mater most of the window plugins including NC_NET, the older NSClient or NRPE: SInce you are getting a Connection refused the issue is most likely 1) the Client is not running, (NSCLIENT is not running) check the processes on the Windows server to verify. 2) the port is in use by a different program, sometimes other apps grab hold of the default port 3) your Windows Server Firewall(or antivirus) was not configured to allow NSClient to accept incomming connections (Most likely cause of the problem) 4) you setup NSClient to use one port but check_Nt is trying to comunicate on a different port. (this is posible, verify configuration and test using check_Nt from command line) I do not know how much error reporting NS_Client does but you can also check the Windows Event Log tony author of NC_NEt. On 4/27/07, af.at.work at gmail.com wrote: > > I've got the NSClient setup on a Windows 2003 Server, and Nagios shows > it as up but all the services it's checking report back as critical > "connection refused". > > 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 > -------------- 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 anthony at onetruemedia.com Fri Apr 27 18:49:34 2007 From: anthony at onetruemedia.com (Anthony Mendoza) Date: Fri, 27 Apr 2007 09:49:34 -0700 Subject: Weird State Issue Message-ID: <4632299E.8090707@onetruemedia.com> My nagios install has just gone into a weird state. I lost some files from my /var/log/nagios directory due to running out of disk space... In any case, now my service checks or status is in some weird state. For instance...I just received notification that 3 of my services are at their max attempts..I verify this on the Service Problems page...they show 3/3 attempts. I click on the service to Acknolwedge and this next frame shows 1/3 attempts.. I know this isn't a cache issue because I've turned it off and I've tried holding down Control when I reload. I see this behavior right now in both IE and Firefox. Anybody know how I can reset the state of my Nagios install so it isn't in this wacked out state? At this point I don't care about any history I might lose...I just need the checks / notifications to get back into a sane state.. Thanks, -Anthony ------------------------------------------------------------------------- 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 Fri Apr 27 19:31:43 2007 From: marc at ena.com (Marc Powell) Date: Fri, 27 Apr 2007 12:31:43 -0500 Subject: Weird State Issue In-Reply-To: <4632299E.8090707@onetruemedia.com> References: <4632299E.8090707@onetruemedia.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Anthony Mendoza > Sent: Friday, April 27, 2007 11:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Weird State Issue > > My nagios install has just gone into a weird state. I lost some files > from my /var/log/nagios directory due to running out of disk space... > In any case, now my service checks or status is in some weird state. Sounds like you have multiple nagios processes running. -- 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 anthony at onetruemedia.com Fri Apr 27 19:33:12 2007 From: anthony at onetruemedia.com (Anthony Mendoza) Date: Fri, 27 Apr 2007 10:33:12 -0700 Subject: Weird State Issue In-Reply-To: References: Message-ID: <463233D8.9060903@onetruemedia.com> Well all be darned...that was it.. thanks much for your help! I didn't even think of checking for that..live and learn i suppose.. thanks again for your quick response! On 4/27/2007 10:31 AM, Marc Powell had said: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Anthony Mendoza >> Sent: Friday, April 27, 2007 11:50 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Weird State Issue >> >> My nagios install has just gone into a weird state. I lost some files >> from my /var/log/nagios directory due to running out of disk space... >> In any case, now my service checks or status is in some weird state. >> > > Sounds like you have multiple nagios processes running. > > -- > 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 Fri Apr 27 21:29:49 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Fri, 27 Apr 2007 15:29:49 -0400 Subject: Email notifications Message-ID: Has anyone had success getting nagios to send email thru an exchange server? If so, how did you do so? Any help or links to documentation would be helpful! Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4020 bytes Desc: image001.jpg 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 jpratt at norwich.edu Fri Apr 27 21:46:38 2007 From: jpratt at norwich.edu (James E. Pratt) Date: Fri, 27 Apr 2007 15:46:38 -0400 Subject: Email notifications In-Reply-To: References: Message-ID: I would just make the exchange server a smarthost on the local nagios' sendmail.cf file ... (Not sure how to "bypass" the local mailer?) Regards jamie -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Valdinger, Stephen (DOV, MSX) Sent: Friday, April 27, 2007 3:30 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Email notifications Has anyone had success getting nagios to send email thru an exchange server? If so, how did you do so? Any help or links to documentation would be helpful! Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... ------------------------------------------------------------------------- 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 anthony at onetruemedia.com Fri Apr 27 21:58:16 2007 From: anthony at onetruemedia.com (Anthony Mendoza) Date: Fri, 27 Apr 2007 12:58:16 -0700 Subject: Email notifications In-Reply-To: References: Message-ID: <463255D8.5040808@onetruemedia.com> Not a Nagios specific question, but you want to edit /etc/mail/submit.mc Change this: FEATURE(`msp', `[127.0.0.1]')dnl To whathever the IP is on your Exchange box or edit /etc/mail/submit.cf and change D{MTAHost}[127.0.0.1] to the appropriate IP. If you still want to keep the sendmail daemon running and don't want to edit submit.mc or submit.cf then modify sendmail.mc instead: dnl define(`SMART_HOST',`smtp.your.provider') and change it to define(`SMART_HOST',`IP of your exchange server') and recompile with m4.. m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf -- Anthony Mendoza / Director, IT / w: 650-249-5111 / c: 310-594-3222 On 4/27/2007 12:46 PM, James E. Pratt had said: > I would just make the exchange server a smarthost on the local nagios' > sendmail.cf file ... (Not sure how to "bypass" the local mailer?) > > Regards > jamie > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > Valdinger, Stephen (DOV, MSX) > Sent: Friday, April 27, 2007 3:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Email notifications > > Has anyone had success getting nagios to send email thru an exchange > server? If so, how did you do so? Any help or links to documentation > would be helpful! > > > > > > > > > > > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > Dover Chemical Corporation > > 3676 Davis Rd NW > > Dover, OH 44622 > > 330-365-3622 > > stephen.valdinger at doverchem.com > > > > > > > > Your day probably won't get as bad as this guys...... > > > > > ------------------------------------------------------------------------- > 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 Navdeep.Sidhu at tatatel.co.in Sat Apr 28 08:19:18 2007 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Sat, 28 Apr 2007 11:49:18 +0530 Subject: Capture application wise bandwidth through Nagios In-Reply-To: References: Message-ID: <745C9242AACB2D468091BC33BFD668D002D155C8@pb-chd-mbx01.pjb.ttsl.com> Hi I've implemented NetFlow on my routers & L3 Switches. Is there any nagios plugin available to show application wise bandwidth status i.e. which application is consuming how much bandwidth? Regards Navdeep Singh Sidhu ====================================== 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 hvdkooij at vanderkooij.org Sat Apr 28 10:22:25 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 28 Apr 2007 10:22:25 +0200 (CEST) Subject: Capture application wise bandwidth through Nagios In-Reply-To: <745C9242AACB2D468091BC33BFD668D002D155C8@pb-chd-mbx01.pjb.ttsl.com> References: <745C9242AACB2D468091BC33BFD668D002D155C8@pb-chd-mbx01.pjb.ttsl.com> Message-ID: On Sat, 28 Apr 2007, Navdeep Sidhu wrote: > I've implemented NetFlow on my routers & L3 Switches. > > Is there any nagios plugin available to show application wise bandwidth > status i.e. which application is consuming how much bandwidth? No. Nagios only cares up to a trinary stage. That is it it either OK, there is a warning or there is a critical error. (I skipped the other states on pupose here ;-) It looks like you want to play with cacti. Or others tools of the graphing type. 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 andy.shellam-lists at mailnetwork.co.uk Sat Apr 28 12:45:52 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sat, 28 Apr 2007 11:45:52 +0100 Subject: Nagios Looking Glass - Authentication In-Reply-To: <001001c788bc$0eb858a0$8c6313d4@retesesa.it> References: <001001c788bc$0eb858a0$8c6313d4@retesesa.it> Message-ID: <463325E0.5020200@mailnetwork.co.uk> No you're not missing anything. NLG and Nagios authentication are two completely different things. NLG was originally designed as a public facing service for ISPs to provide a "self-help" website where their customers could check on their network status, or for IT departments to show the rest of their business departments the state of the network, so it didn't make sense to have any sort of security model in place. However since it's release it's become apparent that Nagios admins would like to restrict users to only see certain hosts/groups of hosts, so this is being built into the next major release of NLG (anticipated in 4-6 months time.) The authentication option in Nagios Looking Glass is only required to be set if the polling script (server/s3_poller.php) sits behind a .htaccess-protected directory (recommended.) Andy. Carlo Piccini wrote: > > I have a question about configuration: > > I use authentication in nagios web interface, and I use authenticated > contacts to give access to only certain hosts/services to users. > > > > Example: > > > > User johndoe is a contact for server1 and server3 > > User foobar is a contact for server2 > > > > In nagios web interface user johndoe can only access services residing > on server1 and server3, while user foobar only sees server2. > > I expected this to be true for NLG too, but I found that using > $ServerFeed_AuthEnabled = 1 and indicating the user/password in the > config files, gives user johndoe access to server1, server2, server3. > > The same apply for user foobar. > > > > Am I missing something? > > Thanks, > > Carlo Piccini > > !DSPAM:37,4631d94689292060128473! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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/ > > !DSPAM:37,4631d94689292060128473! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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,4631d94689292060128473! > ------------------------------------------------------------------------- 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 rainer at ultra-secure.de Sat Apr 28 19:12:02 2007 From: rainer at ultra-secure.de (Rainer Duffner) Date: Sat, 28 Apr 2007 19:12:02 +0200 Subject: Plugin for HP Proliant Hardware Health Monitoring In-Reply-To: References: Message-ID: Am 27.04.2007 um 10:12 schrieb joe.stringfellow at liverpool.com: > > Hi Rainer, > > Thank you very much for your reply. I have the CD's here somewhere > for Insight Manager and will have a look to find the MIBS for the > particular hardware. (never thought to look on the CD's). > Downloading an SNMP browser from the internet should be easy enough. > When I manage to find some free time I'll investigate further and > let the list know how I got on. > > Once again, thanks for your input. > Technically, the plugins don't need the MIBs. They are just "nice to have" - and you can get a good idea for more things to monitor. You can also use them in cacti etc. I don't know where I took the MIBs from. Maybe you've got to fetch them from an actual install. cheers, Rainer ------------------------------------------------------------------------- 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 Mon Apr 30 06:30:59 2007 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Mon, 30 Apr 2007 10:00:59 +0530 Subject: Nagios-users Digest, Vol 11, Issue 41 In-Reply-To: References: Message-ID: <745C9242AACB2D468091BC33BFD668D002D15CEA@pb-chd-mbx01.pjb.ttsl.com> Hi Thanks Hugo for your reply. I have already installed PNP for graphical output. But my main objective is to capture bandwidth utilization. Is there any way out to do this..??? Regards Navdeep Singh Sidhu +91-9216709251 Today's Topics: 1. Email notifications (Valdinger, Stephen (DOV, MSX)) 2. Re: Email notifications (James E. Pratt) 3. Re: Email notifications (Anthony Mendoza) 4. Capture application wise bandwidth through Nagios (Navdeep Sidhu) 5. Re: Capture application wise bandwidth through Nagios (Hugo van der Kooij) 6. Re: Nagios Looking Glass - Authentication (Andy Shellam) 7. Re: Plugin for HP Proliant Hardware Health Monitoring (Rainer Duffner) Message: 4 Date: Sat, 28 Apr 2007 11:49:18 +0530 From: "Navdeep Sidhu" Subject: [Nagios-users] Capture application wise bandwidth through Nagios To: Message-ID: <745C9242AACB2D468091BC33BFD668D002D155C8 at pb-chd-mbx01.pjb.ttsl.com> Content-Type: text/plain; charset="us-ascii" Hi I've implemented NetFlow on my routers & L3 Switches. Is there any nagios plugin available to show application wise bandwidth status i.e. which application is consuming how much bandwidth? Regards Navdeep Singh Sidhu ====================================== 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: 5 Date: Sat, 28 Apr 2007 10:22:25 +0200 (CEST) From: Hugo van der Kooij Subject: Re: [Nagios-users] Capture application wise bandwidth through Nagios To: Nagios Users mailinglist Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Sat, 28 Apr 2007, Navdeep Sidhu wrote: > I've implemented NetFlow on my routers & L3 Switches. > > Is there any nagios plugin available to show application wise bandwidth > status i.e. which application is consuming how much bandwidth? No. Nagios only cares up to a trinary stage. That is it it either OK, there is a warning or there is a critical error. (I skipped the other states on pupose here ;-) It looks like you want to play with cacti. Or others tools of the graphing type. 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.) ------------------------------ ******************* ====================================== 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 hvdkooij at vanderkooij.org Mon Apr 30 08:59:45 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 30 Apr 2007 08:59:45 +0200 (CEST) Subject: Nagios-users Digest, Vol 11, Issue 41 In-Reply-To: <745C9242AACB2D468091BC33BFD668D002D15CEA@pb-chd-mbx01.pjb.ttsl.com> References: <745C9242AACB2D468091BC33BFD668D002D15CEA@pb-chd-mbx01.pjb.ttsl.com> Message-ID: On Mon, 30 Apr 2007, Navdeep Sidhu wrote: > I have already installed PNP for graphical output. Just to be sure you meant PHP here? > But my main objective is to capture bandwidth utilization. > > Is there any way out to do this..??? Go for Cacti. I installed in the time it took me to eat two sandwiches during lunchbreak. And NEVER use these lame digests to respond. If you can not seperate the messages inside a digest to respond to you should not be using a digest. 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 sujith.linux at gmail.com Mon Apr 30 10:17:23 2007 From: sujith.linux at gmail.com (sujith h) Date: Mon, 30 Apr 2007 13:47:23 +0530 Subject: Monitor host Message-ID: Hi, My name is Sujith. I have a small problem with Nagios. I had installed nagios in a router. And then I am trying to monitor a few machines. Now the problem is that if I monitor both host and services of the clients it seems to be Ok. But if I would like to monitor host only and no services(of client machines) the problem arises. The problem is that in the nagios page it shows "host check not yet done" for the client hosts. And it remains like that for ever. Is there any way to monitor the client hosts and not its services. I am using check_ping as the plugin to check whether the client host is up or not!! Cheers Sujith Haridasan -- ?????? ??????? -------------- 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 Mon Apr 30 10:32:47 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 30 Apr 2007 10:32:47 +0200 (CEST) Subject: Monitor host In-Reply-To: References: Message-ID: On Mon, 30 Apr 2007, sujith h wrote: > I had installed nagios in a router. And then I am trying > to monitor a few machines. Now the problem is that > if I monitor both host and services of the clients it seems > to be Ok. But if I would like to monitor host only > and no services(of client machines) the problem arises. This is a known design issue in Nagios 1.x and 2.x It is somewhat better with 3.x but the fast suggestion is you always define a service for a host. 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 philc at foundation-it.com Mon Apr 30 10:40:42 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 30 Apr 2007 09:40:42 +0100 Subject: Nagios-users Digest, Vol 11, Issue 41 In-Reply-To: References: <745C9242AACB2D468091BC33BFD668D002D15CEA@pb-chd-mbx01.pjb.ttsl.com> Message-ID: Hugo van der Kooij wrote: > On Mon, 30 Apr 2007, Navdeep Sidhu wrote: > >> I have already installed PNP for graphical output. > > Just to be sure you meant PHP here? http://www.ederdrom.de/doku.php/nagios/pnp_en -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- 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 sujith.linux at gmail.com Mon Apr 30 10:45:38 2007 From: sujith.linux at gmail.com (sujith h) Date: Mon, 30 Apr 2007 14:15:38 +0530 Subject: Monitor host In-Reply-To: References: Message-ID: Hi Hugo, > > > This is a known design issue in Nagios 1.x and 2.x > It is somewhat better with 3.x but the fast suggestion is you always > define a service for a host. Hey thanks for your reply. Well I am using 2.0 nagios. So in this version I cannnot monitor a client host alone?? cheer's, Sujith Haridasan -- ?????? ??????? -------------- 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 Mon Apr 30 11:51:11 2007 From: marc at ena.com (Marc Powell) Date: Mon, 30 Apr 2007 04:51:11 -0500 Subject: Monitor host 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 sujith h > Sent: Monday, April 30, 2007 3:46 AM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] Monitor host > > > > Hi Hugo, > > > This is a known design issue in Nagios 1.x and 2.x > It is somewhat better with 3.x but the fast suggestion is you always > define a service for a host. > > > Hey thanks for your reply. Well I am using 2.0 nagios. > So in this version I cannnot monitor a client host alone?? Nagios is a service monitoring program. Every host must have at least one service defined. If the device you're monitoring offers no other interesting services than ICMP then you must define a check_ping service for it if you wish it to be monitored regularly. -- 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 Mon Apr 30 13:24:32 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 30 Apr 2007 12:24:32 +0100 Subject: Nagios-users Digest, Vol 11, Issue 41 In-Reply-To: References: <745C9242AACB2D468091BC33BFD668D002D15CEA@pb-chd-mbx01.pjb.ttsl.com> Message-ID: <765d77c80704300424p4f996343ya992867ec951eba9@mail.gmail.com> On 30/04/07, Phil Costelloe wrote: > Hugo van der Kooij wrote: > > On Mon, 30 Apr 2007, Navdeep Sidhu wrote: > > > >> I have already installed PNP for graphical output. > > > > Just to be sure you meant PHP here? > > http://www.ederdrom.de/doku.php/nagios/pnp_en You can use PNP to graph pretty much anything from Nagios. So long as the plugin produces performance information and you have process_perf_data set to 1, PNP will usually graph it no problem. There was an announcement recently that the Nagios snmp plugins have been improved to provide performance information. See http://nagios.manubulon.com/ I confess I haven't tried these latest plugins yet, but I intend to soon. 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 stephen.valdinger at doverchem.com Mon Apr 30 18:43:29 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Mon, 30 Apr 2007 12:43:29 -0400 Subject: Email notification Message-ID: Has anyone had any success with using postfix and nagios? How did it go, and can you point me to any documentation? Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4020 bytes Desc: image001.jpg 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 Mon Apr 30 19:36:35 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 30 Apr 2007 13:36:35 -0400 Subject: Email notification 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 Valdinger, Stephen (DOV, MSX) > Sent: Monday, April 30, 2007 9:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Email notification > > Has anyone had any success with using postfix and nagios? How > did it go, and can you point me to any documentation? In what way? Do you want to monitor Postfix, or send notifications with it? It works fine either way. ------------------------------------------------------------------------- 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 30 19:39:41 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Mon, 30 Apr 2007 13:39:41 -0400 Subject: Email notification Message-ID: I want to send notifications with it. I've got it configured, and I sent a test email that worked to the email address that will be receiving the nagios alerts, now I just need to know how to make nagios work with it. On my Ubuntu machine it is installed by default to /etc/postfix. Thanks. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Monday, April 30, 2007 1:37 PM To: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Email notification > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Valdinger, Stephen (DOV, MSX) > Sent: Monday, April 30, 2007 9:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Email notification > > Has anyone had any success with using postfix and nagios? How > did it go, and can you point me to any documentation? In what way? Do you want to monitor Postfix, or send notifications with it? It works fine either way. ------------------------------------------------------------------------- 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 30 20:57:45 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 30 Apr 2007 14:57:45 -0400 Subject: Email notification In-Reply-To: References: Message-ID: > From: Valdinger, Stephen (DOV, MSX) > [mailto:stephen.valdinger at doverchem.com] > Sent: Monday, April 30, 2007 10:40 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Email notification > > I want to send notifications with it. I've got it configured, > and I sent a test email that worked to the email address that > will be receiving the nagios alerts, now I just need to know > how to make nagios work with it. > > On my Ubuntu machine it is installed by default to /etc/postfix. If that's the case, then the default notification commands from the example configs should work fine. Assuming Postfix is correctly configured to send mail from local accounts, there's no real difference between using it as your MTA versus with any other. ------------------------------------------------------------------------- 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 30 21:01:12 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Mon, 30 Apr 2007 15:01:12 -0400 Subject: Email notification Message-ID: I'm noticing this the more I work on it. I can get it to send emails out just testing, but my nagios configuration won't send them out. I've defined /usr/sbin/postfix inside commands.cfg instead of the default ...../printf thing that was in there. Should I have not done that? Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Monday, April 30, 2007 2:58 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Email notification > From: Valdinger, Stephen (DOV, MSX) > [mailto:stephen.valdinger at doverchem.com] > Sent: Monday, April 30, 2007 10:40 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Email notification > > I want to send notifications with it. I've got it configured, > and I sent a test email that worked to the email address that > will be receiving the nagios alerts, now I just need to know > how to make nagios work with it. > > On my Ubuntu machine it is installed by default to /etc/postfix. If that's the case, then the default notification commands from the example configs should work fine. Assuming Postfix is correctly configured to send mail from local accounts, there's no real difference between using it as your MTA versus with any other. ------------------------------------------------------------------------- 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 npietrangelo at jewels.com Mon Apr 30 21:05:28 2007 From: npietrangelo at jewels.com (Pietrangelo, Nicholas) Date: Mon, 30 Apr 2007 15:05:28 -0400 Subject: Nagiosgraph: RRDsdoesn'tgenerateanewdatabase In-Reply-To: References: Message-ID: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2E9F@ex01.jewels.local> A Special thanks to Michael and Glynn in teaching me about Nagios. I misinterrepted the command definition for the process-service-perfdata. # #command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SE RVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATEN CY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\ n" >> /var/log/nagios/service-perfdata.out # command_line /etc/nagios/nagiosgraph-0.8.2/insert.pl "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$|| $SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" # } # ## define command { command_name process-service-perfdata command_line /usr/bin/perl /etc/nagios/nagiosgraph-0.8.2/insert.pl } I believe I am now getting the correct output with only a few errors. What is an illegal attempt? See below. Mon Apr 30 15:02:02 2007 INSERT info: Input servicedescr:Current Users Mon Apr 30 15:02:02 2007 INSERT info: Input output:USERS OK - 2 users currently logged in Mon Apr 30 15:02:02 2007 INSERT debug: Checking /var/adm/logs/nagios/rrd/localhost_Current%20Users_procs.rrd Mon Apr 30 15:02:02 2007 INSERT info: RRDs::update /var/adm/logs/nagios/rrd/localhost_Current%20Users_procs.rrd 1177959662:2:20:50 Mon Apr 30 15:02:02 2007 INSERT error: RRDs::update ERR illegal attempt to update using time 1177959662 when last update time is 1177959662 (minimum one second step) Mon Apr 30 15:02:02 2007 INSERT debug: nagiosgraph exited Mon Apr 30 15:02:02 2007 INSERT error: RRDs::update ERR illegal attempt to update using time 1177959662 when last update time is 1177959662 (minimum one second step) ________________________________ From: Weiner, Michael [mailto:weinerm at ccf.org] Sent: Thursday, April 26, 2007 11:36 AM To: Pietrangelo, Nicholas Subject: RE: [Nagios-users] Nagiosgraph: RRDsdoesn'tgenerateanewdatabase From: Pietrangelo, Nicholas [mailto:npietrangelo at jewels.com] Sent: Thursday, April 26, 2007 11:31 AM To: Weiner, Michael Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn'tgenerateanewdatabase Enabling perfdata? I have: What I meant is, I use nagiosweb for web interface to the config files and was having a similar problem, couldn't get the rrds to go automagically, and what I noticed was that nagiosweb still had perfdata disabled even though I had the same settings as below...so I thought maybe you might be running something else too... process_performance_data=1 ::Is this necessary since ######service_perfdata_command=process-service-perfdata is commented out? (YES) service_perfdata_file=/var/adm/logs/nagios/service-perfdata service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata then, define command { command_name process-service-perfdata command_line /usr/bin/perl /etc/nagios/nagiosgraph-0.8.2/insert.pl "$HOSTNAME$||$SERVICEDESC$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERF DATA$" (these variables aren't necessary here) } ________________________________ From: Weiner, Michael [mailto:weinerm at ccf.org] Sent: Thursday, April 26, 2007 11:26 AM To: Pietrangelo, Nicholas Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn'tgenerateanewdatabase Do y9ou run anything else like nagiosweb perhaps?? Check to ensure that perfdata is actually enabled. I had the trouble of using nagiosweb and it was keeping perfdata disabled even though I had it enabled in nagios.cfg HTH Michael Weiner | Lead Analyst | Lerner Research Institute Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) 445-7454 ________________________________ From: Pietrangelo, Nicholas [mailto:npietrangelo at jewels.com] Sent: Thursday, April 26, 2007 11:19 AM To: Weiner, Michael Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generateanewdatabase I made the changes that you suggested. Still no success. I was able to create the rrd's after manaully running the insert.pl as the nagios user. Then, I had to revert back to my original serviceextinfo.cfg to see the graphs. Now I need to determine how to have this run automagically. Nick P ________________________________ From: Weiner, Michael [mailto:weinerm at ccf.org] Sent: Thursday, April 26, 2007 11:08 AM To: Pietrangelo, Nicholas Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generateanewdatabase Anything in the log and/or perfdata file? Michael Weiner | Lead Analyst | Lerner Research Institute Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) 445-7454 ________________________________ From: Pietrangelo, Nicholas [mailto:npietrangelo at jewels.com] Sent: Thursday, April 26, 2007 10:57 AM To: Weiner, Michael Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generate anewdatabase Well, I made the suggested changes and still nothing in the rrd. @#$%@& ________________________________ From: Weiner, Michael [mailto:weinerm at ccf.org] Sent: Thursday, April 26, 2007 10:36 AM To: Pietrangelo, Nicholas Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generate anewdatabase You're welcome, hope that helps...as for previous work...not sure, I have only been with the clinic for 3 months and before that with AmericanGreetings.com so we may have met there actually Michael Michael Weiner | Lead Analyst | Lerner Research Institute Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 | (216) 445-7454 ________________________________ From: Pietrangelo, Nicholas [mailto:npietrangelo at jewels.com] Sent: Thursday, April 26, 2007 10:30 AM To: Weiner, Michael Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generate a newdatabase Thanks Michael. Did I work with you when I was with VERITAS? Cheers, Nick P. Nicholas J. Pietrangelo Sterling Jewelers Inc. Sr. WebSphere/UNIX/Linux Administrator 330-655-6182 office 440-829-7777 mobile npietrangelo at jewels.com ________________________________ From: Weiner, Michael [mailto:weinerm at ccf.org] Sent: Thursday, April 26, 2007 10:22 AM To: Pietrangelo, Nicholas; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagiosgraph: RRDs doesn't generate a newdatabase Having just been through this, LOL....commented below: 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 Pietrangelo, Nicholas Sent: Thursday, April 26, 2007 9:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagiosgraph: RRDs doesn't generate a new database I have followed all of the instructions from Wolfgang, the INSTALL file from nagiosgraph-0.8.2 and any readme that I can find. The nagiosgraph.log is empty and the directory that I specify for the "rrddir" is empty. If I run the /usr/share/rrdtool/examples/perftest.pl it generates a database. Here is what I have: Nagios.cfg process_performance_data=1 service_perfdata_command=process-service-perfdata <-- not supposed to be defined, comment this out as you define the service_perfdata_file_processing_command below service_perfdata_file=/var/adm/logs/nagios/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_command=process-service-perfdata log_file=/var/adm/logs/nagios/nagios.log status_file=/var/adm/logs/nagios/status.dat command_file=/var/adm/logs/nagios/nagios.cmd comment_file=/var/adm/logs/nagios/comments.dat temp_file=/var/adm/logs/nagios/nagios.tmp cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/dependencies.cfg cfg_file=/etc/nagios/escalations.cfg cfg_file=/etc/nagios/hostgroups.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/serviceextinfo.cfg object_cache_file=/var/adm/logs/nagios/objects.cache resource_file=/etc/nagios/resource.cfg commands.cfg ........ shouldn't matter tho I have read mixed reviews I have the path to perl before the insert.pl and you can remove the "$LASTSERCIVE...." Its already defined in the service template define command { command_name process-service-perfdata command_line /etc/nagios/nagiosgraph-0.8.2/insert.pl "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEDESC$||$SERVICEO UTPUT$||$SERVICEPERFDATA$" } Serviceextinfo.cfg define serviceextinfo{ service_description PING host_name * notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=PING <-- try notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&geom=900x300 icon_image graph.gif icon_image_alt show graphics } Nagiosgraph.cfg debug = 1 logfile = /var/adm/logs/nagios/nagiosgraph.log rrddir = /var/adm/logs/nagios/rrd mapfile = /etc/nagios/nagiosgraph-0.8.2/map perflog = /var/adm/logs/nagios/perfdata.log <-- define this the same as above in the nagios.cfg (i.e. service_perfdata_file=/var/adm/logs/nagios/service-perfdata ) stylesheet = /usr/share/nagios/stylesheets/nagiosgraph.css insert.pl my $configfile = '/etc/nagios/nagiosgraph-0.8.2/nagiosgraph.conf'; Below shows that the nagiosgraph.log and rrddir is empty [root at rh02 nagios]# pwd /var/adm/logs/nagios [root at rh02 nagios]# ls -alR .: total 1212 drwxrwxrwx 3 root root 4096 Apr 26 09:48 . drwxr-xr-x 13 root root 4096 Apr 19 14:21 .. -rw-rw-r-- 1 nagios nagios 238 Apr 25 14:04 comments.dat -rw-rw-r-- 1 nagios nagios 239 Apr 25 14:04 downtime.dat -rwxrwxr-x 1 nagios nagios 0 Apr 19 14:22 nagiosgraph.log -rw-r--r-- 1 nagios nagios 4114 Apr 26 09:06 nagios.log -rw-r--r-- 1 nagios nagios 9337 Apr 25 15:06 objects.cache -rw------- 1 nagios nagios 7613 Apr 26 09:06 retention.dat drwxr-xr-x 2 nagios nagios 4096 Apr 25 15:06 rrd <-- might want to make this 0775 rather than 0755 though either SHOULD work -rw-r--r-- 1 nagios nagios 1179322 Apr 26 09:48 service-perfdata -rw-rw-r-- 1 nagios nagios 7576 Apr 26 09:48 status.dat ./rrd: total 8 drwxr-xr-x 2 nagios nagios 4096 Apr 25 15:06 . drwxrwxrwx 3 root root 4096 Apr 26 09:48 .. Make those few changes, stop and restart nagios and take a look at the perfdata file you defined above to see if data is getting dumped there and check the nagiosgraph.log 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. 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. =================================== 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. 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. =================================== 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. 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. =================================== 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. =================================== 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. 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. 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. =================================== 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 -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2074 bytes Desc: image001.jpg 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 Mon Apr 30 21:33:19 2007 From: stephen.valdinger at doverchem.com (+ACI-Valdinger, Stephen (DOV, MSX)+ACI-) Date: Mon, 30 Apr 2007 15:33:19 -0400 Subject: FW: +AFs-Nagios-users+AF0- Email notification Message-ID: Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: Valdinger, Stephen (DOV, MSX) Sent: Monday, April 30, 2007 3:23 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Email notification This is what I have in my config file for notify-service-by email as well as host I have postfix up and running, yet Nagios still won't alert, what is wrong with this? Command_line mail "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" stephen.valdinger at doverchem.com Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: Valdinger, Stephen (DOV, MSX) Sent: Monday, April 30, 2007 3:01 PM To: Morris, Patrick Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Email notification I'm noticing this the more I work on it. I can get it to send emails out just testing, but my nagios configuration won't send them out. I've defined /usr/sbin/postfix inside commands.cfg instead of the default ...../printf thing that was in there. Should I have not done that? Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Monday, April 30, 2007 2:58 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Email notification > From: Valdinger, Stephen (DOV, MSX) > [mailto:stephen.valdinger at doverchem.com] > Sent: Monday, April 30, 2007 10:40 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Email notification > > I want to send notifications with it. I've got it configured, > and I sent a test email that worked to the email address that > will be receiving the nagios alerts, now I just need to know > how to make nagios work with it. > > On my Ubuntu machine it is installed by default to /etc/postfix. If that's the case, then the default notification commands from the example configs should work fine. Assuming Postfix is correctly configured to send mail from local accounts, there's no real difference between using it as your MTA versus with any other. ------------------------------------------------------------------------ - 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 -------------- ------------------------------------------------------------------------- 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 Mon Apr 30 21:33:25 2007 From: stephen.valdinger at doverchem.com (+ACI-Valdinger, Stephen (DOV, MSX)+ACI-) Date: Mon, 30 Apr 2007 15:33:25 -0400 Subject: FW: +AFs-Nagios-users+AF0- Email notification Message-ID: Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: Valdinger, Stephen (DOV, MSX) Sent: Monday, April 30, 2007 3:23 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Email notification This is what I have in my config file for notify-service-by email as well as host I have postfix up and running, yet Nagios still won't alert, what is wrong with this? Command_line mail "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" stephen.valdinger at doverchem.com Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: Valdinger, Stephen (DOV, MSX) Sent: Monday, April 30, 2007 3:01 PM To: Morris, Patrick Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Email notification I'm noticing this the more I work on it. I can get it to send emails out just testing, but my nagios configuration won't send them out. I've defined /usr/sbin/postfix inside commands.cfg instead of the default ...../printf thing that was in there. Should I have not done that? Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Monday, April 30, 2007 2:58 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Email notification > From: Valdinger, Stephen (DOV, MSX) > [mailto:stephen.valdinger at doverchem.com] > Sent: Monday, April 30, 2007 10:40 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Email notification > > I want to send notifications with it. I've got it configured, > and I sent a test email that worked to the email address that > will be receiving the nagios alerts, now I just need to know > how to make nagios work with it. > > On my Ubuntu machine it is installed by default to /etc/postfix. If that's the case, then the default notification commands from the example configs should work fine. Assuming Postfix is correctly configured to send mail from local accounts, there's no real difference between using it as your MTA versus with any other. ------------------------------------------------------------------------ - 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 -------------- ------------------------------------------------------------------------- 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 Mon Apr 30 22:08:39 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 30 Apr 2007 16:08:39 -0400 Subject: FW: Email notification 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 "Valdinger, Stephen (DOV, MSX)" > Sent: Monday, April 30, 2007 12:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FW: [Nagios-users] Email notification > > This is what I have in my config file for notify-service-by email as > well as host > > I have postfix up and running, yet Nagios still won't alert, what is > wrong with this? > > > Command_line mail "%b" "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | -s "** > $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ > **" stephen.valdinger at doverchem.com I'd recommend going back to the original notification commands. Yours is broken and/or suboptimal in several ways: 1. You've hard-coded a recipient address. Nagios will pull the address it needs to use from your configs. 2. Many of your macros are host-specific and will not work for service notifications. 3. You're passing printf command to the mail command. 4. You're piping the results to nowhere. ------------------------------------------------------------------------- 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 gevery at gmail.com Mon Apr 30 23:07:52 2007 From: gevery at gmail.com (Gary Every) Date: Mon, 30 Apr 2007 14:07:52 -0700 Subject: Browser showing "old" check results Message-ID: I'm using SNMP to execute scripts remotely, and passing the results back to nagios. The scripts work great, as does the snmp portion, but when I watch the browser, it occasionally does a flip-flop on which result it displays. For example, if I see a check executed at 13:31 PM and wait for the auto-refresh, sometimes it show the results from 13:16 instead - Not good, especially if I need to keep up-to-date info on my screen. Anybody else experience something like this? G.~ -- Gary Every "Pay it Forward!" -------------- 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 Mon Apr 30 23:19:09 2007 From: marc at ena.com (Marc Powell) Date: Mon, 30 Apr 2007 16:19:09 -0500 Subject: Browser showing "old" check results 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 Gary Every > Sent: Monday, April 30, 2007 4:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Browser showing "old" check results > > > I'm using SNMP to execute scripts remotely, and passing the results back > to nagios. The scripts work great, as does the snmp portion, but when I > watch the browser, it occasionally does a flip-flop on which result it > displays. For example, if I see a check executed at 13:31 PM and wait for > the auto-refresh, sometimes it show the results from 13:16 instead - Not > good, especially if I need to keep up-to-date info on my screen. > > Anybody else experience something like this? It's in the FAQ. Multiple nagios processes running. -- 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