From Jan.Scholten at iconz.net Wed Dec 1 00:02:39 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 01 Dec 2004 12:02:39 +1300 Subject: Strange behavior of checks? Message-ID: <41ACFC0F.6080504@iconz.net> I have the following trouble: My host gets checked without a service in a critical state. than all host checks are fired in 20 seconds.. is it possible to state somewhere to do the retry check after 10 Seconds instead of 3 so a retry_check_interval for hosts checks? TRhe other thing is: it's lying to my: View alert History on Service SSH or SMTP is blank (even if they are shown in the alert history for the host (see below). Next question why are the services HARD;1; even if the are defined (and shown in the webinterface with 3 rechecks?) Jan From the alert history of a host: [12-01-2004 11:34:42] SERVICE ALERT: webapache.intellihost;SSH;OK;HARD;1;SSH OK - OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3 (protocol 2.0) [12-01-2004 11:34:42] SERVICE ALERT: webapache.intellihost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 6.67 ms [12-01-2004 11:33:32] SERVICE ALERT: webapache.intellihost;SMTP;OK;HARD;1;SMTP OK - 0.034 sec. response time [12-01-2004 11:33:31] HOST ALERT: webapache.intellihost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.32 ms [12-01-2004 11:32:01] SERVICE ALERT: webapache.intellihost;PING;CRITICAL;HARD;1;PING CRITICAL - Host Unreachable (my.host.ip) [12-01-2004 11:31:52] SERVICE ALERT: webapache.intellihost;SMTP;CRITICAL;HARD;1;No route to host [12-01-2004 11:31:22] SERVICE ALERT: webapache.intellihost;SSH;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds [12-01-2004 11:31:19] HOST ALERT: webapache.intellihost;DOWN;HARD;10;PING CRITICAL - Host Unreachable (my.host.ip) [12-01-2004 11:31:16] HOST ALERT: webapache.intellihost;DOWN;SOFT;9;PING CRITICAL - Host Unreachable (my.host.ip) [12-01-2004 11:31:13] HOST ALERT: webapache.intellihost;DOWN;SOFT;8;PING CRITICAL - Host Unreachable (my.host.ip) [12-01-2004 11:31:10] HOST ALERT: webapache.intellihost;DOWN;SOFT;7;PING CRITICAL - Host Unreachable (my.host.ip) [12-01-2004 11:31:07] HOST ALERT: webapache.intellihost;DOWN;SOFT;6;PING CRITICAL - Host Unreachable (my.host.ip) [12-01-2004 11:31:04] HOST ALERT: webapache.intellihost;DOWN;SOFT;5;PING CRITICAL - Host Unreachable (my.host.ip) [12-01-2004 11:31:01] HOST ALERT: webapache.intellihost;DOWN;SOFT;4;PING CRITICAL - Host Unreachable (my.host.ip) [12-01-2004 11:30:58] HOST ALERT: webapache.intellihost;DOWN;SOFT;3;PING CRITICAL - Host Unreachable (my.host.ip) [12-01-2004 11:30:55] HOST ALERT: webapache.intellihost;DOWN;SOFT;2;PING CRITICAL - Host Unreachable (my.host.ip) [12-01-2004 11:30:51] HOST ALERT: webapache.intellihost;DOWN;SOFT;1;PING CRITICAL - Packet loss = 100% Hosts.cfg: define host{ name generic24x7ping-host notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r register 0 ; DONT REGISTER THIS DEFINITION } # 'webapache.intellihost' host definition define host{ use generic24x7ping-host ; Name of host template to use parents sw4-air host_name webapache.intellihost alias webapache.intellihost address my.host.ip } ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 1 00:50:30 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Dec 2004 00:50:30 +0100 Subject: Nagios Log analyzer? In-Reply-To: <330CE9F92C02064B86090D40B479712F573A93@usa0300ms04.na.xerox.net> References: <330CE9F92C02064B86090D40B479712F573A93@usa0300ms04.na.xerox.net> Message-ID: <41AD0746.2060304@op5.se> Kemp, Darren wrote: > Before I rewrite something that already exists, I'm curious if anyone is > using/knows of a simple log analyzer for NAGIOS logs. Basically I am > trying to create something that can go through logs and create a > availability report (csv probably) for a single or group of hosts and/or > services. > > Ie. What percentage available is service BLAH during January. > > I realize that NAGIOS has this functionality in screen reports, but I'm > looking to make something automated that will send out via email or > something like that. > > If anyone has any direction I'd appreciate it, otherwise I'll write it. > Nagios is opensource. avail.cgi should require only very small modifications to provide the output you need. Cron it and pipe it through sendmail or some other means of communication and you should be set in no time at all. > Thanks! > > -darren > > -- > Darren Kemp > XGS > darren.kemp at xerox.com > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 1 00:53:22 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Dec 2004 00:53:22 +0100 Subject: themes In-Reply-To: <1101838178.5516.7.camel@localhost.localdomain> References: <1101838178.5516.7.camel@localhost.localdomain> Message-ID: <41AD07F2.1030804@op5.se> tomaso wrote: > hi, > > nagios's doc talks about nagios' themes, does anyone knows where i can > find some ? > There aren't any (that I'm aware of), although it's fairly simple to create the basics yourself if you know your way around stylesheets. If you don't, I suggest you google for the necessary knowledge. For some reason, web designers tend to put in a lot of info about the few topics they actually know anything about. The bright side is that you should be able to tell what you think of the skill of the document author by just looking at his/her page. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 1 00:56:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Dec 2004 00:56:40 +0100 Subject: CHECK_NRPE: Error - Could not complete SSL handshake In-Reply-To: <59B15593F41BD24591D59436E7226EAD0110CC87@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD0110CC87@Khiphx2.khimetrics.com> Message-ID: <41AD08B8.1030006@op5.se> Nathan Oyler wrote: > Last message on the subject. > > The problem was, I wrote a perl script to add the ip address to the > allowed hosts line, and added a space at the end. > > The script that takes that information in grab's * > > "int is_an_allowed_host(char *);" > > If you have an extra space, it won't work. I've changed my perl script > to remove the space before the newline, and everything is fine. > > If I am correct in diagnosing the problem, I'd suggest that someone > change that line to intelligently grab charcters ignoring whitespace. It's done in the current version (which I promise to put up for download as soon as I've removed the PKI code from it). The intermediate fix would be sed -i 's/[\t ]*$//' nrpe.conf sed v4.0.9 or later is required for the -i switch. I believe 4.1.1 is the first to not clobber the old file without mangling its ownership/permission settings. > > Thanks for everyone's help, I really appreciate it. > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson >>Sent: Tuesday, November 30, 2004 9:45 AM >>To: Nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL >>handshake >> >>Nathan Oyler wrote: >> >>>I've fixed the problem. >>> >>>I'm not exactly sure what the problem is, but I've fixed it. >>> >>>I did a google search for the error message and started reading > > through > >>>the code to see what happens when it gives out the error message I > > was > >>>getting. >>> >>>To change all of the nrpe.cfg's I wrote my first perl script which >>>seemed quite successful. I can send that if you'd like. >>> >>>To fix the problem, I deleted all whitespace from the end of the >>>allowed_hosts line and the next comment, then I added new > > whitespace. > >>>Now it works. >>> >>>I have no idea why it worked on one host and not another, as the > > edits > >>>were done on every box with the exact same perl script, and look > > exactly > >>>the same. >>> >>>But, if I redo the whitespace manually, it fixes it. >>> >>>If you'd like me to send the perl script, or one of these files that >>>doesn't work, let me know. >>> >> >>I'm interested in the files that doesn't work. Preferrably along with > > a > >>fixed version of the same file. The script won't do me any good > > though. > >>Thanks. >> >> >>>Thanks. >>> >>> >>> >>>>-----Original Message----- >>>>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>>admin at lists.sourceforge.net] On Behalf Of Nathan Oyler >>>>Sent: Tuesday, November 30, 2004 9:07 AM >>>>To: Andreas Ericsson; Nagios-users at lists.sourceforge.net >>>>Subject: RE: [Nagios-users] CHECK_NRPE: Error - Could not complete > > SSL > >>>>handshake >>>> >>>> >>>>Below. >>>> >>>> >>>> >>>>>Nathan Oyler wrote: >>>>> >>>>> >>>>>>I've read the frequently asked questions, and I am still stumped. >>>>>> >>>>>> >>>>>> >>>>>>I have Nagios running perfectly fine on one machine. I've planned >>> >>>to >>> >>> >>>>>>move Nagios off of that machine, so installed a clean install of >>>> >>>>Fedora >>>> >>>> >>>>>>Core 3, and started going. Installed nagios 1.2 from source. >>>> >>>>Installed >>>> >>>> >>>>>>plugins from source. Installed nrpe plugin from source. >>>>>> >>>>>> >>>>>> >>>>>>On most machines I receive the "Could not complete SSL handshake" >>>>>> >>>>> >>>>>What does "ldd nrpe" say on your monitored systems? Unless they are >>>>>linked with openssl you won't be able to monitor them with an >>>>>ssl-enabled client. Try running the check_nrpe program with the > > "-n" > >>>>>flag to turn ssl off. >>>> >>>>[Nathan Oyler] >>>> >>>>The machine that works, and the machine that doesn't both give the >>> >>>exact >>> >>> >>>>same links when running ldd nrpe. >>>> >>>>They are both linked with open ssl like >>>> >>>>" libssl.so.2 => /lib/libssl.so.2 (0x4001c000)" >>>> >>>>However, when running check_nrpe using -n, both fail but with >>> >>>different >>> >>> >>>>error messages. >>>> >>>>A check from the currently stable and running Nagios on FC2 to a > > host > >>>>that fails on the new nagios. >>>> >>>>"sh-2.05b$ ./check_nrpe -n -H 7b1.dc >>>>CHECK_NRPE: Error receiving data from daemon." >>>> >>>>A check from the currently stable and running Nagios to a host that >>>>works on the new nagios. >>>> >>>>"sh-2.05b$ ./check_nrpe -n -H 7b2.dc >>>>CHECK_NRPE: Error receiving data from daemon." >>>> >>>>A check from the machine failing with nrpe to a box that doesn't > > work > >>>>for it. >>>> >>>>"[root at triad8 plugins]# ./check_nrpe -n -H 7b1.dc >>>>CHECK_NRPE: Received 0 bytes from daemon. Check the remote server >>> >>>logs >>> >>> >>>>for error messages." >>>> >>>>Nov 30 09:00:06 7b1 nrpe[6390]: Error: Could not complete SSL >>> >>>handshake. >>> >>> >>>>1 >>>>Nov 30 09:02:37 7b1 nrpe[6405]: Host 172.16.1.138 is not allowed to >>> >>>talk >>> >>> >>>>to us! >>>>Nov 30 09:03:25 7b1 nrpe[6407]: Host 172.16.1.138 is not allowed to >>> >>>talk >>> >>> >>>>to us! >>>> >>>> >>>>The Allowed hosts field in nrpe.cfg does include 172.16.1.138 on > > both > >>>>machines. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>>>On a few machines, it works. These all work from the initial box I >>>> >>>>setup >>>> >>>> >>>>>>Nagios with. >>>>>> >>>>>> >>>>>> >>>>>>I have added the IP address in allow on every nrpe instance, as >>> >>>well >>> >>> >>>>as >>>> >>>> >>>>>>restarted it. Some machines actually work, and display NRPEv2.0. >>>>>> >>>>>> >>>>>> >>>>>>Other machines on the same blade center do not work. They should >>> >>>be >>> >>> >>>>the >>>> >>>> >>>>>>exact same machines installed the exact same way. (Should being >>>>>>operative, but through history files I cannot find any >>> >>>differences. >>> >>> >>>>>>These boxes were loaded within the last 2 months, barely touched >>>> >>>>since.) >>>> >>>> >>>>>> >>>>>>If I run the nrpe check from the box that currently runs Nagios I >>>> >>>>get >>>> >>>> >>>>>>NRPEv2.0 >>>>>> >>>>>> >>>>>> >>>>>>Even on boxes that don't work from the new box. >>>>>> >>>>>> >>>>>> >>>>>>I have reinstalled Nagios from source. I've installed from RPM, >>> >>>I've >>> >>> >>>>>>checked OPENSSL versions, which there is no pattern relevant to >>> >>>the >>> >>> >>>>>>problem, and what version. >>>>>> >>>>>> >>>>>> >>>>>>I am completely stumped. I hate messaging the list with something >>>> >>>>that's >>>> >>>> >>>>>>explained on the FAQ and am awaiting what obvious thing I've >>>> >>>>overlooked. >>>> >>>> >>>>>> >>>>>> >>>>>>Thanks. >>>>>> >>>>>> >>>>> >>>>>-- >>>>>Andreas Ericsson andreas.ericsson at op5.se >>>>>OP5 AB www.op5.se >>>>>Lead Developer >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>SF email is sponsored by - The IT Product Guide >>>>>Read honest & candid reviews on hundreds of IT Products from real >>>> >>>>users. >>>> >>>> >>>>>Discover which products truly live up to the hype. Start reading >>> >>>now. >>> >>> >>>>>http://productguide.itmanagersjournal.com/ >>>>>_______________________________________________ >>>>>Nagios-users mailing list >>>>>Nagios-users at lists.sourceforge.net >>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>::: Please include Nagios version, plugin version (-v) and OS when >>>>>reporting any issue. >>>>>::: Messages without supporting info will risk being sent to >>> >>>/dev/null >>> >>> >>>> >>>> >>>>------------------------------------------------------- >>>>SF email is sponsored by - The IT Product Guide >>>>Read honest & candid reviews on hundreds of IT Products from real >>> >>>users. >>> >>> >>>>Discover which products truly live up to the hype. Start reading > > now. > >>>>http://productguide.itmanagersjournal.com/ >>>>_______________________________________________ >>>>Nagios-users mailing list >>>>Nagios-users at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>::: Please include Nagios version, plugin version (-v) and OS when >>>>reporting any issue. >>>>::: Messages without supporting info will risk being sent to > > /dev/null > >>> >>> >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from real > > users. > >>>Discover which products truly live up to the hype. Start reading > > now. > >>>http://productguide.itmanagersjournal.com/ >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when >> >>reporting any issue. >> >>>::: Messages without supporting info will risk being sent to > > /dev/null > >>-- >>Andreas Ericsson andreas.ericsson at op5.se >>OP5 AB www.op5.se >>Lead Developer >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real > > users. > >>Discover which products truly live up to the hype. Start reading now. >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 1 00:57:36 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Dec 2004 00:57:36 +0100 Subject: =?ISO-8859-1?Q?R=E9p=2E_=3A_Re=3A_=5BNa?= =?ISO-8859-1?Q?gios-users=5D_Is_there_something_wrong_with_t?= =?ISO-8859-1?Q?he_list=3F?= In-Reply-To: References: Message-ID: <41AD08F0.2090505@op5.se> Serveur-Faucon Surveillance wrote: > As for me, when I reply, I usually reply to the nagios list and the user. > So, the user would have 2 messages and the list 1. > That's of no moment. The problem was at sourceforge's list servers which spewed out about 300 identical messages over the course of about 36 hours. > > > >>>>Chris 2004-11-28 13:52:00 >>> > > There was also a very similar issue on one of the IPCop lists from > sourceforge but it was much worse. There were two messages from about > 3:22AM yesterday morning and I must have deleted close to a hundred > copies of each. > > Hmm. > > Chris > > Terry Inzauro wrote: > > >>also noticing that the timestamp on the duplicate messages is ~2:xx am >>kinda odd...... >> >> >> >> >>Chuck wrote: >> >> >>>Terry Inzauro wrote: >>> >>> >>>>I am getting multiple copies of the same message everytime a new >>>>message is posted. >>>> >>>>Is anyone else experienceing this today? >>>> >>> >>>Yes, me too... >> >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. ::: Messages without supporting info will risk >>being sent to /dev/null > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dendi102 at gmail.com Wed Dec 1 01:16:25 2004 From: dendi102 at gmail.com (dendi) Date: Wed, 1 Dec 2004 07:16:25 +0700 Subject: Login Problem In-Reply-To: <2ca04c12041130161379fa9e87@mail.gmail.com> References: <1101800664.1338.4.camel@vince> <2ca04c1204112923431dafb540@mail.gmail.com> <41AC4653.9090903@exirasoft.com> <1101819729.1338.25.camel@vince> <2ca04c12041130161379fa9e87@mail.gmail.com> Message-ID: <2ca04c1204113016164c6cf5af@mail.gmail.com> try to start your httpd ... on fc3 by /etc/rc.d/init.d/httpd start , have you install yet ? dendi-- On Wed, 1 Dec 2004 07:13:45 +0700, dendi wrote: > On 30 Nov 2004 16:02:09 +0300, Vincent Ngundi wrote: > > > > hi amarendra and dendi, > > Thanks, it was a permissions issue, but now I cannot view the monitoring > > graphics, i keep getting the error that "the requested URL could not be > > found". What could be the problem?? > > > > Vincent. > > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.henry at axegroup.com.au Wed Dec 1 02:12:17 2004 From: michael.henry at axegroup.com.au (Michael Henry) Date: Wed, 1 Dec 2004 12:12:17 +1100 Subject: Nagios release schedule Message-ID: <4A79920EBF3C1445955A00C163CA397818F2DB@shadow.axegroup.local> Hello, I have just downloaded Nagios and am in the process of configuring, but whilst looking for plugins to download I noticed that the most recent plugin package is more than a year old! The latest plugin package is labeled "1.4.0alpha1". From this I would assume, and the release notes confirm, that these plugins are not suitable for production use. Is this correct? I ask because the fact that this is the most recent package implies that it has been found stable enough that a bugfix-release was not necessary. Regards, Michael ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 1 08:31:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Dec 2004 08:31:15 +0100 Subject: Nagios release schedule In-Reply-To: <4A79920EBF3C1445955A00C163CA397818F2DB@shadow.axegroup.local> References: <4A79920EBF3C1445955A00C163CA397818F2DB@shadow.axegroup.local> Message-ID: <41AD7343.20903@op5.se> Michael Henry wrote: > Hello, > > I have just downloaded Nagios and am in the process of configuring, > but whilst looking for plugins to download I noticed that the most > recent > plugin package is more than a year old! > Not really. The most recent CVS snapshot is available at http://nagiosplug.sourceforge.net/snapshot. It's quite stable, but I strongly suggest that you run ./configure with the --disable-nls option. > The latest plugin package is labeled "1.4.0alpha1". From this I would > assume, and the release notes confirm, that these plugins are not > suitable for production use. Is this correct? > Yes. The latest snapshot is quite stable though. > I ask because the fact that this is the most recent package implies > that it has been found stable enough that a bugfix-release was not > necessary. > Not quite stable, I'm afraid. It is, after all a great many programs that are supposed to run on a great variety of platforms. Bugs are inevitable, even if they are only portability bugs. The snapshot plugins (from link posted above) should work more or less properly though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mime at forumsql.se Wed Dec 1 09:21:52 2004 From: mime at forumsql.se (Michael Medin) Date: Wed, 1 Dec 2004 09:21:52 +0100 Subject: NSClient / NRPE / SNMP / ? (Windows monitoring) Message-ID: Hi, A few months ago I started to look at ways to monitor my windows boxes, and thought that NRPE was a bit too heavyweight as many of the computers only need to have CPU, HD, services and processes monitored. I then tried NSClient which I had a lot of problems with, mainly version conflicts with PDH DLL and such making amongst others our exchange server to crash :) In the end I opted for SNMP as it was both lightweight and had most of the features I wanted and most importantly was already in use as we have HP InsightManager for hardware monitoring. But now the question of service monitoring (not process monitoring) have come up, as well as file date/time/size, and some are even talking about other things and I don't know if SNMP can handle that. So the question is which way to go? Before I settled in with SNMP I wrote my own version of NSClient that worked better (written in C++) and had most of the features I needed then. But as I went with SNMP I a banded my version of NSClient. So one strong contender is my version of NSClient as it can "easily" be extended in-house. But are there any good alternatives out there? Which client is the way to go? // Michael Medin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Wed Dec 1 09:51:14 2004 From: srunschke at abit.de (Sascha Runschke) Date: Wed, 1 Dec 2004 09:51:14 +0100 Subject: Antwort: Best Server? [Virus scanned] Message-ID: I just ordered a new machine for our Nagios server which should serve your needs too: Compaq Proliant DL360 G4 with a single Xeon 3.2 Ghz, 2 Gig Ram, 2x 36G 10k HDDs in Raid 1 On a sidenote: don't even consider building a server for yourself with custom hardware. If the company sees the need to monitor its network, it would be a dire mistake to build that on a selfmade machine. Expect any desktop machine to start failing after 1 year and it will prolly die off another year later. They are not meant to run 24x7 under full stress. If they are serious, they buy server hardware for it - and not the cheapest crap around. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. Jan Scholten Gesendet von: nagios-users-admin at lists.sourceforge.net 29.11.2004 03:22 An: nagiosusers Kopie: Thema: [Nagios-users] Best Server? [Virus scanned] Hi! I am in the glorious position to choose what kind of server should be bought for the monitoring server. But actually i have no Idea where to put stress on. I am using Nagios 1.2 to monitor about 200 Hosts and 400 Services but that will be alot ( maybe + 600 Services) more when everything is proper configured. Actually i am running Nagios on a Celeron 300 with 128 Meg under Debain testing, works but starts lagging (load up to 15) and webside is kinda slow. So i got the following question from purchasing guy: What sort of spec do you think would be appropriate? What make/model CPU? Single CPU or multiple? How much RAM? I believe because of the lots of spawned processes a Dual CPU would be fine and some RAM. What would you recommend (be realistic i don't want to have a Dual XXX that is idleing all the time)? I was thinking about either a small Dual System (better opteron or Xeon?) with around a gig of ram. Or a single AMD64 or P4 with a gig of RAM. A configured Dell Server: Dual Xeon 2.8, 1 Gig Ram, 2 *40 GB Raid 1 Harddisks is about 1800 Euro. a selfbuild P4 3.2 will be definitly cheaper :-) Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Wed Dec 1 10:13:55 2004 From: m.borsani at it.net (Marco Borsani) Date: Wed, 1 Dec 2004 10:13:55 +0100 Subject: R: services check stale In-Reply-To: <41A67072.8080808@op5.se> References: <41A67072.8080808@op5.se> Message-ID: -}Marco Borsani wrote: -}> Hi, -}> -}> I have about 150 host and 400 services checked via nagios. -}> -}> Sometime It happens that many services "are stale by XXX -}seconds". In the same time one check_host_alive stop to work properly and goes -}in a CRITICAL state, but I can reach/ping it correctly ! -}> -} -}Are you pinging it from the server nagios is running at? These sort of -}things often happen when the network load skyrockets for a short period -}of time, bringing a router or switch to its knees from which it takes a -}while to recuperate. -} -}> I don't know if both situations are related together. May -}someone suggest me -}> which parameters I can modify to : -}> 1) reduce the "stale" situations -} -}Increase the freshness_threshold I did not find freshness_threshold parameter neither in the nagios.cfg file nor in hosts/services configurations file. I did not find it in the manual too ... sorry, may you tell me where I can find it? Regards? Marco ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Wed Dec 1 10:08:31 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 1 Dec 2004 10:08:31 +0100 Subject: NRPE check Disk Message-ID: <90D32590BAD135448DC12C1EA3EB4482209D5A@epsewr01.ewrlan.ewr.int> Hello! I?m using NRPE for checking disk space on windows systems, is there a way to check them by the space in MB oder Gigabyte? Or only a percentage? Thanks -best regards ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thewolf at fastmail.fm Wed Dec 1 13:57:50 2004 From: thewolf at fastmail.fm (The Wolf) Date: Wed, 01 Dec 2004 13:57:50 +0100 Subject: nagios and mysql support problem In-Reply-To: <41A88D21.1020501@fastmail.fm> References: <41A4DD5E.4010003@fastmail.fm> <41A708EA.5090305@fastmail.fm> <1101457153.3014.8.camel@fuego> <41A88D21.1020501@fastmail.fm> Message-ID: <41ADBFCE.4070408@fastmail.fm> On 11/27/04 3:20 PM, The Wolf wrote: > It's MySQL 3.23.58 (the version shipped with RH Enterprise Linux 3). > > The log file appears normal, except some entries like the following ones: > > --- > lock: a267c94: > > lock: a260bec: > > lock: a25d13c: > --- > > I am not sure if they are due to Nagios though ... I am really lost here, any help? Thanks a lot. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Wed Dec 1 14:19:09 2004 From: sandromergvaz at uol.com.br (Sandro Vaz - UOL) Date: Wed, 01 Dec 2004 11:19:09 -0200 Subject: Strange service checks behavior Message-ID: <41ADC4CD.4070504@uol.com.br> Folks: I've read the f... manual, "State Types" section, but I can't understand why there is no hard recovery after a hard problem, generating wrong availability reports. Let me show you what's in my log files... Example 1) After a hard problem (6:38:00) we have a weird soft problem (6:42:32) and then a soft recovery (06:52:18). I can't find the following hard recovery in the logs. Is this correct? November 30, 2004 06:00 [30-11-2004 06:52:18] SERVICE ALERT: Client-A-Host-2;Service-X;OK;SOFT;5;OK - 10 enviados, 10 recebidos, 0% pacotes perdidos [30-11-2004 06:51:32] SERVICE ALERT: Client-A-Host-2;Service-X;WARNING;SOFT;4;CRITIAL - 10 enviados, 7 recebidos, 30% pacotes perdidos [30-11-2004 06:51:10] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;SOFT;3;CRITICAL - 10 enviados, 0 recebidos, 100% pacotes perdidos [30-11-2004 06:50:04] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;SOFT;2;CRITICAL - 10 enviados, 0 recebidos, 100% pacotes perdidos [30-11-2004 06:49:04] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;SOFT;1;CRITICAL - 10 enviados, 0 recebidos, 100% pacotes perdidos [30-11-2004 06:43:04] SERVICE ALERT: Client-A-Host-2;Service-X;OK;SOFT;2;OK - 10 enviados, 10 recebidos, 0% pacotes perdidos [30-11-2004 06:42:32] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;SOFT;1;CRITICAL - 10 enviados, 4 recebidos, 60% pacotes perdidos [30-11-2004 06:38:00] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;HARD;1;(Service Check Timed Out) Example 2) From time 8:19:24 thru 8:24:02, we have a hard problem and a hard recovery, which is correct. After that we had a hard problem (8:41:54) and then a bizarre critical soft (8:53:26), which I can't explain. 8:57:32 we have a Soft Recovery. Again I can't find the hard recovery in the log files... November 30, 2004 08:00 [30-11-2004 08:57:32] SERVICE ALERT: Client-A-Host-2;Service-X;OK;SOFT;6;OK - 10 enviados, 10 recebidos, 0% pacotes perdidos [30-11-2004 08:57:24] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;SOFT;5;CRITICAL - 10 enviados, 0 recebidos, 100% pacotes perdidos [30-11-2004 08:56:22] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;SOFT;4;CRITICAL - 10 enviados, 0 recebidos, 100% pacotes perdidos [30-11-2004 08:55:22] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;SOFT;3;CRITICAL - 10 enviados, 0 recebidos, 100% pacotes perdidos [30-11-2004 08:54:22] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;SOFT;2;CRITICAL - 10 enviados, 0 recebidos, 100% pacotes perdidos [30-11-2004 08:53:26] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;SOFT;1;(Service Check Timed Out) [30-11-2004 08:41:54] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;HARD;1;(Service Check Timed Out) [30-11-2004 08:24:02] SERVICE ALERT: Client-A-Host-2;Service-X;OK;HARD;1;OK - 10 enviados, 9 recebidos, 10% pacotes perdidos [30-11-2004 08:19:42] SERVICE ALERT: Client-A-Host-2;Service-X;CRITICAL;HARD;1;(Service Check Timed Out) Analyzing these 2 situations, we have a wrong critical period (8:41:54 through 13:57:43, where we finally have a hard recovery). Some good soul could explain this behavior, because without correct logs, Nagios will generate unreliable availability reports, because Nagios uses only hard states to produce them. TIA, SMV -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.4 - Release Date: 30/11/2004 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Wed Dec 1 16:02:34 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Wed, 01 Dec 2004 16:02:34 +0100 Subject: nagios and mysql support problem In-Reply-To: <41ADBFCE.4070408@fastmail.fm> References: <41A4DD5E.4010003@fastmail.fm> <41A708EA.5090305@fastmail.fm> <1101457153.3014.8.camel@fuego> <41A88D21.1020501@fastmail.fm> <41ADBFCE.4070408@fastmail.fm> Message-ID: <41ADDD0A.2070506@interface-business.de> The Wolf wrote: > On 11/27/04 3:20 PM, The Wolf wrote: > >> It's MySQL 3.23.58 (the version shipped with RH Enterprise Linux 3). >> >> The log file appears normal, except some entries like the following ones: >> >> --- >> lock: a267c94: >> >> lock: a260bec: >> >> lock: a25d13c: >> --- >> >> I am not sure if they are due to Nagios though ... > > > I am really lost here, any help? > > Thanks a lot. > > Hi wolf! I cannot help you really, but i can say something about future releases of nagios. nagios 2 will come without database support. that's a fact. Perhaps you could use the template method, for configuring you nagios? Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Wed Dec 1 17:06:30 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 01 Dec 2004 10:06:30 -0600 Subject: Page on Critical Only? In-Reply-To: <41ADEA5D.6050201@Examen.com> References: <41ADEA5D.6050201@Examen.com> Message-ID: <1101917190.18038.31.camel@localhost> On Wed, 2004-12-01 at 09:59 -0600, Emmett Hogan wrote: > Hi Folks, > > I am sure this has probably been addressed along the way, but I > cannot > seem to find the answer in the FAQs or in the message archives. > > There are a number of services (and hosts) that I want to get email > when > the hit the warning stage, but I don't want to get paged until they > hit > critical. (Particularly a mail queue that often gets flooded with > spam > but soon clears). Is there a way to handle this other than having > two > services defined with two different notification parameters? You want 'escalations' - it's in the docs. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Dec 1 17:08:28 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 1 Dec 2004 08:08:28 -0800 Subject: Page on Critical Only? In-Reply-To: <41ADEA5D.6050201@Examen.com> References: <41ADEA5D.6050201@Examen.com> Message-ID: <20041201160828.GY22568@zippy.toger.us> On Wed, Dec 01, 2004 at 07:59:25AM -0800, Emmett Hogan wrote: > There are a number of services (and hosts) that I want to get email when > the hit the warning stage, but I don't want to get paged until they hit > critical. You could have two contacts, one that only accepts warnings and another that accepts only criticals. -Jason Martin -- Subdominant: Chief officer aboard a submarine. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From EmmettH at Examen.com Wed Dec 1 16:59:25 2004 From: EmmettH at Examen.com (Emmett Hogan) Date: Wed, 01 Dec 2004 07:59:25 -0800 Subject: Page on Critical Only? Message-ID: <41ADEA5D.6050201@Examen.com> Hi Folks, I am sure this has probably been addressed along the way, but I cannot seem to find the answer in the FAQs or in the message archives. There are a number of services (and hosts) that I want to get email when the hit the warning stage, but I don't want to get paged until they hit critical. (Particularly a mail queue that often gets flooded with spam but soon clears). Is there a way to handle this other than having two services defined with two different notification parameters? Thanks, Emmett ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Lattanzi at fitchratings.com Wed Dec 1 17:47:09 2004 From: Robert.Lattanzi at fitchratings.com (Robert.Lattanzi at fitchratings.com) Date: Wed, 1 Dec 2004 11:47:09 -0500 Subject: check_nrpe event handler early exit Message-ID: Hello All- I have an event handler that executes a Weblogic restart via nrpe on a remote server. Nagios connects successfully (via check_nrpe) to the remote nrpe daemon, the restart script starts to run, but then exits without completing successfully. It appears as if only the first command in the restart script executes (an echo of the LD_LIBRARY_PATH) and then it exits. If I change the first command in my restart script to "echo foo" it prints foo and then exits. The restart script works successfully, every time, from the command line. Any hints on this? I've seen similar behavior when trying to restart Apache...if my restart script contains two lines (one doing a stop and another doing a start) only the stop gets executed. I've played with the -t option to check_nrpe, by it seems as if all this does is specify how long check_nrpe will wait to connect to the remote nrpe daemon, not how long the connections will stay open. I've also tried backgrounding the restart. Thanks in advance, Robert Robert Lattanzi FitchRatings 212.908.0348 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. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EmmettH at Examen.com Wed Dec 1 18:19:10 2004 From: EmmettH at Examen.com (Emmett Hogan) Date: Wed, 01 Dec 2004 09:19:10 -0800 Subject: Page on Critical Only? In-Reply-To: <1101921236.18038.42.camel@localhost> References: <41ADF91D.7000608@Examen.com> <1101921236.18038.42.camel@localhost> Message-ID: <41ADFD0E.1030607@Examen.com> Strange....my docs mention nothing about "State Restrictions"...is this something only in the 1.x CVS release? (Or, more likely, I am looking at the wrong doc: docs/escalations.html) -Emmett Jeff Vier wrote: >On Wed, 2004-12-01 at 11:02 -0600, Emmett Hogan wrote: > > >>Hmmm...escalations won't do exactly what I want. It's possible for >>our mail server to stay at the "Warning" level for hours. I want to >>know about this via email, but not get paged. If it spikes directly to >>critical, then I want to get paged immediately. Unless I am reading >>it wrong, escalations don't take into account the TYPE of >>notification....only the number of them. >> >>Or, am I confused....again? >> >> > >from the very last paragraph in the service escalation docs: > >--- >State Restrictions > >If you would like to restrict the escalation definition so that it is >only used when the service is in a particular state, you can use the >escalation_options directive in the service escalation definition. If >you do not use the escalation_options directive, the escalation can be >used when the service is in any state. >--- > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Wed Dec 1 18:36:46 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 01 Dec 2004 11:36:46 -0600 Subject: Page on Critical Only? In-Reply-To: <41ADFD0E.1030607@Examen.com> References: <41ADFD0E.1030607@Examen.com> Message-ID: <1101922606.18038.52.camel@localhost> On Wed, 2004-12-01 at 11:19 -0600, Emmett Hogan wrote: > Strange....my docs mention nothing about "State Restrictions"...is > this something only in the 1.x CVS release? (Or, more likely, I am > looking at the wrong doc: docs/escalations.html) Oh, yeah, maybe that's not in 1.x - I'm running 2.x. Sorry about that. you should run 2.x ;) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 1 19:46:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Dec 2004 19:46:44 +0100 Subject: nagios and mysql support problem In-Reply-To: <41ADBFCE.4070408@fastmail.fm> References: <41A4DD5E.4010003@fastmail.fm> <41A708EA.5090305@fastmail.fm> <1101457153.3014.8.camel@fuego> <41A88D21.1020501@fastmail.fm> <41ADBFCE.4070408@fastmail.fm> Message-ID: <41AE1194.2080800@op5.se> The Wolf wrote: > On 11/27/04 3:20 PM, The Wolf wrote: > >> It's MySQL 3.23.58 (the version shipped with RH Enterprise Linux 3). >> >> The log file appears normal, except some entries like the following ones: >> >> --- >> lock: a267c94: >> >> lock: a260bec: >> >> lock: a25d13c: >> --- >> >> I am not sure if they are due to Nagios though ... > > > I am really lost here, any help? > Don't re-post the same message. Please. It's due to nagios. Nagios 1.x did some rather clumsy status updates, involving the complete deletion and recreation of the status tables. Nagios 2 will drop it so you should get used to running filebased anyway. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 1 19:58:59 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Dec 2004 19:58:59 +0100 Subject: Page on Critical Only? In-Reply-To: <1101922606.18038.52.camel@localhost> References: <41ADFD0E.1030607@Examen.com> <1101922606.18038.52.camel@localhost> Message-ID: <41AE1473.8090904@op5.se> jeff vier wrote: > On Wed, 2004-12-01 at 11:19 -0600, Emmett Hogan wrote: > >>Strange....my docs mention nothing about "State Restrictions"...is >>this something only in the 1.x CVS release? (Or, more likely, I am >>looking at the wrong doc: docs/escalations.html) > > > Oh, yeah, maybe that's not in 1.x - I'm running 2.x. Sorry about that. > > you should run 2.x ;) > Actually, no. Nagios 2.0 HEAD has a memory leak which will inevitably (given enough time) crash it. Unless you specifically need some features in 2.0 you should be running 1.2 (or whatever the latest 1.x is). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EmmettH at Examen.com Wed Dec 1 20:02:34 2004 From: EmmettH at Examen.com (Emmett Hogan) Date: Wed, 01 Dec 2004 11:02:34 -0800 Subject: Page on Critical Only? In-Reply-To: <41AE1473.8090904@op5.se> References: <41ADFD0E.1030607@Examen.com> <1101922606.18038.52.camel@localhost> <41AE1473.8090904@op5.se> Message-ID: <41AE154A.1030301@Examen.com> Thanks for the warning!!! I was building 2.0 now...I think I'll put that on hold for now. (Boy...that would have been ugly!) -Emmett Andreas Ericsson wrote: >> Oh, yeah, maybe that's not in 1.x - I'm running 2.x. Sorry about that. >> >> you should run 2.x ;) >> > > Actually, no. Nagios 2.0 HEAD has a memory leak which will inevitably > (given enough time) crash it. Unless you specifically need some > features in 2.0 you should be running 1.2 (or whatever the latest 1.x > is). > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 1 20:04:09 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Dec 2004 20:04:09 +0100 Subject: check_nrpe event handler early exit In-Reply-To: References: Message-ID: <41AE15A9.7020302@op5.se> Robert.Lattanzi at fitchratings.com wrote: > Hello All- > I have an event handler that executes a Weblogic restart via nrpe on a > remote server. Nagios connects successfully (via check_nrpe) to the remote > nrpe daemon, the restart script starts to run, but then exits without > completing successfully. It appears as if only the first command in the > restart script executes (an echo of the LD_LIBRARY_PATH) and then it exits. > If I change the first command in my restart script to "echo foo" it prints > foo and then exits. NRPE only returns exactly one line of output. That's how nagios does it, so that's how NRPE does it. Are you absolutely positive that the script doesn't continue to run, but you don't get any further output? It's also more than likely that the script would need elevated privileges to be able to send signals to another process. > The restart script works successfully, every time, from > the command line. Any hints on this? Are you running it as the same user as NRPE runs as? > I've seen similar behavior when trying > to restart Apache...if my restart script contains two lines (one doing a > stop and another doing a start) only the stop gets executed. You're possibly putting them too close together (in a wallclock sense of speaking). Add a "sleep 5" line between them. That should allow all processes to clear away their pid- and lock-files. > I've played with the -t option to check_nrpe, by it seems as if all this > does is specify how long check_nrpe will wait to connect to the remote nrpe > daemon, not how long the connections will stay open. That's just plain wrong. The -t switch tells check_nrpe how long to live in total. It doesn't hang around waiting for the buss before trying to connect. > I've also tried backgrounding the restart. That won't help in the slightest. Try having it log to a file instead. That way you should be able to follow execution from one end to another. > Thanks in advance, Robert > You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 1 19:56:24 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Dec 2004 19:56:24 +0100 Subject: Strange service checks behavior In-Reply-To: <41ADC4CD.4070504@uol.com.br> References: <41ADC4CD.4070504@uol.com.br> Message-ID: <41AE13D8.7000909@op5.se> Sandro Vaz - UOL wrote: > Folks: > > I've read the f... manual, "State Types" section, but I can't understand > why there is no hard recovery after a hard problem, generating wrong > availability reports. Let me show you what's in my log files... > > Example 1) After a hard problem (6:38:00) we have a weird soft problem > (6:42:32) and then a soft recovery (06:52:18). I can't find the > following hard recovery in the logs. Is this correct? > Not by a longshot, but a little more info is needed before anyone can correctly answer your question (at least without guessing). What version of nagios are you using? How did you compile it? Are you sure that this is the way the logs are or did you cut and paste from the GUI? Did you replace the hostname and service description with other values before posting? If so, how did you do that? Do you regularly run ntpdate from cron? If so, how do you sync the server you run ntpdate against? Are you sure you don't have several instances of Nagios running (it's supposed to fork, so don't get spooked if there are several processes)? > November 30, 2004 06:00 > [30-11-2004 06:52:18] SERVICE ALERT: > Client-A-Host-2;Service-X;OK;SOFT;5;OK - 10 enviados, 10 recebidos, 0% > pacotes perdidos > [30-11-2004 06:51:32] SERVICE ALERT: > Client-A-Host-2;Service-X;WARNING;SOFT;4;CRITIAL - 10 enviados, 7 > recebidos, 30% pacotes perdidos > [30-11-2004 06:51:10] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;SOFT;3;CRITICAL - 10 enviados, 0 > recebidos, 100% pacotes perdidos > [30-11-2004 06:50:04] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;SOFT;2;CRITICAL - 10 enviados, 0 > recebidos, 100% pacotes perdidos > [30-11-2004 06:49:04] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;SOFT;1;CRITICAL - 10 enviados, 0 > recebidos, 100% pacotes perdidos > [30-11-2004 06:43:04] SERVICE ALERT: > Client-A-Host-2;Service-X;OK;SOFT;2;OK - 10 enviados, 10 recebidos, 0% > pacotes perdidos > [30-11-2004 06:42:32] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;SOFT;1;CRITICAL - 10 enviados, 4 > recebidos, 60% pacotes perdidos > [30-11-2004 06:38:00] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;HARD;1;(Service Check Timed Out) > > Example 2) From time 8:19:24 thru 8:24:02, we have a hard problem and a > hard recovery, which is correct. After that we had a hard problem > (8:41:54) and then a bizarre critical soft (8:53:26), which I can't > explain. 8:57:32 we have a Soft Recovery. Again I can't find the hard > recovery in the log files... > > November 30, 2004 08:00 > [30-11-2004 08:57:32] SERVICE ALERT: > Client-A-Host-2;Service-X;OK;SOFT;6;OK - 10 enviados, 10 recebidos, 0% > pacotes perdidos > [30-11-2004 08:57:24] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;SOFT;5;CRITICAL - 10 enviados, 0 > recebidos, 100% pacotes perdidos > [30-11-2004 08:56:22] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;SOFT;4;CRITICAL - 10 enviados, 0 > recebidos, 100% pacotes perdidos > [30-11-2004 08:55:22] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;SOFT;3;CRITICAL - 10 enviados, 0 > recebidos, 100% pacotes perdidos > [30-11-2004 08:54:22] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;SOFT;2;CRITICAL - 10 enviados, 0 > recebidos, 100% pacotes perdidos > [30-11-2004 08:53:26] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;SOFT;1;(Service Check Timed Out) > [30-11-2004 08:41:54] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;HARD;1;(Service Check Timed Out) > [30-11-2004 08:24:02] SERVICE ALERT: > Client-A-Host-2;Service-X;OK;HARD;1;OK - 10 enviados, 9 recebidos, 10% > pacotes perdidos > [30-11-2004 08:19:42] SERVICE ALERT: > Client-A-Host-2;Service-X;CRITICAL;HARD;1;(Service Check Timed Out) > > Analyzing these 2 situations, we have a wrong critical period (8:41:54 > through 13:57:43, where we finally have a hard recovery). Some good soul > could explain this behavior, because without correct logs, Nagios will > generate unreliable availability reports, because Nagios uses only hard > states to produce them. > > TIA, > > SMV > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 1 20:08:26 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Dec 2004 20:08:26 +0100 Subject: Page on Critical Only? In-Reply-To: <41AE154A.1030301@Examen.com> References: <41ADFD0E.1030607@Examen.com> <1101922606.18038.52.camel@localhost> <41AE1473.8090904@op5.se> <41AE154A.1030301@Examen.com> Message-ID: <41AE16AA.1080807@op5.se> Emmett Hogan wrote: > Thanks for the warning!!! I was building 2.0 now...I think I'll put that > on hold for now. > Have a look at the commit page. Use one that's two (or was it three?) commits back (consider 20 commits in one day as "one commit"). > (Boy...that would have been ugly!) > Not really, no. It just crashes when the stack grows beyond its' limits. We're working on it though, and Ethan fixed the worst of the leaks (~6K/notification) just yesterday. > -Emmett > > Andreas Ericsson wrote: > >>> Oh, yeah, maybe that's not in 1.x - I'm running 2.x. Sorry about that. >>> >>> you should run 2.x ;) >>> >> >> Actually, no. Nagios 2.0 HEAD has a memory leak which will inevitably >> (given enough time) crash it. Unless you specifically need some >> features in 2.0 you should be running 1.2 (or whatever the latest 1.x >> is). >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgoggiano at doit.nv.gov Wed Dec 1 20:30:02 2004 From: dgoggiano at doit.nv.gov (Dan Goggiano) Date: Wed, 1 Dec 2004 11:30:02 -0800 Subject: Monitoring NT Directory File Count Message-ID: <6DB6E1ED582EFE45BE27468BD45B982F01D5342A@MX1.STATE.NV.US> I need to monitor the count of files in a directory on NT. In the past I've gotten around this by using a windows performance counter that was provided by the product I was monitoring, but in this particular case, I need to monitor Symantec's Antivirus for Gateways queue and there is no performance counter- I wasn't jazzed about the idea of using NRPE_NT and writing a perl script to do it, though it would be simple... Ideas? - Dan Goggiano Computer Operations Manager State of Nevada Department of Information Technology This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to it is addressed. Any review, dissemination or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-Mail and delete all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Wed Dec 1 21:15:50 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 01 Dec 2004 14:15:50 -0600 Subject: Page on Critical Only? In-Reply-To: <41AE1473.8090904@op5.se> References: <41AE1473.8090904@op5.se> Message-ID: <1101932150.18038.62.camel@localhost> On Wed, 2004-12-01 at 12:58 -0600, Andreas Ericsson wrote: > jeff vier wrote: > > On Wed, 2004-12-01 at 11:19 -0600, Emmett Hogan wrote: > > > >>Strange....my docs mention nothing about "State Restrictions"...is > >>this something only in the 1.x CVS release? (Or, more likely, I am > >>looking at the wrong doc: docs/escalations.html) > > > > > > Oh, yeah, maybe that's not in 1.x - I'm running 2.x. Sorry about > that. > > > > you should run 2.x ;) > > > > Actually, no. Nagios 2.0 HEAD has a memory leak which will > inevitably > (given enough time) crash it. Unless you specifically need some > features > in 2.0 you should be running 1.2 (or whatever the latest 1.x is). What is your metric of 'enough time'? I run it and have no 'real' issues that I can discern. I have [distributed] sites with daemon uptimes well into weeks and sometimes over a month (between adds/changes). I noted in the -devel discussion that you were talking about -HUPs - I never -HUP my nag daemons, I only stop/start in case one of the threads hang. Maybe that's the difference. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Lattanzi at fitchratings.com Wed Dec 1 21:25:51 2004 From: Robert.Lattanzi at fitchratings.com (Robert.Lattanzi at fitchratings.com) Date: Wed, 1 Dec 2004 15:25:51 -0500 Subject: check_nrpe event handler early exit Message-ID: >NRPE only returns exactly one line of output. That's how nagios does it, >so that's how NRPE does it. Are you absolutely positive that the script >doesn't continue to run, but you don't get any further output? It's also >more than likely that the script would need elevated privileges to be >able to send signals to another process. yes i'm sure. why would I post this if i wasn't? it runs as root via sudo. >Are you running it as the same user as NRPE runs as? Of course- why would I do otherwise? >You're possibly putting them too close together (in a wallclock sense of >speaking). Add a "sleep 5" line between them. That should allow all >processes to clear away their pid- and lock-files. Tried that >That's just plain wrong. That's just plain obnoxious. >That won't help in the slightest. And neither have you. >You're welcome. You've done nothing. If you're going to cop so much attitude you should at least make some useful suggestions. 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. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Scholten at iconz.net Wed Dec 1 22:21:33 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 02 Dec 2004 10:21:33 +1300 Subject: R: services check stale In-Reply-To: References: Message-ID: <41AE35DD.6010905@iconz.net> > -}> 1) reduce the "stale" situations > -}Increase the freshness_threshold > > I did not find freshness_threshold parameter neither in the nagios.cfg file > nor in hosts/services configurations file. > I did not find it in the manual too ... sorry, may you tell me where I can > find it? > Regards? Which version are you running? chewbacca:/usr/local/nagios/etc# cat nagios.cfg| grep freshness # check the "freshness" of service results. Enabling this option # Values: 1 = enabled freshness checking, 0 = disable freshness checking check_service_freshness=1 # check the "freshness" of service check results. If you have # disabled service freshness checking, this option has no effect. freshness_check_interval=60 so it's in the nagios.cfg and in services you can add check_freshness 1 freshness_threshold 600 read the documentation, it is there.. http://your nagios host/docs/xodtemplate.html Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wcooley at nakedape.cc Wed Dec 1 22:13:41 2004 From: wcooley at nakedape.cc (Wil Cooley) Date: Wed, 01 Dec 2004 13:13:41 -0800 Subject: Nagios Log analyzer? References: <330CE9F92C02064B86090D40B479712F573A93@usa0300ms04.na.xerox.net> Message-ID: On Tue, 30 Nov 2004 11:51:32 -0500, Kemp, Darren wrote: > Before I rewrite something that already exists, I'm curious if anyone is > using/knows of a simple log analyzer for NAGIOS logs. Basically I am > trying to create something that can go through logs and create a > availability report (csv probably) for a single or group of hosts and/or > services. Not a direct answer to your question, but CPAN turns up a number of modules for Nagios, some of which might be of use to you. Wil -- Wil Cooley wcooley at nakedape.cc Naked Ape Consulting http://nakedape.cc * * * * Linux, UNIX, Networking and Security Solutions * * * * ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 1 22:40:08 2004 From: moshesharon at gmail.com (Moshe Sharon) Date: Wed, 1 Dec 2004 21:40:08 +0000 (UTC) Subject: Page on Critical Only? References: <41ADFD0E.1030607@Examen.com> <1101922606.18038.52.camel@localhost> <41AE1473.8090904@op5.se> <41AE154A.1030301@Examen.com> <41AE16AA.1080807@op5.se> Message-ID: hello its pretty simple put 2 contacts in the contacts.cfg and in the group one contact has email only with w,c,r,u and the other has the pager with dummy at email with c only this will do the work for you Moshe Sharon ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Thu Dec 2 01:31:12 2004 From: muksyed at yahoo.com (Mukarram Syed) Date: Wed, 1 Dec 2004 16:31:12 -0800 (PST) Subject: Help in Running Nrpe inside inetd with TCP Wrappers on FreeBSD. In-Reply-To: <41A589C7.2050205@op5.se> References: <41A589C7.2050205@op5.se> Message-ID: <20041202003112.29915.qmail@web13608.mail.yahoo.com> Andreas, that was it...thanks a million for the ultimate fix! Many Thanks for all who helped me out on this. -Mukarram Syed. --- Andreas Ericsson wrote: > Mukarram Syed wrote: > > Jan. > > Thanks always for your responses. > > I did add gaia's IP address in the nrpe.cfg file > and > > rebooted the system. > > I have enabled debug mode "debug=1" in the > nrpe.cfg > > file restarted inetd, I am getting the following > in > > the /var/log/messages: > > > > Nov 23 20:56:22 gaia nrpe[78179]: Unable to open > > config file '//nrpe.cfg' for reading > > Nov 23 20:56:22 gaia nrpe[78179]: Config file > > '//nrpe.cfg' contained errors, bailing out... > > Nov 23 20:56:27 gaia nrpe[78188]: Unable to open > > config file '//nrpe.cfg' for reading > > Nov 23 20:56:27 gaia nrpe[78188]: Config file > > '//nrpe.cfg' contained errors, bailing out... > > > > I have checked everything but I am sure there is > > something missing...Help would be appreciated. > > You haven't specified a configuration file location. > See below. > > > Thanks > > -Mukarram. > > > > --- Jan Scholten wrote: > > > > > >>>Here is my /etc/inetd.conf file with the nrpe > >> > >>line: > >> > >>># Enable NRPE > >>>nrpe stream tcp nowait nagios > >>>/usr/libexec/tcpd > >> > >>/usr/local/etc/nagios/libexec/nrpe > >> > >>>-i /usr/local/etc/nagios/etc/nrpe.cfg --inetd > >> > > > To NRPE, -i and --inetd are the same, and it doesn't > look for a > configuration file by default in the arguments "left > over" by getopt(). > That's why it's trying to fall back to the default > hardcoded > configuration file, which would have been set if you > had specified the > --sysconfdir option at compile time (depending on > what version you're > using). > > You need to change this line to > /usr/local/etc/nagios/libexec/nrpe -c > /usr/local/etc/nagios/etc/nrpe.cfg -i > > Then things will work nicely, assuming that's where > the files are. > > -- > Andreas Ericsson > andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ===== Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Thu Dec 2 03:29:07 2004 From: sandromergvaz at uol.com.br (Sandro Vaz - UOL) Date: Thu, 02 Dec 2004 00:29:07 -0200 Subject: Strange service checks behavior In-Reply-To: <41AE13D8.7000909@op5.se> References: <41ADC4CD.4070504@uol.com.br> <41AE13D8.7000909@op5.se> Message-ID: <41AE7DF3.1060705@uol.com.br> 1) Nagios 1-x-cvs (almost 1.3). 2) Compiled with --with-nagios-user=nagios --with-nagios-grp=nagios --with-file-perfdata 3) Cut and pasted from the GUI, for better viewing date and hour, but also looked at nagios.log and they contain the same logical information. Host and service name replaced for privacy reasons. 4) Don't know specifically, but my server is syncronized with others NTP servers. 5) Just one instance. This is the same problem described in Wed, 16 Apr 2003 04:49:12 -0300, by Brinkmann, Bastian, at Nagios users list, without a single answer. I don't know why, but this questions about service checks almost never get a response (thank you Andreas very much for you help). Yesterday (I guess) a listmate asket about why service checks happened once second after a host had a down and hard state (which I believe is the opposite we read at the manuals), and I've also found in my log files. Once again, thanks. SMV Andreas Ericsson wrote: > Sandro Vaz - UOL wrote: > >> Folks: >> >> I've read the f... manual, "State Types" section, but I can't >> understand why there is no hard recovery after a hard problem, >> generating wrong availability reports. Let me show you what's in my >> log files... >> >> Example 1) After a hard problem (6:38:00) we have a weird soft >> problem (6:42:32) and then a soft recovery (06:52:18). I can't find >> the following hard recovery in the logs. Is this correct? >> > > Not by a longshot, but a little more info is needed before anyone can > correctly answer your question (at least without guessing). > > What version of nagios are you using? How did you compile it? > > Are you sure that this is the way the logs are or did you cut and > paste from the GUI? > > Did you replace the hostname and service description with other values > before posting? If so, how did you do that? > > Do you regularly run ntpdate from cron? If so, how do you sync the > server you run ntpdate against? > > Are you sure you don't have several instances of Nagios running (it's > supposed to fork, so don't get spooked if there are several processes)? > >> November 30, 2004 06:00 [30-11-2004 06:52:18] SERVICE ALERT: >> Client-A-Host-2;Service-X;OK;SOFT;5;OK - 10 enviados, 10 recebidos, >> 0% pacotes perdidos >> [30-11-2004 06:51:32] SERVICE ALERT: >> Client-A-Host-2;Service-X;WARNING;SOFT;4;CRITIAL - 10 enviados, 7 >> recebidos, 30% pacotes perdidos >> [30-11-2004 06:51:10] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;SOFT;3;CRITICAL - 10 enviados, 0 >> recebidos, 100% pacotes perdidos >> [30-11-2004 06:50:04] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;SOFT;2;CRITICAL - 10 enviados, 0 >> recebidos, 100% pacotes perdidos >> [30-11-2004 06:49:04] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;SOFT;1;CRITICAL - 10 enviados, 0 >> recebidos, 100% pacotes perdidos >> [30-11-2004 06:43:04] SERVICE ALERT: >> Client-A-Host-2;Service-X;OK;SOFT;2;OK - 10 enviados, 10 recebidos, >> 0% pacotes perdidos >> [30-11-2004 06:42:32] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;SOFT;1;CRITICAL - 10 enviados, 4 >> recebidos, 60% pacotes perdidos >> [30-11-2004 06:38:00] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;HARD;1;(Service Check Timed Out) >> >> Example 2) From time 8:19:24 thru 8:24:02, we have a hard problem and >> a hard recovery, which is correct. After that we had a hard problem >> (8:41:54) and then a bizarre critical soft (8:53:26), which I can't >> explain. 8:57:32 we have a Soft Recovery. Again I can't find the hard >> recovery in the log files... >> >> November 30, 2004 08:00 [30-11-2004 08:57:32] SERVICE ALERT: >> Client-A-Host-2;Service-X;OK;SOFT;6;OK - 10 enviados, 10 recebidos, >> 0% pacotes perdidos >> [30-11-2004 08:57:24] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;SOFT;5;CRITICAL - 10 enviados, 0 >> recebidos, 100% pacotes perdidos >> [30-11-2004 08:56:22] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;SOFT;4;CRITICAL - 10 enviados, 0 >> recebidos, 100% pacotes perdidos >> [30-11-2004 08:55:22] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;SOFT;3;CRITICAL - 10 enviados, 0 >> recebidos, 100% pacotes perdidos >> [30-11-2004 08:54:22] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;SOFT;2;CRITICAL - 10 enviados, 0 >> recebidos, 100% pacotes perdidos >> [30-11-2004 08:53:26] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;SOFT;1;(Service Check Timed Out) >> [30-11-2004 08:41:54] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;HARD;1;(Service Check Timed Out) >> [30-11-2004 08:24:02] SERVICE ALERT: >> Client-A-Host-2;Service-X;OK;HARD;1;OK - 10 enviados, 9 recebidos, >> 10% pacotes perdidos >> [30-11-2004 08:19:42] SERVICE ALERT: >> Client-A-Host-2;Service-X;CRITICAL;HARD;1;(Service Check Timed Out) >> >> Analyzing these 2 situations, we have a wrong critical period >> (8:41:54 through 13:57:43, where we finally have a hard recovery). >> Some good soul could explain this behavior, because without correct >> logs, Nagios will generate unreliable availability reports, because >> Nagios uses only hard states to produce them. >> >> TIA, >> >> SMV >> >> >> > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.4 - Release Date: 30/11/2004 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradeep.hodigere at gmail.com Thu Dec 2 04:00:25 2004 From: pradeep.hodigere at gmail.com (Pradeep Hodigere) Date: Wed, 1 Dec 2004 19:00:25 -0800 Subject: servicedependency bug Message-ID: <267365d104120119002b176e45@mail.gmail.com> Hi, I have service dependency between 3 services (on the same host) in the order: C => B => A and i set the execution_failure_criteria in B's and C's service dependency definitions to 'n' (listed below are the three definitions). When A's state changes to CRITICAL, nagios stops checking B and C services. nagios logs don't point to execution of these services or alert messages indicating B and C have failed (they are going to fail as they depend on A to succed). Please let me know if this is a known problem and if its been fixed. This behaviour is seen from a build using the latest cvs snapshot. thanks, -pradeep define service { name a service_description A .. other directives .. } define service { name b service_description B } define servicedependency { host_name localhost service_description A dependent_host_name localhost dependent_service_description B execution_failure_criteria n notification_failure_criteria w,c,u register 1 } define service { name c service_description C } define servicedependency { host_name localhost service_description B dependent_host_name localhost dependent_service_description C execution_failure_criteria n notification_failure_criteria w,c,u register 1 } ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 databasedba.com Thu Dec 2 05:35:14 2004 From: nilesh at databasedba.com (Nilesh) Date: Thu, 02 Dec 2004 10:05:14 +0530 Subject: Regarding Trends status after Network Outage In-Reply-To: <267365d104120119002b176e45@mail.gmail.com> References: <267365d104120119002b176e45@mail.gmail.com> Message-ID: <41AE9B82.3080608@databasedba.com> Dear All, I have noticed a strange behaviour of Trends in nagios. I'm using nagios-1.2 When ever there is a network outage, It is updating information immediately for the same. After Recover of network connectivity all host check and service checks are getting checked and updating information for availability of hosts and services. But many times Trends keeps on continuin with either "HOST UNREACHABLE" status and services with "CRITICAL" status. In such cases when i reboots nagios server then it is recovering it , but it is not a solution. So how to resolve this problem. What i want is, as soon as host &/OR service check get success after network outage, Trends Must get update immediately. Waiting For Reply With regards Linux Admin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lance.grover at gmail.com Thu Dec 2 05:57:55 2004 From: lance.grover at gmail.com (Lance Grover) Date: Wed, 1 Dec 2004 21:57:55 -0700 Subject: Raid status checking for windows and linux - all kinds of raid cards Message-ID: <57fb4d4304120120576b00ee90@mail.gmail.com> Hi, I am looking for a good nagios plugin - or multiple plugins that can check the status of a raid array, we use a ton of different kinds of raid cards so I am not looking for a one plugin fits all. We really want nagios to be able to tell us if one of the raid arrays is degraided or not. If anyone can give any form of direction that would be great. Does anyone have something to monitor their raid arrays, snmp, nagios, -- Thanks, Lance Grover ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ebollengier at sigma.fr Thu Dec 2 11:04:59 2004 From: ebollengier at sigma.fr (BOLLENGIER Eric) Date: Thu, 02 Dec 2004 11:04:59 +0100 Subject: Regarding Trends status after Network Outage In-Reply-To: <41AE9B82.3080608@databasedba.com> References: <267365d104120119002b176e45@mail.gmail.com> <41AE9B82.3080608@databasedba.com> Message-ID: <1101981899.25239.15.camel@plume.sigma.fr> Hi, I have the same bug (nagios 1.2), in a race condition (after a host reboot). ssh down -> reboot -> host up -> ssh down -> ssh up [1099042385] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Connection refused [1099042445] SERVICE ALERT: test;ssh;CRITICAL;SOFT;2;Socket timeout [1099042525] SERVICE ALERT: test;ssh;CRITICAL;HARD;3;Socket timeout [1099042715] HOST ALERT: test;DOWN;SOFT;1;CRITICAL [1099042725] HOST ALERT: test;DOWN;SOFT;2;CRITICAL [1099042735] HOST ALERT: test;DOWN;SOFT;3;CRITICAL [1099042745] HOST ALERT: test;DOWN;SOFT;4;CRITICAL [1099042755] HOST ALERT: test;DOWN;HARD;5;CRITICAL [1099042755] SERVICE ALERT: test;ping;CRITICAL;HARD;1;CRITICAL [1099042935] HOST ALERT: test;UP;HARD;1;PING OK [1099042935] SERVICE ALERT: test;ping;OK;HARD;1;PING OK [1099042945] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Socket timeout [1099043005] SERVICE ALERT: test;ssh;OK;SOFT;2;TCP OK ====> BUG ssh is in CRITICAL HARD STATE, but OK is SOFT !! [1099043265] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Socket timeout [1099043335] SERVICE ALERT: test;ssh;CRITICAL;SOFT;2;Socket timeout [1099043395] SERVICE ALERT: test;ssh;CRITICAL;HARD;3;Socket timeout [1099043475] HOST ALERT: test;DOWN;SOFT;1;CRITICAL [1099043485] HOST ALERT: test;DOWN;SOFT;2;CRITICAL [1099043495] HOST ALERT: test;DOWN;SOFT;3;CRITICAL [1099043505] HOST ALERT: test;DOWN;SOFT;4;CRITICAL [1099043515] HOST ALERT: test;DOWN;HARD;5;CRITICAL [1099043565] SERVICE ALERT: test;ping;CRITICAL;HARD;1;CRITICAL [1099043715] HOST ALERT: test;UP;HARD;1;PING OK [1099043715] SERVICE ALERT: test;ping;OK;HARD;1;PING OK [1099043745] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Socket timeout [1099043815] SERVICE ALERT: test;ssh;CRITICAL;SOFT;2;Socket timeout [1099043865] SERVICE ALERT: test;ssh;OK;HARD;3;TCP OK =====> hier it's ok, because ssh goes up after 2 test If you want look this bug in your nagios log file, you could use my simple perl script (see attachment) PS : to use it for i in nagios-*2004* do ./mayday_bug_trends.pl $i done Regards Le jeudi 02 d?cembre 2004 ? 10:05 +0530, Nilesh a ?crit : > Dear All, > > I have noticed a strange behaviour of Trends in nagios. > I'm using nagios-1.2 > > When ever there is a network outage, It is updating information > immediately for the same. > After Recover of network connectivity all host check and service checks > are getting checked and updating information > for availability of hosts and services. But many times Trends keeps on > continuin with either "HOST UNREACHABLE" status and services with > "CRITICAL" status. > > In such cases when i reboots nagios server then it is recovering it , > but it is not a solution. > > So how to resolve this problem. > What i want is, as soon as host &/OR service check get success after > network outage, Trends Must get update immediately. > > Waiting For Reply > With regards > > Linux Admin > -- Eric BOLLENGIER, Administrateur Syst?me - Poste 1325 SIGMA Informatique http://www.sigma.fr 3 rue Newton, BP 4127, 44241 La Chapelle sur Erdre Cedex tel : 02.40.37.14.00 -------------- next part -------------- A non-text attachment was scrubbed... Name: mayday_bug_trends.pl Type: application/x-perl Size: 1172 bytes Desc: not available URL: From max at militant.dk Thu Dec 2 11:24:25 2004 From: max at militant.dk (Max Andersen) Date: Thu, 02 Dec 2004 11:24:25 +0100 Subject: Check_nrpe with and without ssl Message-ID: <41AEED59.6040009@militant.dk> Hi, I'm monitoring a lot of hosts with check_nrpe with ssl option enabled, and it works fine, but I'll have to monitor a single solaris host with nrpe without ssl. Do I really have to recompile nrpe on the monitoring host, without ssl, and use 2 check_nrpe scripts? Or can I use the check_nrpe with a parameter -nossl or something, and make another check_command ? Sincerely Max Andersen -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3697 bytes Desc: S/MIME Cryptographic Signature URL: From jamesmarkcoggan at yahoo.com.br Thu Dec 2 11:44:14 2004 From: jamesmarkcoggan at yahoo.com.br (James Coggan) Date: Thu, 02 Dec 2004 08:44:14 -0200 Subject: [Fwd: Nagiosgraph] Message-ID: <41AEF1FE.6030308@yahoo.com.br> -------- Original Message -------- Subject: Nagiosgraph Date: Thu, 02 Dec 2004 08:17:46 -0200 From: James Coggan To: nagios-users at lists.sourceforge.net Hi, Anyone have a nagiosgraph map file to share or maybe knows were i can get a nice one??? Thanks ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thewolf at fastmail.fm Thu Dec 2 12:24:27 2004 From: thewolf at fastmail.fm (The Wolf) Date: Thu, 02 Dec 2004 12:24:27 +0100 Subject: nagios and mysql support problem In-Reply-To: <41AE1194.2080800@op5.se> References: <41A4DD5E.4010003@fastmail.fm> <41A708EA.5090305@fastmail.fm> <1101457153.3014.8.camel@fuego> <41A88D21.1020501@fastmail.fm> <41ADBFCE.4070408@fastmail.fm> <41AE1194.2080800@op5.se> Message-ID: <41AEFB6B.7060900@fastmail.fm> On 12/1/04 7:46 PM, Andreas Ericsson wrote: > It's due to nagios. Nagios 1.x did some rather clumsy status updates, > involving the complete deletion and recreation of the status tables. > Nagios 2 will drop it so you should get used to running filebased anyway. I got it, I am going to run Nagios 1.2 with files. Any ETA about the Nagios 2.0 release? Thanks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thewolf at fastmail.fm Thu Dec 2 12:27:23 2004 From: thewolf at fastmail.fm (The Wolf) Date: Thu, 02 Dec 2004 12:27:23 +0100 Subject: nagios and mysql support problem In-Reply-To: <41ADDD0A.2070506@interface-business.de> References: <41A4DD5E.4010003@fastmail.fm> <41A708EA.5090305@fastmail.fm> <1101457153.3014.8.camel@fuego> <41A88D21.1020501@fastmail.fm> <41ADBFCE.4070408@fastmail.fm> <41ADDD0A.2070506@interface-business.de> Message-ID: <41AEFC1B.9070506@fastmail.fm> On 12/1/04 4:02 PM, Stephan Janosch wrote: > Perhaps you could use the template method, for configuring you nagios? Hi, I am already using templates for the Nagios config files. BTW, do you know any good web interface to manage Nagios config? I tried a few, but none worked fine ... My problem was about using Nagios MySQL support for storing status data ... Thanks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Thu Dec 2 12:30:22 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Thu, 02 Dec 2004 12:30:22 +0100 Subject: Raid status checking for windows and linux - all kinds of raid cards In-Reply-To: <57fb4d4304120120576b00ee90@mail.gmail.com> References: <57fb4d4304120120576b00ee90@mail.gmail.com> Message-ID: <41AEFCCE.2020507@interface-business.de> Lance Grover wrote: > Hi, I am looking for a good nagios plugin - or multiple plugins that > can check the status of a raid array, we use a ton of different kinds > of raid cards so I am not looking for a one plugin fits all. We > really want nagios to be able to tell us if one of the raid arrays is > degraided or not. If anyone can give any form of direction that would > be great. Does anyone have something to monitor their raid arrays, > snmp, nagios, > Hi Lance, perhaps you should have a look at the documentation of your raid arrays. If you want to monitor them, you need a way to thier status data. Try to find a way to the data and then you can look for a plugin, which is capable to go this way (sorry for my bad english). If your raid arrays are monitorable via snmp (look at their docus), check_snmp could be a solution for you. Bye, Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Thu Dec 2 12:33:37 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Thu, 02 Dec 2004 12:33:37 +0100 Subject: nagios and mysql support problem In-Reply-To: <41AEFB6B.7060900@fastmail.fm> References: <41A4DD5E.4010003@fastmail.fm> <41A708EA.5090305@fastmail.fm> <1101457153.3014.8.camel@fuego> <41A88D21.1020501@fastmail.fm> <41ADBFCE.4070408@fastmail.fm> <41AE1194.2080800@op5.se> <41AEFB6B.7060900@fastmail.fm> Message-ID: <41AEFD91.8000209@interface-business.de> The Wolf wrote: > On 12/1/04 7:46 PM, Andreas Ericsson wrote: > >> It's due to nagios. Nagios 1.x did some rather clumsy status updates, >> involving the complete deletion and recreation of the status tables. >> Nagios 2 will drop it so you should get used to running filebased anyway. > > > I got it, I am going to run Nagios 1.2 with files. > > Any ETA ab When it's done. Simply not earlier. For your configuration-thingy, have a look at http://www.nagiosexchange.org/ under addons you will find some tools. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From viktorija at oic.lv Thu Dec 2 12:51:25 2004 From: viktorija at oic.lv (Viktorija Almazova) Date: Thu, 2 Dec 2004 11:51:25 GMT Subject: snmp and nagios Message-ID: <20041202115125.54D7DFFFD@taurus.oic.lv> hello, i cannot find documentation, how to configure Nagios with SNMP to get information like cpu utilize, process info and so on from FreeBSD computer and Linux computers. Can someone suggest me links to howto, documentation? Viktorija ------------------------------------- WWW e-pasts :: http://www.oic.lv ------------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 databasedba.com Thu Dec 2 12:49:26 2004 From: nilesh at databasedba.com (Nilesh) Date: Thu, 02 Dec 2004 17:19:26 +0530 Subject: Regarding Trends status after Network Outage In-Reply-To: <1101981899.25239.15.camel@plume.sigma.fr> References: <267365d104120119002b176e45@mail.gmail.com> <41AE9B82.3080608@databasedba.com> <1101981899.25239.15.camel@plume.sigma.fr> Message-ID: <41AF0146.6000708@databasedba.com> Do you have solution for this any body help us to get rid of this problem linux admin BOLLENGIER Eric wrote: >Hi, > >I have the same bug (nagios 1.2), in a race condition (after a host >reboot). > >ssh down -> reboot -> host up -> ssh down -> ssh up > >[1099042385] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Connection refused >[1099042445] SERVICE ALERT: test;ssh;CRITICAL;SOFT;2;Socket timeout >[1099042525] SERVICE ALERT: test;ssh;CRITICAL;HARD;3;Socket timeout >[1099042715] HOST ALERT: test;DOWN;SOFT;1;CRITICAL >[1099042725] HOST ALERT: test;DOWN;SOFT;2;CRITICAL >[1099042735] HOST ALERT: test;DOWN;SOFT;3;CRITICAL >[1099042745] HOST ALERT: test;DOWN;SOFT;4;CRITICAL >[1099042755] HOST ALERT: test;DOWN;HARD;5;CRITICAL >[1099042755] SERVICE ALERT: test;ping;CRITICAL;HARD;1;CRITICAL >[1099042935] HOST ALERT: test;UP;HARD;1;PING OK >[1099042935] SERVICE ALERT: test;ping;OK;HARD;1;PING OK >[1099042945] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Socket timeout >[1099043005] SERVICE ALERT: test;ssh;OK;SOFT;2;TCP OK > >====> BUG ssh is in CRITICAL HARD STATE, but OK is SOFT !! > >[1099043265] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Socket timeout >[1099043335] SERVICE ALERT: test;ssh;CRITICAL;SOFT;2;Socket timeout >[1099043395] SERVICE ALERT: test;ssh;CRITICAL;HARD;3;Socket timeout >[1099043475] HOST ALERT: test;DOWN;SOFT;1;CRITICAL >[1099043485] HOST ALERT: test;DOWN;SOFT;2;CRITICAL >[1099043495] HOST ALERT: test;DOWN;SOFT;3;CRITICAL >[1099043505] HOST ALERT: test;DOWN;SOFT;4;CRITICAL >[1099043515] HOST ALERT: test;DOWN;HARD;5;CRITICAL >[1099043565] SERVICE ALERT: test;ping;CRITICAL;HARD;1;CRITICAL >[1099043715] HOST ALERT: test;UP;HARD;1;PING OK >[1099043715] SERVICE ALERT: test;ping;OK;HARD;1;PING OK >[1099043745] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Socket timeout >[1099043815] SERVICE ALERT: test;ssh;CRITICAL;SOFT;2;Socket timeout >[1099043865] SERVICE ALERT: test;ssh;OK;HARD;3;TCP OK > >=====> hier it's ok, because ssh goes up after 2 test > >If you want look this bug in your nagios log file, you could use >my simple perl script (see attachment) > >PS : >to use it > >for i in nagios-*2004* >do > ./mayday_bug_trends.pl $i >done > >Regards > >Le jeudi 02 d?cembre 2004 ? 10:05 +0530, Nilesh a ?crit : > > >>Dear All, >> >>I have noticed a strange behaviour of Trends in nagios. >>I'm using nagios-1.2 >> >>When ever there is a network outage, It is updating information >>immediately for the same. >>After Recover of network connectivity all host check and service checks >>are getting checked and updating information >>for availability of hosts and services. But many times Trends keeps on >>continuin with either "HOST UNREACHABLE" status and services with >>"CRITICAL" status. >> >>In such cases when i reboots nagios server then it is recovering it , >>but it is not a solution. >> >>So how to resolve this problem. >>What i want is, as soon as host &/OR service check get success after >>network outage, Trends Must get update immediately. >> >>Waiting For Reply >>With regards >> >>Linux Admin >> >> >> > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 databasedba.com Thu Dec 2 12:48:20 2004 From: nilesh at databasedba.com (Nilesh) Date: Thu, 02 Dec 2004 17:18:20 +0530 Subject: [Fwd: Nagiosgraph] In-Reply-To: <41AEF1FE.6030308@yahoo.com.br> References: <41AEF1FE.6030308@yahoo.com.br> Message-ID: <41AF0104.9040908@databasedba.com> yep i have it here it is ... linux admin James Coggan wrote: > > > -------- Original Message -------- > Subject: Nagiosgraph > Date: Thu, 02 Dec 2004 08:17:46 -0200 > From: James Coggan > To: nagios-users at lists.sourceforge.net > > > > Hi, > > Anyone have a nagiosgraph map file to share or maybe knows were i can > get a nice one??? > Thanks > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 embedded and charset-unspecified text was scrubbed... Name: map URL: From v-alloo at ti.com Thu Dec 2 13:20:30 2004 From: v-alloo at ti.com (Alloo, Vincent) Date: Thu, 2 Dec 2004 13:20:30 +0100 Subject: Check_nrpe with and without ssl Message-ID: You can use: check_nrpe -n (undocumented option) Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Max Andersen > Sent: Thursday, December 02, 2004 11:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_nrpe with and without ssl > > Hi, > > I'm monitoring a lot of hosts with check_nrpe with ssl option enabled, > and it works fine, but I'll have to monitor a single solaris host with > nrpe without ssl. > > Do I really have to recompile nrpe on the monitoring host, without ssl, > and use 2 check_nrpe scripts? > > Or can I use the check_nrpe with a parameter -nossl or something, and > make another check_command ? > > Sincerely > Max Andersen ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 egg.com Thu Dec 2 16:19:16 2004 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 2 Dec 2004 15:19:16 -0000 Subject: Announcing nagiosplug 1.4.0alpha2 Message-ID: Just to let you know that the Nagiosplug team have released nagiosplug-1.4.0alpha2 on Sourceforge at http://sourceforge.net/projects/nagiosplug. Please can you download and try it out. If you successfully compile it on your OS, please add a comment to http://sourceforge.net/forum/forum.php?forum_id=427138 to let us know. The next alpha release is due 16/12/2004. The final 1.4 release is due to be released by the end of January. Ton ----------------------------------------- This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which is authorised and regulated by the Financial Services Authority. Egg Investments Ltd. is entered in the FSA register under number 190518. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Thu Dec 2 16:32:50 2004 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Thu, 2 Dec 2004 10:32:50 -0500 Subject: Monitoring current users Message-ID: <200412021527.iB2FRgGQ014473@mail1.firstbhph.com> Hello all. Several of the servers I'm monitoring are accessed via Samba. I'd like to monitor the number of current users on those systems. I am using the Current Users service, but it reports 0 users logged in to those systems. I assume that's because they're not actually logged in, just using apps and files on the Samba shares. Is there a way to monitor the "Samba users"? Thanks. Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From amoore at dekalbmemorial.com Thu Dec 2 17:48:30 2004 From: amoore at dekalbmemorial.com (Aaron K. Moore) Date: Thu, 2 Dec 2004 11:48:30 -0500 Subject: check_nrpe event handler early exit Message-ID: <60D398EB2DB948409CA1F50D8AF1225722988C@exch1.dekalbmemorial.local> I recently wrote an event handler for some processes that I monitor. I set the event handler up to run locally on my Nagios sever. Then I used ssh to connect to the remote host and execute the restart command using sudo. That way I didn't have to worry about NRPE timing out because the restart command was taking too long to execute. -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, IN Phone: 260.920.2808 E-mail: amoore at dekalbmemorial.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert.Lattanzi at fitchratings.com Sent: Wednesday, December 01, 2004 3:26 PM To: Andreas Ericsson Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] check_nrpe event handler early exit >NRPE only returns exactly one line of output. That's how nagios does it, >so that's how NRPE does it. Are you absolutely positive that the script >doesn't continue to run, but you don't get any further output? It's also >more than likely that the script would need elevated privileges to be >able to send signals to another process. yes i'm sure. why would I post this if i wasn't? it runs as root via sudo. >Are you running it as the same user as NRPE runs as? Of course- why would I do otherwise? >You're possibly putting them too close together (in a wallclock sense of >speaking). Add a "sleep 5" line between them. That should allow all >processes to clear away their pid- and lock-files. Tried that >That's just plain wrong. That's just plain obnoxious. >That won't help in the slightest. And neither have you. >You're welcome. You've done nothing. If you're going to cop so much attitude you should at least make some useful suggestions. 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. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Thu Dec 2 18:21:55 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Thu, 2 Dec 2004 15:21:55 -0200 (BRDT) Subject: Templates for Web Interface Message-ID: Is there any project developing other templates for the Nagios web interface? -- Leonardo Henrique Machado Universidade Federal de Minas Gerais ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott_yem at agilent.com Thu Dec 2 18:55:24 2004 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Thu, 2 Dec 2004 09:55:24 -0800 Subject: Using Nagios to restart Windows services Message-ID: <65213341217E8D458E7C78E6640C7495044BF53D@waglmb01.labs.agilent.com> I have this setup going through nrpe-nt with a script on the server. Scott Yem Research Computing Services Agilent Laboratories _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeff Engstrom Sent: Thursday, December 02, 2004 9:36 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Using Nagios to restart Windows services Greetings all, Back in 2002 I had configured Nagios "Netsaint back then" to restart a service on a Windows 2000 server. For the life of me, I cannot remember what was used to handle this. Just need a push in the right direction... Thanks! Jeff Engstrom -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeff.Engstrom at fortix.net Thu Dec 2 18:55:58 2004 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Thu, 2 Dec 2004 09:55:58 -0800 Subject: Using Nagios to start/stop Windows Services Message-ID: <6E8A7F9B09E71340A7BCFF709CBEC597D7779D@ftx2k3-pdc01> Greetings all, Back in 2002 I had configured Nagios "Netsaint back then" to restart a service on a Windows 2000 server. For the life of me, I cannot remember what was used to handle this. Just need a push in the right direction... Thanks! Jeff Engstrom -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeff.Engstrom at fortix.com Thu Dec 2 19:03:46 2004 From: Jeff.Engstrom at fortix.com (Jeff Engstrom) Date: Thu, 2 Dec 2004 10:03:46 -0800 Subject: Using Nagios to start/stop Windows Services Message-ID: <6E8A7F9B09E71340A7BCFF709CBEC597D777A4@ftx2k3-pdc01> Greetings all, Back in 2002 I had configured Nagios "Netsaint back then" to restart a service on a Windows 2000 server. For the life of me, I cannot remember what was used to handle this. Just need a push in the right direction... Thanks! Jeff Engstrom -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeff.Engstrom at fortix.net Thu Dec 2 18:36:03 2004 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Thu, 2 Dec 2004 09:36:03 -0800 Subject: Using Nagios to restart Windows services Message-ID: <6E8A7F9B09E71340A7BCFF709CBEC597D77797@ftx2k3-pdc01> Greetings all, Back in 2002 I had configured Nagios "Netsaint back then" to restart a service on a Windows 2000 server. For the life of me, I cannot remember what was used to handle this. Just need a push in the right direction... Thanks! Jeff Engstrom -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Dec 2 19:33:10 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Dec 2004 19:33:10 +0100 Subject: check_nrpe event handler early exit In-Reply-To: References: Message-ID: <41AF5FE6.80900@op5.se> Robert.Lattanzi at fitchratings.com wrote: > >>NRPE only returns exactly one line of output. That's how nagios does it, >>so that's how NRPE does it. Are you absolutely positive that the script >>doesn't continue to run, but you don't get any further output? It's also >>more than likely that the script would need elevated privileges to be >>able to send signals to another process. > > > yes i'm sure. why would I post this if i wasn't? it runs as root via sudo. > > >>Are you running it as the same user as NRPE runs as? > > > Of course- why would I do otherwise? > > >>You're possibly putting them too close together (in a wallclock sense of >>speaking). Add a "sleep 5" line between them. That should allow all >>processes to clear away their pid- and lock-files. > > > Tried that > > > None of the above info was in your original posting. You'd be surprised how many users test things "the wrong way". >>That's just plain wrong. > > > That's just plain obnoxious. > I don't recall what this was about, but putting it out of context sure makes it look that way. > > >>That won't help in the slightest. > > And neither have you. > > >>You're welcome. > > You've done nothing. If you're going to cop so much attitude you should at > least make some useful suggestions. > Re-post your original message and include some log output with debug=1 in nrpe.conf. It would also help if you posted the script you're trying to run, the nrpe.conf in its entirety as well as the output of su - nrpeuser -c "sudo thescript" and time thescript That way I'll have a decent chance of telling you what's going wrong. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 2 19:44:00 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Dec 2004 19:44:00 +0100 Subject: nagios and mysql support problem In-Reply-To: <41AEFB6B.7060900@fastmail.fm> References: <41A4DD5E.4010003@fastmail.fm> <41A708EA.5090305@fastmail.fm> <1101457153.3014.8.camel@fuego> <41A88D21.1020501@fastmail.fm> <41ADBFCE.4070408@fastmail.fm> <41AE1194.2080800@op5.se> <41AEFB6B.7060900@fastmail.fm> Message-ID: <41AF6270.2020408@op5.se> The Wolf wrote: > On 12/1/04 7:46 PM, Andreas Ericsson wrote: > >> It's due to nagios. Nagios 1.x did some rather clumsy status updates, >> involving the complete deletion and recreation of the status tables. >> Nagios 2 will drop it so you should get used to running filebased anyway. > > > I got it, I am going to run Nagios 1.2 with files. > > Any ETA about the Nagios 2.0 release? > Small update on that; A couple of nasty bugs have been discovered (but not found) that slowly but steadily chomp away at Nagios' memory usage which eventually causes nagios to crash. It's known to happen with the embedded perl, but has also turned out to happen even with minimal configuration options (although at a slower rate). I'm currently hacking on a crude but sort of functional garbage collector that will most likely fix this and be very helpful in ironing out other irregularities that has to do with memory management. When that is done I'll try and badger Ethan into releasing a beta version which will most likely make more people try it and use it and thus more bugreports will come in so the less critical bugs can be found and fixed a whole lot faster. > Thanks. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 2 19:45:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Dec 2004 19:45:40 +0100 Subject: Monitoring current users In-Reply-To: <200412021527.iB2FRgGQ014473@mail1.firstbhph.com> References: <200412021527.iB2FRgGQ014473@mail1.firstbhph.com> Message-ID: <41AF62D4.3080509@op5.se> Dimitri Yioulos wrote: > Hello all. > > > > Several of the servers I'm monitoring are accessed via Samba. I'd like to > monitor the number of current users on those systems. I am using the > Current Users service, but it reports 0 users logged in to those systems. I > assume that's because they're not actually logged in, just using apps and > files on the Samba shares. Is there a way to monitor the "Samba users"? > netstat -tpan | grep 445 should provide you with a decent starting point for a plugin. > > > Thanks. > > > > Dimitri > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 2 19:46:25 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Dec 2004 19:46:25 +0100 Subject: Templates for Web Interface In-Reply-To: References: Message-ID: <41AF6301.8020704@op5.se> Leonardo Henrique Machado wrote: > Is there any project developing other templates for the Nagios web > interface? > Not that I know of. Such projects are bound to surface sooner or later at www.nagiosexchange.org though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 2 19:47:31 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Dec 2004 19:47:31 +0100 Subject: Using Nagios to start/stop Windows Services In-Reply-To: <6E8A7F9B09E71340A7BCFF709CBEC597D777A4@ftx2k3-pdc01> References: <6E8A7F9B09E71340A7BCFF709CBEC597D777A4@ftx2k3-pdc01> Message-ID: <41AF6343.2080305@op5.se> Jeff Engstrom wrote: > Greetings all, > > > > Back in 2002 I had configured Nagios "Netsaint back then" to > restart a service on a Windows 2000 server. For the life of me, I > cannot remember what was used to handle this. Just need a push in the > right direction... > You want eventhandlers in the documentation. > > > Thanks! > > Jeff Engstrom > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 2 19:36:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Dec 2004 19:36:52 +0100 Subject: Check_nrpe with and without ssl In-Reply-To: References: Message-ID: <41AF60C4.6050408@op5.se> Alloo, Vincent wrote: > You can use: check_nrpe -n (undocumented option) > Which is also equivalent to check_nrpe --no-ssl. > Vincent Alloo > TI France Design Systems Operations Manager > Europe and Middle East IT Services > Texas Instruments France > > E-Mail: v-alloo at ti.com > Phone: +33 4 93 22 26 97 > Mobile: +33 6 82 13 00 80 > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Max Andersen >>Sent: Thursday, December 02, 2004 11:24 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Check_nrpe with and without ssl >> >>Hi, >> >>I'm monitoring a lot of hosts with check_nrpe with ssl option enabled, >>and it works fine, but I'll have to monitor a single solaris host with >>nrpe without ssl. >> >>Do I really have to recompile nrpe on the monitoring host, without > > ssl, > >>and use 2 check_nrpe scripts? >> >>Or can I use the check_nrpe with a parameter -nossl or something, and >>make another check_command ? >> >>Sincerely >>Max Andersen > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Engstrom at fortix.com Thu Dec 2 19:52:32 2004 From: Jeff.Engstrom at fortix.com (Jeff Engstrom) Date: Thu, 2 Dec 2004 10:52:32 -0800 Subject: Using Nagios to start/stop Windows Services Message-ID: <6E8A7F9B09E71340A7BCFF709CBEC597D777AF@ftx2k3-pdc01> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson > Sent: Thursday, December 02, 2004 10:48 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Using Nagios to start/stop Windows Services > > Jeff Engstrom wrote: > > Greetings all, > > > > > > > > Back in 2002 I had configured Nagios "Netsaint back then" to > > restart a service on a Windows 2000 server. For the life of me, I > > cannot remember what was used to handle this. Just need a push in the > > right direction... > > > > You want eventhandlers in the documentation. Yeah... Any idea what client application is required? > > > > > > > Thanks! > > > > Jeff Engstrom > > > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Thu Dec 2 20:24:07 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Thu, 02 Dec 2004 11:24:07 -0800 Subject: Raid status checking for windows and linux - all kinds of raid cards In-Reply-To: <57fb4d4304120120576b00ee90@mail.gmail.com> References: <57fb4d4304120120576b00ee90@mail.gmail.com> Message-ID: <1102015447.14238.233.camel@tesuji.nac.uci.edu> I check a series of RAID arrays through check_by_ssh. check_by_ssh chains into another check_by_ssh, which in turns runs a python script that's wrapped around check_cluster2 and "links -dump ... | grep -c '\', because the software that comes with the RAID provides a web interface that reports "OK" for good RAID elements. I then check to be sure that I'm getting the right number of OK's from each RAID server. The multiple check_by_ssh's are because of multiple routing discontinuities. On Wed, 2004-12-01 at 21:57 -0700, Lance Grover wrote: > Hi, I am looking for a good nagios plugin - or multiple plugins that > can check the status of a raid array, we use a ton of different kinds > of raid cards so I am not looking for a one plugin fits all. We > really want nagios to be able to tell us if one of the raid arrays is > degraided or not. If anyone can give any form of direction that would > be great. Does anyone have something to monitor their raid arrays, > snmp, nagios, > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From swaugh at reachusa.com Thu Dec 2 20:32:13 2004 From: swaugh at reachusa.com (swaugh at reachusa.com) Date: Thu, 2 Dec 2004 14:32:13 -0500 Subject: Compiling Nagios with PostgreSQL Message-ID: Nagios version 1.2 PostgreSQL version 8.0.0beta5 Fedora Core version 2.6.5-1.358 I am trying to compile Nagios with PostgreSQL support and when I run 'make all' after running through the configure script I get the following output: sretention.o(.text+0x27): In function `save_state_information': /nagios/nagios-1.2/base/sretention.c:86: undefined reference to `xrddefault_save_state_information' sretention.o(.text+0x87): In function `read_initial_state_information': /nagios/nagios-1.2/base/sretention.c:122: undefined reference to `xrddefault_read_state_information' /tmp/ccdEBQIe.o(.text+0x3c6): In function `xrddb_connect': ../xdata/xrddb.c:268: undefined reference to `PQconnectdb' /tmp/ccdEBQIe.o(.text+0x3d3):../xdata/xrddb.c:270: undefined reference to `PQstatus' /tmp/ccdEBQIe.o(.text+0x3f0):../xdata/xrddb.c:272: undefined reference to `PQfinish' /tmp/ccdEBQIe.o(.text+0x449): In function `xrddb_disconnect': ../xdata/xrddb.c:304: undefined reference to `PQstatus' /tmp/ccdEBQIe.o(.text+0x45d):../xdata/xrddb.c:305: undefined reference to `PQfinish' /tmp/ccdEBQIe.o(.text+0x479): In function `xrddb_query': ../xdata/xrddb.c:334: undefined reference to `PQexec' /tmp/ccdEBQIe.o(.text+0x490):../xdata/xrddb.c:335: undefined reference to `PQresultStatus' /tmp/ccdEBQIe.o(.text+0x4a6):../xdata/xrddb.c:335: undefined reference to `PQresultStatus' /tmp/ccdEBQIe.o(.text+0x4c6):../xdata/xrddb.c:336: undefined reference to `PQclear' /tmp/ccdEBQIe.o(.text+0x4e1): In function `xrddb_free_query_memory': ../xdata/xrddb.c:363: undefined reference to `PQclear' /tmp/ccdEBQIe.o(.text+0xe71): In function `xrddb_read_program_information': ../xdata/xrddb.c:873: undefined reference to `PQntuples' /tmp/ccdEBQIe.o(.text+0xe91): In function `xrddb_read_program_information': /usr/include/stdlib.h:382: undefined reference to `PQgetvalue' There are more errors before it quits, but they are all undefined reference errors. Any help or ideas on what is wrong would be greatly appreciated. Sean Waugh Network Specialist Reach USA swaugh at reachusa.com (513) 794-4165 -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Thu Dec 2 20:44:46 2004 From: benny at bennyvision.com (C. Bensend) Date: Thu, 2 Dec 2004 13:44:46 -0600 (CST) Subject: Compiling Nagios with PostgreSQL In-Reply-To: References: Message-ID: <3913.134.244.169.17.1102016708.squirrel@134.244.169.17> > ../xdata/xrddb.c:268: undefined reference to `PQconnectdb' > /tmp/ccdEBQIe.o(.text+0x3d3):../xdata/xrddb.c:270: undefined reference to > `PQstatus' > /tmp/ccdEBQIe.o(.text+0x3f0):../xdata/xrddb.c:272: undefined reference to > `PQfinish' > /tmp/ccdEBQIe.o(.text+0x449): In function `xrddb_disconnect': > ../xdata/xrddb.c:304: undefined reference to `PQstatus' > /tmp/ccdEBQIe.o(.text+0x45d):../xdata/xrddb.c:305: undefined reference to > `PQfinish' > /tmp/ccdEBQIe.o(.text+0x479): In function `xrddb_query': > ../xdata/xrddb.c:334: undefined reference to `PQexec' > /tmp/ccdEBQIe.o(.text+0x490):../xdata/xrddb.c:335: undefined reference to > `PQresultStatus' > /tmp/ccdEBQIe.o(.text+0x4a6):../xdata/xrddb.c:335: undefined reference to > `PQresultStatus' > /tmp/ccdEBQIe.o(.text+0x4c6):../xdata/xrddb.c:336: undefined reference to > `PQclear' > /tmp/ccdEBQIe.o(.text+0x4e1): In function `xrddb_free_query_memory': > ../xdata/xrddb.c:363: undefined reference to `PQclear' > /tmp/ccdEBQIe.o(.text+0xe71): In function > `xrddb_read_program_information': > ../xdata/xrddb.c:873: undefined reference to `PQntuples' > /tmp/ccdEBQIe.o(.text+0xe91): In function > `xrddb_read_program_information': > /usr/include/stdlib.h:382: undefined reference to `PQgetvalue' Make sure you have the PostgreSQL -devel package(s) installed as well. Benny -- "... i want to be a farting burping maniac." -- "kerry", on MentalDischarge ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Dec 2 20:48:44 2004 From: benny at bennyvision.com (C. Bensend) Date: Thu, 2 Dec 2004 13:48:44 -0600 (CST) Subject: [Fwd: NDN: Re: Compiling Nagios with PostgreSQL] Message-ID: <3915.134.244.169.17.1102016946.squirrel@134.244.169.17> Sweet lord, can someone please unsubscribe this guy? His mailbox has been full for literally _months._ Benny ---------------------------- Original Message ---------------------------- Subject: NDN: Re: [Nagios-users] Compiling Nagios with PostgreSQL From: Mailer-Daemon at adlc.ca Date: Thu, December 2, 2004 1:47 pm To: "C. Bensend" -------------------------------------------------------------------------- Sorry. Your message could not be delivered to: Stephen Elaschuk (Mailbox or Conference is full.) -- "... i want to be a farting burping maniac." -- "kerry", on MentalDischarge ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cortez at tiscali.it Thu Dec 2 20:55:07 2004 From: cortez at tiscali.it (Luca Corti) Date: Thu, 02 Dec 2004 20:55:07 +0100 Subject: [Fwd: NDN: Re: Compiling Nagios with PostgreSQL] In-Reply-To: <3915.134.244.169.17.1102016946.squirrel@134.244.169.17> References: <3915.134.244.169.17.1102016946.squirrel@134.244.169.17> Message-ID: <1102017307.6383.0.camel@luca> On Thu, 2004-12-02 at 13:48 -0600, C. Bensend wrote: > Sweet lord, can someone please unsubscribe this guy? > > His mailbox has been full for literally _months._ Yeah, please... do that. -- Luca Corti -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From swaugh at reachusa.com Thu Dec 2 21:08:00 2004 From: swaugh at reachusa.com (swaugh at reachusa.com) Date: Thu, 2 Dec 2004 15:08:00 -0500 Subject: Compiling Nagios with PostgreSQL Message-ID: > Make sure you have the PostgreSQL -devel package(s) installed as well. I compiled PostgreSQL and did not install from packages. Sean Waugh Network Specialist Reach USA swaugh at reachusa.com (513) 794-4165 -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Thu Dec 2 21:19:10 2004 From: benny at bennyvision.com (C. Bensend) Date: Thu, 2 Dec 2004 14:19:10 -0600 (CST) Subject: Compiling Nagios with PostgreSQL In-Reply-To: References: Message-ID: <4145.134.244.169.17.1102018772.squirrel@134.244.169.17> > I compiled PostgreSQL and did not install from packages. Then you're going to have to find out where the libs and include files landed, and quite possibly specify them specifically in the ./configure phase of compiling Nagios. Benny -- "... i want to be a farting burping maniac." -- "kerry", on MentalDischarge ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Thu Dec 2 22:07:50 2004 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Thu, 2 Dec 2004 16:07:50 -0500 Subject: Monitoring current users Message-ID: <200412022102.iB2L2eWk021290@mail1.firstbhph.com> > Several of the servers I'm monitoring are accessed via Samba. I'd > like to monitor the number of current users on those systems. I am > using the Current Users service, but it reports 0 users logged in to > those systems. I assume that's because they're not actually logged > in, just using apps and files on the Samba shares. Is there a way to > monitor the "Samba users"? >I think there is a check_smb script in the nagios plugins contrib directory that can do just the thing. And more btw. >It's there or on the nagios exchange site. >Thanks, >Mark I found check_smb.sh at Sourceforge (cvs.sourceforge.net/viewcvs.py/nagiosplug/nagiosplug/contrib/ [Thanks, Mark]). There's no documentation, and I'm not smart enough to know what to do with this. Can anyone help? Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From lance.grover at gmail.com Thu Dec 2 22:39:33 2004 From: lance.grover at gmail.com (Lance Grover) Date: Thu, 2 Dec 2004 14:39:33 -0700 Subject: Raid status checking for windows and linux - all kinds of raid cards In-Reply-To: <1102015447.14238.233.camel@tesuji.nac.uci.edu> References: <57fb4d4304120120576b00ee90@mail.gmail.com> <1102015447.14238.233.camel@tesuji.nac.uci.edu> Message-ID: <57fb4d43041202133959da6f54@mail.gmail.com> On Thu, 02 Dec 2004 11:24:07 -0800, Dan Stromberg wrote: > > I check a series of RAID arrays through check_by_ssh. check_by_ssh > chains into another check_by_ssh, which in turns runs a python script > that's wrapped around check_cluster2 and "links -dump ... | grep -c > '\', because the software that comes with the RAID provides a web > interface that reports "OK" for good RAID elements. > > I then check to be sure that I'm getting the right number of OK's from > each RAID server. > > The multiple check_by_ssh's are because of multiple routing > discontinuities. Thanks, this is great, I am now confortable with a nagios check of a linux raid array, what about windows? Any one have a successful check of a windows raid array? -- Thanks, Lance Grover ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 2 23:59:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Dec 2004 23:59:44 +0100 Subject: Compiling Nagios with PostgreSQL In-Reply-To: References: Message-ID: <41AF9E60.90504@op5.se> swaugh at reachusa.com wrote: > Nagios version 1.2 > PostgreSQL version 8.0.0beta5 > Fedora Core version 2.6.5-1.358 > A not-so wild guess here is that the library versions of postgresql and invocation syntax (and possibly names) of various functions has changed sufficiently enough betweek 7.x.x and 8.x(beta) to cause the errors shown below. As a rule of thumb, most programs don't compile well along with bleeding edge major releases (a 'major' being one where the first digit is incremented) of other software with which it was previously compatible. I suggest you downgrade PostgreSQL to latest 7.4, install postgresql-devel and its dependencies and try again. > I am trying to compile Nagios with PostgreSQL support and when I run 'make > all' after running through the configure script I get the following > output: > > sretention.o(.text+0x27): In function `save_state_information': > /nagios/nagios-1.2/base/sretention.c:86: undefined reference to > `xrddefault_save_state_information' > sretention.o(.text+0x87): In function `read_initial_state_information': > /nagios/nagios-1.2/base/sretention.c:122: undefined reference to > `xrddefault_read_state_information' > /tmp/ccdEBQIe.o(.text+0x3c6): In function `xrddb_connect': > ../xdata/xrddb.c:268: undefined reference to `PQconnectdb' > /tmp/ccdEBQIe.o(.text+0x3d3):../xdata/xrddb.c:270: undefined reference to > `PQstatus' > /tmp/ccdEBQIe.o(.text+0x3f0):../xdata/xrddb.c:272: undefined reference to > `PQfinish' > /tmp/ccdEBQIe.o(.text+0x449): In function `xrddb_disconnect': > ../xdata/xrddb.c:304: undefined reference to `PQstatus' > /tmp/ccdEBQIe.o(.text+0x45d):../xdata/xrddb.c:305: undefined reference to > `PQfinish' > /tmp/ccdEBQIe.o(.text+0x479): In function `xrddb_query': > ../xdata/xrddb.c:334: undefined reference to `PQexec' > /tmp/ccdEBQIe.o(.text+0x490):../xdata/xrddb.c:335: undefined reference to > `PQresultStatus' > /tmp/ccdEBQIe.o(.text+0x4a6):../xdata/xrddb.c:335: undefined reference to > `PQresultStatus' > /tmp/ccdEBQIe.o(.text+0x4c6):../xdata/xrddb.c:336: undefined reference to > `PQclear' > /tmp/ccdEBQIe.o(.text+0x4e1): In function `xrddb_free_query_memory': > ../xdata/xrddb.c:363: undefined reference to `PQclear' > /tmp/ccdEBQIe.o(.text+0xe71): In function > `xrddb_read_program_information': > ../xdata/xrddb.c:873: undefined reference to `PQntuples' > /tmp/ccdEBQIe.o(.text+0xe91): In function > `xrddb_read_program_information': > /usr/include/stdlib.h:382: undefined reference to `PQgetvalue' > > There are more errors before it quits, but they are all undefined > reference errors. Any help or ideas on what is wrong would be greatly > appreciated. > > > Sean Waugh > Network Specialist > Reach USA > swaugh at reachusa.com > (513) 794-4165 -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Dec 3 00:01:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 03 Dec 2004 00:01:57 +0100 Subject: Nagios Log analyzer? In-Reply-To: <330CE9F92C02064B86090D40B479712F573ABE@usa0300ms04.na.xerox.net> References: <330CE9F92C02064B86090D40B479712F573ABE@usa0300ms04.na.xerox.net> Message-ID: <41AF9EE5.5090701@op5.se> Kemp, Darren wrote: > That being said, has anyone ported the CGI's to perl? > Nopes, but they will be ported sometime not too soon to php. Most likely with a lot of modifications. I think I've got some status-parsing routines for PHP if you're interested. > I thought of the same thing, but I am not much of a C programmer when > deadlines count. > > -dkk > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas > Ericsson > Sent: Tuesday, November 30, 2004 6:51 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Log analyzer? > > Kemp, Darren wrote: > >>Before I rewrite something that already exists, I'm curious if anyone > > is > >>using/knows of a simple log analyzer for NAGIOS logs. Basically I am >>trying to create something that can go through logs and create a >>availability report (csv probably) for a single or group of hosts > > and/or > >>services. >> >>Ie. What percentage available is service BLAH during January. >> >>I realize that NAGIOS has this functionality in screen reports, but > > I'm > >>looking to make something automated that will send out via email or >>something like that. >> >>If anyone has any direction I'd appreciate it, otherwise I'll write > > it. > > > Nagios is opensource. avail.cgi should require only very small > modifications to provide the output you need. Cron it and pipe it > through sendmail or some other means of communication and you should be > set in no time at all. > > >>Thanks! >> >>-darren >> >>-- >>Darren Kemp >>XGS >>darren.kemp at xerox.com >> >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real > > users. > >>Discover which products truly live up to the hype. Start reading now. >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Darren.Kemp at xerox.com Thu Dec 2 22:03:58 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 2 Dec 2004 16:03:58 -0500 Subject: Nagios Log analyzer? Message-ID: <330CE9F92C02064B86090D40B479712F573ABF@usa0300ms04.na.xerox.net> Thanks, I am working with the NAGIOS modules now. -dkk -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wil Cooley Sent: Wednesday, December 01, 2004 4:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Nagios Log analyzer? On Tue, 30 Nov 2004 11:51:32 -0500, Kemp, Darren wrote: > Before I rewrite something that already exists, I'm curious if anyone is > using/knows of a simple log analyzer for NAGIOS logs. Basically I am > trying to create something that can go through logs and create a > availability report (csv probably) for a single or group of hosts and/or > services. Not a direct answer to your question, but CPAN turns up a number of modules for Nagios, some of which might be of use to you. Wil -- Wil Cooley wcooley at nakedape.cc Naked Ape Consulting http://nakedape.cc * * * * Linux, UNIX, Networking and Security Solutions * * * * ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Darren.Kemp at xerox.com Thu Dec 2 22:03:11 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 2 Dec 2004 16:03:11 -0500 Subject: Nagios Log analyzer? Message-ID: <330CE9F92C02064B86090D40B479712F573ABE@usa0300ms04.na.xerox.net> That being said, has anyone ported the CGI's to perl? I thought of the same thing, but I am not much of a C programmer when deadlines count. -dkk -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Tuesday, November 30, 2004 6:51 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Log analyzer? Kemp, Darren wrote: > Before I rewrite something that already exists, I'm curious if anyone is > using/knows of a simple log analyzer for NAGIOS logs. Basically I am > trying to create something that can go through logs and create a > availability report (csv probably) for a single or group of hosts and/or > services. > > Ie. What percentage available is service BLAH during January. > > I realize that NAGIOS has this functionality in screen reports, but I'm > looking to make something automated that will send out via email or > something like that. > > If anyone has any direction I'd appreciate it, otherwise I'll write it. > Nagios is opensource. avail.cgi should require only very small modifications to provide the output you need. Cron it and pipe it through sendmail or some other means of communication and you should be set in no time at all. > Thanks! > > -darren > > -- > Darren Kemp > XGS > darren.kemp at xerox.com > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rbilbrey at cymark.com Fri Dec 3 05:09:58 2004 From: rbilbrey at cymark.com (Robert Bilbrey) Date: Thu, 02 Dec 2004 20:09:58 -0800 Subject: Nagios,Postgres & RHEL 3 Message-ID: <41AFE716.1050704@cymark.com> Hi, I am trying to get Nagios working with Postgres 7.4.6 on a RHEL 3 box. It is a new install. The make files are generated with Postgres support enabled and compilation with make all goes w/o a problem. Nagios does not seem to be picking up the db connection information in the resource file. It does pick up the $USER1$ definition in the file. I compiled nagios with the following configure settings : --prefix=/usr/local/nagios --with-command-user=apache --with-command-grp=apache \ --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --enable-embedded-perl \ --with-gd-lib=/usr/lib/ --with-gd-inc=/usr/include/ --with-perlcache \ --with-nagios-user=nagios --with-nagios-grp=nagios --with-init-dir=/etc/init.d \ --with-pgsql-lib=/usr/local/pgsql/lib/ --with-pgsql-inc=/usr/local/pgsql/include/ --with-pgsql-xdata This is the error that Nagios is logging when the service is started.: [1100823991] Error: Could not connect to PostgreSQL database '' on host '' using username '' and password ''. Status data will not be saved! [1100823991] Error: Could not connect to PostgreSQL database '' on host '' using username '' 1and password ''. Retention data will not be processed or saved! [1100823991] Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds... [1100823991] Error: Could not connect to PostgreSQL database '' on host '' using username '' and password '' for comment data! [1100823991] Error: Could not connect to PostgreSQL database '' on host '' using username '' and password '' for downtime data! resources.cfg file: $USER1$=/usr/lib/nagios/plugins #downtime tables xdddb_host=127.0.0.1 xdddb_port=5432 xdddb_username=nagios xdddb_password=xxxxxxxx xdddb_database=nagiosdata xdddb_optimize_data=1 #comment tables xcddb_host=127.0.0.1 xcddb_port=5432 xcddb_username=nagios xcddb_password=xxxxxxxx xcddb_database=nagiosdata xcddb_optimize_data=1 #status tables xsddb_host=127.0.0.1 xsddb_port=5432 xsddb_username=nagios xsddb_password=xxxxxxxx xsddb_database=nagiosdata xsddb_optimize_data=1 xsddb_optimize_interval=3600 #retention Data xrddb_host=127.0.0.1 xrddb_port=5432 xrddb_username=nagios xrddb_password=xxxxxxxx xrddb_database=nagiosdata xrddb_optimize_data=1 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josefranciscogaliana.ruralcaja at cajarural.com Fri Dec 3 08:58:16 2004 From: josefranciscogaliana.ruralcaja at cajarural.com (Jose Galiana) Date: Fri, 3 Dec 2004 08:58:16 +0100 Subject: Nagios,Postgres & RHEL 3 References: <41AFE716.1050704@cymark.com> Message-ID: <004d01c4d90d$de476680$b75017ac@D8900000> Hi, I did have the same problem. You can try to install Postgres 8.0.0 Beta, it works better than 7.4.6. Have a nice day. ----- Original Message ----- From: "Robert Bilbrey" To: Sent: Friday, December 03, 2004 5:09 AM Subject: [Nagios-users] Nagios,Postgres & RHEL 3 > Hi, I am trying to get Nagios working with Postgres 7.4.6 on a RHEL 3 > box. It is a new install. > The make files are generated with Postgres support enabled and > compilation with make all goes w/o a problem. Nagios does not seem to > be picking up the db connection information in the resource file. It > does pick up the $USER1$ definition in the file. > > I compiled nagios with the following configure settings : > > --prefix=/usr/local/nagios --with-command-user=apache > --with-command-grp=apache \ > --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios > --enable-embedded-perl \ > --with-gd-lib=/usr/lib/ --with-gd-inc=/usr/include/ --with-perlcache \ > --with-nagios-user=nagios --with-nagios-grp=nagios > --with-init-dir=/etc/init.d \ > --with-pgsql-lib=/usr/local/pgsql/lib/ > --with-pgsql-inc=/usr/local/pgsql/include/ --with-pgsql-xdata > > This is the error that Nagios is logging when the service is started.: > > [1100823991] Error: Could not connect to PostgreSQL database '' on host > '' using username '' and password ''. Status data will not > be saved! > [1100823991] Error: Could not connect to PostgreSQL database '' on host > '' using username '' 1and password ''. Retention data will > not be processed or saved! > [1100823991] Error: Could not re-connect to database server on host '' > for status data. I'll keep trying every 60 seconds... > [1100823991] Error: Could not connect to PostgreSQL database '' on host > '' using username '' and password '' for comment data! > [1100823991] Error: Could not connect to PostgreSQL database '' on host > '' using username '' and password '' for downtime data! > > resources.cfg file: > $USER1$=/usr/lib/nagios/plugins > > #downtime tables > xdddb_host=127.0.0.1 > xdddb_port=5432 > xdddb_username=nagios > xdddb_password=xxxxxxxx > xdddb_database=nagiosdata > xdddb_optimize_data=1 > > > #comment tables > xcddb_host=127.0.0.1 > xcddb_port=5432 > xcddb_username=nagios > xcddb_password=xxxxxxxx > xcddb_database=nagiosdata > xcddb_optimize_data=1 > > #status tables > xsddb_host=127.0.0.1 > xsddb_port=5432 > xsddb_username=nagios > xsddb_password=xxxxxxxx > xsddb_database=nagiosdata > xsddb_optimize_data=1 > xsddb_optimize_interval=3600 > > #retention Data > xrddb_host=127.0.0.1 > xrddb_port=5432 > xrddb_username=nagios > xrddb_password=xxxxxxxx > xrddb_database=nagiosdata > xrddb_optimize_data=1 > > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From max at militant.dk Fri Dec 3 09:22:22 2004 From: max at militant.dk (Max Andersen) Date: Fri, 03 Dec 2004 09:22:22 +0100 Subject: Check_nrpe with and without ssl In-Reply-To: References: Message-ID: <41B0223E.3030609@militant.dk> Alloo, Vincent wrote: >You can use: check_nrpe -n (undocumented option) > > Thank you. (and Andreas) -n seem to work, but I now get a CRC error trying to connect to the unencrypted host. My monitor host is a SuSE 9.2 Pro with Nagios 1.2 and it tries to monitor a Solaris 8 server without ssl. The check_nrpe script returns this : CHECK_NRPE: Response packet had invalid CRC32. I did recompile check_nrpe to see if it helped, but both the newly compiled check_nrpe without ssl and the '-n' switch give the same results. Simon Kitching made a new nrpe.c and requested users to test it, since he got the same error in Dec. 2003, but noone responded, and it's been so long he forgot all about it. He thought it was something about popen() or similar. Any suggestions or experiences will be appreciated. Sincerely Max -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3697 bytes Desc: S/MIME Cryptographic Signature URL: From m.borsani at it.net Fri Dec 3 10:40:57 2004 From: m.borsani at it.net (Marco Borsani) Date: Fri, 3 Dec 2004 10:40:57 +0100 Subject: Disable notifications does not work ! In-Reply-To: <41AE35DD.6010905@iconz.net> References: <41AE35DD.6010905@iconz.net> Message-ID: Hi all. I have 130 hosts and 400 services monitored with nagios. Sometime happen that I need to disable the notifications for a set of host and its services. I thought to put notifications_enable options equal to 0 for each entity, but "sometimes" it does not work! The problem happen more frequently when I "try" to enable notifications again (notifications_enable 1). Believe, I had not any drink today ! :-) Marco ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephan.janosch at interface-business.de Fri Dec 3 10:58:35 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Fri, 03 Dec 2004 10:58:35 +0100 Subject: Raid status checking for windows and linux - all kinds of raid cards In-Reply-To: <57fb4d43041202133959da6f54@mail.gmail.com> References: <57fb4d4304120120576b00ee90@mail.gmail.com> <1102015447.14238.233.camel@tesuji.nac.uci.edu> <57fb4d43041202133959da6f54@mail.gmail.com> Message-ID: <41B038CB.4010506@interface-business.de> Lance Grover wrote: > On Thu, 02 Dec 2004 11:24:07 -0800, Dan Stromberg > wrote: > >>I check a series of RAID arrays through check_by_ssh. check_by_ssh >>chains into another check_by_ssh, which in turns runs a python script >>that's wrapped around check_cluster2 and "links -dump ... | grep -c >>'\', because the software that comes with the RAID provides a web >>interface that reports "OK" for good RAID elements. >> >>I then check to be sure that I'm getting the right number of OK's from >>each RAID server. >> >>The multiple check_by_ssh's are because of multiple routing >>discontinuities. > > > Thanks, this is great, I am now confortable with a nagios check of a > linux raid array, what about windows? Any one have a successful check > of a windows raid array? > Perhaps you want to use Windows Perfomance Counters? I don't know exactly, whether Windows raid array show up there. If yes, try using check_nt in connection with NSClient. It should be a problem to setup that stuff. You can find NSClient on nagiosexchange.org Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephan.janosch at interface-business.de Fri Dec 3 12:20:10 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Fri, 03 Dec 2004 12:20:10 +0100 Subject: event handler in Alert History Message-ID: <41B04BEA.10003@interface-business.de> Hi fans of Nagios! I have an event handler working, wunderful. But I wanted to look, when this event handler was called. So I startet looking in the alert history for the host, nothing appeared there. The only place I found something about the event handler, was the global event log. So look there, if you want to know how often your handlers are called This is more a tip, than anything else. Greetings, Stephan PS: Perhaps it would be useful, to see the handlers in the alert history too. *hint hint* ;) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From art at caa.is Fri Dec 3 12:32:22 2004 From: art at caa.is (Arnar Thorarinsson) Date: 03 Dec 2004 11:32:22 +0000 Subject: snmp troubles Message-ID: <1102073541.1401.22.camel@black148> Hi all I have a problem with getting the memory information from a host through snmp. I'm using the check_snmp_mem.pl plugin. The result is always "Ram : 0%, Swap : 0% : : OK" with snmpwalk : $ snmpwalk -v1 -c xxxxxx rex 1.3.6.1.4.1.2021.4 UCD-SNMP-MIB::memIndex.0 = INTEGER: 0 UCD-SNMP-MIB::memErrorName.0 = STRING: swap UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: -1 UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: -1 UCD-SNMP-MIB::memTotalReal.0 = INTEGER: -1 UCD-SNMP-MIB::memAvailReal.0 = INTEGER: -1 UCD-SNMP-MIB::memTotalFree.0 = INTEGER: -2 UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 UCD-SNMP-MIB::memShared.0 = INTEGER: -1 UCD-SNMP-MIB::memBuffer.0 = INTEGER: -1 UCD-SNMP-MIB::memCached.0 = INTEGER: -1 UCD-SNMP-MIB::memSwapError.0 = INTEGER: 1 UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: Running out of swap space (-1) Why oh why are all the values -1 or -2 !?!?! tried restarting snmpd but same results. I'm new to this snmp stuff so plz ... HELP host is running rh9 with kernel 2.4.18-14 and net-snmp-5.0.1-6 snmpd.conf file: rocommunity pubnag syslocation Kerfisdeild ServerRoom syscontact art at caa.is disk / 3% disk /xrec_backup 3% load 5.0 6.0 7.0 # 1,5,15 load average max smuxpeer .1.3.6.1.4.1.674.10892.1 -- Regards Arnar Thorarinsson Software Programmer / System Administrator Systems Department, Air Traffic Services Phone : +354 569 4289 ------------------------------------------ Icelandic Civil Aviation Administration Reykjavik Airport IS 121 Reykjavik Iceland http://www.caa.is ------------------------------------------ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Fri Dec 3 15:11:59 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 03 Dec 2004 09:11:59 -0500 Subject: Disable notifications does not work ! In-Reply-To: References: Message-ID: <41B0742F.8040806@dragaera.net> Marco Borsani wrote: > Hi all. > > I have 130 hosts and 400 services monitored with nagios. > > Sometime happen that I need to disable the notifications for a set of host > and its services. > I thought to put notifications_enable options equal to 0 for each entity, > but "sometimes" it does not work! > > The problem happen more frequently when I "try" to enable notifications > again (notifications_enable 1). Sounds like you have 'retain_state_information' set to 1. If you don't want to lose your state info, I suggest going through the web interface to enable/disable notifications. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at cloud9.net Fri Dec 3 15:32:07 2004 From: mark at cloud9.net (Mark Hennessy) Date: Fri, 3 Dec 2004 09:32:07 -0500 (EST) Subject: Nagios 1.2 and comments on scheduled downtime Message-ID: <20041203093135.L21658@earl-grey.cloud9.net> I'm using Nagios 1.2 Hi, I have created scheduled downtime and put comments into the comments field. When I have done this, I don't see that those comments are added to the comments line for the host or service for which the downtime is scheduled. Where are these comments kept, in the logs only? Is this a bug or a feature? I'd like to have those comments come up in the comments field for the host or service in its respective view and show up as a bubble in the all hosts/services listing like a standard comment. Is there a way to do this? Does Nagios 2.0 do this? -- Mark P. Hennessy mark at cloud9.net ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkent at magoazul.com Fri Dec 3 09:22:05 2004 From: mkent at magoazul.com (Matthew Kent) Date: Fri, 03 Dec 2004 08:22:05 +0000 Subject: Nagios 1.2 and comments on scheduled downtime In-Reply-To: <20041203093135.L21658@earl-grey.cloud9.net> References: <20041203093135.L21658@earl-grey.cloud9.net> Message-ID: <1102062125.2841.7.camel@fuego> On Fri, 2004-12-03 at 14:32, Mark Hennessy wrote: > I'm using Nagios 1.2 > > Hi, I have created scheduled downtime and put comments into the comments > field. When I have done this, I don't see that those comments are added > to the comments line for the host or service for which the downtime is > scheduled. Where are these comments kept, in the logs only? Is this a > bug or a feature? > > I'd like to have those comments come up in the comments field for the host > or service in its respective view and show up as a bubble in the > all hosts/services listing like a standard comment. Is there a way to do > this? > > Does Nagios 2.0 do this? No it doesn't. Not a bad idea to add a 'Persistent Comment' option similar to service acknowledgements though. I'll add it to my list of improvements to work on. -- Matthew Kent http://magoazul.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at menem.mine.nu Fri Dec 3 16:48:33 2004 From: mark at menem.mine.nu (Mark Maas) Date: Fri, 03 Dec 2004 16:48:33 +0100 Subject: sms_client scripts Message-ID: <41B08AD1.6010204@menem.mine.nu> Hi List! Would anyone please share there sms_client scripts with me and the world? I'm having a hard time getting Nagios to use sms_client. I tried this but it would not work: # 'notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/bin/sms_client -q $CONTACTNAME$ "$NOTIFICATIONTYPE$: $HOSTALIAS$-$SERVICEDESC$ is $SERVICESTATE$ - Service: $SERVICEDESC$ - Host: $HOSTNAME$ - Address: $HOSTADDRESS$ - State: $SERVICESTATE$ - Info: $OUTPUT$ - Date: $DATETIME$" } and: # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/bin/sms_client -q $CONTACTNAME$ "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$ - Host $HOSTALIAS$ is $HOSTSTATE$ - Info: $OUTPUT$ - Time: $DATETIME$" } Contact says: define contact{ contact_name mark alias Mark service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-sms host_notification_commands host-notify-by-email,host-notify-by-sms email mark at menem.mine.nu } The email bit works, and I can see that both *-notify-by-email and *-notify-by-sms scripts are called by Nagios in the log. But the modem never even starts dialing. Anyone? Thanks, Mark ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Fri Dec 3 18:29:57 2004 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Fri, 3 Dec 2004 12:29:57 -0500 Subject: Using Nagios to start/stop Windows Services Message-ID: I use the rpcclient CLI from the SambaTNG community. Lane -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeff Engstrom Sent: Thursday, December 02, 2004 1:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Using Nagios to start/stop Windows Services Greetings all, Back in 2002 I had configured Nagios "Netsaint back then" to restart a service on a Windows 2000 server. For the life of me, I cannot remember what was used to handle this. Just need a push in the right direction... Thanks! Jeff Engstrom -------------- next part -------------- An HTML attachment was scrubbed... URL: From rdrake at stayonline.net Fri Dec 3 23:47:50 2004 From: rdrake at stayonline.net (Robert Drake) Date: Fri, 3 Dec 2004 17:47:50 -0500 Subject: Nagios Log analyzer? In-Reply-To: <41AF9EE5.5090701@op5.se> References: <330CE9F92C02064B86090D40B479712F573ABE@usa0300ms04.na.xerox.net> <41AF9EE5.5090701@op5.se> Message-ID: <20041203224750.GA14996@ipsek.net> Andreas Ericsson(ae at op5.se)@2004-12-03 00:01:57 +0100: > > Nopes, but they will be ported sometime not too soon to php. Most likely > with a lot of modifications. I think I've got some status-parsing > routines for PHP if you're interested. > Not quite the same question, but along similar lines. I'm about to start pulling my nagios.log into a SQL db, right now just by pulling the logs, but later through the hooks they're adding in nagios 2. My nagios server doesn't have php installed so I was contemplating writing perl frontends. But, everyone talks about php so I may just use it depending on how much I feel like writing the frontend. What I'd like to know is what's everyones current status on these things. I'm trying to avoid duplicating effort so I'd like to know what everyone things about these things. SQL schema. Event logs are pretty easy to represent (flat table) but it makes things easier if everyone represents them the same way. Generic calls for "backend" in the php/perl cgi's. (So people can use the nagios flat file if they want, or postgres or mysql just by dropping in the needed stuff) I guess those are my two big things. I'm gung-ho to start working on it because I think some of it would be fun and simple, but I'd rather not finish something only to find out it's incompatible with everyone elses stuff, and someone already has what I needed and I just didn't know about it :) Thanks, Robert ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Dec 4 10:25:49 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 04 Dec 2004 10:25:49 +0100 Subject: Nagios Log analyzer? In-Reply-To: <20041203224750.GA14996@ipsek.net> References: <330CE9F92C02064B86090D40B479712F573ABE@usa0300ms04.na.xerox.net> <41AF9EE5.5090701@op5.se> <20041203224750.GA14996@ipsek.net> Message-ID: <41B1829D.4060103@op5.se> Robert Drake wrote: > Andreas Ericsson(ae at op5.se)@2004-12-03 00:01:57 +0100: > >>Nopes, but they will be ported sometime not too soon to php. Most likely >>with a lot of modifications. I think I've got some status-parsing >>routines for PHP if you're interested. >> > > > Not quite the same question, but along similar lines. > > I'm about to start pulling my nagios.log into a SQL db, right now just > by pulling the logs, but later through the hooks they're adding in > nagios 2. > It's already been done. The NEB-module is very alpha and not widely used, but if you have a look at the nagios-devel archives I'm sure you'll find it there somewhere. The current gui won't utilize the database though, but doing the updates in a CPU efficient manner should be where the real problem resides. > My nagios server doesn't have php installed so I was contemplating > writing perl frontends. But, everyone talks about php so I may just use > it depending on how much I feel like writing the frontend. > > What I'd like to know is what's everyones current status on these > things. I'm trying to avoid duplicating effort so I'd like to know what > everyone things about these things. > > SQL schema. Event logs are pretty easy to represent (flat table) but > it makes things easier if everyone represents them the same way. > Split them by field and have a separate table for service and host status. That way you can index cleverly and optimize the SQL a lot more. > Generic calls for "backend" in the php/perl cgi's. (So people can use > the nagios flat file if they want, or postgres or mysql just by > dropping in the needed stuff) > Indeed. fetch_service_status(host, service) and fetch_host_status(host). If using files, the backend should cache the logs in its entirety when it's read to save diskthrashing. If we're using the database there shouldn't be any need for it (since a DB is pretty much just a cache with ultra fast hashes). > I guess those are my two big things. I'm gung-ho to start working on it > because I think some of it would be fun and simple, but I'd rather not > finish something only to find out it's incompatible with everyone elses > stuff, and someone already has what I needed and I just didn't know > about it :) > > Thanks, > Robert > > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dice at mfa.kfki.hu Sat Dec 4 11:17:16 2004 From: dice at mfa.kfki.hu (Gergely Tamas) Date: Sat, 4 Dec 2004 11:17:16 +0100 Subject: nagios 1.0 / bind9 strange behaviour Message-ID: <20041204101716.GD4228@mfa.kfki.hu> Hi! We use bind 9.2.4 as our name server and noticed following strange log message from nagios. Otherwise the name server seems to work fine. What could be the cause of this log entry? --- >>> --- >>> --- >>> --- Subject: ** PROBLEM alert - XXX domain server, Linux/DNS is CRITICAL ** ***** Nagios 1.0 ***** Notification Type: PROBLEM Service: DNS Host: XXX domain server, Linux Address: XXX State: CRITICAL Date/Time: Sat Dec 4 08:40:28 MET 2004 Additional Info: (Return code of 139 is out of bounds) --- <<< --- <<< --- <<< --- Thanks in advance for any enlightenment, Gergely ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dice at mfa.kfki.hu Sat Dec 4 11:26:10 2004 From: dice at mfa.kfki.hu (Gergely Tamas) Date: Sat, 4 Dec 2004 11:26:10 +0100 Subject: nagios 1.0 / bind9 strange behaviour In-Reply-To: <20041204101716.GD4228@mfa.kfki.hu> References: <20041204101716.GD4228@mfa.kfki.hu> Message-ID: <20041204102610.GE4228@mfa.kfki.hu> Hi! > We use bind 9.2.4 as our name server and noticed following strange log > message from nagios. > > Otherwise the name server seems to work fine. What could be the cause > of this log entry? Sorry. Meant 'alert mail'. Gergely ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mm.quex.org Sat Dec 4 11:31:45 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Sat, 4 Dec 2004 18:31:45 +0800 Subject: nagios 1.0 / bind9 strange behaviour In-Reply-To: <20041204101716.GD4228@mfa.kfki.hu> References: <20041204101716.GD4228@mfa.kfki.hu> Message-ID: <20041204103145.GA32561@quex.org> On Sat, Dec 04, 2004 at 11:17:16AM +0100, Gergely Tamas wrote: > We use bind 9.2.4 as our name server and noticed following strange log > message from nagios. > > Otherwise the name server seems to work fine. What could be the cause > of this log entry? > > (Return code of 139 is out of bounds) This sounds like an error is occurring in the plugin command you're using to check the status of the DNS server. Check the permissions and all that stuff - most importantly, try running it as the Nagios user. This might be a segfault, but it might be something else. Either way, try running the check as the Nagios user would, and see what it does. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.hicks at poggs.co.uk Sat Dec 4 20:53:50 2004 From: peter.hicks at poggs.co.uk (Peter Hicks) Date: Sat, 04 Dec 2004 19:53:50 +0000 Subject: snmp troubles In-Reply-To: <1102073541.1401.22.camel@black148> References: <1102073541.1401.22.camel@black148> Message-ID: <41B215CE.40003@poggs.co.uk> Hello Arnar Thorarinsson wrote: > I have a problem with getting the memory information from a host through > snmp. I'm using the check_snmp_mem.pl plugin. You'd be better off asking people who know about the SNMP agent you're querying, as this isn't a Nagios-specific problem... your snmpwalk comes back with negative values. Peter. -- Peter Hicks | e: my.name at poggs.co.uk | g: 0xE7C839F4 | w: www.poggs.com (This signature is in Spanish when nobody is looking) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Dec 4 23:55:07 2004 From: nagios-user at proy.org (Patrick Proy) Date: Sat, 4 Dec 2004 23:55:07 +0100 Subject: snmp troubles In-Reply-To: <41B215CE.40003@poggs.co.uk> References: <41B215CE.40003@poggs.co.uk> Message-ID: <20041204225508.9C374AB6E7@www.manubulon.com> Hi, I answered to Arnar Thorarinsson but forgot to cc to the mailing list.... I've never seen negative values with Net-SNMP, and I really don't know how it can happen. Anyway, I will modify my scripts in the next release so they don't return "OK" with a negative value provided by Net-SNMP. Patrick Proy nagios AT proy.org -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Peter Hicks Envoy? : samedi 4 d?cembre 2004 20:54 ? : art at caa.is Cc : NAGIOS Objet : Re: [Nagios-users] snmp troubles Hello Arnar Thorarinsson wrote: > I have a problem with getting the memory information from a host > through snmp. I'm using the check_snmp_mem.pl plugin. You'd be better off asking people who know about the SNMP agent you're querying, as this isn't a Nagios-specific problem... your snmpwalk comes back with negative values. Peter. -- Peter Hicks | e: my.name at poggs.co.uk | g: 0xE7C839F4 | w: www.poggs.com (This signature is in Spanish when nobody is looking) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Mon Dec 6 09:52:36 2004 From: srunschke at abit.de (Sascha Runschke) Date: Mon, 6 Dec 2004 09:52:36 +0100 Subject: Antwort: sms_client scripts [Virus scanned] Message-ID: Hello Mark, seeing that noone answered you I'll try to give you some directions :) Does Nagios have the correct permissions to access the modem? Does sms_client work from the command-line (try as nagios user, not root!). I am not familiar with sms_client, but I somehow miss the number in your config. Does sms_client have its own addressbook? sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ralf-Lists at RalfGross.de Mon Dec 6 14:30:03 2004 From: Ralf-Lists at RalfGross.de (Ralf Gross) Date: Mon, 6 Dec 2004 14:30:03 +0100 (CET) Subject: hosts dependancies not working Message-ID: <49149.141.113.101.22.1102339803.squirrel@webmail.ssorgflar.de> Hi, I'm trying to set up host dependencies for a couple of of hosts behind routers/firewalls. define hostdependency{ hostgroup_name test dependent_host_name router1,fw,router2 notification_failure_criteria d,u,o } The group test contains 2 hosts behind a router. To test the dependency I created a iptables rule that first rejects icmp packets from router1 and later, when router1 is down, rejects packets from hosts in the hostgroup. The dependeny is also displayed in the cgi interface (view config). The logfile shows the following: HOST ALERT: router1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: router1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: router1;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: router1;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: router1;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: router1;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: router1;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: router1;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: router1;DOWN;HARD;9;CRITICAL - Plugin timed out after 10 seconds SERVICE ALERT: router1;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds Ok, the dependent host is down. Now I started blocking icmp packets from the client test1 behinde router1: HOST ALERT: test1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: test1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: test1;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: test1;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: test1;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: test1;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: test1;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: test1;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: test1;DOWN;HARD;9;CRITICAL - Plugin timed out after 10 seconds HOST NOTIFICATION: Gross;test1;DOWN;host-notify-by-sms;CRITICAL - Plugin timed out after 10 secondsHOST NOTIFICATION: Gross;test1;DOWN;notify-by-winpopup;CRITICAL - Plugin timed out after 10 secondsHOST NOTIFICATION: Gross;test1;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 secondsSERVICE ALERT: test1;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds Host test1 is down and the dependent host router1 too! No host notifications should be sent out, or am I wrong? Any ideas what I might be doing wrong? One more question. I'm using o as Option for notification_failure_criteria. Is that necessary to supress recovery notifications, or is d,u sufficient? Thanks, Ralf ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Mon Dec 6 14:46:09 2004 From: srunschke at abit.de (Sascha Runschke) Date: Mon, 6 Dec 2004 14:46:09 +0100 Subject: Antwort: hosts dependancies not working [Virus scanned] Message-ID: Hello Ralf, why are you using host dependencies in the first place? You should use parent relationships for such an environment. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ralf-Lists at RalfGross.de Mon Dec 6 15:06:53 2004 From: Ralf-Lists at RalfGross.de (Ralf Gross) Date: Mon, 6 Dec 2004 15:06:53 +0100 (CET) Subject: hosts dependancies not working [Virus scanned] Message-ID: <27213.141.113.101.22.1102342013.squirrel@webmail.ssorgflar.de> Hi, first of all, I found my mistake. I confused dependent_host_name with host_name! Changing the entries for both options did the trick. Stupid me! > why are you using host dependencies in the first place? > You should use parent relationships for such an environment. t. Well, I think hostdependencies are more flexible, but I might be wrong. I have to confess that I dicovered the parent option after trying dependencies. Is the parent options a solution for hosts that depend on a lot of routers/firewalls? Something like that? monitoring client -> rt1 -> fw1 -> rt -> fw2 -> rt2 -> client Ralf ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florian.beese at infoconsult.nu Mon Dec 6 15:14:05 2004 From: florian.beese at infoconsult.nu (florian.beese at infoconsult.nu) Date: Mon, 6 Dec 2004 15:14:05 +0100 Subject: $HOSTADDRESS$ in notes_url in hostextinfo Message-ID: <311C2A2ABAA4D311B77E00A0C9F1752B2AF33B@king-loui> Hi, I have a problem using the macro $HOSTADDRESS$ in the hostextinfo configuration with Nagios 1.2 (on SuSE Linux 9.1). I wanted to use the $HOSTADDRESS$ macro as a part of the notes_url, in order to connect to the monitored machine via VNC. My Problem now is, that the macro does not contain the IP address as expected, but the IP-Address devided with %2e instead of normal dods. When I put the mouse over the link the information in the status bar of the browser looks right, but when I follow the link (click) the address in the address-bar of the new opened window contains "%2e"s instead of normal dods. This ofcourse can also be seen in the generated HTML-Code of the status.cgi. My configuration of hostextinfo looks like the following: define hostextinfo{ host_name prince notes_url http://192.168.10.18:5800 icon_image windows_pc.gif icon_image_alt Silke's Rechner vrml_image windows_pc.gif statusmap_image windows_pc.gd2 2d_coords 140,90 3d_coords 180.0,90.0,40.0 } define hostextinfo{ host_name mogli notes_url http://$HOSTADDRESS$:5800 icon_image ids_server.gif icon_image_alt Arbeitsplatz und Nagiostestrechner vrml_image ids_server.gif statusmap_image ids_server.gd2 2d_coords 80,90 3d_coords 100.0,40.0,20.0 } The upper one works well, because its hard coded (doesn't contain the macro). The lower one instead has the effect described above. upper hostextinfo link: http://192.168.10.18:5800/ lower hostextinfo link: http://192%2e168%2e10%2e12:5800/ I searched the documentation and mailinglist archieves for info about this issue, but did not find any. So I don't know, if this is a bug or not. Thanks in advance! regards Florian Beese ____________ Virus checked by G DATA AntiVirusKit Version: AVK 15.0.1385 from 06.12.2004 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sergey at strategicvista.com Mon Dec 6 15:46:59 2004 From: sergey at strategicvista.com (Sergey Semenyuk) Date: Mon, 6 Dec 2004 09:46:59 -0500 Subject: check_command in Nagios 1.2 Message-ID: <002601c4dba2$70911e00$cc2da8c0@SERGEYLTOP> Hi, I am having issues with check_command in hosts specifications. I have actually used sample configuration files and checked the configs on the demo site, but still no luck. I tried getting some help from the IRC channel but RTFM was the answer. I figure that even if I read the manual for ten times I will barely become smarter. All other plugins and commands specifications work fine, but hosts check_command doesn't seem to work for me at all and I get PENDING status with not enough information. I tried various debug levels but don't seem to see from them that Nagios actually tries running that check_command. Any other place except for the sources I have to look? Thanks in advance. Sergey ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 6 15:49:03 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 06 Dec 2004 15:49:03 +0100 Subject: $HOSTADDRESS$ in notes_url in hostextinfo In-Reply-To: <311C2A2ABAA4D311B77E00A0C9F1752B2AF33B@king-loui> References: <311C2A2ABAA4D311B77E00A0C9F1752B2AF33B@king-loui> Message-ID: <41B4715F.70308@op5.se> florian.beese at infoconsult.nu wrote: > Hi, > > I have a problem using the macro $HOSTADDRESS$ in the hostextinfo > configuration with Nagios 1.2 (on SuSE Linux 9.1). > > I wanted to use the $HOSTADDRESS$ macro as a part of the notes_url, in order > to connect to the monitored machine via VNC. My Problem now is, that the > macro does not contain the IP address as expected, but the IP-Address > devided with %2e instead of normal dods. > This has been fixed in Nagios 2 CVS. > When I put the mouse over the link the information in the status bar of the > browser looks right, but when I follow the link (click) the address in the > address-bar of the new opened window contains "%2e"s instead of normal dods. > This ofcourse can also be seen in the generated HTML-Code of the status.cgi. > > My configuration of hostextinfo looks like the following: > > define hostextinfo{ > host_name prince > notes_url http://192.168.10.18:5800 > icon_image windows_pc.gif > icon_image_alt Silke's Rechner > vrml_image windows_pc.gif > statusmap_image windows_pc.gd2 > 2d_coords 140,90 > 3d_coords 180.0,90.0,40.0 > } > > define hostextinfo{ > host_name mogli > notes_url http://$HOSTADDRESS$:5800 > icon_image ids_server.gif > icon_image_alt Arbeitsplatz und Nagiostestrechner > vrml_image ids_server.gif > statusmap_image ids_server.gd2 > 2d_coords 80,90 > 3d_coords 100.0,40.0,20.0 > } > > The upper one works well, because its hard coded (doesn't contain the > macro). The lower one instead has the effect described above. > > upper hostextinfo link: http://192.168.10.18:5800/ > lower hostextinfo link: http://192%2e168%2e10%2e12:5800/ > > I searched the documentation and mailinglist archieves for info about this > issue, but did not find any. So I don't know, if this is a bug or not. > > Thanks in advance! > > regards > Florian Beese > > > ____________ > Virus checked by G DATA AntiVirusKit > Version: AVK 15.0.1385 from 06.12.2004 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Mon Dec 6 16:03:29 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Mon, 06 Dec 2004 16:03:29 +0100 Subject: check_command in Nagios 1.2 In-Reply-To: <002601c4dba2$70911e00$cc2da8c0@SERGEYLTOP> References: <002601c4dba2$70911e00$cc2da8c0@SERGEYLTOP> Message-ID: <41B474C1.8030104@interface-business.de> Sergey Semenyuk wrote: > Hi, > > I am having issues with check_command in hosts specifications. I have > actually used sample configuration files and checked the configs on the > demo site, but still no luck. I tried getting some help from the IRC > channel but RTFM was the answer. I figure that even if I read the manual > for ten times I will barely become smarter. All other plugins and > commands specifications work fine, but hosts check_command doesn't seem > to work for me at all and I get PENDING status with not enough > information. I tried various debug levels but don't seem to see from > them that Nagios actually tries running that check_command. Any other > place except for the sources I have to look? > > Thanks in advance. > > Sergey Can you post at least one host definition here? And please post the definition of the host check command too! Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sergey at strategicvista.com Mon Dec 6 16:15:22 2004 From: sergey at strategicvista.com (Sergey Semenyuk) Date: Mon, 6 Dec 2004 10:15:22 -0500 Subject: check_command in Nagios 1.2 In-Reply-To: <41B474C1.8030104@interface-business.de> References: <41B474C1.8030104@interface-business.de> Message-ID: <002701c4dba6$67b78130$cc2da8c0@SERGEYLTOP> Absolutely: Host (they are all the same) define host{ use generic-host ; Name of host template to use host_name sfw alias Main Router (Linux) address 192.168.20.2 check_command check-host-alive (I tried check-host-echo from the demo site as well) parents mainswitch checks_enabled 1 max_check_attempts 20 notification_period 24x7 notification_options d,u,r stalking_options o,d,u } commands: define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } define command{ command_name check-host-echo command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7 } No firewalls on internal network at all. Started looking sources, and debug0, no check_host calls at all. Thanks in advance. -----Original Message----- From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] Sent: Monday, December 06, 2004 10:03 AM To: Sergey Semenyuk Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_command in Nagios 1.2 Sergey Semenyuk wrote: > Hi, > > I am having issues with check_command in hosts specifications. I have > actually used sample configuration files and checked the configs on the > demo site, but still no luck. I tried getting some help from the IRC > channel but RTFM was the answer. I figure that even if I read the manual > for ten times I will barely become smarter. All other plugins and > commands specifications work fine, but hosts check_command doesn't seem > to work for me at all and I get PENDING status with not enough > information. I tried various debug levels but don't seem to see from > them that Nagios actually tries running that check_command. Any other > place except for the sources I have to look? > > Thanks in advance. > > Sergey Can you post at least one host definition here? And please post the definition of the host check command too! Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 6 16:28:08 2004 From: marc at ena.com (Marc Powell) Date: Mon, 6 Dec 2004 09:28:08 -0600 Subject: check_command in Nagios 1.2 Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438BC1@mismail.ena.com> Do you have any service definitions for this host? The host will never be checked and will remain in a PENDING state if you do not have any services defined (that actually get checked themselves). Additionally, the host won't actually be checked and will only be assumed to be OK until one or more services on the host fails. It sounds to me like you don't have any services being checked on the host at this point. Additionally, a host check of 20 probably isn't a good idea. If the host _were_ to be checked, nagios will stop all processing except for this host check until all 20 attempts have completed. No additional service checks, updates, event handlers, etc will run until this completes. You should only perform the minimal number of pings/attempts to determine the state of the host. In many cases a single ping is sufficient or just a handful if you have a lossy network. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sergey Semenyuk > Sent: Monday, December 06, 2004 9:15 AM > To: 'Stephan Janosch' > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > Absolutely: > > Host (they are all the same) > define host{ > use generic-host ; Name of host > template to use > > host_name sfw > alias Main Router (Linux) > address 192.168.20.2 > check_command check-host-alive (I tried > check-host-echo from the demo site as well) > parents mainswitch > checks_enabled 1 > max_check_attempts 20 > notification_period 24x7 > notification_options d,u,r > stalking_options o,d,u > } > > > commands: > > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 1 > } > > > define command{ > command_name check-host-echo > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7 > } > > No firewalls on internal network at all. > Started looking sources, and debug0, no check_host calls at all. > > Thanks in advance. > > > -----Original Message----- > From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] > Sent: Monday, December 06, 2004 10:03 AM > To: Sergey Semenyuk > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_command in Nagios 1.2 > > Sergey Semenyuk wrote: > > Hi, > > > > I am having issues with check_command in hosts specifications. I have > > actually used sample configuration files and checked the configs on > the > > demo site, but still no luck. I tried getting some help from the IRC > > channel but RTFM was the answer. I figure that even if I read the > manual > > for ten times I will barely become smarter. All other plugins and > > commands specifications work fine, but hosts check_command doesn't > seem > > to work for me at all and I get PENDING status with not enough > > information. I tried various debug levels but don't seem to see from > > them that Nagios actually tries running that check_command. Any other > > place except for the sources I have to look? > > > > Thanks in advance. > > > > Sergey > > Can you post at least one host definition here? And please post the > definition of the host check command too! ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sergey at strategicvista.com Mon Dec 6 16:34:47 2004 From: sergey at strategicvista.com (Sergey Semenyuk) Date: Mon, 6 Dec 2004 10:34:47 -0500 Subject: check_command in Nagios 1.2 In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC438BC1@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC438BC1@mismail.ena.com> Message-ID: <002801c4dba9$1e2f9f90$cc2da8c0@SERGEYLTOP> Thanks for advice. I just have noticed going through the sources that check_host is actually called from verify_host_"path" (whatever) when service status changes. And everything you said sounds perfectly understandable. So, you to check if the host is alive I need to have some kind of ping service, and both service and host status will change (just confirming my findings), because that "Assuming ..." was rather confusing. Thanks for clearing things out for me. Sergey Semenyuk LAN Administrator Strategic Vista International Inc. 300 Alden Road, Markham, ON, L3R 4C1 Phone: (905) 946-8589 x 180 Fax: (905) 947-0138 -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Monday, December 06, 2004 10:28 AM To: Sergey Semenyuk Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_command in Nagios 1.2 Do you have any service definitions for this host? The host will never be checked and will remain in a PENDING state if you do not have any services defined (that actually get checked themselves). Additionally, the host won't actually be checked and will only be assumed to be OK until one or more services on the host fails. It sounds to me like you don't have any services being checked on the host at this point. Additionally, a host check of 20 probably isn't a good idea. If the host _were_ to be checked, nagios will stop all processing except for this host check until all 20 attempts have completed. No additional service checks, updates, event handlers, etc will run until this completes. You should only perform the minimal number of pings/attempts to determine the state of the host. In many cases a single ping is sufficient or just a handful if you have a lossy network. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sergey Semenyuk > Sent: Monday, December 06, 2004 9:15 AM > To: 'Stephan Janosch' > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > Absolutely: > > Host (they are all the same) > define host{ > use generic-host ; Name of host > template to use > > host_name sfw > alias Main Router (Linux) > address 192.168.20.2 > check_command check-host-alive (I tried > check-host-echo from the demo site as well) > parents mainswitch > checks_enabled 1 > max_check_attempts 20 > notification_period 24x7 > notification_options d,u,r > stalking_options o,d,u > } > > > commands: > > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 1 > } > > > define command{ > command_name check-host-echo > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7 > } > > No firewalls on internal network at all. > Started looking sources, and debug0, no check_host calls at all. > > Thanks in advance. > > > -----Original Message----- > From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] > Sent: Monday, December 06, 2004 10:03 AM > To: Sergey Semenyuk > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_command in Nagios 1.2 > > Sergey Semenyuk wrote: > > Hi, > > > > I am having issues with check_command in hosts specifications. I have > > actually used sample configuration files and checked the configs on > the > > demo site, but still no luck. I tried getting some help from the IRC > > channel but RTFM was the answer. I figure that even if I read the > manual > > for ten times I will barely become smarter. All other plugins and > > commands specifications work fine, but hosts check_command doesn't > seem > > to work for me at all and I get PENDING status with not enough > > information. I tried various debug levels but don't seem to see from > > them that Nagios actually tries running that check_command. Any other > > place except for the sources I have to look? > > > > Thanks in advance. > > > > Sergey > > Can you post at least one host definition here? And please post the > definition of the host check command too! ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 6 16:54:51 2004 From: marc at ena.com (Marc Powell) Date: Mon, 6 Dec 2004 09:54:51 -0600 Subject: check_command in Nagios 1.2 Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438BC6@mismail.ena.com> Yes, if your host provides no other services that are interesting to you (i.e. a router or switch) you'll want to add a ping service check for it. Some relevant reading -- http://nagios.sourceforge.net/docs/1_0/networkreachability.html http://www.nagios.org/faqs/viewfaq.php?faq_id=85&expand=false&showdesc=t rue http://www.nagios.org/faqs/viewfaq.php?faq_id=86 -- Marc > -----Original Message----- > From: Sergey Semenyuk [mailto:sergey at strategicvista.com] > Sent: Monday, December 06, 2004 9:35 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > Thanks for advice. > I just have noticed going through the sources that check_host is > actually called from verify_host_"path" (whatever) when service status > changes. And everything you said sounds perfectly understandable. So, > you to check if the host is alive I need to have some kind of ping > service, and both service and host status will change (just confirming > my findings), because that "Assuming ..." was rather confusing. > > Thanks for clearing things out for me. > > Sergey Semenyuk > LAN Administrator > Strategic Vista International Inc. > 300 Alden Road, > Markham, ON, L3R 4C1 > Phone: (905) 946-8589 x 180 > Fax: (905) 947-0138 > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Monday, December 06, 2004 10:28 AM > To: Sergey Semenyuk > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > Do you have any service definitions for this host? The host will never > be checked and will remain in a PENDING state if you do not have any > services defined (that actually get checked themselves). Additionally, > the host won't actually be checked and will only be assumed to be OK > until one or more services on the host fails. It sounds to me like you > don't have any services being checked on the host at this point. > > Additionally, a host check of 20 probably isn't a good idea. If the host > _were_ to be checked, nagios will stop all processing except for this > host check until all 20 attempts have completed. No additional service > checks, updates, event handlers, etc will run until this completes. You > should only perform the minimal number of pings/attempts to determine > the state of the host. In many cases a single ping is sufficient or just > a handful if you have a lossy network. > > -- > Marc > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Sergey Semenyuk > > Sent: Monday, December 06, 2004 9:15 AM > > To: 'Stephan Janosch' > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > > > Absolutely: > > > > Host (they are all the same) > > define host{ > > use generic-host ; Name of host > > template to use > > > > host_name sfw > > alias Main Router (Linux) > > address 192.168.20.2 > > check_command check-host-alive (I tried > > check-host-echo from the demo site as well) > > parents mainswitch > > checks_enabled 1 > > max_check_attempts 20 > > notification_period 24x7 > > notification_options d,u,r > > stalking_options o,d,u > > } > > > > > > commands: > > > > define command{ > > command_name check-host-alive > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > > 3000.0,80% -c 5000.0,100% -p 1 > > } > > > > > > define command{ > > command_name check-host-echo > > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7 > > } > > > > No firewalls on internal network at all. > > Started looking sources, and debug0, no check_host calls at all. > > > > Thanks in advance. > > > > > > -----Original Message----- > > From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] > > Sent: Monday, December 06, 2004 10:03 AM > > To: Sergey Semenyuk > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_command in Nagios 1.2 > > > > Sergey Semenyuk wrote: > > > Hi, > > > > > > I am having issues with check_command in hosts specifications. I > have > > > actually used sample configuration files and checked the configs on > > the > > > demo site, but still no luck. I tried getting some help from the IRC > > > channel but RTFM was the answer. I figure that even if I read the > > manual > > > for ten times I will barely become smarter. All other plugins and > > > commands specifications work fine, but hosts check_command doesn't > > seem > > > to work for me at all and I get PENDING status with not enough > > > information. I tried various debug levels but don't seem to see from > > > them that Nagios actually tries running that check_command. Any > other > > > place except for the sources I have to look? > > > > > > Thanks in advance. > > > > > > Sergey > > > > Can you post at least one host definition here? And please post the > > definition of the host check command too! > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Mon Dec 6 17:05:17 2004 From: srunschke at abit.de (Sascha Runschke) Date: Mon, 6 Dec 2004 17:05:17 +0100 Subject: Antwort: Re: hosts dependancies not working [Virus scanned] Message-ID: > Well, I think hostdependencies are more flexible, but I might be wrong. I > have to confess that I dicovered the parent option after trying > dependencies. Is the parent options a solution for hosts that depend on a > lot of routers/firewalls? They might be more flexible, but they are not meant to be used that way actually. Only the use of the parent option ensures that network outages are detected properly by Nagios. Parent = physical dependency host_dependency = logical dependency > Something like that? > > monitoring client -> rt1 -> fw1 -> rt -> fw2 -> rt2 -> client Using the parent option enables you to rebuild your actual network topology within Nagios. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergey at strategicvista.com Mon Dec 6 17:16:22 2004 From: sergey at strategicvista.com (Sergey Semenyuk) Date: Mon, 6 Dec 2004 11:16:22 -0500 Subject: check_command in Nagios 1.2 In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC438BC6@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC438BC6@mismail.ena.com> Message-ID: <002d01c4dbae$ed62bcc0$cc2da8c0@SERGEYLTOP> This is what is confusing in the FAQ: Once !!!Nagios checks the status of the host!!! (or of at least one of the services associated with the host), the host's state and status information will be changed. It status status of the host OR service ... I've seen this as well Whenever a service check results in a non-OK status level, Nagios will attempt to check and see if the host that the service is running on is "alive". but couldn't understand WHY nagios would make an assumption without checking the host status (relevant to the hosts without services)given that in some situation the host status is an important criteria too. Thanks a lot for help! Sergey Semenyuk LAN Administrator Strategic Vista International Inc. 300 Alden Road, Markham, ON, L3R 4C1 Phone: (905) 946-8589 x 180 Fax: (905) 947-0138 -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Monday, December 06, 2004 10:55 AM To: Sergey Semenyuk Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_command in Nagios 1.2 Yes, if your host provides no other services that are interesting to you (i.e. a router or switch) you'll want to add a ping service check for it. Some relevant reading -- http://nagios.sourceforge.net/docs/1_0/networkreachability.html http://www.nagios.org/faqs/viewfaq.php?faq_id=85&expand=false&showdesc=t rue http://www.nagios.org/faqs/viewfaq.php?faq_id=86 -- Marc > -----Original Message----- > From: Sergey Semenyuk [mailto:sergey at strategicvista.com] > Sent: Monday, December 06, 2004 9:35 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > Thanks for advice. > I just have noticed going through the sources that check_host is > actually called from verify_host_"path" (whatever) when service status > changes. And everything you said sounds perfectly understandable. So, > you to check if the host is alive I need to have some kind of ping > service, and both service and host status will change (just confirming > my findings), because that "Assuming ..." was rather confusing. > > Thanks for clearing things out for me. > > Sergey Semenyuk > LAN Administrator > Strategic Vista International Inc. > 300 Alden Road, > Markham, ON, L3R 4C1 > Phone: (905) 946-8589 x 180 > Fax: (905) 947-0138 > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Monday, December 06, 2004 10:28 AM > To: Sergey Semenyuk > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > Do you have any service definitions for this host? The host will never > be checked and will remain in a PENDING state if you do not have any > services defined (that actually get checked themselves). Additionally, > the host won't actually be checked and will only be assumed to be OK > until one or more services on the host fails. It sounds to me like you > don't have any services being checked on the host at this point. > > Additionally, a host check of 20 probably isn't a good idea. If the host > _were_ to be checked, nagios will stop all processing except for this > host check until all 20 attempts have completed. No additional service > checks, updates, event handlers, etc will run until this completes. You > should only perform the minimal number of pings/attempts to determine > the state of the host. In many cases a single ping is sufficient or just > a handful if you have a lossy network. > > -- > Marc > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Sergey Semenyuk > > Sent: Monday, December 06, 2004 9:15 AM > > To: 'Stephan Janosch' > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > > > Absolutely: > > > > Host (they are all the same) > > define host{ > > use generic-host ; Name of host > > template to use > > > > host_name sfw > > alias Main Router (Linux) > > address 192.168.20.2 > > check_command check-host-alive (I tried > > check-host-echo from the demo site as well) > > parents mainswitch > > checks_enabled 1 > > max_check_attempts 20 > > notification_period 24x7 > > notification_options d,u,r > > stalking_options o,d,u > > } > > > > > > commands: > > > > define command{ > > command_name check-host-alive > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > > 3000.0,80% -c 5000.0,100% -p 1 > > } > > > > > > define command{ > > command_name check-host-echo > > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7 > > } > > > > No firewalls on internal network at all. > > Started looking sources, and debug0, no check_host calls at all. > > > > Thanks in advance. > > > > > > -----Original Message----- > > From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] > > Sent: Monday, December 06, 2004 10:03 AM > > To: Sergey Semenyuk > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_command in Nagios 1.2 > > > > Sergey Semenyuk wrote: > > > Hi, > > > > > > I am having issues with check_command in hosts specifications. I > have > > > actually used sample configuration files and checked the configs on > > the > > > demo site, but still no luck. I tried getting some help from the IRC > > > channel but RTFM was the answer. I figure that even if I read the > > manual > > > for ten times I will barely become smarter. All other plugins and > > > commands specifications work fine, but hosts check_command doesn't > > seem > > > to work for me at all and I get PENDING status with not enough > > > information. I tried various debug levels but don't seem to see from > > > them that Nagios actually tries running that check_command. Any > other > > > place except for the sources I have to look? > > > > > > Thanks in advance. > > > > > > Sergey > > > > Can you post at least one host definition here? And please post the > > definition of the host check command too! > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tearl at cacdhh.org Mon Dec 6 18:50:10 2004 From: tearl at cacdhh.org (Thomas Earl) Date: Mon, 6 Dec 2004 12:50:10 -0500 Subject: Monitoring ports & BGP on Cisco Message-ID: <20041206175014.D51C2BA05@www.prhobbies.com> Greetings to all, I setup Nagios last week and I have to say that this is awesome. Right now I'm monitoring a great number of systems and services and everything is going great. I want to start monitoring my routers for when connections and BGP sessions bounce. What is the best way to do this? I was thinking setting up so my routers trap back to my Nagios server, but if there is a better way, I'm all for testing it out. Please let me know! Thanks, Tom -- Thomas Earl Network Engineer & Designer Communications Access Center (CAC) 1631 Miller Road Flint, Michigan, 48503 248-705-7408 (cell) 810-239-3112 (office) "Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a ride!!'" --Jack Wilson ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 6 19:56:54 2004 From: moshesharon at gmail.com (Moshe Sharon) Date: Mon, 6 Dec 2004 18:56:54 +0000 (UTC) Subject: $HOSTADDRESS$ in =?utf-8?b?bm90ZXNfdXJs?= in hostextinfo References: <311C2A2ABAA4D311B77E00A0C9F1752B2AF33B@king-loui> <41B4715F.70308@op5.se> Message-ID: Hello just a suggestion. put $hostname$ instead of $hostaddress$ and put in /etc/hosts all hosts + ip's or in winnt\system32\drivers\etc\hosts file all you hosts + ip's or also can do dns names. this way it will bypass the ip address problem. Moshe Sharon ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Mon Dec 6 20:09:23 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Mon, 06 Dec 2004 11:09:23 -0800 Subject: hosts dependancies not working [Virus scanned] In-Reply-To: <27213.141.113.101.22.1102342013.squirrel@webmail.ssorgflar.de> References: <27213.141.113.101.22.1102342013.squirrel@webmail.ssorgflar.de> Message-ID: <1102360163.3618.122.camel@tesuji.nac.uci.edu> You might try my "deep-ssh" script for monitoring services behind a ton of firewalls: http://dcs.nac.uci.edu/~strombrg/deep-ssh.html Your last ssh in the deep-ssh chain can do a "check_by_ssh", or just run the final nagios plugin directly, I believe. On Mon, 2004-12-06 at 15:06 +0100, Ralf Gross wrote: > Hi, > > first of all, I found my mistake. > > I confused dependent_host_name with host_name! Changing the entries for > both options did the trick. Stupid me! > > why are you using host dependencies in the first place? > > You should use parent relationships for such an environment. t. > > Well, I think hostdependencies are more flexible, but I might be wrong. I > have to confess that I dicovered the parent option after trying > dependencies. Is the parent options a solution for hosts that depend on a > lot of routers/firewalls? > Something like that? > > monitoring client -> rt1 -> fw1 -> rt -> fw2 -> rt2 -> client > > Ralf > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From garym at canada.com Mon Dec 6 21:00:43 2004 From: garym at canada.com (Gary Lawrence Murphy) Date: Mon, 06 Dec 2004 15:00:43 -0500 Subject: Notifications not reaching me References: <37ED92F9890FAF4BB947613C66FF8B1AFC737E@dw-mail.dataway.com> <20040930150528.GA15292@tranquility.scriptkitchen.com> Message-ID: I'm having some trouble understanding the notifications system; it's probably just a misunderstanding about terminology, but the two sections on notifications and notification escalations haven't offered any clues as to why the following service does not escalate: First, here's the service, and I know it works because I can trigger it from a command line and it shows up correctly in the nagios web display define service { use net-service host_name f1 service_description Log Output contact_groups audit-trail register 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_period 24x7 normal_check_interval 2 notification_options w,u,c,r check_command check_nrpe!check_log } "check_log" is a simple plug-in that tests the mtime on the file, and it's unimportant here because I have several other services that are giving me similar notification problems. here are the escalation rules: define serviceescalation { host_name f1 service_description Log Output first_notification 6 last_notification 9 contact_groups code-blue notification_interval 0 } define serviceescalation { host_name f1 service_description Log Output first_notification 10 last_notification 19 contact_groups code-yellow notification_interval 0 } What I /expect/ to happen is for the normal check interval to be 5 minutes, so the first 3 checks (15 min) will be under the threshold to trigger the first notification. On the third failure, 15 minutes, I expect a notice to the audit-trail, and I get one. On the /sixth/ interval, ie at 30 minutes, I expect to get one and only one notice sent to code-blue, and at the 10th, at 50 minutes past the first detected failure, I expect to see another single notice out to code-yellow. But what I get (on the Extended display) is this: Current Status: CRITICAL Status Information: CRITICAL - File age 10h 48m Current Attempt: 3/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 12-06-2004 14:51:52 Status Data Age: 0d 0h 1m 12s Next Scheduled Active Check: 12-06-2004 14:53:52 Latency: < 1 second Check Duration: < 1 second Last State Change: 12-06-2004 13:14:23 Current State Duration: 0d 1h 38m 41s Last Service Notification: 12-06-2004 13:14:23 Current Notification Number: 1 Is This Service Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 12-06-2004 14:53:03 It's an hour and a half past the last change in state, there's been no notices and the current notification number is still listed as "1" -- I'm assuming current notification is the number of notifications that have been sent, which agrees with observation since there have been no escalations. Do I have an inappropriate use of the zero notification interval? Is there something else gone wrong with my configuration? I know that notifications do work because we have some services where the alerts are sent and no obvious difference between their definitions. Also, I'm still attempting to duplicate the result in a test case, but we had our notifications intervals set to 60, intending only one message per hour to be sent while the service check interval was only 5 minutes, but again, instead of an alert after 30 minutes, we received the first alert after more than 300 minutes. -- Gary Lawrence Murphy ============================== www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com ====================== The present moment is a powerful goddess (Goethe) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Mon Dec 6 21:15:37 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 6 Dec 2004 15:15:37 -0500 Subject: nagios perf data output Message-ID: Hello all, I'm trying to get nagiosgraph working, and it would appear that nagios is supplying unexpected perf data output. I'm using nagios 2.0 (cvs), and according to the nagiosgraph debug log, much of the output is just a dollar sign ($). I gave nagiostat a go as well, and it logged the exact same output, so it's not specific to nagiosgraph; it appears to be a nagios issue. Here is a sample of the nagiosgraph debug log: Mon Dec 6 13:53:00 2004 INSERT info: Input lastcheck:$ Mon Dec 6 13:53:00 2004 INSERT info: Input hostname:aceserver Mon Dec 6 13:53:00 2004 INSERT info: Input perfdata:$ Mon Dec 6 13:53:00 2004 INSERT info: Input servicedescr:DISK_USAGE Mon Dec 6 13:53:00 2004 INSERT info: Input output:$ Mon Dec 6 13:53:00 2004 INSERT warn: perfdata not recognized Clearly, some of the output - the "hostname" and "servicedescr" - is correct, but the other three fields are not. I compiled with the "--with-default-perfdata" option, and have "process_performance_data=1" set in nagios.cfg . I also enabled performance data via cmd.cgi in the nagios web interface, just for good measure. Still, I am getting only $'s. I'm missing something, I suppose, but I have no idea what it is. Any ideas or suggestions are welcome! Daniel Maher System Engineer ACE TECHNOLOGY INC. 100, boul. Alexis-Nihon, suite 593 St-Laurent (Qu?bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-3494 HYPERLINK "mailto:dmaher at acetechnology.com"dmaher at acetechnology.com HYPERLINK "http://www.acetechnology.com"www.acetechnology.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.802 / Virus Database: 545 - Release Date: 26/11/2004 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jan.Scholten at iconz.net Mon Dec 6 21:38:18 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 07 Dec 2004 09:38:18 +1300 Subject: Notifications not reaching me In-Reply-To: References: <37ED92F9890FAF4BB947613C66FF8B1AFC737E@dw-mail.dataway.com> <20040930150528.GA15292@tranquility.scriptkitchen.com> Message-ID: <41B4C33A.3050509@iconz.net> Gary Lawrence Murphy schrieb: I never used escalations, but don't you think you should register the service OR give us the correct service definition (not the template)? Jan > I'm having some trouble understanding the notifications system; it's > probably just a misunderstanding about terminology, but the two sections > on notifications and notification escalations haven't offered any clues > as to why the following service does not escalate: > > First, here's the service, and I know it works because I can trigger it > from a command line and it shows up correctly in the nagios web display > > define service { > use net-service > host_name f1 > service_description Log Output > contact_groups audit-trail > register 0 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_period 24x7 > normal_check_interval 2 > notification_options w,u,c,r > check_command check_nrpe!check_log > } > > "check_log" is a simple plug-in that tests the mtime on the file, and > it's unimportant here because I have several other services that are > giving me similar notification problems. > > here are the escalation rules: > > define serviceescalation { > host_name f1 > service_description Log Output > first_notification 6 > last_notification 9 > contact_groups code-blue > notification_interval 0 > } > > define serviceescalation { > host_name f1 > service_description Log Output > first_notification 10 > last_notification 19 > contact_groups code-yellow > notification_interval 0 > } > > What I /expect/ to happen is for the normal check interval to be 5 > minutes, so the first 3 checks (15 min) will be under the threshold to > trigger the first notification. On the third failure, 15 minutes, I > expect a notice to the audit-trail, and I get one. > > On the /sixth/ interval, ie at 30 minutes, I expect to get one and > only one notice sent to code-blue, and at the 10th, at 50 minutes past > the first detected failure, I expect to see another single notice out > to code-yellow. > > But what I get (on the Extended display) is this: > > Current Status: CRITICAL > Status Information: CRITICAL - File age 10h 48m > Current Attempt: 3/3 > State Type: HARD > Last Check Type: ACTIVE > Last Check Time: 12-06-2004 14:51:52 > Status Data Age: 0d 0h 1m 12s > Next Scheduled Active Check: 12-06-2004 14:53:52 > Latency: < 1 second > Check Duration: < 1 second > Last State Change: 12-06-2004 13:14:23 > Current State Duration: 0d 1h 38m 41s > Last Service Notification: 12-06-2004 13:14:23 > Current Notification Number: 1 > Is This Service Flapping? N/A > Percent State Change: N/A > In Scheduled Downtime? NO > Last Update: 12-06-2004 14:53:03 > > It's an hour and a half past the last change in state, there's been no > notices and the current notification number is still listed as "1" -- > I'm assuming current notification is the number of notifications that > have been sent, which agrees with observation since there have been no > escalations. > > Do I have an inappropriate use of the zero notification interval? > Is there something else gone wrong with my configuration? I know that > notifications do work because we have some services where the alerts > are sent and no obvious difference between their definitions. > > Also, I'm still attempting to duplicate the result in a test case, but > we had our notifications intervals set to 60, intending only one > message per hour to be sent while the service check interval was only > 5 minutes, but again, instead of an alert after 30 minutes, we > received the first alert after more than 300 minutes. > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JStork at providencehealth.bc.ca Mon Dec 6 22:02:57 2004 From: JStork at providencehealth.bc.ca (Stork, Johnny [PH]) Date: Mon, 6 Dec 2004 13:02:57 -0800 Subject: Compaq Smart Array Drives under Linux Message-ID: <9BA1D6F859B535448073EF58517BC97C09A42A91@phcexch.phc.bc.ca> I have had nagios 1.2 working for sometime and only recently added a new Linux Server running Suse EL 9 with a Compaq Smartarray controller. Running df shows the following dev entries Filesystem 1K-blocks Used Available Use% Mounted on /dev/cciss/c0d0p2 68974336 3663072 65311264 6% / tmpfs 647660 8 647652 1% /dev/shm /dev/cciss/c0d0p1 98747 6571 87077 8% /boot But running Nagios from another machine (192.168.101.14) and trying to read the drive/mnt status on the SuSE server (192.168.101.12) does not return any values? Is the check_disk plugin only for a local drive? If so, is there another plugin to monitor non-local drives on another server? ----------------------------------------------------------- Johnny Stork Information & Technology Manager Provincial Blood Coordinating Office ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garym at canada.com Mon Dec 6 22:12:32 2004 From: garym at canada.com (Gary Lawrence Murphy) Date: Mon, 06 Dec 2004 16:12:32 -0500 Subject: Notifications not reaching me References: <37ED92F9890FAF4BB947613C66FF8B1AFC737E@dw-mail.dataway.com> <20040930150528.GA15292@tranquility.scriptkitchen.com> <41B4C33A.3050509@iconz.net> Message-ID: >>>>> "J" == Jan Scholten writes: J> I never used escalations, but don't you think you should J> register the service OR give us the correct service definition J> (not the template)? I'm not at all sure I understand your question ... define service { use net-service host_name f1 service_description Log Output contact_groups audit-trail ... check_command check_nrpe!check_log } isn't this the service description? This is what I edit when I want to register services and I definately see the check_log script being called in the NRPE lines of the (Linux) kernel logs. True, _net-service_ is a template, but I had taken the relevent lines from /that/ template and inserted them in-line into this service definition so the specification would be complete. net-service merely extends the default template with shorter polling values. Now I'm /really/ confused: if the above is not defining or registering my service, then how could this service appear on the service detail and extended information pages with these settings? -- Gary Lawrence Murphy ============================== www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com ====================== The present moment is a powerful goddess (Goethe) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garym at canada.com Mon Dec 6 22:14:39 2004 From: garym at canada.com (Gary Lawrence Murphy) Date: Mon, 06 Dec 2004 16:14:39 -0500 Subject: Notifications not reaching me References: <37ED92F9890FAF4BB947613C66FF8B1AFC737E@dw-mail.dataway.com> <20040930150528.GA15292@tranquility.scriptkitchen.com> <41B4C33A.3050509@iconz.net> Message-ID: Ah ... I see the confusion: I had inadvertently also inserted the "register 0" line from the net-service definition. Please ignore that line, my bad. -- Gary Lawrence Murphy ============================== www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com ====================== The present moment is a powerful goddess (Goethe) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garym at canada.com Mon Dec 6 22:18:38 2004 From: garym at canada.com (Gary Lawrence Murphy) Date: Mon, 06 Dec 2004 16:18:38 -0500 Subject: Notifications not reaching me References: <37ED92F9890FAF4BB947613C66FF8B1AFC737E@dw-mail.dataway.com> <20040930150528.GA15292@tranquility.scriptkitchen.com> <41B4C33A.3050509@iconz.net> Message-ID: To be completely clear, here's the two definitions, the template and the service, verbatim without my trying to be clever in merging them ;) define service { use generic-service name net-service register 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 0 notification_period 24x7 } define service { use net-service host_name f1, f3 service_description Log Output contact_groups audit-trail normal_check_interval 2 notification_options w,u,c,r check_command check_nrpe!check_log } -- Gary Lawrence Murphy ============================== www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com ====================== The present moment is a powerful goddess (Goethe) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wcooley at nakedape.cc Mon Dec 6 22:32:10 2004 From: wcooley at nakedape.cc (Wil Cooley) Date: Mon, 06 Dec 2004 13:32:10 -0800 Subject: Templates for Web Interface References: Message-ID: On Thu, 02 Dec 2004 15:21:55 -0200, Leonardo Henrique Machado wrote: > Is there any project developing other templates for the Nagios web > interface? This is the only one I've seen: http://nagios-php.sourceforge.net/ Personally, I'd like to see one in Perl using Template Toolkit, considering that there are already a handful of Perl modules for reading Nagios configuration and status files. But, lacking the time and motivation to do it myself, I can't complain. Wil -- Wil Cooley wcooley at nakedape.cc Naked Ape Consulting http://nakedape.cc * * * * Linux, UNIX, Networking and Security Solutions * * * * "Sufficiently advanced cluelessness is indistinguishable from malice." -- Alex Martelli ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Mon Dec 6 22:38:53 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Mon, 6 Dec 2004 14:38:53 -0700 Subject: Templates for Web Interface Message-ID: <59B15593F41BD24591D59436E7226EAD0110DBC5@Khiphx2.khimetrics.com> Have you had any experience running nagios-php? I was looking through the project today and it didn't seem very together. I wanted to know if anyone had used it. What, if any advantages it gave them. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Wil Cooley > Sent: Monday, December 06, 2004 2:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Templates for Web Interface > > On Thu, 02 Dec 2004 15:21:55 -0200, Leonardo Henrique Machado wrote: > > > Is there any project developing other templates for the Nagios web > > interface? > > This is the only one I've seen: > > http://nagios-php.sourceforge.net/ > > Personally, I'd like to see one in Perl using Template Toolkit, > considering that there are already a handful of Perl modules for reading > Nagios configuration and status files. But, lacking the time and > motivation to do it myself, I can't complain. > > Wil > -- > Wil Cooley wcooley at nakedape.cc > Naked Ape Consulting http://nakedape.cc > * * * * Linux, UNIX, Networking and Security Solutions * * * * > > "Sufficiently advanced cluelessness is indistinguishable from malice." > -- Alex Martelli > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Mon Dec 6 22:41:12 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 6 Dec 2004 16:41:12 -0500 Subject: Templates for Web Interface Message-ID: Is anybody on this list actually using nagios-php? If so, is it functional? Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Wil Cooley [mailto:wcooley at nakedape.cc] Sent: December 6, 2004 4:32 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Templates for Web Interface On Thu, 02 Dec 2004 15:21:55 -0200, Leonardo Henrique Machado wrote: > Is there any project developing other templates for the Nagios web > interface? This is the only one I've seen: http://nagios-php.sourceforge.net/ Personally, I'd like to see one in Perl using Template Toolkit, considering that there are already a handful of Perl modules for reading Nagios configuration and status files. But, lacking the time and motivation to do it myself, I can't complain. Wil -- Wil Cooley wcooley at nakedape.cc Naked Ape Consulting http://nakedape.cc * * * * Linux, UNIX, Networking and Security Solutions * * * * "Sufficiently advanced cluelessness is indistinguishable from malice." -- Alex Martelli ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.802 / Virus Database: 545 - Release Date: 26/11/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.802 / Virus Database: 545 - Release Date: 26/11/2004 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Mon Dec 6 22:57:30 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 6 Dec 2004 15:57:30 -0600 (CST) Subject: Compaq Smart Array Drives under Linux In-Reply-To: <9BA1D6F859B535448073EF58517BC97C09A42A91@phcexch.phc.bc.ca> References: <9BA1D6F859B535448073EF58517BC97C09A42A91@phcexch.phc.bc.ca> Message-ID: On Mon, 6 Dec 2004, Stork, Johnny [PH] wrote: > > I have had nagios 1.2 working for sometime and only recently added a new > Linux Server running Suse EL 9 with a Compaq Smartarray controller. Running > df shows the following dev entries > > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/cciss/c0d0p2 68974336 3663072 65311264 6% / > tmpfs 647660 8 647652 1% /dev/shm > /dev/cciss/c0d0p1 98747 6571 87077 8% /boot > > But running Nagios from another machine (192.168.101.14) and trying to read > the drive/mnt status on the SuSE server (192.168.101.12) does not return any > values? Is the check_disk plugin only for a local drive? If so, is there > another plugin to monitor non-local drives on another server? Check_disk only monitors the local disks. If you want to monitor disks on a remote machine, try setting up ssh keys and using check_by_ssh: services.cfg: # DISK # arg1 warning percentage free # arg2 critical percentage free # service depends on SSH define service{ use qab-service service_description DISK hostgroup_name qab-nonlocal check_command check-remote-disk!20%!10% } checkcommands.cfg: # # check-remote-disk define command{ command_name check-remote-disk command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C "$USER1$/check_disk -w $ARG1$ -c $ARG2$ -m" } HTH. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 6 23:48:11 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 06 Dec 2004 23:48:11 +0100 Subject: Notifications not reaching me In-Reply-To: References: <37ED92F9890FAF4BB947613C66FF8B1AFC737E@dw-mail.dataway.com> <20040930150528.GA15292@tranquility.scriptkitchen.com> <41B4C33A.3050509@iconz.net> Message-ID: <41B4E1AB.5080105@op5.se> Gary Lawrence Murphy wrote: > To be completely clear, here's the two definitions, the template and > the service, verbatim without my trying to be clever in merging them > ;) > > define service { > use generic-service > name net-service > register 0 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 0 > notification_period 24x7 > } > You've got notification_interval 0, which means it will only send one notification. I'm surprised you get any at all for your escalations where first_notification is higher than 1. The delay before the first notification is most likely due to the fact that Nagios re-checks your host with retry_check_interval * interval_length seconds and only when max_check_attempts attempts have failed sends out the notification, while the GUI turns red immediately, but with a SOFT error state. > define service { > use net-service > host_name f1, f3 > service_description Log Output > contact_groups audit-trail > normal_check_interval 2 > notification_options w,u,c,r > check_command check_nrpe!check_log > } > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edy at egan.com.au Mon Dec 6 23:53:13 2004 From: edy at egan.com.au (Edy Gasparini) Date: Tue, 7 Dec 2004 09:53:13 +1100 Subject: NSCA Memory Leak Message-ID: <001301c4dbe6$5e82d4d0$cdbf35a4@r3cda5b6> Greetings, I've got a redundant setup with Nagios 1.2 running on EL3. Things were running fine, with the Master nagios sending its check results to the Slave nagios, using NSCA, v2.4 Due to some unrelated events, I disabled the submission of service checks from the Master to Slave. This in effect has resulted in the Slave simply sitting there and doing nothing (apart from check that the Master was OK). The NSCA daemon (nsca) is still running on the Slave - however, it is now consuming memory until all physical memory is exhausted: about 1Gb RAM in 24hours!!! This suggests that ncsa has a problem only when check results are not being sent (via send_nsca on the Master). As I said earlier, when the Master is sending its results, there are no issues. Anyone else seen this? thanks and regards, Edy Gasparini ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.roughan at mizuho-sc.com Tue Dec 7 00:47:45 2004 From: jamie.roughan at mizuho-sc.com (Jamie Roughan) Date: Tue, 7 Dec 2004 08:47:45 +0900 Subject: Mail response time In-Reply-To: <200412062141.iB6LfuAF021161@emx1.mizuho-sc.com> References: <200412062141.iB6LfuAF021161@emx1.mizuho-sc.com> Message-ID: <000901c4dbed$fc7c8e90$4618680a@ad.mizuhosc.com> Currently it takes about 5 minutes to receive mail notificatin from nagios. I would like to receive mail after 1 minute . Is the parameter for accomplishing this located in the main nagios.cfg ? Is it the command_check_interval ? If not which parameter controls email notification response? -merci beaucoup -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Tuesday, December 07, 2004 6:39 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #2363 - 26 msgs 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-admin 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. Antwort: [Nagios-users] sms_client scripts [Virus scanned] (Sascha Runschke) 2. hosts dependancies not working (Ralf Gross) 3. Antwort: [Nagios-users] hosts dependancies not working [Virus scanned] (Sascha Runschke) 4. Re: hosts dependancies not working [Virus scanned] (Ralf Gross) 5. $HOSTADDRESS$ in notes_url in hostextinfo (florian.beese at infoconsult.nu) 6. Re: $HOSTADDRESS$ in notes_url in hostextinfo (Andreas Ericsson) 7. check_command in Nagios 1.2 (Sergey Semenyuk) 8. Re: check_command in Nagios 1.2 (Stephan Janosch) 9. RE: check_command in Nagios 1.2 (Sergey Semenyuk) 10. RE: check_command in Nagios 1.2 (Marc Powell) 11. RE: check_command in Nagios 1.2 (Sergey Semenyuk) 12. RE: check_command in Nagios 1.2 (Marc Powell) 13. Antwort: Re: [Nagios-users] hosts dependancies not working [Virus scanned] (Sascha Runschke) 14. RE: check_command in Nagios 1.2 (Sergey Semenyuk) 15. Monitoring ports & BGP on Cisco (Thomas Earl) 16. Re: $HOSTADDRESS$ in =?utf-8?b?bm90ZXNfdXJs?= in hostextinfo (Moshe Sharon) 17. Re: hosts dependancies not working [Virus scanned] (Dan Stromberg) 18. Notifications not reaching me (Gary Lawrence Murphy) 19. nagios perf data output (Daniel maher) 20. Re: Notifications not reaching me (Jan Scholten) 21. Compaq Smart Array Drives under Linux (Stork, Johnny [PH]) 22. Re: Notifications not reaching me (Gary Lawrence Murphy) 23. Re: Notifications not reaching me (Gary Lawrence Murphy) 24. Re: Notifications not reaching me (Gary Lawrence Murphy) 25. Re: Templates for Web Interface (Wil Cooley) 26. RE: Re: Templates for Web Interface (Nathan Oyler) --__--__-- Message: 1 To: Mark Maas Cc: nagios-users at lists.sourceforge.net Subject: Antwort: [Nagios-users] sms_client scripts [Virus scanned] From: "Sascha Runschke" Date: Mon, 6 Dec 2004 09:52:36 +0100 This is a multipart message in MIME format. --=_alternative 0030C2EBC1256F62_= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Mark, seeing that noone answered you I'll try to give you some directions :) Does Nagios have the correct permissions to access the modem? Does sms=5Fclient work from the command-line (try as nagios user, not=20 root!). I am not familiar with sms=5Fclient, but I somehow miss the number in your = config. Does sms=5Fclient have its own addressbook? sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh=E4nge sind ausschlie=DFlich f=FCr den= =20 bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat=20 dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte,=20 da=DF jede Form der Kenntnisnahme, Ver=F6ffentlichung, Vervielf=E4ltigung = oder=20 Weitergabe des Inhalts dieser Email unzul=E4ssig ist. Wir m=F6chten Sie=20 au=DFerdem darauf hinweisen, da=DF die Kommunikation per Email =FCber das=20 Internet unsicher ist, da fuer unberechtigte Dritte grunds=E4tzlich die=20 M=F6glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese=20 Nachricht versehentlich erhalten, informieren Sie bitte den Absender und=20 l=F6schen diese Nachricht mit den Anh=E4ngen. Herzlichen Dank The information and any attachments contained in this email are intended=20 solely for the addressee. Access to this email by anyone else is=20 unauthorized. If you are not the intended recipient, any form of=20 disclosure, reproduction, distribution or any action taken or refrained=20 from in reliance on it, is prohibited and may be unlawful. We also like to = inform you that communication via email over the internet is insecure=20 because third parties may have the possibility to access and manipulate=20 emails. If you have received the message in error, please advise the=20 sender and delete the message and any attachments. Thank you very much. --=_alternative 0030C2EBC1256F62_= Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello Mark,

seeing that noone answered you I'll = try to give you some directions :)

Does Nagios have the correct permiss= ions to access the modem?
Does sms=5Fclient work from the comm= and-line (try as nagios user, not root!).

I am not familiar with sms=5Fclient,= but I somehow miss the number in your config.
Does sms=5Fclient have its own addre= ssbook?

sash

------------------------------------= --------------
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
mailto:SRunschke at abit.de

http://www.abit.net
http://www.abit-epos.net
http://www.my-academy.net
--------------------------------------------------
Der Inhalt dieser Email sowie die Anh=E4nge sind ausschlie=DFlich f=FCr den= bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat = dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da= =DF jede Form der Kenntnisnahme, Ver=F6ffentlichung,  Vervielf=E4ltigu= ng oder Weitergabe des Inhalts dieser Email unzul=E4ssig ist. Wir m=F6chten= Sie au=DFerdem darauf hinweisen, da=DF die Kommunikation per Email =FCber = das Internet unsicher ist, da fuer unberechtigte Dritte grunds=E4tzlich die= M=F6glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese N= achricht versehentlich erhalten, informieren Sie bitte den Absender und l= =F6schen diese Nachricht mit den Anh=E4ngen. Herzlichen Dank

The information and any attachments contained in this email are intended so= lely for the addressee. Access to this email by anyone else is unauthorized= . If you are not the intended recipient, any form of disclosure, reproducti= on, distribution or any action taken or refrained from in reliance on it, i= s prohibited and may be unlawful. We also like to inform you that communica= tion via email over the internet is insecure because third parties may have= the possibility to access and manipulate emails. If you have received the = message in error, please advise the sender and delete the message and any a= ttachments. Thank you very much.
--=_alternative 0030C2EBC1256F62_=-- --__--__-- Message: 2 Date: Mon, 6 Dec 2004 14:30:03 +0100 (CET) From: "Ralf Gross" To: Subject: [Nagios-users] hosts dependancies not working Hi, I'm trying to set up host dependencies for a couple of of hosts behind routers/firewalls. define hostdependency{ hostgroup_name test dependent_host_name router1,fw,router2 notification_failure_criteria d,u,o } The group test contains 2 hosts behind a router. To test the dependency I created a iptables rule that first rejects icmp packets from router1 and later, when router1 is down, rejects packets from hosts in the hostgroup. The dependeny is also displayed in the cgi interface (view config). The logfile shows the following: HOST ALERT: router1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seco= nds HOST ALERT: router1;DOWN;HARD;9;CRITICAL - Plugin timed out after 10 seco= nds SERVICE ALERT: router1;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds Ok, the dependent host is down. Now I started blocking icmp packets from the client test1 behinde router1: HOST ALERT: test1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: test1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: test1;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: test1;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: test1;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: test1;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: test1;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: test1;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: test1;DOWN;HARD;9;CRITICAL - Plugin timed out after 10 second= s HOST NOTIFICATION: Gross;test1;DOWN;host-notify-by-sms;CRITICAL - Plugin timed out after 10 secondsHOST NOTIFICATION: Gross;test1;DOWN;notify-by-w= inpopup;CRITICAL - Plugin timed out after 10 secondsHOST NOTIFICATION: Gross;test1;DOWN;host-notify= -by-email;CRITICAL - Plugin timed out after 10 secondsSERVICE ALERT: test1;PING;CRITICAL;HARD;1;CRITI= CAL - Plugin timed out after 10 seconds Host test1 is down and the dependent host router1 too! No host notifications should be sent out, or am I wrong? Any ideas what I might be doing wrong? One more question. I'm using o as Option for notification_failure_criteria. Is that necessary to supress recovery notifications, or is d,u sufficient? Thanks, Ralf --__--__-- Message: 3 To: "Ralf Gross" Cc: nagios-users at lists.sourceforge.net Subject: Antwort: [Nagios-users] hosts dependancies not working [Virus scanned] From: "Sascha Runschke" Date: Mon, 6 Dec 2004 14:46:09 +0100 This is a multipart message in MIME format. --=_alternative 004BA362C1256F62_= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Ralf, why are you using host dependencies in the first place? You should use parent relationships for such an environment. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh=E4nge sind ausschlie=DFlich f=FCr den= =20 bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat=20 dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte,=20 da=DF jede Form der Kenntnisnahme, Ver=F6ffentlichung, Vervielf=E4ltigung = oder=20 Weitergabe des Inhalts dieser Email unzul=E4ssig ist. Wir m=F6chten Sie=20 au=DFerdem darauf hinweisen, da=DF die Kommunikation per Email =FCber das=20 Internet unsicher ist, da fuer unberechtigte Dritte grunds=E4tzlich die=20 M=F6glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese=20 Nachricht versehentlich erhalten, informieren Sie bitte den Absender und=20 l=F6schen diese Nachricht mit den Anh=E4ngen. Herzlichen Dank The information and any attachments contained in this email are intended=20 solely for the addressee. Access to this email by anyone else is=20 unauthorized. If you are not the intended recipient, any form of=20 disclosure, reproduction, distribution or any action taken or refrained=20 from in reliance on it, is prohibited and may be unlawful. We also like to = inform you that communication via email over the internet is insecure=20 because third parties may have the possibility to access and manipulate=20 emails. If you have received the message in error, please advise the=20 sender and delete the message and any attachments. Thank you very much. --=_alternative 004BA362C1256F62_= Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello Ralf,

why are you using host dependencies = in the first place?
You should use parent relationships = for such an environment.

sash

------------------------------------= --------------
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
mailto:SRunschke at abit.de

http://www.abit.net
http://www.abit-epos.net
http://www.my-academy.net
--------------------------------------------------
Der Inhalt dieser Email sowie die Anh=E4nge sind ausschlie=DFlich f=FCr den= bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat = dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da= =DF jede Form der Kenntnisnahme, Ver=F6ffentlichung,  Vervielf=E4ltigu= ng oder Weitergabe des Inhalts dieser Email unzul=E4ssig ist. Wir m=F6chten= Sie au=DFerdem darauf hinweisen, da=DF die Kommunikation per Email =FCber = das Internet unsicher ist, da fuer unberechtigte Dritte grunds=E4tzlich die= M=F6glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese N= achricht versehentlich erhalten, informieren Sie bitte den Absender und l= =F6schen diese Nachricht mit den Anh=E4ngen. Herzlichen Dank

The information and any attachments contained in this email are intended so= lely for the addressee. Access to this email by anyone else is unauthorized= . If you are not the intended recipient, any form of disclosure, reproducti= on, distribution or any action taken or refrained from in reliance on it, i= s prohibited and may be unlawful. We also like to inform you that communica= tion via email over the internet is insecure because third parties may have= the possibility to access and manipulate emails. If you have received the = message in error, please advise the sender and delete the message and any a= ttachments. Thank you very much.
--=_alternative 004BA362C1256F62_=-- --__--__-- Message: 4 Date: Mon, 6 Dec 2004 15:06:53 +0100 (CET) Subject: Re: [Nagios-users] hosts dependancies not working [Virus scanned] From: "Ralf Gross" To: Cc: Hi, first of all, I found my mistake. I confused dependent_host_name with host_name! Changing the entries for both options did the trick. Stupid me! > why are you using host dependencies in the first place? > You should use parent relationships for such an environment. t. Well, I think hostdependencies are more flexible, but I might be wrong. I have to confess that I dicovered the parent option after trying dependencies. Is the parent options a solution for hosts that depend on a lot of routers/firewalls? Something like that? monitoring client -> rt1 -> fw1 -> rt -> fw2 -> rt2 -> client Ralf --__--__-- Message: 5 From: florian.beese at infoconsult.nu To: nagios-users at lists.sourceforge.net Date: Mon, 6 Dec 2004 15:14:05 +0100 Subject: [Nagios-users] $HOSTADDRESS$ in notes_url in hostextinfo Hi, I have a problem using the macro $HOSTADDRESS$ in the hostextinfo configuration with Nagios 1.2 (on SuSE Linux 9.1). I wanted to use the $HOSTADDRESS$ macro as a part of the notes_url, in order to connect to the monitored machine via VNC. My Problem now is, that the macro does not contain the IP address as expected, but the IP-Address devided with %2e instead of normal dods. When I put the mouse over the link the information in the status bar of the browser looks right, but when I follow the link (click) the address in the address-bar of the new opened window contains "%2e"s instead of normal dods. This ofcourse can also be seen in the generated HTML-Code of the status.cgi. My configuration of hostextinfo looks like the following: define hostextinfo{ host_name prince notes_url http://192.168.10.18:5800 icon_image windows_pc.gif icon_image_alt Silke's Rechner vrml_image windows_pc.gif statusmap_image windows_pc.gd2 2d_coords 140,90 3d_coords 180.0,90.0,40.0 } define hostextinfo{ host_name mogli notes_url http://$HOSTADDRESS$:5800 icon_image ids_server.gif icon_image_alt Arbeitsplatz und Nagiostestrechner vrml_image ids_server.gif statusmap_image ids_server.gd2 2d_coords 80,90 3d_coords 100.0,40.0,20.0 } The upper one works well, because its hard coded (doesn't contain the macro). The lower one instead has the effect described above. upper hostextinfo link: http://192.168.10.18:5800/ lower hostextinfo link: http://192%2e168%2e10%2e12:5800/ I searched the documentation and mailinglist archieves for info about this issue, but did not find any. So I don't know, if this is a bug or not. Thanks in advance! regards Florian Beese ____________ Virus checked by G DATA AntiVirusKit Version: AVK 15.0.1385 from 06.12.2004 --__--__-- Message: 6 Date: Mon, 06 Dec 2004 15:49:03 +0100 From: Andreas Ericsson To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] $HOSTADDRESS$ in notes_url in hostextinfo florian.beese at infoconsult.nu wrote: > Hi, > > I have a problem using the macro $HOSTADDRESS$ in the hostextinfo > configuration with Nagios 1.2 (on SuSE Linux 9.1). > > I wanted to use the $HOSTADDRESS$ macro as a part of the notes_url, in > order to connect to the monitored machine via VNC. My Problem now is, > that the macro does not contain the IP address as expected, but the > IP-Address devided with %2e instead of normal dods. > This has been fixed in Nagios 2 CVS. > When I put the mouse over the link the information in the status bar > of the browser looks right, but when I follow the link (click) the > address in the address-bar of the new opened window contains "%2e"s > instead of normal dods. This ofcourse can also be seen in the > generated HTML-Code of the status.cgi. > > My configuration of hostextinfo looks like the following: > > define hostextinfo{ > host_name prince > notes_url http://192.168.10.18:5800 > icon_image windows_pc.gif > icon_image_alt Silke's Rechner > vrml_image windows_pc.gif > statusmap_image windows_pc.gd2 > 2d_coords 140,90 > 3d_coords 180.0,90.0,40.0 > } > > define hostextinfo{ > host_name mogli > notes_url http://$HOSTADDRESS$:5800 > icon_image ids_server.gif > icon_image_alt Arbeitsplatz und Nagiostestrechner > vrml_image ids_server.gif > statusmap_image ids_server.gd2 > 2d_coords 80,90 > 3d_coords 100.0,40.0,20.0 > } > > The upper one works well, because its hard coded (doesn't contain the > macro). The lower one instead has the effect described above. > > upper hostextinfo link: http://192.168.10.18:5800/ > lower hostextinfo link: http://192%2e168%2e10%2e12:5800/ > > I searched the documentation and mailinglist archieves for info about > this issue, but did not find any. So I don't know, if this is a bug or > not. > > Thanks in advance! > > regards > Florian Beese > > > ____________ > Virus checked by G DATA AntiVirusKit > Version: AVK 15.0.1385 from 06.12.2004 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. Discover which products truly live up to the hype. Start > reading now. http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer --__--__-- Message: 7 From: "Sergey Semenyuk" To: Date: Mon, 6 Dec 2004 09:46:59 -0500 Subject: [Nagios-users] check_command in Nagios 1.2 Hi, I am having issues with check_command in hosts specifications. I have actually used sample configuration files and checked the configs on the demo site, but still no luck. I tried getting some help from the IRC channel but RTFM was the answer. I figure that even if I read the manual for ten times I will barely become smarter. All other plugins and commands specifications work fine, but hosts check_command doesn't seem to work for me at all and I get PENDING status with not enough information. I tried various debug levels but don't seem to see from them that Nagios actually tries running that check_command. Any other place except for the sources I have to look? Thanks in advance. Sergey --__--__-- Message: 8 Date: Mon, 06 Dec 2004 16:03:29 +0100 From: Stephan Janosch Subject: Re: [Nagios-users] check_command in Nagios 1.2 To: Sergey Semenyuk Cc: nagios-users at lists.sourceforge.net Sergey Semenyuk wrote: > Hi, > > I am having issues with check_command in hosts specifications. I have > actually used sample configuration files and checked the configs on > the demo site, but still no luck. I tried getting some help from the > IRC channel but RTFM was the answer. I figure that even if I read the > manual for ten times I will barely become smarter. All other plugins > and commands specifications work fine, but hosts check_command doesn't > seem to work for me at all and I get PENDING status with not enough > information. I tried various debug levels but don't seem to see from > them that Nagios actually tries running that check_command. Any other > place except for the sources I have to look? > > Thanks in advance. > > Sergey Can you post at least one host definition here? And please post the definition of the host check command too! Stephan --__--__-- Message: 9 From: "Sergey Semenyuk" To: "'Stephan Janosch'" Cc: Subject: RE: [Nagios-users] check_command in Nagios 1.2 Date: Mon, 6 Dec 2004 10:15:22 -0500 Absolutely: Host (they are all the same) define host{ use generic-host ; Name of host template to use host_name sfw alias Main Router (Linux) address 192.168.20.2 check_command check-host-alive (I tried check-host-echo from the demo site as well) parents mainswitch checks_enabled 1 max_check_attempts 20 notification_period 24x7 notification_options d,u,r stalking_options o,d,u } commands: define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } define command{ command_name check-host-echo command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7 } No firewalls on internal network at all. Started looking sources, and debug0, no check_host calls at all. Thanks in advance. -----Original Message----- From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] Sent: Monday, December 06, 2004 10:03 AM To: Sergey Semenyuk Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_command in Nagios 1.2 Sergey Semenyuk wrote: > Hi, > > I am having issues with check_command in hosts specifications. I have > actually used sample configuration files and checked the configs on the > demo site, but still no luck. I tried getting some help from the IRC > channel but RTFM was the answer. I figure that even if I read the manual > for ten times I will barely become smarter. All other plugins and > commands specifications work fine, but hosts check_command doesn't seem > to work for me at all and I get PENDING status with not enough > information. I tried various debug levels but don't seem to see from > them that Nagios actually tries running that check_command. Any other > place except for the sources I have to look? > > Thanks in advance. > > Sergey Can you post at least one host definition here? And please post the definition of the host check command too! Stephan --__--__-- Message: 10 Subject: RE: [Nagios-users] check_command in Nagios 1.2 Date: Mon, 6 Dec 2004 09:28:08 -0600 From: "Marc Powell" To: "Sergey Semenyuk" Cc: Do you have any service definitions for this host? The host will never be checked and will remain in a PENDING state if you do not have any services defined (that actually get checked themselves). Additionally, the host won't actually be checked and will only be assumed to be OK until one or more services on the host fails. It sounds to me like you don't have any services being checked on the host at this point. Additionally, a host check of 20 probably isn't a good idea. If the host _were_ to be checked, nagios will stop all processing except for this host check until all 20 attempts have completed. No additional service checks, updates, event handlers, etc will run until this completes. You should only perform the minimal number of pings/attempts to determine the state of the host. In many cases a single ping is sufficient or just a handful if you have a lossy network. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >admin at lists.sourceforge.net] On Behalf Of Sergey Semenyuk > Sent: Monday, December 06, 2004 9:15 AM > To: 'Stephan Janosch' > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 >=20 > Absolutely: >=20 > Host (they are all the same) > define host{ > use generic-host ; Name of host > template to use >=20 > host_name sfw > alias Main Router (Linux) > address 192.168.20.2 > check_command check-host-alive (I tried > check-host-echo from the demo site as well) > parents mainswitch > checks_enabled 1 > max_check_attempts 20 > notification_period 24x7 > notification_options d,u,r > stalking_options o,d,u > } >=20 >=20 > commands: >=20 > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 1 > } >=20 >=20 > define command{ > command_name check-host-echo > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7 > } >=20 > No firewalls on internal network at all. > Started looking sources, and debug0, no check_host calls at all. =20 > Thanks in advance. >=20 >=20 > -----Original Message----- > From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] > Sent: Monday, December 06, 2004 10:03 AM > To: Sergey Semenyuk > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_command in Nagios 1.2 >=20 > Sergey Semenyuk wrote: > > Hi, > > > > I am having issues with check_command in hosts specifications. I have > > actually used sample configuration files and checked the configs on > the > > demo site, but still no luck. I tried getting some help from the IRC > > channel but RTFM was the answer. I figure that even if I read the > manual > > for ten times I will barely become smarter. All other plugins and > > commands specifications work fine, but hosts check_command doesn't > seem > > to work for me at all and I get PENDING status with not enough > > information. I tried various debug levels but don't seem to see from > > them that Nagios actually tries running that check_command. Any other > > place except for the sources I have to look? > > > > Thanks in advance. > > > > Sergey >=20 > Can you post at least one host definition here? And please post the >definition of the host check command too! --__--__-- Message: 11 From: "Sergey Semenyuk" To: "'Marc Powell'" Cc: Subject: RE: [Nagios-users] check_command in Nagios 1.2 Date: Mon, 6 Dec 2004 10:34:47 -0500 Thanks for advice. I just have noticed going through the sources that check_host is actually called from verify_host_"path" (whatever) when service status changes. And everything you said sounds perfectly understandable. So, you to check if the host is alive I need to have some kind of ping service, and both service and host status will change (just confirming my findings), because that "Assuming ..." was rather confusing. Thanks for clearing things out for me. Sergey Semenyuk LAN Administrator Strategic Vista International Inc. 300 Alden Road, Markham, ON, L3R 4C1 Phone: (905) 946-8589 x 180 Fax: (905) 947-0138 -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Monday, December 06, 2004 10:28 AM To: Sergey Semenyuk Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_command in Nagios 1.2 Do you have any service definitions for this host? The host will never be checked and will remain in a PENDING state if you do not have any services defined (that actually get checked themselves). Additionally, the host won't actually be checked and will only be assumed to be OK until one or more services on the host fails. It sounds to me like you don't have any services being checked on the host at this point. Additionally, a host check of 20 probably isn't a good idea. If the host _were_ to be checked, nagios will stop all processing except for this host check until all 20 attempts have completed. No additional service checks, updates, event handlers, etc will run until this completes. You should only perform the minimal number of pings/attempts to determine the state of the host. In many cases a single ping is sufficient or just a handful if you have a lossy network. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sergey Semenyuk > Sent: Monday, December 06, 2004 9:15 AM > To: 'Stephan Janosch' > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > Absolutely: > > Host (they are all the same) > define host{ > use generic-host ; Name of host > template to use > > host_name sfw > alias Main Router (Linux) > address 192.168.20.2 > check_command check-host-alive (I tried > check-host-echo from the demo site as well) > parents mainswitch > checks_enabled 1 > max_check_attempts 20 > notification_period 24x7 > notification_options d,u,r > stalking_options o,d,u > } > > > commands: > > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 1 > } > > > define command{ > command_name check-host-echo > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7 > } > > No firewalls on internal network at all. > Started looking sources, and debug0, no check_host calls at all. > > Thanks in advance. > > > -----Original Message----- > From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] > Sent: Monday, December 06, 2004 10:03 AM > To: Sergey Semenyuk > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_command in Nagios 1.2 > > Sergey Semenyuk wrote: > > Hi, > > > > I am having issues with check_command in hosts specifications. I have > > actually used sample configuration files and checked the configs on > the > > demo site, but still no luck. I tried getting some help from the IRC > > channel but RTFM was the answer. I figure that even if I read the > manual > > for ten times I will barely become smarter. All other plugins and > > commands specifications work fine, but hosts check_command doesn't > seem > > to work for me at all and I get PENDING status with not enough > > information. I tried various debug levels but don't seem to see from > > them that Nagios actually tries running that check_command. Any other > > place except for the sources I have to look? > > > > Thanks in advance. > > > > Sergey > > Can you post at least one host definition here? And please post the > definition of the host check command too! --__--__-- Message: 12 Subject: RE: [Nagios-users] check_command in Nagios 1.2 Date: Mon, 6 Dec 2004 09:54:51 -0600 From: "Marc Powell" To: "Sergey Semenyuk" Cc: Yes, if your host provides no other services that are interesting to you (i.e. a router or switch) you'll want to add a ping service check for it. Some relevant reading -- http://nagios.sourceforge.net/docs/1_0/networkreachability.html=20 http://www.nagios.org/faqs/viewfaq.php?faq_id=3D85&expand=3Dfalse&showdes= c=3Dt rue=20 http://www.nagios.org/faqs/viewfaq.php?faq_id=3D86 -- Marc=20 > -----Original Message----- > From: Sergey Semenyuk [mailto:sergey at strategicvista.com] > Sent: Monday, December 06, 2004 9:35 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 >=20 > Thanks for advice. > I just have noticed going through the sources that check_host is >actually called from verify_host_"path" (whatever) when service status >changes. And everything you said sounds perfectly understandable. So, >you to check if the host is alive I need to have some kind of ping >service, and both service and host status will change (just confirming >my findings), because that "Assuming ..." was rather confusing. =20 > Thanks for clearing things out for me. >=20 > Sergey Semenyuk > LAN Administrator > Strategic Vista International Inc. > 300 Alden Road, > Markham, ON, L3R 4C1 > Phone: (905) 946-8589 x 180 > Fax: (905) 947-0138 >=20 >=20 > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Monday, December 06, 2004 10:28 AM > To: Sergey Semenyuk > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 >=20 > Do you have any service definitions for this host? The host will never > be checked and will remain in a PENDING state if you do not have any > services defined (that actually get checked themselves). Additionally, > the host won't actually be checked and will only be assumed to be OK > until one or more services on the host fails. It sounds to me like you > don't have any services being checked on the host at this point. >=20 > Additionally, a host check of 20 probably isn't a good idea. If the host > _were_ to be checked, nagios will stop all processing except for this > host check until all 20 attempts have completed. No additional service > checks, updates, event handlers, etc will run until this completes. You > should only perform the minimal number of pings/attempts to determine > the state of the host. In many cases a single ping is sufficient or just > a handful if you have a lossy network. >=20 > -- > Marc >=20 > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Sergey Semenyuk > > Sent: Monday, December 06, 2004 9:15 AM > > To: 'Stephan Janosch' > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > > > Absolutely: > > > > Host (they are all the same) > > define host{ > > use generic-host ; Name of host > > template to use > > > > host_name sfw > > alias Main Router (Linux) > > address 192.168.20.2 > > check_command check-host-alive (I tried > > check-host-echo from the demo site as well) > > parents mainswitch > > checks_enabled 1 > > max_check_attempts 20 > > notification_period 24x7 > > notification_options d,u,r > > stalking_options o,d,u > > } > > > > > > commands: > > > > define command{ > > command_name check-host-alive > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > > 3000.0,80% -c 5000.0,100% -p 1 > > } > > > > > > define command{ > > command_name check-host-echo > > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7 > > } > > > > No firewalls on internal network at all. > > Started looking sources, and debug0, no check_host calls at all. > > > > Thanks in advance. > > > > > > -----Original Message----- > > From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] > > Sent: Monday, December 06, 2004 10:03 AM > > To: Sergey Semenyuk > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_command in Nagios 1.2 > > > > Sergey Semenyuk wrote: > > > Hi, > > > > > > I am having issues with check_command in hosts specifications. I > have > > > actually used sample configuration files and checked the configs on > > the > > > demo site, but still no luck. I tried getting some help from the IRC > > > channel but RTFM was the answer. I figure that even if I read the > > manual > > > for ten times I will barely become smarter. All other plugins and > > > commands specifications work fine, but hosts check_command doesn't > > seem > > > to work for me at all and I get PENDING status with not enough > > > information. I tried various debug levels but don't seem to see from > > > them that Nagios actually tries running that check_command. Any > other > > > place except for the sources I have to look? > > > > > > Thanks in advance. > > > > > > Sergey > > > > Can you post at least one host definition here? And please post the > > definition of the host check command too! >=20 --__--__-- Message: 13 To: "Ralf Gross" Cc: nagios-users at lists.sourceforge.net Subject: Antwort: Re: [Nagios-users] hosts dependancies not working [Virus scanned] From: "Sascha Runschke" Date: Mon, 6 Dec 2004 17:05:17 +0100 This is a multipart message in MIME format. --=_alternative 0058602AC1256F62_= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > Well, I think hostdependencies are more flexible, but I might be > wrong.=20 I > have to confess that I dicovered the parent option after trying > dependencies. Is the parent options a solution for hosts that depend > on=20 a > lot of routers/firewalls? They might be more flexible, but they are not meant to be used that way actually. Only the use of the parent option ensures that network outages are detected properly by Nagios. Parent =3D physical dependency host=5Fdependency =3D logical dependency > Something like that? > > monitoring client -> rt1 -> fw1 -> rt -> fw2 -> rt2 -> client Using the parent option enables you to rebuild your actual network=20 topology within Nagios. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh=E4nge sind ausschlie=DFlich f=FCr den= =20 bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat=20 dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte,=20 da=DF jede Form der Kenntnisnahme, Ver=F6ffentlichung, Vervielf=E4ltigung = oder=20 Weitergabe des Inhalts dieser Email unzul=E4ssig ist. Wir m=F6chten Sie=20 au=DFerdem darauf hinweisen, da=DF die Kommunikation per Email =FCber das=20 Internet unsicher ist, da fuer unberechtigte Dritte grunds=E4tzlich die=20 M=F6glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese=20 Nachricht versehentlich erhalten, informieren Sie bitte den Absender und=20 l=F6schen diese Nachricht mit den Anh=E4ngen. Herzlichen Dank The information and any attachments contained in this email are intended=20 solely for the addressee. Access to this email by anyone else is=20 unauthorized. If you are not the intended recipient, any form of=20 disclosure, reproduction, distribution or any action taken or refrained=20 from in reliance on it, is prohibited and may be unlawful. We also like to = inform you that communication via email over the internet is insecure=20 because third parties may have the possibility to access and manipulate=20 emails. If you have received the message in error, please advise the=20 sender and delete the message and any attachments. Thank you very much. --=_alternative 0058602AC1256F62_= Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
> Well, I think hostdependencies= are more flexible, but I might be wrong. I
> have to confess that I dicovered the parent option after trying
> dependencies. Is the parent options a solution for hosts that depend o= n a
> lot of routers/firewalls?


They might be more flexible, but th= ey are not meant to be used that way
actually. Only the use of the paren= t option ensures that network outages
are detected properly by Nagios.

Parent =3D physical dependency
host=5Fdependency =3D logical depen= dency

> Something like that?
>
> monitoring client -> rt1 -> fw1 -> rt -> fw2 -> rt2 -&g= t; client


Using the parent option enables you = to rebuild your actual network topology within Nagios.

sash

------------------------------------= --------------
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
mailto:SRunschke at abit.de

http://www.abit.net
http://www.abit-epos.net
http://www.my-academy.net
--------------------------------------------------
Der Inhalt dieser Email sowie die Anh=E4nge sind ausschlie=DFlich f=FCr den= bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat = dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da= =DF jede Form der Kenntnisnahme, Ver=F6ffentlichung,  Vervielf=E4ltigu= ng oder Weitergabe des Inhalts dieser Email unzul=E4ssig ist. Wir m=F6chten= Sie au=DFerdem darauf hinweisen, da=DF die Kommunikation per Email =FCber = das Internet unsicher ist, da fuer unberechtigte Dritte grunds=E4tzlich die= M=F6glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese N= achricht versehentlich erhalten, informieren Sie bitte den Absender und l= =F6schen diese Nachricht mit den Anh=E4ngen. Herzlichen Dank

The information and any attachments contained in this email are intended so= lely for the addressee. Access to this email by anyone else is unauthorized= . If you are not the intended recipient, any form of disclosure, reproducti= on, distribution or any action taken or refrained from in reliance on it, i= s prohibited and may be unlawful. We also like to inform you that communica= tion via email over the internet is insecure because third parties may have= the possibility to access and manipulate emails. If you have received the = message in error, please advise the sender and delete the message and any a= ttachments. Thank you very much.
--=_alternative 0058602AC1256F62_=-- --__--__-- Message: 14 From: "Sergey Semenyuk" To: "'Marc Powell'" Cc: Subject: RE: [Nagios-users] check_command in Nagios 1.2 Date: Mon, 6 Dec 2004 11:16:22 -0500 This is what is confusing in the FAQ: Once !!!Nagios checks the status of the host!!! (or of at least one of the services associated with the host), the host's state and status information will be changed. It status status of the host OR service ... I've seen this as well Whenever a service check results in a non-OK status level, Nagios will attempt to check and see if the host that the service is running on is "alive". but couldn't understand WHY nagios would make an assumption without checking the host status (relevant to the hosts without services)given that in some situation the host status is an important criteria too. Thanks a lot for help! Sergey Semenyuk LAN Administrator Strategic Vista International Inc. 300 Alden Road, Markham, ON, L3R 4C1 Phone: (905) 946-8589 x 180 Fax: (905) 947-0138 -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Monday, December 06, 2004 10:55 AM To: Sergey Semenyuk Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_command in Nagios 1.2 Yes, if your host provides no other services that are interesting to you (i.e. a router or switch) you'll want to add a ping service check for it. Some relevant reading -- http://nagios.sourceforge.net/docs/1_0/networkreachability.html http://www.nagios.org/faqs/viewfaq.php?faq_id=85&expand=false&showdesc=t rue http://www.nagios.org/faqs/viewfaq.php?faq_id=86 -- Marc > -----Original Message----- > From: Sergey Semenyuk [mailto:sergey at strategicvista.com] > Sent: Monday, December 06, 2004 9:35 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > Thanks for advice. > I just have noticed going through the sources that check_host is > actually called from verify_host_"path" (whatever) when service status > changes. And everything you said sounds perfectly understandable. So, > you to check if the host is alive I need to have some kind of ping > service, and both service and host status will change (just confirming > my findings), because that "Assuming ..." was rather confusing. > > Thanks for clearing things out for me. > > Sergey Semenyuk > LAN Administrator > Strategic Vista International Inc. > 300 Alden Road, > Markham, ON, L3R 4C1 > Phone: (905) 946-8589 x 180 > Fax: (905) 947-0138 > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Monday, December 06, 2004 10:28 AM > To: Sergey Semenyuk > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > Do you have any service definitions for this host? The host will never > be checked and will remain in a PENDING state if you do not have any > services defined (that actually get checked themselves). Additionally, > the host won't actually be checked and will only be assumed to be OK > until one or more services on the host fails. It sounds to me like you > don't have any services being checked on the host at this point. > > Additionally, a host check of 20 probably isn't a good idea. If the host > _were_ to be checked, nagios will stop all processing except for this > host check until all 20 attempts have completed. No additional service > checks, updates, event handlers, etc will run until this completes. You > should only perform the minimal number of pings/attempts to determine > the state of the host. In many cases a single ping is sufficient or just > a handful if you have a lossy network. > > -- > Marc > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Sergey Semenyuk > > Sent: Monday, December 06, 2004 9:15 AM > > To: 'Stephan Janosch' > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_command in Nagios 1.2 > > > > Absolutely: > > > > Host (they are all the same) > > define host{ > > use generic-host ; Name of host > > template to use > > > > host_name sfw > > alias Main Router (Linux) > > address 192.168.20.2 > > check_command check-host-alive (I tried > > check-host-echo from the demo site as well) > > parents mainswitch > > checks_enabled 1 > > max_check_attempts 20 > > notification_period 24x7 > > notification_options d,u,r > > stalking_options o,d,u > > } > > > > > > commands: > > > > define command{ > > command_name check-host-alive > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > > 3000.0,80% -c 5000.0,100% -p 1 > > } > > > > > > define command{ > > command_name check-host-echo > > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 7 > > } > > > > No firewalls on internal network at all. > > Started looking sources, and debug0, no check_host calls at all. > > > > Thanks in advance. > > > > > > -----Original Message----- > > From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] > > Sent: Monday, December 06, 2004 10:03 AM > > To: Sergey Semenyuk > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_command in Nagios 1.2 > > > > Sergey Semenyuk wrote: > > > Hi, > > > > > > I am having issues with check_command in hosts specifications. I > have > > > actually used sample configuration files and checked the configs on > > the > > > demo site, but still no luck. I tried getting some help from the IRC > > > channel but RTFM was the answer. I figure that even if I read the > > manual > > > for ten times I will barely become smarter. All other plugins and > > > commands specifications work fine, but hosts check_command doesn't > > seem > > > to work for me at all and I get PENDING status with not enough > > > information. I tried various debug levels but don't seem to see from > > > them that Nagios actually tries running that check_command. Any > other > > > place except for the sources I have to look? > > > > > > Thanks in advance. > > > > > > Sergey > > > > Can you post at least one host definition here? And please post the > > definition of the host check command too! > --__--__-- Message: 15 Reply-To: From: "Thomas Earl" To: Date: Mon, 6 Dec 2004 12:50:10 -0500 Organization: Communication Access Center Subject: [Nagios-users] Monitoring ports & BGP on Cisco Greetings to all, I setup Nagios last week and I have to say that this is awesome. Right now I'm monitoring a great number of systems and services and everything is going great. I want to start monitoring my routers for when connections and BGP sessions bounce. What is the best way to do this? I was thinking setting up so my routers trap back to my Nagios server, but if there is a better way, I'm all for testing it out. Please let me know! Thanks, Tom -- Thomas Earl Network Engineer & Designer Communications Access Center (CAC) 1631 Miller Road Flint, Michigan, 48503 248-705-7408 (cell) 810-239-3112 (office) "Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a ride!!'" --Jack Wilson --__--__-- Message: 16 To: nagios-users at lists.sourceforge.net From: Moshe Sharon Date: Mon, 6 Dec 2004 18:56:54 +0000 (UTC) Subject: [Nagios-users] Re: $HOSTADDRESS$ in =?utf-8?b?bm90ZXNfdXJs?= in hostextinfo Hello just a suggestion. put $hostname$ instead of $hostaddress$ and put in /etc/hosts all hosts + ip's or in winnt\system32\drivers\etc\hosts file all you hosts + ip's or also can do dns names. this way it will bypass the ip address problem. Moshe Sharon --__--__-- Message: 17 Subject: Re: [Nagios-users] hosts dependancies not working [Virus scanned] From: Dan Stromberg To: Ralf Gross Cc: strombrg at dcs.nac.uci.edu, srunschke at abit.de, nagios-users at lists.sourceforge.net Date: Mon, 06 Dec 2004 11:09:23 -0800 --=-GvGldxHoGzv86MsEcjuD Content-Type: text/plain Content-Transfer-Encoding: quoted-printable You might try my "deep-ssh" script for monitoring services behind a ton of firewalls: http://dcs.nac.uci.edu/~strombrg/deep-ssh.html Your last ssh in the deep-ssh chain can do a "check_by_ssh", or just run the final nagios plugin directly, I believe. On Mon, 2004-12-06 at 15:06 +0100, Ralf Gross wrote: > Hi, >=20 > first of all, I found my mistake. >=20 > I confused dependent_host_name with host_name! Changing the entries >for both options did the trick. Stupid me! > > why are you using host dependencies in the first place? > > You should use parent relationships for such an environment. t. >=20 > Well, I think hostdependencies are more flexible, but I might be >wrong. I have to confess that I dicovered the parent option after >trying dependencies. Is the parent options a solution for hosts that >depend on a lot of routers/firewalls? Something like that? >=20 > monitoring client -> rt1 -> fw1 -> rt -> fw2 -> rt2 -> client >=20 > Ralf >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now.=20 > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when report= ing any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null >=20 --=-GvGldxHoGzv86MsEcjuD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBBtK5jo0feVm00f/8RAgSOAKCBvAtkOJu8fhrlaY5fQJAVWTMJ0wCePAnR xPuaY6HqmLfYpKRcjMfYsfU= =uqS2 -----END PGP SIGNATURE----- --=-GvGldxHoGzv86MsEcjuD-- --__--__-- Message: 18 To: nagios From: Gary Lawrence Murphy Organization: free software is good for children and other living things Date: Mon, 06 Dec 2004 15:00:43 -0500 Reply-To: Gary Lawrence Murphy Subject: [Nagios-users] Notifications not reaching me I'm having some trouble understanding the notifications system; it's probably just a misunderstanding about terminology, but the two sections on notifications and notification escalations haven't offered any clues as to why the following service does not escalate: First, here's the service, and I know it works because I can trigger it from a command line and it shows up correctly in the nagios web display define service { use net-service host_name f1 service_description Log Output contact_groups audit-trail register 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_period 24x7 normal_check_interval 2 notification_options w,u,c,r check_command check_nrpe!check_log } "check_log" is a simple plug-in that tests the mtime on the file, and it's unimportant here because I have several other services that are giving me similar notification problems. here are the escalation rules: define serviceescalation { host_name f1 service_description Log Output first_notification 6 last_notification 9 contact_groups code-blue notification_interval 0 } define serviceescalation { host_name f1 service_description Log Output first_notification 10 last_notification 19 contact_groups code-yellow notification_interval 0 } What I /expect/ to happen is for the normal check interval to be 5 minutes, so the first 3 checks (15 min) will be under the threshold to trigger the first notification. On the third failure, 15 minutes, I expect a notice to the audit-trail, and I get one. On the /sixth/ interval, ie at 30 minutes, I expect to get one and only one notice sent to code-blue, and at the 10th, at 50 minutes past the first detected failure, I expect to see another single notice out to code-yellow. But what I get (on the Extended display) is this: Current Status: CRITICAL Status Information: CRITICAL - File age 10h 48m Current Attempt: 3/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 12-06-2004 14:51:52 Status Data Age: 0d 0h 1m 12s Next Scheduled Active Check: 12-06-2004 14:53:52 Latency: < 1 second Check Duration: < 1 second Last State Change: 12-06-2004 13:14:23 Current State Duration: 0d 1h 38m 41s Last Service Notification: 12-06-2004 13:14:23 Current Notification Number: 1 Is This Service Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 12-06-2004 14:53:03 It's an hour and a half past the last change in state, there's been no notices and the current notification number is still listed as "1" -- I'm assuming current notification is the number of notifications that have been sent, which agrees with observation since there have been no escalations. Do I have an inappropriate use of the zero notification interval? Is there something else gone wrong with my configuration? I know that notifications do work because we have some services where the alerts are sent and no obvious difference between their definitions. Also, I'm still attempting to duplicate the result in a test case, but we had our notifications intervals set to 60, intending only one message per hour to be sent while the service check interval was only 5 minutes, but again, instead of an alert after 30 minutes, we received the first alert after more than 300 minutes. -- Gary Lawrence Murphy ============================== www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com ====================== The present moment is a powerful goddess (Goethe) --__--__-- Message: 19 Date: Mon, 6 Dec 2004 15:15:37 -0500 From: "Daniel maher" To: Subject: [Nagios-users] nagios perf data output This is a multi-part message in MIME format. ------_=_NextPart_001_01C4DBD0.59B42D1F Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello all, =20 I'm trying to get nagiosgraph working, and it would appear that nagios = is supplying unexpected perf data output. I'm using nagios 2.0 (cvs), = and according to the nagiosgraph debug log, much of the output is just a = dollar sign ($). I gave nagiostat a go as well, and it logged the exact = same output, so it's not specific to nagiosgraph; it appears to be a = nagios issue. =20 Here is a sample of the nagiosgraph debug log: =20 Mon Dec 6 13:53:00 2004 INSERT info: Input lastcheck:$ Mon Dec 6 13:53:00 2004 INSERT info: Input hostname:aceserver Mon Dec 6 13:53:00 2004 INSERT info: Input perfdata:$ Mon Dec 6 13:53:00 2004 INSERT info: Input servicedescr:DISK_USAGE Mon Dec 6 13:53:00 2004 INSERT info: Input output:$ Mon Dec 6 13:53:00 2004 INSERT warn: perfdata not recognized =20 Clearly, some of the output - the "hostname" and "servicedescr" - is = correct, but the other three fields are not. I compiled with the = "--with-default-perfdata" option, and have = "process_performance_data=3D1" set in nagios.cfg . I also enabled = performance data via cmd.cgi in the nagios web interface, just for good = measure. Still, I am getting only $'s. I'm missing something, I = suppose, but I have no idea what it is. Any ideas or suggestions are = welcome! =20 =20 Daniel Maher System Engineer ACE TECHNOLOGY INC. 100, boul. Alexis-Nihon, suite 593 St-Laurent (Qu=E9bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-3494 HYPERLINK "mailto:dmaher at acetechnology.com"dmaher at acetechnology.com HYPERLINK "http://www.acetechnology.com"www.acetechnology.com =20 =20 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.802 / Virus Database: 545 - Release Date: 26/11/2004 =20 ------_=_NextPart_001_01C4DBD0.59B42D1F Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello all,

 

I’m trying to get nagiosgraph working, and it = would appear that nagios is supplying unexpected perf data output.=A0 = I’m using nagios 2.0 (cvs), and according to the nagiosgraph debug log, much of = the output is just a dollar sign ($).=A0 I gave nagiostat a go as well, and = it logged the exact same output, so it’s not specific to nagiosgraph; it = appears to be a nagios = issue.

 

Here is a sample of the nagiosgraph debug = log:

 

Mon Dec=A0 6 13:53:00 2004 INSERT info: Input = lastcheck:$

Mon Dec=A0 6 13:53:00 2004 INSERT info: Input hostname:aceserver

Mon Dec=A0 6 13:53:00 2004 INSERT info: Input = perfdata:$

Mon Dec=A0 6 13:53:00 2004 INSERT info: Input servicedescr:DISK_USAGE

Mon Dec=A0 6 13:53:00 2004 INSERT info: Input = output:$

Mon Dec=A0 6 13:53:00 2004 INSERT warn: perfdata not recognized

 

Clearly, some of the output – the “hostname” and “servicedescr” – is = correct, but the other three fields are not. =A0I compiled with the = “--with-default-perfdata” option, and have “process_performance_data=3D1” set in = nagios.cfg . =A0I also enabled performance data via cmd.cgi in the nagios web interface, = just for good measure. =A0Still, I am getting only $’s.=A0 I’m = missing something, I suppose, but I have no idea what it is. =A0Any ideas or = suggestions are welcome!

 

 

Daniel = Maher

System Engineer

ACE TECHNOLOGY = INC.

100, boul. Alexis-Nihon, suite = 593

St-Laurent (Qu=E9bec) H4M = 2P1

Tel: 514-485-2307

Fax: 514-485-3494

dmaher at acetechnology.com

www.acetechnology.com=

 

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.802 / Virus Database: 545 - Release Date: 26/11/2004

------_=_NextPart_001_01C4DBD0.59B42D1F-- --__--__-- Message: 20 Date: Tue, 07 Dec 2004 09:38:18 +1300 From: Jan Scholten To: Gary Lawrence Murphy CC: nagios Subject: Re: [Nagios-users] Notifications not reaching me Gary Lawrence Murphy schrieb: I never used escalations, but don't you think you should register the service OR give us the correct service definition (not the template)? Jan > I'm having some trouble understanding the notifications system; it's > probably just a misunderstanding about terminology, but the two > sections on notifications and notification escalations haven't offered > any clues as to why the following service does not escalate: > > First, here's the service, and I know it works because I can trigger > it from a command line and it shows up correctly in the nagios web > display > > define service { > use net-service > host_name f1 > service_description Log Output > contact_groups audit-trail > register 0 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_period 24x7 > normal_check_interval 2 > notification_options w,u,c,r > check_command check_nrpe!check_log > } > > "check_log" is a simple plug-in that tests the mtime on the file, and > it's unimportant here because I have several other services that are > giving me similar notification problems. > > here are the escalation rules: > > define serviceescalation { > host_name f1 > service_description Log Output > first_notification 6 > last_notification 9 > contact_groups code-blue > notification_interval 0 > } > > define serviceescalation { > host_name f1 > service_description Log Output > first_notification 10 > last_notification 19 > contact_groups code-yellow > notification_interval 0 > } > > What I /expect/ to happen is for the normal check interval to be 5 > minutes, so the first 3 checks (15 min) will be under the threshold to > trigger the first notification. On the third failure, 15 minutes, I > expect a notice to the audit-trail, and I get one. > > On the /sixth/ interval, ie at 30 minutes, I expect to get one and > only one notice sent to code-blue, and at the 10th, at 50 minutes past > the first detected failure, I expect to see another single notice out > to code-yellow. > > But what I get (on the Extended display) is this: > > Current Status: CRITICAL > Status Information: CRITICAL - File age 10h 48m > Current Attempt: 3/3 > State Type: HARD > Last Check Type: ACTIVE > Last Check Time: 12-06-2004 14:51:52 > Status Data Age: 0d 0h 1m 12s > Next Scheduled Active Check: 12-06-2004 14:53:52 > Latency: < 1 second > Check Duration: < 1 second > Last State Change: 12-06-2004 13:14:23 > Current State Duration: 0d 1h 38m 41s > Last Service Notification: 12-06-2004 13:14:23 > Current Notification Number: 1 > Is This Service Flapping? N/A > Percent State Change: N/A > In Scheduled Downtime? NO > Last Update: 12-06-2004 14:53:03 > > It's an hour and a half past the last change in state, there's been no > notices and the current notification number is still listed as "1" -- > I'm assuming current notification is the number of notifications that > have been sent, which agrees with observation since there have been no > escalations. > > Do I have an inappropriate use of the zero notification interval? Is > there something else gone wrong with my configuration? I know that > notifications do work because we have some services where the alerts > are sent and no obvious difference between their definitions. > > Also, I'm still attempting to duplicate the result in a test case, but > we had our notifications intervals set to 60, intending only one > message per hour to be sent while the service check interval was only > 5 minutes, but again, instead of an alert after 30 minutes, we > received the first alert after more than 300 minutes. > --__--__-- Message: 21 From: "Stork, Johnny [PH]" To: nagios-users at lists.sourceforge.net Date: Mon, 6 Dec 2004 13:02:57 -0800 Subject: [Nagios-users] Compaq Smart Array Drives under Linux I have had nagios 1.2 working for sometime and only recently added a new Linux Server running Suse EL 9 with a Compaq Smartarray controller. Running df shows the following dev entries Filesystem 1K-blocks Used Available Use% Mounted on /dev/cciss/c0d0p2 68974336 3663072 65311264 6% / tmpfs 647660 8 647652 1% /dev/shm /dev/cciss/c0d0p1 98747 6571 87077 8% /boot But running Nagios from another machine (192.168.101.14) and trying to read the drive/mnt status on the SuSE server (192.168.101.12) does not return any values? Is the check_disk plugin only for a local drive? If so, is there another plugin to monitor non-local drives on another server? ----------------------------------------------------------- Johnny Stork Information & Technology Manager Provincial Blood Coordinating Office --__--__-- Message: 22 To: Jan Scholten Cc: nagios Subject: Re: [Nagios-users] Notifications not reaching me From: Gary Lawrence Murphy Organization: free software is good for children and other living things Date: Mon, 06 Dec 2004 16:12:32 -0500 Reply-To: Gary Lawrence Murphy >>>>> "J" == Jan Scholten writes: J> I never used escalations, but don't you think you should J> register the service OR give us the correct service definition J> (not the template)? I'm not at all sure I understand your question ... define service { use net-service host_name f1 service_description Log Output contact_groups audit-trail ... check_command check_nrpe!check_log } isn't this the service description? This is what I edit when I want to register services and I definately see the check_log script being called in the NRPE lines of the (Linux) kernel logs. True, _net-service_ is a template, but I had taken the relevent lines from /that/ template and inserted them in-line into this service definition so the specification would be complete. net-service merely extends the default template with shorter polling values. Now I'm /really/ confused: if the above is not defining or registering my service, then how could this service appear on the service detail and extended information pages with these settings? -- Gary Lawrence Murphy ============================== www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com ====================== The present moment is a powerful goddess (Goethe) --__--__-- Message: 23 To: Jan Scholten Cc: nagios Subject: Re: [Nagios-users] Notifications not reaching me From: Gary Lawrence Murphy Organization: free software is good for children and other living things Date: Mon, 06 Dec 2004 16:14:39 -0500 Reply-To: Gary Lawrence Murphy Ah ... I see the confusion: I had inadvertently also inserted the "register 0" line from the net-service definition. Please ignore that line, my bad. -- Gary Lawrence Murphy ============================== www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com ====================== The present moment is a powerful goddess (Goethe) --__--__-- Message: 24 To: Jan Scholten Cc: nagios Subject: Re: [Nagios-users] Notifications not reaching me From: Gary Lawrence Murphy Organization: free software is good for children and other living things Date: Mon, 06 Dec 2004 16:18:38 -0500 Reply-To: Gary Lawrence Murphy To be completely clear, here's the two definitions, the template and the service, verbatim without my trying to be clever in merging them ;) define service { use generic-service name net-service register 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 0 notification_period 24x7 } define service { use net-service host_name f1, f3 service_description Log Output contact_groups audit-trail normal_check_interval 2 notification_options w,u,c,r check_command check_nrpe!check_log } -- Gary Lawrence Murphy ============================== www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com ====================== The present moment is a powerful goddess (Goethe) --__--__-- Message: 25 To: nagios-users at lists.sourceforge.net From: Wil Cooley Date: Mon, 06 Dec 2004 13:32:10 -0800 Organization: Naked Ape Consulting, Ltd. Subject: [Nagios-users] Re: Templates for Web Interface On Thu, 02 Dec 2004 15:21:55 -0200, Leonardo Henrique Machado wrote: > Is there any project developing other templates for the Nagios web > interface? This is the only one I've seen: http://nagios-php.sourceforge.net/ Personally, I'd like to see one in Perl using Template Toolkit, considering that there are already a handful of Perl modules for reading Nagios configuration and status files. But, lacking the time and motivation to do it myself, I can't complain. Wil -- Wil Cooley wcooley at nakedape.cc Naked Ape Consulting http://nakedape.cc * * * * Linux, UNIX, Networking and Security Solutions * * * * "Sufficiently advanced cluelessness is indistinguishable from malice." -- Alex Martelli --__--__-- Message: 26 Subject: RE: [Nagios-users] Re: Templates for Web Interface Date: Mon, 6 Dec 2004 14:38:53 -0700 From: "Nathan Oyler" To: "Wil Cooley" , Have you had any experience running nagios-php? I was looking through the project today and it didn't seem very together. I wanted to know if anyone had used it. What, if any advantages it gave them. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >admin at lists.sourceforge.net] On Behalf Of Wil Cooley > Sent: Monday, December 06, 2004 2:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Templates for Web Interface >=20 > On Thu, 02 Dec 2004 15:21:55 -0200, Leonardo Henrique Machado wrote: >=20 > > Is there any project developing other templates for the Nagios web > > interface? >=20 > This is the only one I've seen: >=20 > http://nagios-php.sourceforge.net/ >=20 > Personally, I'd like to see one in Perl using Template Toolkit, >considering that there are already a handful of Perl modules for reading > Nagios configuration and status files. But, lacking the time and >motivation to do it myself, I can't complain. =20 > Wil > -- > Wil Cooley wcooley at nakedape.cc > Naked Ape Consulting http://nakedape.cc > * * * * Linux, UNIX, Networking and Security Solutions * * * * >=20 > "Sufficiently advanced cluelessness is indistinguishable from malice." > -- Alex Martelli >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ross.minkov at hp.com Tue Dec 7 01:49:24 2004 From: ross.minkov at hp.com (Minkov, Ross) Date: Mon, 6 Dec 2004 19:49:24 -0500 Subject: check_ldap Message-ID: <192E38594ACFAF4EB4F40E1C4B604723060149A7@tayexc13.americas.cpqcorp.net> Does anyone know what are the default critical and warning values for check_ldap? ======================================================================== == # /usr/lib/nagios/plugins/check_ldap -h check_ldap (nagios-plugins 1.3.1) 1.4 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 1999 Didi Rieder (adrieder at sbox.tu-graz.ac.at) License: GPL Usage: check_ldap -H -b [-p ] [-a ] [-D ] [-P ] [-w ] [-c ] [-t timeout] (Note: all times are in seconds.) Options: -H [--host] ... host -a [--attr] ... ldap attribute to search (default: "(objectclass=*)" -b [--base] ... ldap base (eg. ou=my unit, o=my org, c=at) -D [--bind] ... ldap bind DN (if required) -P [--pass] ... ldap password (if required) -p [--port] ... ldap port (default: 389) -w [--warn] ... time in secs. - if the exceeds the STATE_WARNING will be returned -c [--crit] ... time in secs. - if the exceeds the STATE_CRITICAL will be returned TIA, Ross ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garym at canada.com Tue Dec 7 02:12:47 2004 From: garym at canada.com (Gary Lawrence Murphy) Date: Mon, 06 Dec 2004 20:12:47 -0500 Subject: Notifications not reaching me References: <37ED92F9890FAF4BB947613C66FF8B1AFC737E@dw-mail.dataway.com> <20040930150528.GA15292@tranquility.scriptkitchen.com> <41B4C33A.3050509@iconz.net> <41B4E1AB.5080105@op5.se> Message-ID: >>>>> "A" == Andreas Ericsson writes: A> You've got notification_interval 0, which means it will only A> send one notification. I'm surprised you get any at all for A> your escalations where first_notification is higher than 1. Probably because that value was overridden and thanks This use of notification_interval=0 was ambiguous in my reading of the docs: I'd thought it would limit /notification/ to once _per_ _rule_, such that there'd be one notice at the early-warning level, one at the alarm threshold (I then had hourly once it escalated to SMS) -- I didn't consider that it would also limit the retry-tests and escalation. So does this also mean that if the retry check-interval is 5 min but the notification interval is 60, and the escalation is set to the 3rd notification, that the notice will not escalate until the third hour? (rather than 15 min) Thanks -- this clears up a lot. I had understood notification_interval as only a throttle on the number of notification messages as in "will not send email/SMS any more frequent than notification_interval minutes, but will continue to check for status change every retry_check_interval minutes." It just seemed logical to me that we'd want to continue to poll the service at the prescribed rate for retry tests but not send emails every 2 minutes. So, then, is this correct? ... 1) if the service check fails, nagios will check on retry_check_interval until it tests good or fails max_check 2) after all max_check tests _fail_ nagios will throw one notice, then pause notification_interval before it checks again 3) if it still fails, the notification count is increased and it waits notification_intervals between checks until the service comes back up. -- Gary Lawrence Murphy ============================== www.teledyn.com - blog.teledyn.com - irish.teledyn.com - sbp.teledyn.com ====================== The present moment is a powerful goddess (Goethe) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 7 02:21:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Dec 2004 02:21:40 +0100 Subject: Mail response time In-Reply-To: <000901c4dbed$fc7c8e90$4618680a@ad.mizuhosc.com> References: <000901c4dbed$fc7c8e90$4618680a@ad.mizuhosc.com> Message-ID: <41B505A4.2040406@op5.se> Jamie Roughan wrote: > Currently it takes about 5 minutes to receive mail notificatin from nagios. > I would like to receive mail after 1 minute . > > Is the parameter for accomplishing this located in the main nagios.cfg ? > Is it the command_check_interval ? If not which parameter controls email > notification response? > The time that passes from the first time an error is detected to the time the first notification is sent is (assuming you have no dependencies stalling things otherwise) can be calculated thus; seconds = interval_length * retry_check_interval * max_check_attempts interval_length is configured in nagios.cfg retry_check_interval and max_check_attempts is defined on a per service basis. Host checks are executed serially, so they don't have the retry_check_interval. This is done to prevent false alerts. On many (all?) services available in a network it's a good idea to do things this way, since most (all?) networks are susceptible to temporary failure which corrects itself before it can actually affect production to any greater degree (packet loss due to high load while backups are running, for instance). If you have a couple of services that are so critical that you immediately want notifications for them, I suggest you set max_check_attempts to 1 for them and then get ready to delete a lot of false positives. > -merci beaucoup > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > nagios-users-request at lists.sourceforge.net > Sent: Tuesday, December 07, 2004 6:39 AM > To: nagios-users at lists.sourceforge.net > Subject: Nagios-users digest, Vol 1 #2363 - 26 msgs > > > 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-admin 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. Antwort: [Nagios-users] sms_client scripts [Virus scanned] (Sascha > Runschke) > 2. hosts dependancies not working (Ralf Gross) > 3. Antwort: [Nagios-users] hosts dependancies not working [Virus scanned] > (Sascha Runschke) > 4. Re: hosts dependancies not working [Virus scanned] (Ralf Gross) > 5. $HOSTADDRESS$ in notes_url in hostextinfo > (florian.beese at infoconsult.nu) > 6. Re: $HOSTADDRESS$ in notes_url in hostextinfo (Andreas Ericsson) > 7. check_command in Nagios 1.2 (Sergey Semenyuk) > 8. Re: check_command in Nagios 1.2 (Stephan Janosch) > 9. RE: check_command in Nagios 1.2 (Sergey Semenyuk) > 10. RE: check_command in Nagios 1.2 (Marc Powell) > 11. RE: check_command in Nagios 1.2 (Sergey Semenyuk) > 12. RE: check_command in Nagios 1.2 (Marc Powell) > 13. Antwort: Re: [Nagios-users] hosts dependancies not working [Virus > scanned] (Sascha Runschke) > 14. RE: check_command in Nagios 1.2 (Sergey Semenyuk) > 15. Monitoring ports & BGP on Cisco (Thomas Earl) > 16. Re: $HOSTADDRESS$ in =?utf-8?b?bm90ZXNfdXJs?= in hostextinfo (Moshe > Sharon) > 17. Re: hosts dependancies not working [Virus scanned] (Dan Stromberg) > 18. Notifications not reaching me (Gary Lawrence Murphy) > 19. nagios perf data output (Daniel maher) > 20. Re: Notifications not reaching me (Jan Scholten) > 21. Compaq Smart Array Drives under Linux (Stork, Johnny [PH]) > 22. Re: Notifications not reaching me (Gary Lawrence Murphy) > 23. Re: Notifications not reaching me (Gary Lawrence Murphy) > 24. Re: Notifications not reaching me (Gary Lawrence Murphy) > 25. Re: Templates for Web Interface (Wil Cooley) > 26. RE: Re: Templates for Web Interface (Nathan Oyler) > > --__--__-- > > Message: 1 > To: Mark Maas > Cc: nagios-users at lists.sourceforge.net > Subject: Antwort: [Nagios-users] sms_client scripts [Virus scanned] > From: "Sascha Runschke" > Date: Mon, 6 Dec 2004 09:52:36 +0100 > > This is a multipart message in MIME format. > --=_alternative 0030C2EBC1256F62_= > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Hello Mark, > > seeing that noone answered you I'll try to give you some directions :) > > Does Nagios have the correct permissions to access the modem? Does > sms=5Fclient work from the command-line (try as nagios user, not=20 root!). > > I am not familiar with sms=5Fclient, but I somehow miss the number in your = > > config. > Does sms=5Fclient have its own addressbook? > > sash > > -------------------------------------------------- > Sascha Runschke > Netzwerk Administration > IT-Services > > ABIT AG > Robert-Bosch-Str. 1 > 40668 Meerbusch > > Tel.:+49 (0) 2150.9153.226 > mailto:SRunschke at abit.de > > http://www.abit.net > http://www.abit-epos.net > http://www.my-academy.net > -------------------------------------------------- > Der Inhalt dieser Email sowie die Anh=E4nge sind ausschlie=DFlich f=FCr den= > =20 bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene > Adressat=20 dieser Email oder dessen Vertreter sein sollten, so beachten Sie > bitte,=20 da=DF jede Form der Kenntnisnahme, Ver=F6ffentlichung, > Vervielf=E4ltigung = oder=20 Weitergabe des Inhalts dieser Email > unzul=E4ssig ist. Wir m=F6chten Sie=20 au=DFerdem darauf hinweisen, da=DF > die Kommunikation per Email =FCber das=20 Internet unsicher ist, da fuer > unberechtigte Dritte grunds=E4tzlich die=20 M=F6glichkeit der Kenntnisnahme > und Manipulation besteht. Wenn Sie diese=20 Nachricht versehentlich > erhalten, informieren Sie bitte den Absender und=20 l=F6schen diese > Nachricht mit den Anh=E4ngen. Herzlichen Dank > > The information and any attachments contained in this email are intended=20 > solely for the addressee. Access to this email by anyone else is=20 > unauthorized. If you are not the intended recipient, any form of=20 > disclosure, reproduction, distribution or any action taken or refrained=20 > from in reliance on it, is prohibited and may be unlawful. We also like to = > > inform you that communication via email over the internet is insecure=20 > because third parties may have the possibility to access and manipulate=20 > emails. If you have received the message in error, please advise the=20 > sender and delete the message and any attachments. Thank you very much. > --=_alternative 0030C2EBC1256F62_= > Content-Type: text/html; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > >
Hello Mark, >
>
seeing that noone answered you I'll = > try to give you some directions :)

face=3D"sans-serif">Does Nagios have the correct permiss= ions to access the > modem?
Does sms=5Fclient work > from the comm= and-line (try as nagios user, not root!).
>
I am not familiar with sms=5Fclient,= > but I somehow miss the number in your config.
face=3D"sans-serif">Does sms=5Fclient have its own addre= ssbook? >

sash

size=3D2 face=3D"sans-serif">------------------------------------= > --------------
> Sascha Runschke
> Netzwerk Administration
> IT-Services
>
> ABIT AG
> Robert-Bosch-Str. 1
> 40668 Meerbusch
>
> Tel.:+49 (0) 2150.9153.226
> mailto:SRunschke at abit.de
>
> http://www.abit.net
> http://www.abit-epos.net
> http://www.my-academy.net
> --------------------------------------------------
> Der Inhalt dieser Email sowie die Anh=E4nge sind ausschlie=DFlich f=FCr den= > bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat = > dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da= > =DF jede Form der Kenntnisnahme, Ver=F6ffentlichung,  Vervielf=E4ltigu= > ng oder Weitergabe des Inhalts dieser Email unzul=E4ssig ist. Wir m=F6chten= > Sie au=DFerdem darauf hinweisen, da=DF die Kommunikation per Email =FCber = > das Internet unsicher ist, da fuer unberechtigte Dritte grunds=E4tzlich die= > M=F6glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese N= > achricht versehentlich erhalten, informieren Sie bitte den Absender und l= > =F6schen diese Nachricht mit den Anh=E4ngen. Herzlichen Dank

The > information and any attachments contained in this email are intended so= > lely for the addressee. Access to this email by anyone else is unauthorized= > . If you are not the intended recipient, any form of disclosure, reproducti= > on, distribution or any action taken or refrained from in reliance on it, i= > s prohibited and may be unlawful. We also like to inform you that communica= > tion via email over the internet is insecure because third parties may have= > the possibility to access and manipulate emails. If you have received the = > message in error, please advise the sender and delete the message and any a= > ttachments. Thank you very much.
--=_alternative 0030C2EBC1256F62_=-- > > > --__--__-- > > Message: 2 > Date: Mon, 6 Dec 2004 14:30:03 +0100 (CET) > From: "Ralf Gross" > To: > Subject: [Nagios-users] hosts dependancies not working > > Hi, > > I'm trying to set up host dependencies for a couple of of hosts behind > routers/firewalls. define hostdependency{ > hostgroup_name test > dependent_host_name router1,fw,router2 > notification_failure_criteria d,u,o > } > > The group test contains 2 hosts behind a router. To test the dependency I > created a iptables rule that first rejects icmp packets from router1 and > later, when router1 is down, rejects packets from hosts in the hostgroup. > The dependeny is also displayed in the cgi interface (view config). > > The logfile shows the following: > > HOST ALERT: router1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seco= > nds HOST ALERT: router1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 > seco= nds HOST ALERT: router1;DOWN;SOFT;3;CRITICAL - Plugin timed out after > 10 seco= nds HOST ALERT: router1;DOWN;SOFT;4;CRITICAL - Plugin timed out > after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;5;CRITICAL - Plugin timed > out after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;6;CRITICAL - Plugin > timed out after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;7;CRITICAL - > Plugin timed out after 10 seco= nds HOST ALERT: router1;DOWN;SOFT;8;CRITICAL > - Plugin timed out after 10 seco= nds HOST ALERT: > router1;DOWN;HARD;9;CRITICAL - Plugin timed out after 10 seco= nds SERVICE > ALERT: router1;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 > seconds Ok, the dependent host is down. Now I started blocking icmp packets > from the client test1 behinde router1: HOST ALERT: > test1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: > test1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: > test1;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: > test1;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: > test1;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: > test1;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: > test1;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: > test1;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 second= s HOST ALERT: > test1;DOWN;HARD;9;CRITICAL - Plugin timed out after 10 second= s HOST > NOTIFICATION: Gross;test1;DOWN;host-notify-by-sms;CRITICAL - Plugin timed > out after 10 secondsHOST NOTIFICATION: Gross;test1;DOWN;notify-by-w= > inpopup;CRITICAL - Plugin timed out after 10 secondsHOST NOTIFICATION: > Gross;test1;DOWN;host-notify= -by-email;CRITICAL - Plugin timed out after 10 > secondsSERVICE ALERT: test1;PING;CRITICAL;HARD;1;CRITI= CAL - Plugin timed > out after 10 seconds Host test1 is down and the dependent host router1 too! > No host notifications should be sent out, or am I wrong? Any ideas what I > might be doing wrong? > > > One more question. I'm using o as Option for notification_failure_criteria. > Is that necessary to supress recovery notifications, or is d,u sufficient? > Thanks, Ralf > > > > > > > --__--__-- > > Message: 3 > To: "Ralf Gross" > Cc: nagios-users at lists.sourceforge.net > Subject: Antwort: [Nagios-users] hosts dependancies not working [Virus > scanned] > From: "Sascha Runschke" > Date: Mon, 6 Dec 2004 14:46:09 +0100 > > This is a multipart message in MIME format. > --=_alternative 004BA362C1256F62_= > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Hello Ralf, > > why are you using host dependencies in the first place? > You should use parent relationships for such an environment. > > sash > > -------------------------------------------------- > Sascha Runschke > Netzwerk Administration > IT-Services > > ABIT AG > Robert-Bosch-Str. 1 > 40668 Meerbusch > > Tel.:+49 (0) 2150.9153.226 > mailto:SRunschke at abit.de > > http://www.abit.net > http://www.abit-epos.net > http://www.my-academy.net > -------------------------------------------------- > Der Inhalt dieser Email sowie die Anh=E4nge sind ausschlie=DFlich f=FCr den= > =20 bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene > Adressat=20 dieser Email oder dessen Vertreter sein sollten, so beachten Sie > bitte,=20 da=DF jede Form der Kenntnisnahme, Ver=F6ffentlichung, > Vervielf=E4ltigung = oder=20 Weitergabe des Inhalts dieser Email > unzul=E4ssig ist. Wir m=F6chten Sie=20 au=DFerdem darauf hinweisen, da=DF > die Kommunikation per Email =FCber das=20 Internet unsicher ist, da fuer > unberechtigte Dritte grunds=E4tzlich die=20 M=F6glichkeit der Kenntnisnahme > und Manipulation besteht. Wenn Sie diese=20 Nachricht versehentlich > erhalten, informieren Sie bitte den Absender und=20 l=F6schen diese > Nachricht mit den Anh=E4ngen. Herzlichen Dank > > The information and any attachments contained in this email are intended=20 > solely for the addressee. Access to this email by anyone else is=20 > unauthorized. If you are not the intended recipient, any form of=20 > disclosure, reproduction, distribution or any action taken or refrained=20 > from in reliance on it, is prohibited and may be unlawful. We also like to = > > inform you that communication via email over the internet is insecure=20 > because third parties may have the possibility to access and manipulate=20 > emails. If you have received the message in error, please advise the=20 > sender and delete the message and any attachments. Thank you very much. > --=_alternative 004BA362C1256F62_= > Content-Type: text/html; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > >
Hello Ralf, >
>
why are you using host dependencies = > in the first place?
You should > use parent relationships = for such an environment.

size=3D2 face=3D"sans-serif">sash

face=3D"sans-serif">------------------------------------= > --------------
> Sascha Runschke
> Netzwerk Administration
> IT-Services
>
> ABIT AG
> Robert-Bosch-Str. 1
> 40668 Meerbusch
>
> Tel.:+49 (0) 2150.9153.226
> mailto:SRunschke at abit.de
>
> http://www.abit.net
> http://www.abit-epos.net
> http://www.my-academy.net
> --------------------------------------------------
> Der Inhalt dieser Email sowie die Anh=E4nge sind ausschlie=DFlich f=FCr den= > bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat = > dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da= > =DF jede Form der Kenntnisnahme, Ver=F6ffentlichung,  Vervielf=E4ltigu= > ng oder Weitergabe des Inhalts dieser Email unzul=E4ssig ist. Wir m=F6chten= > Sie au=DFerdem darauf hinweisen, da=DF die Kommunikation per Email =FCber = > das Internet unsicher ist, da fuer unberechtigte Dritte grunds=E4tzlich die= > M=F6glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese N= > achricht versehentlich erhalten, informieren Sie bitte den Absender und l= > =F6schen diese Nachricht mit den Anh=E4ngen. Herzlichen Dank

The > information and any attachments contained in this email are intended so= > lely for the addressee. Access to this email by anyone else is unauthorized= > . If you are not the intended recipient, any form of disclosure, reproducti= > on, distribution or any action taken or refrained from in reliance on it, i= > s prohibited and may be unlawful. We also like to inform you that communica= > tion via email over the internet is insecure because third parties may have= > the possibility to access and manipulate emails. If you have received the = > message in error, please advise the sender and delete the message and any a= > ttachments. Thank you very much.
--=_alternative 004BA362C1256F62_=-- > > > --__--__-- > > Message: 4 > Date: Mon, 6 Dec 2004 15:06:53 +0100 (CET) > Subject: Re: [Nagios-users] hosts dependancies not working [Virus scanned] > From: "Ralf Gross" > To: > Cc: > > Hi, > > first of all, I found my mistake. > > I confused dependent_host_name with host_name! Changing the entries for both > options did the trick. Stupid me! > >>why are you using host dependencies in the first place? >>You should use parent relationships for such an environment. t. > > > Well, I think hostdependencies are more flexible, but I might be wrong. I > have to confess that I dicovered the parent option after trying > dependencies. Is the parent options a solution for hosts that depend on a > lot of routers/firewalls? Something like that? > > monitoring client -> rt1 -> fw1 -> rt -> fw2 -> rt2 -> client > > Ralf > > > > > --__--__-- > > Message: 5 > From: florian.beese at infoconsult.nu > To: nagios-users at lists.sourceforge.net > Date: Mon, 6 Dec 2004 15:14:05 +0100 > Subject: [Nagios-users] $HOSTADDRESS$ in notes_url in hostextinfo > > Hi, > > I have a problem using the macro $HOSTADDRESS$ in the hostextinfo > configuration with Nagios 1.2 (on SuSE Linux 9.1). > > I wanted to use the $HOSTADDRESS$ macro as a part of the notes_url, in order > to connect to the monitored machine via VNC. My Problem now is, that the > macro does not contain the IP address as expected, but the IP-Address > devided with %2e instead of normal dods. > > When I put the mouse over the link the information in the status bar of the > browser looks right, but when I follow the link (click) the address in the > address-bar of the new opened window contains "%2e"s instead of normal dods. > This ofcourse can also be seen in the generated HTML-Code of the status.cgi. > > My configuration of hostextinfo looks like the following: > > define hostextinfo{ > host_name prince > notes_url http://192.168.10.18:5800 > icon_image windows_pc.gif > icon_image_alt Silke's Rechner > vrml_image windows_pc.gif > statusmap_image windows_pc.gd2 > 2d_coords 140,90 > 3d_coords 180.0,90.0,40.0 > } > > define hostextinfo{ > host_name mogli > notes_url http://$HOSTADDRESS$:5800 > icon_image ids_server.gif > icon_image_alt Arbeitsplatz und Nagiostestrechner > vrml_image ids_server.gif > statusmap_image ids_server.gd2 > 2d_coords 80,90 > 3d_coords 100.0,40.0,20.0 > } > > The upper one works well, because its hard coded (doesn't contain the > macro). The lower one instead has the effect described above. > > upper hostextinfo link: http://192.168.10.18:5800/ > lower hostextinfo link: http://192%2e168%2e10%2e12:5800/ > > I searched the documentation and mailinglist archieves for info about this > issue, but did not find any. So I don't know, if this is a bug or not. > > Thanks in advance! > > regards > Florian Beese > > > ____________ > Virus checked by G DATA AntiVirusKit > Version: AVK 15.0.1385 from 06.12.2004 > > > --__--__-- > > Message: 6 > Date: Mon, 06 Dec 2004 15:49:03 +0100 > From: Andreas Ericsson > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] $HOSTADDRESS$ in notes_url in hostextinfo > > florian.beese at infoconsult.nu wrote: > >>Hi, >> >>I have a problem using the macro $HOSTADDRESS$ in the hostextinfo >>configuration with Nagios 1.2 (on SuSE Linux 9.1). >> >>I wanted to use the $HOSTADDRESS$ macro as a part of the notes_url, in >>order to connect to the monitored machine via VNC. My Problem now is, >>that the macro does not contain the IP address as expected, but the >>IP-Address devided with %2e instead of normal dods. >> > > > This has been fixed in Nagios 2 CVS. > > >>When I put the mouse over the link the information in the status bar >>of the browser looks right, but when I follow the link (click) the >>address in the address-bar of the new opened window contains "%2e"s >>instead of normal dods. This ofcourse can also be seen in the >>generated HTML-Code of the status.cgi. >> >>My configuration of hostextinfo looks like the following: >> >>define hostextinfo{ >> host_name prince >> notes_url http://192.168.10.18:5800 >> icon_image windows_pc.gif >> icon_image_alt Silke's Rechner >> vrml_image windows_pc.gif >> statusmap_image windows_pc.gd2 >> 2d_coords 140,90 >> 3d_coords 180.0,90.0,40.0 >>} >> >>define hostextinfo{ >> host_name mogli >> notes_url http://$HOSTADDRESS$:5800 >> icon_image ids_server.gif >> icon_image_alt Arbeitsplatz und Nagiostestrechner >> vrml_image ids_server.gif >> statusmap_image ids_server.gd2 >> 2d_coords 80,90 >> 3d_coords 100.0,40.0,20.0 >>} >> >>The upper one works well, because its hard coded (doesn't contain the >>macro). The lower one instead has the effect described above. >> >>upper hostextinfo link: http://192.168.10.18:5800/ >>lower hostextinfo link: http://192%2e168%2e10%2e12:5800/ >> >>I searched the documentation and mailinglist archieves for info about >>this issue, but did not find any. So I don't know, if this is a bug or >>not. >> >>Thanks in advance! >> >>regards >> Florian Beese >> >> >>____________ >>Virus checked by G DATA AntiVirusKit >>Version: AVK 15.0.1385 from 06.12.2004 >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real >>users. Discover which products truly live up to the hype. Start >>reading now. http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Scholten at iconz.net Tue Dec 7 02:34:17 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 07 Dec 2004 14:34:17 +1300 Subject: Mail response time In-Reply-To: <000901c4dbed$fc7c8e90$4618680a@ad.mizuhosc.com> References: <000901c4dbed$fc7c8e90$4618680a@ad.mizuhosc.com> Message-ID: <41B50899.1060302@iconz.net> Jamie Roughan schrieb: > Currently it takes about 5 minutes to receive mail notificatin from nagios. > I would like to receive mail after 1 minute . > > Is the parameter for accomplishing this located in the main nagios.cfg ? > Is it the command_check_interval ? If not which parameter controls email > notification response? > > -merci beaucoup RTFM? Normally a mail is send out, when a notification is triggered. Check max_check_attempts normal_check_interval retry_check_interval notification_interval in services.cfg check time_units in nagios.cfg read the fu**** manual. If your mails notification is triggered (check logs) but you receive the mails too late check the mail-server queues, load on mailserver, your mailclient. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 7 03:18:35 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Dec 2004 03:18:35 +0100 Subject: Notifications not reaching me In-Reply-To: References: <37ED92F9890FAF4BB947613C66FF8B1AFC737E@dw-mail.dataway.com> <20040930150528.GA15292@tranquility.scriptkitchen.com> <41B4C33A.3050509@iconz.net> <41B4E1AB.5080105@op5.se> Message-ID: <41B512FB.1010304@op5.se> Gary Lawrence Murphy wrote: >>>>>>"A" == Andreas Ericsson writes: > > > A> You've got notification_interval 0, which means it will only > A> send one notification. I'm surprised you get any at all for > A> your escalations where first_notification is higher than 1. > > Probably because that value was overridden and thanks > > This use of notification_interval=0 was ambiguous in my reading of the > docs: I'd thought it would limit /notification/ to once _per_ _rule_, > such that there'd be one notice at the early-warning level, one at the > alarm threshold (I then had hourly once it escalated to SMS) -- I > didn't consider that it would also limit the retry-tests and > escalation. > > So does this also mean that if the retry check-interval is 5 min but > the notification interval is 60, and the escalation is set to the 3rd > notification, that the notice will not escalate until the third hour? > (rather than 15 min) > > Thanks -- this clears up a lot. > > I had understood notification_interval as only a throttle on the > number of notification messages as in "will not send email/SMS any > more frequent than notification_interval minutes, but will continue to > check for status change every retry_check_interval minutes." It just > seemed logical to me that we'd want to continue to poll the service at > the prescribed rate for retry tests but not send emails every 2 > minutes. > > So, then, is this correct? ... > > 1) if the service check fails, nagios will check on retry_check_interval > until it tests good or fails max_check > Right on so far. > 2) after all max_check tests _fail_ nagios will throw one notice, then > pause notification_interval before it checks again > > 3) if it still fails, the notification count is increased and it waits > notification_intervals between checks until the service comes back up. > I think that when a service has been determined to be in a HARD error state, Nagios waits normal_check_interval before checking it again. Notifications are suppressed during that time, since it doesn't make much sense to just re-send that same notification. I believe this is done differently in Nagios 2 (if it isn't, it should be), where notifications are re-sent no matter when the service was last checked. I might be wrong about that last one. I haven't looked at the 1.x code in a very long time. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Tue Dec 7 04:06:45 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Tue, 7 Dec 2004 01:06:45 -0200 (BRDT) Subject: VRML with Octaga Viewer Message-ID: I could finally find a good vrml viewer that is easy to install under linux, and works! It worked with all .wrl files I found on internet. But it does not work with nagios statuswrl. Why? Has anyone already tried this Viewer (Octaga)? ----- [root at basura /tmp]# /opt/Octaga/OctagonFreePlayer/OctagonFreePlayer statuswrl.cgi /opt/Octaga/OctagonFreePlayer/OctagonFreePlayer: /usr/lib/libGL.so.1: no version information available (required by /opt/Octaga/OctagonFreePlayer/OctagonFreePlayer) Loading file: 'statuswrl.cgi' WARNING: Unable to load file: 'statuswrl.cgi' (:6817): Gtk-CRITICAL **: file gtkmain.c: line 1231 (gtk_main_quit): assertion `main_loops != NULL' failed (OctagonFreePlayer:6816): GdkGLExt-CRITICAL **: file gdkglcontext-x11.c: line 527 (gdk_x11_gl_context_get_glxcontext): assertion `GDK_IS_GL_CONTEXT_IMPL_X11 (glcontext)' failed Loading file: 'statuswrl.cgi' WARNING: Unable to load file: 'statuswrl.cgi' -- Leonardo Henrique Machado Universidade Federal de Minas Gerais ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 databasedba.com Tue Dec 7 07:17:11 2004 From: nilesh at databasedba.com (Nilesh) Date: Tue, 07 Dec 2004 11:47:11 +0530 Subject: check_ldap In-Reply-To: <192E38594ACFAF4EB4F40E1C4B604723060149A7@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B604723060149A7@tayexc13.americas.cpqcorp.net> Message-ID: <41B54AE7.5000507@databasedba.com> yep below is the values what i'm using its working fine check_ldap -H hostname -b dc=hostname,dc=com -p 389 -D cn=Manager,dc=hostname,dc=com -w 20 -c 15 HTH regards linux admin Minkov, Ross wrote: >Does anyone know what are the default critical and warning values for >check_ldap? > >======================================================================== >== ># /usr/lib/nagios/plugins/check_ldap -h >check_ldap (nagios-plugins 1.3.1) 1.4 >The nagios plugins come with ABSOLUTELY NO WARRANTY. You may >redistribute >copies of the plugins under the terms of the GNU General Public License. >For more information about these matters, see the file named COPYING. >Copyright (c) 1999 Didi Rieder (adrieder at sbox.tu-graz.ac.at) >License: GPL > >Usage: check_ldap -H -b [-p ] [-a ] [-D >] > [-P ] [-w ] [-c ] [-t timeout] >(Note: all times are in seconds.) > >Options: > -H [--host] ... host > -a [--attr] ... ldap attribute to search (default: >"(objectclass=*)" > -b [--base] ... ldap base (eg. ou=my unit, o=my org, c=at) > -D [--bind] ... ldap bind DN (if required) > -P [--pass] ... ldap password (if required) > -p [--port] ... ldap port (default: 389) > -w [--warn] ... time in secs. - if the exceeds the >STATE_WARNING will be returned > -c [--crit] ... time in secs. - if the exceeds the >STATE_CRITICAL will be returned > > > >TIA, >Ross > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.roughan at mizuho-sc.com Tue Dec 7 07:43:53 2004 From: jamie.roughan at mizuho-sc.com (Jamie Roughan) Date: Tue, 7 Dec 2004 15:43:53 +0900 Subject: Mail response time In-Reply-To: <41B50899.1060302@iconz.net> References: <41B50899.1060302@iconz.net> Message-ID: <000f01c4dc28$1e0cbb90$4618680a@ad.mizuhosc.com> Jan said, ...RTFM? And then repetitively ...read the fu**** manual Jan, thankyou for the intelligent reply. Very helpful. As you may imagine, I have already read the documentation, several times. The parameteres in services.cfg that you referenced max_check_attempts normal_check_interval retry_check_interval notification_interval Seem not to decrease the 5 min wait for an email notification. Currently my max normal & retry are set to 3,5,& 1; although I have tested other settings with results that differ minimally. The notification interval is set at 120 on some services & 100 on others, less than 3 digits Seems to cause errors. Differences between 120 & 100 are not noticeable; thus my inquiry. Kindly share your settings, and take some deep breathes. ; / Go nagios! -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Tuesday, December 07, 2004 10:34 AM To: jamie.roughan at mizuho-sc.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Mail response time Jamie Roughan schrieb: > Currently it takes about 5 minutes to receive mail notificatin from > nagios. I would like to receive mail after 1 minute . > > Is the parameter for accomplishing this located in the main nagios.cfg > ? Is it the command_check_interval ? If not which parameter controls > email notification response? > > -merci beaucoup RTFM? Normally a mail is send out, when a notification is triggered. Check max_check_attempts normal_check_interval retry_check_interval notification_interval in services.cfg check time_units in nagios.cfg read the fu**** manual. If your mails notification is triggered (check logs) but you receive the mails too late check the mail-server queues, load on mailserver, your mailclient. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Tue Dec 7 12:24:32 2004 From: srunschke at abit.de (Sascha Runschke) Date: Tue, 7 Dec 2004 12:24:32 +0100 Subject: Antwort: RE: Mail response time [Virus scanned] Message-ID: > Jan said, > ...RTFM? > And then repetitively ...read the fu**** manual > Jan, thankyou for the intelligent reply. Very helpful. You get what you deserve. Ever considered that quoting a FULL digest just to post 3 sentences - which are not even related to the digest - "might" be a bad idea and wind up a few people? > As you may imagine, I have already read the documentation, several times. > The parameteres in services.cfg that you referenced > max_check_attempts > normal_check_interval > retry_check_interval > notification_interval But then, you didn't post any informations on what you checked already. So we are still unknowing where to search for your problem. Does Nagios not _send_ the notification, or does it take 5 minutes until it reaches you? Or does Nagios delay sending the notification? How do you measure the time, when the service goes down, or when Nagios puts the service into a HARD CRITICAL state? That's a lot of questions and I'm afraid, noone can answer your questions until you provide more information. > Seem not to decrease the 5 min wait for an email notification. > Currently my max normal & retry are set to 3,5,& 1; although I have tested > other settings with results that differ minimally. The notification interval > is set at 120 on some services & 100 on others, less than 3 digits Seems to > cause errors. Differences between 120 & 100 are not noticeable; thus my > inquiry. Kindly share your settings, and take some deep breathes. ; / notification_interval has nothing to do with delay of the first notification. It indicates how long Nagios will wait until sending out the _next_ standard notification. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davide.deboni at alchera.it Tue Dec 7 12:50:37 2004 From: davide.deboni at alchera.it (davide.deboni at alchera.it) Date: Tue, 7 Dec 2004 12:50:37 +0100 Subject: [Nagiosplug-help] check_mailq with qmail Message-ID: Hi to everyone! I've some problem with this plugin, check_mailq. I'm using it without any problem on two server, both with postfix. Now I have to check a mail queue a of server with qmail as mta. When I try to run it: ./check_mailq -M qmail -w 400 -c 500 I get this error: ERROR: is not executable by (uid 0:gid(0 10 6 4 3 2 1 0)) I'm logged as root. If I try to run the command "qmail-qstat" as a normal command I get no error. I've already download the lastest version of these plugins (nagios-plugins-1.4.0alpha2). Thanks for help Davide De Boni IT Architect Email: davide.deboni at alchera.it Alchera Solutions S.p.A. C.so Risorgimento 5 28823 Ghiffa (VB) ITALIA Tel +39.0323.407733 Fax +39.0323.53558 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 7 13:37:08 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Dec 2004 13:37:08 +0100 Subject: [Nagiosplug-help] check_mailq with qmail In-Reply-To: References: Message-ID: <41B5A3F4.2060709@op5.se> davide.deboni at alchera.it wrote: > Hi to everyone! > > I've some problem with this plugin, check_mailq. > I'm using it without any problem on two server, both with postfix. > > Now I have to check a mail queue a of server with qmail as mta. > When I try to run it: > > ./check_mailq -M qmail -w 400 -c 500 > > I get this error: > > ERROR: is not executable by (uid 0:gid(0 10 6 4 3 2 1 0)) > > I'm logged as root. > > If I try to run the command "qmail-qstat" as a normal command I get no > error. > This seems to hint that the qmail program doesn't want to be run by the root user. Running as the root user is known to cause some obscure security risks where privilege separation isn't in place (although it seems like a fairly crude workaround for a program like qmail). Postfix does privilege separation and doesn't trust the contents of its own mailqueues, so it should work when run as root on that system. > > I've already download the lastest version of these plugins > (nagios-plugins-1.4.0alpha2). > > Thanks for help > > > > Davide De Boni > IT Architect > > Email: davide.deboni at alchera.it > > Alchera Solutions S.p.A. > C.so Risorgimento 5 > 28823 Ghiffa (VB) > ITALIA > Tel +39.0323.407733 > Fax +39.0323.53558 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linickx at gmail.com Tue Dec 7 14:14:28 2004 From: linickx at gmail.com (NICK) Date: Tue, 7 Dec 2004 13:14:28 +0000 Subject: Node status when not being monitored. Message-ID: Hi, I've been looking at the documentation and can't seem to answer my question. :-( I've set up some timeperiods so some servers are not monitored overnight, is it possible to set the status on the webpage to "unknown" during the time that these servers are not being monitored.. or better still make them disappear. Many Thanks Nick ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kimmo.jaskari at eget.fi Tue Dec 7 14:26:57 2004 From: kimmo.jaskari at eget.fi (Kimmo Jaskari) Date: Tue, 07 Dec 2004 15:26:57 +0200 Subject: Long-running Nagios - sudden CGI problems Message-ID: <1102426018.20604.17.camel@kimmo-lt.EGET> This will be lengthy, but I thought I'd better include as much info as possible. Been running Nagios 1.2 a while now and everything has worked just fine for months. Nagios itself still runs and will no doubt fire off alerts if and when a problem occurs. However... Suddenly I find that the CGI's refuse to run, giving me the following error in the web interface: "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've checked and the settings in Apache (in httpd.conf) are intact - the htpasswd.users file in the Nagios etc directory is there and intact - the .htaccess files in the http-file directory and the sbin cgi directory are intact and contain the proper info, namely: AuthName "Nagios Access" AuthType Basic AuthUserFile /opt/nagios/etc/htpasswd.users require valid-user - files are owned by nagios:nagios and have rwx permissions for the nagios user and r-x for all others (at the moment). - cgi.cfg has: use_authentication=1 I temporarily put a * at the end of all the "authorized_for_*" directives just in case, no effect. I'm stumped. I have no idea where else to look at this point. If anyone has any ideas, no matter how farfetched, please chime in. Thanks! /Kimmo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 7 15:04:20 2004 From: marc at ena.com (Marc Powell) Date: Tue, 7 Dec 2004 08:04:20 -0600 Subject: Long-running Nagios - sudden CGI problems Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438C21@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Tuesday, December 07, 2004 7:54 AM > To: Kimmo Jaskari; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Long-running Nagios - sudden CGI problems > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Kimmo Jaskari > > Sent: Tuesday, December 07, 2004 7:27 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Long-running Nagios - sudden CGI problems > > > > This will be lengthy, but I thought I'd better include as much info as > > possible. > > > > Been running Nagios 1.2 a while now and everything has worked just > fine > > for months. Nagios itself still runs and will no doubt fire off alerts > > if and when a problem occurs. However... > > > > Suddenly I find that the CGI's refuse to run, giving me the following > > error in the web interface: > > > > "It appears as though you do not have permission to view information > for > > any of the services you requested... > > [snipped] > > > I'm stumped. I have no idea where else to look at this point. > > > > If anyone has any ideas, no matter how farfetched, please chime in. > > Thanks! > > This error is also caused by misconfigurations or typographical errors > in your config files. Have you run /path/to/nagios -v > /path/to/nagios.cfg to verify your configuration files. If that returns > no errors, verify that nagios is actually picking up the username > properly. Once you've logged in, nagios will display your username in > the upper right of the main page as 'logged in as ...'. If that shows a > '?' then there is a problem with your htaccess authentication which is > outside of nagios' control. Sorry to reply to my own post but my dyslexia is working hard this morning. I meant to say that you should see 'logged in as ...' in the upper LEFT of the main frame. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kimmo.jaskari at eget.fi Tue Dec 7 15:01:32 2004 From: kimmo.jaskari at eget.fi (Kimmo Jaskari) Date: Tue, 07 Dec 2004 16:01:32 +0200 Subject: Long-running Nagios - sudden CGI problems In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC438C1E@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC438C1E@mismail.ena.com> Message-ID: <1102428092.20604.23.camel@kimmo-lt.EGET> On Tue, 2004-12-07 at 07:54 -0600, Marc Powell wrote: > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Kimmo Jaskari > > Sent: Tuesday, December 07, 2004 7:27 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Long-running Nagios - sudden CGI problems > > > > This will be lengthy, but I thought I'd better include as much info as > > possible. > > > > Been running Nagios 1.2 a while now and everything has worked just > fine > > for months. Nagios itself still runs and will no doubt fire off alerts > > if and when a problem occurs. However... > > > > Suddenly I find that the CGI's refuse to run, giving me the following > > error in the web interface: > > > > "It appears as though you do not have permission to view information > for > > any of the services you requested... > > [snipped] > > > I'm stumped. I have no idea where else to look at this point. > > > > If anyone has any ideas, no matter how farfetched, please chime in. > > Thanks! > > This error is also caused by misconfigurations or typographical errors > in your config files. Have you run /path/to/nagios -v > /path/to/nagios.cfg to verify your configuration files. If that returns > no errors, verify that nagios is actually picking up the username > properly. Once you've logged in, nagios will display your username in > the upper right of the main page as 'logged in as ...'. If that shows a > '?' then there is a problem with your htaccess authentication which is > outside of nagios' control. I did make a very minor alteration in the config file where I keep the info for the Solaris machines... and I mean very minor, changed a description for one machine. I find it difficult to believe I managed to foul that up somehow but will of course re-check. I did, of course, do the -v run before posting to the mailgroup to make sure Nagios wasn't choking on the config files and that went well, but I guess I'd better take a more thorough look at that config file just to make sure. I do see "logged in as kimmoj" in Nagios, and Nagios does demand that I log in and use a name/password combo that's valid. Thanks, I'll re-check the config file and see if I can find the problem. /Kimmo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davide.deboni at alchera.it Tue Dec 7 14:55:37 2004 From: davide.deboni at alchera.it (davide.deboni at alchera.it) Date: Tue, 7 Dec 2004 14:55:37 +0100 Subject: [Nagiosplug-help] check_mailq with qmail In-Reply-To: <41B5A3F4.2060709@op5.se> References: <41B5A3F4.2060709@op5.se> Message-ID: >>This seems to hint that the qmail program doesn't want to be run by the >>root user. Running as the root user is known to cause some obscure >>security risks where privilege separation isn't in place (although it >>seems like a fairly crude workaround for a program like qmail). Postfix >>does privilege separation and doesn't trust the contents of its own >>mailqueues, so it should work when run as root on that system. I've tried to run it with these other users: qmailq qmaill qmaild qmailr which are the users who run qmail programs such as qmail-clean, qmail-rspawn etc.... I always get the same error (except for the UID): ERROR: is not executable by (uid 506:gid(503 503)) I have no problem if I run it on a system with postfix or sendmail.. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 7 15:03:07 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Dec 2004 15:03:07 +0100 Subject: Node status when not being monitored. In-Reply-To: References: Message-ID: <41B5B81B.2030107@op5.se> [NICK] wrote: > Hi, > I've been looking at the documentation and can't seem to answer my question. :-( > > I've set up some timeperiods so some servers are not monitored > overnight, is it possible to set the status on the webpage to > "unknown" during the time that these servers are not being monitored.. > or better still make them disappear. > Nopes. But you could add the monitored servers to a 'nocturnal' hostgroup and use the hostgroup overview/summary/grid to watch the status at night. > Many Thanks > Nick > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mozley at exponential-e.com Tue Dec 7 15:16:49 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Tue, 07 Dec 2004 14:16:49 +0000 Subject: snmp - which mib? In-Reply-To: References: Message-ID: <41B5BB51.9090902@exponential-e.com> Jan.van-Beers at grundy-le.com wrote: > I want to set up several services using snmp to query routers and > switches. Unfortunately I find snmpget non-trivial to use and would > apreciate if anyone here could post/send some samples form a running > config... There are some perl examples in the plugins such as check_ifoperstatus. Jim Mozley ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 7 14:54:22 2004 From: marc at ena.com (Marc Powell) Date: Tue, 7 Dec 2004 07:54:22 -0600 Subject: Long-running Nagios - sudden CGI problems Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438C1E@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kimmo Jaskari > Sent: Tuesday, December 07, 2004 7:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Long-running Nagios - sudden CGI problems > > This will be lengthy, but I thought I'd better include as much info as > possible. > > Been running Nagios 1.2 a while now and everything has worked just fine > for months. Nagios itself still runs and will no doubt fire off alerts > if and when a problem occurs. However... > > Suddenly I find that the CGI's refuse to run, giving me the following > error in the web interface: > > "It appears as though you do not have permission to view information for > any of the services you requested... [snipped] > I'm stumped. I have no idea where else to look at this point. > > If anyone has any ideas, no matter how farfetched, please chime in. > Thanks! This error is also caused by misconfigurations or typographical errors in your config files. Have you run /path/to/nagios -v /path/to/nagios.cfg to verify your configuration files. If that returns no errors, verify that nagios is actually picking up the username properly. Once you've logged in, nagios will display your username in the upper right of the main page as 'logged in as ...'. If that shows a '?' then there is a problem with your htaccess authentication which is outside of nagios' control. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 7 15:08:11 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Dec 2004 15:08:11 +0100 Subject: Long-running Nagios - sudden CGI problems In-Reply-To: <1102428092.20604.23.camel@kimmo-lt.EGET> References: <349555FA607F3A4CBDA9326035D1A7FC438C1E@mismail.ena.com> <1102428092.20604.23.camel@kimmo-lt.EGET> Message-ID: <41B5B94B.6050703@op5.se> Kimmo Jaskari wrote: > On Tue, 2004-12-07 at 07:54 -0600, Marc Powell wrote: > >>>-----Original Message----- >>>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>admin at lists.sourceforge.net] On Behalf Of Kimmo Jaskari >>>Sent: Tuesday, December 07, 2004 7:27 AM >>>To: nagios-users at lists.sourceforge.net >>>Subject: [Nagios-users] Long-running Nagios - sudden CGI problems >>> >>>This will be lengthy, but I thought I'd better include as much info as >>>possible. >>> >>>Been running Nagios 1.2 a while now and everything has worked just >> >>fine >> >>>for months. Nagios itself still runs and will no doubt fire off alerts >>>if and when a problem occurs. However... >>> >>>Suddenly I find that the CGI's refuse to run, giving me the following >>>error in the web interface: >>> >>>"It appears as though you do not have permission to view information >> >>for >> >>>any of the services you requested... >> >>[snipped] >> >> >>>I'm stumped. I have no idea where else to look at this point. >>> >>>If anyone has any ideas, no matter how farfetched, please chime in. >>>Thanks! >> >>This error is also caused by misconfigurations or typographical errors >>in your config files. Have you run /path/to/nagios -v >>/path/to/nagios.cfg to verify your configuration files. If that returns >>no errors, verify that nagios is actually picking up the username >>properly. Once you've logged in, nagios will display your username in >>the upper right of the main page as 'logged in as ...'. If that shows a >>'?' then there is a problem with your htaccess authentication which is >>outside of nagios' control. > > > I did make a very minor alteration in the config file where I keep the > info for the Solaris machines... and I mean very minor, changed a > description for one machine. I find it difficult to believe I managed to > foul that up somehow but will of course re-check. > You need to restart nagios as well, or the logs will have entries for hosts and services the cgi's can't find. > I did, of course, do the -v run before posting to the mailgroup to make > sure Nagios wasn't choking on the config files and that went well, but I > guess I'd better take a more thorough look at that config file just to > make sure. > > I do see "logged in as kimmoj" in Nagios, and Nagios does demand that I > log in and use a name/password combo that's valid. > > Thanks, I'll re-check the config file and see if I can find the problem. > Be sure to check the permissions then as well. If the cgi's can't read one of the object config files it should throw an(other) error, but it was some time since I dabbled with 1.x so I might remember this wrong. > /Kimmo > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew.barker at nottingham.ac.uk Tue Dec 7 15:29:04 2004 From: andrew.barker at nottingham.ac.uk (Andy Barker) Date: Tue, 07 Dec 2004 14:29:04 +0000 Subject: Long-running Nagios - sudden CGI problems In-Reply-To: <1102428806.20604.28.camel@kimmo-lt.EGET> References: <349555FA607F3A4CBDA9326035D1A7FC438C21@mismail.ena.com> <1102428806.20604.28.camel@kimmo-lt.EGET> Message-ID: <1102429744.4279.37.camel@pccajrb.nottingham.ac.uk> I've seen this before on our installation, I *think* (it's a while back now) I last saw it when I ended up with 2 (or more) different nagios processes running on the same box/ports/cgi location. I think I stopped nagios, killed off any nagios processes which remained and then started nagios again, all of a sudden everything sprung back into life. (I think the reload fouled up or i simply missed the -v of my config check, I know which is more likely to be honest ;) ) Like I say it was a while ago, but I think that's what caused my problem, can't hurt to try i suppose! Andy Andrew Barker Systems Development Officer Information Services University of Nottingham On Tue, 2004-12-07 at 16:13 +0200, Kimmo Jaskari wrote: > On Tue, 2004-12-07 at 08:04 -0600, Marc Powell wrote: > > > Sorry to reply to my own post but my dyslexia is working hard this > > morning. I meant to say that you should see 'logged in as ...' in the > > upper LEFT of the main frame. > > Indeed. :) > > Anyway, I'm still just as stumped. The config file is fine, as far as I > can tell. No problems with the -v run and it looks like it always > has... > > The web interface recognises that I'm logged in as per the above, as > well. > > Any other ideas - anyone? > > /Kimmo > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 7 15:12:24 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Dec 2004 15:12:24 +0100 Subject: snmp - which mib? In-Reply-To: References: Message-ID: <41B5BA48.9020100@op5.se> Jan.van-Beers at grundy-le.com wrote: > Hi, > > I want to set up several services using snmp to query routers and > switches. Unfortunately I find snmpget non-trivial to use and would > apreciate if anyone here could post/send some samples form a running > config... > There are tons of snmp based plugins available already. I suggest you check out www.nagiosexchange.org. It's sort of a bookmarks page where you may find useful info. To teach the finer points of SNMP is beyond the scope of this mailing list, but if you do snmpwalk -v 1 -c -On -m : followed by snmpwalk -v 1 -c -m ALL and snmpwalk -v 1 -c -On -m: .1.3.6.1.2.1.2.2.1 I think you'll get a better grasp of whatever turorial Google throws at you. > Cu > Jan > still sorry fo the .sig... :( -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kimmo.jaskari at eget.fi Tue Dec 7 15:13:26 2004 From: kimmo.jaskari at eget.fi (Kimmo Jaskari) Date: Tue, 07 Dec 2004 16:13:26 +0200 Subject: Long-running Nagios - sudden CGI problems In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC438C21@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC438C21@mismail.ena.com> Message-ID: <1102428806.20604.28.camel@kimmo-lt.EGET> On Tue, 2004-12-07 at 08:04 -0600, Marc Powell wrote: > Sorry to reply to my own post but my dyslexia is working hard this > morning. I meant to say that you should see 'logged in as ...' in the > upper LEFT of the main frame. Indeed. :) Anyway, I'm still just as stumped. The config file is fine, as far as I can tell. No problems with the -v run and it looks like it always has... The web interface recognises that I'm logged in as per the above, as well. Any other ideas - anyone? /Kimmo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.van-Beers at grundy-le.com Tue Dec 7 15:06:24 2004 From: Jan.van-Beers at grundy-le.com (Jan.van-Beers at grundy-le.com) Date: Tue, 7 Dec 2004 15:06:24 +0100 Subject: snmp - which mib? Message-ID: Hi, I want to set up several services using snmp to query routers and switches. Unfortunately I find snmpget non-trivial to use and would apreciate if anyone here could post/send some samples form a running config... Cu Jan still sorry fo the .sig... :( -- Jan van Beers Junior-Netzwerkadministrator GRUNDY Light Entertainment GmbH Hans-B?ckler-Stra?e 163 50354 H?rth, Germany T. +49 (0) 22 33 - 518 8030 F. +49 (0) 22 33 - 518 8759 jan.van-beers at grundy-le.com http://www.grundy-le.de ---------------------------------------------------------------------------- This email is confidential and may well also be legally privileged. If you have received this email in error, you are in notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The RTL Group or its associated companies. Please contact our IT Helpdesk on +44 (0)20 7691 6996 or e-mail it.support at fremantlemedia.com if you require further assistance. ---------------------------------------------------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 7 15:31:39 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Tue, 7 Dec 2004 15:31:39 +0100 Subject: snmp - which mib? In-Reply-To: References: Message-ID: <200412071531.43508.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hallo, Ben?tzen Sie snmpwalk. Damit k?nnen Sie den ganzen MIB - Baum durchsehen. Viele MIB stehen auch unter http://multinet.de/snmp Oder noch besser (zu unserer Schande!) www.mibdepot.de F?r R?ckfragen bin ich (fast) immer zu sprechen. MfG, Am Dienstag, 7. Dezember 2004 15:06 schrieb Jan.van-Beers at grundy-le.com: > Hi, > > I want to set up several services using snmp to query routers and > switches. Unfortunately I find snmpget non-trivial to use and would > apreciate if anyone here could post/send some samples form a running > config... > > Cu > Jan > still sorry fo the .sig... :( - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBtb7PqndXpO3Yl5sRAvWIAJ9OzBCG+CG8ruwX3EnucLG55Qi7PgCfYS/I X6p4Nc85/YYIgBCDS6pvAOg= =434U -----END PGP SIGNATURE----- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.van-Beers at grundy-le.com Tue Dec 7 15:59:10 2004 From: Jan.van-Beers at grundy-le.com (Jan.van-Beers at grundy-le.com) Date: Tue, 7 Dec 2004 15:59:10 +0100 Subject: Antwort: Re: snmp - which mib? In-Reply-To: <41B5BA48.9020100@op5.se> References: <41B5BA48.9020100@op5.se> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 07.12.2004 15:12:24: > Jan.van-Beers at grundy-le.com wrote: > > Hi, > > > > I want to set up several services using snmp to query routers and > > switches. Unfortunately I find snmpget non-trivial to use and would > > apreciate if anyone here could post/send some samples form a running > > config... > > There are tons of snmp based plugins available already. I suggest you > check out www.nagiosexchange.org. It's sort of a bookmarks page where > you may find useful info. > > To teach the finer points of SNMP is beyond the scope of this mailing > list, but if you do > snmpwalk -v 1 -c -On -m : > followed by > snmpwalk -v 1 -c -m ALL > and > snmpwalk -v 1 -c -On -m: .1.3.6.1.2.1.2.2.1 > I think you'll get a better grasp of whatever turorial Google throws at you. Actually not, but I think the precompiled plugins will fit my needs. Thanks Jan ---------------------------------------------------------------------------- This email is confidential and may well also be legally privileged. If you have received this email in error, you are in notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The RTL Group or its associated companies. Please contact our IT Helpdesk on +44 (0)20 7691 6996 or e-mail it.support at fremantlemedia.com if you require further assistance. ---------------------------------------------------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at sympatico.ca Tue Dec 7 16:22:46 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Tue, 07 Dec 2004 10:22:46 -0500 Subject: NSCA Error timeout after 10 seconds Message-ID: <41B5CAC6.10605@sympatico.ca> Hello, I have my client trying to send a message to the NSCA Daemon/server, - however whenever my client tries to send a message, it times out after 10 seconds. I made sure that both the NSCA client on the remote machine has been compiled with libmcrypt as well as the NSCA daemon on the host machine. When I analyze the traffic occuring between the two, it seems as if a session is not being established possibly due to a handshaking problem. Anyone have any ideas on how to fix NSCA? Your thoughts are most appreciative. Thank you in advance. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 7 16:19:55 2004 From: nagios-user at proy.org (Patrick Proy) Date: Tue, 7 Dec 2004 16:19:55 +0100 Subject: snmp - which mib? In-Reply-To: References: Message-ID: <20041207151956.501E0AB6E0@www.manubulon.com> If you want "basic" info like interface status & traffic, mem and cpu (on Cisco), have a look here : http://www.manubulon.com/nagios/ Patrick nagios AT proy.org > -----Message d'origine----- > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part > de Jan.van-Beers at grundy-le.com > Envoy? : mardi 7 d?cembre 2004 15:06 > ? : nagios-users at lists.sourceforge.net > Objet : [Nagios-users] snmp - which mib? > > Hi, > > I want to set up several services using snmp to query routers > and switches. Unfortunately I find snmpget non-trivial to use > and would apreciate if anyone here could post/send some > samples form a running config... > > Cu > Jan > still sorry fo the .sig... :( > -- > Jan van Beers > Junior-Netzwerkadministrator > > GRUNDY Light Entertainment GmbH > Hans-B?ckler-Stra?e 163 > 50354 H?rth, Germany > T. +49 (0) 22 33 - 518 8030 > F. +49 (0) 22 33 - 518 8759 > jan.van-beers at grundy-le.com > http://www.grundy-le.de > > > > -------------------------------------------------------------- > -------------- > This email is confidential and may well also be legally privileged. > If you have received this email in error, you are in notice > of its status. > Please notify the sender immediately by reply e-mail and then delete > this message from your system. Please do not copy or use it for any > purposes, or disclose its contents to any other person: to do so > could be a breach of confidence. > Thank you for your co-operation. > > Any views expressed in this message are those of the individual > sender and may not necessarily reflect the views of The RTL Group > or its associated companies. > > Please contact our IT Helpdesk on +44 (0)20 7691 6996 > or e-mail it.support at fremantlemedia.com if you require > further assistance. > -------------------------------------------------------------- > -------------- > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at sympatico.ca Tue Dec 7 17:03:28 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Tue, 07 Dec 2004 11:03:28 -0500 Subject: NSCA Error timeout after 10 seconds In-Reply-To: <759618CD64AD564AB3756EF0B33D8533015F65AB@meadowlark2.home.ku.edu> References: <759618CD64AD564AB3756EF0B33D8533015F65AB@meadowlark2.home.ku.edu> Message-ID: <41B5D450.5000809@sympatico.ca> Hi Robert, Thank you for your response. Whenever I try to telnet to the port, I can connect to it. So, it is a pretty good chance that my firewall is allowing TCP over 5667 to connect. I turned on debugging, and tried to use the remote client to send to NSCA daemon, however nothing shows up in syslog. What's interesting is that if I try to use the client on the same machine that the NSCA daemon is running, and I connect to localhost 5667 syslog returns a messaging saying that it is Deactivating the NSCA due to excessive incoming connections -restarting in 30 seconds. Any thoughts? M. Sloane, Robert Raymond wrote: >The NSCA daemon has a debug option in the config file. Have you tried >turning it on and then connecting to see what shows up in syslog? >Usually when there is a problem with the handshake you don't get a >timeout. Is it possible there is some sort of firewall blocking the >connection? What happens if you just telnet to the NSCA port from the >client system? > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 7 17:16:19 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Dec 2004 17:16:19 +0100 Subject: NSCA Error timeout after 10 seconds In-Reply-To: <41B5D450.5000809@sympatico.ca> References: <759618CD64AD564AB3756EF0B33D8533015F65AB@meadowlark2.home.ku.edu> <41B5D450.5000809@sympatico.ca> Message-ID: <41B5D753.4040409@op5.se> Mark Nadir wrote: > Hi Robert, > > Thank you for your response. Whenever I try to telnet to the port, I can > connect to it. So, it is a pretty good chance that my firewall is > allowing TCP over 5667 to connect. > > I turned on debugging, and tried to use the remote client to send to > NSCA daemon, however nothing shows up in syslog. > > What's interesting is that if I try to use the client on the same > machine that the NSCA daemon is running, and I connect to localhost 5667 > syslog returns a messaging saying that it is Deactivating the NSCA due > to excessive incoming connections -restarting in 30 seconds. > The fact that the port is listening has nothing to do with nsca if you're using inetd to front it. inetd listens on the port and delivers a socket to the program in the other end if it can complete the 3-way handshake. If you've got a lot of passive checks reporting in you might want to either run nsca as a standalone daemon or increase the number of allowed connections within any specified time. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ross.minkov at hp.com Tue Dec 7 16:56:20 2004 From: ross.minkov at hp.com (Minkov, Ross) Date: Tue, 7 Dec 2004 10:56:20 -0500 Subject: check_ldap Message-ID: <192E38594ACFAF4EB4F40E1C4B604723060149AC@tayexc13.americas.cpqcorp.net> The question was what are the default values for critical and warning for check_ldap? Meaning if I didn't supply -w and -c on the command line, what values would be used. Thanks, Ross -----Original Message----- From: Nilesh [mailto:nilesh at databasedba.com] Sent: Tuesday, December 07, 2004 1:17 AM To: Minkov, Ross Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_ldap yep below is the values what i'm using its working fine check_ldap -H hostname -b dc=hostname,dc=com -p 389 -D cn=Manager,dc=hostname,dc=com -w 20 -c 15 HTH regards linux admin Minkov, Ross wrote: >Does anyone know what are the default critical and warning values for >check_ldap? > >======================================================================= = >== ># /usr/lib/nagios/plugins/check_ldap -h >check_ldap (nagios-plugins 1.3.1) 1.4 >The nagios plugins come with ABSOLUTELY NO WARRANTY. You may >redistribute >copies of the plugins under the terms of the GNU General Public License. >For more information about these matters, see the file named COPYING. >Copyright (c) 1999 Didi Rieder (adrieder at sbox.tu-graz.ac.at) >License: GPL > >Usage: check_ldap -H -b [-p ] [-a ] [-D >] > [-P ] [-w ] [-c ] [-t timeout] >(Note: all times are in seconds.) > >Options: > -H [--host] ... host > -a [--attr] ... ldap attribute to search (default: >"(objectclass=*)" > -b [--base] ... ldap base (eg. ou=my unit, o=my org, c=at) > -D [--bind] ... ldap bind DN (if required) > -P [--pass] ... ldap password (if required) > -p [--port] ... ldap port (default: 389) > -w [--warn] ... time in secs. - if the exceeds the >STATE_WARNING will be returned > -c [--crit] ... time in secs. - if the exceeds the >STATE_CRITICAL will be returned > > > >TIA, >Ross > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at sympatico.ca Tue Dec 7 17:32:01 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Tue, 07 Dec 2004 11:32:01 -0500 Subject: NSCA Error timeout after 10 seconds In-Reply-To: <41B5D753.4040409@op5.se> References: <759618CD64AD564AB3756EF0B33D8533015F65AB@meadowlark2.home.ku.edu> <41B5D450.5000809@sympatico.ca> <41B5D753.4040409@op5.se> Message-ID: <41B5DB01.2090107@sympatico.ca> Hi Andreas, Thanks for your reply. I don't have alot of passive checking atm. I have upped the # of cps within the nsca file for xinetd and that seems to resolve the deactivation of connections. However, I don't see the NSCA daemon responding to any inputs from nsca clients with debugging turned on. I am investigating whether or not it is a firewall issue, but I find this unlikely. Is there anything you can think of that would prevent NSCA from communicating between daemon and client? Andreas Ericsson wrote: > Mark Nadir wrote: > >> Hi Robert, >> >> Thank you for your response. Whenever I try to telnet to the port, I >> can connect to it. So, it is a pretty good chance that my firewall is >> allowing TCP over 5667 to connect. >> >> I turned on debugging, and tried to use the remote client to send to >> NSCA daemon, however nothing shows up in syslog. >> >> What's interesting is that if I try to use the client on the same >> machine that the NSCA daemon is running, and I connect to localhost >> 5667 syslog returns a messaging saying that it is Deactivating the >> NSCA due to excessive incoming connections -restarting in 30 seconds. >> > > The fact that the port is listening has nothing to do with nsca if > you're using inetd to front it. inetd listens on the port and delivers > a socket to the program in the other end if it can complete the 3-way > handshake. > > If you've got a lot of passive checks reporting in you might want to > either run nsca as a standalone daemon or increase the number of > allowed connections within any specified time. > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 7 17:09:05 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Dec 2004 17:09:05 +0100 Subject: check_ldap In-Reply-To: <192E38594ACFAF4EB4F40E1C4B604723060149AC@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B604723060149AC@tayexc13.americas.cpqcorp.net> Message-ID: <41B5D5A1.3090907@op5.se> Minkov, Ross wrote: > The question was what are the default values for critical and warning > for check_ldap? Meaning if I didn't supply -w and -c on the command > line, what values would be used. > check_ldap --help should tell you. If it doesn't you either can't use it without threshold values or you should file a bug-report at sourceforge.net/projects/nagiosplug. > Thanks, > Ross > > -----Original Message----- > From: Nilesh [mailto:nilesh at databasedba.com] > Sent: Tuesday, December 07, 2004 1:17 AM > To: Minkov, Ross > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_ldap > > > > yep > below is the values what i'm using > its working fine > check_ldap -H hostname -b dc=hostname,dc=com -p 389 -D > cn=Manager,dc=hostname,dc=com -w 20 -c 15 > > HTH > > regards > linux admin > > > Minkov, Ross wrote: > > >>Does anyone know what are the default critical and warning values for >>check_ldap? >> >>======================================================================= > > = > >>== >># /usr/lib/nagios/plugins/check_ldap -h >>check_ldap (nagios-plugins 1.3.1) 1.4 >>The nagios plugins come with ABSOLUTELY NO WARRANTY. You may >>redistribute >>copies of the plugins under the terms of the GNU General Public > > License. > >>For more information about these matters, see the file named COPYING. >>Copyright (c) 1999 Didi Rieder (adrieder at sbox.tu-graz.ac.at) >>License: GPL >> >>Usage: check_ldap -H -b [-p ] [-a ] [-D >>] >> [-P ] [-w ] [-c ] [-t timeout] >>(Note: all times are in seconds.) >> >>Options: >> -H [--host] ... host >> -a [--attr] ... ldap attribute to search (default: >>"(objectclass=*)" >> -b [--base] ... ldap base (eg. ou=my unit, o=my org, c=at) >> -D [--bind] ... ldap bind DN (if required) >> -P [--pass] ... ldap password (if required) >> -p [--port] ... ldap port (default: 389) >> -w [--warn] ... time in secs. - if the exceeds the >>STATE_WARNING will be returned >> -c [--crit] ... time in secs. - if the exceeds the >>STATE_CRITICAL will be returned >> >> >> >>TIA, >>Ross >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real > > users. > >>Discover which products truly live up to the hype. Start reading now. >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralf-Lists at ralfgross.de Tue Dec 7 17:43:31 2004 From: Ralf-Lists at ralfgross.de (Ralf Gross) Date: Tue, 7 Dec 2004 17:43:31 +0100 Subject: hosts dependancies not working [Virus scanned] Message-ID: <20041207164331.GA28549@pirx.askja.de> srunschke at abit.de schrieb am 06.12.2004 17:05:17: > > Well, I think hostdependencies are more flexible, but I might be > > wrong. I have to confess that I dicovered the parent option after > > trying dependencies. Is the parent options a solution for hosts > > that depend on a lot of routers/firewalls? > > They might be more flexible, but they are not meant to be used that > way actually. Only the use of the parent option ensures that network > outages are detected properly by Nagios. > > Parent = physical dependency > host_dependency = logical dependency Ok, I understand! > > Something like that? > > > > monitoring client -> rt1 -> fw1 -> rt -> fw2 -> rt2 -> client > > Using the parent option enables you to rebuild your actual network > topology within Nagios. I tried that today and it's working fine. Thanks. Ralf ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 7 17:53:36 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Dec 2004 17:53:36 +0100 Subject: NSCA Error timeout after 10 seconds In-Reply-To: <41B5DB01.2090107@sympatico.ca> References: <759618CD64AD564AB3756EF0B33D8533015F65AB@meadowlark2.home.ku.edu> <41B5D450.5000809@sympatico.ca> <41B5D753.4040409@op5.se> <41B5DB01.2090107@sympatico.ca> Message-ID: <41B5E010.706@op5.se> Mark Nadir wrote: > Hi Andreas, > > Thanks for your reply. I don't have alot of passive checking atm. I have > upped the # of cps within the nsca file for xinetd and that seems to > resolve the deactivation of connections. > > However, I don't see the NSCA daemon responding to any inputs from nsca > clients with debugging turned on. I am investigating whether or not it > is a firewall issue, but I find this unlikely. > > Is there anything you can think of that would prevent NSCA from > communicating between daemon and client? > Usually programs started from the inet superserver must be told that's what's happening (the -i switch is sort of customary for the use). Read the documentation for nsca, or try running it with the --help option. > > Andreas Ericsson wrote: > >> Mark Nadir wrote: >> >>> Hi Robert, >>> >>> Thank you for your response. Whenever I try to telnet to the port, I >>> can connect to it. So, it is a pretty good chance that my firewall is >>> allowing TCP over 5667 to connect. >>> >>> I turned on debugging, and tried to use the remote client to send to >>> NSCA daemon, however nothing shows up in syslog. >>> >>> What's interesting is that if I try to use the client on the same >>> machine that the NSCA daemon is running, and I connect to localhost >>> 5667 syslog returns a messaging saying that it is Deactivating the >>> NSCA due to excessive incoming connections -restarting in 30 seconds. >>> >> >> The fact that the port is listening has nothing to do with nsca if >> you're using inetd to front it. inetd listens on the port and delivers >> a socket to the program in the other end if it can complete the 3-way >> handshake. >> >> If you've got a lot of passive checks reporting in you might want to >> either run nsca as a standalone daemon or increase the number of >> allowed connections within any specified time. >> > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralf-Lists at ralfgross.de Tue Dec 7 18:07:37 2004 From: Ralf-Lists at ralfgross.de (Ralf Gross) Date: Tue, 7 Dec 2004 18:07:37 +0100 Subject: hosts dependancies not working [Virus scanned] Message-ID: <20041207170737.GB28549@pirx.askja.de> strombrg at dcs.nac.uci.edu schrieb am 06.12.2004 20:09:23: > You might try my "deep-ssh" script for monitoring services behind a > ton of firewalls: > > http://dcs.nac.uci.edu/~strombrg/deep-ssh.html > > Your last ssh in the deep-ssh chain can do a "check_by_ssh", or just > run the final nagios plugin directly, I believe.lieve. The problem is that we/I don't have a linux box behind every firewall. The firewalls are usually checkpoint boxes and not in my responsibility. For some hosts we want to check, I have to traverse networks where I can't even ping a switch or router. I'll have to live with some "black holes" where I just can monitor the host/server in the other network. Ralf ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott_yem at agilent.com Tue Dec 7 18:30:53 2004 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Tue, 7 Dec 2004 09:30:53 -0800 Subject: Mail response time Message-ID: <65213341217E8D458E7C78E6640C7495044BF6ED@waglmb01.labs.agilent.com> The way you have stated the issue, you have the configuration setup to check 3 times before notification with retry interval of 1 minute. That would equate to at minimum 2 minutes before notification. As Jan has mentioned, your mail system may be slow, but you can check the notification time in your nagios logs. If you need this to notify after 1 minute, you will have to set this up to max_check_attempts=2. As for the notification_interval, I have several set to shorter times, like 60 minutes and all are working well. I have even tested this with as little as 2 minutes and all still works. Sometimes notification takes some time, depending on the load of the system doing the notification. All timing is pretty consistent for the most part. Your problem may be related to the message of duplicate content as I have seen in the past with other systems. You can put the $DATETIME$ macro into the script that is essentially putting a serial number into the message. It also tells you how long the message takes to deliver. This may actually be a test for your earlier question. I have been using Nagios for about 2 months now and all this information is in the manual. Take some time and go through it. I have had to read it several times and each time get some more information. Don't assume that the information is all in one place though. I have found several topics that are in 3 to 4 places in the manual with different information, some are more complete than others. Scott Yem Research Computing Services Agilent Laboratories -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jamie Roughan Sent: Monday, December 06, 2004 10:44 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail response time Jan said, ...RTFM? And then repetitively ...read the fu**** manual Jan, thankyou for the intelligent reply. Very helpful. As you may imagine, I have already read the documentation, several times. The parameteres in services.cfg that you referenced max_check_attempts normal_check_interval retry_check_interval notification_interval Seem not to decrease the 5 min wait for an email notification. Currently my max normal & retry are set to 3,5,& 1; although I have tested other settings with results that differ minimally. The notification interval is set at 120 on some services & 100 on others, less than 3 digits Seems to cause errors. Differences between 120 & 100 are not noticeable; thus my inquiry. Kindly share your settings, and take some deep breathes. ; / Go nagios! -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Tuesday, December 07, 2004 10:34 AM To: jamie.roughan at mizuho-sc.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Mail response time Jamie Roughan schrieb: > Currently it takes about 5 minutes to receive mail notificatin from > nagios. I would like to receive mail after 1 minute . > > Is the parameter for accomplishing this located in the main nagios.cfg > ? Is it the command_check_interval ? If not which parameter controls > email notification response? > > -merci beaucoup RTFM? Normally a mail is send out, when a notification is triggered. Check max_check_attempts normal_check_interval retry_check_interval notification_interval in services.cfg check time_units in nagios.cfg read the fu**** manual. If your mails notification is triggered (check logs) but you receive the mails too late check the mail-server queues, load on mailserver, your mailclient. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Tue Dec 7 19:39:05 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Tue, 7 Dec 2004 11:39:05 -0700 Subject: Event Handlers Message-ID: <59B15593F41BD24591D59436E7226EAD0119BA36@Khiphx2.khimetrics.com> Is there a collection of event handler scripts that people have already created that are ready to edit? There was reference to one in the event handler documentation called restart-httpd which is listed in the documentation and shown, but it's not in the directory as installed. That leads me to believe that maybe there are several examples in a particular package? I looked in the cvs code and didn't see any addition event handler scripts. I'm rather new to scripting and was looking towards the functionality without actually having to write each individual script. Thanks. Nathan Oyler Information Technology 480-308-2342 Office Khimetrics Inc. Maximizing Sales & Profit Revenue Management from Khimetrics -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkent at magoazul.com Tue Dec 7 12:31:50 2004 From: mkent at magoazul.com (Matthew Kent) Date: Tue, 07 Dec 2004 11:31:50 +0000 Subject: check_ldap In-Reply-To: <192E38594ACFAF4EB4F40E1C4B604723060149AC@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B604723060149AC@tayexc13.americas.cpqcorp.net> Message-ID: <1102419110.4501.3.camel@fuego> On Tue, 2004-12-07 at 15:56, Minkov, Ross wrote: > The question was what are the default values for critical and warning > for check_ldap? Meaning if I didn't supply -w and -c on the command > line, what values would be used. > > Thanks, > Ross If they are undefined the plugin will report OK regardless of response time. Well up to --timeout which is set to 10 secs by default anyway. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Dec 7 19:59:33 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 7 Dec 2004 10:59:33 -0800 Subject: SEC and Nagios for log monitoring In-Reply-To: References: Message-ID: <20041207185933.GR22568@zippy.toger.us> On Tue, Dec 07, 2004 at 01:55:51PM -0500, Brian Huffman wrote: > are you getting the data there? Are you echoing into the nagios "cmd" > file or are you using something like NSCA client? I defined an action in the SEC config to call send_nsca with the appropriate arguments. If SEC is running on the same machine as Nagios it'd be easier to write directly to the cmd file. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From smalhotra at dataarmor.net Tue Dec 7 20:04:21 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Tue, 7 Dec 2004 13:04:21 -0600 Subject: Nagios-2a Message-ID: Link: File-List All, I have been using Nagios/Netsaint since last 2-3 years. And performance is extraordinary. But I badly miss the Passive host checks present in Nagios -2.0a. How long will I have to wait for stable release of 2.0...L? Regards, Sumit -------------- next part -------------- An HTML attachment was scrubbed... URL: From bhuffman at incyte.com Tue Dec 7 19:55:51 2004 From: bhuffman at incyte.com (Brian Huffman) Date: Tue, 7 Dec 2004 13:55:51 -0500 Subject: SEC and Nagios for log monitoring Message-ID: All, A while back I saw a lot of posts in reference to logfile monitoring. One of the approaches was to use syslog-ng and swatch or as was also mentioned, SEC. I opted for the SEC approach as it allows piping to STDIN w/o having to jump through hoops. My question is: Are people still using a script between SEC and Nagios to do further filtering / munging or are you going directly from SEC into Nagios? How are you getting the data there? Are you echoing into the nagios "cmd" file or are you using something like NSCA client? Thanks, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnadir at sympatico.ca Tue Dec 7 22:00:11 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Tue, 07 Dec 2004 16:00:11 -0500 Subject: NSCA Error timeout after 10 seconds In-Reply-To: <759618CD64AD564AB3756EF0B33D8533015F65AD@meadowlark2.home.ku.edu> References: <759618CD64AD564AB3756EF0B33D8533015F65AD@meadowlark2.home.ku.edu> Message-ID: <41B619DB.2080208@sympatico.ca> Alright folks - I have resolved the NSCA problem thanks to Robert Sloane and Andreas Ericsson - a big thank you to both. In a nutshell here were the pain points: 1. Firewall blocking access from client to daemon. 2. NSCA was set up to run in xinetd - but I left the "Only from = " blank.. When I enter the IP address of the client - walla it works. Question - is there a general setting I can use for "Only from =" to allow any host? Perhaps a wildcard? Sloane, Robert Raymond wrote: >>What's interesting is that if I try to use the client on the same >>machine that the NSCA daemon is running, and I connect to >>localhost 5667 >>syslog returns a messaging saying that it is Deactivating the >>NSCA due >>to excessive incoming connections -restarting in 30 seconds. >> >> > >By any chance are you running NSCA out of inetd? The deactivation >sounds like an inetd configuration problem? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jan.Scholten at iconz.net Tue Dec 7 22:31:44 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 08 Dec 2004 10:31:44 +1300 Subject: snmp - which mib? In-Reply-To: <200412071531.43508.misch@multinet.de> References: <200412071531.43508.misch@multinet.de> Message-ID: <41B62140.9040406@iconz.net> As i said some month ago:: this is a english mailinglist it's rude to speak in another language: probably only 1 out of 50 may understand and follow the thread, so the next one who has the same question is clueless.. and according to the second signature his helpdesk sits in the UK (? +44) so maybe even he did not understand you?) By the way the link to multinet.de/snmp is broken (404) For the topic: Try to find some MIB-Files for your equiptment (ask the manufaturer) and copy them to /usr/share/snmp/mibs if you got the right ones snmpwalk will magically display human readable descriptions which help alot.. Some Oids i monitor: .1.3.6.1.2.1.2.2.1.8.X (IF-MIB::ifOperStatus) .1.3.6.1.4.1.9.9.13.1.3.1.3.1 Temperature inlet .1.3.6.1.4.1.9.9.13.1.3.1.3.3 Temperature Outlet on some capable cisco devices .1.3.6.1.4.1.1991.1.1.1.1.18.0 Chassis Temp of a foundry .1.3.6.1.4.1.9.2.1.57.0 CPU Load 1 Min .1.3.6.1.4.1.9.2.1.58.0 CPU Load 5 Min (cisco) .1.3.6.1.4.1.1991.1.1.2.1.50.0 CPU Load 1 s .1.3.6.1.4.1.1991.1.1.2.1.51.0 CPU Load 5 s .1.3.6.1.4.1.1991.1.1.2.1.52.0 CPU Load 1 Min (foundry) .1.3.6.1.4.1.9.9.48.1.1.1.6.1 Mem free Cisco .1.3.6.1.4.1.1991.1.1.2.1.55.0 Mem free Foundry + check_bgp plugin. Jan > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hallo, > > Ben?tzen Sie snmpwalk. Damit k?nnen Sie den ganzen MIB - Baum durchsehen. > > Viele MIB stehen auch unter http://multinet.de/snmp > > Oder noch besser (zu unserer Schande!) www.mibdepot.de > > F?r R?ckfragen bin ich (fast) immer zu sprechen. > > MfG, > > Am Dienstag, 7. Dezember 2004 15:06 schrieb Jan.van-Beers at grundy-le.com: > >>Hi, >> >>I want to set up several services using snmp to query routers and >>switches. Unfortunately I find snmpget non-trivial to use and would >>apreciate if anyone here could post/send some samples form a running >>config... >> >>Cu >>Jan >>still sorry fo the .sig... :( > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at menem.mine.nu Tue Dec 7 22:55:47 2004 From: mark at menem.mine.nu (mark) Date: Tue, 07 Dec 2004 22:55:47 +0100 Subject: sms_client scripts In-Reply-To: <41B08AD1.6010204@menem.mine.nu> References: <41B08AD1.6010204@menem.mine.nu> Message-ID: <41B626E3.3030000@menem.mine.nu> Mark Maas wrote: > > Contact says: > define contact{ > contact_name mark > alias Mark > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email,notify-by-sms > host_notification_commands host-notify-by-email,host-notify-by-sms > email mark at menem.mine.nu > } Ok I cheated, the original contact bit is with the service_notification_commands saying: service_notification_commands notify-by-email,notify-by-pager,notify-by-sms and host_notification_commands host-notify-by-email,host-notify-by-pager,host-notify-by-sms and that did not work. for only the first two commands actually get called by nagios. NOT ALL THREE! Even though the eventlog says so... (bug?) I know this, for when I removed the pager command the whole setup suddenly worked. And when I put the email command as the third, it does not get called as well. Just thought i'd share.. Mark ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EmmettH at Examen.com Tue Dec 7 23:02:12 2004 From: EmmettH at Examen.com (Emmett Hogan) Date: Tue, 07 Dec 2004 14:02:12 -0800 Subject: Solstice Disk Suite Plugin? Message-ID: <41B62864.2070309@Examen.com> Hi Folks, I was just wondering if anyone had an SDS plug-in for checking stripe/mirror status? (Using metastat) I thought I had seen on someplace, but I cannot find it anymore. :-( Just thought I'd ask before "rolling my own". Thanks in advance! -Emmett ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgreen at bandcamp.tv Tue Dec 7 23:57:54 2004 From: tgreen at bandcamp.tv (Tony Green) Date: Wed, 8 Dec 2004 09:57:54 +1100 Subject: Solstice Disk Suite Plugin? In-Reply-To: <41B62864.2070309@Examen.com> References: <41B62864.2070309@Examen.com> Message-ID: <6DE87182-48A3-11D9-9C8B-000A95C4CB28@bandcamp.tv> On 08/12/2004, at 9:02 AM, Emmett Hogan wrote: > Hi Folks, > > I was just wondering if anyone had an SDS plug-in for checking > stripe/mirror status? (Using metastat) > > I thought I had seen on someplace, but I cannot find it anymore. :-( > > Just thought I'd ask before "rolling my own". Put this in snmpd.conf exec .1.3.6.1.4.1.4502.1.10 w /usr/local/script/raid-check This is the command definition : # 'check_raid' command definition define command{ command_name check_raid command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.4502.1.10.100.1 -c 0 -l "RAID Failure" } This is the service definition: define service{ use generic-service host_name nts-p service_description RAID contact_groups ops check_command check_raid!public } This is the script: -------------- next part -------------- A non-text attachment was scrubbed... Name: raid-check Type: application/octet-stream Size: 3814 bytes Desc: not available URL: -------------- next part -------------- Works on Sol9 and has hooks in for all raid types on our machines (hardware - 3500's and software) you can also run 'raid-check -v' from the CLI to get a verbose output as to why it failed etc. HTH Greeno -- Tony Green From ae at op5.se Wed Dec 8 00:04:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Dec 2004 00:04:57 +0100 Subject: Nagios MySQL Solaris In-Reply-To: <41B5FA60.3030509@m5net.com> References: <41B5FA60.3030509@m5net.com> Message-ID: <41B63719.3080903@op5.se> Leon A. Davis wrote: > Andreas, > > Please pardon my direct email to you. My name is Leon Davis and I'm > contacting you > because I regard you as one of the leading knowledgeable people of > Nagios on the forums. > Thank you for the kind words, but please refrain from doing so in the future. I'm currently swanked in work as it is and have no time to debug your mysql devel environment for you. I'll send this reply to the nagios-users list as well. Hopefully someone with more time on their hands to ask you the proper follow-up questions will be able to give you an answer. By the first look of it, it seems like you don't have the shared mysql libraries installed in a path where your dso-symbol-resolver (that's ld for most unices) expects to find them but I'd need to know more before getting definitive. > I am about to jump off the roof with this one, and I am franticly in > need of some help. Please. > > I can compile Nagios 1.2 with MySQL fine. However, when doing the "make > all" I get errors. > > *ld: fatal: Symbol referencing errors. No output written to nagios > collect2: ld returned 1 exit status > make[1]: *** [nagios] Error 1 > make[1]: Leaving directory `/home/jennifer/nagios-1.2/base' > make: *** [all] Error 2* > > # ./configure --prefix=/usr/local/nagios --with-PACKAGE=yes > --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ > --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-xdata > --with-mysql-status --with-mysql-comments --with-mysql-extinfo > --with-mysql-retention --with-mysql-downtime > --with-mysql-inc=/usr/local/mysql/include > --with-mysql-lib=/usr/local/mysql/lib --enable-statusmap > --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include > --enable-DEBUG2 --enable-embedded-perl --with-perlcache > --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib > creating cache ./config.cache > checking for a BSD compatible install... ./install-sh -c > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking whether make sets ${MAKE}... yes > checking for strip... /usr/ccs/bin/strip > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking whether time.h and sys/time.h may both be included... yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking for ctype.h... yes > checking for dirent.h... yes > checking for errno.h... yes > checking for fcntl.h... yes > checking for getopt.h... no > checking for grp.h... yes > checking for limits.h... yes > checking for math.h... yes > checking for pwd.h... yes > checking for signal.h... yes > checking for strings.h... yes > checking for string.h... yes > checking for syslog.h... yes > checking for unistd.h... yes > checking for uio.h... no > checking for sys/types.h... yes > checking for sys/time.h... yes > checking for sys/resource.h... yes > checking for sys/wait.h... (cached) yes > checking for sys/stat.h... yes > checking for sys/ipc.h... yes > checking for sys/msg.h... yes > checking for working const... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for tm_zone in struct tm... no > checking for tzname... yes > checking for mode_t... yes > checking for pid_t... yes > checking for size_t... yes > checking return type of signal handlers... void > checking for uid_t in sys/types.h... yes > checking type of array argument to getgroups... gid_t > checking for strdup... yes > checking for strstr... yes > checking for strtoul... yes > checking for initgroups... yes > checking for type of socket size... size_t > checking for mail... /usr/bin/mail > Init script directory: /etc/init.d > We'll use MySQL database routines (in xdata/xsddb.*) for status data I/O... > We'll use MySQL database routines (in xdata/xcddb.*) for comment data > I/O... > We'll use MySQL database routines (in xdata/xeddb.*) for extended data > I/O... > We'll use MySQL database routines (in xdata/xrddb.*) for retention data > I/O... > We'll use template-based routines (in xdata/xodtemplate.*) for object > data I/O... > We'll use default routines (in xdata/xpddefault.*) for performance data > I/O... > We'll use MySQL database routines (in xdata/xdddb.*) for scheduled > downtime data I/O... > checking for main in -lmysqlclient... yes > MySQL library was found! > checking for main in -liconv... no > checking for gdImagePng in -lgd (order 1)... yes > GD library was found! > Note (probably harmless): No library found for -lbind > Embedded Perl interpreter will be compiled in... > Internally compiled Perl scripts will be cached... > checking for traceroute... /usr/sbin/traceroute > checking for snprintf... yes > checking for type va_list... yes > checking for perl... /usr/local/bin/perl > updating cache ./config.cache > creating ./config.status > creating Makefile > creating subst > creating pkginfo > creating base/Makefile > creating common/Makefile > creating contrib/Makefile > creating cgi/Makefile > creating html/Makefile > creating xdata/Makefile > creating daemon-init > creating html/index.html > creating html/side.html > creating common/config.h > creating common/snprintf.h > creating base/nagios.h > creating cgi/cgiutils.h > > Creating sample config files in sample-config/ ... > > > *** Configuration summary for nagios 1.2 02-02-2004 ***: > > General Options: > ------------------------- > Nagios executable: nagios > Nagios user/group: nagios,nagios > Command user/group: nagios,nagios > Embedded Perl: yes, with caching > Install ${prefix}: /usr/local/nagios > Lock file: ${prefix}/var/nagios.lock > Init directory: /etc/init.d > > Web Interface Options: > ------------------------ > HTML URL: http://localhost/nagios// > CGI URL: http://localhost/nagios/cgi-bin/ > Traceroute (used by WAP): /usr/sbin/traceroute > > External Data Routines: > ------------------------ > Status data: Database (MySQL) > Object data: Template-based (text file) > Comment data: Database (MySQL) > Downtime data: Database (MySQL) > Retention data: Database (MySQL) > Peformance data: Default (external commands) > Extended info data: Database (MySQL) > > > Review the options above for accuracy. If they look okay, > type 'make all' to compile the main program and CGIs. > > # > *# make all* > cd ./base && make > make[1]: Entering directory `/home/jennifer/nagios-1.2/base' > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c > gcc -g -O2 -I/usr/local/mysql/include -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE > -DHAVE_CONFIG_H -DNSCORE -L/usr/local/mysql/lib -L/usr/local/lib > -lmysqlclient nagios.c checks.o config.o commands.o flapping.o > logging.o notifications.o sehandlers.o utils.o sretention.o > ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c > ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c > ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c > ../xdata/xdddb.c -L/usr/local/lib > /usr/local/lib/perl5/5.8.3/sun4-solaris/auto/DynaLoader/DynaLoader.a > -L/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE -lperl -lsocket -lnsl > -ldl -lm -lc -lm -o nagios > Undefined first referenced > symbol in file > mysql_close /var/tmp//ccsd67N8.o > mysql_real_connect /var/tmp//ccsd67N8.o > mysql_insert_id /var/tmp//ccqrbSj9.o > mysql_free_result /var/tmp//ccsd67N8.o > mysql_store_result /var/tmp//ccsd67N8.o > mysql_fetch_row /var/tmp//ccsd67N8.o > mysql_errno /var/tmp//cc914BQ3.o > mysql_query /var/tmp//ccsd67N8.o > mysql_init /var/tmp//ccsd67N8.o > ld: fatal: Symbol referencing errors. No output written to nagios > collect2: ld returned 1 exit status > make[1]: *** [nagios] Error 1 > make[1]: Leaving directory `/home/jennifer/nagios-1.2/base' > make: *** [all] Error 2 > # > > > *My ENV* > # env > GROUP=staff > HOME=/home/leon > HOST=ant > HOSTTYPE=sun4 > LOGNAME=leon > MACHTYPE=sparc > MAIL=/var/mail//leon > OSTYPE=solaris > PATH=/usr/bin:/usr/local/bin:/usr/ccs/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/mysql/bin > > PS1=# > PWD=/home/jennifer/nagios-1.2 > REMOTEHOST=fw > SHELL=/bin/sh > SHLVL=4 > TERM=vt100 > TZ=US/Eastern > USER=leon > VENDOR=sun > LD_LIBRARY_PATH=/usr/local/pgsql/lib:/usr/lib:/usr/local/lib:/lib:/usr/local/ssl/lib:/usr/local/myqsl/libTH=/usr/bin:/usr/local/bin:/usr/ccs/bin:/bin:/usr/local/sbin:/usr/sbin: > > /sbin:/usr/local/mysql/bin:/usr/local/pgsql/lib:/usr/lib:/usr/local/lib:/lib:/usr/local/ssl/lib:/usr/local/myqsl/lib:/usr/local/lib:/usr/local/mysql/lib:/usr/lib:/var/lib:/usr/share/lib: > > /usr/perl5/5.6.1/lib:/usr/local/mysql/lib/lib:/etc/lib:/home/jennifer/mrtg-2.10.5/lib:/home/jennifer/nagios-plugins-1.3.1/lib:/home/jennifer/CPAN-1.76/lib > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 8 00:13:08 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Dec 2004 00:13:08 +0100 Subject: Nagios-2a In-Reply-To: References: Message-ID: <41B63904.9060201@op5.se> Sumit Malhotra wrote: > Link: File-List > > All, > > > > I have been using Nagios/Netsaint since last 2-3 years. And performance is > extraordinary. But I badly miss the Passive host checks present in Nagios > -2.0a. > > > > How long will I have to wait for stable release of 2.0...L? > If you hurry up and grab the current CVS you'll get stable code. I've done some serious testing on it, and so long as you don't send more than 3 HUP's to it within 5 seconds (roughly - it will never happen in normal use) it's rock solid. > > > Regards, > > Sumit > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 8 00:15:00 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Dec 2004 00:15:00 +0100 Subject: NSCA Error timeout after 10 seconds In-Reply-To: <41B619DB.2080208@sympatico.ca> References: <759618CD64AD564AB3756EF0B33D8533015F65AD@meadowlark2.home.ku.edu> <41B619DB.2080208@sympatico.ca> Message-ID: <41B63974.3010900@op5.se> Mark Nadir wrote: > Alright folks - I have resolved the NSCA problem thanks to Robert Sloane > and Andreas Ericsson - a big thank you to both. > > In a nutshell here were the pain points: > 1. Firewall blocking access from client to daemon. > 2. NSCA was set up to run in xinetd - but I left the "Only from = " > blank.. When I enter the IP address of the client - walla it works. > > Question - is there a general setting I can use for "Only from =" to > allow any host? Perhaps a wildcard? > man 5 xinetd.conf I can't imagine this option NOT being available by some means, but you'll have to look up the syntax for it in your manpage. > > > > Sloane, Robert Raymond wrote: > >>> What's interesting is that if I try to use the client on the same >>> machine that the NSCA daemon is running, and I connect to localhost >>> 5667 syslog returns a messaging saying that it is Deactivating the >>> NSCA due to excessive incoming connections -restarting in 30 seconds. >>> >> >> >> By any chance are you running NSCA out of inetd? The deactivation >> sounds like an inetd configuration problem? >> >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossella at chemeketa.edu Wed Dec 8 00:19:51 2004 From: rossella at chemeketa.edu (Rossella Mariotti-Jones) Date: Tue, 7 Dec 2004 15:19:51 -0800 Subject: [Nagiosplug-help] check_snmp_int.pl on a cisco 6500 Message-ID: Thanks for replying so fast. What I'd like to do exactly is to monitor (and get and alert) when an interface goes down or comes up. I've played a little with the switches and I found that this works: [root at ccc-nagios plugins]# ./check_snmp_int.pl -H 10.0.0.X -C string -n 1 :DOWN, A :UP, 14:DOWN, CPU:UP, 20:UP, 16:DOWN, 18:DOWN, 12:DOWN, 17:DOWN, PortChannel:DOWN, 3 :DOWN, AUI:UP, 2 :DOWN, 19:DOWN, 22:DOWN, 7 :DOWN, 9 :DOWN, 13:DOWN, 23:DOWN, 6 :DOWN, 4 :DOWN, B :DOWN, 10:UP, 15:DOWN, 21:UP, 8 :DOWN, 24:DOWN, 5 :DOWN, 11:UP: 22 int NOK : CRITICAL Now, how do I include it into the files and which files? I'm guessing probably service.cfg and checkcommands.cfg? Am I on the right track considering my goal? Thanks. Rossella Mariotti-Jones Network Analyst, CCNA Chemeketa Community College / IT T 503 589 7775 F 503 399 4898 E rossella at chemeketa.edu www.chemeketa.edu -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Tuesday, December 07, 2004 1:04 PM To: Rossella Mariotti-Jones Cc: nagiosplug-help at lists.sourceforge.net Subject: Re: [Nagiosplug-help] check_snmp_int.pl on a cisco 6500 Rossella Mariotti-Jones schrieb: > Hello, I'm very new at this and I need some help with snmp check > commands if possible. > > I'm trying to run the command to see if it works from my command line > like this: > [root at ccc-nagios plugins]# ./check_snmp_int.pl -H x.x.x.x -C password > And all I get is this: > > Usage: ./check_snmp_int.pl [-v] -H -C | (-l > login -w passwd) [-p ] -n [-i] [-a] [-r] > [-f[e]] [-t ] [-V] From the output you can see that you need to provide a "-n " Check the help for more info. If you only want to check if a specific interface is up a check like: $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -P 1 -o .1.3.6.1.2.1.2.2.1.8.X -w 1:1 -c 1:1 Replace X with your Port to check (is the numeric oid for IF-MIB::ifOperStatus.X) it will return ok if the port is up and critical if the port is down. > Can anybody help? Thanks a lot. hth Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tearl at cacdhh.org Wed Dec 8 00:26:54 2004 From: tearl at cacdhh.org (Thomas Earl) Date: Tue, 7 Dec 2004 18:26:54 -0500 Subject: [Nagiosplug-help] check_snmp_int.pl on a cisco 6500 In-Reply-To: References: Message-ID: <20041207232658.AEE2EBA06@www.prhobbies.com> Hey Rossella & mailing list, I'm interested in the same answer as I'm working on getting my Cisco interfaces monitored too. Thanks, Tom -- Thomas Earl Network Engineer & Designer Communications Access Center (CAC) 1631 Miller Road Flint, Michigan, 48503 248-705-7408 (cell) 810-239-3112 (office) "Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a ride!!'" --Jack Wilson > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rossella Mariotti-Jones > Sent: Tuesday, December 07, 2004 6:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RE: [Nagiosplug-help] check_snmp_int.pl on a cisco > 6500 > > Thanks for replying so fast. What I'd like to do exactly is to monitor > (and get and alert) when an interface goes down or comes up. > > I've played a little with the switches and I found that this works: > > [root at ccc-nagios plugins]# ./check_snmp_int.pl -H 10.0.0.X -C string -n > > 1 :DOWN, A :UP, 14:DOWN, CPU:UP, 20:UP, 16:DOWN, 18:DOWN, 12:DOWN, > 17:DOWN, PortChannel:DOWN, 3 :DOWN, AUI:UP, 2 :DOWN, 19:DOWN, 22:DOWN, 7 > :DOWN, 9 :DOWN, 13:DOWN, 23:DOWN, 6 :DOWN, 4 :DOWN, B :DOWN, 10:UP, > 15:DOWN, 21:UP, 8 :DOWN, 24:DOWN, 5 :DOWN, 11:UP: 22 int NOK : CRITICAL > > Now, how do I include it into the files and which files? I'm guessing > probably service.cfg and checkcommands.cfg? Am I on the right track > considering my goal? Thanks. > > Rossella Mariotti-Jones > Network Analyst, CCNA > Chemeketa Community College / IT > T 503 589 7775 > F 503 399 4898 > E rossella at chemeketa.edu > www.chemeketa.edu > > -----Original Message----- > From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > Sent: Tuesday, December 07, 2004 1:04 PM > To: Rossella Mariotti-Jones > Cc: nagiosplug-help at lists.sourceforge.net > Subject: Re: [Nagiosplug-help] check_snmp_int.pl on a cisco 6500 > > Rossella Mariotti-Jones schrieb: > > Hello, I'm very new at this and I need some help with snmp check > > commands if possible. > > > > I'm trying to run the command to see if it works from my command line > > like this: > > > [root at ccc-nagios plugins]# ./check_snmp_int.pl -H x.x.x.x -C password > > And all I get is this: > > > > Usage: ./check_snmp_int.pl [-v] -H -C | (-l > > login -w passwd) [-p ] -n [-i] [-a] [-r] > > [-f[e]] [-t ] [-V] > > From the output you can see that you need to provide a "-n desc_oid>" Check the help for > more info. > > If you only want to check if a specific interface is up a check like: > > $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -P 1 -o > .1.3.6.1.2.1.2.2.1.8.X -w 1:1 -c 1:1 > > Replace X with your Port to check (is the numeric oid for > IF-MIB::ifOperStatus.X) it will return ok > if the port is up and critical if the port is down. > > > > Can anybody help? Thanks a lot. > > hth > > Jan > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ryan.Tassotti at brisbane.qld.gov.au Wed Dec 8 03:02:28 2004 From: Ryan.Tassotti at brisbane.qld.gov.au (Ryan Tassotti) Date: Wed, 08 Dec 2004 12:02:28 +1000 Subject: Long-running Nagios - sudden CGI problems Message-ID: Hi Kimmo, We get this error too occasionally..... I think I have narrowed it down to having a Nagios configuration file open for editing, while nagios is running. ie. We have a hosts_novell_prod.cfg file, which details the host configurations of our Netware boxes. If I open this file for editing and get distracted, in a few minutes the Nagios web page kicks me out with the same error you described. HTH, Ryan. >>> Kimmo Jaskari 12/07/04 11:26pm >>> This will be lengthy, but I thought I'd better include as much info as possible. Been running Nagios 1.2 a while now and everything has worked just fine for months. Nagios itself still runs and will no doubt fire off alerts if and when a problem occurs. However... Suddenly I find that the CGI's refuse to run, giving me the following error in the web interface: "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've checked and the settings in Apache (in httpd.conf) are intact - the htpasswd.users file in the Nagios etc directory is there and intact - the .htaccess files in the http-file directory and the sbin cgi directory are intact and contain the proper info, namely: AuthName "Nagios Access" AuthType Basic AuthUserFile /opt/nagios/etc/htpasswd.users require valid-user - files are owned by nagios:nagios and have rwx permissions for the nagios user and r-x for all others (at the moment). - cgi.cfg has: use_authentication=1 I temporarily put a * at the end of all the "authorized_for_*" directives just in case, no effect. I'm stumped. I have no idea where else to look at this point. If anyone has any ideas, no matter how farfetched, please chime in. Thanks! /Kimmo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message was received from the Internet. Please exercise caution with the message and any attachments. This message has passed through an insecure network. Please direct all enquires to the message author. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 IPAustralia.Gov.AU Wed Dec 8 06:20:39 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 8 Dec 2004 16:20:39 +1100 Subject: SEC and Nagios for log monitoring In-Reply-To: <200412071858.iB7IwXhd007825@flora.securenet.com.au> References: <200412071858.iB7IwXhd007825@flora.securenet.com.au> Message-ID: <20041208052037.GC35005@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Tue, Dec 07, 2004 at 10:56:04AM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Message: 34 > Date: Tue, 7 Dec 2004 13:55:51 -0500 > From: "Brian Huffman" > To: > Subject: [Nagios-users] SEC and Nagios for log monitoring > > This is a multi-part message in MIME format. > > ------_=_NextPart_001_01C4DC8E.5F7FDE3E > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > plain text is always preferred > All, > > =20 > > A while back I saw a lot of posts in reference to logfile > monitoring. One of the approaches was to use syslog-ng and swatch or as > was also mentioned, SEC. I opted for the SEC approach as it allows > piping to STDIN w/o having to jump through hoops. And a lot of other advantages such as 1 event correlation (as well as event reaction) 2 multiple event/input streams 3 logging SEC processing to syslog 4 debugging > My question is: Are people still using a script between SEC and > Nagios to do further filtering / munging The SEC rules are more than capable of filtering and munging. If anymore processing is needed they can launch their own scripts or 'require' further data/code. SEC minimises the number of things needing maintaining because it replaces scripts by the SEC configuration/rules sets. > or are you going directly from SEC into Nagios? How > are you getting the data there? Are you echoing into the nagios "cmd" > file Yep. Co-hosted Nag and SEC. Here's an example rule that processes traps by generating a passive service check result. type=PairWithWindow ptype=RegExp pattern=\[\d+\]: (\S+?): .+?\(RMON-MIB::risingAlarm\) .+?, RMON-MIB::alarmIndex\.(\d+) = .. .+) desc=Alarm threshold crossed. action=assign %i $1; assign %x $3 $4; eval %y ( $_ = '%x'; s/RMON-MIB:://g; s/OID:.+?:://g; s/INTEGER: //g; s/alarmIndex.+?,//; s/\balarm//g; $_ ); assign %o Failed. risingAlarm gt 30 secs: %y; eval %h ( require '/usr/local/nagios/etc/alarm_hostnames.pl' unless defined $ip2NagName{'%i'}; $ip2NagName{'%i'} ); write /usr/local/nagios/var/rw/nagios.cmd ([%u] PROCESS_SERVICE_CHECK_RESULT;%h;%s;2;%o); create risingAlarm_$1 > or are you using something like NSCA client? > > =20 > > Thanks, > > Brian > > Let's delete all the ugly multi-part .. > ------_=_NextPart_001_01C4DC8E.5F7FDE3E > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > .. snip Here's a recently published LISA paper about real time log file analysis with SEC (SEC is also pretty fast). http://www.cs.umb.edu/~rouilj/sec Yours sincerely. -- Stanley Hopcroft Network specialist, IT Infrastructure IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From stephan.janosch at interface-business.de Wed Dec 8 08:57:14 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Wed, 08 Dec 2004 08:57:14 +0100 Subject: Event Handlers In-Reply-To: <59B15593F41BD24591D59436E7226EAD0119BA36@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD0119BA36@Khiphx2.khimetrics.com> Message-ID: <41B6B3DA.3000804@interface-business.de> Nathan Oyler wrote: > Is there a collection of event handler scripts that people have already > created that are ready to edit? > > > > There was reference to one in the event handler documentation called > restart-httpd which is listed in the documentation and shown, but it?s > not in the directory as installed. > > > > That leads me to believe that maybe there are several examples in a > particular package? I looked in the cvs code and didn?t see any addition > event handler scripts. > > > > I?m rather new to scripting and was looking towards the functionality > without actually having to write each individual script. > > > > Thanks. > > > > Nathan Oyler > Hi! IMHO scripting is essential for working on UNIX/LINUX. Even at the newest Windows generation you have nearly full scripting support. MS got the point, that you can't do everything via GUI. Perhaps this could be a s starting point point for you. Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mm.quex.org Wed Dec 8 09:20:27 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Wed, 8 Dec 2004 16:20:27 +0800 Subject: [Nagiosplug-help] check_snmp_int.pl on a cisco 6500 In-Reply-To: References: Message-ID: <20041208082027.GA20987@quex.org> On Tue, Dec 07, 2004 at 03:19:51PM -0800, Rossella Mariotti-Jones wrote: > Thanks for replying so fast. What I'd like to do exactly is to monitor > (and get and alert) when an interface goes down or comes up. > > I've played a little with the switches and I found that this works: > > [root at ccc-nagios plugins]# ./check_snmp_int.pl -H 10.0.0.X -C string -n > > 1 :DOWN, A :UP, 14:DOWN, CPU:UP, 20:UP, 16:DOWN, 18:DOWN, 12:DOWN, > 17:DOWN, PortChannel:DOWN, 3 :DOWN, AUI:UP, 2 :DOWN, 19:DOWN, 22:DOWN, 7 > :DOWN, 9 :DOWN, 13:DOWN, 23:DOWN, 6 :DOWN, 4 :DOWN, B :DOWN, 10:UP, > 15:DOWN, 21:UP, 8 :DOWN, 24:DOWN, 5 :DOWN, 11:UP: 22 int NOK : CRITICAL > > Now, how do I include it into the files and which files? I'm guessing > probably service.cfg and checkcommands.cfg? Am I on the right track > considering my goal? Thanks. If you want an alert EVERY time an interface goes up/down, you'll need to configure the device to send an SNMP trap to a host. Otherwise, you can poll it at whatever interval you feel is suitable, but you won't see if an interface drops out and comes back inside that interval (or comes up and drops out again). If you go the polling route, you'll need to make a wrapper to remember the status of the interfaces during the last poll, and compare it to the current poll. If they've changed, return an alert status. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 databasedba.com Wed Dec 8 09:38:58 2004 From: nilesh at databasedba.com (Nilesh) Date: Wed, 08 Dec 2004 14:08:58 +0530 Subject: Regarding Trends status after Network Outage In-Reply-To: <1101981899.25239.15.camel@plume.sigma.fr> References: <267365d104120119002b176e45@mail.gmail.com> <41AE9B82.3080608@databasedba.com> <1101981899.25239.15.camel@plume.sigma.fr> Message-ID: <41B6BDA2.2020307@databasedba.com> Dear Eric I tried your perl script but noluck the problem still parsists... any full proof solution for this problem ... wating for reply regards linux admin BOLLENGIER Eric wrote: >Hi, > >I have the same bug (nagios 1.2), in a race condition (after a host >reboot). > >ssh down -> reboot -> host up -> ssh down -> ssh up > >[1099042385] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Connection refused >[1099042445] SERVICE ALERT: test;ssh;CRITICAL;SOFT;2;Socket timeout >[1099042525] SERVICE ALERT: test;ssh;CRITICAL;HARD;3;Socket timeout >[1099042715] HOST ALERT: test;DOWN;SOFT;1;CRITICAL >[1099042725] HOST ALERT: test;DOWN;SOFT;2;CRITICAL >[1099042735] HOST ALERT: test;DOWN;SOFT;3;CRITICAL >[1099042745] HOST ALERT: test;DOWN;SOFT;4;CRITICAL >[1099042755] HOST ALERT: test;DOWN;HARD;5;CRITICAL >[1099042755] SERVICE ALERT: test;ping;CRITICAL;HARD;1;CRITICAL >[1099042935] HOST ALERT: test;UP;HARD;1;PING OK >[1099042935] SERVICE ALERT: test;ping;OK;HARD;1;PING OK >[1099042945] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Socket timeout >[1099043005] SERVICE ALERT: test;ssh;OK;SOFT;2;TCP OK > >====> BUG ssh is in CRITICAL HARD STATE, but OK is SOFT !! > >[1099043265] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Socket timeout >[1099043335] SERVICE ALERT: test;ssh;CRITICAL;SOFT;2;Socket timeout >[1099043395] SERVICE ALERT: test;ssh;CRITICAL;HARD;3;Socket timeout >[1099043475] HOST ALERT: test;DOWN;SOFT;1;CRITICAL >[1099043485] HOST ALERT: test;DOWN;SOFT;2;CRITICAL >[1099043495] HOST ALERT: test;DOWN;SOFT;3;CRITICAL >[1099043505] HOST ALERT: test;DOWN;SOFT;4;CRITICAL >[1099043515] HOST ALERT: test;DOWN;HARD;5;CRITICAL >[1099043565] SERVICE ALERT: test;ping;CRITICAL;HARD;1;CRITICAL >[1099043715] HOST ALERT: test;UP;HARD;1;PING OK >[1099043715] SERVICE ALERT: test;ping;OK;HARD;1;PING OK >[1099043745] SERVICE ALERT: test;ssh;CRITICAL;SOFT;1;Socket timeout >[1099043815] SERVICE ALERT: test;ssh;CRITICAL;SOFT;2;Socket timeout >[1099043865] SERVICE ALERT: test;ssh;OK;HARD;3;TCP OK > >=====> hier it's ok, because ssh goes up after 2 test > >If you want look this bug in your nagios log file, you could use >my simple perl script (see attachment) > >PS : >to use it > >for i in nagios-*2004* >do > ./mayday_bug_trends.pl $i >done > >Regards > >Le jeudi 02 d?cembre 2004 ? 10:05 +0530, Nilesh a ?crit : > > >>Dear All, >> >>I have noticed a strange behaviour of Trends in nagios. >>I'm using nagios-1.2 >> >>When ever there is a network outage, It is updating information >>immediately for the same. >>After Recover of network connectivity all host check and service checks >>are getting checked and updating information >>for availability of hosts and services. But many times Trends keeps on >>continuin with either "HOST UNREACHABLE" status and services with >>"CRITICAL" status. >> >>In such cases when i reboots nagios server then it is recovering it , >>but it is not a solution. >> >>So how to resolve this problem. >>What i want is, as soon as host &/OR service check get success after >>network outage, Trends Must get update immediately. >> >>Waiting For Reply >>With regards >> >>Linux Admin >> >> >> > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Wed Dec 8 10:02:20 2004 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Wed, 8 Dec 2004 10:02:20 +0100 Subject: AW: Event Handlers Message-ID: <3B1F009121A0D411AD7B0010E37C5BEC0B14C0BB@of-mxs02.oppenheim.de> hi nathan. the whole script (htp-restart) is placed in the documentation. just copy into the eventhandler-dir. as eventhandlers you may use any shell-scripts, perl-scripts or compiled programs. i wrote some scripts to e.g. restart my nrpe-clients via ssh, or to switch my redundant monitoring environment. the redundant environment is based of a main Nagiosserver which is executing the service-checks, a redundancy-server controls the work of the main server and vice versa. the Nagiosservers are running on productive Backupservers. in the case of getting a productive machine i have to switch my whole Nagios-environment to other servers. therefore the attached script copies the nagios-configuration to the "Nagios-backup-server", starts the Nagios-backup and the new redundancy-server, and shuts down the Main Nagiosserver. i attached the "switch-script" to this mail. it shows how to handle with Nagios -$macros$ and uses the Nagios-commandfile ("nagios.cmd"). i hope this helps. greetz, thomas. <> <> surely they?re not perfect, but they work :-) i should post the service/command defs too: # the eventhandler, defined in "misccommands.cfg" (maybe placed as any configurations in any configuration file) # $USER2$ has to be replaced by your Path-variable to your eventhandler-scripts define command { command_name switch_server command_line $USER2$/switch_server.sh $SERVICEDESC$ $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ `uname -n` } # a "control service-check" to determine the case the main-nagiosserver gets a production-machine define service { host_name ... service_description SERVER_SWITCH check_command check_nrpe!check_procs!-w 0:0 -c 0:0 -C ...-a ... register 1 max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 check_period 24x7 passive_checks_enabled 1 parallelize_check 1 event_handler switch_server event_handler_enabled 1 flap_detection_enabled 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 0 notification_period 24x7 notifications_enabled 1 contact_groups nagios } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: switch_server.sh Type: application/octet-stream Size: 6468 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: server.config Type: application/octet-stream Size: 585 bytes Desc: not available URL: From alet at librelogiciel.com Wed Dec 8 10:13:38 2004 From: alet at librelogiciel.com (Jerome Alet) Date: Wed, 8 Dec 2004 10:13:38 +0100 Subject: problem with hostextinfo Message-ID: <20041208091338.GB29668@mail.librelogiciel.com> Hi, I'm using Nagios 1.3.0+pre4 from Debian with the PostgreSQL database. All works fine once I fixed the startup script, but now I can't manage to find how to use my own images instead of the big '?' in statusmap. I've tried by defining : hostextinfo[somehostname] = ... in cgi.cfg, but with no luck then I've used : xedtemplate_config_file=hostextinfo.cfg and I've filled hostextinfo.cfg with the new syntax, with no luck then I've defined access to the PostgreSQL database to retrieve hostextinfo, and I've added some lines into the hostextinfo table, again with no luck. statusmap.cgi is linked with libpq (PostgreSQL) so I thought it would use the database, it doesn't. how can I diagnose what is wrong ? I don't see any error in Apache's error_log file. is there a way to have statusmap.cgi tell me what it does ? (debug mode ?) interestingly the nagios logo and the big '?' logo are correctly displayed in the statusmap. any idea ? thanks in advance Jerome Alet ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 8 10:25:53 2004 From: nagios-user at proy.org (Patrick Proy) Date: Wed, 8 Dec 2004 10:25:53 +0100 Subject: [Nagiosplug-help] check_snmp_int.pl on a cisco 6500 In-Reply-To: References: Message-ID: <20041208092554.08EA7AB6E0@www.manubulon.com> Hi, > [...] What I'd like to do exactly is > to monitor (and get and alert) when an interface goes down or > comes up. > The check_snmp_int.pl script (when you select multiple interfaces like you have done) will return : OK : if all interface are UP CRITICAL : if at least 1 interface is down. So if one int is down, there won't be any difference if one more gets down. So, you can either put multiple services (you can group interfaces with regular expression, put an option saying it's OK when interface are down, etc..) but if you wan't to monitor the state change of all the interfaces, the best is with snmptraps. There are configuration examples of check_snmp_int.pl at http://www.manubulon.com/nagios/index_commands.html#interface Patrick Proy nagios at proy.org > I've played a little with the switches and I found that this works: > > [root at ccc-nagios plugins]# ./check_snmp_int.pl -H 10.0.0.X -C > string -n > > 1 :DOWN, A :UP, 14:DOWN, CPU:UP, 20:UP, 16:DOWN, 18:DOWN, > 12:DOWN, 17:DOWN, PortChannel:DOWN, 3 :DOWN, AUI:UP, 2 :DOWN, > 19:DOWN, 22:DOWN, 7 :DOWN, 9 :DOWN, 13:DOWN, 23:DOWN, 6 > :DOWN, 4 :DOWN, B :DOWN, 10:UP, 15:DOWN, 21:UP, 8 :DOWN, > 24:DOWN, 5 :DOWN, 11:UP: 22 int NOK : CRITICAL > > Now, how do I include it into the files and which files? I'm > guessing probably service.cfg and checkcommands.cfg? Am I on > the right track considering my goal? Thanks. > > Rossella Mariotti-Jones > Network Analyst, CCNA > Chemeketa Community College / IT > T 503 589 7775 > F 503 399 4898 > E rossella at chemeketa.edu > www.chemeketa.edu > > -----Original Message----- > From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > Sent: Tuesday, December 07, 2004 1:04 PM > To: Rossella Mariotti-Jones > Cc: nagiosplug-help at lists.sourceforge.net > Subject: Re: [Nagiosplug-help] check_snmp_int.pl on a cisco 6500 > > Rossella Mariotti-Jones schrieb: > > Hello, I'm very new at this and I need some help with snmp check > > commands if possible. > > > > I'm trying to run the command to see if it works from my > command line > > like this: > > > [root at ccc-nagios plugins]# ./check_snmp_int.pl -H x.x.x.x > -C password > > And all I get is this: > > > > Usage: ./check_snmp_int.pl [-v] -H -C | (-l > > login -w passwd) [-p ] -n [-i] [-a] [-r] > > [-f[e]] [-t ] [-V] > > From the output you can see that you need to provide a "-n > " Check the help for more info. > > If you only want to check if a specific interface is up a check like: > > $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -P 1 -o > .1.3.6.1.2.1.2.2.1.8.X -w 1:1 -c 1:1 > > Replace X with your Port to check (is the numeric oid for > IF-MIB::ifOperStatus.X) it will return ok if the port is up > and critical if the port is down. > > > > Can anybody help? Thanks a lot. > > hth > > Jan > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linickx at gmail.com Wed Dec 8 10:42:47 2004 From: linickx at gmail.com (NICK) Date: Wed, 8 Dec 2004 09:42:47 +0000 Subject: Node status when not being monitored. In-Reply-To: <41B5B81B.2030107@op5.se> References: <41B5B81B.2030107@op5.se> Message-ID: Cheers, Host groups it is then ! ;-) On Tue, 07 Dec 2004 15:03:07 +0100, Andreas Ericsson wrote: > [NICK] wrote: > > > > Hi, > > I've been looking at the documentation and can't seem to answer my question. :-( > > > > I've set up some timeperiods so some servers are not monitored > > overnight, is it possible to set the status on the webpage to > > "unknown" during the time that these servers are not being monitored.. > > or better still make them disappear. > > > > Nopes. But you could add the monitored servers to a 'nocturnal' > hostgroup and use the hostgroup overview/summary/grid to watch the > status at night. > > > Many Thanks > > Nick > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linickx at gmail.com Wed Dec 8 10:49:14 2004 From: linickx at gmail.com (NICK) Date: Wed, 8 Dec 2004 09:49:14 +0000 Subject: Time Undetermined 100% ?!?!?! Message-ID: Hi ALL, I've got a Trial install of nagios, I believe I've configured everything correctly ;-) I'm monitoring www.cisco.com as a test site, cisco allow you to ping / http & https, I've set up service checks for http & https... and.... I've got green lights for both :-D But if I look at my availability reports for the last 24Hours (actually any time frame, the results come back as 100% Time Undetermined !! Can Anyone suggest what I'm doing wrong ? Thanks In Advance Nick ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephan.janosch at interface-business.de Wed Dec 8 10:59:28 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Wed, 08 Dec 2004 10:59:28 +0100 Subject: Time Undetermined 100% ?!?!?! In-Reply-To: References: Message-ID: <41B6D080.9040906@interface-business.de> [NICK] wrote: > Hi ALL, > I've got a Trial install of nagios, I believe I've configured > everything correctly ;-) > > I'm monitoring www.cisco.com as a test site, cisco allow you to ping / > http & https, I've set up service checks for http & https... and.... > I've got green lights for both :-D > > But if I look at my availability reports for the last 24Hours > (actually any time frame, the results come back as 100% Time > Undetermined !! > > Can Anyone suggest what I'm doing wrong ? > > Thanks In Advance > Nick > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Nagios needs at least one status change. If there was no change yet, you should use the Option of "First Assumed State": Current State. Then nagios assumes the actual state as the state for the undermined time. Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sricardi at timbrasil.com.br Wed Dec 8 11:37:00 2004 From: sricardi at timbrasil.com.br (Saulo de Paula Ricardi) Date: Wed, 8 Dec 2004 08:37:00 -0200 Subject: [Nagiosplug-help] check_snmp_int.pl on a cisco 6500 Message-ID: <4ED3D7979226E94797B83131EC4B5C0B01C4C776@RJOCPDMS03.internal.timbrasil.com.br> Use check_ifoperstatus instead and see each interface be monitored. You have to put one-by-one on the services.cfg. SR > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Patrick Proy > Sent: quarta-feira, 8 de dezembro de 2004 07:26 > To: 'Rossella Mariotti-Jones'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] RE: [Nagiosplug-help] check_snmp_int.pl on a > cisco 6500 > > Hi, > > > [...] What I'd like to do exactly is > > to monitor (and get and alert) when an interface goes down or > > comes up. > > > > The check_snmp_int.pl script (when you select multiple interfaces like you > have done) will return : > OK : if all interface are UP > CRITICAL : if at least 1 interface is down. > So if one int is down, there won't be any difference if one more gets > down. > > So, you can either put multiple services (you can group interfaces with > regular expression, put an option saying it's OK when interface are down, > etc..) but if you wan't to monitor the state change of all the interfaces, > the best is with snmptraps. > > There are configuration examples of check_snmp_int.pl at > http://www.manubulon.com/nagios/index_commands.html#interface > > Patrick Proy > nagios at proy.org > > > I've played a little with the switches and I found that this works: > > > > [root at ccc-nagios plugins]# ./check_snmp_int.pl -H 10.0.0.X -C > > string -n > > > > 1 :DOWN, A :UP, 14:DOWN, CPU:UP, 20:UP, 16:DOWN, 18:DOWN, > > 12:DOWN, 17:DOWN, PortChannel:DOWN, 3 :DOWN, AUI:UP, 2 :DOWN, > > 19:DOWN, 22:DOWN, 7 :DOWN, 9 :DOWN, 13:DOWN, 23:DOWN, 6 > > :DOWN, 4 :DOWN, B :DOWN, 10:UP, 15:DOWN, 21:UP, 8 :DOWN, > > 24:DOWN, 5 :DOWN, 11:UP: 22 int NOK : CRITICAL > > > > Now, how do I include it into the files and which files? I'm > > guessing probably service.cfg and checkcommands.cfg? Am I on > > the right track considering my goal? Thanks. > > > > Rossella Mariotti-Jones > > Network Analyst, CCNA > > Chemeketa Community College / IT > > T 503 589 7775 > > F 503 399 4898 > > E rossella at chemeketa.edu > > www.chemeketa.edu > > > > -----Original Message----- > > From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > > Sent: Tuesday, December 07, 2004 1:04 PM > > To: Rossella Mariotti-Jones > > Cc: nagiosplug-help at lists.sourceforge.net > > Subject: Re: [Nagiosplug-help] check_snmp_int.pl on a cisco 6500 > > > > Rossella Mariotti-Jones schrieb: > > > Hello, I'm very new at this and I need some help with snmp check > > > commands if possible. > > > > > > I'm trying to run the command to see if it works from my > > command line > > > like this: > > > > > [root at ccc-nagios plugins]# ./check_snmp_int.pl -H x.x.x.x > > -C password > > > And all I get is this: > > > > > > Usage: ./check_snmp_int.pl [-v] -H -C | (-l > > > login -w passwd) [-p ] -n [-i] [-a] [-r] > > > [-f[e]] [-t ] [-V] > > > > From the output you can see that you need to provide a "-n > > " Check the help for more info. > > > > If you only want to check if a specific interface is up a check like: > > > > $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -P 1 -o > > .1.3.6.1.2.1.2.2.1.8.X -w 1:1 -c 1:1 > > > > Replace X with your Port to check (is the numeric oid for > > IF-MIB::ifOperStatus.X) it will return ok if the port is up > > and critical if the port is down. > > > > > > > Can anybody help? Thanks a lot. > > > > hth > > > > Jan > > > > > > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From escricco at rge-rs.com.br Wed Dec 8 11:47:16 2004 From: escricco at rge-rs.com.br (Eduardo Oliveira Scricco (Service)) Date: Wed, 8 Dec 2004 08:47:16 -0200 Subject: Check_http and https Message-ID: <1DCD421BDE8C3C478E9A0A84B757029303D5DB20@srv-pae-ex01.rge-rs.com.br> Hi all, Nagios 1.2 I'm trying to check a https server, but I'm getting "Bad Request" from server. Is there a way to use check_http to check a https server? Thanks. Eduardo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linickx at gmail.com Wed Dec 8 12:39:35 2004 From: linickx at gmail.com (NICK) Date: Wed, 8 Dec 2004 11:39:35 +0000 Subject: Time Undetermined 100% ?!?!?! In-Reply-To: <41B6D080.9040906@interface-business.de> References: <41B6D080.9040906@interface-business.de> Message-ID: Aaaah Thankx ! all sorted, rgds Nick On Wed, 08 Dec 2004 10:59:28 +0100, Stephan Janosch wrote: > [NICK] wrote: > > > > Hi ALL, > > I've got a Trial install of nagios, I believe I've configured > > everything correctly ;-) > > > > I'm monitoring www.cisco.com as a test site, cisco allow you to ping / > > http & https, I've set up service checks for http & https... and.... > > I've got green lights for both :-D > > > > But if I look at my availability reports for the last 24Hours > > (actually any time frame, the results come back as 100% Time > > Undetermined !! > > > > Can Anyone suggest what I'm doing wrong ? > > > > Thanks In Advance > > Nick > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > Nagios needs at least one status change. If there was no change yet, you > should use the Option of "First Assumed State": Current State. Then > nagios assumes the actual state as the state for the undermined time. > > Stephan > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kimmo.jaskari at eget.fi Wed Dec 8 13:03:45 2004 From: kimmo.jaskari at eget.fi (Kimmo Jaskari) Date: Wed, 08 Dec 2004 14:03:45 +0200 Subject: Long-running Nagios - sudden CGI problems In-Reply-To: References: Message-ID: <1102507425.25386.12.camel@kimmo-lt.EGET> On Wed, 2004-12-08 at 12:02 +1000, Ryan Tassotti wrote: > I think I have narrowed it down to having a Nagios configuration file open for editing, while nagios is running. Thanks for the suggestion, and I did check. Alas, that is not the problem. > >>> Kimmo Jaskari 12/07/04 11:26pm >>> (snip) > Suddenly I find that the CGI's refuse to run, giving me the following > error in the web interface: I've narrowed it down to the file I use to record my Solaris servers in (thanks, Marc), but I have no idea WHY there is a problem. It only breaks the web interface, not the monitoring and alerting bit. I removed that particular config file entirely and tried running Nagios with only the files containing Windows servers and other miscellany and lo and behold, the web interface worked fine and CGI's displayed data as per usual. I've checked and rechecked the file visually and can't find anything that stands out. It passes the "-v test" without any problems, monitoring works but the web interface is not working. Does anyone know or suspect what type of problem in a config file might cause the CGI's to barf while Nagios itself cheerfully accepts it and runs? /Kimmo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Wed Dec 8 14:05:38 2004 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Wed, 8 Dec 2004 14:05:38 +0100 Subject: AW: problem with hostextinfo Message-ID: <3B1F009121A0D411AD7B0010E37C5BEC0B14C0BC@of-mxs02.oppenheim.de> hi! i compiled nagios explicit with the option "-with-default-extinfo" and added my extended informations to the cgi.cfg. that works. greetz, thomas. ---------------------------------------------------------------------------- ----------------- Thomas Zimmer Sal. Oppenheim jr. & Cie. Praktikant / IT Tel.: 069 7134 5319 ---------------------------------------------------------------------------- ------------ -----Urspr?ngliche Nachricht----- Von: Jerome Alet [mailto:alet at librelogiciel.com] Gesendet: Mittwoch, 8. Dezember 2004 10:14 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] problem with hostextinfo Hi, I'm using Nagios 1.3.0+pre4 from Debian with the PostgreSQL database. All works fine once I fixed the startup script, but now I can't manage to find how to use my own images instead of the big '?' in statusmap. I've tried by defining : hostextinfo[somehostname] = ... in cgi.cfg, but with no luck then I've used : xedtemplate_config_file=hostextinfo.cfg and I've filled hostextinfo.cfg with the new syntax, with no luck then I've defined access to the PostgreSQL database to retrieve hostextinfo, and I've added some lines into the hostextinfo table, again with no luck. statusmap.cgi is linked with libpq (PostgreSQL) so I thought it would use the database, it doesn't. how can I diagnose what is wrong ? I don't see any error in Apache's error_log file. is there a way to have statusmap.cgi tell me what it does ? (debug mode ?) interestingly the nagios logo and the big '?' logo are correctly displayed in the statusmap. any idea ? thanks in advance Jerome Alet ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.van-Beers at grundy-le.com Wed Dec 8 14:34:30 2004 From: Jan.van-Beers at grundy-le.com (Jan.van-Beers at grundy-le.com) Date: Wed, 8 Dec 2004 14:34:30 +0100 Subject: Antwort: Re: snmp - which mib? In-Reply-To: <41B62140.9040406@iconz.net> References: <41B62140.9040406@iconz.net> Message-ID: Jan Scholten schrieb am 07.12.2004 22:31:44: > Some Oids i monitor: > .1.3.6.1.2.1.2.2.1.8.X (IF-MIB::ifOperStatus) > .1.3.6.1.4.1.9.9.13.1.3.1.3.1 Temperature inlet > .1.3.6.1.4.1.9.9.13.1.3.1.3.3 Temperature Outlet on some capable > cisco devices > .1.3.6.1.4.1.1991.1.1.1.1.18.0 Chassis Temp of a foundry > .1.3.6.1.4.1.9.2.1.57.0 CPU Load 1 Min > .1.3.6.1.4.1.9.2.1.58.0 CPU Load 5 Min (cisco) > .1.3.6.1.4.1.1991.1.1.2.1.50.0 CPU Load 1 s > .1.3.6.1.4.1.1991.1.1.2.1.51.0 CPU Load 5 s > .1.3.6.1.4.1.1991.1.1.2.1.52.0 CPU Load 1 Min (foundry) > .1.3.6.1.4.1.9.9.48.1.1.1.6.1 Mem free Cisco > .1.3.6.1.4.1.1991.1.1.2.1.55.0 Mem free Foundry Yep, thanks a lot, this is what I am looking for. These are all Cisco-only, I suspect? > + check_bgp plugin. Anyway, I will start digging into SNMP and post the OIDs for Bintec Routers and Compaq DL 380 as soon as I have ?em. > Jan /Me too ;) -- Jan van Beers Junior-Netzwerkadministrator GRUNDY Light Entertainment GmbH Hans-B?ckler-Stra?e 163 50354 H?rth, Germany T. +49 (0) 22 33 - 518 8030 F. +49 (0) 22 33 - 518 8759 jan.van-beers at grundy-le.com http://www.grundy-le.de ---------------------------------------------------------------------------- This email is confidential and may well also be legally privileged. If you have received this email in error, you are in notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The RTL Group or its associated companies. Please contact our IT Helpdesk on +44 (0)20 7691 6996 or e-mail it.support at fremantlemedia.com if you require further assistance. ---------------------------------------------------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alet at librelogiciel.com Wed Dec 8 15:00:34 2004 From: alet at librelogiciel.com (Jerome Alet) Date: Wed, 8 Dec 2004 15:00:34 +0100 Subject: problem with hostextinfo In-Reply-To: <3B1F009121A0D411AD7B0010E37C5BEC0B14C0BC@of-mxs02.oppenheim.de> References: <3B1F009121A0D411AD7B0010E37C5BEC0B14C0BC@of-mxs02.oppenheim.de> Message-ID: <20041208140034.GA2034@mail.librelogiciel.com> Hi, On Wed, Dec 08, 2004 at 02:05:38PM +0100, Thomas.Zimmer at oppenheim.de wrote: > hi! > i compiled nagios explicit with the option "-with-default-extinfo" > and added my extended informations to the cgi.cfg. > that works. The problem is that I use the Debian standard packages, not a version I've compiled myself. But since I've tried the three different ways (that I know of) to specify hostextinfo, I hoped at least one of them would work. I've told PostgreSQL to trace SQL queries, and no query on the hostextinfo or serviceextinfo tables is done... Is this possible that the packager entirely disabled by mistake even a minimal support for extended info ? thanks in advance Jerome Alet ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhuffman at incyte.com Wed Dec 8 15:53:28 2004 From: bhuffman at incyte.com (Brian Huffman) Date: Wed, 8 Dec 2004 09:53:28 -0500 Subject: Perf metrics in Nagios Message-ID: All, I see a whole lot of different choices for gathering and reporting perf metrics: Nagiosgraph, nagiosstat, perfparse, apan, etc. Some use mysql as the backend, some use rrdtool. Some rely on the plugins return performance information, others *parse* the output of normal plugins. What is everyone else out there using and what are the pros / cons of the tools available? Thanks, Brian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 8 16:37:16 2004 From: marc at ena.com (Marc Powell) Date: Wed, 8 Dec 2004 09:37:16 -0600 Subject: Check_http and https Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438CED@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Eduardo Oliveira Scricco > (Service) > Sent: Wednesday, December 08, 2004 4:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_http and https > > Hi all, > > Nagios 1.2 > > I'm trying to check a https server, but I'm getting "Bad Request" from > server. > > Is there a way to use check_http to check a https server. check_http --help is the place to start. One of the two examples used is specifically checking an SSL site. I'm certain you would have needed the ssl-devel libraries installed at compile time to actually be able to use that however. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Wed Dec 8 16:54:32 2004 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Wed, 08 Dec 2004 09:54:32 -0600 Subject: host retry_check_interval? Message-ID: <200412081554.iB8FsWU32114@ginseng.hep.wisc.edu> What's the interval for host check retrys? There doesn't seem to be any retry_check_interval option for host objects. The doc for scheduling host checks simply reads "nagios will keep pounding out checks of the host" without mentioning the interval. And then there's this potentially omnious note... Also of note - when Nagios is check the status of a host, it holds off on doing anything else (executing new service checks, processing other service check results, etc). This can slow things down a bit and cause pending service checks to be delayed for a while, but it is necessary to determine the status of the host before Nagios can take any further action on the service(s) that are having problems. ...does "check the status of a host" mean "check the status of a host N (max_check_attempts) times"?? ...or does it mean "check that status of a host once"? In other words, does nagios balk determining SOFT DOWNs, or does it balk determining HARD DOWNs? Here's the context of these questions... We're monitoring flakey services and hosts (which we don't administer.) We have cut down on excessive WARNING/CRITICAL ("spam") notifications by setting max_check_attempts to 5 and retry_check_interval to 24 (eg only notify about WARNING/CRITICAL after two hours.) How do we do that for DOWN notifications? steve - - - systems & network guy high energy physics university of wisconsin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwalcik at gmail.com Wed Dec 8 19:08:21 2004 From: jwalcik at gmail.com (Jacob Walcik) Date: Wed, 8 Dec 2004 12:08:21 -0600 Subject: perl plug-in problem Message-ID: i'm trying to write a very basic test script in perl that always returns a status of "OK". the script is very basic, and i've based the output on the code i see in some of the existing perl-based plugins. however, whenever i configure nagios to execute it, it always fails with the status information "(No output!)". the script is globally executable, it's in the nagios libexec directory, and i've tested it under the nagios user to be sure that the output is correct on the command line. the contents of the script are pasted in below, can anyone tell me what i've done wrong? ------------------------------------ #!/usr/bin/perl print "dummy plugin\n"; exit $ERRORS{'OK'}; ------------------------------------ that's it. any suggestions? -- jacob walcik jwalcik at gmail.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Wed Dec 8 19:13:44 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 08 Dec 2004 10:13:44 -0800 Subject: perl plug-in problem In-Reply-To: References: Message-ID: --On Wednesday, December 08, 2004 12:08 PM -0600 Jacob Walcik wrote: > i'm trying to write a very basic test script in perl that always > returns a status of "OK". the script is very basic, and i've based > the output on the code i see in some of the existing perl-based > plugins. however, whenever i configure nagios to execute it, it > always fails with the status information "(No output!)". > > the script is globally executable, it's in the nagios libexec > directory, and i've tested it under the nagios user to be sure that > the output is correct on the command line. the contents of the script > are pasted in below, can anyone tell me what i've done wrong? > > ------------------------------------ ># !/usr/bin/perl > > print "dummy plugin\n"; > exit $ERRORS{'OK'}; > ------------------------------------ > > that's it. any suggestions? ------------------------------- #!/usr/bin/perl print "OK\n"; exit (0); ------------------------------- --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 8 19:18:27 2004 From: marc at ena.com (Marc Powell) Date: Wed, 8 Dec 2004 12:18:27 -0600 Subject: perl plug-in problem Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438D0D@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jacob Walcik > Sent: Wednesday, December 08, 2004 12:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] perl plug-in problem > > i'm trying to write a very basic test script in perl that always > returns a status of "OK". the script is very basic, and i've based > the output on the code i see in some of the existing perl-based > plugins. however, whenever i configure nagios to execute it, it > always fails with the status information "(No output!)". > > the script is globally executable, it's in the nagios libexec > directory, and i've tested it under the nagios user to be sure that > the output is correct on the command line. the contents of the script > are pasted in below, can anyone tell me what i've done wrong? > > ------------------------------------ > #!/usr/bin/perl > > print "dummy plugin\n"; > exit $ERRORS{'OK'}; > ------------------------------------ > > that's it. any suggestions? $ERRORS{'OK'} is completely meaningless to your script as it is and will likely result in an arbitrary or undefined exit code. You either need to define $ERRORS{'OK'} to be the proper exit code or better yet, add the following to your script -- use lib "/usr/local/nagios/libexec"; use utils qw(%ERRORS &print_revision &support &usage); http://nagiosplug.sourceforge.net/developer-guidelines.html#PERLPLUGIN -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.lillie at surewest.net Wed Dec 8 19:24:18 2004 From: a.lillie at surewest.net (Andrew Lillie) Date: Wed, 08 Dec 2004 10:24:18 -0800 Subject: perl plug-in problem In-Reply-To: References: Message-ID: <41B746D2.5000404@surewest.net> Well, if this is the entirety of your script, the problem is that $ERRORS{'OK'} has no value, so there's no way for Nagios to know what state you're attempting to return. There are a variety of ways to rectify this. One would be to add the following before your print statement: use lib "/usr/lib/nagios/plugins"; use utils qw(%ERRORS); This should let your script return 0, which Nagios should see and an "OK" state. -Andrew Jacob Walcik wrote: >i'm trying to write a very basic test script in perl that always >returns a status of "OK". the script is very basic, and i've based >the output on the code i see in some of the existing perl-based >plugins. however, whenever i configure nagios to execute it, it >always fails with the status information "(No output!)". > >the script is globally executable, it's in the nagios libexec >directory, and i've tested it under the nagios user to be sure that >the output is correct on the command line. the contents of the script >are pasted in below, can anyone tell me what i've done wrong? > >------------------------------------ >#!/usr/bin/perl > >print "dummy plugin\n"; >exit $ERRORS{'OK'}; >------------------------------------ > >that's it. any suggestions? > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steven.Hajducko at DigitalInsight.com Wed Dec 8 19:26:58 2004 From: Steven.Hajducko at DigitalInsight.com (Steven Hajducko) Date: Wed, 8 Dec 2004 10:26:58 -0800 Subject: perl plug-in problem Message-ID: Remember that you have to exit with an actual exit code. You could print out 'CRITICAL' and exit with an exit code of 0 and nagios will see the plugin as being alright. Just for reference. 0 = OK 1 = WARNING 2 = CRITICAL 3 = UNKNOWN If you're using the %ERRORS hash, you'd have to call in the appropriate module that defines that hash. I believe it's the utils.pm for nagios, where as $ERRORS{'OK'} would simply be returning an exit code of 0. -- sh -----Original Message----- From: Jacob Walcik [mailto:jwalcik at gmail.com] Sent: Wednesday, December 08, 2004 10:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] perl plug-in problem i'm trying to write a very basic test script in perl that always returns a status of "OK". the script is very basic, and i've based the output on the code i see in some of the existing perl-based plugins. however, whenever i configure nagios to execute it, it always fails with the status information "(No output!)". the script is globally executable, it's in the nagios libexec directory, and i've tested it under the nagios user to be sure that the output is correct on the command line. the contents of the script are pasted in below, can anyone tell me what i've done wrong? ------------------------------------ #!/usr/bin/perl print "dummy plugin\n"; exit $ERRORS{'OK'}; ------------------------------------ that's it. any suggestions? -- jacob walcik jwalcik at gmail.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwalcik at gmail.com Wed Dec 8 19:44:06 2004 From: jwalcik at gmail.com (Jacob Walcik) Date: Wed, 8 Dec 2004 12:44:06 -0600 Subject: perl plug-in problem In-Reply-To: References: Message-ID: > ------------------------------- > #!/usr/bin/perl > > print "OK\n"; > exit (0); > ------------------------------- > that did it, thanks. -- jacob walcik jwalcik at gmail.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Wed Dec 8 19:51:00 2004 From: zsitfa at axelero.hu (=?iso-8859-2?Q?Horv=E1th_Tam=E1s?=) Date: Wed, 8 Dec 2004 19:51:00 +0100 Subject: Defense against deface Message-ID: <200412081850.iB8IouCa041611@fe04.axelero.hu> Hi List! We provide monitoring to one of our customers with Nagios 1.2, plugins 1.3.1, Debian Woody. Our customer asked us to provide some alarm, if their web site change in non-workhours. As I've seen I can't do it with check_http plugin, but I have no idea. Does somebody do something similar? Any help would be appreciated. Thanks in advance! Bye, Tamas! ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cletus.murphy at gmail.com Wed Dec 8 20:01:37 2004 From: cletus.murphy at gmail.com (Cletus Murphy) Date: Wed, 8 Dec 2004 11:01:37 -0800 Subject: Could not locate a running Nagios process! Message-ID: <6e282620041208110135fe1808@mail.gmail.com> Greetings. I recently re-installed nagios on a new (old) machine and am having a very difficult time getting nagios to recognize the nagios process. I have consulted the documentation and used my poor googling skills as well. Here is the setup: Red Hat 7.1 nagios is installed on /data/htdocs/internal/systems/nagios (nfs mounted) Here is the output of ps on the machine running nagios (all one line): "nagios 25230 0.0 0.1 2168 1216 ? S 10:25 0:00 /data/htdocs/internal/systems/nagios/bin/nagios -d /data/htdocs/internal/systems/nagios/etc/nagios.cfg" I have tried matching the output of ps to the nagios_check_command in cgi.cfg every which way but no matter how I configure it it can not seem to find the process. I have also tried running check_nagios by hand every conceivable way with no luck as well. Feeling frustrated, what am I doing wrong here? Any help would be greatly appreciated. Thanks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Dec 8 20:13:26 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 8 Dec 2004 11:13:26 -0800 Subject: Defense against deface In-Reply-To: <200412081850.iB8IouCa041611@fe04.axelero.hu> References: <200412081850.iB8IouCa041611@fe04.axelero.hu> Message-ID: <20041208191326.GB22568@zippy.toger.us> On Wed, Dec 08, 2004 at 07:51:00PM +0100, Horv?th Tam?s wrote: > Our customer asked us to provide some alarm, if their web site change in > non-workhours. You would probably have to write a plugin to connect to the server and get the Last-modified timestamp (for static pages) or compute a checksum for CGI based pages. It'd then check to see if the page changed and return a non-OK if it did. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From quanah at stanford.edu Wed Dec 8 20:18:07 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 08 Dec 2004 11:18:07 -0800 Subject: Defense against deface In-Reply-To: <20041208191326.GB22568@zippy.toger.us> References: <200412081850.iB8IouCa041611@fe04.axelero.hu> <20041208191326.GB22568@zippy.toger.us> Message-ID: <59D6EB4889BFDAD760964E79@cadabra-dsl.stanford.edu> --On Wednesday, December 08, 2004 11:13 AM -0800 Jason Martin wrote: > On Wed, Dec 08, 2004 at 07:51:00PM +0100, Horv?th Tam?s wrote: >> Our customer asked us to provide some alarm, if their web site change in >> non-workhours. > You would probably have to write a plugin to connect to the > server and get the Last-modified timestamp (for static pages) or > compute a checksum for CGI based pages. It'd then check to see > if the page changed and return a non-OK if it did. Or use something free like tripwire to monitor changes... Although that might be overkill. ;) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Scholten at iconz.net Wed Dec 8 21:44:29 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 09 Dec 2004 09:44:29 +1300 Subject: Defense against deface In-Reply-To: <59D6EB4889BFDAD760964E79@cadabra-dsl.stanford.edu> References: <200412081850.iB8IouCa041611@fe04.axelero.hu> <20041208191326.GB22568@zippy.toger.us> <59D6EB4889BFDAD760964E79@cadabra-dsl.stanford.edu> Message-ID: <41B767AD.5010405@iconz.net> What about: writing a plugin that: wgets the site does a diff against the expected version (the one at 5.30 pm) and calls for help if there are differences? should be quit easy. Jan >> On Wed, Dec 08, 2004 at 07:51:00PM +0100, Horv?th Tam?s wrote: >> >>> Our customer asked us to provide some alarm, if their web site change in >>> non-workhours. >> >> You would probably have to write a plugin to connect to the >> server and get the Last-modified timestamp (for static pages) or >> compute a checksum for CGI based pages. It'd then check to see >> if the page changed and return a non-OK if it did. > > > Or use something free like tripwire to monitor changes... Although that > might be overkill. ;) > > --Quanah > > -- > Quanah Gibson-Mount > Principal Software Developer > ITSS/Shared Services > Stanford University > GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danslists at conpoint.com Wed Dec 8 21:50:07 2004 From: danslists at conpoint.com (Dan Spray) Date: Wed, 8 Dec 2004 14:50:07 -0600 Subject: Checking VPN status on remote machine Message-ID: <20041208150162.SM01344@DANTECRA> Hello, I have a client that has a VPN between themselves and another office. I would like to monitor this VPN connection through Nagios as it is a mission critical app. My customer site has a Cisco PIX firewall with a LAN-to-LAN VPN built and working. I haven't been able to find a way to find a way to monitor this through the PIX itself so I thought I would create a static entry in the PIX to send all traffic on port 5666 to an internal windows machine. Then I would run the NRPE client on that server and use the check_ping command to make sure that I can ping the remote end. My problem is that I have not been able to find a check_ping plugin for windows. Does anyone out there have such a thing or am I trying to make more work on this than I need to? Thanks in advance for any help you can offer. Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Wed Dec 8 22:14:10 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 8 Dec 2004 15:14:10 -0600 (CST) Subject: Checking VPN status on remote machine In-Reply-To: <20041208150162.SM01344@DANTECRA> References: <20041208150162.SM01344@DANTECRA> Message-ID: On Wed, 8 Dec 2004, Dan Spray wrote: > Hello, I have a client that has a VPN between themselves and another office. > I would like to monitor this VPN connection through Nagios as it is a > mission critical app. Why not add host entries for the VPN gateways on both sides and then set up a parent relationship where the local VPN gateway is a parent to the remote VPN gateway and the remote VPN gateway is a parent to some host on the remote side. Then just ping all three hosts and you will be set. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at sympatico.ca Wed Dec 8 22:51:37 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Wed, 08 Dec 2004 16:51:37 -0500 Subject: Passive checks Status changes? Message-ID: <41B77769.3000208@sympatico.ca> Hi Team. I was wondering, is it possible to have Nagios revert/set a Critical/Warning status on any events being received from a NSCA agent? The idea is that any event received from this agent should trigger a notification - and be flagged as either critical/warning. Any advice on how to achieve this? Thanks in advance. Mark. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guardian at sktc.net Wed Dec 8 23:32:48 2004 From: guardian at sktc.net (Gene White) Date: Wed, 8 Dec 2004 16:32:48 -0600 (CST) Subject: Service Notifications have stopped ? Message-ID: <16415.68.227.182.82.1102545168.squirrel@webmail0.neonova.net> After searching the archives and documentation in vain, here's my problem. After having Nagios running for almost a month, service notification emails have stopped being sent. Host notifications are still working. I have been adding to, and tweaking some of the cfg files, but have not touched the misccommands.cfg (is was just copied from the sample-config directory). Here are some examples from ../nagios/var/nagios.log: [1102540194] SERVICE ALERT: SHDFS;Ping;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 282.59 ms [1102540254] SERVICE ALERT: SHDFS;Ping;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 99.84 ms (((( No Notifications )))) [1102512685] HOST ALERT: HNBDep2;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds [1102512685] HOST NOTIFICATION: Gene;HNBDep2;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1102512945] HOST ALERT: HNBDep2;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.39 ms [1102512945] HOST NOTIFICATION: Gene;HNBDep2;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.39 ms (((( Notification Logged and Received in my Inbox)))) The /var/log/maillog file does not have any entries at the time of the Service Alert, but does have the Host Alert entry. And this works from the CL: [root at hnb-monitor etc]# /bin/mail -s "testing" gwhite at homenational.com testing .. Cc: Here is my setup information: Server - WBEL 3.0 Nagios 1.2 Plugins 1.3.1 Sendmail 8.12.11 I hope I have enough of the relevant cfg files pasted, anyway here they are: CGI.CGI main_config_file=/usr/local/nagios-1.2/etc/nagios.cfg physical_html_path=/usr/local/nagios-1.2/share url_html_path=/nagios show_context_help=0 use_authentication=1 authorized_for_system_information=nagios,guardian authorized_for_configuration_information=guardian authorized_for_system_commands=guardian authorized_for_all_services=* authorized_for_all_hosts=* authorized_for_all_service_commands=guardian authorized_for_all_host_commands=guardian xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=30 NAGIOS.CFG (snipped) log_file=/usr/local/nagios-1.2/var/nagios.log cfg_file=/usr/local/nagios-1.2/etc/checkcommands.cfg cfg_file=/usr/local/nagios-1.2/etc/misccommands.cfg cfg_file=/usr/local/nagios-1.2/etc/contactgroups.cfg cfg_file=/usr/local/nagios-1.2/etc/contacts.cfg cfg_file=/usr/local/nagios-1.2/etc/dependencies.cfg cfg_file=/usr/local/nagios-1.2/etc/escalations.cfg cfg_file=/usr/local/nagios-1.2/etc/hostgroups.cfg cfg_file=/usr/local/nagios-1.2/etc/hosts.cfg cfg_file=/usr/local/nagios-1.2/etc/services.cfg cfg_file=/usr/local/nagios-1.2/etc/timeperiods.cfg resource_file=/usr/local/nagios-1.2/etc/resource.cfg status_file=/usr/local/nagios-1.2/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios-1.2/var/rw/nagios.cmd comment_file=/usr/local/nagios-1.2/var/comment.log downtime_file=/usr/local/nagios-1.2/var/downtime.log lock_file=/usr/local/nagios-1.2/var/nagios.lock temp_file=/usr/local/nagios-1.2/var/nagios.tmp log_rotation_method=m log_archive_path=/usr/local/nagios-1.2/var/archives 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_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 retain_state_information=1 state_retention_file=/usr/local/nagios-1.2/var/status.sav retention_update_interval=60 use_retained_program_state=0 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 EXAMPLE FROM SERVICES.CFG" define service { name defservice2 is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval 1 contact_groups Itdept notifications_enabled 1 notification_interval 30 notification_period 24x7 notification_options r,w,u,c register 0 } define service { host_name HNBMonitor service_description HTTP check_command check_http use defservice2 } EXAMPLE FROM CONTACTS.CFG: # Default contact definition define contact { name default service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email register 0 } define contact { contact_name Gene alias Gene White email gwhite at mydomain.com use default } FROM THE CONTACTGROUP.CFG: define contactgroup { contactgroup_name Itdept alias HNB Itdept members Gene } Any help, or ideas would be greatly appreciated. THX Gene White Ark City, KS ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 8 23:47:56 2004 From: marc at ena.com (Marc Powell) Date: Wed, 8 Dec 2004 16:47:56 -0600 Subject: Passive checks Status changes? Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438D34@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mark Nadir > Sent: Wednesday, December 08, 2004 3:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Passive checks Status changes? > > Hi Team. > > I was wondering, is it possible to have Nagios revert/set a > Critical/Warning status on any events being received from a NSCA agent? > The idea is that any event received from this agent should trigger a > notification - and be flagged as either critical/warning. > > Any advice on how to achieve this? If I understand correctly, you are probably wanting to look at the documentation on Volatile Services. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 IPAustralia.Gov.AU Thu Dec 9 02:12:23 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 9 Dec 2004 12:12:23 +1100 Subject: Attention: getting the best results from Nag users .. In-Reply-To: <200412082154.iB8LsWEW029701@figg.securenet.com.au> References: <200412082154.iB8LsWEW029701@figg.securenet.com.au> Message-ID: <20041209011222.GD300@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, On Wed, Dec 08, 2004 at 01:52:05PM -0800, nagios-users-request at lists.sourceforge.net wrote: The Nag users digest retains _every_ itota of text your mailer sends. If your mailer sends multipart (ie text + one or more of HTML, quoted-printable, base64 ...), digest readers get it all. Here's an example. > To: nagios-users at lists.sourceforge.net > Subject: AW: [Nagios-users] Event Handlers > Date: Wed, 8 Dec 2004 10:02:20 +0100 > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_000_01C4DD04.A0216F90 > Content-Type: multipart/alternative; > boundary="----_=_NextPart_001_01C4DD04.A0216F90" > > > ------_=_NextPart_001_01C4DD04.A0216F90 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > hi nathan. > the whole script (htp-restart) is placed in the documentation. just = > copy > into the eventhandler-dir. > as eventhandlers you may use any shell-scripts, perl-scripts or = > } .. snip .. Here is the next part: exactly the same as the last part but in HTML > > ------_=_NextPart_001_01C4DD04.A0216F90 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > .. snip > > End of Nagios-users Digest This is a lot of stuff to have scroll past, so letters such as this 1 May not get answered in the way the writer hoped for 2 May not even get read 3 Make it difficult to read others letters (the ones stuck below all this stuff) in the digest. At least one digest reader does this 1 Scan the contents of the digest (ie the first page) 2 Anything interesting in the subject lines ? No ==> Flick the digest/read nothing 3 Search for the interesting subject 4 Respond to it. 5 Flick the rest. To make the digests easier to use, and thereby increase the likelihood of good answers to questions, please configure your mailer to send in text only. If this is too negative, look at letters from folks who write good answers, (eg Messers Powell, DeBlend, Bensend, Ericsson among others) and notice: they don't send letters like the one above. Actually, now that I can read the letter (in the archives, where there is no mult-part), it's a good answer, and doubly commendable since it comes from someone who speaks a foreign language very well. Yours sincerely. -- Stanley Hopcroft IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From lundman at gmo.jp Thu Dec 9 04:45:52 2004 From: lundman at gmo.jp (Jorgen Lundman) Date: Thu, 09 Dec 2004 12:45:52 +0900 Subject: Optimising nagios Message-ID: <41B7CA70.3020708@gmo.jp> Take two, sent it as the wrong email the first time. Moderators, you can just ignore it. I do not know if we have a particularly large setup of Nagios, but I believe I am starting to see effects of possibly having too many hosts and service checks. The next-check events seems to lag behind more and more, and entering into pages like "Status Summary" is very slow. (although, user responsiveness is not really so important to me as the monitoring is.) Re-submitting a check immediately can take 4-5 minutes before it takes effect. Anyway, details are: * Supermicro 6013, dual 2.4ghz, Solaris 9, 1G memory. Load Avg generally between 2 and 3. (graph shows to be closer to 2, than 3, no spikes). Which seem ideal on a dual system. +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Statistics: * Hosts * 46 Down 0 Unreachable 522 Up 2 Pending * Services * 62 Critical 26 Warning 1 Unknown 3370 Ok 0 Pending I changed it from testing services every 5 minutes to 10 minutes yesterday in an attempt to quiet things down. I would rather have it be every 5 minutes, but if that is too frequently, then it is how it will be. Currently we only use Active checks, no Passive at all. At a guess, check_nrpe is the most used command, there are some perl checks, but should not be a majority. (on the local monitor machine I mean). Perhaps I should grep out the execution history to see which would be executed the most. I have been reading the optimise documentation, and it seems we are already doing some (maybe even most) of the items suggested. I have the --emabedded-perl option to try if there is not anything obviously wrong with our setup. There are still some devices to be added, in particular, the network devices are still not present. There have started being gaps in the graphs which could be due to checks being delayed? Or that is something unrelated.. I restarted it entirely today, just to clean things out, making sure it isn't running twice etc. How bad does it look? Lund +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Nagios -s reports: SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 3459 Total hosts: 570 Command check interval: -1 sec Check reaper interval: 4 sec Inter-check delay method: SMART Average check interval: 600.867 sec Inter-check delay: 0.174 sec Interleave factor method: SMART Average services per host: 6.068 Service interleave factor: 7 Initial service check scheduling info: -------------------------------------- First scheduled check: 1102561317 -> Thu Dec 9 12:01:57 2004 Last scheduled check: 1102561918 -> Thu Dec 9 12:11:58 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 24 Recommend value: 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Current configuarion values are: check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=m log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=0 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=4 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=0 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=1 service_perfdata_command=service-perf-data-handler obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Typical template for hosts (actually, 100% all hosts): name generic-host notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Template for services, 100% name generic-service ; The 'name' of this service tem plate, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enab led passive_checks_enabled 1 ; Passive service checks are ena bled/accepted parallelize_check 1 ; Active service checks should b e parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this ser vice (if necessary) check_freshness 0 ; Default is to NOT check servic e 'freshness' notifications_enabled 1 ; Service notifications are enab led event_handler_enabled 1 ; Service event handler is enabl ed flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information acro ss program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 10 retry_check_interval 3 ++++++++++++++++++++++++++++++++++++++++++++++++++++ extinfo.cgi output Program-Wide Performance Information Active Checks: Time Frame Checks Completed <= 1 minute: 52 (1.5%) <= 5 minutes: 52 (1.5%) <= 15 minutes: 805 (23.3%) <= 1 hour: 3458 (100.0%) Since program start: 2443 (70.6%) Metric Min. Max. Average Check Execution Time: < 1 sec 60 sec 0.785 sec Check Latency: < 1 sec 2097 sec 604.420 sec Percent State Change: 0.00% 6.25% 0.00% Passive Checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) -- Jorgen Lundman | Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work) Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell) Japan | +81 (0)3 -3375-1767 (home) -- Jorgen Lundman | Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work) Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell) Japan | +81 (0)3 -3375-1767 (home) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhuffman at incyte.com Thu Dec 9 13:42:04 2004 From: bhuffman at incyte.com (Brian Huffman) Date: Thu, 9 Dec 2004 07:42:04 -0500 Subject: SEC and Nagios for log monitoring Message-ID: Thanks again - sorry to make you repeat things. :-) -----Original Message----- From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Sent: Wednesday, December 08, 2004 7:35 PM To: Brian Huffman Subject: Re: [Nagios-users] SEC and Nagios for log monitoring Dear Sir, I am writing to thank you for your letter and say, On Wed, Dec 08, 2004 at 03:47:23PM -0500, Brian Huffman wrote: > BTW - how does this alarm_histnames.pl work? hash of IP addresses => Nag host names. > You're not scanning the > nagios config file every time are you? No. > It looks like you're creating an > associative array, but how do you 1) make sure that it doesn't change if > the config changes but also 2) not scan the config file every time? > 80:20 basically. It is broken, but not so much that its annoying. If a new host comes in (ie doesn't exist in the hash), the passive service check result will be rejected by Nag, and sooner or later, I will notice it and deal with it. Basically, I expect only traps or messages from hosts I am aware of and configure Nagios and SEC accordingly (this is at least part reasonable since I configure routers and influence config of switches). The same is true of the basic Nag distributed mon set-up: its necessary to configure the central site Nag with the services and hosts that it expects to receive passives from (all this is true of Nag 1.x only; don't know about 2.0) > Thanks, > Brian > These questions are good; they prob should go to either lists, so you can get these opinions moderated/tempered/flamed. Rest assured, you are not dealing with a very clever or knowledgable person. Yours sincerely. -- Stanley Hopcroft IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhuffman at incyte.com Thu Dec 9 13:41:41 2004 From: bhuffman at incyte.com (Brian Huffman) Date: Thu, 9 Dec 2004 07:41:41 -0500 Subject: SEC and Nagios for log monitoring Message-ID: Thank you! Forwarded to list so that others may benefit... -----Original Message----- From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Sent: Wednesday, December 08, 2004 7:27 PM To: Brian Huffman Subject: Re: [Nagios-users] SEC and Nagios for log monitoring Dear Sir, I am writing to thank you for your letter and say, On Wed, Dec 08, 2004 at 10:04:37AM -0500, Brian Huffman wrote: > Thanks much! Sorry for all the mime crap. :-( Forgot to switch to > plain text. thank you for your gracious reply (Nag-users in digest is almost unusable because of the proliferation of multi-part. Lucky your letter had intrinsic interest ..) > > I take it that you're using a perl script 'alarm_hostnames.pl' that > converts the IP address to usable nagios name... Yes; exactly. This is the only kludgey part of them working together: the need to translate to Nagios hostnames and service names. Here is an extract # Revision 1.1 2003-07-08 13:43:15+10 anwsmh # Initial revision # # coming soon: the hash map between IP Address and the Nagios host name # ip_address --> Nagios host name # Note that all vars must be global %ip2NagName = qw( 10.0.0.1 DBR21-C5K-1 10.0.0.2 SCBR21-C5K-2 10.0.0.98 FastIron 10.0.0.25 DS1R21-C29-25 10.0.0.30 DNR21-C29-30 ... > Do you also use > syslog-ng? No. Otherwise there would be a case for ncsa or friends since SEC would be monitoring remote hosts syslogs. /usr/local/bin/sec.pl -conf=/usr/local/nagios/etc/sec.conf -detach -pid=/var/run/sec.pid -tail \ -syslog=local0 \ -input=/var/log/snmptrapd \ -input=/var/log/routers ie SEC monitors traps and router messages logged by syslog. > If so do you modify the template at all to make it easier to > pull out things like the hostname? > Only through ignorance of the need to. This is a network of <= 1500 hosts (mostly PCs) clustered in mainly one campus. All servers do their own monitoring - Nag does network nodes and stuff that others can't do. > Thanks, > Brian > > Have a look at the James Brown SEC tutorial, the SEC FAQ (this is the document that helps one see the difference between events and 'messages' in a log). The SEC users list is low volume (& far less noise than Nag users) and quite helpful. Yours sincerely. -- Stanley Hopcroft IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Thu Dec 9 13:47:20 2004 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Thu, 09 Dec 2004 06:47:20 -0600 Subject: host retry_check_interval? In-Reply-To: Message from rader@ginseng.hep.wisc.edu of "Wed, 08 Dec 2004 09:54:32 CST." <200412081554.iB8FsWU32114@ginseng.hep.wisc.edu> References: <200412081554.iB8FsWU32114@ginseng.hep.wisc.edu> Message-ID: <200412091247.iB9ClK003410@ginseng.hep.wisc.edu> I haven't seen any responses to my questions, so I did some tests and dug around in the source this morning. The host retry_check_interval appears to be zero. When a host is DOWN, Nagios appears to block doing checks until the appropiate plugin returns UP once, or DOWN max_check_attempts times. Refer to the for loop starting at line 1458 of base/checks.c in the v1.2 source. steve - - - systems & network guy high energy physics university of wisconsin > ---- Original Message ---- > From: rader > > What's the interval for host check retrys? > > There doesn't seem to be any retry_check_interval option for host > objects. The doc for scheduling host checks simply reads "nagios > will keep pounding out checks of the host" without mentioning > the interval. > > And then there's this potentially omnious note... > > Also of note - when Nagios is check the status of a host, > it holds off on doing anything else (executing new service > checks, processing other service check results, etc). This > can slow things down a bit and cause pending service checks > to be delayed for a while, but it is necessary to determine > the status of the host before Nagios can take any further > action on the service(s) that are having problems. > > ...does "check the status of a host" mean "check the status of a > host N (max_check_attempts) times"?? ...or does it mean "check > that status of a host once"? In other words, does nagios balk > determining SOFT DOWNs, or does it balk determining HARD DOWNs? > > Here's the context of these questions... We're monitoring flakey > services and hosts (which we don't administer.) We have cut down > on excessive WARNING/CRITICAL ("spam") notifications by setting > max_check_attempts to 5 and retry_check_interval to 24 (eg only > notify about WARNING/CRITICAL after two hours.) How do we do that > for DOWN notifications? > > steve > - - - > systems & network guy > high energy physics > university of wisconsin > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporti > ng any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at Abbishaw.com Thu Dec 9 13:53:45 2004 From: David at Abbishaw.com (David Abbishaw) Date: Thu, 9 Dec 2004 12:53:45 -0000 (GMT) Subject: Custom Paging from miscommands.cfg Message-ID: <7150.136.8.152.13.1102596825.squirrel@136.8.152.13> I have a custom script that doesnt accept data thats been piped into it, instead the data to send a page must be on the command line, in a shell the syntax is /usr/sbin/sendpage.pl userfrom userto Y message In Nagios the user is setup to match the user to so $CONTACTPAGER$ should contain the correct information. The Y instructs the script to send an email as well as a SMS. And message is a string to send as a message. Problem is that it doesnt appear to be getting executed correctly. Heres whats in the miscommands.cfg and the event log shows that its been called just doesnt appear to be working :( sigh. # 'notify-by-VMPager' command definition define command{ command_name notify-by-VMPager command_line /usr/bin/sendpage.pl $CONTACTPAGER$ $CONTACTPAGER$ N "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo:$OUTPUT$$ } Any ideas would really be helpful. Thanks ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at dataarmor.net Thu Dec 9 14:40:49 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Thu, 9 Dec 2004 07:40:49 -0600 Subject: Custom Paging from miscommands.cfg Message-ID: -----Original Message----- From: David Abbishaw [mailto:David at Abbishaw.com] Sent: Thursday, December 09, 2004 6:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Custom Paging from miscommands.cfg I have a custom script that doesnt accept data thats been piped into it, instead the data to send a page must be on the command line, in a shell the syntax is /usr/sbin/sendpage.pl userfrom userto Y message In Nagios the user is setup to match the user to so $CONTACTPAGER$ should contain the correct information. The Y instructs the script to send an email as well as a SMS. And message is a string to send as a message. Problem is that it doesnt appear to be getting executed correctly. Heres whats in the miscommands.cfg and the event log shows that its been called just doesnt appear to be working :( sigh. # 'notify-by-VMPager' command definition define command{ command_name notify-by-VMPager command_line /usr/bin/sendpage.pl $CONTACTPAGER$ $CONTACTPAGER$ N "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo:$OUTPUT$$ >>>>>> >>>>>>Why are you adding two $$ in the end ? Also closing " is missing Some tips which may help you 1. Try running the script as user nagios you may have permission problems 2. Try doing some logging in the perl script to enable better debugging 3. if there is arr " in the message or error then it may things worse. Best of luck -Sumit } Any ideas would really be helpful. Thanks ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stinkybob at gmail.com Thu Dec 9 14:43:52 2004 From: stinkybob at gmail.com (StinkyBob) Date: Thu, 9 Dec 2004 07:43:52 -0600 Subject: Custom Paging from miscommands.cfg Message-ID: <2579c6b204120905435cad627e@mail.gmail.com> Why dont you post your script to the list so we can see if there is a problem with it? (remove personal details, if any) -Stinky -----Original Message----- From: David Abbishaw [mailto:David at Abbishaw.com] Sent: Thursday, December 09, 2004 6:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Custom Paging from miscommands.cfg I have a custom script that doesnt accept data thats been piped into it, instead the data to send a page must be on the command line, in a shell the syntax is /usr/sbin/sendpage.pl userfrom userto Y message In Nagios the user is setup to match the user to so $CONTACTPAGER$ should contain the correct information. The Y instructs the script to send an email as well as a SMS. And message is a string to send as a message. Problem is that it doesnt appear to be getting executed correctly. Heres whats in the miscommands.cfg and the event log shows that its been called just doesnt appear to be working :( sigh. # 'notify-by-VMPager' command definition define command{ command_name notify-by-VMPager command_line /usr/bin/sendpage.pl $CONTACTPAGER$ $CONTACTPAGER$ N "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo:$OUTPUT$$ >>>>>> >>>>>>Why are you adding two $$ in the end ? Also closing " is missing Some tips which may help you 1. Try running the script as user nagios you may have permission problems 2. Try doing some logging in the perl script to enable better debugging 3. if there is arr " in the message or error then it may things worse. Best of luck -Sumit } Any ideas would really be helpful. Thanks ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danslists at conpoint.com Thu Dec 9 15:19:04 2004 From: danslists at conpoint.com (Dan Spray) Date: Thu, 9 Dec 2004 08:19:04 -0600 Subject: Checking VPN status on remote machine In-Reply-To: References: Message-ID: <200412090830796.SM01344@DANTECRA> Yes I could do that I guess except my nagios is off one of the external interfaces of the customer pix. So I believe, and correct me if I am wrong, but by doing that I would just be able to ping the external interface and would only know if the router itself lost connectivity to the Internet, not if the VPN itself was down. Dan -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Demetri Mouratis Sent: Wednesday, December 08, 2004 3:14 PM To: Dan Spray Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Checking VPN status on remote machine On Wed, 8 Dec 2004, Dan Spray wrote: > Hello, I have a client that has a VPN between themselves and another office. > I would like to monitor this VPN connection through Nagios as it is a > mission critical app. Why not add host entries for the VPN gateways on both sides and then set up a parent relationship where the local VPN gateway is a parent to the remote VPN gateway and the remote VPN gateway is a parent to some host on the remote side. Then just ping all three hosts and you will be set. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ackim at coppernet.zm Thu Dec 9 15:29:28 2004 From: ackim at coppernet.zm (Ackim Chisha) Date: Thu, 09 Dec 2004 16:29:28 +0200 Subject: Status map reports wrong state for more than an hour References: <000f01c4dc28$1e0cbb90$4618680a@ad.mizuhosc.com> Message-ID: <41B86148.6010103@coppernet.zm> Hi people, I have configured nagios fine and everything seems to work well the only bad thing is that my status map reports too much errors. It sometimes reports the site as being down for more than an hour when actually the site is up and vice-versa. My main concern is to check that all my 350 hosts are alive by using ping. I have tried to play with the following below but to no avail: check_period max_check_attempts normal_check_interval retry_check_interval *I have configured the services like below: * # Generic Service2 definition define service{ use generic-service ; Name of service template to use is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r notification_options w,u,c,r notification_options w,u,c,r service_description PING check_command check_ping } *My Host file is defined as follows *define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 300.0,80% -c 5000.0,100% -p 1 } # 'Generic host definition 2 define host{ check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Regards, Ackim ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.westlake at twcable.com Thu Dec 9 15:56:31 2004 From: simon.westlake at twcable.com (Westlake, Simon) Date: Thu, 9 Dec 2004 09:56:31 -0500 Subject: Processing SNMP Traps in Nagios Message-ID: <070573B58E3DFE41854CD75D8A4BEC6B36F110@PRVPVSMAIL03.corp.twcable.com> Hello, I'm looking to be able to passively monitor some devices in Nagios using SNMP Traps. I read http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html which details a good method of doing it. However, snmptrapd and nagios are running on the same box and I'm not sure how to pass the traps to Nagios without using ncsa. What is the simplest method of doing this? Thanks! ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.westlake at twcable.com Thu Dec 9 16:13:57 2004 From: simon.westlake at twcable.com (Westlake, Simon) Date: Thu, 9 Dec 2004 10:13:57 -0500 Subject: Processing SNMP Traps in Nagios Message-ID: <070573B58E3DFE41854CD75D8A4BEC6B36F111@PRVPVSMAIL03.corp.twcable.com> Just to add a little bit more information to this: What I'm trying to do is as follows. I have a box monitoring various switches that have chassis for fiberoptic equipment connected to them. The equipment works on layer2 and can't be monitored directly. The chassis will send SNMP traps to my box upon a state change for the equipment connected directly to it. I want to be able to add these pieces of layer2 equipment (or, at least add the chassis) to my nagios status map and receive notifications on a state change for the layer2 equipment. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From z8gbb at calvin.gsfc.nasa.gov Thu Dec 9 16:56:32 2004 From: z8gbb at calvin.gsfc.nasa.gov (Gregory Greg B. Brewer) Date: Thu, 9 Dec 2004 10:56:32 -0500 Subject: NSCA Problem on Solaris 9 System Message-ID: <20041209155632.GA2601@calvin.gsfc.nasa.gov> Hello All: After installing NSCA 2.4 on a Solaris 9 system, I am receiving the following error when executing a plugin. If I turnoff encryption, the plugin runs fine. The client and server are on the same subnet. The archives and google don't show anything for this error Has ayone seen this before on a Solaris 9 system with NSCA 2.4 Error message: send_nsca[15162]: [ID 334271 user.error] Could not open mcrypt algorithm 'twofish' with mode 'cfb' Solaris 9 using the package nagios-plugins-1.3.1_2-sol9-sparc-local and libmcrypt-2.5.7, NSCA-2.4 Thanks: -- Gregory Brewer NASA GSFC Code 931 Building #28 Greenbelt Rd. Greenbelt, Md. 20771 CSC 301-286-2214 z8gbb at nccs.nasa.gov ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From useofweapons at gmail.com Thu Dec 9 17:01:52 2004 From: useofweapons at gmail.com (Richard Shaw) Date: Thu, 9 Dec 2004 16:01:52 +0000 Subject: eventhandler - remote script execution Message-ID: Hi, I would like to - on an alert, to have nagios execute a script on a remote win32 machine to restart a problematic service. I've looked through the current documentation and specifically the event handler section, plus the nrpe win32 plugins, and of course google'd around, but haven't come up with anything concrete. I expect it is something that has been done before, but i'm not having any luck finding it, if someone could someone explain the best way to achieve this, I would be very grateful Thanks in advance Richard ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stinkybob at gmail.com Thu Dec 9 17:06:23 2004 From: stinkybob at gmail.com (StinkyBob) Date: Thu, 9 Dec 2004 10:06:23 -0600 Subject: NSCA Problem on Solaris 9 System Message-ID: <2579c6b20412090806a3ead93@mail.gmail.com> The first thing I would try is changing the encryption method. I've been using 3DES without a problem on Solaris 7,8, and 9. Did you compile nsca from source on that machine? -Stinky -----Original Message----- From: Gregory (Greg) B. Brewer [mailto:z8gbb at calvin.gsfc.nasa.gov] Sent: Thursday, December 09, 2004 9:57 AM To: nagios-users at lists.sourceforge.net Cc: Marty Saletta Subject: [Nagios-users] NSCA Problem on Solaris 9 System Hello All: After installing NSCA 2.4 on a Solaris 9 system, I am receiving the following error when executing a plugin. If I turnoff encryption, the plugin runs fine. The client and server are on the same subnet. The archives and google don't show anything for this error Has ayone seen this before on a Solaris 9 system with NSCA 2.4 Error message: send_nsca[15162]: [ID 334271 user.error] Could not open mcrypt algorithm 'twofish' with mode 'cfb' Solaris 9 using the package nagios-plugins-1.3.1_2-sol9-sparc-local and libmcrypt-2.5.7, NSCA-2.4 Thanks: -- Gregory Brewer NASA GSFC Code 931 Building #28 Greenbelt Rd. Greenbelt, Md. 20771 CSC 301-286-2214 z8gbb at nccs.nasa.gov ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Thu Dec 9 17:10:29 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Thu, 9 Dec 2004 09:10:29 -0700 Subject: eventhandler - remote script execution Message-ID: <59B15593F41BD24591D59436E7226EAD0119C0EA@Khiphx2.khimetrics.com> I'm working on doing the exact same thing, several people on the list have been kind enough to reply with input, or scripts that they have used. I have yet to look into those however as I've got one project to finish before I tackle those. I'll let you know what I come up with, the first one I intend to write will restart httpd on a remote machine when the service goes into critical state, but I would like to do similar things for smbd/nmbd, and look into other possibilities that may work. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Richard Shaw > Sent: Thursday, December 09, 2004 9:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] eventhandler - remote script execution > > Hi, > > I would like to - on an alert, to have nagios execute a script on a > remote win32 machine to restart a problematic service. > > I've looked through the current documentation and specifically the > event handler section, plus the nrpe win32 plugins, and of course > google'd around, but haven't come up with anything concrete. > > I expect it is something that has been done before, but i'm not having > any luck finding it, if someone could someone explain the best way to > achieve this, I would be very grateful > > Thanks in advance > > Richard > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.junkmail at gmail.com Thu Dec 9 17:30:03 2004 From: daniel.junkmail at gmail.com (Daniel Corbe) Date: Thu, 9 Dec 2004 11:30:03 -0500 Subject: check_* plugins Message-ID: Howdy, Anyone have any advice for someone who would want to run the check_disk, check_swap and check_load plugins remotely on a server that does not have NAGIOS installed? Regards, Daniel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Dec 9 17:36:08 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 9 Dec 2004 08:36:08 -0800 Subject: check_* plugins In-Reply-To: References: Message-ID: <20041209163608.GG22568@zippy.toger.us> On Thu, Dec 09, 2004 at 11:30:03AM -0500, Daniel Corbe wrote: > Anyone have any advice for someone who would want to run the > check_disk, check_swap and check_load plugins remotely on a server > that does not have NAGIOS installed? There is a check_by_ssh plugin included in the plugin package, or you could install NRPE from the Nagios Extras page. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From marc at ena.com Thu Dec 9 17:46:07 2004 From: marc at ena.com (Marc Powell) Date: Thu, 9 Dec 2004 10:46:07 -0600 Subject: check_* plugins Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438D81@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Daniel Corbe > Sent: Thursday, December 09, 2004 10:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_* plugins > > Howdy, > > Anyone have any advice for someone who would want to run the > check_disk, check_swap and check_load plugins remotely on a server > that does not have NAGIOS installed? NRPE, check_by_ssh, REL or roll your own small wrapper script + NSCA, just to name a few. It's a pretty straightforward task and there's a lot of flexibility in how it's done. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron.gage at handleman.com Thu Dec 9 17:47:04 2004 From: ron.gage at handleman.com (Gage, Ron) Date: Thu, 9 Dec 2004 11:47:04 -0500 Subject: Nagios Proxy for Windows Message-ID: <283990F4F0B37641AF824B7AC258E1BE02C98219@troy-exch3.handleman.com> Hi folks: I am currently working on a Nagios Proxy application and plugin for Windows servers. What this proxy will allow you to do is monitor such things as CPU load, Free Memory, and disk space with zero footprint on the monitored server. It does require a single application loaded on a single windows machine (Xp,2000, 2003) to proxy the commands through. The difference between this and other proxies, this one is built on VB6 (not on .NET), and requires no additional services running on the proxy machine (no more needing IIS). The proxy is written such that (eventually) any WMI accessible object can be reported back to Nagios. Is this something that you folks would see as useful? Of course, the source code is available under a GPL license. Ron Gage - IT Support Team (IBM) Handleman Corp. Troy, Michigan (248) 362-4400 x4626 ron.gage at handleman.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rrivera at comtex.com Thu Dec 9 17:50:03 2004 From: rrivera at comtex.com (Rimbert Rivera) Date: Thu, 9 Dec 2004 10:50:03 -0600 Subject: Help sending e-mail notification when status is OK Message-ID: We've tuned our Nagios fairly well that we get very little false alerts so we now sometimes go for 4 hours or more without any alerts. Of course, now we're paranoid that Nagios, e-mail or the Blackberry Exchange Server (to forward e-mail to our Blackberries) may not be working when we don't receive alerts for that long so I want to setup a "heartbeat" every 2 hours to make sure our communication chain is in operation. I know I can setup a check that will result in a Critical status which will send a Critical alert. I was looking for a more graceful way. I would like to run check_nagios and be able to send its output via e-mail whether the status is OK, warning, critical or unreachable, but even check_dummy 0 would be fine. How can I do this? I've searched for heartbeat and I've only found references to it regarding a distributed Nagios system which we don't have. - Rim Rimbert Rivera Manager, Information Technology COMTEX News Network rrivera at comtex.com (703) 820-2000 Discover more about COMTEX at: http://www.comtex.com/ This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From spunz at gmx.at Thu Dec 9 18:18:39 2004 From: spunz at gmx.at (spunz at gmx.at) Date: Thu, 09 Dec 2004 18:18:39 +0100 Subject: Nagios Proxy for Windows In-Reply-To: <283990F4F0B37641AF824B7AC258E1BE02C98219@troy-exch3.handleman.com> References: <283990F4F0B37641AF824B7AC258E1BE02C98219@troy-exch3.handleman.com> Message-ID: <1102612719.1493.10.camel@wsg7> On Thu, 2004-12-09 at 11:47 -0500, Gage, Ron wrote: > The proxy is written such that (eventually) any WMI accessible object > can be reported back to Nagios. > > Is this something that you folks would see as useful? Of course, the > source code is available under a GPL license. > with wmi support that sounds like a good idea for me :) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Thu Dec 9 18:21:40 2004 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Thu, 9 Dec 2004 12:21:40 -0500 Subject: Nagios Proxy for Windows In-Reply-To: <283990F4F0B37641AF824B7AC258E1BE02C98219@troy-exch3.handleman.com> References: <283990F4F0B37641AF824B7AC258E1BE02C98219@troy-exch3.handleman.com> Message-ID: <200412091716.iB9HG3rK028685@mail1.firstbhph.com> _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Gage, Ron Sent: Thursday, December 09, 2004 11:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Proxy for Windows Hi folks: I am currently working on a Nagios Proxy application and plugin for Windows servers. What this proxy will allow you to do is monitor such things as CPU load, Free Memory, and disk space with zero footprint on the monitored server. It does require a single application loaded on a single windows machine (Xp,2000, 2003) to proxy the commands through. The difference between this and other proxies, this one is built on VB6 (not on .NET), and requires no additional services running on the proxy machine (no more needing IIS). The proxy is written such that (eventually) any WMI accessible object can be reported back to Nagios. Is this something that you folks would see as useful? Of course, the source code is available under a GPL license. Ron Gage - IT Support Team (IBM) Handleman Corp. Troy, Michigan (248) 362-4400 x4626 ron.gage at handleman.com Ron, Let 'er rip. Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From surcouf at debianfr.net Thu Dec 9 18:12:02 2004 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl_=27SurcouF=27_Bordet?=) Date: Thu, 09 Dec 2004 18:12:02 +0100 Subject: Processing SNMP Traps in Nagios In-Reply-To: <070573B58E3DFE41854CD75D8A4BEC6B36F110@PRVPVSMAIL03.corp.twcable.com> References: <070573B58E3DFE41854CD75D8A4BEC6B36F110@PRVPVSMAIL03.corp.twcable.com> Message-ID: <41B88762.6000500@debianfr.net> Westlake, Simon wrote: >Hello, > >I'm looking to be able to passively monitor some devices in Nagios using SNMP Traps. I read http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html which details a good method of doing it. However, snmptrapd and nagios are running on the same box and I'm not sure how to pass the traps to Nagios without using ncsa. > >What is the simplest method of doing this? > > Simply use the original submit_check_result script wrote by Ethan Galstad instead of this example. It should work. Regards, -- Rapha?l 'SurcouF' Bordet http://debianfr.net/ | surcouf at debianfr dot net ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Dec 9 18:36:43 2004 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl_=27SurcouF=27_Bordet?=) Date: Thu, 09 Dec 2004 18:36:43 +0100 Subject: Processing SNMP Traps in Nagios In-Reply-To: <070573B58E3DFE41854CD75D8A4BEC6B36F117@PRVPVSMAIL03.corp.twcable.com> References: <070573B58E3DFE41854CD75D8A4BEC6B36F117@PRVPVSMAIL03.corp.twcable.com> Message-ID: <41B88D2B.6040209@debianfr.net> Westlake, Simon wrote: >Westlake, Simon wrote: > > > >>Hello, >> >>I'm looking to be able to passively monitor some devices in Nagios using SNMP Traps. I read http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html which details a good method of doing it. However, snmptrapd and nagios are running on the same box and I'm not sure how to pass the traps to Nagios without using ncsa. >> >>What is the simplest method of doing this? >> >> >> >> > >Simply use the original submit_check_result script wrote by Ethan >Galstad instead of this example. >It should work. > >Sorry if I'm being dense, but where can I find this? I checked my plugins, contrib dir and downloaded the newest plugins tarball and it doesn't seem to contain this script. > > I've install RPM builded by Dag Wieers: http://dag.wieers.com/packages/nagios-plugins/ Regards, -- Rapha?l 'SurcouF' Bordet http://debianfr.net/ | surcouf at debianfr dot net ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 uta.at Thu Dec 9 18:33:00 2004 From: karoly.vegh at uta.at (VEGH Karoly) Date: Thu, 9 Dec 2004 18:33:00 +0100 Subject: hosts check_enabled, state retention, stored in SQL Message-ID: <20041209173300.GA7949@marvin> Hi. I dont't quite understand what goes wrong, I have three questions. Summary: checking hosts (e.g. check_command in hosts.cfg) does not update, or work. I am using Nagios 1.3 on a debian linux, with mysql support... atsrvlx02-new:/etc/nagios# /usr/sbin/nagios --version | head -4 Nagios 1.3 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 10-24-2004 atsrvlx02-new:/etc/nagios# ...with everthing in SQL: atsrvlx02-new:/etc/nagios# grep ^x resource.cfg xsddb_database=our_nagios_db xsddb_username=our_nagiosdb_user xsddb_password=our_nagiosdbuser_pw xcddb_database=our_nagios_db xcddb_username=our_nagiosdb_user xcddb_password=our_nagiosdbuser_pw xdddb_database=our_nagios_db xdddb_username=our_nagiosdb_user xdddb_password=our_nagiosdbuser_pw xrddb_database=our_nagios_db xrddb_username=our_nagiosdb_user xrddb_password=our_nagiosdbuser_pw atsrvlx02-new:/etc/nagios# atsrvlx02-new:/etc/nagios# grep ^x cgi.cfg xeddb_database=our_nagios_db xeddb_username=our_nagiosdb_user xeddb_password=our_nagiosdbuser_pw xsddb_database=our_nagios_db xsddb_username=our_nagiosdb_user xsddb_password=our_nagiosdbuser_pw xcddb_database=our_nagios_db xcddb_username=our_nagiosdb_user xcddb_password=our_nagiosdbuser_pw xdddb_database=our_nagios_db xdddb_username=our_nagiosdb_user xdddb_password=our_nagiosdbuser_pw atsrvlx02-new:/etc/nagios# I would like to have my hosts (defined in hosts.cfg) be checked as well with check-host-alive in hosts.cfg, and therefore I added checks_enabled 1 ; Host checks are enabled in my hosts.cfg to the generic host definition template which I 'use' at all of my boxes. Well, after done that I thought my hosts will be checked as well (check-host-alive) and I don't need to add a service to the host to check the network connectivity. To test this, I changed the host_address of the host to a nonexistent (not pingable) address, and waited for the host to turn 'red'. It didn't. I thought, okay, lets rtfm, and voila, in the docs I found the following: --------------------------------------- It is important to point out that several directives in host and service definitions may not be picked up by Nagios when you change them. Host and service directives that can exhibit this behavior are marked with an asterisk (*). The reason for this behavior is due to the fact that Nagios chooses to honor values stored in the state retention file over values found in the config files, assuming you have state retention enabled on a program-wide basis. -------------------------------------- OK, checks_enabled was overruled by the settings in retention, it seems so. Well, since I store that information in a mysql db, i checked the values: mysql> select host_name,checks_enabled from hostretention ; +------------------------------+----------------+ | host_name | checks_enabled | +------------------------------+----------------+ | atsrvlx03.utalan.at | 1 | | c65wat4-vlan16.net.utalan.at | 0 | +------------------------------+----------------+ 2 rows in set (0.00 sec) mysql> select host_name,checks_enabled from hoststatus; +------------------------------+----------------+ | host_name | checks_enabled | +------------------------------+----------------+ | atsrvlx03.utalan.at | 1 | | c65wat4-vlan16.net.utalan.at | 0 | +------------------------------+----------------+ 2 rows in set (0.00 sec) mysql> Hm. This means, checks _are_ (were) enabled. Though I was given the status 'Host assumed to be up', checks are enabled, but the host didn't turn 'red' though i explicitly gave it a nonexistent/wrong IP in the hosts.cfg as host_address. Well that is my first question: I. What did I do wrong with this? Feel free to ask for more information, if thats not enough. The other curious thing, is that as you see, in the DB i had in both tables checks_enabled set on 1, but the Web-interface told me that they are set to 'No': http://web.utanet.at/charlie/nagios_checks_enabled.png Thats the second question: II. Do I mix things up, or is this inconsistent? And here comes my third one: As I added one service (a simple check_http) to the host in the services.cfg, and Nagios checked the service, at once both the service and the host turned red. Thats the third question: III. Do I need to add services to every host to be checked, or I again miss something? any help is appreciated. extra infos: atsrvlx02-new:/etc/nagios# uname -a Linux atsrvlx02-new 2.6.9-rc3 #1 SMP Fri Oct 1 14:40:04 CEST 2004 i686 GNU/Linux atsrvlx02-new:/etc/nagios# I have the following mysql and nagios related packages installed: ii libdbd-mysql-p 2.9003-3 A Perl5 database interface to the MySQL data ii libmysqlclient 3.23.56-2 LGPL-licensed client library for MySQL datab ii libmysqlclient 3.23.56-2 LGPL-licensed client development files for M ii libmysqlclient 4.0.21-7 mysql database client library ii mysql-admin 1.0.12-1 GUI tool for intuitive MySQL administration ii mysql-admin-co 1.0.12-1 Architecture independent files for MySQL Adm ii mysql-client 4.0.21-7 mysql database client binaries ii mysql-common 4.0.21-6 mysql database common files (e.g. /etc/mysql ii mysql-doc 4.0.21-2 mysql database documentation ii mysql-server 4.0.21-7 mysql database server binaries ii nagios-common 1.3-0+pre4 A host/service/network monitoring and manage ii nagios-mysql 1.3-0+pre4 A host/service/network monitoring and manage ii nagios-plugins 1.3.1.0-12 Plugins for the nagios network monitoring an tia, and sorry for the rather lengthy mail. charlie -- - Because it messes up the order in which you normally read text. - Why is top-posting such a bad idea? - Top-posting. - What is the most annoying thing on Usenet? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Dec 9 18:34:21 2004 From: surcouf at debianfr.net (=?ISO-8859-1?Q?Rapha=EBl_=27SurcouF=27_Bordet?=) Date: Thu, 09 Dec 2004 18:34:21 +0100 Subject: Processing SNMP Traps in Nagios with snmptrapd... In-Reply-To: <070573B58E3DFE41854CD75D8A4BEC6B36F110@PRVPVSMAIL03.corp.twcable.com> References: <070573B58E3DFE41854CD75D8A4BEC6B36F110@PRVPVSMAIL03.corp.twcable.com> Message-ID: <41B88C9D.7080000@debianfr.net> Westlake, Simon wrote: >Hello, > >I'm looking to be able to passively monitor some devices in Nagios using SNMP Traps. I read http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html which details a good method of doing it. However, snmptrapd and nagios are running on the same box and I'm not sure how to pass the traps to Nagios without using ncsa. > > Hi, I've the same configuration but I can't get snmptrapd to work with nagios. I've defined a volatile and passive service as described: /etc/nagios/services.cfg: # # Generic snmp-trap definition template # define service { name generic-snmp-trap register 0 service_description SNMP Trap is_volatile 1 check_command check-host-alive active_checks_enabled 1 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 check_period none notification_interval 31536000 use generic-service } define service { host_name is1bfw01 service_description Test Trap use generic-snmp-trap register 1 } __END__ I've configure snmptrapd to use this attached script (handle-san-snmptrap) which send data to submit_check_result script, like following: /etc/snmp/snmptrapd.conf: traphandle .1.3.6.1.2.1.1.6.0 /usr/lib/nagios/plugins/eventhandlers/handle-san-snmptrap 1 __END__ If I'm executing this command test, I've got an alert on nagios: # echo "is1bfw01 192.168.0.1" | /usr/lib/nagios/plugins/eventhandlers/handle-san-snmptrap 1 But when I'm sending a trap, using snmptrap on remote host, I've recevied this trap according to snmptrapd's log, but no alert on nagios... Why ? Dec 9 17:54:55 is1bin01 snmptrapd[22698]: 2004-12-09 17:54:55 192.168.0.1(via 192.168.0.1) TRAP, SNMP v1, community public ^I.1.3.6.1.4.1.8426.1.1.1 Enterprise Specific Trap (17) Uptime: 12 days, 21:36:33.82 ^I.1.3.6.1.2.1.1.6.0 = STRING: Just here Regards, -- Rapha?l 'SurcouF' Bordet http://debianfr.net/ | surcouf at debianfr dot net -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: handle-san-snmptrap URL: From mkent at magoazul.com Thu Dec 9 12:10:48 2004 From: mkent at magoazul.com (Matthew Kent) Date: Thu, 09 Dec 2004 11:10:48 +0000 Subject: Help sending e-mail notification when status is OK In-Reply-To: References: Message-ID: <1102590647.4358.2.camel@fuego> > I know I can setup a check that will result in a Critical status which > will send a Critical alert. I was looking for a more graceful way. I > would like to run check_nagios and be able to send its output via > e-mail whether the status is OK, warning, critical or unreachable, but > even check_dummy 0 would be fine. > Sounds like you could just run check_nagios from a cron that fires every 2 hours and sends you the output. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Thu Dec 9 19:49:22 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Thu, 09 Dec 2004 13:49:22 -0500 Subject: check_* plugins In-Reply-To: References: Message-ID: <41B89E32.7020705@dragaera.net> Daniel Corbe wrote: > Howdy, > > Anyone have any advice for someone who would want to run the > check_disk, check_swap and check_load plugins remotely on a server > that does not have NAGIOS installed? The "standard" plugins are distributed seperate from nagios itself. Therefore, the host you're monitoring only needs to have nagios-plugins installed, then you can setup nagios to use check_by_ssh to check the host. There's no need to have nagios itself installed on more than one box. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron.gage at handleman.com Thu Dec 9 20:18:55 2004 From: ron.gage at handleman.com (Gage, Ron) Date: Thu, 9 Dec 2004 14:18:55 -0500 Subject: Nagios Proxy for Windows Message-ID: <283990F4F0B37641AF824B7AC258E1BE02C98267@troy-exch3.handleman.com> Ok - here goes the very rough alpha .. ftp.rongage.org/pub/nagios I put in the nagios component (check_np.c) and the windows component (nagios_proxy.zip) up on my ftp server. Go easy on it as I am on cable modem. To get the check_np.c to compile, drop it into the plugins directory for nagios-plugins and copy the makefile entries for check_nt. Same for the .tpo directory entry. In fact, the code is strongly based on check_nt.c The nagios_plugin.zip has both the source code as well as the executable. The executable runs as a tray icon so look there when you run it. I am very open to changes to either of these pieces. Would be great if I can get check_np.c into the nagios plugins project some time too. Right now, only the check_drive, check_cpu and check_memory functions are implemented. I hope to get the rest of the functions implemented sometime soon. I have it working here monitoring a couple domain controllers (Win2k) with no footprint on the domain controllers. Ron Gage - IT Support Team (IBM) Handleman Corp. Troy, Michigan (248) 362-4400 x4626 ron.gage at handleman.com _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dimitri Yioulos Sent: Thursday, December 09, 2004 12:22 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Proxy for Windows _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Gage, Ron Sent: Thursday, December 09, 2004 11:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Proxy for Windows Hi folks: I am currently working on a Nagios Proxy application and plugin for Windows servers. What this proxy will allow you to do is monitor such things as CPU load, Free Memory, and disk space with zero footprint on the monitored server. It does require a single application loaded on a single windows machine (Xp,2000, 2003) to proxy the commands through. The difference between this and other proxies, this one is built on VB6 (not on .NET), and requires no additional services running on the proxy machine (no more needing IIS). The proxy is written such that (eventually) any WMI accessible object can be reported back to Nagios. Is this something that you folks would see as useful? Of course, the source code is available under a GPL license. Ron Gage - IT Support Team (IBM) Handleman Corp. Troy, Michigan (248) 362-4400 x4626 ron.gage at handleman.com Ron, Let 'er rip. Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From zsitfa at axelero.hu Thu Dec 9 21:17:00 2004 From: zsitfa at axelero.hu (=?iso-8859-2?Q?Horv=E1th_Tam=E1s?=) Date: Thu, 9 Dec 2004 21:17:00 +0100 Subject: Defense against deface Message-ID: <200412092017.iB9KGxS6011879@fe05.axelero.hu> Hi All! Thank you very much the ideas. However our situation is a little difficult. The web content is provided by Oracle IAS release 2. There is a dynamic content which is on a Sun Solaris cluster in Oracle database. There is a static content on another Sun Solaris cluster. Each cluster consists of two machines. I'll try to use check_log plugin with Oracle logs and some kind of checksum timestamp checking. Thanks again. Bye, Tamas! ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.junkmail at gmail.com Thu Dec 9 21:26:11 2004 From: daniel.junkmail at gmail.com (Daniel Corbe) Date: Thu, 9 Dec 2004 15:26:11 -0500 Subject: check_* plugins In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC438D81@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC438D81@mismail.ena.com> Message-ID: Okay, I've got NRPE installed but it doesn't seem to want to bind port 5666. :( I've attached my config. On Thu, 9 Dec 2004 10:46:07 -0600, Marc Powell wrote: > > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Daniel Corbe > > Sent: Thursday, December 09, 2004 10:30 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_* plugins > > > > Howdy, > > > > Anyone have any advice for someone who would want to run the > > check_disk, check_swap and check_load plugins remotely on a server > > that does not have NAGIOS installed? > > NRPE, check_by_ssh, REL or roll your own small wrapper script + NSCA, > just to name a few. It's a pretty straightforward task and there's a lot > of flexibility in how it's done. > > -- > Marc > > -------------- next part -------------- A non-text attachment was scrubbed... Name: nrpe.cfg Type: application/octet-stream Size: 10284 bytes Desc: not available URL: From stinkybob at gmail.com Thu Dec 9 21:06:26 2004 From: stinkybob at gmail.com (StinkyBob) Date: Thu, 9 Dec 2004 14:06:26 -0600 Subject: Machine Image Sizes Message-ID: <2579c6b2041209120651735aad@mail.gmail.com> Is there a way to make the images in the Service Detail or Host Detail any larger? I like the size of the images in the status map, and would like to get them about that large. Also, is there a way to have multiple maps in the Status Maps page? I would like to build a page of maps per building and have one central map that you could click on an image and load a different map from. Thanks, -Stinky ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Thu Dec 9 21:33:53 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 10 Dec 2004 09:33:53 +1300 Subject: eventhandler - remote script execution In-Reply-To: <59B15593F41BD24591D59436E7226EAD0119C0EA@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD0119C0EA@Khiphx2.khimetrics.com> Message-ID: <00d401c4de2e$666937d0$05000100@itss.auckland.ac.nz> > I would like to - on an alert, to have nagios execute a script on a > remote win32 machine to restart a problematic service. Here, we do this by using: 1) pNSclient 2.0.1 agent on the server monitors the windows service 2) Nagios has event handler calling a short shellscript that calls check_nrpe 3) NRPE_nt agent on server catches nrpe request and runs restart script 4) service restarts! The restart script is something very simple -- just 'net start %1%' -- and the shellscript at (2) parses the Service Description to obtain the servicename which is passed to check_nrpe as a parameter. It means having 2 agents on the server (pnsclient, nrpe_nt) though -- actually 3, since we also have the eventlog-nsca daemon running. They're fairly small footprints, though. We're using it here in pre-production, working fine. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From daniel.junkmail at gmail.com Thu Dec 9 22:21:24 2004 From: daniel.junkmail at gmail.com (Daniel Corbe) Date: Thu, 9 Dec 2004 16:21:24 -0500 Subject: check_* plugins In-Reply-To: References: <349555FA607F3A4CBDA9326035D1A7FC438D81@mismail.ena.com> Message-ID: Fixed that problem. Does anyone know of a 3rd party plug-in for nagios that will monitor a courier IMAP SSL/POP SSL server? On Thu, 9 Dec 2004 15:26:11 -0500, Daniel Corbe wrote: > Okay, I've got NRPE installed but it doesn't seem to want to bind port 5666. :( > > I've attached my config. > > > > > On Thu, 9 Dec 2004 10:46:07 -0600, Marc Powell wrote: > > > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Daniel Corbe > > > Sent: Thursday, December 09, 2004 10:30 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] check_* plugins > > > > > > Howdy, > > > > > > Anyone have any advice for someone who would want to run the > > > check_disk, check_swap and check_load plugins remotely on a server > > > that does not have NAGIOS installed? > > > > NRPE, check_by_ssh, REL or roll your own small wrapper script + NSCA, > > just to name a few. It's a pretty straightforward task and there's a lot > > of flexibility in how it's done. > > > > -- > > Marc > > > > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Scholten at iconz.net Thu Dec 9 22:33:23 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 10 Dec 2004 10:33:23 +1300 Subject: check_* plugins In-Reply-To: References: <349555FA607F3A4CBDA9326035D1A7FC438D81@mismail.ena.com> Message-ID: <41B8C4A3.7040902@iconz.net> Daniel Corbe schrieb: > Fixed that problem. > > Does anyone know of a 3rd party plug-in for nagios that will monitor a > courier IMAP SSL/POP SSL server? > > An easy check would be a check_tcp on port 993 or 995 but i am interested in a complete plugin too! Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rrivera at comtex.com Thu Dec 9 22:41:42 2004 From: rrivera at comtex.com (Rimbert Rivera) Date: Thu, 9 Dec 2004 15:41:42 -0600 Subject: Help sending e-mail notification when status isOK Message-ID: Thanks, Matt. Here's the command line I'm gonna use for the cron job (in case it helps others): /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios | mail -s"Nagios Status check (heartbeat)" recipient at company.com You may have to change the paths for the check_nagios command to work for your environment. - Rim Rimbert Rivera Manager, Information Technology COMTEX News Network rrivera at comtex.com (703) 820-2000 Discover more about COMTEX at: http://www.comtex.com/ This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matthew Kent Sent: Thursday, December 09, 2004 6:11 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help sending e-mail notification when status isOK > I know I can setup a check that will result in a Critical status which > will send a Critical alert. I was looking for a more graceful way. I > would like to run check_nagios and be able to send its output via > e-mail whether the status is OK, warning, critical or unreachable, but > even check_dummy 0 would be fine. > Sounds like you could just run check_nagios from a cron that fires every 2 hours and sends you the output. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpk476 at yahoo.com Thu Dec 9 22:57:09 2004 From: dpk476 at yahoo.com (Dan Knoblauch) Date: Thu, 9 Dec 2004 13:57:09 -0800 (PST) Subject: Change Nagios Default Web Page Message-ID: <20041209215709.88954.qmail@web61006.mail.yahoo.com> Hi all, I was wondering... I would like to set the default web page to the tactical overview section rather than the standard welcome page. Can someone direct me on how I might go about doing this? I suspect it can be done configuring the httpd.conf file but don't want to break anything in the process. Thanks! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at duke.edu Thu Dec 9 23:08:13 2004 From: throck at duke.edu (Tom Throckmorton) Date: Thu, 09 Dec 2004 17:08:13 -0500 Subject: check_* plugins In-Reply-To: References: <349555FA607F3A4CBDA9326035D1A7FC438D81@mismail.ena.com> Message-ID: <41B8CCCD.7040602@duke.edu> On 12/09/2004 04:21 PM, Daniel Corbe wrote: >Does anyone know of a 3rd party plug-in for nagios that will monitor a >courier IMAP SSL/POP SSL server? > > Daniel, check_tcp will already do what you want; it looks at how it was called and then adjusts the port and expected return string. To make it work, check_tcp should be symlinked to the appropriate command. In addition to accepting arbitrary ports/strings, it can be called as: check_imap check_simap check_pop check_spop check_smtp check_ftp check_nntp check_udp ...and will do the Right Thing with regard to your command. I'd be surprised (and perhaps suspect) if these links weren't already created as part of whatever package/build you're using.... -tt -- Tom Throckmorton OIT - CASI Duke University ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 9 23:21:14 2004 From: marc at ena.com (Marc Powell) Date: Thu, 9 Dec 2004 16:21:14 -0600 Subject: Change Nagios Default Web Page Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438DD0@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dan Knoblauch > Sent: Thursday, December 09, 2004 3:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Change Nagios Default Web Page > > Hi all, > > I was wondering... I would like to set the default web > page to the tactical overview section rather than the > standard welcome page. Can someone direct me on how I > might go about doing this? I suspect it can be done > configuring the httpd.conf file but don't want to > break anything in the process. Simply edit /path/to/nagios/share/index.html and change the second link to point to '/cgi-bin/tac.cgi?host=all' -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Thu Dec 9 23:46:11 2004 From: jhein at netways.de (Julian Hein) Date: Thu, 9 Dec 2004 23:46:11 +0100 Subject: Optimising nagios Message-ID: Hi, > I do not know if we have a particularly large setup of > Nagios, but I believe I > am starting to see effects of possibly having too many hosts > and service checks. > The next-check events seems to lag behind more and more, and > entering into pages > like "Status Summary" is very slow. (although, user > responsiveness is not really > so important to me as the monitoring is.) Re-submitting a > check immediately can > take 4-5 minutes before it takes effect. > Anyway, details are: > * 46 Down 0 Unreachable 522 Up 2 Pending I think your problem is the large number of down hosts, as host check block the whole nagios server. Try to disable active checks on this hosts and see if you latency goes down. Julian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lgetschel at denver.westerngeco.slb.com Thu Dec 9 23:57:29 2004 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Thu, 09 Dec 2004 15:57:29 -0700 Subject: check_snmp string matching problem Message-ID: <41B8D859.2090502@denver.westerngeco.slb.com> All- I'm having trouble matching the string returned with snmp(get/walk) with check_snmp, for checking our Network Appliance servers. Using the mib's I can get the useful string "The system's global status is normal. " However, getting that to match with the check_snmp plugin is driving me crazy! And searching the mailing list/google didn't seem to help. Using snmpget I see that value returned: 688 /usr/local/nagios/etc % /usr/bin/snmpget -v 1 -c public fas0:161 1.3.6.1.4.1.789.1.2.2.25.0 SNMPv2-SMI::enterprises.789.1.2.2.25.0 = STRING: "The system's global status is normal. " I thought that matching that string wouldn't be too hard (yeah, right!) I've tried escaping the single quote: 686 /usr/local/nagios/etc % /usr/lib/nagios/plugins/check_snmp -m /usr/share/snmp/mibs/netapp.mib.txt -H fas0 -s="The system\'s global status is normal. " -o NETWORK-APPLIANCE-MIB::miscGlobalStatusMessage.0 SNMP CRITICAL - *"The system's global status is normal. "* I've tried quoting the quotes: 691 /usr/local/nagios/etc % /usr/lib/nagios/plugins/check_snmp -m /usr/share/snmp/mibs/netapp.mib.txt -H fas0 -s=""The system's global status is normal. "" -o NETWORK-APPLIANCE-MIB::miscGlobalStatusMessage.0 Unmatched '. So I tried both: 692 /usr/local/nagios/etc % /usr/lib/nagios/plugins/check_snmp -m /usr/share/snmp/mibs/netapp.mib.txt -H fas0 -s=""The system\'s global status is normal. "" -o NETWORK-APPLIANCE-MIB::miscGlobalStatusMessage.0 SNMP CRITICAL - *"The system's global status is normal. "* I've tried single quotes outside the doubles, escaping various quotes...Without going on for a few dozen more pages, I think I've tried all the combinations. (but must have missed the critical one ) Does someone have some more experience with check_snmp using strings? or some help with regular-expression matching with this string? Any help will be appreciated. Lewis -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tommorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Dec 10 08:11:06 2004 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 10 Dec 2004 08:11:06 +0100 (CET) Subject: Processing SNMP Traps in Nagios with snmptrapd... In-Reply-To: <41B88C9D.7080000@debianfr.net> References: <41B88C9D.7080000@debianfr.net> Message-ID: <20041210071106.99DA14F40EB@desire.netways.de> Hi Rapha?l because the trap OID maybe a diffrent one. Use tcpdump/ethereal or the documentation to find out which OID your trap has. It's the one inside the snmpt.log file - Gerd Mueller (Gerd.Mueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=48 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Dec 10 08:18:17 2004 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 10 Dec 2004 08:18:17 +0100 (CET) Subject: Processing SNMP Traps in Nagios with snmptrapd... In-Reply-To: <20041210071106.99DA14F40EB@desire.netways.de> References: <20041210071106.99DA14F40EB@desire.netways.de> Message-ID: <20041210071817.851C74F40EB@desire.netways.de> Hi sorry, too early in the morning. :-( I wanted to write "Very often it's **not** the one inside the logfile" Sorry - Gerd Mueller (Gerd.Mueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=73 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lundman at gmo.jp Fri Dec 10 08:26:46 2004 From: lundman at gmo.jp (Jorgen Lundman) Date: Fri, 10 Dec 2004 16:26:46 +0900 Subject: Optimising nagios In-Reply-To: References: Message-ID: <41B94FB6.9060508@gmo.jp> Heh ok got my message filters wrong so thought this mailling list was totally silent! Anyway, thanks for the reply. One part of the issue does indeed stem from adding some ~150 hosts the day before, and that I can not ping (yet). If I am close to the maximum limit my hardware can handle, then so be it, we will get another box, but it is hard to know how much it should be able to handle. The documentation naturally avoids mentioning numbers by sticking to "medium" and "large" setups. The gaps in graphs were related to the slowdown, the rrd heatbeat was set to 600, and it took 15min->20min for Nagios to re-check items (with an interval set to 5 mins - which isn't so good) Is there a way to grep out the duration of check commands, so I can sort out which are worth optimising? It seems that I should change some of the heavier (mailq/maillog) checks to passive perhaps, as they can take 2-3 minutes to complete. Is Nagios 2.0 worth trying? Complicated to upgrade? Sincerely, Lund Julian Hein wrote: > Hi, > > >>I do not know if we have a particularly large setup of >>Nagios, but I believe I >>am starting to see effects of possibly having too many hosts >>and service checks. >>The next-check events seems to lag behind more and more, and >>entering into pages >>like "Status Summary" is very slow. (although, user >>responsiveness is not really >>so important to me as the monitoring is.) Re-submitting a >>check immediately can >>take 4-5 minutes before it takes effect. > > >>Anyway, details are: >>* 46 Down 0 Unreachable 522 Up 2 Pending > > > I think your problem is the large number of down hosts, as host check > block the whole nagios server. Try to disable active checks on this > hosts and see if you latency goes down. > > Julian > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jorgen Lundman | Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work) Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell) Japan | +81 (0)3 -3375-1767 (home) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Dec 10 08:52:28 2004 From: bench at silentmedia.com (Ben) Date: Thu, 9 Dec 2004 23:52:28 -0800 Subject: Optimising nagios In-Reply-To: <41B94FB6.9060508@gmo.jp> References: <41B94FB6.9060508@gmo.jp> Message-ID: <7036F7CA-4A80-11D9-8303-000A95BF2A8C@silentmedia.com> In my experience, Nagios 2 is rock solid, much faster, and quite easy to migrate to. On Dec 9, 2004, at 11:26 PM, Jorgen Lundman wrote: > > Is Nagios 2.0 worth trying? Complicated to upgrade? > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.mortier at opensides.be Fri Dec 10 08:32:35 2004 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Fri, 10 Dec 2004 08:32:35 +0100 Subject: Nagios Proxy for Windows In-Reply-To: <283990F4F0B37641AF824B7AC258E1BE02C98267@troy-exch3.handleman.com> References: <283990F4F0B37641AF824B7AC258E1BE02C98267@troy-exch3.handleman.com> Message-ID: <200412100832.36382.benoit.mortier@opensides.be> Le jeudi 9 D?cembre 2004 20:18, Gage, Ron a ?crit?: > Ok - here goes the very rough alpha .. [..] > I am very open to changes to either of these pieces. Would be great if > I can get check_np.c into the nagios plugins project some time too. > Right now, only the check_drive, check_cpu and check_memory functions > are implemented. I hope to get the rest of the functions implemented > sometime soon. just submit it in the nagiosplug project on sourceforge, i will including it. -- Benoit Mortier OpenSides sprl Linux Engineer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.mortier at opensides.be Thu Dec 9 17:54:01 2004 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Thu, 9 Dec 2004 17:54:01 +0100 Subject: Nagios Proxy for Windows In-Reply-To: <283990F4F0B37641AF824B7AC258E1BE02C98219@troy-exch3.handleman.com> References: <283990F4F0B37641AF824B7AC258E1BE02C98219@troy-exch3.handleman.com> Message-ID: <200412091754.02721.benoit.mortier@opensides.be> Le jeudi 9 D?cembre 2004 17:47, Gage, Ron a ?crit?: [..] > Is this something that you folks would see as useful? Of course, the > source code is available under a GPL license. Yes that could be really usefull ... Where is the code ;-) -- Benoit Mortier OpenSides sprl Linux Engineer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From useofweapons at gmail.com Fri Dec 10 10:45:34 2004 From: useofweapons at gmail.com (Richard Shaw) Date: Fri, 10 Dec 2004 09:45:34 +0000 Subject: eventhandler - remote script execution - SUMMARY In-Reply-To: <00d401c4de2e$666937d0$05000100@itss.auckland.ac.nz> References: <59B15593F41BD24591D59436E7226EAD0119C0EA@Khiphx2.khimetrics.com> <00d401c4de2e$666937d0$05000100@itss.auckland.ac.nz> Message-ID: Thanks very much to : Nathan Oyler Steve Shipway sushildeshmukh I ended up using nrpe_nt from http://www.miwi-dv.com/nrpent. Wrote a small batch script on my problematic server to restart the service, which i then added to the nrpe\bin\nrpe.cfg. Configured up the port, server address and allowed_hosts. command[check_cfcycle]=c:\nrpe\bin\cfcycle.bat Then defined the command in checkcommands.cfg on the nagios server: define command{ command_name check_cfcycle command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_cfcycle } and added the event_handler to the services.cfg: define service{ use generic-service host_name box.example.com service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups Admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_http event_handler check_cfcycle } Et voila, all worked. http://nagios.sourceforge.net/docs/1_0/eventhandlers.html Thanks again Richard On Fri, 10 Dec 2004 09:33:53 +1300, Steve Shipway wrote: > > I would like to - on an alert, to have nagios execute a script on a > > remote win32 machine to restart a problematic service. > > Here, we do this by using: > 1) pNSclient 2.0.1 agent on the server monitors the windows service > 2) Nagios has event handler calling a short shellscript that calls > check_nrpe > 3) NRPE_nt agent on server catches nrpe request and runs restart script > 4) service restarts! > > The restart script is something very simple -- just 'net start %1%' -- and > the shellscript at (2) parses the Service Description to obtain the > servicename which is passed to check_nrpe as a parameter. > > It means having 2 agents on the server (pnsclient, nrpe_nt) though -- > actually 3, since we also have the eventlog-nsca daemon running. They're > fairly small footprints, though. > > We're using it here in pre-production, working fine. > > Steve > > --- > Steve Shipway: ITSS, University of Auckland > Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ > ** We can only discover new oceans when we have the ** > ** courage to lose sight of the shore. ** > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Fri Dec 10 13:38:17 2004 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Fri, 10 Dec 2004 13:38:17 +0100 Subject: Nagios Mailinglist in several Blacklists Message-ID: <200412101338.17065.benoit.panizzon@imp.ch> Hi all From today I start getting all my Nagios Emails into my Spam Folder... Looks like somebody sent spam from the IP where this list ist hosted and somebody sent spam to swinog spamtraps advertizing the URL of the company sponsoring that list. 0.1 RCVD_BY_IP Received by mail server with no name -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 2.5 RCVD_IN_PSBL_SPAM RBL: Sender has sent mails to spamtraps [66.35.250.220 listed in psbl.surriel.com] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.5 URIBL_SC_SWINOG URI's is listed in uribl.swinog.ch. [URIs: itmanagersjournal.com] 3.0 RBL_COMBO_F_2 Blacklist Combo F (2) 2.0 RBL_COMBO_A_2 Blacklist Combo A (2) Could somebody try to find out what exactly happened? Regards -- Beno?t Panizzon, ------------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00 Zurlindenstrasse 29 Fax: +41 61 826 93 01 CH-4133 Pratteln Net: http://www.imp.ch/ ------------------------------------------------------------------------ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill.unger at gmail.com Fri Dec 10 15:31:54 2004 From: bill.unger at gmail.com (Bill Unger) Date: Fri, 10 Dec 2004 09:31:54 -0500 Subject: Remote Netware Monitoring and Security Message-ID: I am just getting my feet wet with Nagios and am very impressed so far. In addition to monitoring remote NT and Linux servers ( secured via ssh, for example ), I would like to remotely monitor Netware servers. I understand that I can use the mrtg.nlm module on the server and poke a hole through the firewall for whatever port that module is listening on, but that seems to open a fairly large security risk. What are the methods to secure/tighten up the remote monitoring of Netware? thanks in advance, Bill ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From is at gentestrana.net Fri Dec 10 15:33:27 2004 From: is at gentestrana.net (Andrea Cerrito) Date: Fri, 10 Dec 2004 15:33:27 +0100 Subject: Error using interface Message-ID: <1102689207.7544.20.camel@localhost> Hi list, sometimes, my web interface got stalled on old host/service status: nagios is running, the cgi is currently working fine, but results are old. IE: just now, I had to restart nagios process to reset the status and get the update working again. What should I have to verify? Thanks -- Enjoy your freedom Andrea Cerrito http://www.gentestrana.net/ Linux User #103564 === (17:57:49) Nietzsche: "niente ? quello che sembra" ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Fri Dec 10 15:44:05 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 10 Dec 2004 09:44:05 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20RE:=20[Nagios-users]=20Change=20Nagi?= =?ISO-8859-1?Q?os=20Default=20Web=20Page?= Message-ID: yep, and if you only want all the problem insted of everything, point it to /cgi-bin/status.cgi?host=all&servicestatustypes=248&hoststatustypes=15 Might be interesting if you have 1500 services check and dont want see 1500 entries refresh all the time :) --------------------------------------------------- Alexandre Racine - www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> "Marc Powell" 2004-12-09 17:21:14 >>> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dan Knoblauch > Sent: Thursday, December 09, 2004 3:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Change Nagios Default Web Page > > Hi all, > > I was wondering... I would like to set the default web > page to the tactical overview section rather than the > standard welcome page. Can someone direct me on how I > might go about doing this? I suspect it can be done > configuring the httpd.conf file but don't want to > break anything in the process. Simply edit /path/to/nagios/share/index.html and change the second link to point to '/cgi-bin/tac.cgi?host=all' -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From primero at fastwebnet.it Fri Dec 10 16:07:19 2004 From: primero at fastwebnet.it (primero) Date: Fri, 10 Dec 2004 16:07:19 +0100 Subject: check_snmp_iface new plugin Message-ID: <41B9BBA7.3060401@hdr-roma.it> Hi all ML. I wrote a small plugin for checking interface status by snmp. The main advantage , and the reason for what i wrote it, is that with this plugin u can specify directly the interface name (ethX on Linux, FastEthernet0/0 on Cisco IOS .... ecc ...). It is written in python so requirements are: On Nagios Monitor: Python interpreter > 2.2 Optik python libs = 1.4 net-snmp packet installed On Monitored Host snmpd daemon running. usage is very simple: in checkcommands.cfg specify : define command{ command_name check_snmp_iface command_line $USER1$/check_snmp_iface -H $HOSTADDRESS$ -C $ARG1$ -i $ARG2$ } Options are as usual "-H" is the ip address of target host, "-C" is community , "-i" is interface name. script is attached. Feedbacks are welcome ... :) bye -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_snmp_iface URL: From dmourati at cm.math.uiuc.edu Fri Dec 10 19:23:29 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 10 Dec 2004 12:23:29 -0600 (CST) Subject: Optimising nagios In-Reply-To: <41B7CA70.3020708@gmo.jp> References: <41B7CA70.3020708@gmo.jp> Message-ID: On Thu, 9 Dec 2004, Jorgen Lundman wrote: > > I do not know if we have a particularly large setup of Nagios, but I believe I > am starting to see effects of possibly having too many hosts and service checks. > The next-check events seems to lag behind more and more, and entering into pages > like "Status Summary" is very slow. (although, user responsiveness is not really > so important to me as the monitoring is.) Re-submitting a check immediately can > take 4-5 minutes before it takes effect. I've looked over your configs and I think your hardware should be able to handle this load with a bit of tuning. I have a similar setup, although I am using Distrubuted monitoring which helps cut down on the load significantly. One thing to reduce is your max check attempts for service checks. This will speed up your state changes. I would set it to 5 instead of 10. Also, try setting yoru check_host commands to check_dummy. This will fix the problem the other responder mentioned with a bunch of down hosts. You mentioned that the check_mailq commands seem to be slow. You could pinpoint which checks are taking a long time by reducing the plugin timeout. Then, eliminate those plugins that are at the outer boundary and then reset the timeout value. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpk476 at yahoo.com Fri Dec 10 19:26:21 2004 From: dpk476 at yahoo.com (Dan Knoblauch) Date: Fri, 10 Dec 2004 10:26:21 -0800 (PST) Subject: Rép. : RE: Change Nagios Default Web Page In-Reply-To: References: Message-ID: <20041210182621.9771.qmail@web61008.mail.yahoo.com> Much obliged to all who replied. That worked. Now, the only remaining problem is that when I manually hit F5 to refresh the page, it takes me back to the welcome page rather than the page I'm on. This is the same no matter where I'm at. Suggestions? __________________________________ Do you Yahoo!? Jazz up your holiday email with celebrity designs. Learn more. http://celebrity.mail.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 troutpocket.org Fri Dec 10 21:00:03 2004 From: nagios at troutpocket.org (Scott) Date: Fri, 10 Dec 2004 12:00:03 -0800 (PST) Subject: Can't display trends in web interface Message-ID: <1494.65.102.119.188.1102708803.squirrel@www.troutpocket.org> I've been happily using nagios since 1.0. I settled on 1.0b4 because everything has worked stupendously since then. However, my ability to generate graphs disappeared when I upgraded from RH8.0 to RH9.0 a couple months ago. I've downloaded the tarballs for every version between 1.0b4 up to 1.2 and still can't get it to compile nicely. I get the infamous missing gd libraries errors. It won't even compile auth.c, cgiutils.c, edata.c, getcgi.c, histogram.c lifo.c, popen.c, statusmap.c, or trends.c. I checked my old 1.0b4 trends.cgi (which used to work): www:cgi# ldd /usr/lib/nagios/cgi/trends.cgi libgd.so.1.8 => /usr/lib/libgd.so.1.8 (0x4001d000) libz.so.1 => /usr/lib/libz.so.1 (0x4004f000) libm.so.6 => /lib/tls/libm.so.6 (0x4005d000) libpng.so.2 => /usr/lib/libpng.so.2 (0x4007f000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400a1000) libc.so.6 => /lib/tls/libc.so.6 (0x42000000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x400bf000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40111000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) All other cgi's return favorable results as well. /usr/lib is in /etc/ld.so.conf and ldconfig runs fine. My configure script is: ./configure --prefix=/etc/nagios --with-gd-lib=/usr/lib \ --with-gd-inc=/usr/include --with-jpeg-lib=/usr/lib \ --with-jpeg-inc=/usr/include --with-png-lib=/usr/lib \ --with-png-inc=/usr/include The only thing that has caught my eye is: libgd.so.1.8 => /usr/lib/libgd.so.1.8 (0x4001d000) That library is from gdbm-devel-1.8.0-20. Should it be using libgd.so.1.3 instead? -Scott ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pdelong at advance.net Fri Dec 10 19:31:58 2004 From: pdelong at advance.net (Paul DeLong) Date: Fri, 10 Dec 2004 13:31:58 -0500 Subject: =?ISO-8859-1?Q?R=E9p=2E_=3A_RE=3A_=5BNagios-users=5D_?= =?ISO-8859-1?Q?Change_Nagios_Default_Web_Page?= In-Reply-To: <20041210182621.9771.qmail@web61008.mail.yahoo.com> References: <20041210182621.9771.qmail@web61008.mail.yahoo.com> Message-ID: <41B9EB9E.7000305@advance.net> Dan Knoblauch wrote: >Much obliged to all who replied. That worked. Now, the >only remaining problem is that when I manually hit F5 >to refresh the page, it takes me back to the welcome >page rather than the page I'm on. This is the same no >matter where I'm at. > >Suggestions? > I believe that's a browser (client-side) issue, not the fault of Nagios. That happens to me in Konqueror (I have to right-click and refresh frame). But in Safari, the refresh button does what I intuitively expect it to. I'm not sure which is the more "correct" behaivour. Later, Paul. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greenphoenix1189 at yahoo.com Fri Dec 10 23:58:26 2004 From: greenphoenix1189 at yahoo.com (Daniel O'Neil) Date: Fri, 10 Dec 2004 14:58:26 -0800 (PST) Subject: Authorization problems with CGI tool Message-ID: <20041210225826.25980.qmail@web52702.mail.yahoo.com> Greetings, Is there some secret thing I have to do in order to be able to send commands from the cgi interface? We can't seem to make it work. Any attempt gets the "sorry, but you are not authorized to commit the specified command" page. I'm sure this solution is obvious, but we've been unable to determine an easy solution. We are using the nagios CGI interface. The .htaccess file has the following users in it: nagiosadmin daniel both users are authorized in the .cgi file as follows: # cgi.cfg - Config file for Nagios (www.nagios.org) # # Written by Nagat. Manually editing this file is a bad idea since Nagat will # overwrite it. Delete the nagatobj.dat file in the nagios/etc directory to # reread the Nagios configuration. # main_config_file=/usr/local/etc/nagios/nagios.cfg physical_html_path=/usr/local/share/nagios url_html_path=/nagios show_context_help=0 use_authentication=1 authorized_for_system_information=nagiosadmin,daniel authorized_for_configuration_information=nagiosadmin,daniel authorized_for_system_commands=nagiosadmin,daniel authorized_for_all_services=nagiosadmin,daniel authorized_for_all_hosts=nagiosadmin,daniel authorized_for_all_service_commands=nagiosadmin,daniel authorized_for_all_host_commands=nagiosadmin,daniel default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=60 Does anyone know what's going on? thanks in advance, Daniel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkent at magoazul.com Fri Dec 10 17:17:30 2004 From: mkent at magoazul.com (Matthew Kent) Date: Fri, 10 Dec 2004 16:17:30 +0000 Subject: =?ISO-8859-1?Q?R=E9p=2E?= : RE: [Nagios-users] Change Nagios Default Web Page In-Reply-To: <41B9EB9E.7000305@advance.net> References: <20041210182621.9771.qmail@web61008.mail.yahoo.com> <41B9EB9E.7000305@advance.net> Message-ID: <1102695450.6547.2.camel@fuego> On Fri, 2004-12-10 at 18:31, Paul DeLong wrote: > Dan Knoblauch wrote: > > >Much obliged to all who replied. That worked. Now, the > >only remaining problem is that when I manually hit F5 > >to refresh the page, it takes me back to the welcome > >page rather than the page I'm on. This is the same no > >matter where I'm at. > > > >Suggestions? > > > I believe that's a browser (client-side) issue, not the fault of Nagios. > That happens to me in Konqueror (I have to right-click and refresh > frame). But in Safari, the refresh button does what I intuitively > expect it to. I'm not sure which is the more "correct" behaivour. > > Later, > Paul. Second this. If I recall IE 6 would bounce me back to the frontpage on refresh, while Firefox keeps me on the correct page. - Matt ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Sat Dec 11 02:54:25 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Fri, 10 Dec 2004 23:54:25 -0200 (BRDT) Subject: Templates for nagios web interface Message-ID: Is there a place to download new web interfaces for nagios? New look? -- Leonardo Henrique Machado Universidade Federal de Minas Gerais ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduard.iacoboaia at distinctgroup.net Sat Dec 11 16:48:12 2004 From: eduard.iacoboaia at distinctgroup.net (Eduard Iacoboaia) Date: Sat, 11 Dec 2004 10:48:12 -0500 Subject: Variable threshold Message-ID: <200412111048.12501.eduard.iacoboaia@distinctgroup.net> Hello. I've read (most of) the archive and I couldn't find an answer to my problem: is there a way to set a variable threshold for Critical state? I mean that if the ping is 50 during the day when there is heavy traffic it's ok, and i don't want to receive an alert, but if that happens during the night I need an alert. Thank you. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manfred.steinbacher at scheucher.at Sat Dec 11 10:40:32 2004 From: manfred.steinbacher at scheucher.at (Steinbacher Manfred) Date: Sat, 11 Dec 2004 10:40:32 +0100 Subject: Nagios Process Message-ID: Hallo My Nagios is not running under nagios user. When I execute the command ps -ef, I receive that the nagios process is running under #-1. How can I solve this problem? Thanks manfred ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Dec 11 11:36:54 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 11 Dec 2004 11:36:54 +0100 Subject: =?ISO-8859-1?Q?R=E9p=2E_=3A_RE=3A_=5B?= =?ISO-8859-1?Q?Nagios-users=5D_Change_Nagios_Default_Web_Page?= In-Reply-To: <1102695450.6547.2.camel@fuego> References: <20041210182621.9771.qmail@web61008.mail.yahoo.com> <41B9EB9E.7000305@advance.net> <1102695450.6547.2.camel@fuego> Message-ID: <41BACDC6.6060109@op5.se> Matthew Kent wrote: > On Fri, 2004-12-10 at 18:31, Paul DeLong wrote: > >>Dan Knoblauch wrote: >> >> >>>Much obliged to all who replied. That worked. Now, the >>>only remaining problem is that when I manually hit F5 >>>to refresh the page, it takes me back to the welcome >>>page rather than the page I'm on. This is the same no >>>matter where I'm at. >>> >>>Suggestions? >>> >> >>I believe that's a browser (client-side) issue, not the fault of Nagios. >> That happens to me in Konqueror (I have to right-click and refresh >>frame). But in Safari, the refresh button does what I intuitively >>expect it to. I'm not sure which is the more "correct" behaivour. >> >>Later, >>Paul. > > > Second this. If I recall IE 6 would bounce me back to the frontpage on > refresh, while Firefox keeps me on the correct page. > So long as the index page hasn't expired from cache, in which case all browsers will revert to the original login page (happens with server side generated pages, f.e.). > - Matt > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Scholten at iconz.net Sun Dec 12 22:51:32 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 13 Dec 2004 10:51:32 +1300 Subject: Variable threshold In-Reply-To: <200412111048.12501.eduard.iacoboaia@distinctgroup.net> References: <200412111048.12501.eduard.iacoboaia@distinctgroup.net> Message-ID: <41BCBD64.3000508@iconz.net> Eduard Iacoboaia schrieb: As far as i know it is not possible, but you can have different services withe different (one for night, one for day) check and notification periods. Jan > Hello. > > I've read (most of) the archive and I couldn't find an answer to my problem: > is there a way to set a variable threshold for Critical state? I mean that if > the ping is 50 during the day when there is heavy traffic it's ok, and i > don't want to receive an alert, but if that happens during the night I need > an alert. > > Thank you. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sun Dec 12 22:54:58 2004 From: jhmartin at toger.us (Jason Martin) Date: Sun, 12 Dec 2004 13:54:58 -0800 Subject: Variable threshold In-Reply-To: <200412111048.12501.eduard.iacoboaia@distinctgroup.net> References: <200412111048.12501.eduard.iacoboaia@distinctgroup.net> Message-ID: <20041212215458.GO22568@zippy.toger.us> On Sat, Dec 11, 2004 at 09:48:12AM -0600, Eduard Iacoboaia wrote: > is there a way to set a variable threshold for Critical state? I mean that > if > the ping is 50 during the day when there is heavy traffic it's ok, and i > don't want to receive an alert, but if that happens during the night I need > an alert. You'd have to set up two services with mutually exclusive time periods to do that. -JM -- Ok, I pulled the pin. Now what? Where are you going? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From s.shipway at auckland.ac.nz Sun Dec 12 23:30:10 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 13 Dec 2004 11:30:10 +1300 Subject: Variable threshold In-Reply-To: <20041212215458.GO22568@zippy.toger.us> References: <20041212215458.GO22568@zippy.toger.us> Message-ID: <003d01c4e09a$23c82080$05000100@itss.auckland.ac.nz> >On Sat, Dec 11, 2004 at 09:48:12AM -0600, Eduard Iacoboaia wrote: >> is there a way to set a variable threshold for Critical >>state? >You'd have to set up two services with mutually exclusive time >periods to do that. Since the threshold check is done by the plugin, rather than by Nagios itself, you *could* write a plugin capable of this. Pass it a time period and two sets of thresholds... however it wold of course require writing a modified plugin (or a wrapper for existing plugins?) Something like: wrapper -p "check_thingy -H $HOSTNAME$ -c %CRITICAL% -w %WARN%" -t 1800-0800,12,5 -t 0800-1800,50,10 Anyone else feel like writing this? I already have wrappers that changes return status (one to negate, one to make crit->warn, etc etc). I'll post something here if I every get around to makin it generally useful. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From jthorpe at conexim.com.au Mon Dec 13 01:53:42 2004 From: jthorpe at conexim.com.au (Jonathan Thorpe) Date: Mon, 13 Dec 2004 11:53:42 +1100 Subject: Multiple Nagios Servers Message-ID: <41BCE816.7090408@conexim.com.au> Hi all, I'm setting up a small Nagios configuration on which we're monitoring about 10 servers via the Internet. I'd like to have two (possibly three) Nagios servers on separate hosts (which are also geographically separated) and have them monitor the servers. I'm trying to get Nagios to send an alert only if both hosts concur that there is a fault, OR if one of the two Nagios servers have gone down. Is this possible with Nagios? I'm quite new to Nagios, so any pointers in the right direction would be greatly appreciated. Thanks, Jonathan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danslists at conpoint.com Mon Dec 13 04:46:38 2004 From: danslists at conpoint.com (Dan Spray) Date: Sun, 12 Dec 2004 21:46:38 -0600 Subject: View Trends link not showing up Message-ID: <200412122146.AA855507168@conpoint.com> Okay, I know that I am not always there but I just reloaded my nagios server last night and I noticed today that I don't have the "View Trends for this host/service" under the host/service. I know that it was up in the upper left hand corner before the reload because I use it quite often. Does anyone have any ideas if this can acutally be diabled or not? Thanks in advance, Dan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zpham at kpmg.com.au Mon Dec 13 07:16:04 2004 From: zpham at kpmg.com.au (Pham, Zoong) Date: Mon, 13 Dec 2004 17:16:04 +1100 Subject: Problem compiling nagios-1.2 on Tru64 5.1B Message-ID: I have problem with compiling Nagios-1.2 on Tru64 5.1B. I failed to compile it with HP C compiler and HP make. I also tried gcc-3.3.2 and gmake-3.79.1 Here are how I congigured and compiled with gcc and gmake: CC=/opt/TWWfsw/bin/gcc ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-grp=nagios The output from the above command: creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for gcc... /opt/TWWfsw/bin/gcc checking whether the C compiler (/opt/TWWfsw/bin/gcc ) works... yes checking whether the C compiler (/opt/TWWfsw/bin/gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether /opt/TWWfsw/bin/gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... /opt/TWWfsw/bin/gcc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for ctype.h... yes checking for dirent.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for getopt.h... yes checking for grp.h... yes checking for limits.h... yes checking for math.h... yes checking for pwd.h... yes checking for signal.h... yes checking for strings.h... yes checking for string.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for uio.h... no checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/stat.h... yes checking for sys/ipc.h... yes checking for sys/msg.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t checking for mail... /usr/bin/mail Init script directory: /sbin/init.d We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use template-based routines (in xdata/xedtemplate.*) for extended data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... yes GD library was found! checking for traceroute... no checking for snprintf... yes checking for type va_list... yes checking for perl... /usr/bin/perl updating cache ./config.cache creating ./config.status creating Makefile creating subst creating pkginfo creating base/Makefile creating common/Makefile creating contrib/Makefile creating cgi/Makefile creating html/Makefile creating xdata/Makefile creating daemon-init creating html/index.html creating html/side.html creating common/config.h creating common/snprintf.h creating base/nagios.h creating cgi/cgiutils.h Creating sample config files in sample-config/ ... *** Configuration summary for nagios 1.2 02-02-2004 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /sbin/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): External Data Routines: ------------------------ Status data: Default (text file) Object data: Template-based (text file) Comment data: Default (text file) Downtime data: Default (text file) Retention data: Default (text file) Peformance data: Default (external commands) Extended info data: Template-based (text file) Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. And here is how I compiled: /usr/local/bin/gmake all The output from gmake: cd ./base && /usr/local/bin/gmake gmake[1]: Entering directory `/usr/users/zpham/src/nagios/nagios-1.2/base' /opt/TWWfsw/bin/gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddefault.c ../common/comments.c ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddefault.c -lm -o nagios nagios.c: In function `main': nagios.c:301: error: elements of array `long_options' have incomplete type nagios.c:303: warning: excess elements in struct initializer nagios.c:303: warning: (near initialization for `long_options[0]') nagios.c:303: error: `no_argument' undeclared (first use in this function) nagios.c:303: error: (Each undeclared identifier is reported only once nagios.c:303: error: for each function it appears in.) nagios.c:303: warning: excess elements in struct initializer nagios.c:303: warning: (near initialization for `long_options[0]') nagios.c:303: warning: excess elements in struct initializer nagios.c:303: warning: (near initialization for `long_options[0]') nagios.c:303: warning: excess elements in struct initializer nagios.c:303: warning: (near initialization for `long_options[0]') nagios.c:304: warning: excess elements in struct initializer nagios.c:304: warning: (near initialization for `long_options[1]') nagios.c:304: warning: excess elements in struct initializer nagios.c:304: warning: (near initialization for `long_options[1]') nagios.c:304: warning: excess elements in struct initializer nagios.c:304: warning: (near initialization for `long_options[1]') nagios.c:304: warning: excess elements in struct initializer nagios.c:304: warning: (near initialization for `long_options[1]') nagios.c:305: warning: excess elements in struct initializer nagios.c:305: warning: (near initialization for `long_options[2]') nagios.c:305: warning: excess elements in struct initializer nagios.c:305: warning: (near initialization for `long_options[2]') nagios.c:305: warning: excess elements in struct initializer nagios.c:305: warning: (near initialization for `long_options[2]') nagios.c:305: warning: excess elements in struct initializer nagios.c:305: warning: (near initialization for `long_options[2]') nagios.c:306: warning: excess elements in struct initializer nagios.c:306: warning: (near initialization for `long_options[3]') nagios.c:306: warning: excess elements in struct initializer nagios.c:306: warning: (near initialization for `long_options[3]') nagios.c:306: warning: excess elements in struct initializer nagios.c:306: warning: (near initialization for `long_options[3]') nagios.c:306: warning: excess elements in struct initializer nagios.c:306: warning: (near initialization for `long_options[3]') nagios.c:307: warning: excess elements in struct initializer nagios.c:307: warning: (near initialization for `long_options[4]') nagios.c:307: warning: excess elements in struct initializer nagios.c:307: warning: (near initialization for `long_options[4]') nagios.c:307: warning: excess elements in struct initializer nagios.c:307: warning: (near initialization for `long_options[4]') nagios.c:307: warning: excess elements in struct initializer nagios.c:307: warning: (near initialization for `long_options[4]') nagios.c:308: warning: excess elements in struct initializer nagios.c:308: warning: (near initialization for `long_options[5]') nagios.c:308: warning: excess elements in struct initializer nagios.c:308: warning: (near initialization for `long_options[5]') nagios.c:308: warning: excess elements in struct initializer nagios.c:308: warning: (near initialization for `long_options[5]') nagios.c:308: warning: excess elements in struct initializer nagios.c:308: warning: (near initialization for `long_options[5]') nagios.c:309: warning: excess elements in struct initializer nagios.c:309: warning: (near initialization for `long_options[6]') nagios.c:309: warning: excess elements in struct initializer nagios.c:309: warning: (near initialization for `long_options[6]') nagios.c:309: warning: excess elements in struct initializer nagios.c:309: warning: (near initialization for `long_options[6]') nagios.c:309: warning: excess elements in struct initializer nagios.c:309: warning: (near initialization for `long_options[6]') nagios.c:301: error: storage size of `long_options' isn't known gmake[1]: *** [nagios] Error 1 gmake[1]: Leaving directory `/usr/users/zpham/src/nagios/nagios-1.2/base' gmake: *** [all] Error 2 TIA, Zoong Pham ********************************************************************** This email is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this Email is strictly prohibited. When addressed to our clients, any opinions or advice contained in this Email are subject to the terms and conditions expressed in the governing KPMG client engagement letter. If you have received this Email in error, please notify us immediately by return email or telephone +61 2 93357000 and destroy the original message. Thank You. **********************************************************************M ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralf-Lists at RalfGross.de Mon Dec 13 15:33:50 2004 From: Ralf-Lists at RalfGross.de (Ralf Gross) Date: Mon, 13 Dec 2004 15:33:50 +0100 (CET) Subject: [srvcheck.cgi] Interactive Service Check CGI Message-ID: <57098.141.113.101.22.1102948430.squirrel@webmail.ssorgflar.de> Hi, I'm trying to integrate interactive service checks from Some interactive checks are working, but for most services, it gives me no result. I can't find any error messages. Anybody using this add-on? Or is there an alternative add-on to check services interactive? Ralf ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pdelong at advance.net Mon Dec 13 19:36:31 2004 From: pdelong at advance.net (Paul DeLong) Date: Mon, 13 Dec 2004 13:36:31 -0500 Subject: Templates for nagios web interface In-Reply-To: References: Message-ID: <41BDE12F.9060703@advance.net> Leonardo Henrique Machado wrote: >Is there a place to download new web interfaces for nagios? New look? > Good question. NagiosExchange.org is probably a good place to start, but I haven't done much digging there yet myself. I see no reason why people wouldn't have written alternate web interfaces, since the way it communicates with the Nagios daemon is pretty straightfoward (just the command-pipe and the status.log file, right?). I've been meaning to port the web interface to Perl, just as a fun exercise (for me, it would be easier to expand and modify if it was in Perl), but it hasn't exactly been high on my list of priorities. Plus I would have to maintain the Perl equivalents of the C header files, in-parallel, and I don't relish that thought. But for all I know, this path may have already been trodden. Anyone else want to chime-in? Later, Paul. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mattmartin.co.uk Mon Dec 13 22:50:32 2004 From: nagios at mattmartin.co.uk (nagios at mattmartin.co.uk) Date: Mon, 13 Dec 2004 21:50:32 -0000 Subject: Dependants Message-ID: Hi, I have been running Nagios for some time yet never managed to work this out. We have a Nagios box monitoring external hosts (on another network). Now when that network goes down, Nagios will think the hosts/services are down and we get an email and text for each one going down then up. Is there a way I can set a global dependant for all hosts and services to say if I cant ping/reach X.X.X.X to not notify/check other hosts etc. This would save us a lot of money on the texts etc. Any help or guidance would be great! Thanks Matt ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at sympatico.ca Mon Dec 13 22:55:23 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Mon, 13 Dec 2004 16:55:23 -0500 Subject: Dependants In-Reply-To: References: Message-ID: <41BE0FCB.70803@sympatico.ca> Hi Matt, Try this - in the hosts.cfg file, specify the PARENTS for each host, for e.g. PARENTS www.godhelpme.com www.pleaseletthiswork.com That setting should help to prevent those messages, and only give send a message regarding the parent. Let me know how it goes. Mark. nagios at mattmartin.co.uk wrote: >Hi, > >I have been running Nagios for some time yet never managed to work this out. > >We have a Nagios box monitoring external hosts (on another network). Now >when that network goes down, Nagios will think the hosts/services are down >and we get an email and text for each one going down then up. > >Is there a way I can set a global dependant for all hosts and services to >say if I cant ping/reach X.X.X.X to not notify/check other hosts etc. > >This would save us a lot of money on the texts etc. > >Any help or guidance would be great! > >Thanks > >Matt > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at mitsein.net Mon Dec 13 22:57:45 2004 From: mark at mitsein.net (Mark) Date: Mon, 13 Dec 2004 14:57:45 -0700 (MST) Subject: Dependants In-Reply-To: References: Message-ID: In a host definition you can specify "parents." Here is the quote from the doc - parents: This directive is used to define a comma-delimited list of short names of the "parent" hosts for this particular host. Parent hosts are typically routers, switches, firewalls, etc. that lie between the monitoring host and a remote hosts. A router, switch, etc. which is closest to the remote host is considered to be that host's "parent". Read the "Determining Status and Reachability of Network Hosts" document located here for more information. If this host is on the same network segment as the host doing the monitoring (without any intermediate routers, etc.) the host is considered to be on the local network and will not have a parent host. Leave this value blank if the host does not have a parent host (i.e. it is on the same segment as the Nagios host). The order in which you specify parent hosts has no effect on how things are monitored. So, specify the edge router as the parent for each host that is "remote" and don't notify on unreachable. On Mon, 13 Dec 2004 nagios at mattmartin.co.uk wrote: > Hi, > > I have been running Nagios for some time yet never managed to work this out. > > We have a Nagios box monitoring external hosts (on another network). Now > when that network goes down, Nagios will think the hosts/services are down > and we get an email and text for each one going down then up. > > Is there a way I can set a global dependant for all hosts and services to > say if I cant ping/reach X.X.X.X to not notify/check other hosts etc. > > This would save us a lot of money on the texts etc. > > Any help or guidance would be great! > > Thanks > > Matt > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mark Keisler "Blessed is he who finds happiness in his own foolishness, for he will always be happy". ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mattmartin.co.uk Mon Dec 13 22:57:36 2004 From: nagios at mattmartin.co.uk (nagios at mattmartin.co.uk) Date: Mon, 13 Dec 2004 21:57:36 -0000 Subject: Dependants In-Reply-To: <41BE0FCB.70803@sympatico.ca> References: <41BE0FCB.70803@sympatico.ca> Message-ID: Mark, Thank you for your swift reply - thought it was being sarcastic at first ;) Just to confirm the hostname specified, do that have to be ANOTHER host in the hosts.conf file? Or a real "internet" hostname as such? Matt > -----Original Message----- > From: Mark Nadir [mailto:mnadir at sympatico.ca] > Sent: 13 December 2004 9:55 PM > To: nagios at mattmartin.co.uk > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Dependants > > Hi Matt, > > Try this - in the hosts.cfg file, specify the PARENTS for > each host, for > e.g. > > PARENTS www.godhelpme.com www.pleaseletthiswork.com > > That setting should help to prevent those messages, and only > give send a > message regarding the parent. > > Let me know how it goes. > > Mark. > > nagios at mattmartin.co.uk wrote: > > >Hi, > > > >I have been running Nagios for some time yet never managed > to work this out. > > > >We have a Nagios box monitoring external hosts (on another > network). Now > >when that network goes down, Nagios will think the > hosts/services are down > >and we get an email and text for each one going down then up. > > > >Is there a way I can set a global dependant for all hosts > and services to > >say if I cant ping/reach X.X.X.X to not notify/check other hosts etc. > > > >This would save us a lot of money on the texts etc. > > > >Any help or guidance would be great! > > > >Thanks > > > >Matt > > > > > > > >------------------------------------------------------- > >SF email is sponsored by - The IT Product Guide > >Read honest & candid reviews on hundreds of IT Products from > real users. > >Discover which products truly live up to the hype. Start > reading now. > >http://productguide.itmanagersjournal.com/ > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > >::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at sympatico.ca Mon Dec 13 23:06:08 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Mon, 13 Dec 2004 17:06:08 -0500 Subject: Dependants In-Reply-To: References: Message-ID: <41BE1250.8000107@sympatico.ca> Hi Matt, Hehe sorry for the confusion - I just threw in those names there to give you a bit of humour after what was a mind boggling experience - I had quite a few of those with nagios so I understand. So the names you are looking for are the host names you defined for each object within your hosts.cfg, not the real internet names. So yes, it is ANOTHER host within the hosts.cfg file, not the hosts.conf file. It should really look like this PARENTS cisco-router pix-firewall etc. Good luck. nagios at mattmartin.co.uk wrote: >Mark, > >Thank you for your swift reply - thought it was being sarcastic at first ;) > >Just to confirm the hostname specified, do that have to be ANOTHER host in >the hosts.conf file? Or a real "internet" hostname as such? > >Matt > > > >>-----Original Message----- >>From: Mark Nadir [mailto:mnadir at sympatico.ca] >>Sent: 13 December 2004 9:55 PM >>To: nagios at mattmartin.co.uk >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Dependants >> >>Hi Matt, >> >>Try this - in the hosts.cfg file, specify the PARENTS for >>each host, for >>e.g. >> >>PARENTS www.godhelpme.com www.pleaseletthiswork.com >> >>That setting should help to prevent those messages, and only >>give send a >>message regarding the parent. >> >>Let me know how it goes. >> >>Mark. >> >>nagios at mattmartin.co.uk wrote: >> >> >> >>>Hi, >>> >>>I have been running Nagios for some time yet never managed >>> >>> >>to work this out. >> >> >>>We have a Nagios box monitoring external hosts (on another >>> >>> >>network). Now >> >> >>>when that network goes down, Nagios will think the >>> >>> >>hosts/services are down >> >> >>>and we get an email and text for each one going down then up. >>> >>>Is there a way I can set a global dependant for all hosts >>> >>> >>and services to >> >> >>>say if I cant ping/reach X.X.X.X to not notify/check other hosts etc. >>> >>>This would save us a lot of money on the texts etc. >>> >>>Any help or guidance would be great! >>> >>>Thanks >>> >>>Matt >>> >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from >>> >>> >>real users. >> >> >>>Discover which products truly live up to the hype. Start >>> >>> >>reading now. >> >> >>>http://productguide.itmanagersjournal.com/ >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and >>> >>> >>OS when reporting any issue. >> >> >>>::: Messages without supporting info will risk being sent to >>> >>> >>/dev/null >> >> >>> >>> >>> >>> >> >> >> > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.westlake at twcable.com Mon Dec 13 23:16:51 2004 From: simon.westlake at twcable.com (Westlake, Simon) Date: Mon, 13 Dec 2004 17:16:51 -0500 Subject: submit_check_result Message-ID: <070573B58E3DFE41854CD75D8A4BEC6B36F125@PRVPVSMAIL03.corp.twcable.com> Hi, I'm looking for this plugin - it doesn't seem to be in the nagios-plugins bundle on the nagios website. Does anyone know where I can get it? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ross.minkov at hp.com Mon Dec 13 23:37:20 2004 From: ross.minkov at hp.com (Minkov, Ross) Date: Mon, 13 Dec 2004 17:37:20 -0500 Subject: Checkcommands.cfg vs command.cfg Message-ID: <192E38594ACFAF4EB4F40E1C4B60472306014A39@tayexc13.americas.cpqcorp.net> Hi, Which one of these files should I use to add new check commands? I read something about "the new way of doing it is using checkcommands.cfg and the old way is using command.cfg"... Is this correct? What is the best practice? Check_* commands in checkcommands.cfg and notify-by-* commands in command.cfg? And if there are 2 different check commands with the same name, one in checkcommands.cfg, the other one in command.cfg, which one is going to be used by nagios if referenced in services.cfg? Thanks, Ross ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 13 23:39:51 2004 From: marc at ena.com (Marc Powell) Date: Mon, 13 Dec 2004 16:39:51 -0600 Subject: submit_check_result Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835761@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Westlake, Simon > Sent: Monday, December 13, 2004 4:17 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] submit_check_result > > Hi, > > I'm looking for this plugin - it doesn't seem to be in the nagios-plugins > bundle on the nagios website. Does anyone know where I can get it? It's inline at http://nagios.sourceforge.net/docs/1_0/distributed.html -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Tue Dec 14 05:38:40 2004 From: amontibello-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Anthony Montibello) Date: Mon, 13 Dec 2004 23:38:40 -0500 Subject: Announcing NC_Net - a new drop in replacement for NS_client plug-in Message-ID: Hi Everyone: Announcing NC_Net - a new drop in replacement for NS_client plug-in It can be downloaded from it's Home page: http://www.shatterit.com/NC_Net NC_Net runs as a windows service and was implemented using C# and the DOT NET Framework. It is still under development but Most functionality has been added except for FILEAGE command from check_nt plug-in. Thank You, Tony Montibello amontibello-py0X7svFVPHby3iVrkZq2A at public.gmane.org http://www.shatterit.com/NC_Net/index.html ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgullett at symmetrixtech.com Tue Dec 14 05:50:59 2004 From: dgullett at symmetrixtech.com (David Gullett) Date: Mon, 13 Dec 2004 22:50:59 -0600 Subject: Windows Event Log/Syslog Message-ID: <1102999859.5159.21.camel@linux.local> Has anyone written a script to parse Windows event log messages sent to a syslog server via Snare? I've seen anecdotal evidence of this in the list archives but no concrete examples. Ideally I would be able to watch the syslog server for specific events using swatch or SEC and submit passive checks to the various services Nagios is watching based on the Windows machine name. Thanks, -- David Gullett Symmetrix Technologies dgullett at symmetrixtech.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Tue Dec 14 08:05:29 2004 From: gmueller at netways.de (Gerd Mueller) Date: Tue, 14 Dec 2004 08:05:29 +0100 (CET) Subject: Announcing NC_Net - a new drop in replacement for NS_client plug-in In-Reply-To: References: Message-ID: <20041214070529.A465D4F40EB@desire.netways.de> Hi Tony, it would be nice if you could post your client on www.nagiosexchange.org Thank you - Gerd Mueller (Gerd.Mueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=140 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Tue Dec 14 08:09:39 2004 From: gmueller at netways.de (Gerd Mueller) Date: Tue, 14 Dec 2004 08:09:39 +0100 (CET) Subject: submit_check_result In-Reply-To: <070573B58E3DFE41854CD75D8A4BEC6B36F125@PRVPVSMAIL03.corp.twcable.com> References: <070573B58E3DFE41854CD75D8A4BEC6B36F125@PRVPVSMAIL03.corp.twcable.com> Message-ID: <20041214070939.EBA7C4F40EB@desire.netways.de> Hi Westlake, http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html - Gerd Mueller (Gerd.Mueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=137 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Tue Dec 14 08:12:05 2004 From: jhein at netways.de (Julian Hein) Date: Tue, 14 Dec 2004 08:12:05 +0100 (CET) Subject: Checkcommands.cfg vs command.cfg In-Reply-To: <192E38594ACFAF4EB4F40E1C4B60472306014A39@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B60472306014A39@tayexc13.americas.cpqcorp.net> Message-ID: <20041214071205.872DD4F40EB@desire.netways.de> Hi Minkov, > Which one of these files should I use to add new check > commands? I read something about "the new way of doing it is > using checkcommands.cfg and the old way is using > command.cfg"... Is this correct? You can handle that as you like. Just make shure, that both or all of your commands are included in nagios.cfg. > What is the best practice? Check_* commands in > checkcommands.cfg and notify-by-* commands in command.cfg? I would recommend to split them up even further and use seperated file for all kinds of need. We have here: - check_nsclient.cfg - check_ssh.cfg - check_network.cfg - check_http.cfg - notifications.cfg and so on and put them all in a subdirectory called "commands". > And if there are 2 different check commands with the same name, > one in checkcommands.cfg, the other one in command.cfg, which > one is going to be used by nagios if referenced in services.cfg? None, because you will get an error message, when you restart Nagios or test the configs. Julian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Dec 14 08:16:10 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 14 Dec 2004 08:16:10 +0100 Subject: [Nagiosplug-help] Announcing NC_Net - a new drop in replacement for NS_client plug-in Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9445@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, That sounds pretty interesting! Nice to hear, that someone kind of "continues" the NS Client Project! On the hp you mention something about access to event viewer, is there something planned, to integrate the event log checks into this plugin? Is it possible to add feature requests? Regards, Philipp > -----Original Message----- > From: nagiosplug-help-admin at lists.sourceforge.net > [mailto:nagiosplug-help-admin at lists.sourceforge.net] On > Behalf Of Anthony Montibello > Sent: Tuesday, December 14, 2004 5:39 AM > To: nagiosplug-help at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net; > nagios-users at lists.sourceforge.net; > nagiosplug-devel at lists.sourceforge.net; mmusone at shatterit.com > Subject: [Nagiosplug-help] Announcing NC_Net - a new drop in > replacement for NS_client plug-in > > Hi Everyone: > > Announcing NC_Net - a new drop in replacement for NS_client > plug-in It can be downloaded from it's Home page: > http://www.shatterit.com/NC_Net > > NC_Net runs as a windows service and was implemented using C# > and the DOT NET Framework. > > It is still under development but Most functionality has been > added except for FILEAGE command from check_nt plug-in. > Thank You, > > Tony Montibello > amontibello at shatterit.com > http://www.shatterit.com/NC_Net/index.html > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Corcoran at meridianp2p.com Tue Dec 14 11:47:59 2004 From: Tom.Corcoran at meridianp2p.com (Tom.Corcoran at meridianp2p.com) Date: Tue, 14 Dec 2004 10:47:59 +0000 Subject: Newbie - Checking directory for files Message-ID: Hi Firstly apologies for what will probably turn out to be a stupid request, but here goes. How can I get a plugin to constantly check a folder for the existence of error files and to alert me as long as the files exist in the directory. Any help would be greatly appreciated. Regards Tom Corcoran ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From treed at astate.edu Tue Dec 14 13:11:31 2004 From: treed at astate.edu (Todd Reed) Date: Tue, 14 Dec 2004 06:11:31 -0600 Subject: Nagios w/MySQL and APAN/Grapher Message-ID: <892CC2C451D0414B90159D10B5BDAA6549ACFB@EXCHANGE.astate.edu> I'm trying to install Nagios from the ports collection on FreeBSD 5.3 When it installs I select the options for MySQL and Performance Data. But, I have no option to create a mysql account and it doesn't create the tables. How do I use mysql for this. Also can anyone recommend any good guides/software to install a grapher with the data? I've looked at APAN, but I can't get it configured properly. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-py0X7svFVPHby3iVrkZq2A at public.gmane.org Mon Dec 13 12:15:23 2004 From: amontibello-py0X7svFVPHby3iVrkZq2A at public.gmane.org (Anthony Montibello) Date: Mon, 13 Dec 2004 06:15:23 -0500 Subject: NC_Net - A new drop in replacement for NS_client plug-in Message-ID: Hi Everyone: Announcing NC_Net - a new drop in replacement for NS_client plug-in It can be downloaded from it's Home page: http://www.shatterit.com/NC_Net NC_Net runs as a windows service and was implemented using C# and the DOT NET Framework. It is still under development but Most functionality has been added except for FILEAGE command from check_nt plug-in. Thank You, Tony Montibello amontibello-py0X7svFVPHby3iVrkZq2A at public.gmane.org http://www.shatterit.com/NC_net/index.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.westlake at twcable.com Tue Dec 14 15:08:31 2004 From: simon.westlake at twcable.com (Westlake, Simon) Date: Tue, 14 Dec 2004 09:08:31 -0500 Subject: submit_check_result Message-ID: <070573B58E3DFE41854CD75D8A4BEC6B36F126@PRVPVSMAIL03.corp.twcable.com> Yeah, I saw that. Trouble is, I need to submit it to a Nagios instance on a local machine and not via NCSA. Is there a way to do it locally or do I have to run NCSA on a local machine (doesn't seem to make sense that way.) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Gerd Mueller Sent: Tuesday, December 14, 2004 1:10 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] submit_check_result Hi Westlake, http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html - Gerd Mueller (Gerd.Mueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=137 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 14 15:28:57 2004 From: marc at ena.com (Marc Powell) Date: Tue, 14 Dec 2004 08:28:57 -0600 Subject: submit_check_result Message-ID: <349555FA607F3A4CBDA9326035D1A7FC83577D@mismail.ena.com> Echo it to the command file directly. You'll want to use the PROCESS_SERVICE_CHECK_RESULT command from http://nagios.sourceforge.net/docs/2_0/extcommands.html. That page has other useful information to you as well. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Westlake, Simon > Sent: Tuesday, December 14, 2004 8:09 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] submit_check_result > > Yeah, I saw that. Trouble is, I need to submit it to a Nagios instance on > a local machine and not via NCSA. Is there a way to do it locally or do I > have to run NCSA on a local machine (doesn't seem to make sense that way.) > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Gerd > Mueller > Sent: Tuesday, December 14, 2004 1:10 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] submit_check_result > > > Hi Westlake, > > > > http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orth at enbiz.de Tue Dec 14 15:39:15 2004 From: orth at enbiz.de (=?ISO-8859-1?Q?G=FCnther_Orth?=) Date: Tue, 14 Dec 2004 15:39:15 +0100 Subject: check hylafax faxqueue Message-ID: <41BEFB13.2070204@enbiz.de> Hi! I have written a small script for watching the hylafax faxqueue. Pherhaps there is someone else who can do anything with it Greetings G?nther -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_faxqueue URL: From Stephan.Janosch at interface-business.de Tue Dec 14 15:46:51 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Tue, 14 Dec 2004 15:46:51 +0100 Subject: Nagios w/MySQL and APAN/Grapher In-Reply-To: <892CC2C451D0414B90159D10B5BDAA6549ACFB@EXCHANGE.astate.edu> References: <892CC2C451D0414B90159D10B5BDAA6549ACFB@EXCHANGE.astate.edu> Message-ID: <41BEFCDB.3000000@interface-business.de> Todd Reed wrote: > I'm trying to install Nagios from the ports collection on FreeBSD 5.3 > When it installs I select the options for MySQL and Performance Data. > But, I have no option to create a mysql account and it doesn't create > the tables. How do I use mysql for this. You can disable mysql/Psql-support via "make config" > > Also can anyone recommend any good guides/software to install a grapher > with the data? I've looked at APAN, but I can't get it configured > properly. Does you nagios working properly? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.junkmail at gmail.com Tue Dec 14 16:29:27 2004 From: daniel.junkmail at gmail.com (Daniel Corbe) Date: Tue, 14 Dec 2004 10:29:27 -0500 Subject: Wierd problem Message-ID: Hi, I'm running nagios 1.2 and I'm getting a wierd problem. I've started nagios and it seems like everything works because I don't get any error messages and nagios -v doesn't complain about my config files; however when I go to pull up the Nagios service overview (or anything other than the nagios start page) I get the Whoops! page instead. Nagios has been successfully authenticating to my postgresql server and has access to the data but does not appear to be updating the database and there are no errors in the error log. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Dec 14 17:09:16 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 14 Dec 2004 08:09:16 -0800 Subject: Newbie - Checking directory for files In-Reply-To: References: Message-ID: <20041214160916.GU22568@zippy.toger.us> On Tue, Dec 14, 2004 at 10:47:59AM +0000, Tom.Corcoran at meridianp2p.com wrote: > How can I get a plugin to constantly check a folder for the existence of > error files and to alert me as long as the files exist in the directory. > Any help would be greatly appreciated. You'd have to write a plugin for that. It should be fairily simple, something like: #!/bin/sh FILES=`ls -l /some/dir/*.files|wc -l` if [ $FILES -gt 0 ]; then echo "Error files found!" exit 2 else echo "No error files found" exit 0 fi Of course you'd probably want to spruce that up to use command-line arguments instead of hardcoded values, but you get the idea. Plugins are actually very easy to write -- it only gets hard when you want the plugin to work on every platform in existence in any possible configuration. -Jason Martin -- Only 19,999 lines of C++ to my next ski trip... This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From leonardomachado at gmail.com Tue Dec 14 17:13:00 2004 From: leonardomachado at gmail.com (Leonardo Henrique Machado) Date: Tue, 14 Dec 2004 14:13:00 -0200 Subject: Wierd problem In-Reply-To: References: Message-ID: Check the permissions of your .cfg files. If one of them are owned by root, nagios does not start but dies silently. cfg files must be readable by nagios user. On Tue, 14 Dec 2004 10:29:27 -0500, Daniel Corbe wrote: > Hi, > > I'm running nagios 1.2 and I'm getting a wierd problem. I've started > nagios and it seems like everything works because I don't get any > error messages and nagios -v doesn't complain about my config files; > however when I go to pull up the Nagios service overview (or anything > other than the nagios start page) I get the Whoops! page instead. > > Nagios has been successfully authenticating to my postgresql server > and has access to the data but does not appear to be updating the > database and there are no errors in the error log. > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Leonardo Henrique Machado ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Dec 14 17:19:29 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 14 Dec 2004 08:19:29 -0800 Subject: Multiple Nagios Servers In-Reply-To: <41BCE816.7090408@conexim.com.au> References: <41BCE816.7090408@conexim.com.au> Message-ID: <20041214161929.GV22568@zippy.toger.us> On Mon, Dec 13, 2004 at 11:53:42AM +1100, Jonathan Thorpe wrote: > I'm trying to get Nagios to send an alert only if both hosts concur that > there is a fault, OR if one of the two Nagios servers have gone down. > > Is this possible with Nagios? I'm quite new to Nagios, so any pointers > in the right direction would be greatly appreciated. Anything is possible with enough work, but this configuration wouldn't be easy. What are you trying to accomplish here? There may be a simpler way to implement it. -Jason Martin -- Only 19,999 lines of C++ to my next ski trip... This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From daniel.junkmail at gmail.com Tue Dec 14 17:22:18 2004 From: daniel.junkmail at gmail.com (Daniel Corbe) Date: Tue, 14 Dec 2004 11:22:18 -0500 Subject: Wierd problem In-Reply-To: References: Message-ID: they are readable by nagios and nagios acctually does start, and logs into the SQL database. [root at monitor1 nagios]# ps -awwx | grep nagios 1008 ? S 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 1009 ? S 0:04 postgres: nagios nagios 127.0.0.1 idle -Daniel On Tue, 14 Dec 2004 14:13:00 -0200, Leonardo Henrique Machado wrote: > Check the permissions of your .cfg files. If one of them are owned by > root, nagios does not start but dies silently. > > cfg files must be readable by nagios user. > > On Tue, 14 Dec 2004 10:29:27 -0500, Daniel Corbe > wrote: > > Hi, > > > > I'm running nagios 1.2 and I'm getting a wierd problem. I've started > > nagios and it seems like everything works because I don't get any > > error messages and nagios -v doesn't complain about my config files; > > however when I go to pull up the Nagios service overview (or anything > > other than the nagios start page) I get the Whoops! page instead. > > > > Nagios has been successfully authenticating to my postgresql server > > and has access to the data but does not appear to be updating the > > database and there are no errors in the error log. > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Leonardo Henrique Machado > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at martos.bme.hu Tue Dec 14 19:32:50 2004 From: c at martos.bme.hu (Czabai Gabor) Date: Tue, 14 Dec 2004 19:32:50 +0100 Subject: notification Message-ID: <20041214183250.GA21716@martos.bme.hu> Hi! I was thinking about something: I has a server, where the nagios is running. Behind this server i monitor a lot of servers, switches, and so on. If the network is down, except the main server, then i will receive a lot of email about criticals and warnings. But i dont want to recieve them , i need only one, which tells me, that the network is down. Is it possible, or i have to recieve all of them? Thanx I hope it was understandable. C ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Dec 14 19:36:12 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 14 Dec 2004 10:36:12 -0800 Subject: notification In-Reply-To: <20041214183250.GA21716@martos.bme.hu> References: <20041214183250.GA21716@martos.bme.hu> Message-ID: <20041214183612.GY22568@zippy.toger.us> On Tue, Dec 14, 2004 at 07:32:50PM +0100, Czabai Gabor wrote: > criticals and warnings. But i dont want to recieve them , i need only > one, which tells me, that the network is down. Is it possible, or i have > to recieve all of them? Check the Nagios manual regarding the 'parent' directive in the host defintions. Nagios can send just one notification for the issue. -Jason Martin -- What does this red button do? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From Nicholas.Romanelli at marist.edu Wed Dec 15 05:56:19 2004 From: Nicholas.Romanelli at marist.edu (Nick Romanelli) Date: Tue, 14 Dec 2004 23:56:19 -0500 Subject: help Message-ID: <000501c4e262$6a78a3a0$08db200a@IAMAUNIQUESNOWFLAKE> ----- Original Message ----- From: To: Sent: Tuesday, December 14, 2004 11:09 PM Subject: Nagios-users digest, Vol 1 #2376 - 19 msgs > 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-admin 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. Announcing NC_Net - a new drop in replacement for NS_client plug-in (Anthony Montibello) > 2. Windows Event Log/Syslog (David Gullett) > 3. Re: Announcing NC_Net - a new drop in replacement for NS_client plug-in (Gerd Mueller) > 4. Re: submit_check_result (Gerd Mueller) > 5. Re: Checkcommands.cfg vs command.cfg (Julian Hein) > 6. RE: [Nagiosplug-help] Announcing NC_Net - a new drop in replacement for NS_client plug-in (Sand Philipp) > 7. Newbie - Checking directory for files (Tom.Corcoran at meridianp2p.com) > 8. Nagios w/MySQL and APAN/Grapher (Todd Reed) > 9. RE: submit_check_result (Westlake, Simon) > 10. RE: submit_check_result (Marc Powell) > 11. check hylafax faxqueue (=?ISO-8859-1?Q?G=FCnther_Orth?=) > 12. Re: Nagios w/MySQL and APAN/Grapher (Stephan Janosch) > 13. Wierd problem (Daniel Corbe) > 14. Re: Newbie - Checking directory for files (Jason Martin) > 15. Re: Wierd problem (Leonardo Henrique Machado) > 16. Re: Multiple Nagios Servers (Jason Martin) > 17. Re: Wierd problem (Daniel Corbe) > 18. notification (Czabai Gabor) > 19. Re: notification (Jason Martin) > > --__--__-- > > Message: 1 > Date: Mon, 13 Dec 2004 23:38:40 -0500 > From: Anthony Montibello > Reply-To: Anthony Montibello > To: nagiosplug-help at lists.sourceforge.net, nagios-devel at lists.sourceforge.net, > nagios-users at lists.sourceforge.net, > nagiosplug-devel at lists.sourceforge.net, mmusone at shatterit.com > Subject: [Nagios-users] Announcing NC_Net - a new drop in replacement for NS_client plug-in > > Hi Everyone: > > Announcing NC_Net - a new drop in replacement for NS_client plug-in > It can be downloaded from it's Home page: http://www.shatterit.com/NC_Net > > NC_Net runs as a windows service and was implemented using C# and the > DOT NET Framework. > > It is still under development but Most functionality has been added > except for FILEAGE command from check_nt plug-in. > Thank You, > > Tony Montibello > amontibello at shatterit.com > http://www.shatterit.com/NC_Net/index.html > > > --__--__-- > > Message: 2 > From: David Gullett > Reply-To: dgullett at symmetrixtech.com > To: nagios-users at lists.sourceforge.net > Organization: Symmetrix Technologies > Date: Mon, 13 Dec 2004 22:50:59 -0600 > Subject: [Nagios-users] Windows Event Log/Syslog > > Has anyone written a script to parse Windows event log messages sent to > a syslog server via Snare? > > I've seen anecdotal evidence of this in the list archives but no > concrete examples. > > Ideally I would be able to watch the syslog server for specific events > using swatch or SEC and submit passive checks to the various services > Nagios is watching based on the Windows machine name. > > > Thanks, > > -- > David Gullett > Symmetrix Technologies > dgullett at symmetrixtech.com > > > > > --__--__-- > > Message: 3 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Announcing NC_Net - a new drop in replacement for NS_client plug-in > From: Gerd Mueller > Date: Tue, 14 Dec 2004 08:05:29 +0100 (CET) > > Hi Tony, =09 > > > > it would be nice if you could post your client on www.nagiosexchange.org > > > > Thank you > > > > - Gerd Mueller (Gerd.Mueller) > > > > ----------------------- > > This thread is located in the archive at this URL: > > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi= > > 1[showUid]=3D140 > > =09 > > > --__--__-- > > Message: 4 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] submit_check_result > From: Gerd Mueller > Date: Tue, 14 Dec 2004 08:09:39 +0100 (CET) > > Hi Westlake, =09 > > > > http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html > > > > > > - Gerd Mueller (Gerd.Mueller) > > > > ----------------------- > > This thread is located in the archive at this URL: > > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi= > > 1[showUid]=3D137 > > =09 > > > --__--__-- > > Message: 5 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Checkcommands.cfg vs command.cfg > From: Julian Hein > Date: Tue, 14 Dec 2004 08:12:05 +0100 (CET) > > Hi Minkov, =09 > > > > > Which one of these files should I use to add new check=20 > > > commands? I read something about "the new way of doing it is=20 > > > using checkcommands.cfg and the old way is using=20 > > > command.cfg"... Is this correct? > > > > You can handle that as you like. Just make shure, that both or all= > > of your commands are included in nagios.cfg. > > > > > What is the best practice? Check_* commands in=20 > > > checkcommands.cfg and notify-by-* commands in command.cfg? > > > > I would recommend to split them up even further and use seperated= > > file for all kinds of need. We have here: > > - check_nsclient.cfg > > - check_ssh.cfg > > - check_network.cfg > > - check_http.cfg > > - notifications.cfg > > > > and so on and put them all in a subdirectory called "commands". > > > > > And if there are 2 different check commands with the same name,= > > =20 > > > one in checkcommands.cfg, the other one in command.cfg, which= > > =20 > > > one is going to be used by nagios if referenced in services.cfg? > > > > None, because you will get an error message, when you restart Nagios= > > or test the configs. > > > > Julian > > > --__--__-- > > Message: 6 > Date: Tue, 14 Dec 2004 08:16:10 +0100 > From: "Sand Philipp" > To: > Subject: [Nagios-users] RE: [Nagiosplug-help] Announcing NC_Net - a new drop in replacement for NS_client plug-in > > Hi, > > That sounds pretty interesting! Nice to hear, that someone kind of > "continues" the NS Client Project! > On the hp you mention something about access to event viewer, is there > something planned, to integrate the event log checks into this plugin? > Is it possible to add feature requests? > > Regards, > Philipp > > > -----Original Message----- > > From: nagiosplug-help-admin at lists.sourceforge.net=20 > > [mailto:nagiosplug-help-admin at lists.sourceforge.net] On=20 > > Behalf Of Anthony Montibello > > Sent: Tuesday, December 14, 2004 5:39 AM > > To: nagiosplug-help at lists.sourceforge.net;=20 > > nagios-devel at lists.sourceforge.net;=20 > > nagios-users at lists.sourceforge.net;=20 > > nagiosplug-devel at lists.sourceforge.net; mmusone at shatterit.com > > Subject: [Nagiosplug-help] Announcing NC_Net - a new drop in=20 > > replacement for NS_client plug-in > >=20 > > Hi Everyone: > >=20 > > Announcing NC_Net - a new drop in replacement for NS_client=20 > > plug-in It can be downloaded from it's Home page:=20 > > http://www.shatterit.com/NC_Net > >=20 > > NC_Net runs as a windows service and was implemented using C#=20 > > and the DOT NET Framework. > >=20 > > It is still under development but Most functionality has been=20 > > added except for FILEAGE command from check_nt plug-in. > > Thank You, > >=20 > > Tony Montibello > > amontibello at shatterit.com > > http://www.shatterit.com/NC_Net/index.html > >=20 > >=20 > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide Read honest &=20 > > candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now.=20= > > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagiosplug-help mailing list > > Nagiosplug-help at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > > ::: Please include plugins version (-v) and OS when reporting=20 > > any issue.=20 > > ::: Messages without supporting info will risk being sent to /dev/null > >=20 > > > ************************************************ > > sycor plastics - die neue Branchenl=F6sung f=FCr die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar=FCber hinaus pers=F6nliche Info= > rmationen beinhalten. Wenn Sie nicht der bestimmungsgem=E4=DFe Empf=E4nge= > r sind, l=F6schen Sie bitte die E-Mail und deren Anh=E4nge sofort und ben= > achrichtigen Sie uns dar=FCber. Die Firma sycor willigt in keine Vertr=E4= > ge oder vertragliche Verpflichtungen ein oder =FCbermittelt rechtsverbind= > liche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht= > ausdr=FCcklich in schriftlicher Form zwischen den Parteien vereinbart wu= > rde. > > This e-mail is confidential and may contain personal and/or privileged in= > formation. If you are not the intended recipient please delete this e-mai= > l and all attachments immediately and inform us. The company sycor does n= > ot agree with contracts or contract obligations sent by e-mail, neither d= > o we transmit legally binding offers by e-mail, unless this is not expres= > sly agreed upon between the parties and documented in written form. > > > > --__--__-- > > Message: 7 > To: nagios-users at lists.sourceforge.net > From: Tom.Corcoran at meridianp2p.com > Date: Tue, 14 Dec 2004 10:47:59 +0000 > Subject: [Nagios-users] Newbie - Checking directory for files > > Hi > > Firstly apologies for what will probably turn out to be a stupid request, > but here goes. > > How can I get a plugin to constantly check a folder for the existence of > error files and to alert me as long as the files exist in the directory. > Any help would be greatly appreciated. > > Regards > > Tom Corcoran > > > > > > --__--__-- > > Message: 8 > Date: Tue, 14 Dec 2004 06:11:31 -0600 > From: "Todd Reed" > To: > Subject: [Nagios-users] Nagios w/MySQL and APAN/Grapher > > I'm trying to install Nagios from the ports collection on FreeBSD 5.3 > When it installs I select the options for MySQL and Performance Data. > But, I have no option to create a mysql account and it doesn't create > the tables. How do I use mysql for this. > > Also can anyone recommend any good guides/software to install a grapher > with the data? I've looked at APAN, but I can't get it configured > properly. > > > > --__--__-- > > Message: 9 > Subject: RE: [Nagios-users] submit_check_result > Date: Tue, 14 Dec 2004 09:08:31 -0500 > From: "Westlake, Simon" > To: > > Yeah, I saw that. Trouble is, I need to submit it to a Nagios instance = > on a local machine and not via NCSA. Is there a way to do it locally or = > do I have to run NCSA on a local machine (doesn't seem to make sense = > that way.) > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Gerd > Mueller > Sent: Tuesday, December 14, 2004 1:10 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] submit_check_result > > > Hi Westlake, =09 > > > > http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html > > > > > > - Gerd Mueller (Gerd.Mueller) > > > > ----------------------- > > This thread is located in the archive at this URL: > > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi= > > 1[showUid]=3D137 > > =09 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now.=20 > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when = > reporting any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null > > > --__--__-- > > Message: 10 > Subject: RE: [Nagios-users] submit_check_result > Date: Tue, 14 Dec 2004 08:28:57 -0600 > From: "Marc Powell" > To: "Westlake, Simon" , > > > Echo it to the command file directly. You'll want to use the > PROCESS_SERVICE_CHECK_RESULT command from > http://nagios.sourceforge.net/docs/2_0/extcommands.html. That page has > other useful information to you as well. > > -- > Marc > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Westlake, Simon > > Sent: Tuesday, December 14, 2004 8:09 AM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] submit_check_result > >=20 > > Yeah, I saw that. Trouble is, I need to submit it to a Nagios instance > on > > a local machine and not via NCSA. Is there a way to do it locally or > do I > > have to run NCSA on a local machine (doesn't seem to make sense that > way.) > >=20 > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Gerd > > Mueller > > Sent: Tuesday, December 14, 2004 1:10 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] submit_check_result > >=20 > >=20 > > Hi Westlake, > >=20 > >=20 > >=20 > > http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html > > > > > --__--__-- > > Message: 11 > Date: Tue, 14 Dec 2004 15:39:15 +0100 > From: =?ISO-8859-1?Q?G=FCnther_Orth?= > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check hylafax faxqueue > > This is a multi-part message in MIME format. > --------------020808030508030303010808 > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > Content-Transfer-Encoding: quoted-printable > X-MIME-Autoconverted: from 8bit to quoted-printable by mailgate1.uni-kl.de id iBEEbLeJ025555 > > Hi! > > I have written a small script for watching the hylafax faxqueue. > > Pherhaps there is someone else who can do anything with it > > Greetings > > G=FCnther > > --------------020808030508030303010808 > Content-Type: text/plain; > name="check_faxqueue" > Content-Disposition: inline; > filename="check_faxqueue" > Content-Transfer-Encoding: 7bit > > #!/bin/sh > # > # Plugin for Nagios to monitor the hylafax-queue > # Written by Guentehr Orth (orth at enbiz.de) > # Date: 20041211 > # License: GPL > # > # Usage: ./check_faxqueue -w -c > # > # This plug check the faxqueue of hylafax an > # compares it with the supplied thresholds. > # > # Output: > # The plugin prints the number of faxes in the queue followed > # by the report "ok", "critial" or "warning" > # > # Exit Codes: > # 0 OK The number of faxes in the queue are under the warning > # or under the critical threshold > # 1 Warning Number of faxes in the queue above "warning" threshold > # 2 Critical Number of faxes in the queue above "critical" threshold > # 3 Unknown Invalid command line arguments or could not determinate the number > # of faxes in the fax queue > > # Path definition > > FAXSTAT="/usr/bin/faxstat" > GREP="/bin/grep" > WC="/usr/bin/wc" > > STATE_OK=0 > STATE_WARNING=1 > STATE_CRITICAL=2 > STATE_UNKNOWN=3 > STATE_DEPENDENT=4 > > # Print infos > PROGNAME=`/usr/bin/basename $0` > REVISION="Revision 0.9," > AUTHOR="(c) Guenther Orth," > LICENSE="License: GPL" > > print_revision()( > echo "$REVISION $AUTHOR $LICENSE" > ) > > print_usage() ( > echo "Usage: $PROGNAME -w -c " > echo "Usage: $PROGNAME --help" > echo "Usage: $PROGNAME --version" > ) > > print_help() ( > print_revision > echo > echo "Hylafax Faxqueue monitor plugin for Nagios" > echo > print_usage > echo > ) > > # Make sure the correct number of command line > # arguments have been supplied > > if [ $# -lt 1 ]; then > print_usage > exit $STATE_UNKNOWN > fi > > # Grab the command line arguments > > read_warn="" > read_crit="" > exitstatus=$STATE_WARNING #default message > > while test -n "$1"; do > case "$1" in > --help) > print_help > exit $STATE_OK > ;; > -h) > print_help > exit $STATE_OK > ;; > --version) > print_revision > exit $STATE_OK > ;; > -V) > print_revision > exit $STATE_OK > ;; > -w) > read_warn=$2 > shift > ;; > -c) > read_crit=$2 > shift > ;; > *) > echo "Unknown argument: $1" > exit $STATUS_UNKNOWN > ;; > esac > shift > done > > ##### Get the number of faxes from faxqueue > > #cnt=`/usr/bin/faxstat -s -a | grep -v "Modem" | wc -l` cnt=$[$cnt - 1] > cnt=`$FAXSTAT -s -a | $GREP -v "Modem" | $WC -l` cnt=$[$cnt - 1] > > ##### Compare the threshold with the queue > > exitstatus=$STATE_OK > result="ok" > > if [ "$read_warn" != "" ]; then > if [ $cnt -ge $read_warn ]; then > result="warning" > exitstatus=$STATE_WARNING > fi > fi > > if [ "$read_crit" != "" ]; then > if [ $cnt -ge $read_crit ]; then > result="critical" > exitstatus=$STATE_CRITICAL > fi > fi > > echo "$cnt Faxes - $result" > exit $exitstatus > > > --------------020808030508030303010808-- > > > --__--__-- > > Message: 12 > Date: Tue, 14 Dec 2004 15:46:51 +0100 > From: Stephan Janosch > Subject: Re: [Nagios-users] Nagios w/MySQL and APAN/Grapher > To: Todd Reed > Cc: nagios-users at lists.sourceforge.net > > Todd Reed wrote: > > I'm trying to install Nagios from the ports collection on FreeBSD 5.3 > > When it installs I select the options for MySQL and Performance Data. > > But, I have no option to create a mysql account and it doesn't create > > the tables. How do I use mysql for this. > > You can disable mysql/Psql-support via "make config" > > > > > Also can anyone recommend any good guides/software to install a grapher > > with the data? I've looked at APAN, but I can't get it configured > > properly. > > Does you nagios working properly? > > > > --__--__-- > > Message: 13 > Date: Tue, 14 Dec 2004 10:29:27 -0500 > From: Daniel Corbe > Reply-To: Daniel Corbe > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Wierd problem > > Hi, > > I'm running nagios 1.2 and I'm getting a wierd problem. I've started > nagios and it seems like everything works because I don't get any > error messages and nagios -v doesn't complain about my config files; > however when I go to pull up the Nagios service overview (or anything > other than the nagios start page) I get the Whoops! page instead. > > Nagios has been successfully authenticating to my postgresql server > and has access to the data but does not appear to be updating the > database and there are no errors in the error log. > > > --__--__-- > > Message: 14 > Date: Tue, 14 Dec 2004 08:09:16 -0800 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Newbie - Checking directory for files > From: Jason Martin > > > --r14PBIsaZqWquWsS > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Tue, Dec 14, 2004 at 10:47:59AM +0000, Tom.Corcoran at meridianp2p.com wrot= > e: > > How can I get a plugin to constantly check a folder for the existence of > > error files and to alert me as long as the files exist in the directory. > > Any help would be greatly appreciated. > You'd have to write a plugin for that. It should be fairily > simple, something like: > > #!/bin/sh > FILES=3D`ls -l /some/dir/*.files|wc -l` > > if [ $FILES -gt 0 ]; then > echo "Error files found!" > exit 2 > else > echo "No error files found" > exit 0 > fi > > > Of course you'd probably want to spruce that up to use > command-line arguments instead of hardcoded values, but you get > the idea. Plugins are actually very easy to write -- it only > gets hard when you want the plugin to work on every platform > in existence in any possible configuration. =20 > > -Jason Martin > --=20 > Only 19,999 lines of C++ to my next ski trip... > This message is PGP/MIME signed. > > --r14PBIsaZqWquWsS > Content-Type: application/pgp-signature > Content-Disposition: inline > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: --no-verbose > > iD8DBQFBvxAsl2ODWuqVSBMRAtbHAJwM8479a9HDX+X1hJZ21MfhFD+BTwCfTE50 > /CQqfzt0A+tUdYJZhtWRaHY= > =5ZMQ > -----END PGP SIGNATURE----- > > --r14PBIsaZqWquWsS-- > > > --__--__-- > > Message: 15 > Date: Tue, 14 Dec 2004 14:13:00 -0200 > From: Leonardo Henrique Machado > Reply-To: Leonardo Henrique Machado > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Wierd problem > > Check the permissions of your .cfg files. If one of them are owned by > root, nagios does not start but dies silently. > > cfg files must be readable by nagios user. > > > On Tue, 14 Dec 2004 10:29:27 -0500, Daniel Corbe > wrote: > > Hi, > > > > I'm running nagios 1.2 and I'm getting a wierd problem. I've started > > nagios and it seems like everything works because I don't get any > > error messages and nagios -v doesn't complain about my config files; > > however when I go to pull up the Nagios service overview (or anything > > other than the nagios start page) I get the Whoops! page instead. > > > > Nagios has been successfully authenticating to my postgresql server > > and has access to the data but does not appear to be updating the > > database and there are no errors in the error log. > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Leonardo Henrique Machado > > > --__--__-- > > Message: 16 > Date: Tue, 14 Dec 2004 08:19:29 -0800 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Multiple Nagios Servers > From: Jason Martin > > > --msfJc326IHG4N9QP > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Mon, Dec 13, 2004 at 11:53:42AM +1100, Jonathan Thorpe wrote: > > I'm trying to get Nagios to send an alert only if both hosts concur that= > =20 > > there is a fault, OR if one of the two Nagios servers have gone down. > >=20 > > Is this possible with Nagios? I'm quite new to Nagios, so any pointers=20 > > in the right direction would be greatly appreciated. > Anything is possible with enough work, but this configuration > wouldn't be easy. What are you trying to accomplish here? There > may be a simpler way to implement it. > > -Jason Martin > --=20 > Only 19,999 lines of C++ to my next ski trip... > This message is PGP/MIME signed. > > --msfJc326IHG4N9QP > Content-Type: application/pgp-signature > Content-Disposition: inline > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: --no-verbose > > iD8DBQFBvxKRl2ODWuqVSBMRAqBWAJsGfDUiezO08O1H4cmezs9U0JRbEACdFr8C > fuK5hD1Nbz49z4iVRyvy1ig= > =1GHK > -----END PGP SIGNATURE----- > > --msfJc326IHG4N9QP-- > > > --__--__-- > > Message: 17 > Date: Tue, 14 Dec 2004 11:22:18 -0500 > From: Daniel Corbe > Reply-To: Daniel Corbe > To: Leonardo Henrique Machado > Subject: Re: [Nagios-users] Wierd problem > Cc: nagios-users at lists.sourceforge.net > > they are readable by nagios and nagios acctually does start, and logs > into the SQL database. > > [root at monitor1 nagios]# ps -awwx | grep nagios > 1008 ? S 0:00 /usr/local/nagios/bin/nagios -d > /usr/local/nagios/etc/nagios.cfg > 1009 ? S 0:04 postgres: nagios nagios 127.0.0.1 idle > > -Daniel > > > On Tue, 14 Dec 2004 14:13:00 -0200, Leonardo Henrique Machado > wrote: > > Check the permissions of your .cfg files. If one of them are owned by > > root, nagios does not start but dies silently. > > > > cfg files must be readable by nagios user. > > > > On Tue, 14 Dec 2004 10:29:27 -0500, Daniel Corbe > > wrote: > > > Hi, > > > > > > I'm running nagios 1.2 and I'm getting a wierd problem. I've started > > > nagios and it seems like everything works because I don't get any > > > error messages and nagios -v doesn't complain about my config files; > > > however when I go to pull up the Nagios service overview (or anything > > > other than the nagios start page) I get the Whoops! page instead. > > > > > > Nagios has been successfully authenticating to my postgresql server > > > and has access to the data but does not appear to be updating the > > > database and there are no errors in the error log. > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real users. > > > Discover which products truly live up to the hype. Start reading now. > > > http://productguide.itmanagersjournal.com/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > -- > > Leonardo Henrique Machado > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Tue, 14 Dec 2004 19:32:50 +0100 > From: Czabai Gabor > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification > > Hi! > > I was thinking about something: > > I has a server, where the nagios is running. Behind this server i > monitor a lot of servers, switches, and so on. If the network is down, > except the main server, then i will receive a lot of email about > criticals and warnings. But i dont want to recieve them , i need only > one, which tells me, that the network is down. Is it possible, or i have > to recieve all of them? > > Thanx > I hope it was understandable. > > C > > > --__--__-- > > Message: 19 > Date: Tue, 14 Dec 2004 10:36:12 -0800 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] notification > From: Jason Martin > > > --HNBocjmeCwqlPAty > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Tue, Dec 14, 2004 at 07:32:50PM +0100, Czabai Gabor wrote: > > criticals and warnings. But i dont want to recieve them , i need only > > one, which tells me, that the network is down. Is it possible, or i have > > to recieve all of them? > Check the Nagios manual regarding the 'parent' directive in the > host defintions. Nagios can send just one notification for the > issue. > > -Jason Martin > --=20 > What does this red button do? > This message is PGP/MIME signed. > > --HNBocjmeCwqlPAty > Content-Type: application/pgp-signature > Content-Disposition: inline > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: --no-verbose > > iD8DBQFBvzKcl2ODWuqVSBMRAkoRAJ4050aOJxrXfsK5NqnV9GMCt2u9vACeLnjk > RMq1FsHy+lku3dgY+RqkU7k= > =7kgw > -----END PGP SIGNATURE----- > > --HNBocjmeCwqlPAty-- > > > > --__--__-- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Dec 15 08:28:32 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 15 Dec 2004 08:28:32 +0100 Subject: Problem with selfwritten Plugin Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9450@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I wrote a Plugin, which checks some logfiles and returns a pretty long Error Message. In the Developer Guidlines for nagios, it's only said, that you should keep the text as short as possible, though it will be cut otherwise. Where is the limit? 255 Chars? Ok, so in my case the Output on STDOUT looks somethink like this, when I execute it directly from the console: /usr/local/nagios/libexec/check_by_ssh -H Host1 -l user1 -C "/usr/sap/trans/sap2tm1/check_sap2tm1.sh R11" Export_Protokolle 2 Package nicht erfolgreich - 2004-12-13 18:31:00 Import_Auftr?ge 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei ZVBAK - 2004-12-09 16:53:00 Import_Fakturavorrat 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei ZVPDFS -- Fehler bei Einlesen der Quelldatei VKDFS - 2004-12-13 11:30:00 Import_Fakturen 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei VBRP -- Fehler bei Einlesen der Quelldatei VBRK - 2004-12-13 12:01:00 Import_Kennzeichen 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei ZOBRNT -- Fehler bei Einlesen der Quelldatei ZOBRN - 2004-12-13 14:10:00 Import_Kennzeichenstruktur 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei ZOBSPH - 2004-12-13 14:10:00 Import_Kundenstamm 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei KNVP -- Fehler bei Einlesen der Quelldatei KNA1 -- Fehler bei Einlesen der Quelldatei KNVV - 2004-12-13 15:10:00 Import_Materialstamm 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei MAKT -- Fehler bei Einlesen der Quelldatei MARA - 2004-12-13 15:50:00 Import_Produktfamilie 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei ZOBTR -- Fehler bei Einlesen der Quelldatei ZOBTRT - 2004-12-13 16:38:00 Import_Rel_Mat_zu_KennZ 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei ZOBPH - 2004-12-13 16:59:00 Import_SBS_B 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei ZOBSBB -- Fehler bei Einlesen der Quelldatei ZOBSBBT - 2004-12-13 17:40:00 Import_SBS_C 2 Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei ZOBSBT -- Fehler bei Einlesen der Quelldatei ZOBSB - 2004-12-13 17:49:00 Import_Texte 2 Package nicht erfolgreich -- Fehler bei Quelldatei T016T -- Fehler bei Quelldatei T151T -- Fehler bei Quelldatei TBRCT -- Fehler bei Quelldatei TKUKT -- Fehler bei Quelldatei TVKBT -- Fehler bei Quelldatei TVFST -- Fehler bei Quelldatei TVLST - 2004-12-13 18:07:00 Initialisierung_SAP_Import 2 Package nicht erfolgreich -- Fehler beim Kopieren der SAP-Dateien - 2004-12-13 18:17:00 ZRMSEND_TM 1 ABAP-Prozessor: TSV_TNEW_PAGE_ALLOC_FAILED /Job wurde abgebrochen 2004-11-02 07:48:44 You mustn't understand the Error Message, it's ok for me that way, I just inserted it to give you a idea how long it is. So far so good. When I run an echo $? It returns 2, so it should be displayed as CRITICAL in Nagios, right? Buuut, and here's the MAIN Problem for me: Nagios shows a Status UNKNOWN !!!??? Why is the returncode not interpreted in the right way by nagios?? Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Huettig at Medien-Systempartner.de Wed Dec 15 09:00:14 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael =?utf-8?q?H=C3=BCttig?=) Date: Wed, 15 Dec 2004 09:00:14 +0100 Subject: notification In-Reply-To: <20041214183612.GY22568@zippy.toger.us> References: <20041214183250.GA21716@martos.bme.hu> <20041214183612.GY22568@zippy.toger.us> Message-ID: <200412150900.14550.Michael.Huettig@Medien-Systempartner.de> Am Dienstag, 14. Dezember 2004 19:36 schrieb Jason Martin: > On Tue, Dec 14, 2004 at 07:32:50PM +0100, Czabai Gabor wrote: > > criticals and warnings. But i dont want to recieve them , i need only > > one, which tells me, that the network is down. Is it possible, or i have > > to recieve all of them? > > Check the Nagios manual regarding the 'parent' directive in the > host defintions. Nagios can send just one notification for the > issue. > > -Jason Martin Hi, reading the docs i suggest that parent directive is only for displaying correct in status-map.cgi, if you don?t want the notifications for hosts behind other hosts, you have to configure host_dependencies, but please correct me if i?m wrong ... -- Regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 15 12:16:30 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Dec 2004 12:16:30 +0100 Subject: help In-Reply-To: <000501c4e262$6a78a3a0$08db200a@IAMAUNIQUESNOWFLAKE> References: <000501c4e262$6a78a3a0$08db200a@IAMAUNIQUESNOWFLAKE> Message-ID: <41C01D0E.8000203@op5.se> Don't reply with the entire digest. You'll be kicked off the list if you do. Nick Romanelli wrote: > ----- Original Message ----- [ insane amount of irrelevance cut ] -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 15 12:18:46 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Dec 2004 12:18:46 +0100 Subject: Problem with selfwritten Plugin In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C9450@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C9450@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <41C01D96.9060202@op5.se> Sand Philipp wrote: > Hi, > > I wrote a Plugin, which checks some logfiles and returns a pretty > long Error Message. In the Developer Guidlines for nagios, it's only > said, that you should keep the text as short as possible, though it > will be cut otherwise. Where is the limit? 255 Chars? 384 I think. Have a look in nagios/include/*.h > Ok, so in my > case the Output on STDOUT looks somethink like this, when I execute > it directly from the console: > > /usr/local/nagios/libexec/check_by_ssh -H Host1 -l user1 -C > "/usr/sap/trans/sap2tm1/check_sap2tm1.sh R11" Export_Protokolle 2 > Package nicht erfolgreich - 2004-12-13 18:31:00 Import_Auftr?ge 2 > Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei ZVBAK > - 2004-12-09 16:53:00 Import_Fakturavorrat 2 Package nicht > erfolgreich -- Fehler bei Einlesen der Quelldatei ZVPDFS -- Fehler > bei Einlesen der Quelldatei VKDFS - 2004-12-13 11:30:00 > Import_Fakturen 2 Package nicht erfolgreich -- Fehler bei Einlesen > der Quelldatei VBRP -- Fehler bei Einlesen der Quelldatei VBRK - > 2004-12-13 12:01:00 Import_Kennzeichen 2 Package nicht erfolgreich -- > Fehler bei Einlesen der Quelldatei ZOBRNT -- Fehler bei Einlesen der > Quelldatei ZOBRN - 2004-12-13 14:10:00 Import_Kennzeichenstruktur 2 > Package nicht erfolgreich -- Fehler bei Einlesen der Quelldatei > ZOBSPH - 2004-12-13 14:10:00 Import_Kundenstamm 2 Package nicht > erfolgreich -- Fehler bei Einlesen der Quelldatei KNVP -- Fehler bei > Einlesen der Quelldatei KNA1 -- Fehler bei Einlesen der Quelldatei > KNVV - 2004-12-13 15:10:00 Import_Materialstamm 2 Package nicht > erfolgreich -- Fehler bei Einlesen der Quelldatei MAKT -- Fehler bei > Einlesen der Quelldatei MARA - 2004-12-13 15:50:00 > Import_Produktfamilie 2 Package nicht erfolgreich -- Fehler bei > Einlesen der Quelldatei ZOBTR -- Fehler bei Einlesen der Quelldatei > ZOBTRT - 2004-12-13 16:38:00 Import_Rel_Mat_zu_KennZ 2 Package nicht > erfolgreich -- Fehler bei Einlesen der Quelldatei ZOBPH - 2004-12-13 > 16:59:00 Import_SBS_B 2 Package nicht erfolgreich -- Fehler bei > Einlesen der Quelldatei ZOBSBB -- Fehler bei Einlesen der Quelldatei > ZOBSBBT - 2004-12-13 17:40:00 Import_SBS_C 2 Package nicht > erfolgreich -- Fehler bei Einlesen der Quelldatei ZOBSBT -- Fehler > bei Einlesen der Quelldatei ZOBSB - 2004-12-13 17:49:00 Import_Texte > 2 Package nicht erfolgreich -- Fehler bei Quelldatei T016T -- Fehler > bei Quelldatei T151T -- Fehler bei Quelldatei TBRCT -- Fehler bei > Quelldatei TKUKT -- Fehler bei Quelldatei TVKBT -- Fehler bei > Quelldatei TVFST -- Fehler bei Quelldatei TVLST - 2004-12-13 18:07:00 > Initialisierung_SAP_Import 2 Package nicht erfolgreich -- Fehler beim > Kopieren der SAP-Dateien - 2004-12-13 18:17:00 ZRMSEND_TM 1 > ABAP-Prozessor: TSV_TNEW_PAGE_ALLOC_FAILED /Job wurde abgebrochen > 2004-11-02 07:48:44 > > You mustn't understand the Error Message, it's ok for me that way, I > just inserted it to give you a idea how long it is. So far so good. > When I run an echo $? It returns 2, so it should be displayed as > CRITICAL in Nagios, right? Buuut, and here's the MAIN Problem for me: > Nagios shows a Status UNKNOWN !!!??? Why is the returncode not > interpreted in the right way by nagios?? > Permission issues? Nagios sets it to unknown if the return code is UNKNOWN or anything outside of the range of what return codes nagios handles properly. > > Thanks in advance! Philipp > > _____________________________ > > Philipp Sand OC-CC-TEC-SYS > > SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen > > Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 > > philipp.sand at sycor.de www.sycor.de > ------------------------------------------------ > > > > ************************************************ > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche > Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e > Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort > und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine > Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, > sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den > Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or > privileged information. If you are not the intended recipient please > delete this e-mail and all attachments immediately and inform us. The > company sycor does not agree with contracts or contract obligations > sent by e-mail, neither do we transmit legally binding offers by > e-mail, unless this is not expressly agreed upon between the parties > and documented in written form. > > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products > truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 15 12:22:29 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Dec 2004 12:22:29 +0100 Subject: notification In-Reply-To: <200412150900.14550.Michael.Huettig@Medien-Systempartner.de> References: <20041214183250.GA21716@martos.bme.hu> <20041214183612.GY22568@zippy.toger.us> <200412150900.14550.Michael.Huettig@Medien-Systempartner.de> Message-ID: <41C01E75.8060701@op5.se> Michael H?ttig wrote: > Am Dienstag, 14. Dezember 2004 19:36 schrieb Jason Martin: > >>On Tue, Dec 14, 2004 at 07:32:50PM +0100, Czabai Gabor wrote: >> >>>criticals and warnings. But i dont want to recieve them , i need only >>>one, which tells me, that the network is down. Is it possible, or i have >>>to recieve all of them? >> >>Check the Nagios manual regarding the 'parent' directive in the >>host defintions. Nagios can send just one notification for the >>issue. >> >>-Jason Martin > > Hi, > reading the docs i suggest that parent directive is only for displaying > correct in status-map.cgi, if you don?t want the notifications for hosts > behind other hosts, you have to configure host_dependencies, but please > correct me if i?m wrong ... You are. Read up on network outages and you'll see what parents do for the monitoring logic (and notifications). You will also want to remove the 'u' option for whatever host you don't want double notifications for. Hostdependencies fill very limited role for very obscure networks now adays, although I believe it was previously useful. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Dec 15 12:42:48 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 15 Dec 2004 12:42:48 +0100 Subject: Problem with selfwritten Plugin Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9457@SYGOMAIL.GOE.AD.SYCOR.DE> > > You mustn't understand the Error Message, it's ok for me > that way, I > > just inserted it to give you a idea how long it is. So far so good. > > When I run an echo $? It returns 2, so it should be displayed as > > CRITICAL in Nagios, right? Buuut, and here's the MAIN > Problem for me: > > Nagios shows a Status UNKNOWN !!!??? Why is the returncode not > > interpreted in the right way by nagios?? > > > > Permission issues? Nagios sets it to unknown if the return > code is UNKNOWN or anything outside of the range of what > return codes nagios handles properly. Don't think that it's a permission issue. I testet it via console with the user under which nagios runs. On the console I always get the right return code (for testing 2) but in nagios it's unknown. What I found during my researches is another strange thing. Sometimes the check gets CRITICAL, but after the normal check interval it tourns to unknown again :-/ BTW, my nagios version is 2.0a1 The check is a plugin executed on a remote check via the check_by_ssh plugin. Heeelp :) Philipp ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Wed Dec 15 12:56:18 2004 From: srunschke at abit.de (Sascha Runschke) Date: Wed, 15 Dec 2004 12:56:18 +0100 Subject: Notification escalations not interpreted correctly? Message-ID: Hi list, I got a strange problem with services and multiple escalations affecting them. Nagios sends RECOVERY messages to contactgroups that didn't receive the proper CRITICAL message because they haven't been in the earlier escalations. According to my knowledge Nagios should never ever do that, as it is smart enough to know the contact didn't get the CRITICAL in first place. Did that behaviour change lately or am I just utterly wrong? In case that actually is a problem, I'll start digging up the relevant configs to start looking for the problem. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Wed Dec 15 14:22:14 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 15 Dec 2004 14:22:14 +0100 Subject: Problem with check_by_ssh was: RE: Problem with selfwritten Plugin Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9459@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I just wrote a simple Shellscript which returns a text and a exitcode 2 and executed it with check_by_ssh on two different remote server. Again, when I execute the script via command line, the return code is displayed properly. But when I execute it via Nagios, for one of the two Servers, the Status is critical, as it should be, and for the other one, it's unknown??!! I'm pretty irritated ... Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Sand Philipp > Sent: Wednesday, December 15, 2004 12:43 PM > To: Andreas Ericsson; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Problem with selfwritten Plugin > > > > You mustn't understand the Error Message, it's ok for me > > that way, I > > > just inserted it to give you a idea how long it is. So > far so good. > > > When I run an echo $? It returns 2, so it should be displayed as > > > CRITICAL in Nagios, right? Buuut, and here's the MAIN > > Problem for me: > > > Nagios shows a Status UNKNOWN !!!??? Why is the returncode not > > > interpreted in the right way by nagios?? > > > > > > > Permission issues? Nagios sets it to unknown if the return code is > > UNKNOWN or anything outside of the range of what return > codes nagios > > handles properly. > > Don't think that it's a permission issue. I testet it via > console with the user under which nagios runs. > On the console I always get the right return code (for > testing 2) but in nagios it's unknown. > What I found during my researches is another strange thing. > Sometimes the check gets CRITICAL, but after the normal check > interval it tourns to unknown again :-/ > > BTW, my nagios version is 2.0a1 > The check is a plugin executed on a remote check via the > check_by_ssh plugin. > > Heeelp :) > Philipp > > > ************************************************ > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus > pers?nliche Informationen beinhalten. Wenn Sie nicht der > bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die > E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns > dar?ber. Die Firma sycor willigt in keine Vertr?ge oder > vertragliche Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt > werden, sofern dies nicht ausdr?cklich in schriftlicher Form > zwischen den Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or > privileged information. If you are not the intended recipient > please delete this e-mail and all attachments immediately and > inform us. The company sycor does not agree with contracts or > contract obligations sent by e-mail, neither do we transmit > legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and documented in > written form. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 15 14:35:26 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Dec 2004 14:35:26 +0100 Subject: Problem with check_by_ssh was: RE: Problem with selfwritten Plugin In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C9459@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C9459@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <41C03D9E.2070909@op5.se> Sand Philipp wrote: > Hi, > > I just wrote a simple Shellscript which returns a text and a exitcode > 2 and executed it with check_by_ssh on two different remote server. > Again, when I execute the script via command line, the return code is > displayed properly. But when I execute it via Nagios, for one of the > two Servers, the Status is critical, as it should be, and for the > other one, it's unknown??!! > > I'm pretty irritated ... > Making the rest of us irritated as well by re-sending the same email several times won't make you less so. I'm fairly certain that the problem resides in your shellscript. Post it here so we can help you properly, or stop emailing the list about this issue. > Philipp > > >> -----Original Message----- From: >> nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sand >> Philipp Sent: Wednesday, December 15, 2004 12:43 PM To: Andreas >> Ericsson; nagios-users at lists.sourceforge.net Subject: RE: >> [Nagios-users] Problem with selfwritten Plugin >> >> >>>> You mustn't understand the Error Message, it's ok for me >>> >>> that way, I >>> >>>> just inserted it to give you a idea how long it is. So >> >> far so good. >> >>>> When I run an echo $? It returns 2, so it should be displayed >>>> as CRITICAL in Nagios, right? Buuut, and here's the MAIN >>> >>> Problem for me: >>> >>>> Nagios shows a Status UNKNOWN !!!??? Why is the returncode not >>>> interpreted in the right way by nagios?? >>>> >>> >>> Permission issues? Nagios sets it to unknown if the return code >>> is UNKNOWN or anything outside of the range of what return >> >> codes nagios >> >>> handles properly. >> >> Don't think that it's a permission issue. I testet it via console >> with the user under which nagios runs. On the console I always get >> the right return code (for testing 2) but in nagios it's unknown. >> What I found during my researches is another strange thing. >> Sometimes the check gets CRITICAL, but after the normal check >> interval it tourns to unknown again :-/ >> >> BTW, my nagios version is 2.0a1 The check is a plugin executed on a >> remote check via the check_by_ssh plugin. >> >> Heeelp :) Philipp >> >> >> ************************************************ >> >> sycor plastics - die neue Branchenl?sung f?r die >> Kunststoffindustrie >> >> www.sycor-plastics.de >> >> ************************************************ >> >> >> >> >> Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche >> Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e >> Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge >> sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt >> in keine Vertr?ge oder vertragliche Verpflichtungen ein oder >> ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail >> versandt werden, sofern dies nicht ausdr?cklich in schriftlicher >> Form zwischen den Parteien vereinbart wurde. >> >> This e-mail is confidential and may contain personal and/or >> privileged information. If you are not the intended recipient >> please delete this e-mail and all attachments immediately and >> inform us. The company sycor does not agree with contracts or >> contract obligations sent by e-mail, neither do we transmit legally >> binding offers by e-mail, unless this is not expressly agreed upon >> between the parties and documented in written form. >> >> >> >> ------------------------------------------------------- SF email is >> sponsored by - The IT Product Guide Read honest & candid reviews on >> hundreds of IT Products from real users. Discover which products >> truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ Nagios-users >> mailing list Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: >> Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > > > > ************************************************ > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche > Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e > Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort > und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine > Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, > sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den > Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or > privileged information. If you are not the intended recipient please > delete this e-mail and all attachments immediately and inform us. The > company sycor does not agree with contracts or contract obligations > sent by e-mail, neither do we transmit legally binding offers by > e-mail, unless this is not expressly agreed upon between the parties > and documented in written form. > > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products > truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vechiato at gmail.com Wed Dec 15 14:41:56 2004 From: vechiato at gmail.com (Marcus Vechiato) Date: Wed, 15 Dec 2004 11:41:56 -0200 Subject: problems instaling nagios 2.0b1 Message-ID: at last step make install-config #make install-config /usr/bin/install -c -m 775 -o nagios -g nagios -d /opt/nagios-2.0b1/etc /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/nagios.cfg /opt/nagios-2.0b1/etc/nagios.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/cgi.cfg /opt/nagios-2.0b1/etc/cgi.cfg-sample /usr/bin/install -c -m 660 -o nagios -g nagios sample-config/resource.cfg /opt/nagios-2.0b1/etc/resource.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/template-object/checkcommands.cfg /opt/nagios-2.0b1/etc/checkcommands.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/template-object/contactgroups.cfg /opt/nagios-2.0b1/etc/contactgroups.cfg-sample /usr/bin/install: cannot stat `sample-config/template-object/contactgroups.cfg': No such file or directory make: *** [install-config] Error 1 the file sample-config/template-object/contactgroups.cfg don't exist. Vechiato ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriel.Paues at dgc.se Wed Dec 15 14:46:21 2004 From: Gabriel.Paues at dgc.se (Gabriel.Paues at dgc.se) Date: Wed, 15 Dec 2004 14:46:21 +0100 Subject: $USER1$ not parsed in resource.cfg Message-ID: <5BC5F3ED3D064145A2F3845CA62DD9117580E4@sth-dgc-mail-01.dgc.local> I have set up Nagios 1.2 and am experiencing something strange. The $USER1$ macro in resource.cfg is not parsed. My checkcommands all fail with exit-code 127 unless I switch the command_line-value to the absolute path instead of the $USER1$ macro. Ever heard of? Regards, Gabriel Paues DGC Access ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 15 14:50:38 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Dec 2004 14:50:38 +0100 Subject: $USER1$ not parsed in resource.cfg In-Reply-To: <5BC5F3ED3D064145A2F3845CA62DD9117580E4@sth-dgc-mail-01.dgc.local> References: <5BC5F3ED3D064145A2F3845CA62DD9117580E4@sth-dgc-mail-01.dgc.local> Message-ID: <41C0412E.2070503@op5.se> Gabriel.Paues at dgc.se wrote: > I have set up Nagios 1.2 and am experiencing something strange. The > $USER1$ macro in resource.cfg is not parsed. My checkcommands all fail > with exit-code 127 unless I switch the command_line-value to the > absolute path instead of the $USER1$ macro. > > Ever heard of? > Make sure resource_file is set properly and with proper permissions in nagios.cfg > > Regards, > > Gabriel Paues > DGC Access > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Dec 15 14:52:03 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 15 Dec 2004 14:52:03 +0100 Subject: Problem with check_by_ssh was: RE: Problem with selfwritten Plugin Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C945A@SYGOMAIL.GOE.AD.SYCOR.DE> It's me, again. Just for your interest: There seems to be a Problem with the check_by_ssh and the old OpenSSH 2.9xx . I testet my plugin on other Servers with a newer version, and voila, it works! Sorry for bothering. Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Sand Philipp > Sent: Wednesday, December 15, 2004 2:22 PM > To: nagios-users at lists.sourceforge.net > Subject: Problem with check_by_ssh was: RE: [Nagios-users] > Problem with selfwritten Plugin > > Hi, > > I just wrote a simple Shellscript which returns a text and a > exitcode 2 and executed it with check_by_ssh on two different > remote server. Again, when I execute the script via command > line, the return code is displayed properly. But when I > execute it via Nagios, for one of the two Servers, the Status > is critical, as it should be, and for the other one, it's unknown??!! > > I'm pretty irritated ... > > Philipp > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sand > > Philipp > > Sent: Wednesday, December 15, 2004 12:43 PM > > To: Andreas Ericsson; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Problem with selfwritten Plugin > > > > > > You mustn't understand the Error Message, it's ok for me > > > that way, I > > > > just inserted it to give you a idea how long it is. So > > far so good. > > > > When I run an echo $? It returns 2, so it should be > displayed as > > > > CRITICAL in Nagios, right? Buuut, and here's the MAIN > > > Problem for me: > > > > Nagios shows a Status UNKNOWN !!!??? Why is the returncode not > > > > interpreted in the right way by nagios?? > > > > > > > > > > Permission issues? Nagios sets it to unknown if the > return code is > > > UNKNOWN or anything outside of the range of what return > > codes nagios > > > handles properly. > > > > Don't think that it's a permission issue. I testet it via > console with > > the user under which nagios runs. > > On the console I always get the right return code (for > testing 2) but > > in nagios it's unknown. > > What I found during my researches is another strange thing. > > Sometimes the check gets CRITICAL, but after the normal > check interval > > it tourns to unknown again :-/ > > > > BTW, my nagios version is 2.0a1 > > The check is a plugin executed on a remote check via the > check_by_ssh > > plugin. > > > > Heeelp :) > > Philipp > > > > > > ************************************************ > > > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > > > www.sycor-plastics.de > > > > ************************************************ > > > > > > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche > > Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e > > Empf?nger sind, l?schen Sie bitte die E-Mail und deren > Anh?nge sofort > > und benachrichtigen Sie uns dar?ber. Die Firma sycor > willigt in keine > > Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt > > rechtsverbindliche Angebote, die in Form von E-Mail > versandt werden, > > sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den > > Parteien vereinbart wurde. > > > > This e-mail is confidential and may contain personal and/or > privileged > > information. If you are not the intended recipient please > delete this > > e-mail and all attachments immediately and inform us. The company > > sycor does not agree with contracts or contract obligations sent by > > e-mail, neither do we transmit legally binding offers by e-mail, > > unless this is not expressly agreed upon between the parties and > > documented in written form. > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide Read honest & > > candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start > reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ************************************************ > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus > pers?nliche Informationen beinhalten. Wenn Sie nicht der > bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die > E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns > dar?ber. Die Firma sycor willigt in keine Vertr?ge oder > vertragliche Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt > werden, sofern dies nicht ausdr?cklich in schriftlicher Form > zwischen den Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or > privileged information. If you are not the intended recipient > please delete this e-mail and all attachments immediately and > inform us. The company sycor does not agree with contracts or > contract obligations sent by e-mail, neither do we transmit > legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and documented in > written form. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fred.blaise at excilan.com Wed Dec 15 14:49:32 2004 From: fred.blaise at excilan.com (Fred Blaise) Date: Wed, 15 Dec 2004 14:49:32 +0100 Subject: status.cgi pb Message-ID: <5D86D92BC5126147A4E76FD89D5C322A1BF8CB@excilan02.excilan.com> Hello all I just installed nagios-mysql on debian testing, from the apt-get directory. I have a pb where I can access all pages except the ones that use the status.cgi. I get the much familiar message: It appears as though you do not have permission to view information for any of the hosts 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. It worked on a previous install, but it was 1.2. Debian testing is now 1.3. The config seems to be the same. Google didn't bring me any answer. Any pointers? Thanks for your time Regards ))fred ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Wed Dec 15 15:05:26 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Wed, 15 Dec 2004 09:05:26 -0500 Subject: Nagios 2.0 RPM? Message-ID: <41C044A6.1080502@datawire.net> Anyone out there rolling their own Nagios 2.0 RPM? I am moving to a distributed Nagios setup, and need Passive host checks as one of the networks I will be monitoring will be in internal IP Space, and from researching the list it seems the only way to get a host check working under the specific situation I am using will be to go the Nagios 2.0 route. I am running RHEL3, and would appreciate a link to a Spec file, or SRPM to help me package up the nagios-cvs. --Chris ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stinkybob at gmail.com Wed Dec 15 15:07:12 2004 From: stinkybob at gmail.com (StinkyBob) Date: Wed, 15 Dec 2004 08:07:12 -0600 Subject: more problems installing nagios 2.0b1 Message-ID: <2579c6b204121506071777b3a9@mail.gmail.com> Here are the errors I'm getting when compiling 2.0b1. Any ideas? (SunFire V210, Solaris 8) -Stinky -------------------------------------------------------------------------- [machine@/usr/local/src/nagios-2.0b1]$ make all cd ./base && make [unnecessary compiling deleted here] gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o -lm -lnsl -lsocket -lpthread -ldl -lrt Undefined first referenced symbol in file unsetenv utils.o setenv utils.o ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `nagios' Current working directory /usr/local/src/nagios-2.0b1/base *** Error code 1 make: Fatal error: Command failed for target `all' ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriel.Paues at dgc.se Wed Dec 15 15:07:40 2004 From: Gabriel.Paues at dgc.se (Gabriel.Paues at dgc.se) Date: Wed, 15 Dec 2004 15:07:40 +0100 Subject: $USER1$ not parsed in resource.cfg Message-ID: <5BC5F3ED3D064145A2F3845CA62DD9117580E5@sth-dgc-mail-01.dgc.local> Error: Wrong rights (root:root) on the nagios-etc directory. Solution: Change to nagios:nagios. Thanks! // Gabriel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: den 15 december 2004 14:51 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] $USER1$ not parsed in resource.cfg Gabriel.Paues at dgc.se wrote: > I have set up Nagios 1.2 and am experiencing something strange. The > $USER1$ macro in resource.cfg is not parsed. My checkcommands all fail > with exit-code 127 unless I switch the command_line-value to the > absolute path instead of the $USER1$ macro. > > Ever heard of? > Make sure resource_file is set properly and with proper permissions in nagios.cfg > > Regards, > > Gabriel Paues > DGC Access > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vechiato at gmail.com Wed Dec 15 15:28:06 2004 From: vechiato at gmail.com (Marcus Vechiato) Date: Wed, 15 Dec 2004 12:28:06 -0200 Subject: problems instaling nagios 2.0b1 Message-ID: at last step make install-config #make install-config /usr/bin/install -c -m 775 -o nagios -g nagios -d /opt/nagios-2.0b1/etc /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/nagios.cfg /opt/nagios-2.0b1/etc/nagios.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/cgi.cfg /opt/nagios-2.0b1/etc/cgi.cfg-sample /usr/bin/install -c -m 660 -o nagios -g nagios sample-config/resource.cfg /opt/nagios-2.0b1/etc/resource.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/template-object/checkcommands.cfg /opt/nagios-2.0b1/etc/checkcommands.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/template-object/contactgroups.cfg /opt/nagios-2.0b1/etc/contactgroups.cfg-sample /usr/bin/install: cannot stat `sample-config/template-object/contactgroups.cfg': No such file or directory make: *** [install-config] Error 1 the file sample-config/template-object/contactgroups.cfg don't exist. Vechiato ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 15 15:48:58 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Dec 2004 15:48:58 +0100 Subject: more problems installing nagios 2.0b1 In-Reply-To: <2579c6b204121506071777b3a9@mail.gmail.com> References: <2579c6b204121506071777b3a9@mail.gmail.com> Message-ID: <41C04EDA.9070307@op5.se> StinkyBob wrote: > Here are the errors I'm getting when compiling 2.0b1. Any ideas? > (SunFire V210, Solaris 8) > setenv(3) and unsetenv(3) are BSD'isms. I don't think they're available on solaris 8. Comment them out and try again (they're not exactly crucial to operations anyway). You might want to send email like this to nagios-devel in the future. > -Stinky > > -------------------------------------------------------------------------- > [machine@/usr/local/src/nagios-2.0b1]$ make all > cd ./base && make > [unnecessary compiling deleted here] > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o > nebmods.o checks.o config.o commands.o events.o flapping.o logging.o > notifications.o sehandlers.o utils.o retention-base.o > xretention-base.o comments-base.o xcomments-base.o objects-base.o > xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o > xperfdata-base.o downtime-base.o xdowntime-base.o -lm -lnsl > -lsocket -lpthread -ldl -lrt > Undefined first referenced > symbol in file > unsetenv utils.o > setenv utils.o > ld: fatal: Symbol referencing errors. No output written to nagios > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `nagios' > Current working directory /usr/local/src/nagios-2.0b1/base > *** Error code 1 > make: Fatal error: Command failed for target `all' > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Wed Dec 15 15:48:51 2004 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Wed, 15 Dec 2004 15:48:51 +0100 Subject: Parallel Checks? Message-ID: <3B1F009121A0D411AD7B0010E37C5BEC0B14C0C4@of-mxs02.oppenheim.de> Hi all! i didn?t understand the documentation clearly; does Nagios wait for the result of a service check, before planning the same check again? do i have options to configure Nagios not to wait for a result? THX + greetz, thomas. ---------------------------------------------------------------------------- ----------------- Thomas Zimmer Sal. Oppenheim jr. & Cie. Praktikant / IT Tel.: 069 7134 5319 ---------------------------------------------------------------------------- ------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From is at gentestrana.net Wed Dec 15 16:01:23 2004 From: is at gentestrana.net (Andrea Cerrito) Date: Wed, 15 Dec 2004 16:01:23 +0100 Subject: Error using interface In-Reply-To: <1102689207.7544.20.camel@localhost> References: <1102689207.7544.20.camel@localhost> Message-ID: <1103122884.7859.65.camel@localhost> Il giorno ven, 10-12-2004 alle 15:33 +0100, Andrea Cerrito ha scritto: > Hi list, > sometimes, my web interface got stalled on old host/service status: > nagios is running, the cgi is currently working fine, but results are > old. IE: just now, I had to restart nagios process to reset the status > and get the update working again. > > What should I have to verify? No-one? Researching, I think that the issue may be referred to nagios process, because even mail alarm are freezed. What can I do? -- Enjoy your freedom Andrea Cerrito http://www.gentestrana.net/ Linux User #103564 === (17:57:49) Nietzsche: "niente ? quello che sembra" ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 15 16:08:23 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Dec 2004 16:08:23 +0100 Subject: Nagios 2.0 RPM? In-Reply-To: <41C044A6.1080502@datawire.net> References: <41C044A6.1080502@datawire.net> Message-ID: <41C05367.6040801@op5.se> Chris Stankaitis wrote: > Anyone out there rolling their own Nagios 2.0 RPM? > > I am moving to a distributed Nagios setup, and need Passive host checks > as one of the networks I will be monitoring will be in internal IP > Space, and from researching the list it seems the only way to get a host > check working under the specific situation I am using will be to go the > Nagios 2.0 route. > > I am running RHEL3, and would appreciate a link to a Spec file, or SRPM > to help me package up the nagios-cvs. > It's not terribly difficult to create your own. In a RHEL environment you'll most likely want to sooner or later anyways. Google has proven to be an abundant source of information in the past. You might want to try it. Also, there should be a .spec-file included in the nagios dist. Have a look at it and see if that can fit your needs (possibly with a little tweaking). > --Chris > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcp at rotomalug.org Wed Dec 15 16:27:41 2004 From: jcp at rotomalug.org (Jean-Charles Preaux) Date: Wed, 15 Dec 2004 16:27:41 +0100 Subject: Error Installing 2.0b1 Message-ID: <41C057ED.1010203@rotomalug.org> Hello, I've an error while installing Nagios 2.0b1 : ./configure --prefix=/usr/local/nagios --enable-event-broker --enable-embedded-perl --with-perlcache [OK] make al [OK] make install [OK] make install-init [OK] make install-commandmode [OK] make install-config /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/etc /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/nagios.cfg /usr/local/nagios/etc/nagios.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/cgi.cfg /usr/local/nagios/etc/cgi.cfg-sample /usr/bin/install -c -m 660 -o nagios -g nagios sample-config/resource.cfg /usr/local/nagios/etc/resource.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/template-object/checkcommands.cfg /usr/local/nagios/etc/c heckcommands.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/template-object/contactgroups.cfg /usr/local/nagios/etc/c ontactgroups.cfg-sample /usr/bin/install: ne peut ?valuer `sample-config/template-object/contactgroups.cfg': Aucun fichier ou r?pertoire de ce type make: *** [install-config] Erreur 1 --> can't find sample-config/template-object/contactgroups.cfg any idea ? Friendly JCP ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 15 16:28:24 2004 From: marc at ena.com (Marc Powell) Date: Wed, 15 Dec 2004 09:28:24 -0600 Subject: Parallel Checks? Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835825@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Thomas.Zimmer at oppenheim.de > Sent: Wednesday, December 15, 2004 8:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Parallel Checks? > > Hi all! > i didn?t understand the documentation clearly; does Nagios wait for the > result of a service check, before planning the same check again? Nagios will wait for the results of the service check up to the service check timeout limit. It will then schedule the next check based on the results of that check. For example, if the check returned OK then nagios will use the normal_check_interval to determine approximately when the next check should be. If it returns any other result then nagios will use the retry_check_interval. > > do i have options to configure Nagios not to wait for a result? No, why would you want to? Perhaps there is another way to achieve what you are trying to do. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 15 16:32:30 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Dec 2004 16:32:30 +0100 Subject: Error using interface In-Reply-To: <1103122884.7859.65.camel@localhost> References: <1102689207.7544.20.camel@localhost> <1103122884.7859.65.camel@localhost> Message-ID: <41C0590E.5060407@op5.se> Andrea Cerrito wrote: > Il giorno ven, 10-12-2004 alle 15:33 +0100, Andrea Cerrito ha scritto: > >>Hi list, >>sometimes, my web interface got stalled on old host/service status: >>nagios is running, the cgi is currently working fine, but results are >>old. IE: just now, I had to restart nagios process to reset the status >>and get the update working again. >> >>What should I have to verify? > > > No-one? > Researching, I think that the issue may be referred to nagios process, > because even mail alarm are freezed. > > What can I do? Say what version you're using, for starters, and upgrade if you haven't got the latest stable. You should also make sure you don't have several instances of nagios running. killall -9 nagios should most likely get rid of any stray ones. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkent at magoazul.com Wed Dec 15 09:56:06 2004 From: mkent at magoazul.com (Matthew Kent) Date: Wed, 15 Dec 2004 08:56:06 +0000 Subject: Error Installing 2.0b1 In-Reply-To: <41C057ED.1010203@rotomalug.org> References: <41C057ED.1010203@rotomalug.org> Message-ID: <1103100966.3011.4.camel@fuego> On Wed, 2004-12-15 at 15:27, Jean-Charles Preaux wrote: > Hello, > I've an error while installing Nagios 2.0b1 : > ./configure --prefix=/usr/local/nagios --enable-event-broker > --enable-embedded-perl --with-perlcache [OK] > make al [OK] > make install [OK] > make install-init [OK] > make install-commandmode [OK] > make install-config Yeah the Makefile wasn't updated to reflect the new configs, I've sent in a patch to fix it. For now you could just copy the configs from sample-config/template-object/ by hand. -- Matthew Kent http://magoazul.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Dec 15 17:45:59 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 15 Dec 2004 09:45:59 -0700 Subject: [Nagios-announce] Nagios 2.0b1 Available Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE523F@golden-m.mactec.com> nagios-announce-admin at lists.sourceforge.net wrote: > Nagios 2.0b1 has finally been released and is available for download > from http://www.nagios.org. [snip] > Some of the many changes since Nagios 1.x include: > > - Extensive macro changes (see docs) > - Hostgroup escalations removed [snip] I've searched the archives but have not yet found an answer to a question raised by this post. Perhaps someone can clue me in... I'm wondering why hostgroup escalations have been removed. I've not yet upgraded to Nagios 2, still using 1.2, but I use the hostgroup escalations a bit, and I'm about to add quite a bit more. Will this cause me problems when I get around to upgrading to N2? Perhaps there is a new, more efficient way of escalating notifications for all hosts in a particular group? If so, then I don't really need to know why it was removed, I just want to be sure that a future upgrade won't disrupt my entire escalation process. TIA Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at sympatico.ca Wed Dec 15 17:50:50 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Wed, 15 Dec 2004 11:50:50 -0500 Subject: [Nagios-announce] Nagios 2.0b1 Available In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0DDE523F@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0DDE523F@golden-m.mactec.com> Message-ID: <41C06B6A.2040005@sympatico.ca> SWEETNESS Cook, Garry wrote: >nagios-announce-admin at lists.sourceforge.net wrote: > > >>Nagios 2.0b1 has finally been released and is available for download >>from http://www.nagios.org. >> >> >[snip] > > >>Some of the many changes since Nagios 1.x include: >> >>- Extensive macro changes (see docs) >>- Hostgroup escalations removed >> >> >[snip] > >I've searched the archives but have not yet found an answer to a >question raised by this post. Perhaps someone can clue me in... > >I'm wondering why hostgroup escalations have been removed. I've not yet >upgraded to Nagios 2, still using 1.2, but I use the hostgroup >escalations a bit, and I'm about to add quite a bit more. Will this >cause me problems when I get around to upgrading to N2? > >Perhaps there is a new, more efficient way of escalating notifications >for all hosts in a particular group? If so, then I don't really need to >know why it was removed, I just want to be sure that a future upgrade >won't disrupt my entire escalation process. > >TIA > >Garry W. Cook, CCNA >Network Infrastructure Manager >MACTEC, Inc. - http://www.mactec.com/ >303.273.5050 (Office) - 720.220.1862 (Mobile) > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnagel at willingminds.com Wed Dec 15 17:51:57 2004 From: mnagel at willingminds.com (Mark D. Nagel) Date: Wed, 15 Dec 2004 08:51:57 -0800 Subject: notification In-Reply-To: <41C01E75.8060701@op5.se> References: <20041214183250.GA21716@martos.bme.hu> <20041214183612.GY22568@zippy.toger.us> <200412150900.14550.Michael.Huettig@Medien-Systempartner.de> <41C01E75.8060701@op5.se> Message-ID: <41C06BAD.1030703@willingminds.com> Andreas Ericsson wrote: > > Hostdependencies fill very limited role for very obscure networks now > adays, although I believe it was previously useful. > I had a rare opportunity to use a host dependency recently. It was in the case where we were monitoring the interior gateway of a remote VPN endpoint as well as the exterior IPSec peer address. The parent-based dependency relationship to the exterior address flowed through the Internet path, however, we also wanted to suppress alerts for problems on the interior gateway if the remote Internet link was down, even though the parent relationship of the tunnel flowed through the local concentrator. Using a hostdependency resolved that quite nicely: # don't bother with IPSec test if T1 is down define hostdependency { dependent_host_name vpn-interior-interface host_name t1-interface notification_failure_criteria d,u } Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stinkybob at gmail.com Wed Dec 15 18:19:43 2004 From: stinkybob at gmail.com (StinkyBob) Date: Wed, 15 Dec 2004 11:19:43 -0600 Subject: more problems installing nagios 2.0b1 Message-ID: <2579c6b204121509191b632c6@mail.gmail.com> I commented out those two lines, and added a printf(""); in each one's place just in case it would screw up the if statement. next time I did a "make all", it worked! Thanks, -Stinky -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Wednesday, December 15, 2004 8:49 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] more problems installing nagios 2.0b1 StinkyBob wrote: > Here are the errors I'm getting when compiling 2.0b1. Any ideas? > (SunFire V210, Solaris 8) > setenv(3) and unsetenv(3) are BSD'isms. I don't think they're available on solaris 8. Comment them out and try again (they're not exactly crucial to operations anyway). You might want to send email like this to nagios-devel in the future. > -Stinky > > -------------------------------------------------------------------------- > [machine@/usr/local/src/nagios-2.0b1]$ make all > cd ./base && make > [unnecessary compiling deleted here] > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o > nebmods.o checks.o config.o commands.o events.o flapping.o logging.o > notifications.o sehandlers.o utils.o retention-base.o > xretention-base.o comments-base.o xcomments-base.o objects-base.o > xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o > xperfdata-base.o downtime-base.o xdowntime-base.o -lm -lnsl > -lsocket -lpthread -ldl -lrt > Undefined first referenced > symbol in file > unsetenv utils.o > setenv utils.o > ld: fatal: Symbol referencing errors. No output written to nagios > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `nagios' > Current working directory /usr/local/src/nagios-2.0b1/base > *** Error code 1 > make: Fatal error: Command failed for target `all' > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Wed Dec 15 19:02:47 2004 From: zsitfa at axelero.hu (=?iso-8859-2?Q?Horv=E1th_Tam=E1s?=) Date: Wed, 15 Dec 2004 19:02:47 +0100 Subject: notification Message-ID: <200412151802.iBFI2eoM067799@fe02.axelero.hu> Hi Gabor! Try to make the switch which the Nagios boksz is directly connectetd to the parent of the other hosts. I use this on our Nagios installation and works very well. Bye, Tamas! ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott_yem at agilent.com Wed Dec 15 19:45:18 2004 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Wed, 15 Dec 2004 10:45:18 -0800 Subject: [Nagios-announce] Nagios 2.0b1 Available Message-ID: <65213341217E8D458E7C78E6640C7495044BF8B7@waglmb01.labs.agilent.com> You can find the documentation on the http://www.nagios.org/docs/ site. I have not found the answers to your question yet, but it does have quite a bit on the changes and configuration information. Scott Yem Research Computing Services Agilent Laboratories -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Cook, Garry Sent: Wednesday, December 15, 2004 8:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: [Nagios-announce] Nagios 2.0b1 Available nagios-announce-admin at lists.sourceforge.net wrote: > Nagios 2.0b1 has finally been released and is available for download > from http://www.nagios.org. [snip] > Some of the many changes since Nagios 1.x include: > > - Extensive macro changes (see docs) > - Hostgroup escalations removed [snip] I've searched the archives but have not yet found an answer to a question raised by this post. Perhaps someone can clue me in... I'm wondering why hostgroup escalations have been removed. I've not yet upgraded to Nagios 2, still using 1.2, but I use the hostgroup escalations a bit, and I'm about to add quite a bit more. Will this cause me problems when I get around to upgrading to N2? Perhaps there is a new, more efficient way of escalating notifications for all hosts in a particular group? If so, then I don't really need to know why it was removed, I just want to be sure that a future upgrade won't disrupt my entire escalation process. TIA Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kleclair at tsgny.com Wed Dec 15 19:48:29 2004 From: kleclair at tsgny.com (Keith LeClaire Jr) Date: Wed, 15 Dec 2004 13:48:29 -0500 Subject: NRPE on windows 2003 enterpise Message-ID: <200412151349921.SM01904@DumbAss> Hello all, I am using nagios w/ NRPE to monitor internal services on multiple linux and windows server of various versions. I seem to be having intermittent problems with the NRPE Client on windows 2003 enterprise servers. It seems to lock up/shutdown and get a lot of SSL handhake errors. Does anyone else experience these issues? Thanks, Keith ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Dec 15 20:21:33 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 15 Dec 2004 12:21:33 -0700 Subject: [Nagios-announce] Nagios 2.0b1 Available Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE524F@golden-m.mactec.com> Thanks. I didn't realize that there were docs posted for 2.0 at this stage. I found an answer in the What's New section: Hostgroup Changes * Hostgroup escalations removed - Hostgroup escalations have been removed. Their functionality can be duplicated by using the hostgroup_name directive in hostgroup definitions. Although I must admit, this statement does not make a great deal of sense to me. I guess I'll figure it out when it comes time to upgrade. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) nagios-users-admin at lists.sourceforge.net wrote: > You can find the documentation on the > http://www.nagios.org/docs/ site. > I have not found the answers to your question yet, but it does have > quite a bit on the changes and configuration information. > > Scott Yem > Research Computing Services > Agilent Laboratories > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Cook, > Garry Sent: Wednesday, December 15, 2004 8:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RE: [Nagios-announce] Nagios 2.0b1 Available > > nagios-announce-admin at lists.sourceforge.net wrote: >> Nagios 2.0b1 has finally been released and is available for download >> from http://www.nagios.org. > [snip] >> Some of the many changes since Nagios 1.x include: >> >> - Extensive macro changes (see docs) >> - Hostgroup escalations removed > [snip] > > I've searched the archives but have not yet found an answer to a > question raised by this post. Perhaps someone can clue me in... > > I'm wondering why hostgroup escalations have been removed. > I've not yet > upgraded to Nagios 2, still using 1.2, but I use the hostgroup > escalations a bit, and I'm about to add quite a bit more. Will this > cause me problems when I get around to upgrading to N2? > > Perhaps there is a new, more efficient way of escalating notifications > for all hosts in a particular group? If so, then I don't > really need to > know why it was removed, I just want to be sure that a future upgrade > won't disrupt my entire escalation process. > > TIA > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.273.5050 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 15 21:03:55 2004 From: benny at bennyvision.com (C. Bensend) Date: Wed, 15 Dec 2004 14:03:55 -0600 (CST) Subject: [Fwd: HP-UX plugins v1.3.1 available as prebuilt binaries] Message-ID: <3937.134.244.169.17.1103141057.squirrel@134.244.169.17> Ooops, sent this from the wrong account. Here is the original message: Benny ---------------------------- Original Message ---------------------------- Subject: HP-UX plugins v1.3.1 available as prebuilt binaries From: "C. Bensend" Date: Wed, December 15, 2004 1:05 pm To: nagios-users at lists.sourceforge.net -------------------------------------------------------------------------- Hey folks, I finally got off my lazy butt, and built a modern set of plugins for HP-UX, instead of the CVS build from 2002. ;) They can be found here: http://www.bennyvision.com/projects/nagios/index.php They include the base number of plugins that are built without additional software installed, and they _should_ work on either PA-RISC 1.1 or PA-RISC 2.0 hosts. I have builds for 10.20 and 11.00. I'll try to get a build done for 11i, but for now, the 11.00 ones should work just fine on 11i. Once 1.4.x is released, I'll build those as well. As always do NOT email any of the Nagios lists regarding these plugins - contact me (nagios at bennyvision.com) directly. The Nagios development team is not responsible for my builds, _I_ am. Please let me know if you run into any problems with them. Benny -- "... i want to be a farting burping maniac." -- "kerry", on MentalDischarge -- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim.washburn at replacements.com Wed Dec 15 21:37:05 2004 From: tim.washburn at replacements.com (Timothy Washburn) Date: Wed, 15 Dec 2004 15:37:05 -0500 Subject: Checking Hard drive space Message-ID: <56FB69819290E143870CF1073BA7AA7909BD7142@RL2KEXCH1.replacements.com> I just have one quick question that should not be to hard to answer. I am doing a check on Windows Server to check hard drive space. In the status information column it returns the value of "check_nt (nagios-plugins 1.3.1) 1.7.2.3". My question is how can I force Nagios to return the size of the hard drive to this column? -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.stankaitis at datawire.net Wed Dec 15 19:26:49 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Wed, 15 Dec 2004 13:26:49 -0500 Subject: Nagios 2.0 RPM? In-Reply-To: <41C05367.6040801@op5.se> References: <41C044A6.1080502@datawire.net> <41C05367.6040801@op5.se> Message-ID: <41C081E9.4060204@datawire.net> Andreas Ericsson wrote: > > It's not terribly difficult to create your own. In a RHEL environment > you'll most likely want to sooner or later anyways. Google has proven to > be an abundant source of information in the past. You might want to try > it. Also, there should be a .spec-file included in the nagios dist. Have > a look at it and see if that can fit your needs (possibly with a little > tweaking). > I got the included spec file working by making the following Hacks, the spec file in the Nagios tarball is a v 1.1 spec file.. I don't think that anything I did was particulary horrid.. please read my comments and throw in your two cents as to the effect of what I did. 1) Commented out the following... was getting "File not found errors in build I think they are only used for the nagios-devel RPM which I am not interested in. #%{__install} -m0644 common/locations.h %{buildroot}%{_includedir}/nagios/ #%{__install} -m0644 common/common.h common/config.h common/locations.h ./cgi/cgiutils.h cgi/popen.h %{buildroot}%{_includedir}/nagios/ 2) commented out... does not exist in Nagios 2.0b1 tarball in the contrib dir... not that big a deal I'll have to make my own conf.d/nagios.conf (will recycle my old nagios 1.x conf) #%{__install} -m0644 contrib/htaccess.sample %{buildroot}%{_sysconfdir}/httpd/conf.d/nagios.conf 3) from this section for some reason I was always getting "file does not exist when building RPM... commented out the convercfg and mini_epn... I know I don't need the convertcfg... I am not 100% sure what the mini_epn does... so this is the main thing that I am not sure of, if the lack of the mini_epn will break things.. for f in traceroute.cgi; do install -m 775 $f /var/tmp/nagios-buildroot/usr/lib/nagios/cgi; done for f in mini_epn convertcfg; do install -m 775 $f /usr/sbin; done + mv /var/tmp/nagios-buildroot/usr/lib/nagios/cgi/convertcfg /var/tmp/nagios-buildroot/usr/lib/nagios/ mv: cannot stat `/var/tmp/nagios-buildroot/usr/lib/nagios/cgi/convertcfg': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.97064 (%install) I commented out the convertcfg, got the same message above for the mini_epn, weird thing is that I go into my BUILD Dir and they are sitting there in the contrib dir... so it looks like it should work. %makeinstall -C contrib INSTALL="%{__install}" INSTALL_OPTS="" CGIDIR="%{buildroot}%{_libdir}/nagios/cgi" #%{__mv} -f %{buildroot}%{_libdir}/nagios/cgi/convertcfg %{buildroot}%{_libdir}/nagios/ #%{__mv} -f %{buildroot}%{_libdir}/nagios/cgi/mini_epn %{buildroot}%{_bindir} ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Scholten at iconz.net Wed Dec 15 22:00:44 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 16 Dec 2004 10:00:44 +1300 Subject: Checking Hard drive space In-Reply-To: <56FB69819290E143870CF1073BA7AA7909BD7142@RL2KEXCH1.replacements.com> References: <56FB69819290E143870CF1073BA7AA7909BD7142@RL2KEXCH1.replacements.com> Message-ID: <41C0A5FC.3010804@iconz.net> Timothy Washburn schrieb: > I just have one quick question that should not be to hard to answer. I > am doing a check on Windows Server to check hard drive space. In the > status information column it returns the value of ?check_nt > (nagios-plugins 1.3.1) 1.7.2.3?. My question is how can I force Nagios > to return the size of the hard drive to this column? > Please post more informations. You installed NSClient (i guess, because you use check_nt) Please post relevant parts of the checkcommands.cfg and services.cfg. I have a check_disk check like the following, using NSClient on the Windowsbox: define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } but it does not show the size of the harddisk (pretty boring since it normally doesn't change) but accepts the harddisk and two thresholds. in services i use: check_command check_nt_disk!c!90!95 which checks drive c and warns if more the 90% is full and gives a critical if more than 95% are full. Hope that helps, otherwise please include much more Information. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at sympatico.ca Wed Dec 15 23:22:37 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Wed, 15 Dec 2004 17:22:37 -0500 Subject: Direct Command Line Execution instead of Macros Message-ID: <41C0B92D.9040304@sympatico.ca> Question - has direct command line execution been removed from 2.01b? for instance if I had check_command "check_ping www.google.com etc etc" - has this been removed in favour of using defined macro commands as check_ping!www.google.com? If I wanted to use direct command line, how can I do this with 2.01b? In 1.2 it was a breeze.... Mark. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Wed Dec 15 23:57:10 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 15 Dec 2004 16:57:10 -0600 Subject: Direct Command Line Execution instead of Macros In-Reply-To: <41C0B92D.9040304@sympatico.ca> References: <41C0B92D.9040304@sympatico.ca> Message-ID: <1103151430.12572.61.camel@localhost> On Wed, 2004-12-15 at 16:22 -0600, Mark Nadir wrote: > Question - has direct command line execution been removed from > 2.01b? > for instance if I had check_command "check_ping www.google.com etc > etc" > - has this been removed in favour of using defined macro commands as > check_ping!www.google.com? > > If I wanted to use direct command line, how can I do this with 2.01b? > In > 1.2 it was a breeze.... Did you try it and it didn't work? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.henry at axegroup.com.au Thu Dec 16 02:07:43 2004 From: michael.henry at axegroup.com.au (Michael Henry) Date: Thu, 16 Dec 2004 12:07:43 +1100 Subject: NSCA client Message-ID: <4A79920EBF3C1445955A00C163CA39781ED858@shadow.axegroup.local> Hello, I'd like to write a log4j appender that will send ERROR or FATAL events directly to the NSCA daemon on my monitoring host. Before I start: Has anyone already done this? Is there any documentation for the NSCA protocol? A telnet to the server is immediately closed so I suppose there's more to it. Thanks, Michael ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at sympatico.ca Thu Dec 16 02:10:39 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Wed, 15 Dec 2004 20:10:39 -0500 Subject: Direct Command Line Execution instead of Macros In-Reply-To: <1103151430.12572.61.camel@localhost> References: <41C0B92D.9040304@sympatico.ca> <1103151430.12572.61.camel@localhost> Message-ID: <41C0E08F.4090201@sympatico.ca> Unfortunately, no it didn't work. Nagios complained that the direct commands were not defined in checkcommands.cgi, even though they were enclosed within quotation marks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomasz at hostmaster.org Thu Dec 16 02:54:38 2004 From: thomasz at hostmaster.org (Thomas Zehetbauer) Date: Thu, 16 Dec 2004 02:54:38 +0100 Subject: Nagios 2.0 RPM? In-Reply-To: <41C044A6.1080502@datawire.net> References: <41C044A6.1080502@datawire.net> Message-ID: <1103162078.4260.68.camel@hostmaster.org> I don't think Nagios can be reasonably packaged as long as you have to specify --with-cgiurl and --with-htmurl at compile stage. Tom -- T h o m a s Z e h e t b a u e r ( TZ251 ) PGP encrypted mail preferred - KeyID 96FFCB89 finger thomasz at hostmaster.org for key Experience is what you get when you expected something else. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 481 bytes Desc: This is a digitally signed message part URL: From thomasz at hostmaster.org Thu Dec 16 02:58:40 2004 From: thomasz at hostmaster.org (Thomas Zehetbauer) Date: Thu, 16 Dec 2004 02:58:40 +0100 Subject: Nagios 2.0b1 compile error Message-ID: <1103162320.4260.73.camel@hostmaster.org> make[1]: Entering directory `/home/thomasz/src/nagios-2.0b1/module' gcc -g -O2 -DHAVE_CONFIG_H -o helloworld.o helloworld.c -shared /usr/bin/ld: /tmp/ccSZvsrv.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /tmp/ccSZvsrv.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [helloworld.o] Error 1 make[1]: Leaving directory `/home/thomasz/src/nagios-2.0b1/module' make: *** [all] Error 2 Tom -- T h o m a s Z e h e t b a u e r ( TZ251 ) PGP encrypted mail preferred - KeyID 96FFCB89 finger thomasz at hostmaster.org for key UNIX is user-friendly ... it's just selective about who it's friends are -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 481 bytes Desc: This is a digitally signed message part URL: From nagios at nagios.org Thu Dec 16 04:19:36 2004 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 15 Dec 2004 21:19:36 -0600 Subject: Nagios 2.0b1 compile error In-Reply-To: <1103162320.4260.73.camel@hostmaster.org> References: <1103162320.4260.73.camel@hostmaster.org> Message-ID: <41C0AA68.10379.2E3D17B@localhost> What OS are you trying to compile on? On 16 Dec 2004 at 2:58, Thomas Zehetbauer wrote: > make[1]: Entering directory `/home/thomasz/src/nagios-2.0b1/module' > gcc -g -O2 -DHAVE_CONFIG_H -o helloworld.o helloworld.c -shared > /usr/bin/ld: /tmp/ccSZvsrv.o: relocation R_X86_64_32 against `a local > symbol' can not be used when making a shared object; recompile with > -fPIC /tmp/ccSZvsrv.o: could not read symbols: Bad value collect2: ld > returned 1 exit status make[1]: *** [helloworld.o] Error 1 make[1]: > Leaving directory `/home/thomasz/src/nagios-2.0b1/module' make: *** > [all] Error 2 > > Tom > > -- > T h o m a s Z e h e t b a u e r ( TZ251 ) > PGP encrypted mail preferred - KeyID 96FFCB89 > finger thomasz at hostmaster.org for key > > UNIX is user-friendly ... it's just selective about who it's friends > are > > > > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nagios.org Thu Dec 16 04:19:36 2004 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 15 Dec 2004 21:19:36 -0600 Subject: Nagios 2.0 RPM? In-Reply-To: <1103162078.4260.68.camel@hostmaster.org> References: <41C044A6.1080502@datawire.net> Message-ID: <41C0AA68.29305.2E3D127@localhost> Dag Wieers has been building Nagios RPMs for some time now: http://dag.wieers.com/packages/nagios/ His spec file (probably better than the one supplied in the Nagios distribution) can be found at: http://dag.wieers.com/packages/nagios/nagios.spec I suspect Dag will be building RPMs for 2.0 in the near future. I'll drop him a note to check on this. On 16 Dec 2004 at 2:54, Thomas Zehetbauer wrote: > I don't think Nagios can be reasonably packaged as long as you have to > specify --with-cgiurl and --with-htmurl at compile stage. > > Tom > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomasz at hostmaster.org Thu Dec 16 05:32:06 2004 From: thomasz at hostmaster.org (Thomas Zehetbauer) Date: Thu, 16 Dec 2004 05:32:06 +0100 Subject: Nagios 2.0b1 compile error In-Reply-To: <41C0AA68.10379.2E3D17B@localhost> References: <41C0AA68.10379.2E3D17B@localhost> Message-ID: <1103171526.4260.84.camel@hostmaster.org> On Wed, 2004-12-15 at 21:19 -0600, Ethan Galstad wrote: > What OS are you trying to compile on? Fedora Core 3 on x86_64. One more bug: Error in configuration file '/etc/nagios/nagios.cfg' - Line 869 (UNKNOWN VARIABLE) nagios.cfg(869): max_embedded_perl_calls=0 Tom -- T h o m a s Z e h e t b a u e r ( TZ251 ) PGP encrypted mail preferred - KeyID 96FFCB89 finger thomasz at hostmaster.org for key To vote in an election does not mean to have a choice! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 481 bytes Desc: This is a digitally signed message part URL: From nagios at nagios.org Thu Dec 16 06:21:02 2004 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 15 Dec 2004 23:21:02 -0600 Subject: Nagios 2.0b1 compile error In-Reply-To: <1103171526.4260.84.camel@hostmaster.org> References: <41C0AA68.10379.2E3D17B@localhost> Message-ID: <41C0C6DE.26321.3530404@localhost> Okay, I'm posting a possible fix to CVS shortly. I believe the gcc needs an "-fPIC" when compiling the module. Support fo rhe max_embedded_perl_calls was removed a few days back, but I didn't remove it from the config file. This will be fixed in CVS as well. Give the latest CVS snapshot once the patches get applied and see if that helps. On 16 Dec 2004 at 5:32, Thomas Zehetbauer wrote: > On Wed, 2004-12-15 at 21:19 -0600, Ethan Galstad wrote: > > What OS are you trying to compile on? > > Fedora Core 3 on x86_64. > > One more bug: > > Error in configuration file '/etc/nagios/nagios.cfg' - Line 869 > (UNKNOWN VARIABLE) nagios.cfg(869): max_embedded_perl_calls=0 > > Tom > > -- > T h o m a s Z e h e t b a u e r ( TZ251 ) > PGP encrypted mail preferred - KeyID 96FFCB89 > finger thomasz at hostmaster.org for key > > To vote in an election does not mean to have a choice! > > > > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglists at tblive.com Thu Dec 16 06:53:45 2004 From: mailinglists at tblive.com (Ryan Brown) Date: Thu, 16 Dec 2004 00:53:45 -0500 Subject: SNMP Error while getting HD space Message-ID: I have 1 machine that is returning the error: ERROR: Received noSuchName(2) error-status at error-index 3. while I try to use a service to check available hard drive space. In my services.cfg the service that is failing on this one host is: define service { use generic-service host_name box.domain.com service_description DISK-ROOT check_command check_disk_snmp!80!90!1 } I am also using this same service on many other boxes with no problems at all. Just for some reason this new server is failing. I ran snmpwalk on the server in question and see. root at shadowcat [/etc/nagios]# snmpwalk -Os -c public -v 1 box.domain.com system sysDescr.0 = STRING: Linux box.domain.com 2.4.28 #1 SMP Sat Dec 4 03:51:39 EST 2004 i686 sysObjectID.0 = OID: netSnmpAgentOIDs.10 sysUpTime.0 = Timeticks: (8688684) 1 day, 0:08:06.84 sysContact.0 = STRING: root at Unknown sysName.0 = STRING: box.domain.com sysLocation.0 = STRING: Unknown sysORLastChange.0 = Timeticks: (22) 0:00:00.22 sysORID.1 = OID: ifMIB sysORID.2 = OID: snmpMIB sysORID.3 = OID: tcpMIB sysORID.4 = OID: ip sysORID.5 = OID: udpMIB sysORID.6 = OID: vacmBasicGroup sysORID.7 = OID: snmpFrameworkMIBCompliance sysORID.8 = OID: snmpMPDCompliance sysORID.9 = OID: usmMIBCompliance sysORDescr.1 = STRING: The MIB module to describe generic objects for network interface sub-layers sysORDescr.2 = STRING: The MIB module for SNMPv2 entities sysORDescr.3 = STRING: The MIB module for managing TCP implementations sysORDescr.4 = STRING: The MIB module for managing IP and ICMP implementations sysORDescr.5 = STRING: The MIB module for managing UDP implementations sysORDescr.6 = STRING: View-based Access Control Model for SNMP. sysORDescr.7 = STRING: The SNMP Management Architecture MIB. sysORDescr.8 = STRING: The MIB for Message Processing and Dispatching. sysORDescr.9 = STRING: The management information definitions for the SNMP User-based Security Model. sysORUpTime.1 = Timeticks: (11) 0:00:00.11 sysORUpTime.2 = Timeticks: (11) 0:00:00.11 sysORUpTime.3 = Timeticks: (11) 0:00:00.11 sysORUpTime.4 = Timeticks: (13) 0:00:00.13 sysORUpTime.5 = Timeticks: (13) 0:00:00.13 sysORUpTime.6 = Timeticks: (16) 0:00:00.16 sysORUpTime.7 = Timeticks: (22) 0:00:00.22 sysORUpTime.8 = Timeticks: (22) 0:00:00.22 sysORUpTime.9 = Timeticks: (22) 0:00:00.22 My checkcommands.cfg has: define command { command_name check_disk_snmp command_line $USER1$/check_disk_snmp.pl -m $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -d $ARG3$ } Does anyone have any pointers or ideas on where I can start to diagnose this problem? Thanks Ryan Brown ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephan.janosch at interface-business.de Thu Dec 16 09:33:52 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 16 Dec 2004 09:33:52 +0100 Subject: NRPE on windows 2003 enterpise In-Reply-To: <200412151349921.SM01904@DumbAss> References: <200412151349921.SM01904@DumbAss> Message-ID: <41C14870.70205@interface-business.de> Keith LeClaire Jr wrote: > Hello all, > I am using nagios w/ NRPE to monitor internal services on multiple linux > and windows server of various versions. I seem to be having intermittent > problems with the NRPE Client on windows 2003 enterprise servers. It seems > to lock up/shutdown and get a lot of SSL handhake errors. > > Does anyone else experience these issues? > > Thanks, > Keith Hi! Make sure, that your check_nrpe plugin is also compiled with SSL-support. Otherwise it _should_ *g* work. Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephan.janosch at interface-business.de Thu Dec 16 09:37:10 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 16 Dec 2004 09:37:10 +0100 Subject: NSCA client In-Reply-To: <4A79920EBF3C1445955A00C163CA39781ED858@shadow.axegroup.local> References: <4A79920EBF3C1445955A00C163CA39781ED858@shadow.axegroup.local> Message-ID: <41C14936.2080901@interface-business.de> Michael Henry wrote: > Hello, > > I'd like to write a log4j appender that will send ERROR or FATAL > events directly to the NSCA daemon on my monitoring host. > > Before I start: Has anyone already done this? > > Is there any documentation for the NSCA protocol? A telnet to the > server is immediately closed so I suppose there's more to it. > > Thanks, > > Michael Perhaps you want to look into the source of send_nsca? There you should find your answers. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephan.janosch at interface-business.de Thu Dec 16 09:45:27 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 16 Dec 2004 09:45:27 +0100 Subject: SNMP Error while getting HD space In-Reply-To: References: Message-ID: <41C14B27.2030303@interface-business.de> Ryan Brown wrote: > .... > > Does anyone have any pointers or ideas on where I can start to diagnose this > problem? > > Thanks > > Ryan Brown Did you try to use the IP at the host definitionen? define host { ... host_name address ..} define service { ... host_name ... } Then $HOSTADRESS$ should contain the IP address of the host. It's only an idea, because I don't use nagios 2 yet. the $HOSTADDRESS$ macro is only aviable at nagios 2.x. Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at proy.org Thu Dec 16 09:51:15 2004 From: nagios-user at proy.org (Patrick Proy) Date: Thu, 16 Dec 2004 09:51:15 +0100 Subject: SNMP Error while getting HD space In-Reply-To: References: Message-ID: <20041216085115.BF63DAB6E1@www.manubulon.com> The error "noSuchName(2)" means that an OID cannot be read. Considering the output of snmpwalk it's not surprising. Check your snmp daemon configuration to see what you can read with specific community. Patrick nagios AT proy.org > de Ryan Brown > Envoy? : jeudi 16 d?cembre 2004 06:54 > ? : nagios-users at lists.sourceforge.net > Objet : [Nagios-users] SNMP Error while getting HD space > > I have 1 machine that is returning the error: ERROR: Received > noSuchName(2) > error-status at error-index 3. while I try to use a service to check > available hard drive space. > > In my services.cfg the service that is failing on this one host is: > > define service { > use generic-service > > host_name box.domain.com > service_description DISK-ROOT > check_command check_disk_snmp!80!90!1 > } > > I am also using this same service on many other boxes with no > problems at > all. Just for some reason this new server is failing. > > I ran snmpwalk on the server in question and see. > > root at shadowcat [/etc/nagios]# snmpwalk -Os -c public -v 1 > box.domain.com > system ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MarkCooper at bulldogdsl.com Thu Dec 16 10:31:20 2004 From: MarkCooper at bulldogdsl.com (Cooper, Mark) Date: Thu, 16 Dec 2004 09:31:20 -0000 Subject: New plugin - check_tacacs_plus Message-ID: Script to check tacacs+ availability:- #!/usr/bin/perl -w # # $Hashbang: check_tacacs_plus.pl,v 1.2 2004/12/15 15:42:01 pfarmer Exp $ # # Copyright Notice: GPL # # $Id: check_tacacs_plus.pl,v 1.2 2004/12/15 15:42:01 pfarmer Exp $ # use strict; use lib "/usr/local/nagios/libexec"; use utils qw($TIMEOUT %ERRORS &print_revision &support); use Authen::TacacsPlus; use Getopt::Long; use vars qw($opt_V $opt_h $opt_H $opt_t $opt_k $opt_u $opt_p $verbose $PROGNAME); $PROGNAME = "check_tacacs_plus"; sub print_help (); sub print_usage (); Getopt::Long::Configure('bundling'); GetOptions( "V" => \$opt_V, "version" => \$opt_V, "h" => \$opt_h, "help" => \$opt_h, "t=i" => \$opt_t, "timeout=i" => \$opt_t, "H=s" => \$opt_H, "hostname=s" => \$opt_H, "k=s" => \$opt_k, "key=s" => \$opt_k, "u=s" => \$opt_u, "username=s" => \$opt_u, "p=s" => \$opt_p, "password=s" => \$opt_p, "v" => \$verbose,"verbose" => \$verbose ); if ($opt_V) { print_revision($PROGNAME,'$Revision: 1.2 $ '); exit $ERRORS{'OK'}; } if ($opt_h) { print_help(); exit $ERRORS{'OK'}; } if (!$opt_H) { print "Host missing!\n"; print_usage(); exit $ERRORS{'UNKNOWN'}; } if (!$opt_k) { print_usage(); exit $ERRORS{'UNKNOWN'}; } if (!$opt_u) { print_usage(); exit $ERRORS{'UNKNOWN'}; } if (!$opt_p) { print_usage(); exit $ERRORS{'UNKNOWN'}; } if (!$opt_t) { $opt_t = 60; } my $tac = new Authen::TacacsPlus(Host => $opt_H, Key => $opt_k, Timeout => $opt_t); unless ($tac){ print "CRITICAL: ",Authen::TacacsPlus::errmsg(),"\n"; exit $ERRORS{'CRITICAL'}; } if ($tac->authen($opt_u,$opt_p)){ print "OK: Tacacs Authentication OK\n"; exit $ERRORS{'OK'}; } else { print "WARNING: ",Authen::TacacsPlus::errmsg(),"\n"; exit $ERRORS{'WARNING'}; } $tac->close(); sub print_help() { print_revision($PROGNAME,'$Revision: 1.2 $ '); print "Copyright (c) 2004 Peter Farmer/Mark Cooper\n"; print "\n"; print "Check if a tacacs service is running and that a user can authenticate\n"; print "\n"; print_usage(); print "\n"; print " The server providing the tacacs service\n"; print " The tacacs key\n"; print " A username that will authenticate OK with tacacs\n"; print " The password for \n"; print "\n"; support(); } sub print_usage () { print "Usage: \n"; print " $PROGNAME -H host -k key -u user -p password\n"; print " $PROGNAME [-h | --help]\n"; print " $PROGNAME [-V | --version]\n"; } ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 16 10:32:33 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Dec 2004 10:32:33 +0100 Subject: [Nagios-announce] Nagios 2.0b1 Available In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0DDE524F@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0DDE524F@golden-m.mactec.com> Message-ID: <41C15631.8010409@op5.se> Cook, Garry wrote: > Thanks. I didn't realize that there were docs posted for 2.0 at this > stage. I found an answer in the What's New section: > > Hostgroup Changes > > * Hostgroup escalations removed - Hostgroup escalations have been > removed. Their functionality can be duplicated by using the > hostgroup_name directive in hostgroup definitions. > It's supposed to say; Their functionality can be duplicated by using the hostgroup_name *from* hostgroup definitions *in host escalations*. At least that's how it works. > Although I must admit, this statement does not make a great deal of > sense to me. I guess I'll figure it out when it comes time to upgrade. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.273.5050 (Office) - 720.220.1862 (Mobile) > > nagios-users-admin at lists.sourceforge.net wrote: > >>You can find the documentation on the >>http://www.nagios.org/docs/ site. >>I have not found the answers to your question yet, but it does have >>quite a bit on the changes and configuration information. >> >>Scott Yem >>Research Computing Services >>Agilent Laboratories >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Cook, >>Garry Sent: Wednesday, December 15, 2004 8:46 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] RE: [Nagios-announce] Nagios 2.0b1 Available >> >>nagios-announce-admin at lists.sourceforge.net wrote: >> >>>Nagios 2.0b1 has finally been released and is available for download >>>from http://www.nagios.org. >> >>[snip] >> >>>Some of the many changes since Nagios 1.x include: >>> >>>- Extensive macro changes (see docs) >>>- Hostgroup escalations removed >> >>[snip] >> >>I've searched the archives but have not yet found an answer to a >>question raised by this post. Perhaps someone can clue me in... >> >>I'm wondering why hostgroup escalations have been removed. >>I've not yet >>upgraded to Nagios 2, still using 1.2, but I use the hostgroup >>escalations a bit, and I'm about to add quite a bit more. Will this >>cause me problems when I get around to upgrading to N2? >> >>Perhaps there is a new, more efficient way of escalating notifications >>for all hosts in a particular group? If so, then I don't >>really need to >>know why it was removed, I just want to be sure that a future upgrade >>won't disrupt my entire escalation process. >> >>TIA >> >>Garry W. Cook, CCNA >>Network Infrastructure Manager >>MACTEC, Inc. - http://www.mactec.com/ >>303.273.5050 (Office) - 720.220.1862 (Mobile) > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 16 10:35:50 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Dec 2004 10:35:50 +0100 Subject: Nagios 2.0 RPM? In-Reply-To: <1103162078.4260.68.camel@hostmaster.org> References: <41C044A6.1080502@datawire.net> <1103162078.4260.68.camel@hostmaster.org> Message-ID: <41C156F6.1070004@op5.se> Thomas Zehetbauer wrote: > I don't think Nagios can be reasonably packaged as long as you have to > specify --with-cgiurl and --with-htmurl at compile stage. > Ofcourse it can, as long as it's only packaged for a specific distribution each time (where paths and such are known). It's not terribly difficult to make it defineable at build-time either and distribute a source-rpm. > Tom > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irger.armin at web.de Thu Dec 16 10:41:41 2004 From: irger.armin at web.de (irger.armin) Date: Thu, 16 Dec 2004 10:41:41 +0100 Subject: Experience with GSM-Modem (Nokia 30 / Siemens TC35i Terminal / Siemens MC35i Terminal) and Digi One SP device server Message-ID: <41C15855.3010101@web.de> Hallo, we got lot of problems with the sms sending over our external isdn modem. So we decide to buy a external gsm-modem. We have found three models. - Nokia 30 - Siemens TC35i Terminal - Siemens MC35i Terminal I want to know if someone of you got's experience with one of this modems. The Digi One SP device server is needed, because the server is in the basement and there is no connection to a gsm network. With the Digi One SP the server can access the gsm-modem in the first floor over rs232. We us SuSE 9.1 on a "old" compaq. Greetings Armin Irger ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Thu Dec 16 11:24:56 2004 From: gmueller at netways.de (Gerd Mueller) Date: Thu, 16 Dec 2004 11:24:56 +0100 (CET) Subject: New plugin - check_tacacs_plus In-Reply-To: References: Message-ID: <20041216102456.EB9D14F40EB@desire.netways.de> Hi Cooper, it would be nice if you could uploaded on www.nagiosexchange.org Thank you - Gerd Mueller (Gerd.Mueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=266 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Thu Dec 16 11:57:16 2004 From: gmueller at netways.de (Gerd Mueller) Date: Thu, 16 Dec 2004 11:57:16 +0100 (CET) Subject: Experience with GSM-Modem (Nokia 30 / Siemens TC35i Terminal / Siemens MC35i Terminal) and Digi One SP device server In-Reply-To: <41C15855.3010101@web.de> References: <41C15855.3010101@web.de> Message-ID: <20041216105716.B7E254F40EB@desire.netways.de> Hi irger.armin we are using the falcom twist gsm modem together with the sms-servertools and works realy stable. sending an receiving sms is very simple. - Gerd Mueller (Gerd.Mueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=269 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglists at tblive.com Thu Dec 16 15:53:30 2004 From: mailinglists at tblive.com (Ryan Brown) Date: Thu, 16 Dec 2004 09:53:30 -0500 Subject: SNMP Error while getting HD space In-Reply-To: <41C14B27.2030303@interface-business.de> References: <41C14B27.2030303@interface-business.de> Message-ID: Yes I did. Same problem. Ryan -----Original Message----- From: Stephan Janosch [mailto:stephan.janosch at interface-business.de] Sent: Thursday, December 16, 2004 3:45 AM To: Ryan Brown Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SNMP Error while getting HD space Ryan Brown wrote: > .... > > Does anyone have any pointers or ideas on where I can start to diagnose this > problem? > > Thanks > > Ryan Brown Did you try to use the IP at the host definitionen? define host { ... host_name address ..} define service { ... host_name ... } Then $HOSTADRESS$ should contain the IP address of the host. It's only an idea, because I don't use nagios 2 yet. the $HOSTADDRESS$ macro is only aviable at nagios 2.x. Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglists at tblive.com Thu Dec 16 15:54:37 2004 From: mailinglists at tblive.com (Ryan Brown) Date: Thu, 16 Dec 2004 09:54:37 -0500 Subject: SNMP Error while getting HD space In-Reply-To: <20041216085115.BF63DAB6E1@www.manubulon.com> References: <20041216085115.BF63DAB6E1@www.manubulon.com> Message-ID: In my snmp config I just have one line. rocommunity public This is the same config that I use on every server. What should it be to read the required OID? Thanks Ryan -----Original Message----- From: Patrick Proy [mailto:nagios-user at proy.org] Sent: Thursday, December 16, 2004 3:51 AM To: 'Ryan Brown'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SNMP Error while getting HD space The error "noSuchName(2)" means that an OID cannot be read. Considering the output of snmpwalk it's not surprising. Check your snmp daemon configuration to see what you can read with specific community. Patrick nagios AT proy.org > de Ryan Brown > Envoy? : jeudi 16 d?cembre 2004 06:54 > ? : nagios-users at lists.sourceforge.net > Objet : [Nagios-users] SNMP Error while getting HD space > > I have 1 machine that is returning the error: ERROR: Received > noSuchName(2) > error-status at error-index 3. while I try to use a service to check > available hard drive space. > > In my services.cfg the service that is failing on this one host is: > > define service { > use generic-service > > host_name box.domain.com > service_description DISK-ROOT > check_command check_disk_snmp!80!90!1 > } > > I am also using this same service on many other boxes with no > problems at > all. Just for some reason this new server is failing. > > I ran snmpwalk on the server in question and see. > > root at shadowcat [/etc/nagios]# snmpwalk -Os -c public -v 1 > box.domain.com > system ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Dec 16 16:08:40 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 16 Dec 2004 09:08:40 -0600 Subject: Direct Command Line Execution instead of Macros In-Reply-To: <41C0E046.7070802@sympatico.ca> References: <41C0E046.7070802@sympatico.ca> Message-ID: <1103209720.12572.69.camel@localhost> On Wed, 2004-12-15 at 19:09 -0600, Mark Nadir wrote: > Unfortunately, no it didn't work. Nagios complained that the direct > commands were not defined in checkcommands.cgi, even though they were > enclosed within quotation marks. Did you really mean checkcommands.cgi? (as opposed to .cfg)? I run a few commands that don't use macros, so I'm unsure as to what the problem is. unless you're talking about defining a non-template command in a service definition. I've never done that (and hadn't thought to. Seems cluttered, IMHO). ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkent at magoazul.com Thu Dec 16 09:18:39 2004 From: mkent at magoazul.com (Matthew Kent) Date: Thu, 16 Dec 2004 08:18:39 +0000 Subject: New plugin - check_tacacs_plus In-Reply-To: References: Message-ID: <1103185119.2867.4.camel@fuego> On Thu, 2004-12-16 at 09:31, Cooper, Mark wrote: > Script to check tacacs+ availability:- Can you submit it to the new plugins section of http://sourceforge.net/projects/nagiosplug/ please? -- Matthew Kent http://magoazul.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stinkybob at gmail.com Thu Dec 16 17:56:11 2004 From: stinkybob at gmail.com (StinkyBob) Date: Thu, 16 Dec 2004 10:56:11 -0600 Subject: Check Freshness Problems Message-ID: <2579c6b204121608561a8ceb09@mail.gmail.com> I just got this message in my error logs (Nagios 2.0b1, SunFire V210, Solaris 8) The results of service 'Disk Usage /usr2' on host 'server-x' are stale by 59 seconds (threshold=1800 seconds). I'm forcing an immediate check of the service. ????? -Stinky ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stinkybob at gmail.com Thu Dec 16 18:06:53 2004 From: stinkybob at gmail.com (StinkyBob) Date: Thu, 16 Dec 2004 11:06:53 -0600 Subject: Check Freshness Problems Message-ID: <2579c6b204121609066ee9339e@mail.gmail.com> Here's another problem I'm having after upgrading to 2.0b1. The date/time and additional info just shows a dollar sign instead of the real date/time, or plugin output. Any ideas? -Stinky ***** Nagios ***** Notification Type: PROBLEM Service: Disk Usage /usr2 Host: server-x.domainname.com Address: 172.16.99.111 State: WARNING Date/Time: $ Additional Info: $ -----Original Message----- From: StinkyBob [mailto:stinkybob at gmail.com] Sent: Thursday, December 16, 2004 10:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check Freshness Problems I just got this message in my error logs (Nagios 2.0b1, SunFire V210, Solaris 8) The results of service 'Disk Usage /usr2' on host 'server-x' are stale by 59 seconds (threshold=1800 seconds). I'm forcing an immediate check of the service. ????? -Stinky ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rrivera at comtex.com Thu Dec 16 18:12:57 2004 From: rrivera at comtex.com (Rimbert Rivera) Date: Thu, 16 Dec 2004 11:12:57 -0600 Subject: Problems installing check_mssql Message-ID: First off, I thought I read on a Google search that check_mssql was in the contrib directory of the Nagios plugins but it wasn't there (I installed 1.3.1). Even the extra plugins did not have it. We have another RH9 Linux box (setup up by a consultant that is no longer with us) that has check_mssql and is working properly. I copied that file to the RH9 box that I am installing another Nagios install on and when I tried to run it, it gave me errors about DBI. I installed perl-dbi. Then it complained about DBD::Sybase. I tried to install DBD::Sybase but it can't find the Sybase libraries. I don't even know where the original check_mssql plugin came from. I've searched for it and only found check_mssql.sh, which is a different version I believe. If I could download check_mssql with install instructions, I think I can do it. We need check_mssql so we can run stored procedures on our SQL server that checks the health of our internal app. Any suggestions? I consider myself a Linux newbie and I've been doing most of this through WebMin, if that matters. - Rim Rimbert Rivera Manager, Information Technology COMTEX News Network rrivera at comtex.com (703) 820-2000 Discover more about COMTEX at: http://www.comtex.com/ This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmueller at netways.de Thu Dec 16 18:23:44 2004 From: gmueller at netways.de (Gerd Mueller) Date: Thu, 16 Dec 2004 18:23:44 +0100 (CET) Subject: Check Freshness Problems In-Reply-To: <2579c6b204121609066ee9339e@mail.gmail.com> References: <2579c6b204121609066ee9339e@mail.gmail.com> Message-ID: <20041216172344.5161C4F40ED@desire.netways.de> Hi StinkyBob the macros changed I gues your using $DATETIME$. Now use $SHORTDATETIME $ instead. - Gerd Mueller (Gerd.Mueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=294 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Dec 16 18:31:12 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 16 Dec 2004 11:31:12 -0600 Subject: Check Freshness Problems In-Reply-To: <2579c6b204121609066ee9339e@mail.gmail.com> References: <2579c6b204121609066ee9339e@mail.gmail.com> Message-ID: <1103218272.12572.76.camel@localhost> On Thu, 2004-12-16 at 11:06 -0600, StinkyBob wrote: > Here's another problem I'm having after upgrading to 2.0b1. The > date/time and additional info just shows a dollar sign instead of the > real date/time, or plugin output. > > Any ideas? did you check that you're using the new macros? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at sympatico.ca Thu Dec 16 18:33:40 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Thu, 16 Dec 2004 12:33:40 -0500 Subject: A Potential Bug with Object.cache? Message-ID: <41C1C6F4.8070804@sympatico.ca> Hi, First of all let me congratulate all the contributors to 2.0b - this is truly a remarkable piece of work. I would like to submit a potential anomaly I have noticed recently. Every so often, I would see old services/hosts definitions, as well as certain states that seem to be cached somewhere that appear out of thin air, when activating any of the cgi's from the navigation sidebar. For instance, if I change/add a new service to a host, then click on Hosts Details, Service Details, or Tactical Overview a number of times - every so often, a report would be generated that does NOT show the new service - this applies to tactical view as well. So out of 15 clicks, 14 clicks would show the correct configuration, but one click would not. This number of clicks is by no means fixed, and varies. Upon further reading, I noticed that there is a new feature objects.cache which may seem to govern this. I tried disabling objects.cache from within nagios.cfg, but this doesn't seem to solve the problem, since it persists. Has anyone seen this behaviour before, and if so, how have they resolved it? Mark. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Dec 16 18:53:20 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 16 Dec 2004 11:53:20 -0600 Subject: Nagios 2.0 init.d/nagios and daemonizing... In-Reply-To: <41C1CAC4.5000306@datawire.net> References: <41C1CAC4.5000306@datawire.net> Message-ID: <1103219600.12572.84.camel@localhost> On Thu, 2004-12-16 at 11:49 -0600, Chris Stankaitis wrote: > I can't seem to get Nagios 2.0 to daemonize. > > I try it both with the init.d script and from command line, and > neither > seem to work. > > /usr/bin/nagios -d /etc/nagios/nagios.cfg > > just returns, nothing logged to /var/log/messages, nothing in the > process list. > > using the Init.d Script it complains that nagios can't write it's > lock > (PID) to /var/run/nagios.pid, then says it starts, but again no > process > will appear, and from the web interface it is calling the CGI's > > my current work around is that I am just running Nagios from command > line: > > /usr/bin/nagios /etc/nagios/nagios.cfg > > Which is working fine... > > > Anyone else seen this? and is there a work around? what does '/usr/bin/nagios -v /etc/nagios/nagios.cfg' say? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Thu Dec 16 19:59:17 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Thu, 16 Dec 2004 13:59:17 -0500 Subject: Nagios 2.0 init.d/nagios and daemonizing... In-Reply-To: <1103219600.12572.84.camel@localhost> References: <41C1CAC4.5000306@datawire.net> <1103219600.12572.84.camel@localhost> Message-ID: <41C1DB05.1080007@datawire.net> jeff vier wrote: > On Thu, 2004-12-16 at 11:49 -0600, Chris Stankaitis wrote: > >>I can't seem to get Nagios 2.0 to daemonize. >> >>I try it both with the init.d script and from command line, and >>neither >>seem to work. >> >>/usr/bin/nagios -d /etc/nagios/nagios.cfg >> >>just returns, nothing logged to /var/log/messages, nothing in the >>process list. >> >>using the Init.d Script it complains that nagios can't write it's >>lock >>(PID) to /var/run/nagios.pid, then says it starts, but again no >>process >>will appear, and from the web interface it is calling the CGI's >> >>my current work around is that I am just running Nagios from command >>line: >> >>/usr/bin/nagios /etc/nagios/nagios.cfg >> >>Which is working fine... >> >> >>Anyone else seen this? and is there a work around? > > > what does '/usr/bin/nagios -v /etc/nagios/nagios.cfg' say? Things look okay - No serious problems were detected during the pre-flight check It's not a config issue.. if it was running Nagios from Command Line without the -d options wouldn't work. --Chris ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Dec 16 20:08:38 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 16 Dec 2004 13:08:38 -0600 Subject: Nagios 2.0 init.d/nagios and daemonizing... In-Reply-To: <41C1DB05.1080007@datawire.net> References: <41C1DB05.1080007@datawire.net> Message-ID: <1103224118.12572.92.camel@localhost> On Thu, 2004-12-16 at 12:59 -0600, Chris Stankaitis wrote: > >>I can't seem to get Nagios 2.0 to daemonize. > >>I try it both with the init.d script and from command line, and > >>neither seem to work. > >> > >>/usr/bin/nagios -d /etc/nagios/nagios.cfg > >> > >>just returns, nothing logged to /var/log/messages, nothing in the > >>process list. > >> > >>using the Init.d Script it complains that nagios can't write it's > >>lock (PID) to /var/run/nagios.pid, then says it starts, but again no > >>process will appear, and from the web interface it is calling the > >>CGI's what are the perms on /var/run? Does the user your nagios daemon is running as have permission to write there? Is there an existing nagios.pid file in there? (if so, delete it) > >>my current work around is that I am just running Nagios from > >>command line: > >>Which is working fine... As the Nagios user? > >>Anyone else seen this? and is there a work around? > > what does '/usr/bin/nagios -v /etc/nagios/nagios.cfg' say? > Things look okay - No serious problems were detected during the > pre-flight check > It's not a config issue.. if it was running Nagios from Command Line > without the -d options wouldn't work. Just making sure. You never know. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Thu Dec 16 20:18:44 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Thu, 16 Dec 2004 14:18:44 -0500 Subject: Nagios 2.0 init.d/nagios and daemonizing... In-Reply-To: <1103224118.12572.92.camel@localhost> References: <41C1DB05.1080007@datawire.net> <1103224118.12572.92.camel@localhost> Message-ID: <41C1DF94.6080709@datawire.net> > > what are the perms on /var/run? > Does the user your nagios daemon is running as have permission to write > there? > Is there an existing nagios.pid file in there? (if so, delete it) > The perms on var run are root:root 755, these are the same perms which /var/run has on my nagios 1.2 server. > >>>>my current work around is that I am just running Nagios from >>>>command line: >>>>Which is working fine... > > > As the Nagios user? > Nagios user does not have permission to run the Nagios binary, it's executed as root at which time Nagios drops it's privileges, from command line I am running it as root... when Nagios init script is run it *SHOULD* start Nagios, write the lock, chown things to nagios:nagios where needed and drop it's privileges, it isn't doing so at this time... Regardless even as root running the nagios -d flag is not working, and that is nagios daemon specific. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 16 21:15:27 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Dec 2004 21:15:27 +0100 Subject: Problems installing check_mssql In-Reply-To: References: Message-ID: <41C1ECDF.6080602@op5.se> Rimbert Rivera wrote: > First off, I thought I read on a Google search that check_mssql was in > the contrib directory of the Nagios plugins but it wasn't there (I > installed 1.3.1). Even the extra plugins did not have it. > It's in 1.4 (since july this year, I believe). > We have another RH9 Linux box (setup up by a consultant that is no > longer with us) that has check_mssql and is working properly. I copied > that file to the RH9 box that I am installing another Nagios install on > and when I tried to run it, it gave me errors about DBI. I installed > perl-dbi. Then it complained about DBD::Sybase. I tried to install > DBD::Sybase but it can't find the Sybase libraries. > Install freetds. > I don't even know where the original check_mssql plugin came from. I've > searched for it and only found check_mssql.sh, which is a different > version I believe. Yes. It uses the tsql program (included in the freetds dist). > If I could download check_mssql with install > instructions, I think I can do it. We need check_mssql so we can run > stored procedures on our SQL server that checks the health of our > internal app. > > Any suggestions? > Install freetds and DBD::Sybase. I know it can use the freetds libs (I compiled it that way myself). > I consider myself a Linux newbie and I've been doing most of this > through WebMin, if that matters. > Probably yes, but building perl modules is fairly straight forward. You should be able to find a README or something included with each module. If all else fails you can always call the consultant who set up the other box. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 16 21:17:39 2004 From: ae