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 at op5.se (Andreas Ericsson) Date: Thu, 16 Dec 2004 21:17:39 +0100 Subject: A Potential Bug with Object.cache? In-Reply-To: <41C1C6F4.8070804@sympatico.ca> References: <41C1C6F4.8070804@sympatico.ca> Message-ID: <41C1ED63.2060508@op5.se> Mark Nadir wrote: > 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. > If you 'disable' objects.cache (which would mean deleting it) the cgi's wouldn't get any object config info at all, and would thus fail miserably. Are you sure you don't have multiple instances of Nagios running (it should be 4 or 1, depending on how your version of ps shows threaded applications). > Has anyone seen this behaviour before, and if so, how have they resolved > it? > > Mark. > -- 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:20:16 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Dec 2004 21:20:16 +0100 Subject: Nagios 2.0 init.d/nagios and daemonizing... In-Reply-To: <41C1DF94.6080709@datawire.net> References: <41C1DB05.1080007@datawire.net> <1103224118.12572.92.camel@localhost> <41C1DF94.6080709@datawire.net> Message-ID: <41C1EE00.50601@op5.se> Chris Stankaitis wrote: >> >> 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, That's why it fails. When nagios threads the dynamic linker keeps the binary file open. There's no additional security risk in allowing the pseudo-user to run its own binary. It does, after all, already have access to all of its own memory, including the second PTE. 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 > -- 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 boinger at tradingtechnologies.com Thu Dec 16 21:32:43 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 16 Dec 2004 14:32:43 -0600 Subject: A Potential Bug with Object.cache? In-Reply-To: <41C1ED63.2060508@op5.se> References: <41C1ED63.2060508@op5.se> Message-ID: <1103229163.12572.103.camel@localhost> On Thu, 2004-12-16 at 14:17 -0600, Andreas Ericsson wrote: > Are you sure you don't have multiple instances of Nagios > running (it should be 4 or 1, depending on how your version of ps > shows threaded applications). really? Are we talking only about the "main" parent process, right? I regularly have both spawned checks (owned by nagios) showing up dozens at a time and occasional random threads with a ppid of the main nagios pid. Is this in some way abnormal? This is on i386 RHES Linux. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21:35:27 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Thu, 16 Dec 2004 15:35:27 -0500 Subject: A Potential Bug with Object.cache? In-Reply-To: <41C1ED63.2060508@op5.se> References: <41C1C6F4.8070804@sympatico.ca> <41C1ED63.2060508@op5.se> Message-ID: <41C1F18F.4060301@sympatico.ca> I only have 1 process running for Nagios ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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:52:39 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Dec 2004 21:52:39 +0100 Subject: A Potential Bug with Object.cache? In-Reply-To: <1103229163.12572.103.camel@localhost> References: <41C1ED63.2060508@op5.se> <1103229163.12572.103.camel@localhost> Message-ID: <41C1F597.8000101@op5.se> jeff vier wrote: > On Thu, 2004-12-16 at 14:17 -0600, Andreas Ericsson wrote: > > >> Are you sure you don't have multiple instances of Nagios >>running (it should be 4 or 1, depending on how your version of ps >>shows threaded applications). > > > really? > > Are we talking only about the "main" parent process, right? > > I regularly have both spawned checks (owned by nagios) showing up dozens > at a time and occasional random threads with a ppid of the main nagios > pid. > > Is this in some way abnormal? No (sorry, a bit tired here). What I meant was that he should have 1 or 4 'parent' processes that don't come and go (1 main and 3 worker threads). > > This is on i386 RHES Linux. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mnadir at sympatico.ca Thu Dec 16 21:52:35 2004 From: mnadir at sympatico.ca (Mark Nadir) Date: Thu, 16 Dec 2004 15:52:35 -0500 Subject: A Potential Bug with Object.cache? In-Reply-To: <1103229163.12572.103.camel@localhost> References: <41C1ED63.2060508@op5.se> <1103229163.12572.103.camel@localhost> Message-ID: <41C1F593.7000703@sympatico.ca> Yeah in my case I am referring to the Parent Nagios process. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21:59:54 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Thu, 16 Dec 2004 15:59:54 -0500 Subject: Nagios 2.0 init.d/nagios and daemonizing... In-Reply-To: <41C1EE00.50601@op5.se> References: <41C1DB05.1080007@datawire.net> <1103224118.12572.92.camel@localhost> <41C1DF94.6080709@datawire.net> <41C1EE00.50601@op5.se> Message-ID: <41C1F74A.6020108@datawire.net> >>> >> >> Nagios user does not have permission to run the Nagios binary, > > > That's why it fails. When nagios threads the dynamic linker keeps the > binary file open. There's no additional security risk in allowing the > pseudo-user to run its own binary. It does, after all, already have > access to all of its own memory, including the second PTE. > I chmod'ed the nagios binary so that word has execute permissions, no change, I can not run nagios with the -d option as either root or nagios. ll /usr/bin/nagios -rwxr-xr-x 1 root root 399096 Dec 15 17:49 /usr/bin/nagios As you can see from my strace (snip here attached) the nagios 2.0 binary is dropping it privilages BEFORE it tries to write it's lock and thus dying when it can't write to /var/run (snip) setgroups32(1, [2006]) = 0 setuid32(2006) = 0 . . . open("/var/run/nagios.pid", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = -1 EACCES (Permission denied) The following is an strace from my Nagios 1.2 box (snip here attached in msg) open("/var/run/nagios.pid", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 3 read(3, "", 10) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75ef0c8) = 12735 exit_group(0) = ? What you can see from here is that privilages are not droped at all the lock file is written AS ROOT, and the child is spawned, parent is killed as ROOT, and the child drops it's privilages... I have attached both straces in full, so that you can see the whole picture. --Chris > 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 >> > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios1.2-trace URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios2.0-trace URL: From ae at op5.se Thu Dec 16 22:09:45 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Dec 2004 22:09:45 +0100 Subject: Nagios 2.0 init.d/nagios and daemonizing... In-Reply-To: <41C1F74A.6020108@datawire.net> References: <41C1DB05.1080007@datawire.net> <1103224118.12572.92.camel@localhost> <41C1DF94.6080709@datawire.net> <41C1EE00.50601@op5.se> <41C1F74A.6020108@datawire.net> Message-ID: <41C1F999.9060808@op5.se> Chris Stankaitis wrote: > >>>> >>> >>> Nagios user does not have permission to run the Nagios binary, >> >> >> >> That's why it fails. When nagios threads the dynamic linker keeps the >> binary file open. There's no additional security risk in allowing the >> pseudo-user to run its own binary. It does, after all, already have >> access to all of its own memory, including the second PTE. >> > > I chmod'ed the nagios binary so that word has execute permissions, no > change, I can not run nagios with the -d option as either root or nagios. > > ll /usr/bin/nagios > -rwxr-xr-x 1 root root 399096 Dec 15 17:49 /usr/bin/nagios > > > As you can see from my strace (snip here attached) the nagios 2.0 binary > is dropping it privilages BEFORE it tries to write it's lock and thus > dying when it can't write to /var/run > > (snip) > > setgroups32(1, [2006]) = 0 > setuid32(2006) = 0 > > . > . > . > open("/var/run/nagios.pid", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = -1 > EACCES (Permission denied) > > You can use the lock_file directive in nagios.cfg to make it write its config file somewhere else (at least I think it's lock_file. Look it up in the docs). > > The following is an strace from my Nagios 1.2 box (snip here attached in > msg) > > > > open("/var/run/nagios.pid", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 3 > read(3, "", 10) = 0 > clone(child_stack=0, > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0xb75ef0c8) = 12735 > exit_group(0) = ? > > > What you can see from here is that privilages are not droped at all the > lock file is written AS ROOT, and the child is spawned, parent is killed > as ROOT, and the child drops it's privilages... > > > I have attached both straces in full, so that you can see the whole > picture. > > > --Chris > >> 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 >>> >> > > > ------------------------------------------------------------------------ > > execve("/usr/bin/nagios", ["/usr/bin/nagios", "-d", "/etc/nagios/nagios.cfg"], [/* 20 vars */]) = 0 > uname({sys="Linux", node="nms.datawire.net", ...}) = 0 > brk(0) = 0x9453000 > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/i686/mmx/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/i686/mmx", 0xbfff9ea0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/i686", 0xbfff9ea0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/mmx/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/mmx", 0xbfff9ea0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls", 0xbfff9ea0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/i686/mmx/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/i686/mmx", 0xbfff9ea0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/i686", 0xbfff9ea0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/mmx/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/mmx", 0xbfff9ea0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\10\2"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0555, st_size=1190612, ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f5000 > old_mmap(NULL, 1201792, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x83a000 > old_mmap(0x953000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x118000) = 0x953000 > old_mmap(0x95e000, 5760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x95e000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/etc/ld.so.cache", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=13858, ...}) = 0 > old_mmap(NULL, 13858, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75f1000 > close(3) = 0 > open("/lib/libnsl.so.1", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 <\0\000"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=91008, ...}) = 0 > old_mmap(NULL, 84832, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x27b000 > old_mmap(0x28d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x28d000 > old_mmap(0x28e000, 7008, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x28e000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libdl.so.2", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\32"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=14868, ...}) = 0 > old_mmap(NULL, 12244, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xe64000 > old_mmap(0xe66000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0xe66000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/tls/libm.so.6", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3604\0"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=213484, ...}) = 0 > old_mmap(NULL, 135616, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x111000 > old_mmap(0x132000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x21000) = 0x132000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/tls/libpthread.so.0", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20G\0\000"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=97616, ...}) = 0 > old_mmap(NULL, 64724, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xde8000 > old_mmap(0xdf5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc000) = 0xdf5000 > old_mmap(0xdf6000, 7380, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xdf6000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/tls/libc.so.6", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200X\1"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=1568924, ...}) = 0 > old_mmap(NULL, 1276876, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x133000 > old_mmap(0x265000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x131000) = 0x265000 > old_mmap(0x269000, 7116, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x269000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libcrypt.so.1", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\t\0"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=23388, ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f0000 > old_mmap(NULL, 181308, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xc57000 > old_mmap(0xc5c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0xc5c000 > old_mmap(0xc5d000, 156732, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xc5d000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libutil.so.1", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\16\0"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=12544, ...}) = 0 > old_mmap(NULL, 11012, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfb1000 > old_mmap(0xfb3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0xfb3000 > close(3) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75ef000 > set_thread_area({entry_number:-1 -> 6, base_addr:0xb75ef080, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 > munmap(0xb75f1000, 13858) = 0 > set_tid_address(0xb75ef0c8) = 12734 > rt_sigaction(SIGRTMIN, {0xdec670, [], SA_RESTORER|SA_SIGINFO, 0xdf2df0}, NULL, 8) = 0 > rt_sigprocmask(SIG_UNBLOCK, [RTMIN], NULL, 8) = 0 > getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0 > brk(0) = 0x9453000 > brk(0x9474000) = 0x9474000 > brk(0) = 0x9474000 > umask(022) = 022 > time(NULL) = 1103230153 > getpid() = 12734 > open("/etc/nagios/nagios.cfg", O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=21235, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f4000 > read(3, "################################"..., 4096) = 4096 > open("/etc/nagios/private/resource.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0640, st_size=3061, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "################################"..., 4096) = 3061 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > read(3, "als, Nagios will also check for "..., 4096) = 4096 > read(3, "e state change.\n# The global eve"..., 4096) = 4096 > read(3, "(in minutes) that Nagios\n# will "..., 4096) = 4096 > read(3, "OMPULSIVE SERVICE PROCESSOR COMM"..., 4096) = 4096 > read(3, "ed in service or\n# host check co"..., 4096) = 755 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0xb75f4000, 4096) = 0 > open("/etc/nagios/nagios.cfg", O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=21235, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f4000 > read(3, "################################"..., 4096) = 4096 > open("/etc/nagios/checkcommands.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=8328, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "################################"..., 4096) = 4096 > read(4, " }\n\n# \'check_telnet\' command d"..., 4096) = 4096 > read(4, "ail\n\tcommand_line\tssh -l sem mai"..., 4096) = 136 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > open("/etc/nagios/misccommands.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0664, st_size=4234, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "################################"..., 4096) = 4096 > read(4, "VICESTATE$\\t$SERVICEATTEMPT$\\t$S"..., 4096) = 138 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > open("/etc/nagios/contactgroups.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0444, st_size=1620, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "################################"..., 4096) = 1620 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > open("/etc/nagios/contacts.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0444, st_size=8310, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "################################"..., 4096) = 4096 > read(4, "# }\n\n# \'asifs\' contact de"..., 4096) = 4096 > read(4, "ification_commands host-not"..., 4096) = 118 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > open("/etc/nagios/dependencies.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=8237, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "################################"..., 4096) = 4096 > read(4, "e_description *\n execut"..., 4096) = 4096 > read(4, "################################"..., 4096) = 45 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > open("/etc/nagios/escalations.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=14784, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "################################"..., 4096) = 4096 > read(4, "atawire.net,host9.vxn.datawire.n"..., 4096) = 4096 > read(4, "im,netops-ux-admins\n }\n\nd"..., 4096) = 4096 > read(4, " dw1.dw\n service_descrip"..., 4096) = 2496 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > open("/etc/nagios/hostgroups.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=4152, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "# Sample object config file for "..., 4096) = 4096 > read(4, "printer-finance,printer-hispeed,"..., 4096) = 56 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > open("/etc/nagios/hosts.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=62558, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "################################"..., 4096) = 4096 > read(4, "rents\t\t\tnexia-t1\t\n\tcheck_command"..., 4096) = 4096 > read(4, " alias Jumpsta"..., 4096) = 4096 > read(4, "otification_options d,r\n "..., 4096) = 4096 > read(4, "\ndefine host{\n use "..., 4096) = 4096 > read(4, "fication_period 24x7\n "..., 4096) = 4096 > read(4, "_check_attempts 3\n n"..., 4096) = 4096 > read(4, " notification_period 24x"..., 4096) = 4096 > read(4, "s 3\n notification_in"..., 4096) = 4096 > read(4, "\n address "..., 4096) = 4096 > read(4, "check_command check-ho"..., 4096) = 4096 > read(4, " wcash-gateway\n check"..., 4096) = 4096 > read(4, "Staging Host)\n address "..., 4096) = 4096 > read(4, " Switch at AT&T Ash"..., 4096) = 4096 > read(4, " host{\n use "..., 4096) = 4096 > read(4, "k_attempts 3\n notifi"..., 4096) = 1118 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > open("/etc/nagios/services.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=92404, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "\n###############################"..., 4096) = 4096 > read(4, " Check_NT for Servers\n\ndefine se"..., 4096) = 4096 > read(4, " \ndefine service{"..., 4096) = 4096 > read(4, "ost2.stg.datawire.net,edge2.stg."..., 4096) = 4096 > read(4, " 0\n check_period "..., 4096) = 4096 > read(4, " retry_check_interval "..., 4096) = 4096 > read(4, " notification_period "..., 4096) = 4096 > read(4, " 0\n check_period "..., 4096) = 4096 > read(4, " notification_period "..., 4096) = 4096 > read(4, "groups noc-rim\n"..., 4096) = 4096 > read(4, " check_command "..., 4096) = 4096 > read(4, "w.dw to check on 10.6.0.1\n# as b"..., 4096) = 4096 > read(4, "22.vxn.datawire.net,host23.vxn.d"..., 4096) = 4096 > read(4, "awire.net,host24.vxn.datawire.ne"..., 4096) = 4096 > read(4, "5.vxn.datawire.net,host26.vxn.da"..., 4096) = 4096 > read(4, "ling.stg.dw\n service_desc"..., 4096) = 4096 > read(4, "tover-mail\n normal_check_"..., 4096) = 4096 > read(4, " 2\n contact_groups "..., 4096) = 4096 > read(4, "fication_options u,c,"..., 4096) = 4096 > read(4, "e pa"..., 4096) = 4096 > read(4, "d none\n notif"..., 4096) = 4096 > read(4, " \n#\n "..., 4096) = 4096 > read(4, "\tgeneric-service\n\thost_name\t\t\tne"..., 4096) = 2292 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > open("/etc/nagios/timeperiods.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0444, st_size=1589, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f3000 > read(4, "################################"..., 4096) = 1589 > read(4, "", 4096) = 0 > close(4) = 0 > munmap(0xb75f3000, 4096) = 0 > read(3, "als, Nagios will also check for "..., 4096) = 4096 > read(3, "e state change.\n# The global eve"..., 4096) = 4096 > read(3, "(in minutes) that Nagios\n# will "..., 4096) = 4096 > read(3, "OMPULSIVE SERVICE PROCESSOR COMM"..., 4096) = 4096 > read(3, "ed in service or\n# host check co"..., 4096) = 755 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0xb75f4000, 4096) = 0 > brk(0) = 0x9474000 > brk(0x9495000) = 0x9495000 > brk(0) = 0x9495000 > brk(0x94b6000) = 0x94b6000 > brk(0) = 0x94b6000 > brk(0x94d7000) = 0x94d7000 > brk(0) = 0x94d7000 > brk(0x94f8000) = 0x94f8000 > brk(0) = 0x94f8000 > brk(0x9519000) = 0x9519000 > brk(0) = 0x9519000 > brk(0x953a000) = 0x953a000 > brk(0) = 0x953a000 > brk(0x955b000) = 0x955b000 > brk(0) = 0x955b000 > brk(0x957c000) = 0x957c000 > brk(0) = 0x957c000 > brk(0x959d000) = 0x959d000 > brk(0) = 0x959d000 > brk(0x95be000) = 0x95be000 > brk(0) = 0x95be000 > brk(0x95df000) = 0x95df000 > brk(0) = 0x95df000 > brk(0x9600000) = 0x9600000 > brk(0) = 0x9600000 > brk(0x9621000) = 0x9621000 > brk(0) = 0x9621000 > brk(0x9642000) = 0x9642000 > brk(0) = 0x9642000 > brk(0x9663000) = 0x9663000 > brk(0) = 0x9663000 > brk(0x9684000) = 0x9684000 > brk(0) = 0x9684000 > brk(0x96a5000) = 0x96a5000 > brk(0) = 0x96a5000 > brk(0x96c6000) = 0x96c6000 > getpid() = 12734 > open("/var/log/nagios/nagios.log", O_RDWR|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 3 > time([1103230154]) = 1103230154 > fstat64(3, {st_mode=S_IFREG|0664, st_size=144800, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f4000 > write(3, "[1103230154] Nagios 1.2 starting"..., 48) = 48 > close(3) = 0 > munmap(0xb75f4000, 4096) = 0 > getuid32() = 0 > geteuid32() = 0 > getgid32() = 0 > getegid32() = 0 > open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=32148976, ...}) = 0 > mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb73ef000 > close(3) = 0 > time([1103230154]) = 1103230154 > stat64("/usr/lib/perl5/5.8.0/5.8.0/i386-linux-thread-multi", 0xbfffa0d0) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/5.8.0", 0xbfffa0d0) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > _llseek(0, 0, 0xbfff9ec0, SEEK_CUR) = -1 ESPIPE (Illegal seek) > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > _llseek(1, 0, 0xbfff9ec0, SEEK_CUR) = -1 ESPIPE (Illegal seek) > ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > _llseek(2, 0, 0xbfff9ec0, SEEK_CUR) = -1 ESPIPE (Illegal seek) > open("/usr/bin/p1.pl", O_RDONLY|O_LARGEFILE) = 3 > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff9f58) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(3, 0, [0], SEEK_CUR) = 0 > fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 > fstat64(3, {st_mode=S_IFREG|0664, st_size=3839, ...}) = 0 > rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0 > readlink("/proc/self/exe", "/usr/bin/nagios", 4095) = 15 > getpid() = 12734 > getppid() = 12733 > read(3, " package Embed::Persistent;\n#\n# "..., 4096) = 3839 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/strict.pmc", 0xbfff9bc0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/strict.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/strict.pmc", 0xbfff9bc0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/strict.pm", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff99c8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "package strict;\n\n$strict::VERSIO"..., 4096) = 2806 > _llseek(4, 560, [560], SEEK_SET) = 0 > _llseek(4, 0, [560], SEEK_CUR) = 0 > close(4) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/vars.pmc", 0xbfff9bc0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/vars.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/vars.pmc", 0xbfff9bc0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/vars.pm", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff99c8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "package vars;\n\nuse 5.006;\n\nour $"..., 4096) = 2358 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/warnings/register.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/warnings/register.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/warnings/register.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/warnings/register.pm", O_RDONLY|O_LARGEFILE) = 5 > ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94a8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(5, 0, [0], SEEK_CUR) = 0 > read(5, "package warnings::register ;\n\nou"..., 4096) = 1014 > read(5, "", 4096) = 0 > close(5) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/warnings.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/warnings.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/warnings.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/warnings.pm", O_RDONLY|O_LARGEFILE) = 5 > ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94a8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(5, 0, [0], SEEK_CUR) = 0 > read(5, "\n# !!!!!!! DO NOT EDIT THIS FI"..., 4096) = 4096 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Carp.pmc", 0xbfff9180) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Carp.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/Carp.pmc", 0xbfff9180) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/Carp.pm", O_RDONLY|O_LARGEFILE) = 6 > ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff8f88) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(6, 0, [0], SEEK_CUR) = 0 > read(6, "package Carp;\n\nour $VERSION = \'1"..., 4096) = 4096 > read(6, " # Reconcil"..., 4096) = 2623 > read(6, "", 4096) = 0 > close(6) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Exporter.pmc", 0xbfff9180) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Exporter.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/Exporter.pmc", 0xbfff9180) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/Exporter.pm", O_RDONLY|O_LARGEFILE) = 6 > ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff8f88) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(6, 0, [0], SEEK_CUR) = 0 > read(6, "package Exporter;\n\nrequire 5.006"..., 4096) = 4096 > _llseek(6, 2105, [2105], SEEK_SET) = 0 > _llseek(6, 0, [2105], SEEK_CUR) = 0 > close(6) = 0 > read(5, "=> \"\\x00\\x00\\x00\\x00\\x00\\x00\\x00"..., 4096) = 4096 > read(5, "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\", #"..., 4096) = 4096 > read(5, "= 1;\n\t $no_fatal = 0;\n\t}\n\tels"..., 4096) = 3166 > read(5, "", 4096) = 0 > close(5) = 0 > _llseek(4, 1148, [1148], SEEK_SET) = 0 > _llseek(4, 0, [1148], SEEK_CUR) = 0 > close(4) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Symbol.pmc", 0xbfff9bc0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Symbol.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/Symbol.pmc", 0xbfff9bc0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/Symbol.pm", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff99c8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "package Symbol;\n\n=head1 NAME\n\nSy"..., 4096) = 4096 > read(4, "bols in the package\n\n my $lea"..., 4096) = 252 > read(4, "", 4096) = 0 > close(4) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Text/ParseWords.pmc", 0xbfff9bc0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Text/ParseWords.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/Text/ParseWords.pmc", 0xbfff9bc0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/Text/ParseWords.pm", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff99c8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "package Text::ParseWords;\n\nuse v"..., 4096) = 4096 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/re.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/re.pm", O_RDONLY|O_LARGEFILE) = 5 > ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94a8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(5, 0, [0], SEEK_CUR) = 0 > read(5, "package re;\n\nour $VERSION = 0.03"..., 4096) = 4019 > read(5, "", 4096) = 0 > close(5) = 0 > _llseek(4, 3213, [3213], SEEK_SET) = 0 > _llseek(4, 0, [3213], SEEK_CUR) = 0 > close(4) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO/File.pmc", 0xbfff9bc0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO/File.pm", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff99c8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "#\n\npackage IO::File;\n\n=head1 NAM"..., 4096) = 3955 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/SelectSaver.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/SelectSaver.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/SelectSaver.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/SelectSaver.pm", O_RDONLY|O_LARGEFILE) = 5 > ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94a8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(5, 0, [0], SEEK_CUR) = 0 > read(5, "package SelectSaver;\n\nour $VERSI"..., 4096) = 1074 > read(5, "", 4096) = 0 > close(5) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO/Seekable.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO/Seekable.pm", O_RDONLY|O_LARGEFILE) = 5 > ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94a8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(5, 0, [0], SEEK_CUR) = 0 > read(5, "#\n\npackage IO::Seekable;\n\n=head1"..., 4096) = 2938 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO/Handle.pmc", 0xbfff9180) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO/Handle.pm", O_RDONLY|O_LARGEFILE) = 6 > ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff8f88) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(6, 0, [0], SEEK_CUR) = 0 > read(6, "\npackage IO::Handle;\n\n=head1 NAM"..., 4096) = 4096 > read(6, "rrors\nsince it was opened or sin"..., 4096) = 4096 > read(6, ", @ISA);\nuse Carp;\nuse Symbol;\nu"..., 4096) = 4096 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO.pmc", 0xbfff8c60) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO.pm", O_RDONLY|O_LARGEFILE) = 7 > ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff8a68) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(7, 0, [0], SEEK_CUR) = 0 > read(7, "#\n\npackage IO;\n\nuse XSLoader ();"..., 4096) = 1401 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/XSLoader.pmc", 0xbfff8740) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/XSLoader.pm", O_RDONLY|O_LARGEFILE) = 8 > ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff8548) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(8, 0, [0], SEEK_CUR) = 0 > read(8, "# Generated from XSLoader.pm.PL "..., 4096) = 3836 > _llseek(8, 3320, [3320], SEEK_SET) = 0 > _llseek(8, 0, [3320], SEEK_CUR) = 0 > close(8) = 0 > _llseek(7, 412, [412], SEEK_SET) = 0 > _llseek(7, 0, [412], SEEK_CUR) = 0 > close(7) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/IO/IO.so", {st_mode=S_IFREG|0555, st_size=17188, ...}) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/IO/IO.bs", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 > futex(0xe66fd0, FUTEX_WAKE, 2147483647) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/IO/IO.so", O_RDONLY) = 7 > read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\24"..., 512) = 512 > fstat64(7, {st_mode=S_IFREG|0555, st_size=17188, ...}) = 0 > old_mmap(NULL, 20176, PROT_READ|PROT_EXEC, MAP_PRIVATE, 7, 0) = 0x64f000 > old_mmap(0x653000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0x3000) = 0x653000 > close(7) = 0 > read(6, "####################\n## State mo"..., 4096) = 3375 > read(6, "", 4096) = 0 > close(6) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Fcntl.pmc", 0xbfff9180) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Fcntl.pm", O_RDONLY|O_LARGEFILE) = 6 > ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff8f88) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(6, 0, [0], SEEK_CUR) = 0 > read(6, "package Fcntl;\n\n=head1 NAME\n\nFcn"..., 4096) = 4096 > read(6, "SENFMT\t\t\n\t\t S_IFMT S_IMODE\n "..., 4096) = 1026 > read(6, "", 4096) = 0 > close(6) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Fcntl/Fcntl.so", {st_mode=S_IFREG|0555, st_size=12336, ...}) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Fcntl/Fcntl.bs", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Fcntl/Fcntl.so", O_RDONLY) = 6 > read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0"..., 512) = 512 > fstat64(6, {st_mode=S_IFREG|0555, st_size=12336, ...}) = 0 > old_mmap(NULL, 15320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x472000 > old_mmap(0x475000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x2000) = 0x475000 > close(6) = 0 > read(5, "", 4096) = 0 > close(5) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/File/Spec.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/File/Spec.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/File/Spec.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/File/Spec.pm", O_RDONLY|O_LARGEFILE) = 5 > ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94a8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(5, 0, [0], SEEK_CUR) = 0 > read(5, "package File::Spec;\n\nuse strict;"..., 4096) = 4096 > _llseek(5, 498, [498], SEEK_SET) = 0 > _llseek(5, 0, [498], SEEK_CUR) = 0 > close(5) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/File/Spec/Unix.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/File/Spec/Unix.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/File/Spec/Unix.pmc", 0xbfff96a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/File/Spec/Unix.pm", O_RDONLY|O_LARGEFILE) = 5 > ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94a8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(5, 0, [0], SEEK_CUR) = 0 > read(5, "package File::Spec::Unix;\n\nuse s"..., 4096) = 4096 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pmc", 0xbfff9180) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm", O_RDONLY|O_LARGEFILE) = 6 > ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff8f88) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(6, 0, [0], SEEK_CUR) = 0 > read(6, "package Cwd;\nuse 5.006;\n\n=head1 "..., 4096) = 4096 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/base.pmc", 0xbfff8c60) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/base.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/base.pmc", 0xbfff8c60) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/base.pm", O_RDONLY|O_LARGEFILE) = 7 > ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff8a68) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(7, 0, [0], SEEK_CUR) = 0 > read(7, "=head1 NAME\n\nbase - Establish IS"..., 4096) = 2437 > read(7, "", 4096) = 0 > close(7) = 0 > read(6, ");\n};\n\n\n# Find the pwd command i"..., 4096) = 4096 > brk(0) = 0x96c6000 > brk(0x96e7000) = 0x96e7000 > read(6, "e chdir()\n\t$newpwd = Win32::GetF"..., 4096) = 4096 > read(6, "path;\n return $realpath;\n}\n\ns"..., 4096) = 1958 > read(6, "", 4096) = 0 > close(6) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/Cwd.so", {st_mode=S_IFREG|0555, st_size=9716, ...}) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/Cwd.bs", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/Cwd.so", O_RDONLY) = 6 > read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\17\0\000"..., 512) = 512 > fstat64(6, {st_mode=S_IFREG|0555, st_size=9716, ...}) = 0 > old_mmap(NULL, 8604, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0xaff000 > old_mmap(0xb01000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x2000) = 0xb01000 > close(6) = 0 > stat64("/bin/pwd", {st_mode=S_IFREG|0755, st_size=10716, ...}) = 0 > stat64("/bin/pwd", {st_mode=S_IFREG|0755, st_size=10716, ...}) = 0 > stat64("/sbin/pwd", 0x9453480) = -1 ENOENT (No such file or directory) > stat64("/usr/bin/pwd", 0x9453480) = -1 ENOENT (No such file or directory) > stat64("/usr/sbin/pwd", 0x9453480) = -1 ENOENT (No such file or directory) > stat64("/usr/local/bin/pwd", 0x9453480) = -1 ENOENT (No such file or directory) > stat64("/usr/local/sbin/pwd", 0x9453480) = -1 ENOENT (No such file or directory) > stat64("/usr/bin/X11/pwd", 0x9453480) = -1 ENOENT (No such file or directory) > stat64("/usr/X11R6/bin/pwd", 0x9453480) = -1 ENOENT (No such file or directory) > stat64("/root/bin/pwd", 0x9453480) = -1 ENOENT (No such file or directory) > read(5, ", \'..\', and equivalents.)\n\n=cut\n"..., 4096) = 4096 > read(5, "_path = File::Spec->abs2rel( $pa"..., 4096) = 3861 > brk(0) = 0x96e7000 > brk(0x9708000) = 0x9708000 > brk(0) = 0x9708000 > brk(0) = 0x9708000 > brk(0x9707000) = 0x9707000 > brk(0) = 0x9707000 > read(5, "", 4096) = 0 > close(5) = 0 > read(4, "", 4096) = 0 > close(4) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/utf8.pmc", 0xbfff94a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/utf8.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/utf8.pmc", 0xbfff94a0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/utf8.pm", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff92a8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "package utf8;\n\n$utf8::hint_bits "..., 4096) = 4096 > _llseek(4, 360, [360], SEEK_SET) = 0 > _llseek(4, 0, [360], SEEK_CUR) = 0 > close(4) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/utf8_heavy.pl", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/utf8_heavy.pl", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94d8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "package utf8;\nuse strict;\nuse wa"..., 4096) = 4096 > read(4, "Returning cached \'$file\' for \\\\p"..., 4096) = 4096 > read(4, "\t }\n\t}\n }\n for my $x ($"..., 4096) = 1268 > brk(0) = 0x9707000 > brk(0x9728000) = 0x9728000 > read(4, "", 4096) = 0 > close(4) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/unicore/Exact.pl", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/unicore/Exact.pl", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94d8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "# !!!!!!! DO NOT EDIT THIS FIL"..., 4096) = 2126 > read(4, "", 4096) = 0 > close(4) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/unicore/lib/Word.pl", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/unicore/lib/Word.pl", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94c8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "# !!!!!!! DO NOT EDIT THIS FIL"..., 4096) = 4096 > read(4, "425\t\n10428\t1044D\t\n1D165\t1D169\t\n1"..., 4096) = 514 > read(4, "", 4096) = 0 > close(4) = 0 > brk(0) = 0x9728000 > brk(0x9749000) = 0x9749000 > read(3, "", 4096) = 0 > close(3) = 0 > rt_sigaction(SIGQUIT, {0x8062f70, [QUIT], SA_RESTORER|SA_RESTART, 0x15aeb8}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGTERM, {0x8062f70, [TERM], SA_RESTORER|SA_RESTART, 0x15aeb8}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGHUP, {0x8062f70, [HUP], SA_RESTORER|SA_RESTART, 0x15aeb8}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGSEGV, {0x8062f70, [SEGV], SA_RESTORER|SA_RESTART, 0x15aeb8}, {SIG_DFL}, 8) = 0 > chdir("/") = 0 > umask(022) = 022 > open("/var/run/nagios.pid", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 3 > read(3, "", 10) = 0 > clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75ef0c8) = 12735 > exit_group(0) = ? > > > ------------------------------------------------------------------------ > > execve("/usr/bin/nagios", ["/usr/bin/nagios", "-d", "/etc/nagios/nagios.cfg"], [/* 20 vars */]) = 0 > uname({sys="Linux", node="newnms.dw", ...}) = 0 > brk(0) = 0x92a9000 > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/i686/mmx/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/i686/mmx", 0xbfffa320) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/i686", 0xbfffa320) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/mmx/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/mmx", 0xbfffa320) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/tls", 0xbfffa320) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/i686/mmx/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/i686/mmx", 0xbfffa320) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/i686", 0xbfffa320) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/mmx/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/mmx", 0xbfffa320) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\10\2"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0555, st_size=1190612, ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f5000 > old_mmap(NULL, 1201792, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70c000 > old_mmap(0x825000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x118000) = 0x825000 > old_mmap(0x830000, 5760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x830000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/etc/ld.so.cache", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=13271, ...}) = 0 > old_mmap(NULL, 13271, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75f1000 > close(3) = 0 > open("/lib/libnsl.so.1", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 <\0\000"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=91008, ...}) = 0 > old_mmap(NULL, 84832, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xd0a000 > old_mmap(0xd1c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0xd1c000 > old_mmap(0xd1d000, 7008, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xd1d000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libdl.so.2", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\32"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=14868, ...}) = 0 > old_mmap(NULL, 12244, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2ae000 > old_mmap(0x2b0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x2b0000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/tls/libm.so.6", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3604\0"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=213484, ...}) = 0 > old_mmap(NULL, 135616, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x9ef000 > old_mmap(0xa10000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x21000) = 0xa10000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/tls/libpthread.so.0", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20G\0\000"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=97616, ...}) = 0 > old_mmap(NULL, 64724, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x898000 > old_mmap(0x8a5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc000) = 0x8a5000 > old_mmap(0x8a6000, 7380, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x8a6000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/tls/libc.so.6", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200X\1"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=1568924, ...}) = 0 > old_mmap(NULL, 1276876, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4b7000 > old_mmap(0x5e9000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x131000) = 0x5e9000 > old_mmap(0x5ed000, 7116, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x5ed000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libcrypt.so.1", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\t\0"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=23388, ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75f0000 > old_mmap(NULL, 181308, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x111000 > old_mmap(0x116000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x116000 > old_mmap(0x117000, 156732, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x117000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libutil.so.1", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\16\0"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=12544, ...}) = 0 > old_mmap(NULL, 11012, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x92f000 > old_mmap(0x931000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x931000 > close(3) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libltdl.so.3", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/libltdl.so.3", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\24\0"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=22808, ...}) = 0 > old_mmap(NULL, 25784, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x855000 > old_mmap(0x85b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x85b000 > close(3) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75ef000 > set_thread_area({entry_number:-1 -> 6, base_addr:0xb75ef300, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 > munmap(0xb75f1000, 13271) = 0 > set_tid_address(0xb75ef348) = 15696 > rt_sigaction(SIGRTMIN, {0x89c670, [], SA_RESTORER|SA_SIGINFO, 0x8a2df0}, NULL, 8) = 0 > rt_sigprocmask(SIG_UNBLOCK, [RTMIN], NULL, 8) = 0 > getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0 > brk(0) = 0x92a9000 > brk(0x92ca000) = 0x92ca000 > brk(0) = 0x92ca000 > umask(022) = 022 > time(NULL) = 1103229325 > getpid() = 15696 > open("/etc/nagios/nagios.cfg", O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0664, st_size=30836, ...}) = 0 > mmap2(NULL, 30836, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75e7000 > open("/etc/nagios/private/resource.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0640, st_size=1360, ...}) = 0 > mmap2(NULL, 1360, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e6000 > munmap(0xb75e6000, 1360) = 0 > close(4) = 0 > munmap(0xb75e7000, 30836) = 0 > close(3) = 0 > socket(PF_FILE, SOCK_STREAM, 0) = 3 > connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory) > close(3) = 0 > open("/etc/nsswitch.conf", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=1686, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75ee000 > read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1686 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0xb75ee000, 4096) = 0 > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/etc/ld.so.cache", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=13271, ...}) = 0 > old_mmap(NULL, 13271, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75eb000 > close(3) = 0 > open("/lib/libnss_files.so.2", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\35\0"..., 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=51920, ...}) = 0 > old_mmap(NULL, 46716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x9a3000 > old_mmap(0x9ae000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa000) = 0x9ae000 > close(3) = 0 > munmap(0xb75eb000, 13271) = 0 > open("/etc/group", O_RDONLY) = 3 > fcntl64(3, F_GETFD) = 0 > fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 > fstat64(3, {st_mode=S_IFREG|0644, st_size=610, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75ee000 > read(3, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 610 > close(3) = 0 > munmap(0xb75ee000, 4096) = 0 > getegid32() = 0 > setgid32(2006) = 0 > socket(PF_FILE, SOCK_STREAM, 0) = 3 > connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory) > close(3) = 0 > open("/etc/passwd", O_RDONLY) = 3 > fcntl64(3, F_GETFD) = 0 > fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 > fstat64(3, {st_mode=S_IFREG|0644, st_size=1515, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75ee000 > read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1515 > close(3) = 0 > munmap(0xb75ee000, 4096) = 0 > geteuid32() = 0 > open("/etc/group", O_RDONLY) = 3 > fcntl64(3, F_GETFD) = 0 > fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 > fstat64(3, {st_mode=S_IFREG|0644, st_size=610, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75ee000 > _llseek(3, 0, [0], SEEK_CUR) = 0 > read(3, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 610 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0xb75ee000, 4096) = 0 > setgroups32(1, [2006]) = 0 > setuid32(2006) = 0 > getpid() = 15696 > open("/var/log/nagios/nagios.log", O_RDWR|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 3 > time([1103229325]) = 1103229325 > fstat64(3, {st_mode=S_IFREG|0664, st_size=17968, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75ee000 > write(3, "[1103229325] Nagios 2.0b1 starti"..., 50) = 50 > close(3) = 0 > munmap(0xb75ee000, 4096) = 0 > gettimeofday({1103229325, 989685}, NULL) = 0 > open("/var/log/nagios/nagios.log", O_RDWR|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 3 > time([1103229325]) = 1103229325 > fstat64(3, {st_mode=S_IFREG|0664, st_size=18018, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75ee000 > write(3, "[1103229325] LOG VERSION: 2.0\n", 30) = 30 > close(3) = 0 > munmap(0xb75ee000, 4096) = 0 > gettimeofday({1103229325, 990113}, NULL) = 0 > gettimeofday({1103229325, 990156}, NULL) = 0 > open("/etc/nagios/nagios.cfg", O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0664, st_size=30836, ...}) = 0 > mmap2(NULL, 30836, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75e7000 > munmap(0xb75e7000, 30836) = 0 > close(3) = 0 > open("/etc/nagios/nagios.cfg", O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0664, st_size=30836, ...}) = 0 > mmap2(NULL, 30836, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75e7000 > open("/etc/nagios/checkcommands.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0664, st_size=4475, ...}) = 0 > mmap2(NULL, 4475, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e5000 > munmap(0xb75e5000, 4475) = 0 > close(4) = 0 > open("/etc/nagios/misccommands.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0664, st_size=4334, ...}) = 0 > mmap2(NULL, 4334, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e5000 > munmap(0xb75e5000, 4334) = 0 > close(4) = 0 > open("/etc/nagios/contactgroups.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=232, ...}) = 0 > mmap2(NULL, 232, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e6000 > munmap(0xb75e6000, 232) = 0 > close(4) = 0 > open("/etc/nagios/contacts.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=1045, ...}) = 0 > mmap2(NULL, 1045, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e6000 > munmap(0xb75e6000, 1045) = 0 > close(4) = 0 > open("/etc/nagios/dependencies.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=310, ...}) = 0 > mmap2(NULL, 310, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e6000 > munmap(0xb75e6000, 310) = 0 > close(4) = 0 > open("/etc/nagios/escalations.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=705, ...}) = 0 > mmap2(NULL, 705, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e6000 > munmap(0xb75e6000, 705) = 0 > close(4) = 0 > open("/etc/nagios/hostgroups.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=452, ...}) = 0 > mmap2(NULL, 452, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e6000 > munmap(0xb75e6000, 452) = 0 > close(4) = 0 > open("/etc/nagios/hosts.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=2236, ...}) = 0 > mmap2(NULL, 2236, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e6000 > munmap(0xb75e6000, 2236) = 0 > close(4) = 0 > open("/etc/nagios/services.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=3510, ...}) = 0 > mmap2(NULL, 3510, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e6000 > munmap(0xb75e6000, 3510) = 0 > close(4) = 0 > open("/etc/nagios/timeperiods.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=397, ...}) = 0 > mmap2(NULL, 397, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e6000 > munmap(0xb75e6000, 397) = 0 > close(4) = 0 > open("/etc/nagios/hostextinfo.cfg", O_RDONLY|O_LARGEFILE) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=638, ...}) = 0 > mmap2(NULL, 638, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb75e6000 > munmap(0xb75e6000, 638) = 0 > close(4) = 0 > munmap(0xb75e7000, 30836) = 0 > close(3) = 0 > time([1103229325]) = 1103229325 > open("/var/log/nagios/objects.cache", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75ee000 > open("/etc/localtime", O_RDONLY) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=56, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75ed000 > read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0"..., 4096) = 56 > close(4) = 0 > munmap(0xb75ed000, 4096) = 0 > write(3, "################################"..., 4096) = 4096 > write(3, "\tcontactgroup_name\tnetops-ux-adm"..., 4096) = 4096 > write(3, "n_interval\t5\n\tcontact_groups\tnet"..., 889) = 889 > close(3) = 0 > munmap(0xb75ee000, 4096) = 0 > getuid32() = 2006 > geteuid32() = 2006 > getgid32() = 2006 > getegid32() = 2006 > open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=32148976, ...}) = 0 > mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb73ef000 > mmap2(NULL, 114688, PROT_READ, MAP_PRIVATE, 3, 0x332) = 0xb73d3000 > close(3) = 0 > mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73b2000 > time([1103229325]) = 1103229325 > stat64("/usr/lib/perl5/5.8.0/5.8.0/i386-linux-thread-multi", 0xbfffa120) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/5.8.0", 0xbfffa120) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > _llseek(0, 0, 0xbfff9f10, SEEK_CUR) = -1 ESPIPE (Illegal seek) > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > _llseek(1, 0, 0xbfff9f10, SEEK_CUR) = -1 ESPIPE (Illegal seek) > ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > _llseek(2, 0, 0xbfff9f10, SEEK_CUR) = -1 ESPIPE (Illegal seek) > open("/usr/bin/p1.pl", O_RDONLY|O_LARGEFILE) = 3 > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff9fa8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(3, 0, [0], SEEK_CUR) = 0 > fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 > fstat64(3, {st_mode=S_IFREG|0664, st_size=25737, ...}) = 0 > rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0 > readlink("/proc/self/exe", 0xbfff9170, 4095) = -1 EACCES (Permission denied) > getpid() = 15696 > getppid() = 15695 > brk(0) = 0x92ca000 > brk(0x92eb000) = 0x92eb000 > read(3, "package Embed::Persistent;\n\n#\n# "..., 4096) = 4096 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/strict.pmc", 0xbfff9c10) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/strict.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/strict.pmc", 0xbfff9c10) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/strict.pm", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff9a18) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "package strict;\n\n$strict::VERSIO"..., 4096) = 2806 > _llseek(4, 560, [560], SEEK_SET) = 0 > _llseek(4, 0, [560], SEEK_CUR) = 0 > close(4) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/vars.pmc", 0xbfff9c10) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/vars.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/vars.pmc", 0xbfff9c10) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/vars.pm", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff9a18) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "package vars;\n\nuse 5.006;\n\nour $"..., 4096) = 2358 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/warnings/register.pmc", 0xbfff96f0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/warnings/register.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/warnings/register.pmc", 0xbfff96f0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/warnings/register.pm", O_RDONLY|O_LARGEFILE) = 5 > ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94f8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(5, 0, [0], SEEK_CUR) = 0 > read(5, "package warnings::register ;\n\nou"..., 4096) = 1014 > read(5, "", 4096) = 0 > close(5) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/warnings.pmc", 0xbfff96f0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/warnings.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/warnings.pmc", 0xbfff96f0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/warnings.pm", O_RDONLY|O_LARGEFILE) = 5 > ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94f8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(5, 0, [0], SEEK_CUR) = 0 > read(5, "\n# !!!!!!! DO NOT EDIT THIS FI"..., 4096) = 4096 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Carp.pmc", 0xbfff91d0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Carp.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/Carp.pmc", 0xbfff91d0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/Carp.pm", O_RDONLY|O_LARGEFILE) = 6 > ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff8fd8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(6, 0, [0], SEEK_CUR) = 0 > read(6, "package Carp;\n\nour $VERSION = \'1"..., 4096) = 4096 > read(6, " # Reconcil"..., 4096) = 2623 > read(6, "", 4096) = 0 > close(6) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Exporter.pmc", 0xbfff91d0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Exporter.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/Exporter.pmc", 0xbfff91d0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/Exporter.pm", O_RDONLY|O_LARGEFILE) = 6 > ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff8fd8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(6, 0, [0], SEEK_CUR) = 0 > read(6, "package Exporter;\n\nrequire 5.006"..., 4096) = 4096 > brk(0) = 0x92eb000 > brk(0x930c000) = 0x930c000 > _llseek(6, 2105, [2105], SEEK_SET) = 0 > _llseek(6, 0, [2105], SEEK_CUR) = 0 > close(6) = 0 > read(5, "=> \"\\x00\\x00\\x00\\x00\\x00\\x00\\x00"..., 4096) = 4096 > read(5, "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\", #"..., 4096) = 4096 > read(5, "= 1;\n\t $no_fatal = 0;\n\t}\n\tels"..., 4096) = 3166 > read(5, "", 4096) = 0 > close(5) = 0 > _llseek(4, 1148, [1148], SEEK_SET) = 0 > _llseek(4, 0, [1148], SEEK_CUR) = 0 > close(4) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Text/ParseWords.pmc", 0xbfff9c10) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Text/ParseWords.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/Text/ParseWords.pmc", 0xbfff9c10) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/Text/ParseWords.pm", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff9a18) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "package Text::ParseWords;\n\nuse v"..., 4096) = 4096 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/re.pmc", 0xbfff96f0) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/re.pm", O_RDONLY|O_LARGEFILE) = 5 > ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff94f8) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(5, 0, [0], SEEK_CUR) = 0 > read(5, "package re;\n\nour $VERSION = 0.03"..., 4096) = 4019 > brk(0) = 0x930c000 > brk(0x932d000) = 0x932d000 > read(5, "", 4096) = 0 > close(5) = 0 > _llseek(4, 3213, [3213], SEEK_SET) = 0 > _llseek(4, 0, [3213], SEEK_CUR) = 0 > close(4) = 0 > stat64("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/constant.pmc", 0xbfff9c10) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/i386-linux-thread-multi/constant.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/perl5/5.8.0/constant.pmc", 0xbfff9c10) = -1 ENOENT (No such file or directory) > open("/usr/lib/perl5/5.8.0/constant.pm", O_RDONLY|O_LARGEFILE) = 4 > ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfff9a18) = -1 ENOTTY (Inappropriate ioctl for device) > _llseek(4, 0, [0], SEEK_CUR) = 0 > read(4, "package constant;\n\nuse strict;\nu"..., 4096) = 4096 > _llseek(4, 3295, [3295], SEEK_SET) = 0 > _llseek(4, 0, [3295], SEEK_CUR) = 0 > close(4) = 0 > read(3, "hndlr(@a); };\n\n\tif ($@) {\n\t\tif ("..., 4096) = 4096 > read(3, " package\n\t\tmy $eval = qq{\n\t\t\tpac"..., 4096) = 4096 > read(3, "dle = $self->{FH} ;\n\tprintf $han"..., 4096) = 4096 > read(3, "so the last plugin to be compile"..., 4096) = 4096 > read(3, "mbed::check_5ftest; sub hndlr { "..., 4096) = 4096 > read(3, "or intervention.\n\nProbably the b"..., 4096) = 1161 > read(3, "", 4096) = 0 > close(3) = 0 > rt_sigaction(SIGQUIT, {0x806f7d0, [QUIT], SA_RESTORER|SA_RESTART, 0x4deeb8}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGTERM, {0x806f7d0, [TERM], SA_RESTORER|SA_RESTART, 0x4deeb8}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGHUP, {0x806f7d0, [HUP], SA_RESTORER|SA_RESTART, 0x4deeb8}, {SIG_DFL}, 8) = 0 > rt_sigaction(SIGSEGV, {0x806f7d0, [SEGV], SA_RESTORER|SA_RESTART, 0x4deeb8}, {SIG_DFL}, 8) = 0 > gettimeofday({1103229326, 44577}, NULL) = 0 > chdir("/") = 0 > umask(022) = 022 > open("/var/run/nagios.pid", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = -1 EACCES (Permission denied) > open("/var/log/nagios/nagios.log", O_RDWR|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 3 > time([1103229326]) = 1103229326 > fstat64(3, {st_mode=S_IFREG|0664, st_size=18048, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73b1000 > write(3, "[1103229326] You do not have per"..., 72) = 72 > close(3) = 0 > munmap(0xb73b1000, 4096) = 0 > gettimeofday({1103229326, 45257}, NULL) = 0 > getpid() = 15696 > open("/var/log/nagios/nagios.log", O_RDWR|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 3 > time([1103229326]) = 1103229326 > fstat64(3, {st_mode=S_IFREG|0664, st_size=18120, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73b1000 > write(3, "[1103229326] Bailing out due to "..., 96) = 96 > close(3) = 0 > munmap(0xb73b1000, 4096) = 0 > gettimeofday({1103229326, 45722}, NULL) = 0 > exit_group(-2) = ? -- 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 chris.stankaitis at datawire.net Thu Dec 16 22:15:29 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Thu, 16 Dec 2004 16:15:29 -0500 Subject: Nagios 2.0 init.d/nagios and daemonizing... In-Reply-To: <41C1F999.9060808@op5.se> References: <41C1DB05.1080007@datawire.net> <1103224118.12572.92.camel@localhost> <41C1DF94.6080709@datawire.net> <41C1EE00.50601@op5.se> <41C1F74A.6020108@datawire.net> <41C1F999.9060808@op5.se> Message-ID: <41C1FAF1.2060403@datawire.net> >> > > You can use the lock_file directive in nagios.cfg to make it write its > config file somewhere else (at least I think it's lock_file. Look it up > in the docs). > >> point taken, however this is a serious bug with the nagios binary, it needs to be fixed... I just hope the dev's are watching the list and can roll the fix into b2, or submit a patch we can use to fix this. --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 chris.stankaitis at datawire.net Thu Dec 16 22:23:51 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Thu, 16 Dec 2004 16:23:51 -0500 Subject: Nagios 2.0 init.d/nagios and daemonizing... In-Reply-To: <41C1FAF1.2060403@datawire.net> References: <41C1DB05.1080007@datawire.net> <1103224118.12572.92.camel@localhost> <41C1DF94.6080709@datawire.net> <41C1EE00.50601@op5.se> <41C1F74A.6020108@datawire.net> <41C1F999.9060808@op5.se> <41C1FAF1.2060403@datawire.net> Message-ID: <41C1FCE7.3030407@datawire.net> Chris Stankaitis wrote: >>> >> >> You can use the lock_file directive in nagios.cfg to make it write its >> config file somewhere else (at least I think it's lock_file. Look it >> up in the docs). >> >>> > > point taken, however this is a serious bug with the nagios binary, it > needs to be fixed... > > I just hope the dev's are watching the list and can roll the fix into > b2, or submit a patch we can use to fix this. > > --Chris Point of interest I downloaded the daily snapshot (nagios-cvs) this bug exists in the daily build as well. --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 ae at op5.se Thu Dec 16 23:25:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Dec 2004 23:25:40 +0100 Subject: Nagios 2.0 init.d/nagios and daemonizing... In-Reply-To: <41C1FAF1.2060403@datawire.net> References: <41C1DB05.1080007@datawire.net> <1103224118.12572.92.camel@localhost> <41C1DF94.6080709@datawire.net> <41C1EE00.50601@op5.se> <41C1F74A.6020108@datawire.net> <41C1F999.9060808@op5.se> <41C1FAF1.2060403@datawire.net> Message-ID: <41C20B64.4010207@op5.se> Chris Stankaitis wrote: >>> >> >> You can use the lock_file directive in nagios.cfg to make it write its >> config file somewhere else (at least I think it's lock_file. Look it >> up in the docs). >> >>> > > point taken, however this is a serious bug with the nagios binary, it > needs to be fixed... > > I just hope the dev's are watching the list and can roll the fix into > b2, or submit a patch we can use to fix this. > We are, apparently. Ethan is the only developer (some of us contribute a bit now and then) and this is by design. I imagine it has something to do with the fact that the main nagios process drops all privileges before going active. Most daemons have the master process running as root, forking one other to do all the work while the master only sits around waiting for SIG_CHLD and then cleans up. I'll have a look at it and see if I can come up with something clean enough for Ethan to include. > --Chris > -- 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 rrivera at comtex.com Fri Dec 17 01:27:45 2004 From: rrivera at comtex.com (Rimbert Rivera) Date: Thu, 16 Dec 2004 18:27:45 -0600 Subject: Problems installing check_mssql Message-ID: >It's in 1.4 (since july this year, I believe). I only see check_mssql.sh in the contrib of 1.4 and check_mssql isn't anywhere in that release. If I understand correctly, check_mssql.sh only checks connectivity to a SQL server but doesn't allow running a query. We need to run a query which check_mssql does. >Install freetds. I did do that and I am able to run check_mssql.sh and tsql. But unless I misunderstood the man for both of them, I cannot run a query with them. >Install freetds and DBD::Sybase. I know it can use the freetds libs (I compiled it that way myself). I had problems installing DBD::Sybase (via Webmin's install from CPAN). It keeps complaining of not finding Sybase libraries or the lib directory: "Can't find any Sybase libraries in /usr/local/lib at Makefile.PL line 107, line 44." (/usr/local is supposed to be the default location of Sybase libraries) "Can't find the lib directory under /etc! at Makefile.PL line 104, line 44." (/etc is where my freetds.conf file is) "Can't find the lib directory under /usr/share/doc/freetds-0.62.1! at Makefile.PL line 104, line 44." (/usr/share/doc/freetds-0.62.1 is the only other place I could locate freetds though I knew it was a long shot) "Can't find the lib directory under /usr/share/pear/DB! at Makefile.PL line 104, line 44." (/usr/share/pear/DB is where my sybase.php is) I couldn't locate any other directories that had either freetds or sybase in it. So I think I need to install Sybase? I see that ASE Express Edition for Linux is free but it requires registration before I can install. Am I still on the right track and install it? What I find really strange is, the other RH9 that has check_mssql running, does have DBD::Sybase perl module installed but not the freetds package (according to Webmin). Check_mssql has no man but check_mssql -h gives: Syntax: ./check_mssql -s -d -u -p -q [-v] * --database -d Database name * --server -s Server name * --username -u Username * --password -p Password * --query -q SQL query to run --verbose -v verbose There is no -V option so I don't know what version this is. Here's the command definition from the working RH9 (I cleaned up our values in <>): # 'check_mssql' command definition define command{ command_name check_mssql command_line $USER1$/check_mssql -s $HOSTADDRESS$ -d -u -p -q "$ARG1$" } Here's the service definition from the working RH9 (I cleaned up our values in <>): # Service definition define service{ use comtex-service-template ; Name of service template to use host_name service_description max_check_attempts 1 check_command check_mssql!exec ! } I've even tried installing sqsh because I think I read check_mssql may need both freetds and sqsh, but I had problems installing sqsh, too: error: Failed dependencies: libcomn.so is needed by sqsh-1.7-1 libcs.so is needed by sqsh-1.7-1 libct.so is needed by sqsh-1.7-1 libintl.so is needed by sqsh-1.7-1 libncurses.so.4 is needed by sqsh-1.7-1 libreadline.so.3 is needed by sqsh-1.7-1 libsybtcl.so is needed by sqsh-1.7-1 I tried installing libcomn.so but I can't seem to find that package (or whatever it is). The working RH9 did not have sqsh package installed on it. If you haven't guessed, I'm very clueless about most of this stuff. I'm only starting to understand the basics of nagios, but I am not a programmer and still a Linux newbie so I don't even know what I'm installing (I don't know the difference between a package and a perl module or whatever). Not that I am expecting anyone to suddenly get me up to speed on any of this, but please don't assume I know something that you think is basic. :) Unfortunately, going back to the consultant is not an option. So, how do I install check_mssql? - 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: Andreas Ericsson [mailto:ae at op5.se] Sent: Thursday, December 16, 2004 3:15 PM To: Rimbert Rivera Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problems installing check_mssql 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 Fri Dec 17 01:52:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 17 Dec 2004 01:52:44 +0100 Subject: Problems installing check_mssql In-Reply-To: References: Message-ID: <41C22DDC.2000400@op5.se> Rimbert Rivera wrote: >>It's in 1.4 (since july this year, I believe). > > > I only see check_mssql.sh in the contrib of 1.4 and check_mssql isn't > anywhere in that release. If I understand correctly, check_mssql.sh > only checks connectivity to a SQL server but doesn't allow running a > query. We need to run a query which check_mssql does. > > >>Install freetds. > > > I did do that and I am able to run check_mssql.sh and tsql. But unless > I misunderstood the man for both of them, I cannot run a query with > them. > tsql lets you run any arbitrary query against any sql server using the tabular data stream protocol (i.e. sybase and mssql servers). > >>Install freetds and DBD::Sybase. I know it can use the freetds libs (I > > compiled it that way myself). > > I had problems installing DBD::Sybase (via Webmin's install from CPAN). > It keeps complaining of not finding Sybase libraries or the lib > directory: > Did you install freetds-devel as well? > "Can't find any Sybase libraries in /usr/local/lib at Makefile.PL line > 107, line 44." (/usr/local is supposed to be the default location of > Sybase libraries) > > "Can't find the lib directory under /etc! at Makefile.PL line 104, line > 44." (/etc is where my freetds.conf file is) > Naturally not. No libraries are installed under /etc (aka sysconfdir) on any sane distribution. > "Can't find the lib directory under /usr/share/doc/freetds-0.62.1! at > Makefile.PL line 104, line 44." (/usr/share/doc/freetds-0.62.1 is > the only other place I could locate freetds though I knew it was a long > shot) > Very long indeed. > "Can't find the lib directory under /usr/share/pear/DB! at Makefile.PL > line 104, line 44." (/usr/share/pear/DB is where my sybase.php is) > Naturally not. /usr/share/pear/DB is probably where your PHP database things are installed. > I couldn't locate any other directories that had either freetds or > sybase in it. > > So I think I need to install Sybase? I see that ASE Express Edition for > Linux is free but it requires registration before I can install. Am I > still on the right track and install it? > I wouldn't know. I did SYBASE=/usr perl Makefile.PL when I built it (as per instructions in the README, as I recall it). It then autodetected my freetds libs and everything else. > > What I find really strange is, the other RH9 that has check_mssql > running, does have DBD::Sybase perl module installed but not the freetds > package (according to Webmin). Check_mssql has no man but check_mssql > -h gives: > Syntax: ./check_mssql -s -d -u -p > -q [-v] > * --database -d Database name > * --server -s Server name > * --username -u Username > * --password -p Password > * --query -q SQL query to run > --verbose -v verbose > > There is no -V option so I don't know what version this is. > > Here's the command definition from the working RH9 (I cleaned up our > values in <>): > # 'check_mssql' command definition > define command{ > command_name check_mssql > command_line $USER1$/check_mssql -s $HOSTADDRESS$ -d > -u -p -q "$ARG1$" > } > > Here's the service definition from the working RH9 (I cleaned up our > values in <>): > # Service definition > define service{ > use comtex-service-template > ; Name of service template to use > > host_name > service_description > max_check_attempts 1 > check_command check_mssql!exec procedure>! > } > > I've even tried installing sqsh because I think I read check_mssql may > need both freetds and sqsh, but I had problems installing sqsh, too: > > error: Failed dependencies: > libcomn.so is needed by sqsh-1.7-1 > libcs.so is needed by sqsh-1.7-1 > libct.so is needed by sqsh-1.7-1 > libintl.so is needed by sqsh-1.7-1 > libncurses.so.4 is needed by sqsh-1.7-1 > libreadline.so.3 is needed by sqsh-1.7-1 > libsybtcl.so is needed by sqsh-1.7-1 > > I tried installing libcomn.so but I can't seem to find that package (or > whatever it is). > > The working RH9 did not have sqsh package installed on it. > > > If you haven't guessed, I'm very clueless about most of this stuff. I'm > only starting to understand the basics of nagios, but I am not a > programmer and still a Linux newbie so I don't even know what I'm > installing (I don't know the difference between a package and a perl > module or whatever). Not that I am expecting anyone to suddenly get me > up to speed on any of this, but please don't assume I know something > that you think is basic. :) > > Unfortunately, going back to the consultant is not an option. > > So, how do I install check_mssql? > > > > > > - 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: Andreas Ericsson [mailto:ae at op5.se] > Sent: Thursday, December 16, 2004 3:15 PM > To: Rimbert Rivera > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problems installing check_mssql > > 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 nagios at troutpocket.org Fri Dec 17 03:40:55 2004 From: nagios at troutpocket.org (Scott Ecker) Date: Thu, 16 Dec 2004 18:40:55 -0800 Subject: Can't display graphs or images in web interface Message-ID: <41C24737.4000204@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 janek at huggz.com Fri Dec 17 10:37:06 2004 From: janek at huggz.com (Janek Richter) Date: 17 Dec 2004 09:37:06 -0000 Subject: Notification only if 2 hosts changed status to down Message-ID: <20041217093706.6129.qmail@darwin.dunkel.de> Hello, i would like to get a notification if Host A _and_ Host B went down, but not on one of both. Is that possible? I guess hostdependency or parents is the wrong attempt? Thanks -Janek ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 10:43:16 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 17 Dec 2004 10:43:16 +0100 Subject: Notification only if 2 hosts changed status to down In-Reply-To: <20041217093706.6129.qmail@darwin.dunkel.de> References: <20041217093706.6129.qmail@darwin.dunkel.de> Message-ID: <41C2AA34.7030100@op5.se> Janek Richter wrote: > Hello, > > i would like to get a notification if Host A _and_ Host B went down, but not > on one of both. Is that possible? I guess hostdependency or parents is the > wrong attempt? > hostdependencies is the way to do it. Take a look at the notification_failure_criteria > Thanks > -Janek > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ollie at uk.clara.net Fri Dec 17 14:32:05 2004 From: ollie at uk.clara.net (Ollie Cook) Date: Fri, 17 Dec 2004 13:32:05 +0000 Subject: failing host checks Message-ID: <20041217133205.GH7134@mutare.noc.clara.net> Hi, I am having a problem with host checks. Specifically, NAGIOS is marking a host as DOWN when all the services on a host are down, but the host itself is UP. However, this is only happening in SOME cases. Some hosts where all services are DOWN are marked as UP, and others as DOWN. I have NAGIOS configured as follows: define command { command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -p 5 -w 3000.0,20% -c 5000.0,60% } define host { name generic-host ... check_command check-host-alive ... register 0 } define host { use generic-host host_name atropos.uk.clara.net address 217.158.240.13 alias atropos.uk.clara.net } The Host State information for atropos.uk.clara.net lists the status information as "(No Information Returned From Host Check)". However, running the plugin manually returns the following output: # check_ping -H 217.158.240.13 -p 5 -w 3000.0,20% -c 5000.0,60% PING OK - Packet loss = 0%, RTA = 12.55 ms Therefore I don't believe the problem lies with the plugin that I'm using to check host status. I am using NAGIOS version 1.2. How might I go about debugging this issue further? Are there any relevant fixes in the newly released 2.0b which may have an effect on this? Yours, Ollie -- Ollie Cook Systems Architect, Claranet UK ollie at uk.clara.net +44 20 7685 8065 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 14:41:56 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 17 Dec 2004 08:41:56 -0500 Subject: Notification only if 2 hosts changed status to down In-Reply-To: <20041217093706.6129.qmail@darwin.dunkel.de> References: <20041217093706.6129.qmail@darwin.dunkel.de> Message-ID: <41C2E224.6010205@dragaera.net> Janek Richter wrote: > Hello, > > i would like to get a notification if Host A _and_ Host B went down, but not > on one of both. Is that possible? I guess hostdependency or parents is the > wrong attempt? Try disabling notifications for the two hosts and setting up a host cluster.. http://nagios.sourceforge.net/docs/1_0/clusters.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 luc at roseberry.ca Fri Dec 17 15:13:48 2004 From: luc at roseberry.ca (Luc Roseberry) Date: Fri, 17 Dec 2004 09:13:48 -0500 Subject: Unable to display monitoring in Web page Message-ID: <200412170913.48689.luc@roseberry.ca> Nagios Version 2.0a1 OS : Linux MandrakeLinux 10.1 rpm from MandrakeLinux. Pointing my browser to http://localhost/nagios gives me the "home" page. Clicking on one of the monitoring links (like Tactical Overview) gives me: Error: Could not read object configuration data! Nagios is running. I am receiving email with alert messages as defined in the contacts.cfg file. Last line in my httpd.conf file: Include conf/nagios.conf Here's my conf/nagios.conf file: <- - - - NAGIOS.CONF listing starts here - - - - -> ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all AuthType Basic AuthName "nagios" AuthUserFile /etc/nagios/htpasswd Require valid-user Alias /nagios /usr/share/nagios/ AllowOverride AuthConfig Options Indexes FollowSymLinks Order allow,deny Allow from all AuthType Basic AuthName "nagios" AuthUserFile /etc/nagios/htpasswd Require valid-user BTW, /usr/lib/nagios/cgi exists and is containing the cgi files and /usr/share/nagios exists and is containing the html files. The Nagios configuration files are in /etc/nagios. My cgi.cfg contains: url_html_path=/nagios (as I point my URL to localhost/nagios) Here are the last lines from nagios.log: [1103292273] Nagios 2.0a1 starting... (PID=23861) [1103292273] LOG VERSION: 2.0 [1103292273] Finished daemonizing... (New PID=23862) Any idea why I get that error message? Thanks, Luc Roseberry ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 16:55:06 2004 From: is at gentestrana.net (Andrea Cerrito) Date: Fri, 17 Dec 2004 16:55:06 +0100 Subject: Error using interface In-Reply-To: <41C0590E.5060407@op5.se> References: <1102689207.7544.20.camel@localhost> <1103122884.7859.65.camel@localhost> <41C0590E.5060407@op5.se> Message-ID: <1103298906.8781.60.camel@localhost> Il giorno mer, 15-12-2004 alle 16:32 +0100, Andreas Ericsson ha scritto: > 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, nagios 1.2 nagios-nrpe-2.0-3.rhel3.dag nagios-plugins-nrpe-2.0-3.rhel3.dag nagios-1.2-0.rhel3.dag nagios-plugins-1.3.1-10.rhel3.dag nagios-snmp-plugins-1.0-1t.rhel3 > 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. I verified, and I got just one instance of nagios. 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 luc at roseberry.ca Fri Dec 17 16:55:25 2004 From: luc at roseberry.ca (Luc Roseberry) Date: Fri, 17 Dec 2004 10:55:25 -0500 Subject: Partly solved: Unable to display monitoring in Web page Message-ID: <200412171055.25508.luc@roseberry.ca> Okay. I think that I found why. Looking to the error.log for httpd I see: access to /usr/lib/nagios/cgi/tac.cgi failed, reason: SSL connection required, referer: http://bureau.roseberry.ca/nagios/side.html Now, I have to solve that... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ollie at uk.clara.net Fri Dec 17 17:23:11 2004 From: ollie at uk.clara.net (Ollie Cook) Date: Fri, 17 Dec 2004 16:23:11 +0000 Subject: failing host checks In-Reply-To: <20041217133205.GH7134@mutare.noc.clara.net> References: <20041217133205.GH7134@mutare.noc.clara.net> Message-ID: <20041217162311.GB9385@mutare.noc.clara.net> I've gathered some more information on this problem. I've enabled DEBUG3 which shows the results of service and host checks. The only services configured on this host are NNTP and NNTP-feed. The relevant results are: *** Event Details *** Event type: 0 (service check) Service Description: NNTP-feed Associated Host: atropos.uk.clara.net Event time: Fri Dec 17 16:00:52 2004 Checking service 'NNTP-feed' on host 'atropos.uk.clara.net'... Found check result for service 'NNTP-feed' on host 'atropos.uk.clara.net' Check Type: ACTIVE Parallelized?: Yes Exited OK?: Yes Return Status: 2 Plugin Output: 'Unexpected response from host: 502 atropos.uk.clara.net: Transfer permission denied to 80.168.86.11 - newsmaster at clara.net (DIABLO 4-STABLE-20030211-00)'A *** Event Details *** Event type: 0 (service check) Service Description: NNTP Associated Host: atropos.uk.clara.net Event time: Fri Dec 17 16:02:21 2004 Checking service 'NNTP' on host 'atropos.uk.clara.net'... Found check result for service 'NNTP' on host 'atropos.uk.clara.net' Check Type: ACTIVE Parallelized?: Yes Exited OK?: Yes Return Status: 2 Plugin Output: 'Unexpected response from host: 502 atropos.uk.clara.net: Access denied to your node - newsmaster at clara.net' Both services have a return status of 2 (CRITICAL): ./base/nagios.h:#define STATE_CRITICAL 2 so I would expect to see a host check for this host. Interestingly, the 'Last Status Check' is increasing, but the logs never show the check_ping plugin being called for that host. Does anyone know where I can look for further information about this? Yours, Ollie -- Ollie Cook Systems Architect, Claranet UK ollie at uk.clara.net +44 20 7685 8065 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lhaig at haigmail.com Fri Dec 17 17:23:42 2004 From: lhaig at haigmail.com (Lance Haig) Date: Fri, 17 Dec 2004 16:23:42 +0000 Subject: 2.2 on fedora 3 Message-ID: <41C3080E.4080403@haigmail.com> I have had trouble installing 2.0 on Fedora 3. I have been able to compile and all that but when I did a make install-config none of the sample files were copied. I have looked at 1.2 version and the files that should be in the etc folder are not there. What would be the right order to start populating the files to create a working version? I have created the system entry so my "Nagios" server is defined but I would like to add a new device so that I can start nagios. Any help would be appreciated Thanks Lance ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lhaig at haigmail.com Fri Dec 17 17:25:56 2004 From: lhaig at haigmail.com (Lance Haig) Date: Fri, 17 Dec 2004 16:25:56 +0000 Subject: Good web front ends to manage the config? In-Reply-To: <20041217162311.GB9385@mutare.noc.clara.net> References: <20041217133205.GH7134@mutare.noc.clara.net> <20041217162311.GB9385@mutare.noc.clara.net> Message-ID: <41C30894.9020705@haigmail.com> Anyone have a recommendation about a good web front end to manage the config? Thanks Lance ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Dec 17 17:29:00 2004 From: tearl at cacdhh.org (Thomas Earl) Date: Fri, 17 Dec 2004 11:29:00 -0500 Subject: check_apc_ups.pl Returns unknown exit code. Message-ID: <20041217162904.8DC53BA05@www.prhobbies.com> Greetings to all, I looked back in the archives about check_apc_ups.pl returning a 3 as an exit code. Jon Lyons said ... >> Thanks for the reply, while I was debugging I added; >> my $exitval = 0; >> To the script and everything started working, don"t know why, but it >> works..... :) ... but what I'm not sure of is where that was added? I have tried in a few places and still get the same result. Anyone else got this working correctly? 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 nagios-user at proy.org Fri Dec 17 18:09:10 2004 From: nagios-user at proy.org (Patrick Proy) Date: Fri, 17 Dec 2004 18:09:10 +0100 Subject: SNMP Error while getting HD space In-Reply-To: <20041216145446.BDE46AB6E1@www.manubulon.com> References: <20041216145446.BDE46AB6E1@www.manubulon.com> Message-ID: <20041217170911.98D3FAB6E2@www.manubulon.com> Try : com2sec readonlyuser default group readonlygroup v1 readonlyuser view allview included .1 access readonlygroup "" any noauth exact allview none none Is it Net-SNMP ? Which version ? Patrick > -----Message d'origine----- > De : Ryan Brown [mailto:mailinglists at tblive.com] > Envoy? : jeudi 16 d?cembre 2004 15:55 > ? : 'Patrick Proy'; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] SNMP Error while getting HD space > > 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 From calipah at free.fr Fri Dec 17 18:33:29 2004 From: calipah at free.fr (tomaso) Date: Fri, 17 Dec 2004 18:33:29 +0100 Subject: Good web front ends to manage the config? In-Reply-To: <41C30894.9020705@haigmail.com> References: <20041217133205.GH7134@mutare.noc.clara.net> <20041217162311.GB9385@mutare.noc.clara.net> <41C30894.9020705@haigmail.com> Message-ID: <1103304809.5656.11.camel@localhost.localdomain> There's a project call Oreon, look at it http://www.oreon.org/index_en.php?PHPSESSID=e1df97c9fb7acc828e88a0d7ebf589da Le vendredi 17 d?cembre 2004 ? 16:25 +0000, Lance Haig a ?crit : > Anyone have a recommendation about a good web front end to manage the > config? > > Thanks > > Lance > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 qolinar at gmail.com Fri Dec 17 18:46:23 2004 From: qolinar at gmail.com (Qolinar) Date: Fri, 17 Dec 2004 12:46:23 -0500 Subject: unable to get cgi authentication to work Message-ID: <636d7415041217094654349c28@mail.gmail.com> I'm a bit embarrassed to post, but I'm having difficulty getting cgi authentication. I'm new to Linux, Apache and Nagios. I've tried reading up on the FAQs. I've edited httpd.conf, nagios.cfg and cgi.cfg but I can't seem to get it working. I'm trying to schedule an immediate check of a service (PING to a router) and I get the default "Sorry Dave, I can't let you do that..." message. I'm running SLES 9 and Nagios 1.2 and I'm not sure what version of Apache. Can someone PLEASE help a desperate man?? Thanks 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 zsitfa at axelero.hu Fri Dec 17 18:47:33 2004 From: zsitfa at axelero.hu (=?iso-8859-2?Q?Horv=E1th_Tam=E1s?=) Date: Fri, 17 Dec 2004 18:47:33 +0100 Subject: GSM modem Message-ID: <200412171747.iBHHlW9Q017075@fe03.axelero.hu> Hi! Did you see Mobiline E-mail-SMS Gateway? You just drop a mail to it and it converts it to an sms. And it can do it in the other directions. We use it, because it is operation system independent and we can use it for more than one system. http://www.mobiline.hu/Default.aspx?tabid=122 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 simon.westlake at twcable.com Fri Dec 17 18:58:53 2004 From: simon.westlake at twcable.com (Westlake, Simon) Date: Fri, 17 Dec 2004 12:58:53 -0500 Subject: Good web front ends to manage the config? Message-ID: <070573B58E3DFE41854CD75D8A4BEC6B36F148@PRVPVSMAIL03.corp.twcable.com> I've tried both Nagat and Nawui and gave up on both of them. Nawui was the one I used more recently and there were a few issues I had with it.. I think the most recent one was the fact that it didn't have a setting to define 'is_volatile' - I'm sure if you were so inclined, it could be hacked to add the missing features though. I've gone back to just doing the configs by hand though. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of tomaso Sent: Friday, December 17, 2004 11:33 AM Cc: nachos Subject: Re: [Nagios-users] Good web front ends to manage the config? There's a project call Oreon, look at it http://www.oreon.org/index_en.php?PHPSESSID=e1df97c9fb7acc828e88a0d7ebf589da Le vendredi 17 d?cembre 2004 ? 16:25 +0000, Lance Haig a ?crit : > Anyone have a recommendation about a good web front end to manage the > config? > > Thanks > > Lance > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ebashi at gmail.com Fri Dec 17 20:23:58 2004 From: ebashi at gmail.com (Enils Bashi) Date: Fri, 17 Dec 2004 14:23:58 -0500 Subject: nagios problem on mandrake 10.1 Message-ID: <99fb4c104121711235ead20cf@mail.gmail.com> Hi All, I have installed nagios rpms using the Mandrake drakconf software gui. I am having problems getting to work. When I click on any the of the options on the left on the nagios browser page I get the Whoops page. I am assuming there is a configuration problem of some kind but I have not been able to figure out what's going on with it. I have created a nagios.conf under /etc/httpd/conf.d/ with the following as contents: -- ScriptAlias /nagios/cgi /usr/lib/nagios/cgi AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/share/nagios Options None AllowOverride AuthConfig Order allow,deny Allow from all -- I am running apache2.0.5 and mysql 4.0.20. I have added nagios to mysql as a user and granted all the needed permissions. When I run nagios -v /etc/nagios/nagios.cfg I get 0 errors. I have created a nagios directory under /var/www/html and under that directory I have created a symbolic link to /usr/lib/nagios/cgi. Any and all feedback would be greatly appreciated. -- Enils Bashi Linux System Administrator & Computer Programmer EPA Region III East Chesapeake Bay Program Veridyne Inc. Annapolis MD 410-267-9833 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc at roseberry.ca Fri Dec 17 21:15:16 2004 From: luc at roseberry.ca (Luc Roseberry) Date: Fri, 17 Dec 2004 15:15:16 -0500 Subject: nagios problem on mandrake 10.1 In-Reply-To: <99fb4c104121711235ead20cf@mail.gmail.com> References: <99fb4c104121711235ead20cf@mail.gmail.com> Message-ID: <200412171515.16976.luc@roseberry.ca> Same here. I think that it is related to ssl with apache2. Have a look at your /var/log/http/error_log (using tail -f on the file will display in "rea-time" when you click on the options). You might see something likes: [Fri Dec 17 15:12:24 2004] [error] [client 192.168.1.2] access to /usr/lib/nagios/cgi/tac.cgi failed, reason: SSL connection required, referer: http://bureau.roseberry.ca/nagios/side.html I know that the mod_ssl module is not configure in my Apache even though apache_mod_ssl is installed. Le Vendredi 17 D?cembre 2004 14:23, Enils Bashi a ?crit?: > Hi All, > > I have installed nagios rpms using the Mandrake drakconf software gui. > I am having problems getting to work. When I click on any the of the > options on the left on the nagios browser page I get the Whoops page. > I am assuming there is a configuration problem of some kind but I have > not been able to figure out what's going on with it. I have created a > nagios.conf under /etc/httpd/conf.d/ with the following as contents: ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Dec 17 22:44:08 2004 From: mailinglists at tblive.com (Ryan Brown) Date: Fri, 17 Dec 2004 16:44:08 -0500 Subject: SNMP Error while getting HD space In-Reply-To: <20041217170911.98D3FAB6E2@www.manubulon.com> References: <20041217170911.98D3FAB6E2@www.manubulon.com> Message-ID: NET-SNMP version 5.1.1 I put in your conf, changed the community, restarted SNMPd and now snmpwalk cannot connect to it at all using. snmpwalk -Os -c COMMUNITY -v 1 box.domain.com system Ryan -----Original Message----- From: Patrick Proy [mailto:nagios-user at proy.org] Sent: Friday, December 17, 2004 12:09 PM To: 'Ryan Brown'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SNMP Error while getting HD space Try : com2sec readonlyuser default group readonlygroup v1 readonlyuser view allview included .1 access readonlygroup "" any noauth exact allview none none Is it Net-SNMP ? Which version ? Patrick > -----Message d'origine----- > De : Ryan Brown [mailto:mailinglists at tblive.com] > Envoy? : jeudi 16 d?cembre 2004 15:55 > ? : 'Patrick Proy'; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] SNMP Error while getting HD space > > 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 From ae at op5.se Sat Dec 18 02:01:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 18 Dec 2004 02:01:15 +0100 Subject: Partly solved: Unable to display monitoring in Web page In-Reply-To: <200412171055.25508.luc@roseberry.ca> References: <200412171055.25508.luc@roseberry.ca> Message-ID: <41C3815B.4000505@op5.se> Luc Roseberry wrote: > Okay. I think that I found why. Looking to the error.log for httpd I see: > access to /usr/lib/nagios/cgi/tac.cgi failed, reason: SSL connection required, > referer: http://bureau.roseberry.ca/nagios/side.html > > Now, I have to solve that... > Try https://bureau.roseberry.ca/nagios/ (note https, not http) > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 lhaig at haigmail.com Sat Dec 18 13:12:59 2004 From: lhaig at haigmail.com (Lance Haig) Date: Sat, 18 Dec 2004 12:12:59 +0000 Subject: Good web front ends to manage the config? In-Reply-To: <070573B58E3DFE41854CD75D8A4BEC6B36F148@PRVPVSMAIL03.corp.twcable.com> References: <070573B58E3DFE41854CD75D8A4BEC6B36F148@PRVPVSMAIL03.corp.twcable.com> Message-ID: <1103371979.12123.2.camel@lin1.haigmail.com> Simon, Thanks I have tried Nagmin but I have had trouble getting it to work. I am not skilled in Linux so I would always hope someone would write an install routine for nagios that helps you setup the system and devices easily. Thanks for your help though Lance On Fri, 2004-12-17 at 17:58, Westlake, Simon wrote: > I've tried both Nagat and Nawui and gave up on both of them. > > Nawui was the one I used more recently and there were a few issues I had with it.. I think the most recent one was the fact that it didn't have a setting to define 'is_volatile' - I'm sure if you were so inclined, it could be hacked to add the missing features though. I've gone back to just doing the configs by hand though. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of tomaso > Sent: Friday, December 17, 2004 11:33 AM > Cc: nachos > Subject: Re: [Nagios-users] Good web front ends to manage the config? > > > There's a project call Oreon, look at it > > http://www.oreon.org/index_en.php?PHPSESSID=e1df97c9fb7acc828e88a0d7ebf589da > > Le vendredi 17 d?cembre 2004 ? 16:25 +0000, Lance Haig a ?crit : > > Anyone have a recommendation about a good web front end to manage the > > config? > > > > Thanks > > > > Lance > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users.. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Sat Dec 18 19:00:00 2004 From: benny at bennyvision.com (C. Bensend) Date: Sat, 18 Dec 2004 12:00:00 -0600 (CST) Subject: 1.4.0 ALPHA plugins for HP-UX available Message-ID: <60812.63.227.74.41.1103392822.squirrel@63.227.74.41> Hey folks, I've built 1.4.0-alpha3 on HP-UX in response to some requests for them. These should include performance data and all that good stuff. *** This is an ALPHA release *** There may be some wonkiness. Please contact me about these plugins (nagios at bennyvision.com) before any of the official mailing lists. The alpha release is provided as-is, no guarantees, etc. Benny ps: There are still a few buglets that we're working on, but the base set of plugins should work fine. -- "... 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 Lukasz.Kurzyna at snt.pl Sat Dec 18 19:27:37 2004 From: Lukasz.Kurzyna at snt.pl (Kurzyna Lukasz) Date: Sat, 18 Dec 2004 19:27:37 +0100 Subject: Active checks and distributed monitoring Message-ID: Hi, I have 2 questions, 1) In my nagios installation (100 hosts, 1000 services) I noticed very strength thing. Few hours after restart/reload nagios process the active checks stop... They are scheduled but not done. I see scheduled list with services which should by checked 2 days ago... Server time is good. I have no idea what is the source of problem. I don't make any changes in config files during nagios work. 2) I would like to use distributed monitoring on 100 hosts to local check sql, http and some processes. But I'd like to check them with 2 minutes interval, and send status with 60 minutes interval (i.e. after every 30 checks, of course if the state didn't change). It could by quite easy to send non-ok status (notify interval). Could You advice me how to send ok status in this way ? Best regards Lukasz --------------------------------------------- Student of Warsaw University of Technology Nowowiejska 15/19, 00-655 Warszawa Poland ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Dec 18 20:11:59 2004 From: benny at bennyvision.com (C. Bensend) Date: Sat, 18 Dec 2004 13:11:59 -0600 (CST) Subject: 1.4.0 ALPHA plugins for HP-UX available In-Reply-To: <60812.63.227.74.41.1103392822.squirrel@63.227.74.41> References: <60812.63.227.74.41.1103392822.squirrel@63.227.74.41> Message-ID: <63054.63.227.74.41.1103397141.squirrel@63.227.74.41> > There may be some wonkiness. Please contact me about these plugins > (nagios at bennyvision.com) before any of the official mailing lists. The > alpha release is provided as-is, no guarantees, etc. Duh... I should probably include the URL. ;) Need more caffeine. http://www.bennyvision.com/projects/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 jrhett at MEER.NET Sat Dec 18 23:42:58 2004 From: jrhett at MEER.NET (Joe Rhett) Date: Sat, 18 Dec 2004 14:42:58 -0800 Subject: Unable to display monitoring in Web page In-Reply-To: <200412170913.48689.luc@roseberry.ca> References: <200412170913.48689.luc@roseberry.ca> Message-ID: <20041218224257.GA92352@meer.net> Very FAQ. I believe it may be the first question, even. Try reading it. On Fri, Dec 17, 2004 at 09:13:48AM -0500, Luc Roseberry wrote: > Nagios Version 2.0a1 > OS : Linux MandrakeLinux 10.1 > rpm from MandrakeLinux. > > Pointing my browser to http://localhost/nagios gives me the "home" page. > Clicking on one of the monitoring links (like Tactical Overview) gives me: > Error: Could not read object configuration data! > Nagios is running. I am receiving email with alert messages as defined in the > contacts.cfg file. > > Last line in my httpd.conf file: > Include conf/nagios.conf > > Here's my conf/nagios.conf file: > <- - - - NAGIOS.CONF listing starts here - - - - -> > ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > AuthType Basic > AuthName "nagios" > AuthUserFile /etc/nagios/htpasswd > > Require valid-user > > > Alias /nagios /usr/share/nagios/ > > AllowOverride AuthConfig > Options Indexes FollowSymLinks > Order allow,deny > Allow from all > AuthType Basic > AuthName "nagios" > AuthUserFile /etc/nagios/htpasswd > > Require valid-user > > > > > BTW, /usr/lib/nagios/cgi exists and is containing the cgi files > and /usr/share/nagios exists and is containing the html files. > The Nagios configuration files are in /etc/nagios. > > My cgi.cfg contains: url_html_path=/nagios (as I point my URL to > localhost/nagios) > > Here are the last lines from nagios.log: > [1103292273] Nagios 2.0a1 starting... (PID=23861) > [1103292273] LOG VERSION: 2.0 > [1103292273] Finished daemonizing... (New PID=23862) > > Any idea why I get that error message? > > Thanks, > > Luc Roseberry > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Joe Rhett Senior Geek Meer.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 dgullett at symmetrixtech.com Sun Dec 19 06:16:37 2004 From: dgullett at symmetrixtech.com (David Gullett) Date: Sat, 18 Dec 2004 23:16:37 -0600 (CST) Subject: NRPE_NT/Command Arguments Example Message-ID: <4160.24.0.246.25.1103433397.spork@webmail.symmetrixtech.com> Does anyone have an example of using NRPE_NT with command arguments on both the client and server side? The old forum seems to be gone... 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 luc at roseberry.ca Sun Dec 19 16:03:25 2004 From: luc at roseberry.ca (Luc Roseberry) Date: Sun, 19 Dec 2004 10:03:25 -0500 Subject: Unable to display monitoring in Web page In-Reply-To: <20041218224257.GA92352@meer.net> References: <200412170913.48689.luc@roseberry.ca> <20041218224257.GA92352@meer.net> Message-ID: <200412191003.25749.luc@roseberry.ca> I did a search on the FAQ at nagios.org with the error message I have: " Could not read object configuration data!". Nothing actually relevant to my problem came out (maybe I have to change my glasses..). The F0118 question says no group write permision on the CGI. That's what I have with my defaul installation (from mandrakelinux rpm). My user has an id above 400 as also mentionned in the F0118. As I mentionned in another message I think it is related to ssl and Apache2. One other user is having the same problem with Nagios (see subject: nagios problem on mandrake 10.1) Thanks. Le Samedi 18 D?cembre 2004 17:42, Joe Rhett a ?crit?: > Very FAQ. I believe it may be the first question, even. Try reading it. > > On Fri, Dec 17, 2004 at 09:13:48AM -0500, Luc Roseberry wrote: > > Nagios Version 2.0a1 > > OS : Linux MandrakeLinux 10.1 > > rpm from MandrakeLinux. > > > > Pointing my browser to http://localhost/nagios gives me the "home" page. > > Clicking on one of the monitoring links (like Tactical Overview) gives > > me: Error: Could not read object configuration data! > > Nagios is running. I am receiving email with alert messages as defined in > > the contacts.cfg file. > > ... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at proy.org Sun Dec 19 17:01:08 2004 From: nagios-user at proy.org (Patrick Proy) Date: Sun, 19 Dec 2004 17:01:08 +0100 Subject: SNMP Error while getting HD space In-Reply-To: References: Message-ID: <20041219160108.BD70AAC401@www.manubulon.com> It works with my net-snmp (5.0.6-17).... Anyway, it seems to be a Net-SNMP problem or config problem. Try the "snmpconf" script to build your configuration, it might solve the problem. 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 Ryan Brown > Envoy? : vendredi 17 d?cembre 2004 22:44 > ? : 'Patrick Proy'; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] SNMP Error while getting HD space > > NET-SNMP version 5.1.1 > > I put in your conf, changed the community, restarted SNMPd > and now snmpwalk cannot connect to it at all using. > > snmpwalk -Os -c COMMUNITY -v 1 box.domain.com system > > > Ryan > -----Original Message----- > From: Patrick Proy [mailto:nagios-user at proy.org] > Sent: Friday, December 17, 2004 12:09 PM > To: 'Ryan Brown'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] SNMP Error while getting HD space > > Try : > > com2sec readonlyuser default > group readonlygroup v1 readonlyuser > view allview included .1 > access readonlygroup "" any noauth exact > allview none > none > > Is it Net-SNMP ? Which version ? > > Patrick > > > -----Message d'origine----- > > De : Ryan Brown [mailto:mailinglists at tblive.com] Envoy? : jeudi 16 > > d?cembre 2004 15:55 ? : 'Patrick Proy'; > > nagios-users at lists.sourceforge.net > > Objet : RE: [Nagios-users] SNMP Error while getting HD space > > > > 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 azzouzi50 at yahoo.fr Sun Dec 19 18:58:04 2004 From: azzouzi50 at yahoo.fr (azzouzi abdelltif) Date: Sun, 19 Dec 2004 18:58:04 +0100 (CET) Subject: Status-Map In-Reply-To: <20041219041302.E43281D1B7B@sc8-sf-uberspam1.sourceforge.net> References: <20041219041302.E43281D1B7B@sc8-sf-uberspam1.sourceforge.net> Message-ID: <20041219175804.3189.qmail@web25802.mail.ukl.yahoo.com> Bonjour , je n arrive pas ? voir la cartographie de mon reseau (2d et 3d ) ,tends et histogramme ,j ai install? la librairie gd.. mais tjs ca ne marche pas please ,est ce que vous avez une r?ponse Cordialement Abdellatif EL AZZOUZI --------------------------------- D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jan.Scholten at iconz.net Sun Dec 19 23:28:28 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 20 Dec 2004 11:28:28 +1300 Subject: Statusmap Problems Message-ID: <41C6008C.4090502@iconz.net> I have the following Problems with the statusmap: I have the default displaying as userdefined coordinates, but if I choose to show the map as Circular (or anything else) it will revert to userdefined after the next reload, where i would expect it to stay in my choosen way. very annoying with a small reload interval. Second thing: I have different users that can see only special hosts. If i switch fromn userdefined to circular/markup i can not see the other hosts, but see how many hosts are critical because the circle (with colors) is drawn, even if the hosts are not displayed.. Well at least i don't want to have people knowing that.. (uhh look there are 100 hosts down..) How can i prevent that? 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 stephan.janosch at interface-business.de Mon Dec 20 11:16:46 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Mon, 20 Dec 2004 11:16:46 +0100 Subject: Status-Map In-Reply-To: <20041219175804.3189.qmail@web25802.mail.ukl.yahoo.com> References: <20041219175804.3189.qmail@web25802.mail.ukl.yahoo.com> Message-ID: <41C6A68E.6050107@interface-business.de> azzouzi abdelltif wrote: > Bonjour , > > je n arrive pas ? voir la cartographie de mon reseau (2d et 3d ) ,tends > et histogramme ,j ai install? la librairie gd.. mais tjs ca ne marche pas > > please ,est ce que vous avez une r?ponse > > Cordialement > > Abdellatif EL AZZOUZI J'ai perdu beaucoup des mots francias, mais je essaie (?). La 3d-image est un vrml-file. Peut etre tu dois utilise un programm pour windows a voire la file. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ggaweb.ch Mon Dec 20 12:46:30 2004 From: nagios at ggaweb.ch (nagios) Date: Mon, 20 Dec 2004 12:46:30 +0100 Subject: Split configfiles: services.cfg Message-ID: <41C6BB96.7070308@ggaweb.ch> Hi We are testing nagios and want to come away from BigBrother. Could these configfiles be splitted up? I meen, about 50 hosts will blow up services.cfg to a large complex file. Especially with several services per host. It would be fine if I could do it like this: services-host1.cfg, services-host2.cfg, etc... Thanks, Florian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 13:02:18 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Mon, 20 Dec 2004 13:02:18 +0100 Subject: Split configfiles: services.cfg In-Reply-To: <41C6BB96.7070308@ggaweb.ch> References: <41C6BB96.7070308@ggaweb.ch> Message-ID: <41C6BF4A.9080707@interface-business.de> nagios wrote: > Hi > > We are testing nagios and want to come away from BigBrother. Could these > configfiles be splitted up? I meen, about 50 hosts will blow up > services.cfg to a large complex file. Especially with several services > per host. It would be fine if I could do it like this: > services-host1.cfg, services-host2.cfg, etc... > > Thanks, Florian It's possible to split them up. Just have a look at nagios.cfg. Somewhere in the top you should find the right statements. cfg_file=/usr/local/nagios/etc/services1.cfg cfg_file=/usr/local/nagios/etc/services2.cfg If you have nagios2 in use, you probably want to use this: > Object Configuration Directory > Format: cfg_dir= 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 ae at op5.se Mon Dec 20 13:03:23 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 20 Dec 2004 13:03:23 +0100 Subject: Split configfiles: services.cfg In-Reply-To: <41C6BB96.7070308@ggaweb.ch> References: <41C6BB96.7070308@ggaweb.ch> Message-ID: <41C6BF8B.3020404@op5.se> nagios wrote: > Hi > > We are testing nagios and want to come away from BigBrother. Could these > configfiles be splitted up? I meen, about 50 hosts will blow up > services.cfg to a large complex file. Especially with several services > per host. It would be fine if I could do it like this: > services-host1.cfg, services-host2.cfg, etc... > Naturally. So long as they're all mentioned in nagios.cfg as cfg_file. You can even do something like cfg_dir=/usr/local/nagios/hosts and put all the files you need in there. Add a host object and the hosts respective services to the file and you're good to go. You should also definitely look into attaching services to hostgroups. You would usually want a 'windows-servers' group so you can add checks for disk usage, memory usage and such on that type of servers, and perhaps 'router-devices' for checking the interface table for errors and traffic usage. That way you can get away with around 1/30'th of what you would otherwise have to type. > Thanks, Florian > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sven.pfeifer at netexpress.de Mon Dec 20 13:23:03 2004 From: sven.pfeifer at netexpress.de (Sven Pfeifer) Date: Mon, 20 Dec 2004 13:23:03 +0100 Subject: Split configfiles: services.cfg In-Reply-To: <41C6BB96.7070308@ggaweb.ch> References: <41C6BB96.7070308@ggaweb.ch> Message-ID: <20041220122301.GA6503@yagonna.de> Hi, nagios wrote: > Hi > > We are testing nagios and want to come away from BigBrother. Could these > configfiles be splitted up? I meen, about 50 hosts will blow up > services.cfg to a large complex file. Especially with several services > per host. It would be fine if I could do it like this: > services-host1.cfg, services-host2.cfg, etc... try to use cfg_dir=/usr/local/etc/nagios/services in our nagios.cfg. In the directory /opt/nagios/etc/services there can be several files. > Thanks, Florian HTH Sven Why You Can't Find Your System Administrator: Wandering around the halls looking for his/her lost sanity. --Michael Faurot mfaurot at phzzzt.atww.org] -----------------------------------------------------[rand. sig. #142] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mb at aldebaran.de Mon Dec 20 13:56:13 2004 From: mb at aldebaran.de (Moritz Both) Date: Mon, 20 Dec 2004 13:56:13 +0100 Subject: passive checks cgi beauty Message-ID: <41C6CBED.20107@aldebaran.de> Nagios version: 1.2 When doing passive checks only, active checks must be set to disabled. This results in several red spots in some cgi outputs (checks are disabled) although there is no real problem... how do folks deal with this? An option "active_checks_disabled_but_nevermind" or so would be needed for me here... Moritz -- Moritz Both Aldebaran Daten- und Kommunikationssysteme GmbH Im Moore 26 30167 Hannover Tel. +49 511 270 41 60 Fax +49 511 27 04 16 33 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at miwi-dv.com Mon Dec 20 14:14:27 2004 From: lists at miwi-dv.com (lists at miwi-dv.com) Date: Mon, 20 Dec 2004 14:14:27 +0100 Subject: NRPE_NT/Command Arguments Example Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B46C7DA0@ws_server.intern.westernsystems.de> David, this article might help... http://forum.miwi-dv.net/nagios/viewtopic.php?t=26 cheers MiWi -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of David Gullett Sent: Sunday, December 19, 2004 6:17 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE_NT/Command Arguments Example Does anyone have an example of using NRPE_NT with command arguments on both the client and server side? The old forum seems to be gone... 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 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ebashi at gmail.com Mon Dec 20 14:54:27 2004 From: ebashi at gmail.com (Enils Bashi) Date: Mon, 20 Dec 2004 08:54:27 -0500 Subject: nagios problem on mandrake 10.1 Message-ID: <99fb4c104122005541372aaf0@mail.gmail.com> Hi All, I have installed nagios rpms using the Mandrake drakconf software gui. I am having problems getting to work. When I click on any the of the options on the left on the nagios browser page I get the Whoops page. I am assuming there is a configuration problem of some kind but I have not been able to figure out what's going on with it. I have created a nagios.conf under /etc/httpd/conf.d/ with the following as contents: -- ScriptAlias /nagios/cgi /usr/lib/nagios/cgi AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/share/nagios Options None AllowOverride AuthConfig Order allow,deny Allow from all -- I am running apache2.0.5 and mysql 4.0.20. I have added nagios to mysql as a user and granted all the needed permissions. When I run nagios -v /etc/nagios/nagios.cfg I get 0 errors. I have created a nagios directory under /var/www/html and under that directory I have created a symbolic link to /usr/lib/nagios/cgi. Any and all feedback would be greatly appreciated. -- Enils Bashi Linux System Administrator & Computer Programmer EPA Region III East Chesapeake Bay Program Veridyne Inc. Annapolis MD 410-267-9833 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brian.Sudis at LABONE.com Mon Dec 20 15:07:32 2004 From: Brian.Sudis at LABONE.com (Brian Sudis) Date: Mon, 20 Dec 2004 08:07:32 -0600 Subject: Nagios 1.2 w/MySql Message-ID: Background: Nagios 1.2, RH AS 2.1, Dell PE 1650. I've been running a for quite a while with no problems and just recently recompiled with support for MySQL. Now I am getting the error from the web interface "Warning: Monitoring processes may not be running!" I follow the link provide to get more info, and am presented with process information page. The process information page shows green across the board with the exception of a warning indication at the bottom of the page for Process Status. Comments provided for Check Command Output: "Nagios problem: located 8 processes, status log updated 1103551368 seconds ago." None of my web interface commands are available. I am showing status changes in servers and services, and alerts are being sent out. Any suggestions as to what I may have blown up when I recompiled for mysql? Thanks, Brian Sudis Systems Engineer - Unix/Linux LabOne, Inc brian.sudis at labone.com This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at the following email address: securityincidentreporting at labone.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 20 15:07:58 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 20 Dec 2004 15:07:58 +0100 Subject: nagios problem on mandrake 10.1 In-Reply-To: <99fb4c104122005541372aaf0@mail.gmail.com> References: <99fb4c104122005541372aaf0@mail.gmail.com> Message-ID: <41C6DCBE.8040802@op5.se> Enils Bashi wrote: > Hi All, > > I have installed nagios rpms using the Mandrake drakconf software gui. > I am having problems getting to work. When I click on any the of the > options on the left on the nagios browser page I get the Whoops page. The 'Whoops' what? There is the "Whoops I can't read the configuration" and the "Whoops you're not authorized" (and I'm sure there are others as well). > I am assuming there is a configuration problem of some kind but I have > not been able to figure out what's going on with it. I have created a > nagios.conf under /etc/httpd/conf.d/ with the following as contents: > -- > ScriptAlias /nagios/cgi /usr/lib/nagios/cgi > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios /usr/share/nagios > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > -- > > I am running apache2.0.5 and mysql 4.0.20. I have added nagios to > mysql as a user and granted all the needed permissions. When I run > nagios -v /etc/nagios/nagios.cfg I get 0 errors. I have created a > nagios directory under /var/www/html and under that directory I have > created a symbolic link to /usr/lib/nagios/cgi. > > Any and all feedback would be greatly appreciated. > > -- > Enils Bashi > Linux System Administrator & Computer Programmer > EPA Region III East > Chesapeake Bay Program > Veridyne Inc. > Annapolis MD > 410-267-9833 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Mon Dec 20 15:39:43 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 20 Dec 2004 15:39:43 +0100 Subject: Nagios 1.2 w/MySql In-Reply-To: References: Message-ID: <41C6E42F.3040106@op5.se> Brian Sudis wrote: > Background: Nagios 1.2, RH AS 2.1, Dell PE 1650. > > I've been running a for quite a while with no problems and just recently > recompiled with support for MySQL. > If it aint broke don't fix it. ;) Nagios 2 does away with (native) database support, so you might want to revert back to save yourself the trouble when you upgrade later. > Now I am getting the error from the web interface "Warning: Monitoring > processes may not be running!" > I follow the link provide to get more info, and am presented with process > information page. > The process information page shows green across the board with the exception > of a warning > indication at the bottom of the page for Process Status. Comments provided > for Check > Command Output: "Nagios problem: located 8 processes, status log updated > 1103551368 seconds ago." > That's your problem right there. The CGI's expect Nagios to update the status log a little more frequently than once every 35 years. I suggest you change the check_nagios command to something else to work around this (or revert back to using files). > None of my web interface commands are available. I am showing status > changes in servers > and services, and alerts are being sent out. > > Any suggestions as to what I may have blown up when I recompiled for mysql? > Anything, really. In case you happened to update Mon Dec 20 13:02:48 GMT, I suspect the check_nagios command you're using uses the last update time as the time since the last update (which is a bit silly). In that case the check_nagios command should be fixed, which I'll leave as an exercise to you. > Thanks, > You're welcome. [ list info and disclaimer cruft removed ] -- 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 ebashi at gmail.com Mon Dec 20 16:13:39 2004 From: ebashi at gmail.com (Enils Bashi) Date: Mon, 20 Dec 2004 10:13:39 -0500 Subject: nagios problem on mandrake 10.1 In-Reply-To: <41C6DCBE.8040802@op5.se> References: <99fb4c104122005541372aaf0@mail.gmail.com> <41C6DCBE.8040802@op5.se> Message-ID: <99fb4c104122007131ddc9af9@mail.gmail.com> Here is the whoops page. Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. On Mon, 20 Dec 2004 15:07:58 +0100, Andreas Ericsson wrote: > Enils Bashi wrote: > > Hi All, > > > > I have installed nagios rpms using the Mandrake drakconf software gui. > > I am having problems getting to work. When I click on any the of the > > options on the left on the nagios browser page I get the Whoops page. > > The 'Whoops' what? There is the "Whoops I can't read the configuration" > and the "Whoops you're not authorized" (and I'm sure there are others as > well). > > > I am assuming there is a configuration problem of some kind but I have > > not been able to figure out what's going on with it. I have created a > > nagios.conf under /etc/httpd/conf.d/ with the following as contents: > > -- > > ScriptAlias /nagios/cgi /usr/lib/nagios/cgi > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > > > Alias /nagios /usr/share/nagios > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > -- > > > > I am running apache2.0.5 and mysql 4.0.20. I have added nagios to > > mysql as a user and granted all the needed permissions. When I run > > nagios -v /etc/nagios/nagios.cfg I get 0 errors. I have created a > > nagios directory under /var/www/html and under that directory I have > > created a symbolic link to /usr/lib/nagios/cgi. > > > > Any and all feedback would be greatly appreciated. > > > > -- > > Enils Bashi > > Linux System Administrator & Computer Programmer > > EPA Region III East > > Chesapeake Bay Program > > Veridyne Inc. > > Annapolis MD > > 410-267-9833 > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > -- Enils Bashi Computer Programmer Chesapeake Bay Program Veridyne Inc. Annapolis MD 410-267-9833 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 16:18:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 20 Dec 2004 16:18:15 +0100 Subject: nagios problem on mandrake 10.1 In-Reply-To: <99fb4c104122007131ddc9af9@mail.gmail.com> References: <99fb4c104122005541372aaf0@mail.gmail.com> <41C6DCBE.8040802@op5.se> <99fb4c104122007131ddc9af9@mail.gmail.com> Message-ID: <41C6ED37.3050605@op5.se> Enils Bashi wrote: > Here is the whoops page. > > > Whoops! > > Error: Could not read object configuration data! > > Here are some things you should check in order to resolve this error: > > 1. Verify configuration options using the -v command-line option to > check for errors. > 2. Check the Nagios log file for messages relating to startup or > status data errors. > 3. Make sure you've compiled the main program and the CGIs to use > the same object data storage options (i.e. default text file or > template-based file). > Most likely a permission issue. su - to the user your webserver is running as and try to cat the object config files. > Make sure you read the documentation on installing, configuring and > running Nagios thoroughly before continuing. If all else fails, try > sending a message to one of the mailing lists. More information can be > found at http://www.nagios.org. > I assume you've taken these steps already. If not, please do so first. > On Mon, 20 Dec 2004 15:07:58 +0100, Andreas Ericsson wrote: > >>Enils Bashi wrote: >> >>>Hi All, >>> >>>I have installed nagios rpms using the Mandrake drakconf software gui. >>>I am having problems getting to work. When I click on any the of the >>>options on the left on the nagios browser page I get the Whoops page. >> >>The 'Whoops' what? There is the "Whoops I can't read the configuration" >>and the "Whoops you're not authorized" (and I'm sure there are others as >>well). >> >> >>>I am assuming there is a configuration problem of some kind but I have >>>not been able to figure out what's going on with it. I have created a >>>nagios.conf under /etc/httpd/conf.d/ with the following as contents: >>>-- >>>ScriptAlias /nagios/cgi /usr/lib/nagios/cgi >>> >>> AllowOverride AuthConfig >>> Options ExecCGI >>> Order allow,deny >>> Allow from all >>> >>> >>>Alias /nagios /usr/share/nagios >>> >>> Options None >>> AllowOverride AuthConfig >>> Order allow,deny >>> Allow from all >>> >>>-- >>> >>>I am running apache2.0.5 and mysql 4.0.20. I have added nagios to >>>mysql as a user and granted all the needed permissions. When I run >>>nagios -v /etc/nagios/nagios.cfg I get 0 errors. I have created a >>>nagios directory under /var/www/html and under that directory I have >>>created a symbolic link to /usr/lib/nagios/cgi. >>> >>>Any and all feedback would be greatly appreciated. >>> >>>-- >>>Enils Bashi >>>Linux System Administrator & Computer Programmer >>>EPA Region III East >>>Chesapeake Bay Program >>>Veridyne Inc. >>>Annapolis MD >>>410-267-9833 >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from real users. >>>Discover which products truly live up to the hype. Start reading now. >>>http://productguide.itmanagersjournal.com/ >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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 >> > > > -- 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 Stanley.G.Martin at mail.sprint.com Mon Dec 20 16:24:13 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CGEY Contractor for Sprint]) Date: Mon, 20 Dec 2004 09:24:13 -0600 Subject: Nagios Flow Charted Message-ID: <516DA7BE5D87C8469D89F150CA0B491108B91462@PDAWB02C.ad.sprint.com> I have a strange request. I am moving on from my current contract position and I have to do a "knowledge transfer" to someone who is a "Nagios Virgin". I have started a Visio Diagram of Nagios checking a Windows service and the processes involved in that and was wondering if anyone has already flow charted a conceptual view of Nagios. Stanley G. Martin Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmaher at acetechnology.com Mon Dec 20 16:28:02 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 20 Dec 2004 10:28:02 -0500 Subject: Status-Map Message-ID: Salut Abdellatif, Malheureusement, cette liste s'existe principalement en anglais, et certains seront offens?s si vous ?crivez dans une autre langue - alors, je continuerai en anglais... It would help if you could tell us a little bit more about the system you're working from. What the operating system is, what version of Nagios you're using, what version of the gd libraries you've installed, and so forth. Also, I would suggest checking your system, apache, and nagios logs to see if there are any useful (error) messages that would indicate the problem. Daniel Maher System Engineer ACE TECHNOLOGY INC. _____ From: azzouzi abdelltif [mailto:azzouzi50 at yahoo.fr] Sent: December 19, 2004 12:58 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Status-Map Bonjour , je n arrive pas ? voir la cartographie de mon reseau (2d et 3d ) ,tends et histogramme ,j ai install? la librairie gd.. mais tjs ca ne marche pas please ,est ce que vous avez une r?ponse Cordialement Abdellatif EL AZZOUZI _____ D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! HYPERLINK "http://fr.rd.yahoo.com/mail/taglines/*http:/fr.rd.yahoo.com/evt=25917/*http:/fr.rd.yahoo.com/mail_fr/mail_campaigns/splash/taglines_250/default/*http:/fr.promotions.yahoo.com/mail/creer28.html"Cr?ez votre Yahoo! Mail -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.0 - Release Date: 17/12/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.0 - Release Date: 17/12/2004 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Dec 20 16:28:16 2004 From: marc at ena.com (Marc Powell) Date: Mon, 20 Dec 2004 09:28:16 -0600 Subject: Nagios 1.2 w/MySql Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835985@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brian Sudis > Sent: Monday, December 20, 2004 8:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 1.2 w/MySql > > Background: Nagios 1.2, RH AS 2.1, Dell PE 1650. > > I've been running a for quite a while with no problems and just recently > recompiled with support for MySQL. > > Now I am getting the error from the web interface "Warning: Monitoring > processes may not be running!" > I follow the link provide to get more info, and am presented with process > information page. > The process information page shows green across the board with the > exception > of a warning > indication at the bottom of the page for Process Status. Comments > provided > for Check > Command Output: "Nagios problem: located 8 processes, status log updated > 1103551368 seconds ago." > > None of my web interface commands are available. I am showing status > changes in servers > and services, and alerts are being sent out. > > Any suggestions as to what I may have blown up when I recompiled for > mysql? You'll want to use the check_nagios_db.pl script from the nagios plugins contrib directory as your nagios check command in cgi.cfg. -- 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 qolinar at gmail.com Mon Dec 20 16:57:30 2004 From: qolinar at gmail.com (Qolinar) Date: Mon, 20 Dec 2004 10:57:30 -0500 Subject: (UNKNOWN VARIABLE) when running nagios Message-ID: <636d741504122007573b7f095c@mail.gmail.com> After re-reading the docs and re-installing/compiling/etc., I am still receiving the following error when running nagios: L17ADLNX1:/usr/local/nagios/var # /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg -v Nagios 2.0b1 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 12-15-2005 License: GPL Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 869 (UNKNOWN VARIABLE) Nagios 2.0b1 starting... (PID=4175) Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=4175) L17ADLNX1:/usr/local/nagios/var # Here is the nagios.cfg file: # MAXIMUM EMBEDDED PERL INTERPRETER CALLS # This value determines how often (if at all) the embedded Perl # interpreter is reinitialized during runtime. This is useful # if you notice that the Perl interpreter is causing slow # memory leaks over time. Setting this value to 0 means the # embedded Perl interpreter will never be reinitialized. Any # value > 0 is the number of times the embedded Perl interpreter # is used (i.e. a Perl plugin is executed) before it is # reinitialized during runtime. If you didn't compile Nagios with # embedded Perl support, this option has no effect. #my change max_embedded_perl_calls=0 Line 869 is the last line (max_embedded_perl_calls=0). When I re-installed, I did so --enable-embedded-perl whereas I didn't the first time and it STILL gives me the above error. What have I done wrong??? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 16:32:40 2004 From: marc at ena.com (Marc Powell) Date: Mon, 20 Dec 2004 09:32:40 -0600 Subject: passive checks cgi beauty Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835986@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Moritz Both > Sent: Monday, December 20, 2004 6:56 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] passive checks cgi beauty > > > Nagios version: 1.2 > > When doing passive checks only, active checks must be set to disabled. > This results in several red spots in some cgi outputs (checks are > disabled) although there is no real problem... how do folks deal with > this? > > An option "active_checks_disabled_but_nevermind" or so would be needed > for me here... Active checks do not have to be set to disabled, they just don't need to be run. In your template or service definition on your front-end host -- active_checks_enabled 1 check_period none -- 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 Mon Dec 20 17:07:20 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 20 Dec 2004 17:07:20 +0100 Subject: (UNKNOWN VARIABLE) when running nagios In-Reply-To: <636d741504122007573b7f095c@mail.gmail.com> References: <636d741504122007573b7f095c@mail.gmail.com> Message-ID: <41C6F8B8.1060103@op5.se> Qolinar wrote: > After re-reading the docs and re-installing/compiling/etc., I am still > receiving the following error when running nagios: > Remove the max_embedded_perl_calls line. It's not a valid variable in Nagios 2, and should hence be removed. If you've simply copied the config from an old installation you're likely to encounter more of these little popups. Just delete the line in question and move on. > > L17ADLNX1:/usr/local/nagios/var # /usr/local/nagios/bin/nagios > /usr/local/nagios/etc/nagios.cfg -v > > Nagios 2.0b1 > Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) > Last Modified: 12-15-2005 > License: GPL > > Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line > 869 (UNKNOWN VARIABLE) > Nagios 2.0b1 starting... (PID=4175) > Bailing out due to one or more errors encountered in the configuration > files. Run Nagios from the command line with the -v option to verify > your config before restarting. (PID=4175) > L17ADLNX1:/usr/local/nagios/var # > > Here is the nagios.cfg file: > > # MAXIMUM EMBEDDED PERL INTERPRETER CALLS > # This value determines how often (if at all) the embedded Perl > # interpreter is reinitialized during runtime. This is useful > # if you notice that the Perl interpreter is causing slow > # memory leaks over time. Setting this value to 0 means the > # embedded Perl interpreter will never be reinitialized. Any > # value > 0 is the number of times the embedded Perl interpreter > # is used (i.e. a Perl plugin is executed) before it is > # reinitialized during runtime. If you didn't compile Nagios with > # embedded Perl support, this option has no effect. > > #my change > max_embedded_perl_calls=0 > > > Line 869 is the last line (max_embedded_perl_calls=0). When I > re-installed, I did so --enable-embedded-perl whereas I didn't the > first time and it STILL gives me the above error. > > > What have I done wrong??? > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 qolinar at gmail.com Mon Dec 20 17:17:19 2004 From: qolinar at gmail.com (Qolinar) Date: Mon, 20 Dec 2004 11:17:19 -0500 Subject: (UNKNOWN VARIABLE) when running nagios In-Reply-To: <41C6F8B8.1060103@op5.se> References: <636d741504122007573b7f095c@mail.gmail.com> <41C6F8B8.1060103@op5.se> Message-ID: <636d74150412200817757b9f8b@mail.gmail.com> Thanks (I already tried that), but this brings me to my next error: L17ADLNX1:/usr/local/nagios # /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg -v Nagios 2.0b1 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 12-15-2005 License: GPL Nagios 2.0b1 starting... (PID=871) Error: Invalid hostgroup object directive 'contact_groups'. Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 25. Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=871) L17ADLNX1:/usr/local/nagios # Here is the hostgroups.cfg file: # 'switches' host group definition define hostgroup{ hostgroup_name switches alias Switches contact_groups nagios members laknsm3548 } # 'routers' host group definition define hostgroup{ hostgroup_name routers alias Routers contact_groups nagios I did a fresh install of Nagios 2.0b1; I renamed the old directories to preserve my config data. I used the provided sample configs that came with the new version; I simply removed "sample" from the file names. The only config files I moved from my previous install of Nagios 1.2 were: hosts.cfg hostgroups.cfg services.cfg On Mon, 20 Dec 2004 17:07:20 +0100, Andreas Ericsson wrote: > Qolinar wrote: > > After re-reading the docs and re-installing/compiling/etc., I am still > > receiving the following error when running nagios: > > > > Remove the max_embedded_perl_calls line. It's not a valid variable in > Nagios 2, and should hence be removed. > > If you've simply copied the config from an old installation you're > likely to encounter more of these little popups. Just delete the line in > question and move on. > > > > > L17ADLNX1:/usr/local/nagios/var # /usr/local/nagios/bin/nagios > > /usr/local/nagios/etc/nagios.cfg -v > > > > Nagios 2.0b1 > > Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org ) > > Last Modified: 12-15-2005 > > License: GPL > > > > Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line > > 869 (UNKNOWN VARIABLE) > > Nagios 2.0b1 starting... (PID=4175) > > Bailing out due to one or more errors encountered in the configuration > > files. Run Nagios from the command line with the -v option to verify > > your config before restarting. (PID=4175) > > L17ADLNX1:/usr/local/nagios/var # > > > > Here is the nagios.cfg file: > > > > # MAXIMUM EMBEDDED PERL INTERPRETER CALLS > > # This value determines how often (if at all) the embedded Perl > > # interpreter is reinitialized during runtime. This is useful > > # if you notice that the Perl interpreter is causing slow > > # memory leaks over time. Setting this value to 0 means the > > # embedded Perl interpreter will never be reinitialized. Any > > # value > 0 is the number of times the embedded Perl interpreter > > # is used (i.e. a Perl plugin is executed) before it is > > # reinitialized during runtime. If you didn't compile Nagios with > > # embedded Perl support, this option has no effect. > > > > #my change > > max_embedded_perl_calls=0 > > > > > > Line 869 is the last line (max_embedded_perl_calls=0). When I > > re-installed, I did so --enable-embedded-perl whereas I didn't the > > first time and it STILL gives me the above error. > > > > > > What have I done wrong??? > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 Mon Dec 20 17:34:39 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 20 Dec 2004 17:34:39 +0100 Subject: (UNKNOWN VARIABLE) when running nagios In-Reply-To: <636d74150412200817757b9f8b@mail.gmail.com> References: <636d741504122007573b7f095c@mail.gmail.com> <41C6F8B8.1060103@op5.se> <636d74150412200817757b9f8b@mail.gmail.com> Message-ID: <41C6FF1F.1010107@op5.se> Qolinar wrote: > Thanks (I already tried that), but this brings me to my next error: > > L17ADLNX1:/usr/local/nagios # /usr/local/nagios/bin/nagios > /usr/local/nagios/etc/nagios.cfg -v > > Nagios 2.0b1 > Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) > Last Modified: 12-15-2005 > License: GPL > > Nagios 2.0b1 starting... (PID=871) > Error: Invalid hostgroup object directive 'contact_groups'. > Error: Could not add object property in file > '/usr/local/nagios/etc/hostgroups.cfg' on line 25. > Bailing out due to one or more errors encountered in the configuration > files. Run Nagios from the command line with the -v option to verify > your config before restarting. (PID=871) > L17ADLNX1:/usr/local/nagios # > > Here is the hostgroups.cfg file: > Read the CHANGES file. It will tell you all you need to know. For a quick-start in the right direction, you can use the attached object_config_fix.php script to convert your object config to one that Nagios 2.0 will understand. Run it as such; php object_config_fix.php /path/to/nagios.cfg To convert your comment.log, you'll need to run the attached 12to20comments.php script, as such; 12to20comments.php /path/to/comment.log That should get you to your next question, which I predict will be "Why are my notification emails all weird?? They used to work in 1.2!". The answer to that is to read the CHANGES file and make the necessary alterations to your notification commands. Cheers. > > # 'switches' host group definition > define hostgroup{ > hostgroup_name switches > alias Switches > contact_groups nagios > members laknsm3548 > } > > > # 'routers' host group definition > define hostgroup{ > hostgroup_name routers > alias Routers > contact_groups nagios > > > I did a fresh install of Nagios 2.0b1; I renamed the old directories > to preserve my config data. I used the provided sample configs that > came with the new version; I simply removed "sample" from the file > names. The only config files I moved from my previous install of > Nagios 1.2 were: > > hosts.cfg > hostgroups.cfg > services.cfg > > > On Mon, 20 Dec 2004 17:07:20 +0100, Andreas Ericsson wrote: > >>Qolinar wrote: >> >>>After re-reading the docs and re-installing/compiling/etc., I am still >>>receiving the following error when running nagios: >>> >> >>Remove the max_embedded_perl_calls line. It's not a valid variable in >>Nagios 2, and should hence be removed. >> >>If you've simply copied the config from an old installation you're >>likely to encounter more of these little popups. Just delete the line in >>question and move on. >> >> >>>L17ADLNX1:/usr/local/nagios/var # /usr/local/nagios/bin/nagios >>>/usr/local/nagios/etc/nagios.cfg -v >>> >>>Nagios 2.0b1 >>>Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org ) >>>Last Modified: 12-15-2005 >>>License: GPL >>> >>>Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line >>>869 (UNKNOWN VARIABLE) >>>Nagios 2.0b1 starting... (PID=4175) >>>Bailing out due to one or more errors encountered in the configuration >>>files. Run Nagios from the command line with the -v option to verify >>>your config before restarting. (PID=4175) >>>L17ADLNX1:/usr/local/nagios/var # >>> >>>Here is the nagios.cfg file: >>> >>># MAXIMUM EMBEDDED PERL INTERPRETER CALLS >>># This value determines how often (if at all) the embedded Perl >>># interpreter is reinitialized during runtime. This is useful >>># if you notice that the Perl interpreter is causing slow >>># memory leaks over time. Setting this value to 0 means the >>># embedded Perl interpreter will never be reinitialized. Any >>># value > 0 is the number of times the embedded Perl interpreter >>># is used (i.e. a Perl plugin is executed) before it is >>># reinitialized during runtime. If you didn't compile Nagios with >>># embedded Perl support, this option has no effect. >>> >>>#my change >>>max_embedded_perl_calls=0 >>> >>> >>>Line 869 is the last line (max_embedded_perl_calls=0). When I >>>re-installed, I did so --enable-embedded-perl whereas I didn't the >>>first time and it STILL gives me the above error. >>> >>> >>>What have I done wrong??? >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from real users. >>>Discover which products truly live up to the hype. Start reading now. >>>http://productguide.itmanagersjournal.com/ >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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 >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer -------------- next part -------------- A non-text attachment was scrubbed... Name: object_config_fix.php Type: application/x-php Size: 5367 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 12to20comments.php Type: application/x-php Size: 3173 bytes Desc: not available URL: From Steven.Hajducko at DigitalInsight.com Mon Dec 20 17:58:59 2004 From: Steven.Hajducko at DigitalInsight.com (Steven Hajducko) Date: Mon, 20 Dec 2004 08:58:59 -0800 Subject: nrpe criticals on connection refused/time out. Message-ID: Does anyone know of a way to stop NRPE from reporting a critical if the connection is refused or the plugin times out? I'd like it to report a UNKNOWN instead, as in 90% of these cases, the problem clears up shortly. The other 10% of the time, we already know the box is down. Wasn't sure if anyone else had wanted this behaviour and either modified the nrpe source or if there was an undocumented 'feature' of nrpe somewhere I could use. :) Thanks. -- sh -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Mon Dec 20 18:08:47 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 20 Dec 2004 18:08:47 +0100 Subject: nrpe criticals on connection refused/time out. In-Reply-To: References: Message-ID: <41C7071F.6060209@op5.se> Steven Hajducko wrote: > Does anyone know of a way to stop NRPE from reporting a critical if the > connection is refused or the plugin times out? > > I'd like it to report a UNKNOWN instead, as in 90% of these cases, the > problem clears up shortly. The other 10% of the time, we already know the > box is down. > > Wasn't sure if anyone else had wanted this behaviour and either modified the > nrpe source or if there was an undocumented 'feature' of nrpe somewhere I > could use. :) > I'll add it to the todo list. > Thanks. > > -- > sh > -- 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 chris.stankaitis at datawire.net Mon Dec 20 20:05:07 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Mon, 20 Dec 2004 14:05:07 -0500 Subject: Nagios 2.0 Gui Question - Mics graphics, flapping, passive service etc. Message-ID: <41C72263.50403@datawire.net> I am wondering if this is a known issue, if anyone else has been seeing this with Nagios 2.0b1 I have a box setup with Active Host/Service checks disabled. This creates an "X" Icon next to the host and a "passive" little Icon next to the service.... as I navigate around the program, I come back to the "Service Detail Page" and all the extra "misc" graphics are gone.. I have to refresh 2-3 times before they pop up, anyone else seen this issue? --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 s.shipway at auckland.ac.nz Mon Dec 20 21:18:24 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 21 Dec 2004 09:18:24 +1300 Subject: nrpe criticals on connection refused/time out. In-Reply-To: References: Message-ID: <00a101c4e6d1$0f5b94f0$01fea8c0@itss.auckland.ac.nz> Steven Hajuko: Does anyone know of a way to stop NRPE from reporting a critical if the connection is refused or the plugin times out? I'd like it to report a UNKNOWN instead, as in 90% of these cases, the problem clears up shortly. The other 10% of the time, we already know the box is down. I'd like this as well... so, I modified the source code here. I also made a similar change for check_nt since we use the pNSclient agent for windows. It's actually a very simple change (if you know C) although the developers will naturally want this on a configurable option which increases their work. Actually, I have 'unknown' if the connect times out or is refused, but 'warning' if it connects but then doesnt return a value in time (since this probably indicates an overloaded box). Your choice may be different. Let me know via private email if you want a copy of the hacked code. 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From s.shipway at auckland.ac.nz Mon Dec 20 21:28:52 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 21 Dec 2004 09:28:52 +1300 Subject: passive checks cgi beauty In-Reply-To: <41C6CBED.20107@aldebaran.de> References: <41C6CBED.20107@aldebaran.de> Message-ID: <00a901c4e6d2$881b07d0$01fea8c0@itss.auckland.ac.nz> >When doing passive checks only, active checks must be set to disabled. >This results in several red spots in some cgi outputs (checks are >disabled) although there is no real problem... how do folks >deal with this? Set active_checks_enabled = 1 check_period = never (and then define 'never' to be what it says!) This is how we do it, so as to be able to see which checks are *really* disabled and which are just passive. Then, we use the freshness check to set status to 'unknown' if a passive check has not been received in a certain maximum interval time. 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 Robert.Wagner at wausaubenefits.com Mon Dec 20 21:47:23 2004 From: Robert.Wagner at wausaubenefits.com (Robert Wagner) Date: Mon, 20 Dec 2004 14:47:23 -0600 Subject: NTray Updates In-Reply-To: <20041220203107.AEC141D252C@sc8-sf-uberspam1.sourceforge.net> References: <20041220203107.AEC141D252C@sc8-sf-uberspam1.sourceforge.net> Message-ID: After much work and hassling with the vendor for the Perl Compiler I'm using, I am on track to releasing a completely rebuilt distribution of NTray. I'm rebuilding the software to use current PERL modules, as well as rebuilding it under the Win32::GUI::Loft toolkit (so the interface will look a lot nicer), and I'm hoping to have a release by the the first week of January. What I would like from the community using the software is some feature requests to go into the 1.0 release of the software. If you're using NTray to monitor your Nagios installation and have something you would like to see in the new version, please let me know. Rob Wagner, NTray Guy! This communication is intended only for the recipient(s) named above; may be confidential and/or legally privileged; and, must be treated as such in accordance with state and federal laws. If you are not the intended recipient, you are hereby notified that any use of this communication, or any of its contents, is prohibited. If you have received this communication in error, please return it to Robert Wagner and delete the message from your computer 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 ebashi at gmail.com Tue Dec 21 01:24:55 2004 From: ebashi at gmail.com (Enils Bashi) Date: Mon, 20 Dec 2004 19:24:55 -0500 Subject: nagios problem on mandrake 10.1 In-Reply-To: <41C6ED37.3050605@op5.se> References: <99fb4c104122005541372aaf0@mail.gmail.com> <41C6DCBE.8040802@op5.se> <99fb4c104122007131ddc9af9@mail.gmail.com> <41C6ED37.3050605@op5.se> Message-ID: <99fb4c1041220162447194ba2@mail.gmail.com> I have read all documentation and I have changed cgi directory ownership to apache.apache. It does seem like a webserver configuration issue. Thanks, Enils On Mon, 20 Dec 2004 16:18:15 +0100, Andreas Ericsson wrote: > Enils Bashi wrote: > > Here is the whoops page. > > > > > > Whoops! > > > > Error: Could not read object configuration data! > > > > Here are some things you should check in order to resolve this error: > > > > 1. Verify configuration options using the -v command-line option to > > check for errors. > > 2. Check the Nagios log file for messages relating to startup or > > status data errors. > > 3. Make sure you've compiled the main program and the CGIs to use > > the same object data storage options (i.e. default text file or > > template-based file). > > > > Most likely a permission issue. su - to the user your webserver is > running as and try to cat the object config files. > > > Make sure you read the documentation on installing, configuring and > > running Nagios thoroughly before continuing. If all else fails, try > > sending a message to one of the mailing lists. More information can be > > found at http://www.nagios.org. > > > > I assume you've taken these steps already. If not, please do so first. > > > On Mon, 20 Dec 2004 15:07:58 +0100, Andreas Ericsson wrote: > > > >>Enils Bashi wrote: > >> > >>>Hi All, > >>> > >>>I have installed nagios rpms using the Mandrake drakconf software gui. > >>>I am having problems getting to work. When I click on any the of the > >>>options on the left on the nagios browser page I get the Whoops page. > >> > >>The 'Whoops' what? There is the "Whoops I can't read the configuration" > >>and the "Whoops you're not authorized" (and I'm sure there are others as > >>well). > >> > >> > >>>I am assuming there is a configuration problem of some kind but I have > >>>not been able to figure out what's going on with it. I have created a > >>>nagios.conf under /etc/httpd/conf.d/ with the following as contents: > >>>-- > >>>ScriptAlias /nagios/cgi /usr/lib/nagios/cgi > >>> > >>> AllowOverride AuthConfig > >>> Options ExecCGI > >>> Order allow,deny > >>> Allow from all > >>> > >>> > >>>Alias /nagios /usr/share/nagios > >>> > >>> Options None > >>> AllowOverride AuthConfig > >>> Order allow,deny > >>> Allow from all > >>> > >>>-- > >>> > >>>I am running apache2.0.5 and mysql 4.0.20. I have added nagios to > >>>mysql as a user and granted all the needed permissions. When I run > >>>nagios -v /etc/nagios/nagios.cfg I get 0 errors. I have created a > >>>nagios directory under /var/www/html and under that directory I have > >>>created a symbolic link to /usr/lib/nagios/cgi. > >>> > >>>Any and all feedback would be greatly appreciated. > >>> > >>>-- > >>>Enils Bashi > >>>Linux System Administrator & Computer Programmer > >>>EPA Region III East > >>>Chesapeake Bay Program > >>>Veridyne Inc. > >>>Annapolis MD > >>>410-267-9833 > >>> > >>> > >>>------------------------------------------------------- > >>>SF email is sponsored by - The IT Product Guide > >>>Read honest & candid reviews on hundreds of IT Products from real users. > >>>Discover which products truly live up to the hype. Start reading now. > >>>http://productguide.itmanagersjournal.com/ > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>::: 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 > >> > > > > > > > > -- > 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 > -- Enils Bashi Computer Programmer Chesapeake Bay Program Veridyne Inc. Annapolis MD 410-267-9833 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From don.alfredo at pandora.be Tue Dec 21 01:42:29 2004 From: don.alfredo at pandora.be (Don Alfredo) Date: Tue, 21 Dec 2004 01:42:29 +0100 Subject: 2.2 on fedora 3 In-Reply-To: <41C3080E.4080403@haigmail.com> References: <41C3080E.4080403@haigmail.com> Message-ID: <200412210142.29367.don.alfredo@pandora.be> On Friday 17 December 2004 17:23, Lance Haig wrote: ..... > What would be the right order to start populating the files to create a > working version? > > I have created the system entry so my "Nagios" server is defined but I > would like to add a new device so that I can start nagios. ......... try this perl script : i found it somewhere at skolelinux.no as part of a student project. Modified it a little - (i've checked, its GPL'd , but was not signed by the authors, so whoever wrote it, thanks !) - to remove some minor errors, and changed paths to the places where SuSE rpm's install nagios The script will create a basic config, or scan your local network (change the ip ranges in the script to match yours, you may also uncomment the "services" part, which i didn't have a need for) So, don't forget : this is based on SusE , your install most likely will have other paths... I will be using this perl thingie as a base to roll-out installs. The write-ups i intend to do include split configurations, and defaults for (mostly windoze) servers, when its finished i will post it here or on nagiosexchange.org ----------- #!/usr/bin/perl -w #====================================== use IO::Socket::INET; use Net::Ping; use strict; #====================================== my(@hosts, @ports); my($hostname, $servicedescription, $checkcommand, $maxcheckattempts, $normalcheckinterval, $retrycheckinterval); my($checkperiod, $notificationinterval, $notificationperiod, $notificationoptions, $contactgroups); my($alias, $address, $contactname, $hostnotificationperiod, $servicenotificationperiod); my($hostnotificationoptions, $servicenotificationoptions, $contactgroupname, $members, $commandname, $commandline); my($i, $nav, $choice, $host, $port, $sock, $email, $pager, @contacts, $contact, $user, $prefix); #====================================== @hosts = qw(192.168.25.0); @ports = qw(21 22 25 53 80 110 143); $nav = Net::Ping->new("icmp", 0.6); #====================================== format SERVICEDEFINITION = define service { use generic-service host_name @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $hostname service_description @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $servicedescription check_command @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $checkcommand max_check_attempts @<<<<<<<<<<<<< $maxcheckattempts normal_check_interval @<<<<<<<<<<<<< $normalcheckinterval retry_check_interval @<<<<<<<<<<<<< $retrycheckinterval check_period @<<<<<<<<<<<<< $checkperiod notification_interval @<<<<<<<<<<<<< $notificationinterval notification_period @<<<<<<<<<<<<< $notificationperiod notification_options @<<<<<<<<<<<<< $notificationoptions } . format HOSTDEFINITION = define host { use generic-host host_name @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $hostname alias @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $alias address @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $address max_check_attempts @<<<<<<<<<<<<< $maxcheckattempts notification_interval @<<<<<<<<<<<<< $notificationinterval notification_period @<<<<<<<<<<<<< $notificationperiod notification_options @<<<<<<<<<<<<< $notificationoptions } . format CONTACTDEFINITION = define contact { contact_name @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $contactname alias @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $alias host_notification_period @<<<<<<<<<<<<< $hostnotificationperiod service_notification_period @<<<<<<<<<<<<< $servicenotificationperiod host_notification_options @<<<<<<<<<<<<< $hostnotificationoptions notification_options @<<<<<<<<<<<<< $servicenotificationoptions email @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $email pager @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $pager } . format CONTACTGROUPDEFINITION = define contactgroup { contactgroup_name @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $contactgroupname alias @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $alias members @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $members } . format COMMANDDEFINITION = define command { command_name @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $commandname command_line @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $commandline } . #====================================== print "==================================================\n"; $prefix = inpstr("Enter a path to where the configuration files will be stored [default=/etc/nagios]: ", "/etc/nagios"); if(! -d $prefix) { $choice = choose("Directory $prefix does not exist, should I create it? [default=yes]: ", "yes"); if($choice eq 'yes') { system("mkdir -p $prefix") == 0 || die "Unable to create directory $prefix\n"; } else { die "Exiting configuration of nagios plugins\n"; } } open(SERVICES, "> $prefix/services.cfg") || die("Unable to open $prefix/services.cfg\n"); print SERVICES " # Generic service definition template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 0 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 0 ; Service notifications are enabled event_handler_enabled 0 ; Service event handler is enabled flap_detection_enabled 0 ; 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\n register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! }\n\n"; close(SERVICES); open(HOSTS, "> $prefix/hosts.cfg") || die("Unable to open $prefix/hosts.cfg\n"); print HOSTS " # Generic host definition template define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 0 ; Host notifications are enabled event_handler_enabled 0 ; Host event handler is enabled flap_detection_enabled 0 ; 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\n register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! }\n\n"; close(HOSTS); # We dont use this, checkcommands should already be defined elsewhere # # set up checkcommands.cfg # init_defaults(); # open(COMMANDDEFINITION, ">> $prefix/checkcommands.cfg") || die("Unable to open $prefix/checkcommands.cfg\n"); # $commandname = "check_ftp"; # $commandline = "/usr/lib/nagios/plugins/check_ftp -H \$HOSTADDRESS\$"; # write COMMANDDEFINITION; # $commandname = "check_ssh"; # $commandline = "/usr/lib/nagios/plugins/check_ssh -H \$HOSTADDRESS\$"; # write COMMANDDEFINITION; # $commandname = "check_smtp"; # $commandline = "/usr/lib/nagios/plugins/check_smtp -H \$HOSTADDRESS\$"; # write COMMANDDEFINITION; # $commandname = "check_http"; # $commandline = "/usr/lib/nagios/plugins/check_http -H \$HOSTADDRESS\$"; # write COMMANDDEFINITION; # $commandname = "check_pop"; # $commandline = "/usr/lib/nagios/plugins/check_pop -H \$HOSTADDRESS\$"; # write COMMANDDEFINITION; # $commandname = "check_imap"; # $commandline = "/usr/lib/nagios/plugins/check_imap -H \$HOSTADDRESS\$"; # write COMMANDDEFINITION; # $commandname = "check_dns"; # $commandline = "/usr/lib/nagios/plugins/check_dns -H \$HOSTADDRESS\$"; # write COMMANDDEFINITION; # $commandname = "check_disk"; # $commandline = "/usr/lib/nagios/plugins/check_disk -w 20% -c 5%"; # write COMMANDDEFINITION; # close(COMMANDDEFINITION); print "==================================================\n"; init_defaults(); $choice = choose("Do you want to monitor any servers/workstations? [default=yes]: ", "yes"); if($choice eq 'yes') { init_defaults(); print "Scanning for server hosts, please wait...\n"; for($i=1; $i<254; $i++) { $host = "192.168.25." . "$i"; if($nav->ping($host)) { print "Found server $host\n"; $choice = choose("Do you want me to auto configure this server? [default=yes]: ", "yes"); if($choice eq 'yes') { config_host($host); config_alive($host); foreach $port (@ports) { if($sock = IO::Socket::INET->new(PeerAddr=>$host, PeerPort=>$port, Proto=>"tcp", Timeout=>0.6)) { config_service($host, $port); close($sock); } } } else { print "Skipping $host\n"; } } } } init_defaults(); $choice = choose("Do you want to check if passive hosts is alive? (hubs, switches, firewalls, etc) [default=yes]: ", "yes"); if($choice eq 'yes') { print "Scanning for passive hosts, please wait...\n"; foreach $host (@hosts) { if($nav->ping($host)) { config_host($host); config_alive($host); } } } else { print "Skipping passive hosts\n"; } $nav->close(); print "==================================================\n"; init_defaults(); open(CONTACTDEFINITION, "> $prefix/contacts.cfg") || die("Unable to open $prefix/contacts.cfg"); while(1) { $contactname = inpstr("Enter a contact username [default=$user][q to quit]: ", "$user"); if($contactname eq 'q') { last; } push(@contacts, $contactname); $user = $contactname; $alias = inpstr("Enter an alias for this contact [default=none]: ", "none"); $email = inpstr("Enter an email address for this contact [default=$user\@localhost]: ", "$user\@localhost"); $pager = inpstr("Enter a pager address for this contact [default=$user\@localhost]: ", "$user\@localhost"); write CONTACTDEFINITION; } close(CONTACTDEFINITION); print "==================================================\n"; init_defaults(); $contactgroupname = "nagios-admins"; $alias = "Admin group"; $members = join(",", @contacts); open(CONTACTGROUPDEFINITION, "> $prefix/contactgroups.cfg") || die("Unable to open $prefix/contactgroups.cfg"); write CONTACTGROUPDEFINITION; close(CONTACTGROUPDEFINITION); print "Nagios configuration files has been generated succsessfully\n"; $choice = choose("Do you want me to run nagios error report? [default=yes]: ", "yes"); if($choice eq 'yes') { if(-x "/usr/sbin/nagios" && -f "/etc/nagios/nagios.cfg") { system("/usr/sbin/nagios -v /etc/nagios/nagios.cfg") == 0 || die("Unable to run nagios report\n"); } else { print "nagios does not appear to be installed!\nSkipping nagios error report\n"; } } else { print "Skipping nagios error report\n"; } $choice = choose("Do you want me to restart nagios? [default=yes]: ", "yes"); if($choice eq 'yes') { if(-x "/etc/init.d/nagios") { system("/etc/init.d/nagios restart") == 0 || die("Unable to restart nagios\n"); } else { print "nagios does not appear to be installed!\nSkipping restart of nagios\n"; } } else { print "Skipping restart of nagios\n"; } # running apache2 ? change it here,d dude... $choice = choose("Do you want me to restart apache? [default=yes]: ", "yes"); if($choice eq 'yes') { if(-x "/etc/init.d/apache") { system("/etc/init.d/apache restart") == 0 || die("Unable to restart apache\n"); } else { print "apache does not appear to be installed!\nSkipping restart of apache\n"; } } else { print "Skipping restart of apache\n"; } print "==================================================\n"; #====================================== sub init_defaults { $maxcheckattempts = 3; $normalcheckinterval = $retrycheckinterval = 5; $checkperiod = $notificationperiod = $hostnotificationperiod = $servicenotificationperiod = "24x7"; $notificationinterval = 30; $notificationoptions = "w,c,r"; $contactgroups = "nagios-admins"; $alias = "none"; $address = "127.0.0.1"; $contactname = $members = $user = getlogin(); $hostnotificationoptions = $servicenotificationoptions = "w,c,r"; $contactgroupname = "nagios-group"; $commandname = "check_ping"; $commandline = "/usr/lib/nagios/plugins/check_ping -H \$HOSTADDRESS\$ -w 100,20% -c 500,60%"; $email = "root\@localhost"; $pager = "555-5555\@pagergateway.localhost.localdomain"; } #====================================== sub choose { my($choice); print $_[0]; $choice=; chomp($choice); if(!length($choice)) { $choice = $_[1]; } if($choice eq 'no' || $choice eq 'NO') { return 'no'; } else { return 'yes'; } } #====================================== sub inpstr { my($str); print $_[0]; $str=; chomp($str); if(!length($str)) { $str = $_[1]; } return $str; } #====================================== sub config_service { my($new_host, $new_port) = @_; # $hostname = $new_host; open(SERVICEDEFINITION, ">> $prefix/services.cfg") || die("Unable to open $prefix/services.cfg\n"); if($new_port eq '21') { # ftp print "Setting up ftp plugin for host $new_host\n"; $servicedescription = "FTP service"; $checkcommand = "check_ftp"; write(SERVICEDEFINITION); } elsif($new_port eq '22') { # ssh print "Setting up ssh plugin for host $new_host\n"; $servicedescription = "SSH service"; $checkcommand = "check_ssh"; write(SERVICEDEFINITION); } elsif($new_port eq '25') { # smtp print "Setting up smtp plugin for host $new_host\n"; $servicedescription = "SMTP service"; $checkcommand = "check_smtp"; write(SERVICEDEFINITION); } elsif($new_port eq '53') { # dns print "Setting up dns plugin for host $new_host\n"; $servicedescription = "DNS service"; $checkcommand = "check_dns"; write(SERVICEDEFINITION); } elsif($new_port eq '80') { # http print "Setting up http plugin for host $new_host\n"; $servicedescription = "HTTP service"; $checkcommand = "check_http"; write(SERVICEDEFINITION); } elsif($new_port eq '110') { # pop print "Setting up pop plugin for host $new_host\n"; $servicedescription = "POP service"; $checkcommand = "check_pop"; write(SERVICEDEFINITION); } elsif($new_port eq '143') { # imap print "Setting up imap plugin for host $new_host\n"; $servicedescription = "IMAP service"; $checkcommand = "check_imap"; write(SERVICEDEFINITION); } else { print "Sorry, no support for service on port $new_port\n"; } close(SERVICEDEFINITION); } #====================================== sub config_alive { my($new_host) = $_[0]; print "Setting up ping plugin for $new_host\n"; #$hostname = $new_host; $servicedescription = "PING service"; $checkcommand = "check_ping"; open(SERVICEDEFINITION, ">> $prefix/services.cfg") || die("Unable to open $prefix/services.cfg\n"); write(SERVICEDEFINITION); close(SERVICEDEFINITION); } #==================================$email sub config_host { my($new_host) = $_[0]; print "Setting up host information for $new_host\n"; $address = $new_host; $hostname = gethostbyaddr($new_host, 2); $hostname = inpstr("Enter a hostname : ",$hostname); $hostname = $new_host unless defined($hostname); $alias = inpstr("Enter an alias for this host [default=none]: ", "none"); open(HOSTDEFINITION, ">> $prefix/hosts.cfg") || die("Unable to open $prefix/hosts.cfg\n"); write(HOSTDEFINITION); close(HOSTDEFINITION); } #====================================== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RNathan at baxglobal.com Tue Dec 21 01:50:59 2004 From: RNathan at baxglobal.com (Ranga Nathan) Date: Mon, 20 Dec 2004 16:50:59 -0800 Subject: could not find status log: /var/log/nagios/status.log Message-ID: Now and then Nagios had problem coming up. The message I get is "could not find status log: /var/log/nagios/status.log", which is misleading. Nagios wants to back up the status.log by renaming it to status.sav and moving it to /var/tmp/nagios. For some mysterious reasons /var/tmp/nagios directory disappears and so he can not backup status.sav. But the message we get is something else. Q1) Why does the /var/tmp/nagios directory (tmpfile setting in nagios.cfg) disappears? Q2) The message is misleading. Perhaps we should change it. Q3) In the nagios start-up script, there is a variable NagiosTmp=/var/log/nagios/nagios.tmp. Is this related to tmpfile setting in nagios.cfg? Perhaps this was the problem? __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From don.alfredo at pandora.be Tue Dec 21 02:00:25 2004 From: don.alfredo at pandora.be (Don Alfredo) Date: Tue, 21 Dec 2004 02:00:25 +0100 Subject: 2.2 on fedora 3 In-Reply-To: <41C3080E.4080403@haigmail.com> References: <41C3080E.4080403@haigmail.com> Message-ID: <200412210200.25578.don.alfredo@pandora.be> On Friday 17 December 2004 17:23, Lance Haig wrote: > > I have looked at 1.2 version and the files that should be in the etc > folder are not there. > > What would be the right order to start populating the files to create a > working version? > > I have created the system entry so my "Nagios" server is defined but I > would like to add a new device so that I can start nagios. > ..... OOPS ... the script in my previous post is valid for nagios 1.2 - NOT for 2.x (have no experience with 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 KOBrien at sonypictures.com Tue Dec 21 02:05:03 2004 From: KOBrien at sonypictures.com (O'Brien, Kevin) Date: Mon, 20 Dec 2004 17:05:03 -0800 Subject: Notifications don't persist on passive checks Message-ID: <32EFAEA4102B7041842430B3B393857305E5E7E8@sl-mail2a.spde.net> I just started using passive checks and the notifications don't seem to work the same way as active checks. On our active checks, we get alerts every notification_interval as long as it's in a non-ok state. However, the passive check alerts only happen on a state change. How do I tell Nagios to notify me every notification_interval minutes while the passive check is in a non-ok state? -=Kevin=- -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn at nccsc.k12.in.us Tue Dec 21 03:01:18 2004 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Mon, 20 Dec 2004 21:01:18 -0500 Subject: Apache 2.0.52 mod_ssl MSIE statuswrl.cgi not loading Message-ID: <7ADE11986184154083869D43D0B06D447B7C86@exchange.nccsc.k12.in.us> Greetings! I am having trouble with the statuswrl.cgi when using mod_ssl support in apache with the Internet Explorer browser. I receive the following error: "Internet Exploerer cannot download statuswrl.cgi?host=all from x.x.x.x." Interestingly, Firefox/Mozilla does not exhibit this problem and is able to get the file, but it opens Internet Explorer and calls the Cortona plugin to open it locally. A similar problem was discussed in a prior posting: From: Thomas Nilsen RE: 3D statusmap 2003-02-10 00:18 found the culprit... I"m using Nagios over HTTPS, which causes the 3D view to fail. I don"t know if it is Nagios/Apache or the 3d plugin for the browser that"s causing it, but once I swithced to HTTP it works. My question continues where this one left off -- is there a way to get the statuswrl.cgi to work in MSIE without sacrificing SSL on the apache server? If so, I would be very much interested. My best guess is that MSIE is not allowing the vrml page to be cached locally. Is there something I can change on the server or client that would work around this? Relevant details are below. Here is my apache access_log when accessing nagios without ssl. Just a normal entry: x.x.x.x - xxxxxxxxx [20/Dec/2004:19:50:04 -0500] "GET /nagios/cgi-bin/statuswrl.cgi?host=all HTTP/1.1" 200 108868 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" Here is my ssl_access_log and ssl_request_log when using ssl, also normal: x.x.x.x - xxxxxxx [20/Dec/2004:20:36:17 -0500] "GET /nagios/cgi-bin/statuswrl.cgi?host=all HTTP/1.1" 200 108868 [20/Dec/2004:20:36:17 -0500] x.x.x.x SSLv2 RC4-MD5 "GET /nagios/cgi-bin/statuswrl.cgi?host=all HTTP/1.1" 108868 Nothing shows up in the ssl_error_log and error_log during the GET. Versions being used: Fedora Core 3, Apache 2.0.52 with mod_ssl and mod_auth_pam support, Nagios 1.2, Nagios Plugins 1.3.1 Remote Client: IE 6.0.2900.2180.xp_sp2... 128 bit cipher strength, Cortona VRML plugin 4.2.0.93 # Nagios CGI configuration ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" Options ExecCGI AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.1 Allow from x.x.x.x/x AuthType Basic AuthName "Nagios Web Access" Require user xxxxxxxxxxxxxxxxx AuthPAM_Enabled on AuthPAM_FallThrough off SSLCipherSuite -all:SSLv2:+HIGH SSLRequireSSL # Nagios HTML configuration Alias /nagios /usr/local/nagios/share/ Options None AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.1 Allow from x.x.x.x/x AuthType Basic AuthName "Nagios Web Access" Require user xxxxxxxxxxxxxxxxx AuthPAM_Enabled on AuthPAM_FallThrough off SSLCipherSuite -all:SSLv2:+HIGH SSLRequireSSL Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ggaweb.ch Tue Dec 21 07:57:25 2004 From: nagios at ggaweb.ch (nagios) Date: Tue, 21 Dec 2004 07:57:25 +0100 Subject: Split configfiles: services.cfg In-Reply-To: <20041220122301.GA6503@yagonna.de> References: <41C6BB96.7070308@ggaweb.ch> <20041220122301.GA6503@yagonna.de> Message-ID: <41C7C955.5060900@ggaweb.ch> That was it, it's working now. Every services-file needs the services-template. :-) Flori Sven Pfeifer wrote: >Hi, > >nagios wrote: > > >>Hi >> >>We are testing nagios and want to come away from BigBrother. Could these >>configfiles be splitted up? I meen, about 50 hosts will blow up >>services.cfg to a large complex file. Especially with several services >>per host. It would be fine if I could do it like this: >>services-host1.cfg, services-host2.cfg, etc... >> >> > >try to use > > cfg_dir=/usr/local/etc/nagios/services > >in our nagios.cfg. In the directory /opt/nagios/etc/services there >can be several files. > > > >>Thanks, Florian >> >> > >HTH > > Sven > > >Why You Can't Find Your System Administrator: > Wandering around the halls looking for his/her lost sanity. --Michael Faurot mfaurot at phzzzt.atww.org] >-----------------------------------------------------[rand. sig. #142] > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 gimenez at cict.fr Tue Dec 21 09:23:41 2004 From: gimenez at cict.fr (carole gimenez) Date: Tue, 21 Dec 2004 09:23:41 +0100 Subject: check_ldap Message-ID: <41C7DD8D.9080108@cict.fr> Hi all, I want to check that my ldap server is running on a linux box named ns2 (remote host). I have the check_ldap plugin compiled on this host but not on nagios server. Can i use nrpe to execute this command to the remote host as following: $ ./check_nrpe -H ns2 -c check_ldap -a master-ldap.ups-tlse.fr 1389 dc=ups-tlse,dc=fr "cn=root,dc=ups-tlse,dc=fr" xxxxxx LDAP OK - 0.017 seconds response time|time=17303us;;;0 Or must i install openldap to compile check_ldap on nagios server? Thanks for your help. Carole. *************************************************** Nagios 1.2 and nagios-plugins-1.4.0alpha1.tar.gz on solaris 8 Nagios-plugins-1.4.0alpha1.tar.gz on Redhat 9 *************************************************** ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 09:51:25 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 21 Dec 2004 09:51:25 +0100 Subject: could not find status log: /var/log/nagios/status.log In-Reply-To: References: Message-ID: <41C7E40D.1010205@op5.se> Ranga Nathan wrote: > Now and then Nagios had problem coming up. The message I get is "could not > find status log: /var/log/nagios/status.log", which is misleading. Nagios > wants to back up the status.log by renaming it to status.sav and moving it > to /var/tmp/nagios. > > For some mysterious reasons /var/tmp/nagios directory disappears and so he > can not backup status.sav. But the message we get is something else. > > Q1) Why does the /var/tmp/nagios directory (tmpfile setting in nagios.cfg) > disappears? > What version are you running? It's getting time to move users to 2.0 > Q2) The message is misleading. Perhaps we should change it. > Not really. The message is from the gui, which tries to read the file /var/log/nagios/status.log but can't find it (or access it). Any other error message is bound to be less accurate. > Q3) In the nagios start-up script, there is a variable > NagiosTmp=/var/log/nagios/nagios.tmp. Is this related to tmpfile setting > in nagios.cfg? Perhaps this was the problem? Read the script. If I were to have written it (I've rolled my own, the original one wasn't working so good), I would have exported it to $TMP and $TMPDIR before starting nagios to make sure it falls back to the same path (a bit stupid really, but it prevents sym/hard link clobbering). > __________________________________________ > Ranga Nathan / CSG > Systems Programmer - Specialist; Technical Services; > BAX Global Inc. Irvine-California > Tel: 714-442-7591 Fax: 714-442-2840 > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tue Dec 21 09:53:47 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 21 Dec 2004 09:53:47 +0100 Subject: check_ldap In-Reply-To: <41C7DD8D.9080108@cict.fr> References: <41C7DD8D.9080108@cict.fr> Message-ID: <41C7E49B.4070102@op5.se> carole gimenez wrote: > Hi all, > > I want to check that my ldap server is running on a linux box named ns2 > (remote host). > > I have the check_ldap plugin compiled on this host but not on nagios > server. > > Can i use nrpe to execute this command to the remote host as following: > $ ./check_nrpe -H ns2 -c check_ldap -a master-ldap.ups-tlse.fr 1389 > dc=ups-tlse,dc=fr "cn=root,dc=ups-tlse,dc=fr" xxxxxx > LDAP OK - 0.017 seconds response time|time=17303us;;;0 > Yes. > Or must i install openldap to compile check_ldap on nagios server? > No. > Thanks for your help. > Don't mention it. Next time though, you might want to just set it up and test it instead of asking. You'll get the answer quicker that way. > Carole. > > *************************************************** > Nagios 1.2 and nagios-plugins-1.4.0alpha1.tar.gz on solaris 8 > Nagios-plugins-1.4.0alpha1.tar.gz on Redhat 9 > *************************************************** > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 florian.beese at infoconsult.nu Tue Dec 21 10:34:11 2004 From: florian.beese at infoconsult.nu (florian.beese at infoconsult.nu) Date: Tue, 21 Dec 2004 10:34:11 +0100 Subject: NRPE startup problems Message-ID: <311C2A2ABAA4D311B77E00A0C9F1752B2AF33F@king-loui> Hello, I have a problem using lm_sensors with NRPE. Everything is working fine unless I reboot the computers where lmsensors should be executed on by NRPE. When I reboot the machine everything seems to be well - the startup scripts initialize sensors and start NRPE (as daemon), but when my Nagios retrieves the info, the information becomes always cut at different sections of the output. For Example (output of 2 different computers with the same config): output (PC1), when I (re-)start NRPE by hand: SENSORS OK - temp1 +35 ?C: temp3 +33.5 ?C output (PC1), when its started up by init script: SENSORS OK - output (PC2), when I (re-)start NRPE by hand: SENSORS OK - fan2 4326 RPM: temp2 +19.0 ?C output (PC2), when its started up by init script: SENSORS OK - fan2 4326 RPM I even tried it at the command line and the output was the same, but the NRPE process seems to be running normaly. When I restart the NRPE process everythings working fine again until the next restart of the computer (as mentioned above). I am using NRPE 2.0 with Nagios 1.2 and the plugin "check_sensors.pl" (by Matthew Kent) as I didn't really like the normal "check_sensors" plugin (if you'd like to see it watch this link: http://iramon.ir.funpic.de/nagios/download/check_sensors.pl). I already thought about writing an init script which restarts the NRPE process after 10 seconds or so, but haven't tried that yet and in my opinion thats not a clean solution. Thanks in advance! kind regards Florian Beese ____________ Virus checked by G DATA AntiVirusKit Version: AVK 15.0.1655 from 21.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 m.borsani at it.net Tue Dec 21 10:46:31 2004 From: m.borsani at it.net (Marco Borsani) Date: Tue, 21 Dec 2004 10:46:31 +0100 Subject: Check stale In-Reply-To: <20041220122301.GA6503@yagonna.de> References: <20041220122301.GA6503@yagonna.de> Message-ID: Hi ! I am running a Nagios 1.2, with 130 hosts and 340 services monitored. Every day there are (at least) 1000 "stale messages" in the nagios.log file. I fear that this affects the performance in fact , often , arrive errors from many checks (expecially from check_ping) wrongly. Any idea? Which parameters may I change ? Thanks. 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 ollie at uk.clara.net Tue Dec 21 11:20:55 2004 From: ollie at uk.clara.net (Ollie Cook) Date: Tue, 21 Dec 2004 10:20:55 +0000 Subject: failing host checks In-Reply-To: <20041217162311.GB9385@mutare.noc.clara.net> References: <20041217133205.GH7134@mutare.noc.clara.net> <20041217162311.GB9385@mutare.noc.clara.net> Message-ID: <20041221102055.GC42562@mutare.noc.clara.net> On Fri, Dec 17, 2004 at 04:23:11PM +0000, Ollie Cook wrote: > I've gathered some more information on this problem. I've enabled DEBUG3 which > shows the results of service and host checks. For the record, I found a resolution for this was to remove the entries for this host from the nagios status tables in MySQL Perhaps there was some bug causing these entries not to be updated. Or for checks not to be scheduled when data is already there. I guess things like this are one of the reasons that support for databases natively has been removed in version 2. Thanks, Ollie -- Ollie Cook Systems Architect, Claranet UK ollie at uk.clara.net +44 20 7685 8065 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 11:38:56 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 21 Dec 2004 11:38:56 +0100 Subject: NRPE startup problems In-Reply-To: <311C2A2ABAA4D311B77E00A0C9F1752B2AF33F@king-loui> References: <311C2A2ABAA4D311B77E00A0C9F1752B2AF33F@king-loui> Message-ID: <41C7FD40.10000@op5.se> florian.beese at infoconsult.nu wrote: > Hello, > > I have a problem using lm_sensors with NRPE. > > Everything is working fine unless I reboot the computers where lmsensors > should be executed on by NRPE. When I reboot the machine everything seems to > be well - the startup scripts initialize sensors and start NRPE (as daemon), > but when my Nagios retrieves the info, the information becomes always cut at > different sections of the output. > For Example (output of 2 different computers with the same config): > output (PC1), when I (re-)start NRPE by hand: SENSORS OK - temp1 +35 > ?C: temp3 +33.5 ?C > output (PC1), when its started up by init script: SENSORS OK - > output (PC2), when I (re-)start NRPE by hand: SENSORS OK - fan2 4326 > RPM: temp2 +19.0 ?C > output (PC2), when its started up by init script: SENSORS OK - fan2 4326 > RPM > This can't possibly be an NRPE problem. You should look to the plugin instead or the nagios gui instead. NRPE just feeds back the first line of output it gets, and only cuts if it exceeds 1024 chars. > I even tried it at the command line and the output was the same, but the > NRPE process seems to be running normaly. When I restart the NRPE process > everythings working fine again until the next restart of the computer (as > mentioned above). > > I am using NRPE 2.0 with Nagios 1.2 and the plugin "check_sensors.pl" (by > Matthew Kent) as I didn't really like the normal "check_sensors" plugin (if > you'd > like to see it watch this link: > http://iramon.ir.funpic.de/nagios/download/check_sensors.pl). > > I already thought about writing an init script which restarts the NRPE > process after 10 seconds or so, but haven't tried that yet and in my opinion > thats not a clean solution. > > Thanks in advance! > > kind regards > Florian Beese > > > ____________ > Virus checked by G DATA AntiVirusKit > Version: AVK 15.0.1655 from 21.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 florian.beese at infoconsult.nu Tue Dec 21 12:44:06 2004 From: florian.beese at infoconsult.nu (florian.beese at infoconsult.nu) Date: Tue, 21 Dec 2004 12:44:06 +0100 Subject: AW: NRPE startup problems Message-ID: <311C2A2ABAA4D311B77E00A0C9F1752B2AF340@king-loui> I had a look at the plugin, but I cannot find any error at it. It behaves normaly! When I call : /usr/lib/nagios/plugins/check_sensors.pl -s "temp1:55:65" -s "temp3:50:60" The output is: SENSORS OK - temp1 +36 C; temp3 +34.5 C| 'temp1'=36;55;65 'temp3'=34.5;50;60 When I call : /usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -c check_sensors The output is: SENSORS OK - | 'temp1'=36;55;65 'temp3'=34.5;50;60 This also happens, when I use the network-card IP address instead of localhost. extract from my nrpe.cfg: command[check_sensors]=/usr/lib/nagios/plugins/check_sensors.pl -s "temp1:55:65" -s "temp3:50:60" As said before, when I kill the nrpe process and start it again as a daemon everything works fine. I don't have to do anything at the sensors or anywhere else... I wonder why this cannot be a problem of NRPE?! I really don't know what else I should have look at and what can be wrong here. I also tried the rc-start script for SuSE Linux from the new CVS of NRPE, but also with that init-script it didn't work at the start. Just after a "restart" of the process. Hope to get some ideas on this... regards Florian Beese -----Urspr?ngliche Nachricht----- Von: Andreas Ericsson [mailto:ae at op5.se] Gesendet: Dienstag, 21. Dezember 2004 11:39 An: florian.beese at infoconsult.nu Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] NRPE startup problems florian.beese at infoconsult.nu wrote: > Hello, > > I have a problem using lm_sensors with NRPE. > > Everything is working fine unless I reboot the computers where lmsensors > should be executed on by NRPE. When I reboot the machine everything seems to > be well - the startup scripts initialize sensors and start NRPE (as daemon), > but when my Nagios retrieves the info, the information becomes always cut at > different sections of the output. > For Example (output of 2 different computers with the same config): > output (PC1), when I (re-)start NRPE by hand: SENSORS OK - temp1 +35 > ?C: temp3 +33.5 ?C > output (PC1), when its started up by init script: SENSORS OK - > output (PC2), when I (re-)start NRPE by hand: SENSORS OK - fan2 4326 > RPM: temp2 +19.0 ?C > output (PC2), when its started up by init script: SENSORS OK - fan2 4326 > RPM > This can't possibly be an NRPE problem. You should look to the plugin instead or the nagios gui instead. NRPE just feeds back the first line of output it gets, and only cuts if it exceeds 1024 chars. > I even tried it at the command line and the output was the same, but the > NRPE process seems to be running normaly. When I restart the NRPE process > everythings working fine again until the next restart of the computer (as > mentioned above). > > I am using NRPE 2.0 with Nagios 1.2 and the plugin "check_sensors.pl" (by > Matthew Kent) as I didn't really like the normal "check_sensors" plugin (if > you'd > like to see it watch this link: > http://iramon.ir.funpic.de/nagios/download/check_sensors.pl). > > I already thought about writing an init script which restarts the NRPE > process after 10 seconds or so, but haven't tried that yet and in my opinion > thats not a clean solution. > > Thanks in advance! > > kind regards > Florian Beese > > > ____________ > Virus checked by G DATA AntiVirusKit > Version: AVK 15.0.1655 from 21.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 ____________ Virus checked by G DATA AntiVirusKit Version: AVK 15.0.1656 from 21.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 cortez at tiscali.it Tue Dec 21 14:27:29 2004 From: cortez at tiscali.it (Luca Corti) Date: Tue, 21 Dec 2004 14:27:29 +0100 Subject: Nagios 2.0b1 and CVS Message-ID: <1103635649.31048.6.camel@luca> I've installed nagios 2.0b1 and CVS versions on debian woody. When trying to set up authentication in the web interface I continuously get this error: "Error: Could not read host and service status information!" I've checked that nagios is running, issued nagios -v nagios.conf as suggested but it does not help. The compilation options I've used are the same for another machine I run successfully (debian sarge). Please note that with the exact same configuration on the same machine nagios 1.2 works. thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 14:39:25 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 21 Dec 2004 14:39:25 +0100 Subject: Nagios 2.0b1 and CVS In-Reply-To: <1103635649.31048.6.camel@luca> References: <1103635649.31048.6.camel@luca> Message-ID: <41C8278D.10908@op5.se> Luca Corti wrote: > I've installed nagios 2.0b1 and CVS versions on debian woody. > > When trying to set up authentication in the web interface I continuously > get this error: > > "Error: Could not read host and service status information!" > > I've checked that nagios is running, issued nagios -v nagios.conf as > suggested but it does not help. The compilation options I've used are > the same for another machine I run successfully (debian sarge). > > Please note that with the exact same configuration on the same machine > nagios 1.2 works. > Fix your permissons. > thanks > > Luca > > > > > CONFIDENTIALITY NOTICE > This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 cortez at tiscali.it Tue Dec 21 14:48:39 2004 From: cortez at tiscali.it (Luca Corti) Date: Tue, 21 Dec 2004 14:48:39 +0100 Subject: Nagios 2.0b1 and CVS In-Reply-To: <41C8278D.10908@op5.se> References: <1103635649.31048.6.camel@luca> <41C8278D.10908@op5.se> Message-ID: <1103636919.31048.10.camel@luca> On Tue, 2004-12-21 at 14:39 +0100, Andreas Ericsson wrote: > > Please note that with the exact same configuration on the same machine > > nagios 1.2 works. > Fix your permissons. My permissions on what? I've installed nagios from source on a different box in the same exact way. There it works flawlessly. I haven't touched permissions there, and I've checked they are the same. thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc at roseberry.ca Tue Dec 21 14:58:07 2004 From: luc at roseberry.ca (Luc Roseberry) Date: Tue, 21 Dec 2004 08:58:07 -0500 Subject: Partly solved: Unable to display monitoring in Web page In-Reply-To: <41C3815B.4000505@op5.se> References: <200412171055.25508.luc@roseberry.ca> <41C3815B.4000505@op5.se> Message-ID: <200412210858.07655.luc@roseberry.ca> Pointing to https://... gives the same error. Also with https there is no login window (user/password). So with http one has to be authenticated to access nagios info while with https anyone can ???? Le Vendredi 17 D?cembre 2004 20:01, vous avez ?crit?: > Luc Roseberry wrote: > > Okay. I think that I found why. Looking to the error.log for httpd I see: > > access to /usr/lib/nagios/cgi/tac.cgi failed, reason: SSL connection > > required, referer: http://bureau.roseberry.ca/nagios/side.html > > > > Now, I have to solve that... > > Try https://bureau.roseberry.ca/nagios/ > (note https, not http) > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 ae at op5.se Tue Dec 21 15:00:58 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 21 Dec 2004 15:00:58 +0100 Subject: Nagios 2.0b1 and CVS In-Reply-To: <1103636919.31048.10.camel@luca> References: <1103635649.31048.6.camel@luca> <41C8278D.10908@op5.se> <1103636919.31048.10.camel@luca> Message-ID: <41C82C9A.8010507@op5.se> Luca Corti wrote: > On Tue, 2004-12-21 at 14:39 +0100, Andreas Ericsson wrote: > >>>Please note that with the exact same configuration on the same machine >>>nagios 1.2 works. >> >>Fix your permissons. > > > My permissions on what? Your permissions on the objects.cache and status.log files and/or the directories leading up to them. I would have thought that was obvious, given the error message you received. > I've installed nagios from source on a different > box in the same exact way. There it works flawlessly. I haven't touched > permissions there, and I've checked they are the same. > Then you obviously haven't done it in the exact same way, or it would have worked on both hosts. Perhaps the webserver user is running as a different user on either machine, or you have suexec enabled on one but not the other. In the end, it's with 99.9% certainty a permission issue. > thanks > > Luca > > > > > CONFIDENTIALITY NOTICE > This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tue Dec 21 15:02:56 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 21 Dec 2004 15:02:56 +0100 Subject: Partly solved: Unable to display monitoring in Web page In-Reply-To: <200412210858.07655.luc@roseberry.ca> References: <200412171055.25508.luc@roseberry.ca> <41C3815B.4000505@op5.se> <200412210858.07655.luc@roseberry.ca> Message-ID: <41C82D10.4070408@op5.se> Luc Roseberry wrote: > Pointing to https://... gives the same error. > Also with https there is no login window (user/password). > So with http one has to be authenticated to access nagios info while with > https anyone can ???? > httpd.apache.org/docs httpd.apache.org/docs-2.0 > > Le Vendredi 17 D?cembre 2004 20:01, vous avez ?crit : > >>Luc Roseberry wrote: >> >>>Okay. I think that I found why. Looking to the error.log for httpd I see: >>>access to /usr/lib/nagios/cgi/tac.cgi failed, reason: SSL connection >>>required, referer: http://bureau.roseberry.ca/nagios/side.html >>> >>>Now, I have to solve that... >> >>Try https://bureau.roseberry.ca/nagios/ >>(note https, not http) >> >> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from real users. >>>Discover which products truly live up to the hype. Start reading now. >>>http://productguide.itmanagersjournal.com/ >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>> >>>::: 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 luc at roseberry.ca Tue Dec 21 15:25:08 2004 From: luc at roseberry.ca (Luc Roseberry) Date: Tue, 21 Dec 2004 09:25:08 -0500 Subject: Partly solved: Unable to display monitoring in Web page In-Reply-To: <41C82D10.4070408@op5.se> References: <200412171055.25508.luc@roseberry.ca> <200412210858.07655.luc@roseberry.ca> <41C82D10.4070408@op5.se> Message-ID: <200412210925.08631.luc@roseberry.ca> Thanks, That's where I've been for the last two days (on-and-off on that problem). Still trying to find what's wrong. MandrakdeLinux comes with Apache-PREFORK-AdvancedExtranetServer. Also I'm on Cooker (latest rpm versions). I know that apache_mod_ssl is installed (2.0.52-4) but it is not in the configured known modules (and re-configuring it from WebMin does not work). And the /var/cache/httpd/mod_ssl is not present (should be I think). Le Mardi 21 D?cembre 2004 09:02, Andreas Ericsson a ?crit?: > Luc Roseberry wrote: > > Pointing to https://... gives the same error. > > Also with https there is no login window (user/password). > > So with http one has to be authenticated to access nagios info while with > > https anyone can ???? > > httpd.apache.org/docs > httpd.apache.org/docs-2.0 > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 21 15:59:04 2004 From: cortez at tiscali.it (Luca Corti) Date: Tue, 21 Dec 2004 15:59:04 +0100 Subject: Nagios 2.0b1 and CVS In-Reply-To: <41C82C9A.8010507@op5.se> References: <1103635649.31048.6.camel@luca> <41C8278D.10908@op5.se> <1103636919.31048.10.camel@luca> <41C82C9A.8010507@op5.se> Message-ID: <1103641144.31048.18.camel@luca> On Tue, 2004-12-21 at 15:00 +0100, Andreas Ericsson wrote: > Your permissions on the objects.cache and status.log files and/or the > directories leading up to them. I would have thought that was obvious, > given the error message you received. On the working machine: # ls -l /usr/local/ drwxr-sr-x 8 nagios nagios 192 Dec 17 11:29 nagios # ls -l /usr/local/nagios/ total 3 drwxrwsr-x 2 nagios nagios 128 Dec 17 11:02 bin drwxrwsr-x 2 nagios nagios 576 Dec 21 11:44 etc drwxr-sr-x 2 root nagios 1936 Dec 17 11:29 libexec drwxrwsr-x 2 nagios nagios 584 Dec 17 12:14 sbin drwxrwsr-x 9 nagios nagios 392 Dec 17 12:14 share drwxrwsr-x 4 nagios nagios 256 Dec 19 16:44 var # ls -l /usr/local/nagios/var/ total 40 drwxrwsr-x 2 nagios nagios 128 Dec 19 00:00 archives -rw-rw-r-- 1 nagios nagios 240 Dec 17 12:42 comments.dat -rw-rw-r-- 1 nagios nagios 241 Dec 17 12:42 downtime.dat -rw-r--r-- 1 nagios nagios 2884 Dec 19 16:44 nagios.log -rw-r--r-- 1 nagios nagios 12144 Dec 18 21:38 objects.cache -rw-r--r-- 1 nagios nagios 12474 Dec 19 16:44 retention.dat drwxrwsr-x 2 nagios nagios 48 Dec 17 11:03 rw # ls -l /usr/local/nagios/var/rw/ total 0 On the nonworking machine: # ls -l /usr/local/ drwxrwsr-x 8 nagios nagios 192 Dec 21 15:20 nagios # ls -l /usr/local/nagios/ total 6 drwxrwsr-x 2 nagios nagios 128 Dec 21 15:09 bin drwxr-sr-x 2 root nagios 1080 Dec 21 15:45 etc drwxr-sr-x 2 root nagios 1968 Dec 21 15:14 libexec drwxrwsr-x 2 nagios nagios 552 Dec 21 15:09 sbin drwxrwsr-x 9 nagios nagios 360 Dec 21 15:14 share drwxrwsr-x 4 nagios nagios 224 Dec 21 15:40 var # ls -l /usr/local/nagios/var/ total 453 drwxrwsr-x 2 nagios nagios 48 Dec 21 15:09 archives -rw-r--r-- 1 nagios nagios 6 Dec 21 15:40 nagios.lock -rw-r--r-- 1 nagios nagios 133 Dec 21 15:40 nagios.log -rw-r--r-- 1 nagios nagios 452651 Dec 21 15:40 objects.cache -rw-r--r-- 1 nagios nagios 0 Dec 21 15:40 retention.dat drwxrwsr-x 2 nagios nagios 80 Dec 21 15:40 rw # ls -l /usr/local/nagios/var/rw/ total 0 prw-rw---- 1 nagios nagios 0 Dec 21 15:40 nagios.cmd > Then you obviously haven't done it in the exact same way, or it would > have worked on both hosts. Perhaps the webserver user is running as a > different user on either machine, or you have suexec enabled on one but > not the other. In the end, it's with 99.9% certainty a permission issue. apache runs on both as www-data, nagios on both as nagios. The only difference I can think of is the prefix /usr/local/nagios-2.0 instead of /usr/local/nagios on the nonworking host, but I've symlinked it to /usr/local/nagios. No ideas... thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 16:00:50 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 21 Dec 2004 16:00:50 +0100 Subject: Partly solved: Unable to display monitoring in Web page In-Reply-To: <200412210925.08631.luc@roseberry.ca> References: <200412171055.25508.luc@roseberry.ca> <200412210858.07655.luc@roseberry.ca> <41C82D10.4070408@op5.se> <200412210925.08631.luc@roseberry.ca> Message-ID: <41C83AA2.2070509@op5.se> Luc Roseberry wrote: > Thanks, > That's where I've been for the last two days (on-and-off on that problem). > Still trying to find what's wrong. > > MandrakdeLinux comes with Apache-PREFORK-AdvancedExtranetServer. > Also I'm on Cooker (latest rpm versions). I know that apache_mod_ssl is > installed (2.0.52-4) but it is not in the configured known modules (and > re-configuring it from WebMin does not work) I'm not surprised. The list of things that doesn't work when attempted from webmin would fill quite a large book. Try shell access for a change. You'll want to add a line like LoadModule ssl_module modules/lib_ssl.so in your httpd.conf. modules/lib_ssl.so is supposed to point to that file, so you might have to edit it slightly, although most dists I've come across have a symlink from the server_root to the modules directory. >. And the /var/cache/httpd/mod_ssl is not present (should be I think). > /var/cache is supposed to be cache (it's aptly named). CGI's don't get cached by default, and certainly not by the webserver, since the whole idea of CGI's is to generate dynamic content. > > > Le Mardi 21 D?cembre 2004 09:02, Andreas Ericsson a ?crit : > >>Luc Roseberry wrote: >> >>>Pointing to https://... gives the same error. >>>Also with https there is no login window (user/password). >>>So with http one has to be authenticated to access nagios info while with >>>https anyone can ???? >> >>httpd.apache.org/docs >>httpd.apache.org/docs-2.0 >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is at gentestrana.net Tue Dec 21 19:39:34 2004 From: is at gentestrana.net (Andrea Cerrito) Date: Tue, 21 Dec 2004 19:39:34 +0100 Subject: Error using interface In-Reply-To: <1103298906.8781.60.camel@localhost> References: <1102689207.7544.20.camel@localhost> <1103122884.7859.65.camel@localhost> <41C0590E.5060407@op5.se> <1103298906.8781.60.camel@localhost> Message-ID: <1103654375.14066.16.camel@localhost> Il giorno ven, 17-12-2004 alle 16:55 +0100, Andrea Cerrito ha scritto: > Il giorno mer, 15-12-2004 alle 16:32 +0100, Andreas Ericsson ha scritto: > > 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, > > nagios 1.2 > > nagios-nrpe-2.0-3.rhel3.dag > nagios-plugins-nrpe-2.0-3.rhel3.dag > nagios-1.2-0.rhel3.dag > nagios-plugins-1.3.1-10.rhel3.dag > nagios-snmp-plugins-1.0-1t.rhel3 > > > 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. > > I verified, and I got just one instance of nagios. > Thanks Other debug infos: in my log messages, those are last entries. Dec 21 17:31:06 monitoring nagios: SERVICE EVENT HANDLER: dcaule001.domain.com;Domain Controller;OK;SOFT;2;notify_by_email Dec 21 17:32:46 monitoring nagios: SERVICE ALERT: dc002.domain.com;Domain Controller;UNKNOWN;SOFT;1;Result from smbclient not suitable Dec 21 17:32:46 monitoring nagios: SERVICE EVENT HANDLER: dc002.domain.com;Domain Controller;UNKNOWN;SOFT;1;notify_by_email Dec 21 17:32:56 monitoring nagios: SERVICE ALERT: dc001.domain.com;Domain Controller;OK;SOFT;2;Disk ok - 1.26G (25%) free on \\dc001.domain.com\SYSVOL Dec 21 17:32:56 monitoring nagios: SERVICE EVENT HANDLER: dc001.domain.com;Domain Controller;OK;SOFT;2;notify_by_email Dec 21 17:34:06 monitoring nagios: SERVICE ALERT: dccallcenter001.domain.com;Domain Controller;UNKNOWN;SOFT;1;Result from smbclient not suitable Dec 21 17:34:06 monitoring nagios: SERVICE EVENT HANDLER: dccallcenter001.domain.com;Domain Controller;UNKNOWN;SOFT;1;notify_by_email Dec 21 17:35:36 monitoring nagios: Warning: The results of service 'CPU Load' on host 'centralino.domain.com' are stale by 15 seconds (threshold=365 seconds). I'm forcing animmediate check of the service. Dec 21 17:35:36 monitoring nagios: Warning: The results of service 'CPU Load' on host 'dc001.domain.com' are stale by 5 seconds (threshold=365 seconds). I'm forcing an immediate check of the service. Dec 21 17:35:36 monitoring nagios: Warning: The results of service 'Spazio C:' on host 'dccallcenter001.domain.com' are stale by 5 seconds (threshold=365 seconds). I'm forcing an immediate check of the service. Dec 21 17:36:06 monitoring nagios: Warning: The results of service 'Spazio /' on host 'centralino.domain.com' are stale by 5 seconds (threshold=365 seconds). I'm forcing an immediate check of the service. Dec 21 17:36:06 monitoring nagios: Warning: The results of service 'Posta Elettronica: IMAP' on host 'dc001.domain.com' are stale by 5 seconds (threshold=365 seconds). I'm forcing an immediate check of the service. Dec 21 17:36:06 monitoring nagios: Warning: The results of service 'Spazio E:' on host 'dccallcenter001.domain.com' are stale by 15 seconds (threshold=365 seconds). I'm forcing an immediate check of the service. Dec 21 17:36:36 monitoring nagios: Warning: The results of service 'Interfacce di Rete' on host 'dc001.domain.com' are stale by 5 seconds (threshold=365 seconds). I'm forcing an immediate check of the service. Dec 21 17:36:36 monitoring nagios: Warning: The results of service 'Interfacce di Rete' on host 'fileserver001.domain.com' are stale by 5 seconds (threshold=365 seconds). I'm forcing an immediate check of the service. Dec 21 17:36:36 monitoring nagios: Warning: The results of service 'Spazio C:' on host 'fileserver001.domain.com' are stale by 15 seconds (threshold=365 seconds). I'm forcing an immediate check of the service. Dec 21 17:37:06 monitoring nagios: Warning: The results of service 'Spazio C:' on host 'dcaule001.domain.com' are stale by 15 seconds (threshold=365 seconds). I'm forcing animmediate check of the service. Dec 21 17:37:06 monitoring nagios: Warning: The results of service 'Interfacce di Rete' on host 'dccallcenter001.domain.com' are stale by 5 seconds (threshold=365 seconds). I'm forcing an immediate check of the service. Dec 21 17:37:36 monitoring nagios: Warning: The results of service 'Processo Libra' on host 'centralino.domain.com' are stale by 5 seconds (threshold=375 seconds). I'm forcing an immediate check of the service. Dec 21 17:37:36 monitoring nagios: Warning: The results of service 'Processo Antivirus' on host 'dc001.domain.com' are stale by 5 seconds (threshold=365 seconds). I'm forcing an immediate check of the service. The "Warning: The results etc.etc." are repeated until nagios restart. -- 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 daniel.junkmail at gmail.com Tue Dec 21 20:10:49 2004 From: daniel.junkmail at gmail.com (Daniel Corbe) Date: Tue, 21 Dec 2004 14:10:49 -0500 Subject: Nagios Issues Message-ID: Hey, Nagios is telling me this: It appears as though Nagios is not running, so commands are temporarily unavailable... Click here to view Nagios process information Even though nagios is indeed running on my box. [root at monitor1 root]# ps -awwx | grep nagios 3900 ? S 0:34 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg 3581 pts/0 S 0:00 grep nagios [root at monitor1 root]# Could anyone kindly hit me with a clue bat so I know which direction I need to look to fix this? -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 marc at ena.com Tue Dec 21 20:37:16 2004 From: marc at ena.com (Marc Powell) Date: Tue, 21 Dec 2004 13:37:16 -0600 Subject: Nagios Issues Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835A6D@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: Tuesday, December 21, 2004 1:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Issues > > Hey, > > Nagios is telling me this: > > It appears as though Nagios is not running, so commands are > temporarily unavailable... > Click here to view Nagios process information > > Even though nagios is indeed running on my box. > > [root at monitor1 root]# ps -awwx | grep nagios > 3900 ? S 0:34 /usr/local/nagios/bin/nagios -d > /usr/local/nagios/etc/nagios.cfg > 3581 pts/0 S 0:00 grep nagios > [root at monitor1 root]# > > Could anyone kindly hit me with a clue bat so I know which direction I > need to look to fix this? When you follow the 'Click here' link, what does it say the problem is? You may need to modify the -C parameter to check_nagios to work better with your ps output but that's just speculation at this point. -- 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 shawn at nccsc.k12.in.us Wed Dec 22 00:11:36 2004 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Tue, 21 Dec 2004 18:11:36 -0500 Subject: Apache 2.0.52 mod_ssl MSIE statuswrl.cgi not loading Message-ID: <7ADE11986184154083869D43D0B06D447B7C8A@exchange.nccsc.k12.in.us> I made the following changes as a partial work around for this issue. It isn't ideally what I wanted since statuswrl.cgi is no longer encrypted, but at least every thing else is. I added a Files directive below to exempt statuswrl.cgi from requiring SSL: ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Options ExecCGI AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.1 Allow from x.x.x.x/x AuthType Basic AuthName "Nagios Web Access" Require user xxxxxxxxxxxxxxxxx AuthPAM_Enabled on AuthPAM_FallThrough off SSLCipherSuite -all:SSLv2:+HIGH SSLRequireSSL I then edited side.html in the nagios shares directory and changed the relative hyperlink to a full hyperlink in order to change it to http instead of https: 3-D Status Map The only problem is that any links out of the vrml world into nagios are broken because relative hyperlinks are generated within the statuswrl.cgi. I think that perhaps a better solution would be to use the RewriteEngine in apache to modify the relative hyperlink so that side.html does not have to be changed and statuswrl.cgi hyperlinks get rewritten to https:// instead of http://. Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us On Monday, December 20, 2004 9:01 PM Shawn wrote: >Greetings! > >I am having trouble with the statuswrl.cgi when using mod_ssl >support in apache with the Internet Explorer browser. I >receive the following >error: "Internet Exploerer cannot download >statuswrl.cgi?host=all from x.x.x.x." Interestingly, >Firefox/Mozilla does not exhibit this problem and is able to >get the file, but it opens Internet Explorer and calls the >Cortona plugin to open it locally. A similar problem was >discussed in a prior posting: > > > >From: Thomas Nilsen > RE: 3D statusmap >2003-02-10 00:18 > found the culprit... I"m using Nagios over HTTPS, which >causes the 3D view to fail. I don"t know if it is >Nagios/Apache or the 3d plugin for the browser that"s causing >it, but once I swithced to HTTP it works. > > > >My question continues where this one left off -- is there a >way to get the statuswrl.cgi to work in MSIE without >sacrificing SSL on the apache server? If so, I would be very >much interested. My best guess is that MSIE is not allowing >the vrml page to be cached locally. Is there something I can >change on the server or client that would work around this? > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shawn at nccsc.k12.in.us Wed Dec 22 00:45:09 2004 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Tue, 21 Dec 2004 18:45:09 -0500 Subject: Apache 2.0.52 mod_ssl MSIE statuswrl.cgi not loading Message-ID: <7ADE11986184154083869D43D0B06D447B7C8B@exchange.nccsc.k12.in.us> Typo below, should be: I also made an extra Directory directive to allow images to be loaded into statuswrl.cgi over http://. Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us On Tuesday, December 21, 2004 6:12 PM Shawn wrote: > > SSLRequireSSL > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shawn at nccsc.k12.in.us Wed Dec 22 01:31:24 2004 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Tue, 21 Dec 2004 19:31:24 -0500 Subject: Apache 2.0.52 mod_ssl MSIE statuswrl.cgi not loading Message-ID: <7ADE11986184154083869D43D0B06D447B7C8C@exchange.nccsc.k12.in.us> Okay, my earlier attempt at matching anything but statuswrl.cgi with a regular expression is incorrect (I am able to hit other cgi's with http://). I welcome anyone who has a better grasp of regular expressions to correct me on this. Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us On Tuesday, December 21, 2004 6:45 PM Shawn wrote: > >Typo below, should be: > > > >I also made an extra Directory directive to allow images to be >loaded into statuswrl.cgi over http://. > > >On Tuesday, December 21, 2004 6:12 PM Shawn wrote: > >> >> SSLRequireSSL >> >> >> > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from >real users. Discover which products truly live up to the hype. >Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 ae at op5.se Wed Dec 22 08:41:32 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 22 Dec 2004 08:41:32 +0100 Subject: Apache 2.0.52 mod_ssl MSIE statuswrl.cgi not loading In-Reply-To: <7ADE11986184154083869D43D0B06D447B7C8C@exchange.nccsc.k12.in.us> References: <7ADE11986184154083869D43D0B06D447B7C8C@exchange.nccsc.k12.in.us> Message-ID: <41C9252C.5020607@op5.se> Shawn Iverson wrote: > Okay, my earlier attempt at matching anything but statuswrl.cgi with a > regular expression is incorrect (I am able to hit other cgi's with > http://). I welcome anyone who has a better grasp of regular > expressions to correct me on this. > Why not just turn off port 80? Look for the "listen" and "port" directives in httpd.conf. > Shawn Iverson > Technology Associate > MCP W2K3S and W2KP, Linux+, Network+, A+ > New Castle Community School Corporation > shawn at nccsc.k12.in.us > > > On Tuesday, December 21, 2004 6:45 PM Shawn wrote: > >>Typo below, should be: >> >> >> >>I also made an extra Directory directive to allow images to be >>loaded into statuswrl.cgi over http://. >> > > >>On Tuesday, December 21, 2004 6:12 PM Shawn wrote: >> >> >>> >>> SSLRequireSSL >>> >>> >>> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from >>real users. Discover which products truly live up to the hype. >>Start reading now. >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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 higashide.haruhisa at lab.ntt.co.jp Wed Dec 22 09:41:39 2004 From: higashide.haruhisa at lab.ntt.co.jp (HAL) Date: Wed, 22 Dec 2004 17:41:39 +0900 Subject: About check action of Nagios 1.2 Message-ID: <20041222174140higashide.haruhi@mailsv3.y.ecl.ntt.co.jp> Dear All, Hi, This is Hal. Nice to see you. I'm trying to use Nagios 1.2 in my Lab. I have a problem about its Hostcheck. Please give me advices. == MY ENVIRONMENT == I made 60 hosts which are virtual machines on VMWare and check over 600 services by Nagios 1.2 and its plugin1.4a1. Each host has independent MAC and IP address. 20 hosts(hostname are "k***") are located in my side (LAN), and other 40 Hosts(hosyname are "b***") are located over VPN (WAN). It was working fine before VPN has been down. Hostname rule : my side (LAN) "b***" over VPN(WAN) "k***" It seems this rule is the point of my problem. == MY TEST RESULT == When VPN connection had been down, Nagios started hostcheck to each host(B***) over the VPN. But in this time, Nagios checked nothing to the hosts(K***) are located in my side(LAN), until finish completely the hostcheck to "B***". It took 28 minutes to re-check the hosts(K***) in my side(LAN) by Nagios, cause there were 40 host over VPN. I noticed it from Nagios log file. My configurations in this time are below (default setting). 40 Host x 10sec (ping timeout) x 4 times (hostcheck) = 1600sec = 26min 30sec =:= nearly 28min(from my log) I tried to test with test configurations. In this case, the time which Nagios checked nothing was 90sec(from log file). 40 Host x 1sec (ping timeout) x 1 times (host check) = 40sec =/= 90sec (from my log) but nearly equal(?) I understand that Nagios decide turn to check by hostname from source code. So, it seems to take much time(like above) to check the host "K***". == My QUESTIONS ARE == 1) Does Nagios1.2 Hostcheck sequence work Serially ? And does Nagios 1.2 stop all check(host/service) during hostcheck to one host ? Is this result fit to its specifications ? OR are there some point I should re-configure, except for hostname :p ? 2) How about Nagis 2.0b1 ? , if above is fit to its specifications. Is anyone already try it ? Thanks for your help. Hal ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 09:57:19 2004 From: moshesharon at gmail.com (Moshe Sharon) Date: Wed, 22 Dec 2004 08:57:19 +0000 (UTC) Subject: could not find status log: /var/log/nagios/status.log References: <41C7E40D.1010205@op5.se> Message-ID: hello im guessing you installed the daemonchk.cgi. from the contrib dir. just remove it and use plugin : check_nagios or check_nagios_db.pl hope this will help 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 stephan.janosch at interface-business.de Wed Dec 22 11:56:08 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Wed, 22 Dec 2004 11:56:08 +0100 Subject: Nagios Issues In-Reply-To: References: Message-ID: <41C952C8.2070701@interface-business.de> Daniel Corbe wrote: > Hey, > > Nagios is telling me this: > > It appears as though Nagios is not running, so commands are > temporarily unavailable... > Click here to view Nagios process information > > Even though nagios is indeed running on my box. > > [root at monitor1 root]# ps -awwx | grep nagios > 3900 ? S 0:34 /usr/local/nagios/bin/nagios -d > /usr/local/nagios/etc/nagios.cfg > 3581 pts/0 S 0:00 grep nagios > [root at monitor1 root]# > > Could anyone kindly hit me with a clue bat so I know which direction I > need to look to fix this? > > -Daniel nagios starts with errors in config-files. But it will not run. Stop it and try nagios -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 sjoy at peavey-eu.com Wed Dec 22 14:30:43 2004 From: sjoy at peavey-eu.com (Stephen Joy) Date: Wed, 22 Dec 2004 13:30:43 +0000 Subject: Nagios host checking Message-ID: Hi Nagios Users, I am having a problem checking wether or not my hosts are up or not. nagios just does not seem to be sceduling the checks on them as i would expect. I have many hosts that do not have any services attached to them and i want to know wether they are up or not. At the moment the only hosts i have status on are the ones with services attached to them. On the tactical overview screen under hosts i see 0 down, 0 unreachable, 2 up, 40 pending. It always stays at 40 pending the 2 that are up are the ones with the services attached. I would be most gratful if anyone has any ideas as to what i need to do to get my hosts checked Thanks Stephen ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 16:19:58 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Wed, 22 Dec 2004 16:19:58 +0100 Subject: Nagios host checking In-Reply-To: References: Message-ID: <41C9909E.5000707@interface-business.de> Stephen Joy wrote: > Hi Nagios Users, > > I am having a problem checking wether or not my hosts are up or not. nagios just does not seem to be sceduling the checks on them as i would expect. > > I have many hosts that do not have any services attached to them and i want to know wether they are up or not. > > At the moment the only hosts i have status on are the ones with services attached to them. > > On the tactical overview screen under hosts i see 0 down, 0 unreachable, 2 up, 40 pending. > > It always stays at 40 pending the 2 that are up are the ones with the services attached. > > I would be most gratful if anyone has any ideas as to what i need to do to get my hosts checked > > Thanks > > Stephen Nagios needs at least one service, to check a host. the check_host_command is only for determining host status, when the service fails. My proposal: make yourself a check_ping command which calls the check_ping plugin. Add all your hosts to this service and there you go. Here one usefull hint: Read the "Time Saving Tricks" Sections of the manual. This could save you a lot of 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 quanah at stanford.edu Wed Dec 22 16:16:40 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 22 Dec 2004 07:16:40 -0800 Subject: Nagios host checking In-Reply-To: References: Message-ID: --On Wednesday, December 22, 2004 1:30 PM +0000 Stephen Joy wrote: > Hi Nagios Users, > > I am having a problem checking wether or not my hosts are up or not. > nagios just does not seem to be sceduling the checks on them as i would > expect. > > I have many hosts that do not have any services attached to them and i > want to know wether they are up or not. > > At the moment the only hosts i have status on are the ones with services > attached to them. > > On the tactical overview screen under hosts i see 0 down, 0 unreachable, > 2 up, 40 pending. > > It always stays at 40 pending the 2 that are up are the ones with the > services attached. > > I would be most gratful if anyone has any ideas as to what i need to do > to get my hosts checked Yyou have to have a service associated with a host before nagios will check the host. So you need to devise some sort of service check. I usually use a ping service check in this type of scenario. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html "These censorship operations against schools and libraries are stronger than ever in the present religio-political climate. They often focus on fantasy and sf books, which foster that deadly enemy to bigotry and blind faith, the imagination." -- Ursula K. Le Guin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sguo at eyedletime.com Wed Dec 22 17:59:52 2004 From: sguo at eyedletime.com (shelley) Date: Wed, 22 Dec 2004 16:59:52 +0000 (UTC) Subject: web interface problem Message-ID: Hi all, I am running Nagios 1.0 now. I can config nagios from command line and the system is running well. But I found that the web still showed the old configuration. For example, I added some hosts through command line, but the web page still showed the old configuration. I already restart the httpd service after I configed the hosts. Could anyone help me? Thanks a lot! Shelly ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 18:14:02 2004 From: marc at ena.com (Marc Powell) Date: Wed, 22 Dec 2004 11:14:02 -0600 Subject: web interface problem Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835AE1@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of shelley > Sent: Wednesday, December 22, 2004 11:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] web interface problem > > Hi all, > > I am running Nagios 1.0 now. I can config nagios from command line and the > system is running well. But I found that the web still showed the old > configuration. For example, I added some hosts through command line, but > the > web page still showed the old configuration. I already restart the httpd > service after I configed the hosts. Could anyone help me? Thanks a lot! You don't need to restart httpd after making configuration changes to nagios but you DO need to restart or reload the nagios daemon for it to recognize the changes. Could you possibly have multiple nagios processes running? Stop the daemon, use ps to see if there are any that remain and kill them if there are and then restart the daemon. In the 1.x train, the CGI's read the config files in real time so any changes you made should have been visible to the CGI's immediately (but not the daemon; they're independent components). Since you don't say what specific details aren't changing it's difficult to speculate what the problem really is. If the suggestion above doesn't provide relief, please give us more details on what changes you made exactly, what isn't showing in the CGI's and any appropriate config snippets as well. -- 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 sguo at eyedletime.com Wed Dec 22 18:34:14 2004 From: sguo at eyedletime.com (shelley) Date: Wed, 22 Dec 2004 17:34:14 +0000 (UTC) Subject: web interface problem References: <349555FA607F3A4CBDA9326035D1A7FC835AE1@mismail.ena.com> Message-ID: > Thanks Marc, There is only one process on it. Here is my result: [root at project /]# /etc/rc.d/init.d/nagios stop Stopping network monitor: nagios [root at project /]# ps axu | grep nagios root 16264 0.0 0.1 1736 592 pts/0 S 12:22 0:00 grep nagios I only set the following command in cgi.cfg: main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path=/nagios 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 EmmettH at Examen.com Wed Dec 22 19:31:59 2004 From: EmmettH at Examen.com (Emmett Hogan) Date: Wed, 22 Dec 2004 10:31:59 -0800 Subject: Nagios + Logsurfer or Swatch? Message-ID: <41C9BD9F.3010307@Examen.com> Hi Folks, I need to be able to scan log files looking for several different strings, and sometimes the number of times a string appears is important. Often times, this is on a rather large log file, so the existing "check_log" script would tend to load the machine quite a bit since it can only handle one string at a time, plus it really cannot handle the "alarm if this_string occurs more than 10 times in 10 minutes" in the log. I was just wondering if anyone had written a more robust check_log extension, or possibly come up with some logsurfer or swatch integration checks. ...or is it time to "roll my own"? :-) Thanks! -Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 259 bytes Desc: not available URL: From marc at ena.com Wed Dec 22 20:32:06 2004 From: marc at ena.com (Marc Powell) Date: Wed, 22 Dec 2004 13:32:06 -0600 Subject: web interface problem Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835AE9@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of shelley > Sent: Wednesday, December 22, 2004 11:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: web interface problem > > > > Thanks Marc, > > There is only one process on it. Here is my result: > > [root at project /]# /etc/rc.d/init.d/nagios stop > Stopping network monitor: nagios > [root at project /]# ps axu | grep nagios > root 16264 0.0 0.1 1736 592 pts/0 S 12:22 0:00 grep nagios > > I only set the following command in cgi.cfg: > main_config_file=/usr/local/nagios/etc/nagios.cfg > physical_html_path=/usr/local/nagios/share > url_html_path=/nagios I still don't understand what you were expecting to be updated and how these settings relate to your original email. Can you explain further? -- Marc p.s. When replying, include the context that you are responding to so that someone (including me) doesn't have to read the entire email chain to understand what's being talked about. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 22:11:24 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 22 Dec 2004 13:11:24 -0800 Subject: Nagios + Logsurfer or Swatch? In-Reply-To: <41C9BD9F.3010307@Examen.com> References: <41C9BD9F.3010307@Examen.com> Message-ID: <20041222211123.GH1816@zippy.toger.us> On Wed, Dec 22, 2004 at 10:31:59AM -0800, Emmett Hogan wrote: > I was just wondering if anyone had written a more robust check_log > extension, or possibly come up with some logsurfer or swatch integration > checks. check_log2 in contrib is more efficient. I used SEC (Simple Event Correlator) + integration with send_nsca. -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 jshakespeare at guardiandigital.com Wed Dec 22 22:50:53 2004 From: jshakespeare at guardiandigital.com (Joseph Shakespeare) Date: Wed, 22 Dec 2004 16:50:53 -0500 Subject: Nagios Scheduling Problem Message-ID: <41C9EC3D.1020703@guardiandigital.com> Has anyone had problems with nagios' scheduling queue? I have about 300 service checks, and for some reason, nagios queues them, and only about 150 of them run. The others get stuck in the queue and never run. I had service checks that hadn't run in 2 weeks while the others ran at the 3 minute interval that they were supposed to run at. Any insite would be greatly appreciated. Thank you, Joe ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 22:54:02 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 22 Dec 2004 13:54:02 -0800 Subject: Nagios Scheduling Problem In-Reply-To: <41C9EC3D.1020703@guardiandigital.com> References: <41C9EC3D.1020703@guardiandigital.com> Message-ID: <20041222215402.GJ1816@zippy.toger.us> On Wed, Dec 22, 2004 at 04:50:53PM -0500, Joseph Shakespeare wrote: > Has anyone had problems with nagios' scheduling queue? > > I have about 300 service checks, and for some reason, nagios queues > them, and only about 150 of them run. The others get stuck in the queue > and never run. > > I had service checks that hadn't run in 2 weeks while the others ran at > the 3 minute interval that they were supposed to run at. What version of Nagios? I had an issue where it looked like the update to the DB was taking as long as the update-interval, so I think Nagios didn't have time to do anything else. I also found that parallel checks was set to 0 which hurt performance as well. Turning on check parallization and setting the status update interval to 90 seconds seemed to help. This is with Nagios 1.1. -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 noyler at khimetrics.com Wed Dec 22 23:00:54 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Wed, 22 Dec 2004 15:00:54 -0700 Subject: Nagios Scheduling Problem Message-ID: <59B15593F41BD24591D59436E7226EAD0125931F@Khiphx2.khimetrics.com> I had what looked to be that problem, and instead multiple processes were running, and the one that was not updated was the one that was being shown. -Nathan > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joseph Shakespeare > Sent: Wednesday, December 22, 2004 2:51 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Scheduling Problem > > Has anyone had problems with nagios' scheduling queue? > > I have about 300 service checks, and for some reason, nagios queues > them, and only about 150 of them run. The others get stuck in the queue > and never run. > > I had service checks that hadn't run in 2 weeks while the others ran at > the 3 minute interval that they were supposed to run at. > > Any insite would be greatly appreciated. > > Thank you, > > Joe > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shawn at nccsc.k12.in.us Thu Dec 23 01:30:02 2004 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Wed, 22 Dec 2004 19:30:02 -0500 Subject: Apache 2.0.52 mod_ssl MSIE statuswrl.cgi not loading Message-ID: <7ADE11986184154083869D43D0B06D447B7C8E@exchange.nccsc.k12.in.us> Unfortunately, that will not work for me. I need port 80 open on this server. Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us >-----Original Message----- >From: Andreas Ericsson [mailto:ae at op5.se] >Sent: Wednesday, December 22, 2004 2:42 AM >To: Shawn Iverson >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Apache 2.0.52 mod_ssl MSIE >statuswrl.cgi not loading > > >Shawn Iverson wrote: >> Okay, my earlier attempt at matching anything but >statuswrl.cgi with a >> regular expression is incorrect (I am able to hit other cgi's with >> http://). I welcome anyone who has a better grasp of regular >> expressions to correct me on this. >> > >Why not just turn off port 80? Look for the "listen" and "port" >directives in httpd.conf. > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Dec 23 02:12:24 2004 From: bench at silentmedia.com (Ben) Date: Wed, 22 Dec 2004 17:12:24 -0800 (PST) Subject: nagios 2 + DB support, coming soon to a SF mirror near you Message-ID: For the last little while, I've been working on bringing database support back to nagios 2, with the goal of making the Nagios UI useable in large environments. I think I'm done, at least with all the features I plan to use.... that is, until somebody points out a bug or asks for a feature I would like to use. Anyway, in the hope somebody else finds my code useful, either to run, as an example NEB, or even better, wants to expand upon it or make my replacement UI look good, I've set up a sourceforge project: https://sourceforge.net/projects/nagios-db/ Frankly, I'm not going to be spending time adding features I won't be using - I'm too busy. But you're more than welcome to join the project and add them yourself. :) I tried to structure things to be open to improvements, and of course I'll offer what little help I can. So.... if the idea of being able to pull up an overview page for 10k services in about 2 seconds sounds appealing to you, enjoy this code. :) (For those who got my last snapshot from my nagios-devel posting, this adds historical availability reporting, cleans up the PHP pages, and hides services and hosts that are no longer configured from the UI.) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RRajendran00 at aol.com Thu Dec 23 05:23:40 2004 From: RRajendran00 at aol.com (RRajendran00 at aol.com) Date: Wed, 22 Dec 2004 23:23:40 EST Subject: Doubt regarding web configuration in nagios Message-ID: <157.46a41a52.2efba24c@aol.com> Hello, I have installed nagios from my login and not from the root.I need to set up the Web interface. Where can i make changes in httpd.conf file so that i can enable web interface.Can u give me a detailed clarification on this issue. Thanks , Radha Bharathi. -------------- next part -------------- An HTML attachment was scrubbed... URL: From L.Leung at enspire.com.au Thu Dec 23 05:25:29 2004 From: L.Leung at enspire.com.au (Lydia Leung) Date: Thu, 23 Dec 2004 15:25:29 +1100 Subject: Check_smtp Message-ID: <36CFEC552CCBE44E894C85A79F633B844A8452@itumailsrv.enspire.local> Hi, I am using Check_smtp to check mail service. Anyone knows how check_smtp works? When I use the internal IP address, I get 0 sec response, which returns a critical warning in the web. ./check_smtp -H 192.168.250.10 -t 4 SMTP OK - 0 second response time Socket timeout after 4 seconds But when I use external IP address, it is ok. ./check_smtp -H 202.61.212.25 -v SMTP OK - 0 sec. response time, 220 itumailsrv.itu.local Microsoft ESMTP MAIL Service, Version: 6.0.3790.0 ready at Thu, 23 Dec 2004 15:03:51 +1100 I dont know what is socket timeout means? If I use telnet 192.168.250.10 25, I can see the smtp service is ready. And I can ping 192.168.250.10 without problem. Can anybody explaain it to me? Thanks a lot, Lydia -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at mm.quex.org Thu Dec 23 06:26:21 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Thu, 23 Dec 2004 13:26:21 +0800 Subject: Check_smtp In-Reply-To: <36CFEC552CCBE44E894C85A79F633B844A8452@itumailsrv.enspire.local> References: <36CFEC552CCBE44E894C85A79F633B844A8452@itumailsrv.enspire.local> Message-ID: <20041223052621.GA5025@quex.org> On Thu, Dec 23, 2004 at 03:25:29PM +1100, Lydia Leung wrote: > > I am using Check_smtp to check mail service. > > Anyone knows how check_smtp works? > > When I use the internal IP address, I get 0 sec response, which returns > a critical warning in the web. > ./check_smtp -H 192.168.250.10 -t 4 > SMTP OK - 0 second response time > Socket timeout after 4 seconds > > If I use telnet 192.168.250.10 25, I can see the smtp service is ready. > And I can ping 192.168.250.10 without problem. I don't know how the plugin works, but the output looks like it's self-contradictory - it's okay and then it prints that it has timed out?! The only thing I can think is that it's connecting immediately, and then not getting the greeting from the server within the timeout period. Either the server's real busy, or it's trying to do a lookup of the connected IP address (probably 192.168.250.10), and it takes a long time for it to decide it can't find a hostname for it. I tested this with netcat and if gets a connection but no welcome banner, it will print the "Socket timeout after 4 seconds" message, but it shouldn't print the "SMTP OK" before it. When you telnet to the internal address, does it respond with the SMTP banner immediately? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From L.Leung at enspire.com.au Thu Dec 23 07:02:11 2004 From: L.Leung at enspire.com.au (Lydia Leung) Date: Thu, 23 Dec 2004 17:02:11 +1100 Subject: Check_smtp Message-ID: <36CFEC552CCBE44E894C85A79F633B844A845B@itumailsrv.enspire.local> Thanks for the reply. I do get the banner immediately using telnet. I did think it might be the revise IP look up. But when I dig that IP from Nagios box, I did get the right host name. Is there any way to change the plug-in? Cheers... -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios at mm.quex.org Sent: Thursday, 23 December 2004 4:26 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_smtp On Thu, Dec 23, 2004 at 03:25:29PM +1100, Lydia Leung wrote: > > I am using Check_smtp to check mail service. > > Anyone knows how check_smtp works? > > When I use the internal IP address, I get 0 sec response, which > returns a critical warning in the web. > ./check_smtp -H 192.168.250.10 -t 4 > SMTP OK - 0 second response time > Socket timeout after 4 seconds > > If I use telnet 192.168.250.10 25, I can see the smtp service is ready. > And I can ping 192.168.250.10 without problem. I don't know how the plugin works, but the output looks like it's self-contradictory - it's okay and then it prints that it has timed out?! The only thing I can think is that it's connecting immediately, and then not getting the greeting from the server within the timeout period. Either the server's real busy, or it's trying to do a lookup of the connected IP address (probably 192.168.250.10), and it takes a long time for it to decide it can't find a hostname for it. I tested this with netcat and if gets a connection but no welcome banner, it will print the "Socket timeout after 4 seconds" message, but it shouldn't print the "SMTP OK" before it. When you telnet to the internal address, does it respond with the SMTP banner immediately? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 VKumarasamy00 at aol.com Thu Dec 23 11:24:52 2004 From: VKumarasamy00 at aol.com (VKumarasamy00 at aol.com) Date: Thu, 23 Dec 2004 05:24:52 EST Subject: MySQL database support Message-ID: <62.4af13585.2efbf6f4@aol.com> Hi, I have a problem in incorporating the MySQL support for Nagios. I have completed all the settings and recompiled with --with-mysql-xdata. And a plugin script called 'check_ping' is made to run.But there are no entries made in any of the tables in nagios database.Can avybody help me giving some detailed things. Thank you. Vasanth.K -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephan.janosch at interface-business.de Thu Dec 23 13:36:03 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 23 Dec 2004 13:36:03 +0100 Subject: Nagios + Logsurfer or Swatch? In-Reply-To: <20041222211123.GH1816@zippy.toger.us> References: <41C9BD9F.3010307@Examen.com> <20041222211123.GH1816@zippy.toger.us> Message-ID: <41CABBB3.9020404@interface-business.de> Jason Martin wrote: > On Wed, Dec 22, 2004 at 10:31:59AM -0800, Emmett Hogan wrote: > >>I was just wondering if anyone had written a more robust check_log >>extension, or possibly come up with some logsurfer or swatch integration >>checks. > > check_log2 in contrib is more efficient. I used SEC (Simple > Event Correlator) + integration with send_nsca. > > -Jason Martin I'm using check_log2. It's quite useful. :-) I also delcared the connected service as a volatile service, because I understood the meaning of "volatile" perfectly sweeted for check_log2. Happy Christmas! 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 ae at op5.se Thu Dec 23 14:16:43 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 23 Dec 2004 14:16:43 +0100 Subject: Doubt regarding web configuration in nagios In-Reply-To: <157.46a41a52.2efba24c@aol.com> References: <157.46a41a52.2efba24c@aol.com> Message-ID: <41CAC53B.5000701@op5.se> RRajendran00 at aol.com wrote: > Hello, > I have installed nagios from my login and not from the root.I need > to set up the Web interface. Where can i make changes in httpd.conf file so > that i can enable web interface.Can u give me a detailed clarification on this > issue. > Read the documentation. It's all in there. > Thanks , > Radha Bharathi. > -- 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 Nagios at danielf.ch Thu Dec 23 14:27:10 2004 From: Nagios at danielf.ch (Nagios) Date: Thu, 23 Dec 2004 14:27:10 +0100 Subject: check_nt Message-ID: Hi NG I would like to monitor check the average delivered Mails from our Exchange. So I use the command: /usr/local/libexec/nagios/check_nt -H xxx.xxx.xxx.xxx -v COUNTER -l "\\MSExchangeIS Mailbox\\Messages Delivered/min" But I get always 0 back. Even if the performance counter on the Windows machine shows 10 or more. What is wrong on my query? Best regards, Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephan.janosch at interface-business.de Thu Dec 23 15:31:26 2004 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 23 Dec 2004 15:31:26 +0100 Subject: check_nt In-Reply-To: References: Message-ID: <41CAD6BE.50602@interface-business.de> Nagios wrote: > Hi NG > > > > I would like to monitor check the average delivered Mails from our Exchange. > > So I use the command: > > > > /usr/local/libexec/nagios/check_nt -H xxx.xxx.xxx.xxx -v COUNTER -l > "\\MSExchangeIS Mailbox\\Messages Delivered/min" > > > > But I get always 0 back. Even if the performance counter on the Windows > machine shows 10 or more. > > > > What is wrong on my query? > > > > Best regards, > > > > Daniel > Try to avoid any errors in the Counter Description. Every space-char is important. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 17:15:39 2004 From: marc at ena.com (Marc Powell) Date: Thu, 23 Dec 2004 10:15:39 -0600 Subject: Check_smtp Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835B04@mismail.ena.com> What version of the plugins are you using? This is an old problem with exchange that was fixed about this time last year if I remember correctly. It had something to do with the plugin sending \r\n and exchange expecting \r\r but I don't remember the specific details at the moment. You can search the archives if you're interested. Are you experiencing this with the latest plugins? -- Marc ________________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Lydia Leung Sent: Wednesday, December 22, 2004 10:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_smtp Importance: High Hi, ? I am using Check_smtp to check mail service. ? Anyone knows how check_smtp works? ? When I use the internal IP address, I get 0 sec response, which returns a critical warning in the web. ./check_smtp -H 192.168.250.10 -t 4 SMTP OK - 0 second response time Socket timeout after 4 seconds ? But when I use external IP address, it is ok. ./check_smtp -H 202.61.212.25 -v SMTP OK - 0 sec. response time, 220 itumailsrv.itu.local Microsoft ESMTP MAIL Service, Version: 6.0.3790.0 ready at? Thu, 23 Dec 2004 15:03:51 +1100 ? I dont know what is socket timeout means? ? If I use telnet 192.168.250.10 25, I can see the smtp service is ready. And I can ping 192.168.250.10 without problem. ? Can anybody explaain it to 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 jim.mozley at exponential-e.com Thu Dec 23 17:21:15 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Thu, 23 Dec 2004 16:21:15 +0000 Subject: Nagios + Logsurfer or Swatch? In-Reply-To: <41C9BD9F.3010307@Examen.com> References: <41C9BD9F.3010307@Examen.com> Message-ID: <41CAF07B.507@exponential-e.com> Emmett Hogan wrote: > Hi Folks, > > I need to be able to scan log files looking for several different > strings, and sometimes the number of times a string appears is > important. Often times, this is on a rather large log file, so the > existing "check_log" script would tend to load the machine quite a bit > since it can only handle one string at a time, plus it really cannot > handle the "alarm if this_string occurs more than 10 times in 10 > minutes" in the log. > > I was just wondering if anyone had written a more robust check_log > extension, or possibly come up with some logsurfer or swatch integration > checks. > > ...or is it time to "roll my own"? :-) Below is something I put on this list previously. At someone else's suggestion I submitted this as a FAQ, but I don't think it ever made it to the web site. Using SEC seems a better bet than swatch (although this si what I talk about below). Please look thorough the archives for "SEC" in the subject, esepcially useful are submissions by Stanley Hopcroft. Jim Mozley ____________________________________________________________ Better late than never I hope. The following is a setup for using syslog-ng, swatch and a script to pass passive events into Nagios. This is based on getting syslog messages from a set of network devices, although the same principle would apply to hosts. I've tried to make the example fairly generic, for instance we generate the nagios config for this automatically from device configurations, so please don't copy/paste this without understanding what's going on. 1. Define services in Nagios. For instance if you want to monitor MPLS messages for each network device define an MPLS service as below. #Service definition template define service{ name mpls-service-template active_checks_enabled no passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 check_freshness 0 freshness_threshold 28800 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 is_volatile 1 check_period none max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups network-admins notification_interval 120 notification_period 24x7 notification_options w,c,r } define service{ use mpls-service-template ; template host_name host1 service_description mpls check_command "" } 2. Configure syslog-ng. Once you have got your config file ready you will need to disable the native syslog daemon and start syslog-ng. syslog-ng config; this is for Solaris the source may need to change for linux/BSD: options { keep_hostname(off); long_hostnames(off); sync(1); log_fifo_size(2048); bad_hostname("%"); }; source all { sun-stream("/dev/log" door("/etc/.syslog_door")); internal(); udp(); }; # Put each day's log in a separate file within a directory for # each host. destination d_hosts { file("/var/log/hosts/$HOST/$HOST-$YEAR$MONTH$DAY" owner(root) group(syslog) perm(0660) dir_perm(0750) create_dirs(yes)); }; # To send messages to swatch destination d_swatch { program("/usr/local/bin/swatch --config-file=/etc/swatchrc --read-pipe=\ "cat /dev/fd/0\""); }; # log all messages in a directory per host log { source(all); destination(d_hosts); }; # send all logs to swatch log { source(all); destination(d_swatch); }; 3. Install and configure swatch. Sample line from swatchrc watchfor /pattern-i-want-to-match/ exec /path/to/my/script.pl $* So for instance if you are looking out for MPLS messages and your devices include "MPLS" in these syslog message match the pattern /MPLS/ 4. Create the script This should build a passive command based on the contents of the syslog message. For instance it might contain element such as: if ( $syslogmsg =~ /down/ ) { $nagios_code = 2; # Critical } You will need to extract the hostname from the syslog message (and possibly the service unless this is hardcoded - it is in this example). In the end you want to build a message such as: my $cmd = "[$epoch] PROCESS_SERVICE_CHECK_RESULT;$host;$service;$nagios_code;$msg"; And fire it into nagios: my $echo = '/usr/bin/echo'; my $pipe = '/usr/local/nagios/var/rw/nagios.cmd'; system "$echo \"$cmd\" >> $pipe"; (As an aside I tried the perl way of doing this rather than a system command and had a problem on Solaris I couldn't resolve.) I would recommend you take a look at Al Toby's module on CPAN for passing commands to Nagios. There are also some shell script examples of passing Nagios commands supplied with the distribution. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kerryjcox at gmail.com Thu Dec 23 21:50:11 2004 From: kerryjcox at gmail.com (Kerry Cox) Date: Thu, 23 Dec 2004 13:50:11 -0700 Subject: simple NRPE question Message-ID: It's been awhile since I last used nrpe so it took me some time to get back up to speed. I have it installed and running and checking stats on a remote box. Here is the feedback I am getting: Running on box 10.52.38.242: linux:/usr/local/nagios/libexec # ./check_nrpe -H 10.52.38.229 -c check_disk1 DISK OK [452754 kB (96%) free on /dev/hda1] linux:/usr/local/nagios/libexec # ./check_nrpe -H 10.52.38.229 -c check_disk2 DISK OK [10149224 kB (51%) free on /dev/hda2] linux:/usr/local/nagios/libexec # ./check_nrpe -H 10.52.38.229 -c check_disk3 DISK OK [6936164 kB (35%) free on /dev/hda3] linux:/usr/local/nagios/libexec # ./check_nrpe -H 10.52.38.229 -c check_disk4 DISK OK [10149224 kB (51%) free on /dev/hda2] linux:/usr/local/nagios/libexec # ./check_nrpe -H 10.52.38.229 -c check_disk5 DISK OK [3913416 kB (39%) free on /dev/hda5] My question is: how do I now get this information to show up on the master Nagios box or 10.52.38.242? I am able to see the data from the local checks on .242, but the remote check results coming from .229 are not appearing yet, i.e. disk space, users, processes, etc.? Is there something else I have to add to the *.cfg files on the master Nagios machine? I'd like to make a detailed HowTo for configuring NRPE sometime soon since it seems like this is a frequently visited topic on the Nagios mailing list. Just have to get my own configuration working correctly. Thanks much. KJ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From williamw at xeye.com Thu Dec 23 22:11:09 2004 From: williamw at xeye.com (William Wang) Date: Thu, 23 Dec 2004 16:11:09 -0500 Subject: nagios-plugins-1.4.0-alpha3 problem on Solaris 8 box Message-ID: Hi Guys, I donwloaded nagios-plugins-1.4.0-alpha3 and tried to install it. The following are the errors I got when I "make" it. ------------- Undefined first referenced symbol in file gethostbyname check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) h_errno check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) gethostbyaddr check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) inet_addr check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) inet_ntoa check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) ld: fatal: Symbol referencing errors. No output written to check_icmp collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `check_icmp' Current working directory /export/home/nagios/nagios-plugins-1.4.0-alpha3/plugins *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/nagios/nagios-plugins-1.4.0-alpha3 *** Error code 1 make: Fatal error: Command failed for target `all' ------------- Does anyone can shed me a light? Releated infos: Platform: Solaris 8 Nagios Version: 2.0 Plugin version 1.4.0-alpha3 Thanks, William ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kerryjcox at gmail.com Thu Dec 23 22:32:34 2004 From: kerryjcox at gmail.com (Kerry Cox) Date: Thu, 23 Dec 2004 14:32:34 -0700 Subject: simple NRPE question In-Reply-To: <41CB35B8.4050109@iconz.net> References: <41CB35B8.4050109@iconz.net> Message-ID: Yep, I figured it out only a few minutes after I sent off the email. Discovered the proper syntax in the service.cfg file. It was the check_command portion that had me fouled up since there are no good examples, i.e.: check_nrpe!check_total_procs check_nrpe!check_load check_nrpe!check_disk5 I was placing the entire command string in place of the variable. It's all so simple now and is working fine. KJ On Fri, 24 Dec 2004 10:16:40 +1300, Jan Scholten wrote: > Read the Documentation and Help files. > > You need: NRPE Daemon installed and configured on the remote machine, > check_nrpe on the server > a host entry for the remote machine (hosts.cfg on the master). > service entries (services.cfg) and checkcommand (checkcommands.cfg) on the master server. > > normally it should be fine, if you start with services.cfg: > { > ... > host_name host1 > service_description Disk 1 > check_command check_nrpe!check_disk1 > ... > } > > that should be all. (it seems as if nrpe is configured, as you get output.) > > Jan > > > It's been awhile since I last used nrpe so it took me some time to get > > back up to speed. > > I have it installed and running and checking stats on a remote box. > > Here is the feedback I am getting: > > > > Running on box 10.52.38.242: > > > > linux:/usr/local/nagios/libexec # ./check_nrpe -H 10.52.38.229 -c check_disk1 > > DISK OK [452754 kB (96%) free on /dev/hda1] > > linux:/usr/local/nagios/libexec # ./check_nrpe -H 10.52.38.229 -c check_disk2 > > DISK OK [10149224 kB (51%) free on /dev/hda2] > > linux:/usr/local/nagios/libexec # ./check_nrpe -H 10.52.38.229 -c check_disk3 > > DISK OK [6936164 kB (35%) free on /dev/hda3] > > linux:/usr/local/nagios/libexec # ./check_nrpe -H 10.52.38.229 -c check_disk4 > > DISK OK [10149224 kB (51%) free on /dev/hda2] > > linux:/usr/local/nagios/libexec # ./check_nrpe -H 10.52.38.229 -c check_disk5 > > DISK OK [3913416 kB (39%) free on /dev/hda5] > > > > My question is: how do I now get this information to show up on the > > master Nagios box or 10.52.38.242? > > > > I am able to see the data from the local checks on .242, but the > > remote check results coming from .229 are not appearing yet, i.e. disk > > space, users, processes, etc.? > > Is there something else I have to add to the *.cfg files on the master > > Nagios machine? > > > > I'd like to make a detailed HowTo for configuring NRPE sometime soon > > since it seems like this is a frequently visited topic on the Nagios > > mailing list. Just have to get my own configuration working correctly. > > Thanks much. > > KJ > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 benoit.mortier at opensides.be Thu Dec 23 23:05:25 2004 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Thu, 23 Dec 2004 23:05:25 +0100 Subject: nagios-plugins-1.4.0-alpha3 problem on Solaris 8 box In-Reply-To: References: Message-ID: <200412232305.27032.benoit.mortier@opensides.be> Le jeudi 23 D?cembre 2004 22:11, William Wang a ?crit?: > Hi Guys, > > I donwloaded nagios-plugins-1.4.0-alpha3 and tried to install it. The > following are the errors I got when I "make" it. Yes i'am trying to address that now in cvs, but you should use the Nagiosplug-devel at lists.sourceforge.net mailing list for that.. bye -- 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 luc at suryo.com Thu Dec 23 23:30:10 2004 From: luc at suryo.com (Luc I. Suryo) Date: Thu, 23 Dec 2004 15:30:10 -0700 Subject: nagios-plugins-1.4.0-alpha3 problem on Solaris 8 box In-Reply-To: References: Message-ID: <20041223223010.GA28502@voyager.suryo.com> > > I donwloaded nagios-plugins-1.4.0-alpha3 and tried to install it. The following are the errors I got when I "make" it. > > ------------- > Undefined first referenced > symbol in file > gethostbyname check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) > h_errno check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) > gethostbyaddr check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) > inet_addr check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) > inet_ntoa check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) > ld: fatal: Symbol referencing errors. No output written to check_icmp > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `check_icmp' > Current working directory /export/home/nagios/nagios-plugins-1.4.0-alpha3/plugins > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /export/home/nagios/nagios-plugins-1.4.0-alpha3 > *** Error code 1 > make: Fatal error: Command failed for target `all' > ------------- > it's missing the network libs.. -lnsl -lsocket -ls ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From williamw at xeye.com Fri Dec 24 00:01:10 2004 From: williamw at xeye.com (William Wang) Date: Thu, 23 Dec 2004 18:01:10 -0500 Subject: nagios-plugins-1.4.0-alpha3 problem on Solaris 8 box Message-ID: thanks a lot, Luc I. Suryo where I can get it? BTW, I have another issue when I try to "make all" nagios2.0b1 on a Solaris 8 box Here is my command: ----- ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-command-grp=www make all ------- error: ---- 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 lo gging.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 setenv utils.o unsetenv 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 /export/home/nagios/nagios-2.0b1/base *** Error code 1 make: Fatal error: Command failed for target `all' --------- Someone from the mail list said I can comment out "setenv and unsetenv in utils.c I did that and got the following error when I try to "make inatll-confire error -------- [335]:root at xeyenis01:/export/home/nagios/nagios-2.0b1->make install-config ./install-sh -c -m 775 -o nagios -g nagios -d /usr/local/nagios/etc ./install-sh -c -m 664 -o nagios -g nagios sample-config/nagios.cfg /usr/local/nagios/etc/nagios.cfg-sample ./install-sh -c -m 664 -o nagios -g nagios sample-config/cgi.cfg /usr/local/nagios/etc/cgi.cfg-sample ./install-sh -c -m 660 -o nagios -g nagios sample-config/resource.cfg /usr/local/nagios/etc/resource.cfg-sample ./install-sh -c -m 664 -o nagios -g nagios sample-config/template-object/checkcommands.cfg /usr/local/nagios/etc/checkcommand s.cfg-sample ./install-sh -c -m 664 -o nagios -g nagios sample-config/template-object/contactgroups.cfg /usr/local/nagios/etc/contactgroup s.cfg-sample install: sample-config/template-object/contactgroups.cfg does not exist *** Error code 1 make: Fatal error: Command failed for target `install-config' ------- Can someone give me a hand? Thanks, William -----Original Message----- From: Luc I. Suryo [mailto:luc at suryo.com] Sent: December 23, 2004 5:30 PM To: William Wang Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios-plugins-1.4.0-alpha3 problem on Solaris 8 box > > I donwloaded nagios-plugins-1.4.0-alpha3 and tried to install it. The following are the errors I got when I "make" it. > > ------------- > Undefined first referenced > symbol in file > gethostbyname check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) > h_errno check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) > gethostbyaddr check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) > inet_addr check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) > inet_ntoa check_icmp.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) > ld: fatal: Symbol referencing errors. No output written to check_icmp > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `check_icmp' > Current working directory /export/home/nagios/nagios-plugins-1.4.0-alpha3/plugins > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /export/home/nagios/nagios-plugins-1.4.0-alpha3 > *** Error code 1 > make: Fatal error: Command failed for target `all' > ------------- > it's missing the network libs.. -lnsl -lsocket -ls ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aweiss at nz1.ibm.com Fri Dec 24 06:12:18 2004 From: aweiss at nz1.ibm.com (Alex Weiss) Date: Fri, 24 Dec 2004 18:12:18 +1300 Subject: Alex Weiss is out of the office. Message-ID: I will be out of the office starting 24/12/2004 and will not return until 17/01/2005. I will be back on Jan 17. Anything urgent please contact Glen Sinclair. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.touche at lycos.com Sun Dec 26 09:04:50 2004 From: julien.touche at lycos.com (Julien TOUCHE) Date: Sun, 26 Dec 2004 09:04:50 +0100 Subject: nagios 2.0b1 + openbsd/macosx Message-ID: <41CE70A2.9050103@lycos.com> i want to report success in compiling nagios 2.0b1 on openbsd 3.6 and macosx 10.3.7 (run not tested; patch to have it work in chrooted apache need work) one bug, platform independent, configure option "--program-suffix" does not work. Regards Julien ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Dec 26 16:49:24 2004 From: zsitfa at axelero.hu (=?iso-8859-2?Q?Horv=E1th_Tam=E1s?=) Date: Sun, 26 Dec 2004 16:49:24 +0100 Subject: nagios-plugins-1.4.0-alpha3 problem on Solaris 8 box Message-ID: <200412261549.iBQFnOFY083365@fe06.axelero.hu> Hi William! I had this problem too. I downloaded check_icmp plugin separately and compile it with the following command: gcc -O2 check_icmp.c -o check_icmp -lnsl -lsocket Now it works. 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 azzouzi50 at yahoo.fr Sun Dec 26 19:45:12 2004 From: azzouzi50 at yahoo.fr (azzouzi abdelltif) Date: Sun, 26 Dec 2004 19:45:12 +0100 (CET) Subject: Nagios_Statut Map_Trend_Alerthistogramm In-Reply-To: <20041225041957.DF67A1D1DF6@sc8-sf-uberspam1.sourceforge.net> References: <20041225041957.DF67A1D1DF6@sc8-sf-uberspam1.sourceforge.net> Message-ID: <20041226184512.82895.qmail@web25803.mail.ukl.yahoo.com> Bonjour , je travaille avec nagios, je l'ai configur? et ?a marche bien.mais certaines fonctionalit?s ne marchent pas et pr?cisemment Statut Map , Trend , Alert histogramme . lorsque je clique sur l'un d'eux le message suivant s'affiche : Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 localhost ven 26 d??c 2003 19:39:20 WET Apache/2.0.40 (Red Hat Linux) je signale que j'ai install? la librairie gd2... svp ,qui a la r?ponse D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail sur http://fr.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 azzouzi50 at yahoo.fr Sun Dec 26 19:51:18 2004 From: azzouzi50 at yahoo.fr (azzouzi abdelltif) Date: Sun, 26 Dec 2004 19:51:18 +0100 (CET) Subject: NAGAT In-Reply-To: <20041225041957.DF67A1D1DF6@sc8-sf-uberspam1.sourceforge.net> References: <20041225041957.DF67A1D1DF6@sc8-sf-uberspam1.sourceforge.net> Message-ID: <20041226185118.55591.qmail@web25809.mail.ukl.yahoo.com> Bonjour , je travaille avec NAGAT ,je l'ai install? et configur? mais il ne fonctionne pas ,par exemple lorsque je veux editer host il affiche le message suivant: Warning: Invalid argument supplied for foreach() in /var/www/html/nagat/hostedit.php on line 100 pour editer l'option service, il affiche le message suivant : Warning: Invalid argument supplied for foreach() in /var/www/html/nagat/serviceedit.php on line 85 D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail sur http://fr.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 marc at ena.com Mon Dec 27 00:36:38 2004 From: marc at ena.com (Marc Powell) Date: Sun, 26 Dec 2004 17:36:38 -0600 Subject: Nagios_Statut Map_Trend_Alerthistogramm Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835B21@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of azzouzi abdelltif > Sent: Sunday, December 26, 2004 12:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios_Statut Map_Trend_Alerthistogramm > > Bonjour , > > je travaille avec nagios, je l'ai configur? et ?a > marche bien.mais certaines fonctionalit?s ne marchent > pas et pr?cisemment Statut Map , Trend , Alert > histogramme . lorsque je clique sur l'un d'eux le > message suivant s'affiche : > > Object not found! > > The requested URL was not found on this server. > The link on the referring page seems to be wrong or > outdated. Please inform the author of that page about > the error. > > If you think this is a server error, please > contact the webmaster > > Error 404 > > localhost > ven 26 d??c 2003 19:39:20 WET > Apache/2.0.40 (Red Hat Linux) > > je signale que j'ai install? la librairie gd2... Use the FAQs Luke. -- http://www.nagios.org/faqs/viewfaq.php?faq_id=55 p.s. This is an English language listserv. You'll get very few responses using any other language. -- 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 adamn at eyemedia.com.au Mon Dec 27 09:19:49 2004 From: adamn at eyemedia.com.au (adamn at eyemedia.com.au) Date: Mon, 27 Dec 2004 19:19:49 +1100 Subject: Problems with nagios.cmd Message-ID: Hi all, Well I have exhausted my google options and thought I best put this to the mailing list. I'm running Fedora Core 3 with Apache/2.0.5 (Default RPM)... It took me a while to get the cgi's working (for those that have had problems I had to do this to get the cgi's working with suexec and Apache 2 on Fedora) chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ After running those commands all the cgi's run fine. I've set-up authorization on the cgi's so I can submit commands via the web, but now I have a problem with the nagios.cmd file. I have used the FAQ's and set all permission's and have tried all sorts of combinations. This is the error I get.. Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing I'm not sure what/where to go from here to get this working. nagios creates/removes the nagios.cmd file as you start and stop nagios. I have set all the permission's on the /usr/local/nagios/var/rw/ as instructed in http://nagios.sourceforge.net/docs/1_0/commandfile.html and restarted apache. Is there any logging/output/debug that I can check/run to try and figure out why the cgi's cannot access /usr/local/nagios/var/rw/nagios.cmd Thanks in advance Regards, Adam Niedzwiedzki c: eye media (aust) pty ltd a: suite 301, 685 burke rd, camberwell, victoria, 3124, au, earth p: +61 (0)3 8080 5850 f: +61 (0)3 8080 5840 m: +61 (0)439 646 941 w: http://www.eyemedia.com.au pgp: http://www.eyemedia.com.au/adamn.asc -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.koch at eurodata.de Mon Dec 27 09:16:18 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Mon, 27 Dec 2004 09:16:18 +0100 Subject: Problems with nagios.cmd In-Reply-To: References: Message-ID: <1104135378.915.9.camel@dresden.eurodata.de> Hi, have you nagios whith mysql install? When you have, check_nagios can not check, if the nagios is running..... Search in google, and you find a check_nagios for mysql. Andreas Am Montag, den 27.12.2004, 19:19 +1100 schrieb adamn at eyemedia.com.au: > > Hi all, > > Well I have exhausted my google options and thought I best put this to > the mailing list. > > I'm running Fedora Core 3 with Apache/2.0.5 (Default RPM)... > > It took me a while to get the cgi's working (for those that have had > problems I had to do this to get the cgi's working with suexec and > Apache 2 on Fedora) > chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ > chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ > After running those commands all the cgi's run fine. > > I've set-up authorization on the cgi's so I can submit commands via > the web, but now I have a problem with the nagios.cmd file. > > I have used the FAQ's and set all permission's and have tried all > sorts of combinations. > This is the error I get.. > > Error: Could not stat() command file > '/usr/local/nagios/var/rw/nagios.cmd'! > The external command file may be missing, Nagios may not be running, > and/or Nagios may not be checking external commands. > An error occurred while attempting to commit your command for > processing > > I'm not sure what/where to go from here to get this working. > nagios creates/removes the nagios.cmd file as you start and stop > nagios. > I have set all the permission's on the /usr/local/nagios/var/rw/ as > instructed in http://nagios.sourceforge.net/docs/1_0/commandfile.html > and restarted apache. > > Is there any logging/output/debug that I can check/run to try and > figure out why the cgi's cannot > access /usr/local/nagios/var/rw/nagios.cmd > > Thanks in advance > > Regards, > Adam Niedzwiedzki > > c: eye media (aust) pty ltd > a: suite 301, 685 burke rd, camberwell, victoria, 3124, au, earth > p: +61 (0)3 8080 5850 > f: +61 (0)3 8080 5840 > m: +61 (0)439 646 941 > w: http://www.eyemedia.com.au > pgp: http://www.eyemedia.com.au/adamn.asc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adamn at eyemedia.com.au Mon Dec 27 09:55:31 2004 From: adamn at eyemedia.com.au (adamn at eyemedia.com.au) Date: Mon, 27 Dec 2004 19:55:31 +1100 Subject: Problems with nagios.cmd In-Reply-To: <1104135378.915.9.camel@dresden.eurodata.de> References: <1104135378.915.9.camel@dresden.eurodata.de> Message-ID: Hope just straight outta the box nagios, no database stuff. I'm sure it has to be a permission thing, but I have no idea how to either get debugging information from nagios or from apache to be able to nail why/where the cgi can't access the nagios.cmd file. Regards, Adam Niedzwiedzki c: eye media (aust) pty ltd a: suite 301, 685 burke rd, camberwell, victoria, 3124, au, earth p: +61 (0)3 8080 5850 f: +61 (0)3 8080 5840 m: +61 (0)439 646 941 w: http://www.eyemedia.com.au pgp: http://www.eyemedia.com.au/adamn.asc Andreas Koch Sent by: nagios-users-admin at lists.sourceforge.net 27/12/2004 07:16 PM To adamn at eyemedia.com.au cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Problems with nagios.cmd Hi, have you nagios whith mysql install? When you have, check_nagios can not check, if the nagios is running..... Search in google, and you find a check_nagios for mysql. Andreas Am Montag, den 27.12.2004, 19:19 +1100 schrieb adamn at eyemedia.com.au: > > Hi all, > > Well I have exhausted my google options and thought I best put this to > the mailing list. > > I'm running Fedora Core 3 with Apache/2.0.5 (Default RPM)... > > It took me a while to get the cgi's working (for those that have had > problems I had to do this to get the cgi's working with suexec and > Apache 2 on Fedora) > chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ > chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ > After running those commands all the cgi's run fine. > > I've set-up authorization on the cgi's so I can submit commands via > the web, but now I have a problem with the nagios.cmd file. > > I have used the FAQ's and set all permission's and have tried all > sorts of combinations. > This is the error I get.. > > Error: Could not stat() command file > '/usr/local/nagios/var/rw/nagios.cmd'! > The external command file may be missing, Nagios may not be running, > and/or Nagios may not be checking external commands. > An error occurred while attempting to commit your command for > processing > > I'm not sure what/where to go from here to get this working. > nagios creates/removes the nagios.cmd file as you start and stop > nagios. > I have set all the permission's on the /usr/local/nagios/var/rw/ as > instructed in http://nagios.sourceforge.net/docs/1_0/commandfile.html > and restarted apache. > > Is there any logging/output/debug that I can check/run to try and > figure out why the cgi's cannot > access /usr/local/nagios/var/rw/nagios.cmd > > Thanks in advance > > Regards, > Adam Niedzwiedzki > > c: eye media (aust) pty ltd > a: suite 301, 685 burke rd, camberwell, victoria, 3124, au, earth > p: +61 (0)3 8080 5850 > f: +61 (0)3 8080 5840 > m: +61 (0)439 646 941 > w: http://www.eyemedia.com.au > pgp: http://www.eyemedia.com.au/adamn.asc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 nsahnoun at refco.fr Mon Dec 27 10:51:38 2004 From: nsahnoun at refco.fr (SAHNOUN, Nadir) Date: Mon, 27 Dec 2004 10:51:38 +0100 Subject: Nagios + Logsurfer or Swatch? Message-ID: <5F0A27BFF6A3D811A8200002A547CD3C8DE4C4@srparexchg2.refcopar.com> Hi all, I recently developped with VB (windows) a real time log monitor for Unix/Linux and it's work fine :) My application open rlogin session (Port TCP/513) and run "tail -f ". it's possible to use log file with date format. Exemple : messages_20042712.log (for today) The entries on the file are compared to the panic list word. When panic list word is detected, alert message is sended by SMTP and batch is executed (net send + others script...). If you want a free version, don't hesitate to send me a message interests : - I don't need to configure my Unix servers - All is centralized on one host, no need to run any process on servers - The application is very simple to installe inconveniences : - Monitor 512 log file max on the same windows machine (future version will accept more) - Rlogin service must be UP on the unix servers (open firewall port if needed) On this version, if you have more than 512 log file to monitor, you can turn application on other machine... Best Regards Nadir -----Message d'origine----- De : Jim Mozley [mailto:jim.mozley at exponential-e.com] Envoy? : jeudi 23 d?cembre 2004 17:21 ? : Emmett Hogan Cc : Nagios Users List Objet : Re: [Nagios-users] Nagios + Logsurfer or Swatch? Emmett Hogan wrote: > Hi Folks, > > I need to be able to scan log files looking for several different > strings, and sometimes the number of times a string appears is > important. Often times, this is on a rather large log file, so the > existing "check_log" script would tend to load the machine quite a bit > since it can only handle one string at a time, plus it really cannot > handle the "alarm if this_string occurs more than 10 times in 10 > minutes" in the log. > > I was just wondering if anyone had written a more robust check_log > extension, or possibly come up with some logsurfer or swatch integration > checks. > > ...or is it time to "roll my own"? :-) Below is something I put on this list previously. At someone else's suggestion I submitted this as a FAQ, but I don't think it ever made it to the web site. Using SEC seems a better bet than swatch (although this si what I talk about below). Please look thorough the archives for "SEC" in the subject, esepcially useful are submissions by Stanley Hopcroft. Jim Mozley ____________________________________________________________ Better late than never I hope. The following is a setup for using syslog-ng, swatch and a script to pass passive events into Nagios. This is based on getting syslog messages from a set of network devices, although the same principle would apply to hosts. I've tried to make the example fairly generic, for instance we generate the nagios config for this automatically from device configurations, so please don't copy/paste this without understanding what's going on. 1. Define services in Nagios. For instance if you want to monitor MPLS messages for each network device define an MPLS service as below. #Service definition template define service{ name mpls-service-template active_checks_enabled no passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 check_freshness 0 freshness_threshold 28800 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 is_volatile 1 check_period none max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups network-admins notification_interval 120 notification_period 24x7 notification_options w,c,r } define service{ use mpls-service-template ; template host_name host1 service_description mpls check_command "" } 2. Configure syslog-ng. Once you have got your config file ready you will need to disable the native syslog daemon and start syslog-ng. syslog-ng config; this is for Solaris the source may need to change for linux/BSD: options { keep_hostname(off); long_hostnames(off); sync(1); log_fifo_size(2048); bad_hostname("%"); }; source all { sun-stream("/dev/log" door("/etc/.syslog_door")); internal(); udp(); }; # Put each day's log in a separate file within a directory for # each host. destination d_hosts { file("/var/log/hosts/$HOST/$HOST-$YEAR$MONTH$DAY" owner(root) group(syslog) perm(0660) dir_perm(0750) create_dirs(yes)); }; # To send messages to swatch destination d_swatch { program("/usr/local/bin/swatch --config-file=/etc/swatchrc --read-pipe=\ "cat /dev/fd/0\""); }; # log all messages in a directory per host log { source(all); destination(d_hosts); }; # send all logs to swatch log { source(all); destination(d_swatch); }; 3. Install and configure swatch. Sample line from swatchrc watchfor /pattern-i-want-to-match/ exec /path/to/my/script.pl $* So for instance if you are looking out for MPLS messages and your devices include "MPLS" in these syslog message match the pattern /MPLS/ 4. Create the script This should build a passive command based on the contents of the syslog message. For instance it might contain element such as: if ( $syslogmsg =~ /down/ ) { $nagios_code = 2; # Critical } You will need to extract the hostname from the syslog message (and possibly the service unless this is hardcoded - it is in this example). In the end you want to build a message such as: my $cmd = "[$epoch] PROCESS_SERVICE_CHECK_RESULT;$host;$service;$nagios_code;$msg"; And fire it into nagios: my $echo = '/usr/bin/echo'; my $pipe = '/usr/local/nagios/var/rw/nagios.cmd'; system "$echo \"$cmd\" >> $pipe"; (As an aside I tried the perl way of doing this rather than a system command and had a problem on Solaris I couldn't resolve.) I would recommend you take a look at Al Toby's module on CPAN for passing commands to Nagios. There are also some shell script examples of passing Nagios commands supplied with the distribution. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mikolajr at becomo.com Mon Dec 27 14:01:53 2004 From: mikolajr at becomo.com (Mikolaj Rydzewski) Date: Mon, 27 Dec 2004 14:01:53 +0100 Subject: Nagios + PostgreSQL = high cpu load? Message-ID: <41D007C1.9060605@becomo.com> Hello all! I'm using Nagios 1.2, installed from ports on FreeBSD 5.2.1. I've compiled PostgreSQL support in. And now I can see unusual high cpu load - mostly due to postmaster activity. Take a look at mrtg graph at http://ceti.pl/~miki/test/k2_cpu-week.png - I've installed nagios last week, and finally polished its confguration on friday. I'm not a newbie PostgreSQL user, IMHO it's tuned fine (fsync set to off, big cache). Our website is postgresql driven (it's PostgreSQL 7.4.1 there). But nagios seems to take our database to its knees :-( I've got 36 service checkers on 7 hosts now. Our server is 2GHz AMD, 512MG RAM - so it's rather powerful machine. Maybe PostgreSQL is not the best choice to use with Nagios? Does mysql work better? -- Mikolaj Rydzewski Becomo S.A. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2380 bytes Desc: S/MIME Cryptographic Signature URL: From dmaher at acetechnology.com Mon Dec 27 15:38:56 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 27 Dec 2004 09:38:56 -0500 Subject: Nagios_Statut Map_Trend_Alerthistogramm Message-ID: Salut encore, Malheureusement, cette liste s'existe principalement en anglais, et certains seront offens?s si vous ?crivez dans une autre langue - alors, je continuerai en anglais... I would suggest checking your Apache log file, to determine what _exactly_ is 404'ing. If you can determine what it is that Apache can't locate, it will help you to narrow down the problem. Once you know what's "missing", you can check to see whether the objects actually exist, if they are in the correct place, and if the permissions are correctly set. Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: azzouzi abdelltif [mailto:azzouzi50 at yahoo.fr] Sent: December 26, 2004 1:45 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios_Statut Map_Trend_Alerthistogramm Bonjour , je travaille avec nagios, je l'ai configur? et ?a marche bien.mais certaines fonctionalit?s ne marchent pas et pr?cisemment Statut Map , Trend , Alert histogramme . lorsque je clique sur l'un d'eux le message suivant s'affiche : Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 localhost ven 26 d??c 2003 19:39:20 WET Apache/2.0.40 (Red Hat Linux) je signale que j'ai install? la librairie gd2... svp ,qui a la r?ponse D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail sur http://fr.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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.5 - Release Date: 26/12/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.5 - Release Date: 26/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 stu at tpn.ch Mon Dec 27 16:41:37 2004 From: stu at tpn.ch (Stu Thompson) Date: Mon, 27 Dec 2004 16:41:37 +0100 Subject: Nagios 2.0b1 serviceextinfo notes_url ignored Message-ID: <200412271544.iBRFiUVq082508@excalibur.tpn.ch> Hi all, Either I have found a little bug, or I am suffering from another stupidity fit. Specifically, a serviceextinfo definition's notes_url property is not being used by the web interface to provide a link to a plug-in. The icon_image and icon_image_alt properties work just fine and appear on the web UI. But the link is for the extinfo.cgi, just as the host or service link is. Has anyone else tried out Nagios 2.0b1 with an RRD graphing plug-in with any success? Linux: FC2 Nagios: 2.0b1 Plug-in: nagiosgraph 0.3 define serviceextinfo{ service_description DNS host_name myserver notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ icon_image graph.png icon_image_alt View graphs } Cheers for any help, Stu -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Mon Dec 27 17:23:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 27 Dec 2004 17:23:15 +0100 Subject: Nagios + PostgreSQL = high cpu load? In-Reply-To: <41D007C1.9060605@becomo.com> References: <41D007C1.9060605@becomo.com> Message-ID: <41D036F3.1090500@op5.se> Mikolaj Rydzewski wrote: > Hello all! > > I'm using Nagios 1.2, installed from ports on FreeBSD 5.2.1. I've > compiled PostgreSQL support in. And now I can see unusual high cpu load > - mostly due to postmaster activity. Take a look at mrtg graph at > http://ceti.pl/~miki/test/k2_cpu-week.png - I've installed nagios last > week, and finally polished its confguration on friday. > > I'm not a newbie PostgreSQL user, IMHO it's tuned fine (fsync set to > off, big cache). Our website is postgresql driven (it's PostgreSQL 7.4.1 > there). But nagios seems to take our database to its knees :-( > > I've got 36 service checkers on 7 hosts now. Our server is 2GHz AMD, > 512MG RAM - so it's rather powerful machine. > > Maybe PostgreSQL is not the best choice to use with Nagios? Does mysql > work better? > Probably not. The problem with Nagios and DB support is the way it is implemented. Each status-change causes a flush and recreation of a very flat table. This causes the db server to eat an extraordinary amount of CPU each time the status is updated. There's supposed to be pretty nice database support for Nagios 2 with a NEB-module posted to nagios-devel a couple of weeks ago. -- 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 bench at silentmedia.com Mon Dec 27 17:53:05 2004 From: bench at silentmedia.com (Ben) Date: Mon, 27 Dec 2004 08:53:05 -0800 Subject: Nagios + PostgreSQL = high cpu load? In-Reply-To: <41D036F3.1090500@op5.se> References: <41D007C1.9060605@becomo.com> <41D036F3.1090500@op5.se> Message-ID: You can also find my code at http://www.sourceforge.net/projects/nagios-db/ It does require upgrading to Nagios 2, a process that should be painless and leave you with a better system than you started with anyway. On Dec 27, 2004, at 8:23 AM, Andreas Ericsson wrote: > Mikolaj Rydzewski wrote: >> Hello all! >> I'm using Nagios 1.2, installed from ports on FreeBSD 5.2.1. I've >> compiled PostgreSQL support in. And now I can see unusual high cpu >> load - mostly due to postmaster activity. Take a look at mrtg graph >> at http://ceti.pl/~miki/test/k2_cpu-week.png - I've installed nagios >> last week, and finally polished its confguration on friday. >> I'm not a newbie PostgreSQL user, IMHO it's tuned fine (fsync set to >> off, big cache). Our website is postgresql driven (it's PostgreSQL >> 7.4.1 there). But nagios seems to take our database to its knees :-( >> I've got 36 service checkers on 7 hosts now. Our server is 2GHz AMD, >> 512MG RAM - so it's rather powerful machine. >> Maybe PostgreSQL is not the best choice to use with Nagios? Does >> mysql work better? > > Probably not. The problem with Nagios and DB support is the way it is > implemented. Each status-change causes a flush and recreation of a > very flat table. This causes the db server to eat an extraordinary > amount of CPU each time the status is updated. > > There's supposed to be pretty nice database support for Nagios 2 with > a NEB-module posted to nagios-devel a couple of weeks ago. > > -- > 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 ZakS at so.ct.edu Mon Dec 27 18:52:20 2004 From: ZakS at so.ct.edu (Scott Zak) Date: Mon, 27 Dec 2004 12:52:20 -0500 Subject: Status Unknown w/check_by_ssh. Command line OK. Message-ID: Hi , I'm setting up check_by_ssh to invoke a script via forced command on a remote server to check a service status. The script returns the correct status on the server where it lives, and when I run check_by_ssh on the command-line, all is well. Nagios runs the remote command (and displays the contents of stdout on the status detail page), but the status always comes back 'Unknown'. Command-line: [nagios at nagios1]$ libexec/check_by_ssh -H 149.152.10.183 -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' LDAP daemon is running. When nagios runs the service check, the same 'LDAP daemon is running.' message appears in the status information, but the status is nevertheless marked as hard 'UNKNOWN'. Here's checkcommands.cfg: define command{ command_name check-cp-ldap command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' } This is the status log entry: [1104169159] SERVICE;soluminis1;LDAP;UNKNOWN;3/3;HARD;1104169025;1104169205;ACTIVE; 1;1;1;1104157840;0;UNKNOWN;3706;335959;419;530;1104165074;2;1;0;1;1;0;0.00;0;1;1;1;LDAP daemon is running. Nagios is running on RH Linux, and the target host is Solaris 9. Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0, protocol versions 1.5/2.0. The remote script worked correctly when monitoring services on a Solaris 8 box which was running SSH Secure Shell (non-commercial license). Check_by_ssh is from nagios-plugins 1.4.0alpha1, version 1.18. What am I not seeing? It's probably some bonehead maneuver on my part, but has anyone else run into (and found their way around) this? Scott Zak Connecticut State University System. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ZakS at so.ct.edu Mon Dec 27 19:23:58 2004 From: ZakS at so.ct.edu (Scott Zak) Date: Mon, 27 Dec 2004 13:23:58 -0500 Subject: Status Unknown w/check_by_ssh. Command line OK. Message-ID: It's doing what it is supposed to do -- returning zero. That is also the return when running check_by_ssh on the nagios box. Scott ----- Forwarded by Scott Zak/IST/CSUSO on 12/27/04 01:18 PM ----- D Brian Hendrix 12/27/04 12:57 PM To: "Scott Zak" cc: Subject: Re: [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. Scott, When you run the command on the Sun box, what is the error code returned? Use the following command: > echo $? You should get a zero (0) if successful, or a one (1) or higher if not successful. (Embedded image moved to file: pic06900.gif) Brian Hendrix Senior System Administrator - DCI IT/9KIDD, Baptist Hospital 2000 Church Street, Nashville, TN 37062 (615) 284-5297 work (615) 222-1704 fax ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Scott Zak" To Sent by: nagios-users at lists.sourceforge.net nagios-users-admi cc n at lists.sourcefor ge.net Subject [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. 12/27/2004 11:52 AM Hi , I'm setting up check_by_ssh to invoke a script via forced command on a remote server to check a service status. The script returns the correct status on the server where it lives, and when I run check_by_ssh on the command-line, all is well. Nagios runs the remote command (and displays the contents of stdout on the status detail page), but the status always comes back 'Unknown'. Command-line: [nagios at nagios1]$ libexec/check_by_ssh -H 149.152.10.183 -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' LDAP daemon is running. When nagios runs the service check, the same 'LDAP daemon is running.' message appears in the status information, but the status is nevertheless marked as hard 'UNKNOWN'. Here's checkcommands.cfg: define command{ command_name check-cp-ldap command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' } This is the status log entry: [1104169159] SERVICE;soluminis1;LDAP;UNKNOWN;3/3;HARD;1104169025;1104169205;ACTIVE; 1;1;1;1104157840;0;UNKNOWN;3706;335959;419;530;1104165074;2;1;0;1;1;0;0.00;0;1;1;1;LDAP daemon is running. Nagios is running on RH Linux, and the target host is Solaris 9. Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0, protocol versions 1.5/2.0. The remote script worked correctly when monitoring services on a Solaris 8 box which was running SSH Secure Shell (non-commercial license). Check_by_ssh is from nagios-plugins 1.4.0alpha1, version 1.18. What am I not seeing? It's probably some bonehead maneuver on my part, but has anyone else run into (and found their way around) this? Scott Zak Connecticut State University System. Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic06900.gif Type: image/gif Size: 2612 bytes Desc: not available URL: From ZakS at so.ct.edu Mon Dec 27 22:27:11 2004 From: ZakS at so.ct.edu (Scott Zak) Date: Mon, 27 Dec 2004 16:27:11 -0500 Subject: Status oscillates w/check_by_ssh. Message-ID: After allowing the service checks to run for a while, I'm finding that the service status is oscillating between OK and UNKNOWN. So it's working sometimes, and sometimes it's not. Yikes. It doesn't seem likely that this has anything to do with timeouts or missed thresholds (I'm going to try increasing them anyway). __________________ It's doing what it is supposed to do -- returning zero. That is also the return when running check_by_ssh on the nagios box. Scott ----- Forwarded by Scott Zak/IST/CSUSO on 12/27/04 01:18 PM ----- D Brian Hendrix 12/27/04 12:57 PM To: "Scott Zak" cc: Subject: Re: [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. Scott, When you run the command on the Sun box, what is the error code returned? Use the following command: > echo $? You should get a zero (0) if successful, or a one (1) or higher if not successful. (Embedded image moved to file: pic06900.gif) Brian Hendrix Senior System Administrator - DCI IT/9KIDD, Baptist Hospital 2000 Church Street, Nashville, TN 37062 (615) 284-5297 work (615) 222-1704 fax ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Scott Zak" To Sent by: nagios-users at lists.sourceforge.net nagios-users-admi cc n at lists.sourcefor ge.net Subject [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. 12/27/2004 11:52 AM Hi , I'm setting up check_by_ssh to invoke a script via forced command on a remote server to check a service status. The script returns the correct status on the server where it lives, and when I run check_by_ssh on the command-line, all is well. Nagios runs the remote command (and displays the contents of stdout on the status detail page), but the status always comes back 'Unknown'. Command-line: [nagios at nagios1]$ libexec/check_by_ssh -H 149.152.10.183 -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' LDAP daemon is running. When nagios runs the service check, the same 'LDAP daemon is running.' message appears in the status information, but the status is nevertheless marked as hard 'UNKNOWN'. Here's checkcommands.cfg: define command{ command_name check-cp-ldap command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' } This is the status log entry: [1104169159] SERVICE;soluminis1;LDAP;UNKNOWN;3/3;HARD;1104169025;1104169205;ACTIVE; 1;1;1;1104157840;0;UNKNOWN;3706;335959;419;530;1104165074;2;1;0;1;1;0;0.00;0;1;1;1;LDAP daemon is running. Nagios is running on RH Linux, and the target host is Solaris 9. Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0, protocol versions 1.5/2.0. The remote script worked correctly when monitoring services on a Solaris 8 box which was running SSH Secure Shell (non-commercial license). Check_by_ssh is from nagios-plugins 1.4.0alpha1, version 1.18. What am I not seeing? It's probably some bonehead maneuver on my part, but has anyone else run into (and found their way around) this? Scott Zak Connecticut State University System. Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic06900.gif Type: image/gif Size: 2612 bytes Desc: not available URL: From scott_yem at agilent.com Mon Dec 27 22:31:13 2004 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Mon, 27 Dec 2004 13:31:13 -0800 Subject: Status oscillates w/check_by_ssh. Message-ID: <65213341217E8D458E7C78E6640C7495044BF9EB@waglmb01.labs.agilent.com> I had this happening when I had multiple nagios processes running. You should check that out. 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 Scott Zak Sent: Monday, December 27, 2004 1:27 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Status oscillates w/check_by_ssh. After allowing the service checks to run for a while, I'm finding that the service status is oscillating between OK and UNKNOWN. So it's working sometimes, and sometimes it's not. Yikes. It doesn't seem likely that this has anything to do with timeouts or missed thresholds (I'm going to try increasing them anyway). __________________ It's doing what it is supposed to do -- returning zero. That is also the return when running check_by_ssh on the nagios box. Scott ----- Forwarded by Scott Zak/IST/CSUSO on 12/27/04 01:18 PM ----- D Brian Hendrix 12/27/04 12:57 PM To: "Scott Zak" cc: Subject: Re: [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. Scott, When you run the command on the Sun box, what is the error code returned? Use the following command: > echo $? You should get a zero (0) if successful, or a one (1) or higher if not successful. (Embedded image moved to file: pic06900.gif) Brian Hendrix Senior System Administrator - DCI IT/9KIDD, Baptist Hospital 2000 Church Street, Nashville, TN 37062 (615) 284-5297 work (615) 222-1704 fax ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Scott Zak" To Sent by: nagios-users at lists.sourceforge.net nagios-users-admi cc n at lists.sourcefor ge.net Subject [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. 12/27/2004 11:52 AM Hi , I'm setting up check_by_ssh to invoke a script via forced command on a remote server to check a service status. The script returns the correct status on the server where it lives, and when I run check_by_ssh on the command-line, all is well. Nagios runs the remote command (and displays the contents of stdout on the status detail page), but the status always comes back 'Unknown'. Command-line: [nagios at nagios1]$ libexec/check_by_ssh -H 149.152.10.183 -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' LDAP daemon is running. When nagios runs the service check, the same 'LDAP daemon is running.' message appears in the status information, but the status is nevertheless marked as hard 'UNKNOWN'. Here's checkcommands.cfg: define command{ command_name check-cp-ldap command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' } This is the status log entry: [1104169159] SERVICE;soluminis1;LDAP;UNKNOWN;3/3;HARD;1104169025;1104169205;ACTIVE; 1;1;1;1104157840;0;UNKNOWN;3706;335959;419;530;1104165074;2;1;0;1;1;0;0. 00;0;1;1;1;LDAP daemon is running. Nagios is running on RH Linux, and the target host is Solaris 9. Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0, protocol versions 1.5/2.0. The remote script worked correctly when monitoring services on a Solaris 8 box which was running SSH Secure Shell (non-commercial license). Check_by_ssh is from nagios-plugins 1.4.0alpha1, version 1.18. What am I not seeing? It's probably some bonehead maneuver on my part, but has anyone else run into (and found their way around) this? Scott Zak Connecticut State University System. Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamn at eyemedia.com.au Tue Dec 28 00:51:54 2004 From: adamn at eyemedia.com.au (adamn at eyemedia.com.au) Date: Tue, 28 Dec 2004 10:51:54 +1100 Subject: Nagios Process Check and nagios.cmd file. Message-ID: Hi all, I have an issue with the nagios_check_command this is what I have it as in my cfg file.. I'm running Fedora C3 with Apache 2.0.5 all default installs. My check command is... nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg' But from the web cgi pages they are saying nagios is down or not running. When I run the command from a shell prompt (as root) I get this output. [root at em-au-10 etc]# /usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg' Nagios ok: located 1 process, status log updated 8 seconds ago Where else can I look to see how to fix this? For the moment I turned off the command so I could get to run the cgi commands but I also have an issue with the external command file. I have set all permission's in the instructions. Permission's on the rw directory drwxrwsrwx 2 nagios nagiocmd 4096 Dec 28 11:11 rw Permission's on cmd file.. (file is created/removed on start/stop of nagios) prw-rw---- 1 nagios nagiocmd 0 Dec 28 11:11 nagios.cmd Group file. apache:x:48: nagios:x:501: nagiocmd:x:702:nagios,apache Webserver is running as user/group apache/apache Nagios is running as user/group nagios/nagios I have disabled suexec on my webserver (just renamed it) and of course rebooted/restarted/turned off, you name it., in between everything... ;) Can anyone help me with this, These are the only 2 items I need to finish off for nagios to be functioning 100%? I can get around the process check by just disabling it (but I would REALLY like it working). But the nagios.cmd file stuff I really need to get working to be able to issue comments for host's that are down, for adding in scheduled downtime etc etc. Regards, Adam Niedzwiedzki c: eye media (aust) pty ltd a: suite 301, 685 burke rd, camberwell, victoria, 3124, au, earth p: +61 (0)3 8080 5850 f: +61 (0)3 8080 5840 m: +61 (0)439 646 941 w: http://www.eyemedia.com.au pgp: http://www.eyemedia.com.au/adamn.asc -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdragone at pictage.com.ar Tue Dec 28 01:23:19 2004 From: jdragone at pictage.com.ar (jdragone at pictage.com.ar) Date: Tue, 28 Dec 2004 0:23:19 +0000 Subject: NSCA problem Message-ID: <200412280022.iBS0M510025592@gw0.pictage.com.ar> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From adamn at eyemedia.com.au Tue Dec 28 04:20:14 2004 From: adamn at eyemedia.com.au (adamn at eyemedia.com.au) Date: Tue, 28 Dec 2004 14:20:14 +1100 Subject: Problems with nagios.cmd ADDITIONAL INFO In-Reply-To: <1104135378.915.9.camel@dresden.eurodata.de> References: <1104135378.915.9.camel@dresden.eurodata.de> Message-ID: Does anyone know what this is and how I get around it? Dec 28 15:03:10 em-au-10 kernel: audit(1104206590.662:0): avc: denied { getattr } for pid=6121 exe=/usr/local/nagios/sbin/cmd.cgi path=/usr/local/nagios/var/rw/nagios.cmd dev=dm-0 ino=21910 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:usr_t tclass=fifo_file This is from my messages log when I try and use the external command stuff from the webserver cmd.cgi. Regards, Adam Niedzwiedzki c: eye media (aust) pty ltd a: suite 301, 685 burke rd, camberwell, victoria, 3124, au, earth p: +61 (0)3 8080 5850 f: +61 (0)3 8080 5840 m: +61 (0)439 646 941 w: http://www.eyemedia.com.au pgp: http://www.eyemedia.com.au/adamn.asc Andreas Koch Sent by: nagios-users-admin at lists.sourceforge.net 27/12/2004 07:16 PM To adamn at eyemedia.com.au cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Problems with nagios.cmd Hi, have you nagios whith mysql install? When you have, check_nagios can not check, if the nagios is running..... Search in google, and you find a check_nagios for mysql. Andreas Am Montag, den 27.12.2004, 19:19 +1100 schrieb adamn at eyemedia.com.au: > > Hi all, > > Well I have exhausted my google options and thought I best put this to > the mailing list. > > I'm running Fedora Core 3 with Apache/2.0.5 (Default RPM)... > > It took me a while to get the cgi's working (for those that have had > problems I had to do this to get the cgi's working with suexec and > Apache 2 on Fedora) > chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ > chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ > After running those commands all the cgi's run fine. > > I've set-up authorization on the cgi's so I can submit commands via > the web, but now I have a problem with the nagios.cmd file. > > I have used the FAQ's and set all permission's and have tried all > sorts of combinations. > This is the error I get.. > > Error: Could not stat() command file > '/usr/local/nagios/var/rw/nagios.cmd'! > The external command file may be missing, Nagios may not be running, > and/or Nagios may not be checking external commands. > An error occurred while attempting to commit your command for > processing > > I'm not sure what/where to go from here to get this working. > nagios creates/removes the nagios.cmd file as you start and stop > nagios. > I have set all the permission's on the /usr/local/nagios/var/rw/ as > instructed in http://nagios.sourceforge.net/docs/1_0/commandfile.html > and restarted apache. > > Is there any logging/output/debug that I can check/run to try and > figure out why the cgi's cannot > access /usr/local/nagios/var/rw/nagios.cmd > > Thanks in advance > > Regards, > Adam Niedzwiedzki > > c: eye media (aust) pty ltd > a: suite 301, 685 burke rd, camberwell, victoria, 3124, au, earth > p: +61 (0)3 8080 5850 > f: +61 (0)3 8080 5840 > m: +61 (0)439 646 941 > w: http://www.eyemedia.com.au > pgp: http://www.eyemedia.com.au/adamn.asc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 VKumarasamy00 at aol.com Tue Dec 28 07:18:55 2004 From: VKumarasamy00 at aol.com (VKumarasamy00 at aol.com) Date: Tue, 28 Dec 2004 01:18:55 EST Subject: Regarding Nagios-Mysql Message-ID: Hi, I have configured and compiled the nagios with mysql database support.And there are no errors after compilation.But no data is entered into the Mysql database tables. And there is an error shown in the web interface which is shown as follows: Whoops! Error: Could not read host and service status information! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: Check the Nagios log file for messages relating to startup or status data errors. Always verify configuration options using the -v command-line option before starting or restarting Nagios! Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. what could be the problem and how can i rectify it? can anybody help me out? Thanks and Regards, Vasanth. -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.koch at eurodata.de Tue Dec 28 07:27:01 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Tue, 28 Dec 2004 07:27:01 +0100 Subject: Regarding Nagios-Mysql In-Reply-To: References: Message-ID: <1104215221.919.24.camel@dresden.eurodata.de> Read the Manual: less /usr/share/doc/nagios-mysql/README.mysql: This is the Place from the Readme in debian. With locate you find the Readme. Andreas Am Dienstag, den 28.12.2004, 01:18 -0500 schrieb VKumarasamy00 at aol.com: > Hi, > I have configured and compiled the nagios with mysql database > support.And there are no errors after compilation.But no data is > entered into the Mysql database tables. > And there is an error shown in the web interface which is shown as > follows: > > Whoops! > Error: Could not read host and service status information! > > The most common cause of this error message (especially for new > users), is the fact that Nagios is not actually running. If Nagios is > indeed not running, this is a normal error message. It simply > indicates that the CGIs could not obtain the current status of hosts > and services that are being monitored. If you've just installed > things, make sure you read the documentation on starting Nagios. > > Some other things you should check in order to resolve this error > include: > > 1. Check the Nagios log file for messages relating to startup or > status data errors. > 2. Always verify configuration options using the -v command-line > option before starting or restarting Nagios! > 3. Make sure you've compiled the main program and the CGIs to use > the same status data storage options (i.e. text file or > database). If the main program is storing status data in a > text file and the CGIs are trying to read status data from a > database, you'll have problems. > > Make sure you read the documentation on installing, configuring and > running Nagios thoroughly before continuing. If all else fails, try > sending a message to one of the mailing lists. More information can be > found at http://www.nagios.org. > > what could be the problem and how can i rectify it? > > can anybody help me out? > > Thanks and Regards, > > Vasanth. > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From VKumarasamy00 at aol.com Tue Dec 28 07:33:44 2004 From: VKumarasamy00 at aol.com (VKumarasamy00 at aol.com) Date: Tue, 28 Dec 2004 01:33:44 EST Subject: Regarding Nagios-Mysql Message-ID: <1a4.2e1b5c3f.2f025848@aol.com> Hi Mr.a.koch, Thank u so much for ur reply. But i could not find the directory nagios-mysql in that specified path. what can i do now? -vasanth -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.koch at eurodata.de Tue Dec 28 07:35:42 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Tue, 28 Dec 2004 07:35:42 +0100 Subject: Regarding Nagios-Mysql In-Reply-To: <1a4.2e1b5c3f.2f025848@aol.com> References: <1a4.2e1b5c3f.2f025848@aol.com> Message-ID: <1104215742.915.28.camel@dresden.eurodata.de> Read my Mail: This is the Place from the Readme in debian. With locate you find the Readme. Andreas Am Dienstag, den 28.12.2004, 01:33 -0500 schrieb VKumarasamy00 at aol.com: > Hi Mr.a.koch, > Thank u so much for ur reply. > But i could not find the directory nagios-mysql in that specified > path. > what can i do now? > > -vasanth ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Tue Dec 28 07:43:26 2004 From: b00mer at gmx.net (Hendrik "Boomer" Baecker) Date: Tue, 28 Dec 2004 07:43:26 +0100 Subject: Regarding Nagios-Mysql In-Reply-To: <1104215742.915.28.camel@dresden.eurodata.de> References: <1a4.2e1b5c3f.2f025848@aol.com> <1104215742.915.28.camel@dresden.eurodata.de> Message-ID: <41D1008E.5090907@gmx.net> find / -name "README.mysql" or Perhaps you don't have startet the nagios Daemon? Andreas Koch schrieb: >Read my Mail: > >This is the Place from the Readme in debian. With locate you find the >Readme. > >Andreas >Am Dienstag, den 28.12.2004, 01:33 -0500 schrieb VKumarasamy00 at aol.com: > > >>Hi Mr.a.koch, >>Thank u so much for ur reply. >>But i could not find the directory nagios-mysql in that specified >>path. >>what can i do now? >> >> -vasanth >> >> > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 amarendra at exirasoft.com Tue Dec 28 09:25:37 2004 From: amarendra at exirasoft.com (amarendra) Date: Tue, 28 Dec 2004 13:55:37 +0530 Subject: Regarding Nagios-Mysql In-Reply-To: <41D1008E.5090907@gmx.net> References: <1a4.2e1b5c3f.2f025848@aol.com> <1104215742.915.28.camel@dresden.eurodata.de> <41D1008E.5090907@gmx.net> Message-ID: <41D11881.7050207@exirasoft.com> Check whether nagios and mysql are running or not Perhaps you don't have started the nagios Daemon and mysql? restart the nagios with /etc/rc.d/init.d/nagios restart as super user > find / -name "README.mysql" > > or > > Perhaps you don't have startet the nagios Daemon? > > Andreas Koch schrieb: > >> Read my Mail: >> >> This is the Place from the Readme in debian. With locate you find the >> Readme. >> >> Andreas >> Am Dienstag, den 28.12.2004, 01:33 -0500 schrieb VKumarasamy00 at aol.com: >> >> >>> Hi Mr.a.koch, >>> Thank u so much for ur reply. >>> But i could not find the directory nagios-mysql in that specified >>> path. >>> what can i do now? >>> >>> -vasanth >>> >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 VKumarasamy00 at aol.com Tue Dec 28 09:54:43 2004 From: VKumarasamy00 at aol.com (VKumarasamy00 at aol.com) Date: Tue, 28 Dec 2004 03:54:43 EST Subject: Regarding Nagios-Mysql Message-ID: <6a.4b9ac469.2f027953@aol.com> Hi, Do i need to explicitly install any other packages for nagios? because the 12 tables are created in the nagios database. but i didnot install anything from debian.that is, there is no directory named nagios-mysql in the path /usr/share/doc. If this needs to be done, what are all the steps to get and place that file in that specified path. Can anybody help me out? Regards, vasanth -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakkas at unimedcy.com Tue Dec 28 12:07:42 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Tue, 28 Dec 2004 13:07:42 +0200 Subject: Debian nagios-mysql 1.3-0+pre6 Message-ID: <41D13E7E.1010602@unimedcy.com> Hi all, Having a minor problem with nagios-mysql 1.3-0+pre6 on debian testing. My custom host images (and other extra info) have dissapeared since I upgraded from ( I think) 1.3-0+pre3 which showed the images just fine, pre4 and 5 gave some instalation problems but pre6 installed fine exept this small snag. Database conectivity in general apears to be fine, but it just seems to me that the hostextinfo table doesn't get read. Anybody with something similar (preferably resolved !)? I would rather keep my system in line with Debian depositorys, and not do manual installs from source, which I am sure would solve this very easily. Regards, K.Sakkas ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ZakS at so.ct.edu Tue Dec 28 15:22:23 2004 From: ZakS at so.ct.edu (Scott Zak) Date: Tue, 28 Dec 2004 09:22:23 -0500 Subject: Status oscillates w/check_by_ssh. Message-ID: We actually have four separate nagios daemons running to provided different views to persons who monitor groups of hosts and services. They have parallel configurations in some aspects, but they shouldn't overlap. Thanks for the tip. I'll check it out. Scott Zak __________________ I had this happening when I had multiple nagios processes running. You should check that out. 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 Scott Zak Sent: Monday, December 27, 2004 1:27 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Status oscillates w/check_by_ssh. After allowing the service checks to run for a while, I'm finding that the service status is oscillating between OK and UNKNOWN. So it's working sometimes, and sometimes it's not. Yikes. It doesn't seem likely that this has anything to do with timeouts or missed thresholds (I'm going to try increasing them anyway). __________________ It's doing what it is supposed to do -- returning zero. That is also the return when running check_by_ssh on the nagios box. Scott ----- Forwarded by Scott Zak/IST/CSUSO on 12/27/04 01:18 PM ----- D Brian Hendrix 12/27/04 12:57 PM To: "Scott Zak" cc: Subject: Re: [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. Scott, When you run the command on the Sun box, what is the error code returned? Use the following command: > echo $? You should get a zero (0) if successful, or a one (1) or higher if not successful. (Embedded image moved to file: pic06900.gif) Brian Hendrix Senior System Administrator - DCI IT/9KIDD, Baptist Hospital 2000 Church Street, Nashville, TN 37062 (615) 284-5297 work (615) 222-1704 fax ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Scott Zak" To Sent by: nagios-users at lists.sourceforge.net nagios-users-admi cc n at lists.sourcefor ge.net Subject [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. 12/27/2004 11:52 AM Hi , I'm setting up check_by_ssh to invoke a script via forced command on a remote server to check a service status. The script returns the correct status on the server where it lives, and when I run check_by_ssh on the command-line, all is well. Nagios runs the remote command (and displays the contents of stdout on the status detail page), but the status always comes back 'Unknown'. Command-line: [nagios at nagios1]$ libexec/check_by_ssh -H 149.152.10.183 -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' LDAP daemon is running. When nagios runs the service check, the same 'LDAP daemon is running.' message appears in the status information, but the status is nevertheless marked as hard 'UNKNOWN'. Here's checkcommands.cfg: define command{ command_name check-cp-ldap command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' } This is the status log entry: [1104169159] SERVICE;soluminis1;LDAP;UNKNOWN;3/3;HARD;1104169025;1104169205;ACTIVE; 1;1;1;1104157840;0;UNKNOWN;3706;335959;419;530;1104165074;2;1;0;1;1;0;0.00;0;1;1;1;LDAP daemon is running. Nagios is running on RH Linux, and the target host is Solaris 9. Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0, protocol versions 1.5/2.0. The remote script worked correctly when monitoring services on a Solaris 8 box which was running SSH Secure Shell (non-commercial license). Check_by_ssh is from nagios-plugins 1.4.0alpha1, version 1.18. What am I not seeing? It's probably some bonehead maneuver on my part, but has anyone else run into (and found their way around) this? ScottZak ConnecticutStateUniversitySystem. Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From webmaster at famboom.com Tue Dec 28 16:05:27 2004 From: webmaster at famboom.com (WebMaster) Date: Tue, 28 Dec 2004 16:05:27 +0100 (West-Europa (standaardtijd)) Subject: Email sent after added HOST comment possible? Message-ID: <41D17637.000003.02256@SERVER> Hai all, WHen added a comment for a host is it possible that an email gets sent out to all contacts within that host group? Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMSTP.gif Type: image/gif Size: 8856 bytes Desc: not available URL: From marc at ena.com Tue Dec 28 16:17:10 2004 From: marc at ena.com (Marc Powell) Date: Tue, 28 Dec 2004 09:17:10 -0600 Subject: Status oscillates w/check_by_ssh. Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835B2B@mismail.ena.com> You know that Nagios provides multi-view functionality right out of the box with just a single process and a single set of config files, right? If you're running multiple daemons just for different views then you've gone down the wrong path. With authentication enabled users are only able to see hosts and services that they are authorized contacts for. -- Marc ________________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Zak Sent: Tuesday, December 28, 2004 8:22 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: Status oscillates w/check_by_ssh. We actually have four separate nagios daemons running to provided different views to persons who monitor groups of hosts and services. ?They have parallel configurations in some aspects, but they shouldn't overlap. ?Thanks for the tip. ?I'll check it out. Scott Zak __________________ I had this happening when I had multiple nagios processes running.? You should check that out. ? 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 Scott Zak Sent: Monday, December 27, 2004 1:27 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Status oscillates w/check_by_ssh. ? After allowing the service checks to run for a while, I'm finding that the service status is oscillating between OK and UNKNOWN. ?So it's working sometimes, and sometimes it's not. ?Yikes. It doesn't seem likely that this has anything to do with timeouts or missed thresholds (I'm going to try increasing them anyway). __________________ It's doing what it is supposed to do -- returning zero. That is also the return when running check_by_ssh on the nagios box. Scott ----- Forwarded by Scott Zak/IST/CSUSO on 12/27/04 01:18 PM ----- ? D Brian Hendrix 12/27/04 12:57 PM ? ? ? ? ? ? ? ? To: ? ? ? ?"Scott Zak" ? ? ? ? cc: ? ? ? ? ? ? ? ? Subject: ? ? ? ?Re: [Nagios-users] Status Unknown w/check_by_ssh. ?Command line OK. Scott, When you run the command on the Sun box, what is the error code returned? Use the following command: > echo $? You should get a zero (0) if successful, or a one (1) or higher if not successful. (Embedded image moved to file: pic06900.gif) Brian Hendrix Senior System Administrator - DCI IT/9KIDD, Baptist Hospital 2000 Church Street, Nashville, TN ? ?37062 (615) 284-5297 work (615) 222-1704 fax ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "Scott Zak" ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?To ? ? ? ? ? ? Sent by: ? ? ? ? ? ? ? ? ?nagios-users at lists.sourceforge.net ? ? ? ? ? ? ? nagios-users-admi ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?cc ? ? ? ? ? ? n at lists.sourcefor ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ge.net ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Subject ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [Nagios-users] Status Unknown ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? w/check_by_ssh. ?Command line OK. ? ? ? ? ? ? ? 12/27/2004 11:52 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? AM ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Hi , I'm setting up check_by_ssh to invoke a script via forced command on a remote server to check a service status. ?The script returns the correct status on the server where it lives, and when I run check_by_ssh on the command-line, all is well. ?Nagios runs the remote command (and displays the contents of stdout on the status detail page), but the status always comes back 'Unknown'. Command-line: [nagios at nagios1]$ libexec/check_by_ssh -H 149.152.10.183 -l remoteuser -i /path/to/rsa/identity_key ?-C 'LDAP' LDAP daemon is running. When nagios runs the service check, the same 'LDAP daemon is running.' message appears in the status information, but the status is nevertheless marked as hard ?'UNKNOWN'. Here's checkcommands.cfg: define command{ ? ? ? ?command_name ? ?check-cp-ldap ? ? ? ?command_line ? ?$USER1$/check_by_ssh -H $HOSTADDRESS$ -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' } This is the status log entry: [1104169159] SERVICE;soluminis1;LDAP;UNKNOWN;3/3;HARD;1104169025;1104169205;ACTIVE; 1;1;1;1104157840;0;UNKNOWN;3706;335959;419;530;1104165074;2;1;0;1;1;0;0.00;0;1;1;1;LDAP daemon is running. Nagios is running on RH Linux, and the target host is Solaris 9. ?Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0, protocol versions 1.5/2.0. ?The remote script worked correctly when monitoring services on a Solaris 8 box which was running SSH Secure Shell (non-commercial license). ?Check_by_ssh is from nagios-plugins 1.4.0alpha1, version 1.18. What am I not seeing? ?It's probably some bonehead maneuver on my part, but has anyone else run into (and found their way around) this? ScottZak ConnecticutStateUniversitySystem. Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. ? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ZakS at so.ct.edu Tue Dec 28 17:08:09 2004 From: ZakS at so.ct.edu (Scott Zak) Date: Tue, 28 Dec 2004 11:08:09 -0500 Subject: Status oscillates w/check_by_ssh. Multiple daemons? Message-ID: Marc, The other main reason for running multiple daemons is to allow us to distribute and compartmentalize nagios administrator privileges. We have four differenct executable files that are gathering stats behind a single apache. The person in charge of each nagios is fully able to reconfigure, restart and fix (or fry) anything within his domain. Our shop has been doing this since NetSaint 0.0.7 and we have been running cleanly on this instance for about a year now. It's only when trying to hook in this new solaris 9 server that we are beginning to see problems, which leads me to believe that the issue is of a more specific nature and not a generalized failure. Is there any specific reason to believe that our configuration is impossible and/or contributing to the originally described problem? To you it's a non-standard configuration, but for me it's all I've got. : - ) Scott Zak __________________ You know that Nagios provides multi-view functionality right out of the box with just a single process and a single set of config files, right? If you're running multiple daemons just for different views then you've gone down the wrong path. With authentication enabled users are only able to see hosts and services that they are authorized contacts for. -- Marc ________________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Zak Sent: Tuesday, December 28, 2004 8:22 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: Status oscillates w/check_by_ssh. We actually have four separate nagios daemons running to provided different views to persons who monitor groups of hosts and services. They have parallel configurations in some aspects, but they shouldn't overlap. Thanks for the tip. I'll check it out. Scott Zak __________________ I had this happening when I had multiple nagios processes running. You should check that out. 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 Scott Zak Sent: Monday, December 27, 2004 1:27 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Status oscillates w/check_by_ssh. After allowing the service checks to run for a while, I'm finding that the service status is oscillating between OK and UNKNOWN. So it's working sometimes, and sometimes it's not. Yikes. It doesn't seem likely that this has anything to do with timeouts or missed thresholds (I'm going to try increasing them anyway). __________________ It's doing what it is supposed to do -- returning zero. That is also the return when running check_by_ssh on the nagios box. Scott ----- Forwarded by Scott Zak/IST/CSUSO on 12/27/04 01:18 PM ----- D Brian Hendrix 12/27/04 12:57 PM To: "Scott Zak" cc: Subject: Re: [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. Scott, When you run the command on the Sun box, what is the error code returned? Use the following command: > echo $? You should get a zero (0) if successful, or a one (1) or higher if not successful. (Embedded image moved to file: pic06900.gif) Brian Hendrix Senior System Administrator - DCI IT/9KIDD, Baptist Hospital 2000 Church Street, Nashville, TN 37062 (615) 284-5297 work (615) 222-1704 fax ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Scott Zak" To Sent by: nagios-users at lists.sourceforge.net nagios-users-admi cc n at lists.sourcefor ge.net Subject [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. 12/27/2004 11:52 AM Hi , I'm setting up check_by_ssh to invoke a script via forced command on a remote server to check a service status. The script returns the correct status on the server where it lives, and when I run check_by_ssh on the command-line, all is well. Nagios runs the remote command (and displays the contents of stdout on the status detail page), but the status always comes back 'Unknown'. Command-line: [nagios at nagios1]$ libexec/check_by_ssh -H 149.152.10.183 -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' LDAP daemon is running. When nagios runs the service check, the same 'LDAP daemon is running.' message appears in the status information, but the status is nevertheless marked as hard 'UNKNOWN'. Here's checkcommands.cfg: define command{ command_name check-cp-ldap command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' } This is the status log entry: [1104169159] SERVICE;soluminis1;LDAP;UNKNOWN;3/3;HARD;1104169025;1104169205;ACTIVE; 1;1;1;1104157840;0;UNKNOWN;3706;335959;419;530;1104165074;2;1;0;1;1;0;0.00;0;1;1;1;LDAP daemon is running. Nagios is running on RH Linux, and the target host is Solaris 9. Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0, protocol versions 1.5/2.0. The remote script worked correctly when monitoring services on a Solaris 8 box which was running SSH Secure Shell (non-commercial license). Check_by_ssh is from nagios-plugins 1.4.0alpha1, version 1.18. What am I not seeing? It's probably some bonehead maneuver on my part, but has anyone else run into (and found their way around) this? ScottZak ConnecticutStateUniversitySystem. Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ae at op5.se Tue Dec 28 17:59:20 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 28 Dec 2004 17:59:20 +0100 Subject: Email sent after added HOST comment possible? In-Reply-To: <41D17637.000003.02256@SERVER> References: <41D17637.000003.02256@SERVER> Message-ID: <41D190E8.1020604@op5.se> WebMaster wrote: > Hai all, > > WHen added a comment for a host is it possible that an email gets sent out > to all contacts within that host group? > Only if you send it as an acknowledgement, in which case it gets treated as a notification. -- 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 Tue Dec 28 20:44:11 2004 From: EmmettH at Examen.com (Emmett Hogan) Date: Tue, 28 Dec 2004 11:44:11 -0800 Subject: Check for UNIX printers? Message-ID: <41D1B78B.9050009@Examen.com> Hi again, :-) I am "going to the well" once again looking for a plugin... Has anyone written a plugin that checks the status of UNIX printers? (i.e. by parsing the output of "lpc status all") Thanks, Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From billwinkles at lucent.com Tue Dec 28 21:08:25 2004 From: billwinkles at lucent.com (Winkles, William (Bill)) Date: Tue, 28 Dec 2004 13:08:25 -0700 Subject: compiling nagios-plugins-1.4.0-alpha3 on Solaris 9 Message-ID: <0DB72ED9B906754EB93DA5D814E66F320B234717@co7010exch004u.milehi.lucent.com> I'm having problems making nagios-plugins-1.4.0-alpha3 on Solaris 9. Any suggestions are appreciated. Thanks. Bill Configured with: ./configure config.status: creating po/Makefile --with-cgiurl: /nagios/cgi-bin --with-nagios-user: nagios --with-nagios-group: nagios --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin --with-ping-command: /usr/sbin/ping -n -s %s 56 %d --with-ping6-command: --with-lwres: no --with-ipv6: yes --with-openssl: no --enable-emulate-getaddrinfo: no Make error: gcc -g -O2 -L. -o check_icmp check_icmp.o ../intl/libintl.a -liconv -lgen -l socket -lcrypto Undefined first referenced symbol in file gethostbyaddr check_icmp.o (symbol belongs to implicit de pendency /usr/lib/libnsl.so.1) gethostbyname check_icmp.o (symbol belongs to implicit de pendency /usr/lib/libnsl.so.1) inet_addr check_icmp.o (symbol belongs to implicit de pendency /usr/lib/libnsl.so.1) inet_ntoa check_icmp.o (symbol belongs to implicit de pendency /usr/lib/libnsl.so.1) h_errno check_icmp.o (symbol belongs to implicit de pendency /usr/lib/libnsl.so.1) ld: fatal: Symbol referencing errors. No output written to check_icmp collect2: ld returned 1 exit status make[2]: *** [check_icmp] Error 1 make[2]: Leaving directory `/home/billy/nagios-plugins-1.4.0-alpha3/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/billy/nagios-plugins-1.4.0-alpha3' make: *** [all] Error 2 Configured with: bash-2.05# ./configure --with-openssl=/usr/local/ssl --with-trusted-path=/usr/l ocal/bin:/sbin:/usr/sbin:/bin config.status: creating po/Makefile --with-cgiurl: /nagios/cgi-bin --with-nagios-user: nagios --with-nagios-group: nagios --with-trusted-path: /usr/local/bin:/sbin:/usr/sbin:/bin --with-ping-command: /usr/sbin/ping -n -s %s 56 %d --with-ping6-command: --with-lwres: no --with-ipv6: yes --with-openssl: yes --enable-emulate-getaddrinfo: no Make error: gcc -g -O2 -L. -L/usr/local/ssl/lib -o check_http check_http.o netutils.o uti ls.o ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lsocket -lresolv ../i ntl/libintl.a -liconv -lgen -lsocket -lcrypto Undefined first referenced symbol in file SSL_load_error_strings check_http.o SSL_get_peer_certificate check_http.o SSL_write check_http.o SSL_get_error check_http.o SSL_set_fd check_http.o SSL_free check_http.o SSL_read check_http.o SSLv23_client_method check_http.o SSL_new check_http.o SSL_CTX_new check_http.o SSL_connect check_http.o SSL_shutdown check_http.o SSL_CTX_free check_http.o SSL_set_cipher_list check_http.o SSL_library_init check_http.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/home/billy/nagios-plugins-1.4.0-alpha3/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/billy/nagios-plugins-1.4.0-alpha3' make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhunt at advcs.ca Wed Dec 29 03:27:40 2004 From: jhunt at advcs.ca (Jason Hunt) Date: Tue, 28 Dec 2004 21:27:40 -0500 Subject: Nagios on OpenBSD with chroot Apache Message-ID: Hello All, I'm trying to use Nagios on OpenBSD 3.6 with the default chroot'd Apache, but the CGI's are giving me an "Internal Server Error" and the Apache logs say "Premature end of script headers". I searched the archives and read a suggestion to compile Nagios with static libraries, since the CGI's can't access them from within the chroot. I set "CC=gcc -static" in the Makefile and did a "make clean/re-configure/make all/make install", but the same thing occurrs. I used "/var/www/nagios" as the configure prefix and the permissions all appear to be setup correctly with the user/group "nagios". The daemon runs fine. Apache is configured like so: ScriptAlias /nagios/cgi-bin "/var/www/nagios/sbin" Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all Alias /nagios "/var/www/nagios/share" Options None AllowOverride AuthConfig Order allow,deny Allow from all Does anyone have any suggetsions on what else can I do to try and figure this out? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Wed Dec 29 04:16:21 2004 From: benny at bennyvision.com (C. Bensend) Date: Tue, 28 Dec 2004 21:16:21 -0600 (CST) Subject: Nagios on OpenBSD with chroot Apache In-Reply-To: References: Message-ID: <54685.63.227.74.41.1104290203.squirrel@63.227.74.41> > I'm trying to use Nagios on OpenBSD 3.6 with the default chroot'd Apache, > but the CGI's are > giving me an "Internal Server Error" and the Apache logs say "Premature > end of script headers". > > I searched the archives and read a suggestion to compile Nagios with > static libraries, since > the CGI's can't access them from within the chroot. I set "CC=gcc > -static" in the Makefile and did a "make clean/re-configure/make all/make > install", but the same thing occurrs. Search the OpenBSD ports mailing list archives - there has been a lot of work by Julien Touche, and I believe he posted his port earlier this year. Benny -- "I'm on the Zoloft to keep from killing y'all." -- Mike Tyson ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 04:20:18 2004 From: benny at bennyvision.com (C. Bensend) Date: Tue, 28 Dec 2004 21:20:18 -0600 (CST) Subject: Nagios on OpenBSD with chroot Apache In-Reply-To: <54685.63.227.74.41.1104290203.squirrel@63.227.74.41> References: <54685.63.227.74.41.1104290203.squirrel@63.227.74.41> Message-ID: <53208.63.227.74.41.1104290440.squirrel@63.227.74.41> > Search the OpenBSD ports mailing list archives - there has been a lot > of work by Julien Touche, and I believe he posted his port earlier this > year. Whoops, as well as Lukas Meyer. I haven't used either port yet, but they both seem to have one that works. :) Benny -- "I'm on the Zoloft to keep from killing y'all." -- Mike Tyson ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 06:58:19 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 29 Dec 2004 06:58:19 +0100 Subject: Check size of a Windows Server Message-ID: <90D32590BAD135448DC12C1EA3EB4482209E0D@epsewr01.ewrlan.ewr.int> Hello! I use NRPE to check some Windows services now i need to check the size of one service because it not really crash&close he crashs an get only a lower size in system memory. Anyone done a check for service size before? Thanks a lot! bye -andreas ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GiliL at sodaclub.co.il Wed Dec 29 08:20:05 2004 From: GiliL at sodaclub.co.il (Gili Lapid) Date: Wed, 29 Dec 2004 09:20:05 +0200 Subject: Multipme nagios process and lost "nagios.cmd" Message-ID: <2D1568507FCA1E498B919A55976475D03F4B6C@mail> Hi All If I do "ps -efw | grep nadios" I can see one or more nagios process. [root at nagios etc]# ps -efw | grep "nagios" nagios 11458 1 0 16:54 ? 00:00:01 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 20148 1 0 18:03 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 20149 20148 0 18:03 ? 00:00:00 /usr/local/nagios/libexec/check_ping -H 10.1.1.1 -w 100.0,20% -c 500.0,60% -p nagios 20150 20149 0 18:03 ? 00:00:00 /bin/ping -n -U -c 5 10.1.1.1 They all have 1 in the PPID (The parent ID). some time I can see only one, but when there are more then one I can see the plugins are running too... Also I do not have the nagios.cmd in the var/rw folder. I read the manual in this link and did as I told (restart the apache & nagios :-) at the end...), and nothing... http://nagios.sourceforge.net/docs/1_0/commandfile.html Also, if a plugin have a "time out" status the "Current Attempt" stay at 1 (if let say I have 1 out of 5) and not sending allerts... The system is up and running for a month or so whiteout any problems, suddenly this started... [root at nagios etc]# ll /usr/local/nagios/var/ total 23572 drwxrwxr-x 2 nagios apache 4096 Dec 28 00:00 archives -rw-rw-r-- 1 nagios nagios 0 Dec 28 16:54 comment.log -rw-rw-r-- 1 nagios nagios 0 Dec 28 16:54 downtime.log -rw-rw-r-- 1 nagios apache 417288 Dec 12 14:41 hostperf.log -rw-r--r-- 1 root root 6 Dec 28 16:54 nagios.lock -rw-r--r-- 1 nagios nagios 130742 Dec 28 17:54 nagios.log -rw-r--r-- 1 root apache 122 Nov 29 17:20 perfparse.log.20041129.log -rw-r--r-- 1 root root 248 Dec 12 16:58 perfparse.log.20041212.log drwxrws--- 2 nagios nagiocmd 4096 Dec 28 16:06 rw drwxr-xr-x 5 nagios apache 4096 Dec 27 16:10 sat -rw-rw-r-- 1 nagios apache 23478843 Dec 12 14:44 serviceperf.log -rw-rw-r-- 1 nagios nagios 23583 Dec 28 17:57 status.log -rw-rw-r-- 1 nagios nagios 17437 Dec 28 17:54 status.sav [root at nagios etc]# ll /usr/local/nagios/var/rw/ total 0 [root at nagios etc]# cat /etc/group | grep nagiocmd nagiocmd:x:501:nagios,nobody,apache [root at nagios etc]# df -h Filesystem Size Used Avail Use% Mounted on /dev/hdb1 3.8G 1.6G 2.0G 44% / none 61M 0 61M 0% /dev/shm /dev/hdb6 193M 5.0M 178M 3% /tmp /dev/hdb5 6.7G 4.0G 2.3G 63% /usr /dev/hdb3 1.9G 868M 1002M 47% /var TIA, Gili -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Wed Dec 29 08:31:51 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 29 Dec 2004 08:31:51 +0100 Subject: Status oscillates w/check_by_ssh. Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9497@SYGOMAIL.GOE.AD.SYCOR.DE> I had the same Problem here using Nagios 2.0a1 on a Fedora Core 2 Server. Didn't solved the Problem though :-/ For me it worked, to move the check to a different server, with a newer ssh Version... BTW, just one nagios process running... ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of scott_yem at agilent.com Sent: Monday, December 27, 2004 10:31 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: Status oscillates w/check_by_ssh. I had this happening when I had multiple nagios processes running. You should check that out. 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 Scott Zak Sent: Monday, December 27, 2004 1:27 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Status oscillates w/check_by_ssh. After allowing the service checks to run for a while, I'm finding that the service status is oscillating between OK and UNKNOWN. So it's working sometimes, and sometimes it's not. Yikes. It doesn't seem likely that this has anything to do with timeouts or missed thresholds (I'm going to try increasing them anyway). __________________ It's doing what it is supposed to do -- returning zero. That is also the return when running check_by_ssh on the nagios box. Scott ----- Forwarded by Scott Zak/IST/CSUSO on 12/27/04 01:18 PM ----- D Brian Hendrix 12/27/04 12:57 PM To: "Scott Zak" cc: Subject: Re: [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. Scott, When you run the command on the Sun box, what is the error code returned? Use the following command: > echo $? You should get a zero (0) if successful, or a one (1) or higher if not successful. (Embedded image moved to file: pic06900.gif) Brian Hendrix Senior System Administrator - DCI IT/9KIDD, Baptist Hospital 2000 Church Street, Nashville, TN 37062 (615) 284-5297 work (615) 222-1704 fax ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Scott Zak" To Sent by: nagios-users at lists.sourceforge.net nagios-users-admi cc n at lists.sourcefor ge.net Subject [Nagios-users] Status Unknown w/check_by_ssh. Command line OK. 12/27/2004 11:52 AM Hi , I'm setting up check_by_ssh to invoke a script via forced command on a remote server to check a service status. The script returns the correct status on the server where it lives, and when I run check_by_ssh on the command-line, all is well. Nagios runs the remote command (and displays the contents of stdout on the status detail page), but the status always comes back 'Unknown'. Command-line: [nagios at nagios1]$ libexec/check_by_ssh -H 149.152.10.183 -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' LDAP daemon is running. When nagios runs the service check, the same 'LDAP daemon is running.' message appears in the status information, but the status is nevertheless marked as hard 'UNKNOWN'. Here's checkcommands.cfg: define command{ command_name check-cp-ldap command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l remoteuser -i /path/to/rsa/identity_key -C 'LDAP' } This is the status log entry: [1104169159] SERVICE;soluminis1;LDAP;UNKNOWN;3/3;HARD;1104169025;1104169205;ACTIVE; 1;1;1;1104157840;0;UNKNOWN;3706;335959;419;530;1104165074;2;1;0;1;1;0;0. 00;0;1;1;1;LDAP daemon is running. Nagios is running on RH Linux, and the target host is Solaris 9. Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0, protocol versions 1.5/2.0. The remote script worked correctly when monitoring services on a Solaris 8 box which was running SSH Secure Shell (non-commercial license). Check_by_ssh is from nagios-plugins 1.4.0alpha1, version 1.18. What am I not seeing? It's probably some bonehead maneuver on my part, but has anyone else run into (and found their way around) this? Scott Zak Connecticut State University System. Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. ************************************************ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Wed Dec 29 09:45:28 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Dec 2004 09:45:28 +0100 Subject: Nagios on OpenBSD with chroot Apache In-Reply-To: References: Message-ID: <41D26EA8.3060706@op5.se> Jason Hunt wrote: > Hello All, > > I'm trying to use Nagios on OpenBSD 3.6 with the default chroot'd > Apache, but the CGI's are giving me an "Internal Server Error" and > the Apache logs say "Premature end of script headers". > > I searched the archives and read a suggestion to compile Nagios with > static libraries, since the CGI's can't access them from within the > chroot. I set "CC=gcc -static" in the Makefile and did a "make > clean/re-configure/make all/make install", but the same thing > occurrs. > Try LDFLAGS='-static' ./configure youroptions make cgis; make install-cgis It should work fairly well. > I used "/var/www/nagios" as the configure prefix and the permissions > all appear to be setup correctly with the user/group "nagios". The > daemon runs fine. Apache is configured like so: > > ScriptAlias /nagios/cgi-bin "/var/www/nagios/sbin" "/var/www/nagios/sbin"> Options ExecCGI AllowOverride AuthConfig > Order allow,deny Allow from all > > Alias /nagios "/var/www/nagios/share" "/var/www/nagios/share"> Options None AllowOverride AuthConfig Order > allow,deny Allow from all > > Does anyone have any suggetsions on what else can I do to try and > figure this out? 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 From ebollengier at sigma.fr Wed Dec 29 09:54:42 2004 From: ebollengier at sigma.fr (BOLLENGIER Eric) Date: Wed, 29 Dec 2004 09:54:42 +0100 Subject: Status Unknown w/check_by_ssh. Command line OK. In-Reply-To: References: Message-ID: <1104310482.1649.3.camel@plume.sigma.fr> Hi, > Nagios is running on RH Linux, and the target host is Solaris 9. > Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0, > protocol versions 1.5/2.0. Stop, you bug is hier... When you start an remote ssh command with a closed stdin, sun sshd will return 255 as exit code. ssh remoteuser at 149.152.10.183 ls < /dev/null echo $? => 255 We have also this bug. Change your sshd to openssh or write to your support. Bye > The remote script worked correctly when monitoring services on a > Solaris 8 box which was running SSH Secure Shell (non-commercial > license). Check_by_ssh is from nagios-plugins 1.4.0alpha1, version > 1.18. > > What am I not seeing? It's probably some bonehead maneuver on my > part, but has anyone else run into (and found their way around) this? > > Scott Zak > Connecticut State University 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 Javier.Castillo at alhambra-eidos.com Wed Dec 29 10:20:24 2004 From: Javier.Castillo at alhambra-eidos.com (Javier Castillo Alcibar) Date: Wed, 29 Dec 2004 10:20:24 +0100 Subject: Services notification when host is down Message-ID: <1515E176F4AD2E4AA41D92D7C006BC4701234DF6@ALHM4SRV.alhpridom.as> Hello, How can I configure nagios for disabling automatically service checks when the host is down??. Thanks in advance, Javier. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cortez at tiscali.it Wed Dec 29 10:25:39 2004 From: cortez at tiscali.it (Luca Corti) Date: Wed, 29 Dec 2004 10:25:39 +0100 Subject: Issues with nagios 2.0 Message-ID: <1104312339.6417.13.camel@luca> Hello, I've installed nagios from cvs HEAD and have a few issues. I'm on Debian woody. Nagios is compiled with standard options. I've installed nagios in /usr/local/nagios, user and group is 'nagios', user for CGI commands is 'nagios', i've put the apache user (www-data) in the nagios group. Apache is configured as shown in the nagios documentation. The configuration seems to be valid when checked with nagios -v. THe logfile displays no errors. I've successfully started nagios one time, and both daemon and interface seemed to work fine. Issues: 1) When stopping the daemon from init.d three nagios processes remain running. If I reissue /etc/init.d/nagios stop it it complains about the missing lockfile, but some nagios processes are still there. 2) After having killed the stale processes I've tried to restart nagios. The daemon starts but the CGIs are not available and display: Warning: Could not read program status information! I've noticed that no status.dat file is created in the var/ directory. I've checked for permissions on the files and directories. /usr/local/nagios# ls -l total 6 drwxrwsr-x 2 nagios nagios 128 Dec 28 18:34 bin drwxrwsr-x 2 nagios nagios 720 Dec 29 10:06 etc drwxr-sr-x 2 nagios nagios 128 Dec 28 20:42 eventhandlers drwxr-sr-x 2 root nagios 1968 Dec 28 18:42 libexec drwxrwsr-x 2 nagios nagios 584 Dec 28 18:45 sbin drwxrwsr-x 9 nagios nagios 392 Dec 28 18:44 share drwxrwsr-x 4 nagios nagios 288 Dec 29 10:07 var /usr/local/nagios/var# l -l total 277 drwxrwsr-x 2 nagios nagios 48 Dec 28 18:34 archives -rw-rw-r-- 1 nagios nagios 240 Dec 28 18:46 comments.dat -rw-rw-r-- 1 nagios nagios 241 Dec 28 18:46 downtime.dat -rw-r--r-- 1 nagios nagios 6 Dec 29 10:07 nagios.lock -rw-r--r-- 1 nagios nagios 1064 Dec 29 10:07 nagios.log -rw-r--r-- 1 nagios nagios 264790 Dec 29 10:07 objects.cache -rw-r--r-- 1 nagios nagios 0 Dec 29 10:07 retention.dat drwxrwsr-x 2 nagios nagios 80 Dec 29 10:07 rw /usr/local/nagios/var/rw# ls -l total 0 prw-rw---- 1 nagios nagios 0 Dec 29 10:07 nagios.cmd I'm really out of ideas. thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 10:29:06 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Dec 2004 10:29:06 +0100 Subject: Services notification when host is down In-Reply-To: <1515E176F4AD2E4AA41D92D7C006BC4701234DF6@ALHM4SRV.alhpridom.as> References: <1515E176F4AD2E4AA41D92D7C006BC4701234DF6@ALHM4SRV.alhpridom.as> Message-ID: <41D278E2.5000601@op5.se> Javier Castillo Alcibar wrote: > Hello, > > > > How can I configure nagios for disabling automatically service checks > when the host is down??. > You can't. When any service goes up, nagios checks if the host has gone up as well. If no service ever goes up (which would be the case if checks weren't performed) the host will never go up. > > > Thanks in advance, > > Javier. > > > > -- 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 29 10:32:13 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Dec 2004 10:32:13 +0100 Subject: Issues with nagios 2.0 In-Reply-To: <1104312339.6417.13.camel@luca> References: <1104312339.6417.13.camel@luca> Message-ID: <41D2799D.3030605@op5.se> Luca Corti wrote: > Hello, > > I've installed nagios from cvs HEAD and have a few issues. > > I'm on Debian woody. Nagios is compiled with standard options. > > I've installed nagios in /usr/local/nagios, user and group is 'nagios', > user for CGI commands is 'nagios', i've put the apache user (www-data) > in the nagios group. Apache is configured as shown in the nagios > documentation. > > The configuration seems to be valid when checked with nagios -v. THe > logfile displays no errors. > > I've successfully started nagios one time, and both daemon and interface > seemed to work fine. > > > Issues: > > 1) When stopping the daemon from init.d three nagios processes remain > running. If I reissue /etc/init.d/nagios stop it it complains about the > missing lockfile, but some nagios processes are still there. > Those are the worker threads that are running in detached state. Sit back and wait for 15 seconds or so. I've rewritten that init-script to take things like that into account, but it isn't yet general enough for public scrutiny. > 2) After having killed the stale processes I've tried to restart nagios. > The daemon starts but the CGIs are not available and display: > > > Warning: Could not read program status information! > > > I've noticed that no status.dat file is created in the var/ directory. > I've checked for permissions on the files and directories. > > /usr/local/nagios# ls -l > total 6 > drwxrwsr-x 2 nagios nagios 128 Dec 28 18:34 bin > drwxrwsr-x 2 nagios nagios 720 Dec 29 10:06 etc > drwxr-sr-x 2 nagios nagios 128 Dec 28 20:42 eventhandlers > drwxr-sr-x 2 root nagios 1968 Dec 28 18:42 libexec > drwxrwsr-x 2 nagios nagios 584 Dec 28 18:45 sbin > drwxrwsr-x 9 nagios nagios 392 Dec 28 18:44 share > drwxrwsr-x 4 nagios nagios 288 Dec 29 10:07 var > > /usr/local/nagios/var# l -l > total 277 > drwxrwsr-x 2 nagios nagios 48 Dec 28 18:34 archives > -rw-rw-r-- 1 nagios nagios 240 Dec 28 18:46 comments.dat > -rw-rw-r-- 1 nagios nagios 241 Dec 28 18:46 downtime.dat > -rw-r--r-- 1 nagios nagios 6 Dec 29 10:07 nagios.lock > -rw-r--r-- 1 nagios nagios 1064 Dec 29 10:07 nagios.log > -rw-r--r-- 1 nagios nagios 264790 Dec 29 10:07 objects.cache > -rw-r--r-- 1 nagios nagios 0 Dec 29 10:07 retention.dat > drwxrwsr-x 2 nagios nagios 80 Dec 29 10:07 rw > > /usr/local/nagios/var/rw# ls -l > total 0 > prw-rw---- 1 nagios nagios 0 Dec 29 10:07 nagios.cmd > > > I'm really out of ideas. > -- 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 cortez at tiscali.it Wed Dec 29 10:43:21 2004 From: cortez at tiscali.it (Luca Corti) Date: Wed, 29 Dec 2004 10:43:21 +0100 Subject: Issues with nagios 2.0 In-Reply-To: <41D2799D.3030605@op5.se> References: <1104312339.6417.13.camel@luca> <41D2799D.3030605@op5.se> Message-ID: <1104313401.6417.20.camel@luca> On Wed, 2004-12-29 at 10:32 +0100, Andreas Ericsson wrote: > Those are the worker threads that are running in detached state. Sit > back and wait for 15 seconds or so. It's 5 minutes since I stopped nagios, and the processes are still there. I think this is a different issue. thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Javier.Castillo at alhambra-eidos.com Wed Dec 29 10:45:32 2004 From: Javier.Castillo at alhambra-eidos.com (Javier Castillo Alcibar) Date: Wed, 29 Dec 2004 10:45:32 +0100 Subject: Services notification when host is down Message-ID: <1515E176F4AD2E4AA41D92D7C006BC4701234DF7@ALHM4SRV.alhpridom.as> Thx, Andreas. But this sounds a lit a bit strange.... I think there should be an implicit relationship between host status and services status.....If a host is down, the services offered by that host, will be, at least, something like unreachable, don't you think so? Javier. -----Mensaje original----- De: Andreas Ericsson [mailto:ae at op5.se] Enviado el: mi?rcoles, 29 de diciembre de 2004 10:29 Para: Javier Castillo Alcibar CC: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] Services notification when host is down Javier Castillo Alcibar wrote: > Hello, > > > > How can I configure nagios for disabling automatically service checks > when the host is down??. > You can't. When any service goes up, nagios checks if the host has gone up as well. If no service ever goes up (which would be the case if checks weren't performed) the host will never go up. > > > Thanks in advance, > > Javier. > > > > -- 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 29 11:06:47 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Dec 2004 11:06:47 +0100 Subject: Services notification when host is down In-Reply-To: <1515E176F4AD2E4AA41D92D7C006BC4701234DF7@ALHM4SRV.alhpridom.as> References: <1515E176F4AD2E4AA41D92D7C006BC4701234DF7@ALHM4SRV.alhpridom.as> Message-ID: <41D281B7.2030507@op5.se> Javier Castillo Alcibar wrote: > Thx, Andreas. > > But this sounds a lit a bit strange.... I think there should be an implicit relationship between host status and services status.....If a host is down, the services offered by that host, will be, at least, something like unreachable, don't you think so? > That's why notifications are suppressed for those services. > Javier. > > > -----Mensaje original----- > De: Andreas Ericsson [mailto:ae at op5.se] > Enviado el: mi?rcoles, 29 de diciembre de 2004 10:29 > Para: Javier Castillo Alcibar > CC: nagios-users at lists.sourceforge.net > Asunto: Re: [Nagios-users] Services notification when host is down > > Javier Castillo Alcibar wrote: > >>Hello, >> >> >> >>How can I configure nagios for disabling automatically service checks >>when the host is down??. >> > > > You can't. When any service goes up, nagios checks if the host has gone > up as well. If no service ever goes up (which would be the case if > checks weren't performed) the host will never go up. > > >> >> >>Thanks in advance, >> >>Javier. >> >> >> >> > > -- 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 dourix at madacom.mg Wed Dec 29 11:27:22 2004 From: dourix at madacom.mg (Do-Risika RAFIEFERANTSIARONJY) Date: Wed, 29 Dec 2004 13:27:22 +0300 Subject: Issues with nagios 2.0 In-Reply-To: <1104312339.6417.13.camel@luca> References: <1104312339.6417.13.camel@luca> Message-ID: <41D2868A.5020006@madacom.mg> Luca Corti wrote: > 1) When stopping the daemon from init.d three nagios processes remain > running. If I reissue /etc/init.d/nagios stop it it complains about the > missing lockfile, but some nagios processes are still there. on a debian woody, i had also that problem, until i put nice -$NICENESS start-stop-daemon ... in the init script : dourix at madaibm:~$ diff /etc/init.d/nagios.dpkg-1.3-0+pre6 /etc/init.d/nagios -u --- /etc/init.d/nagios.dpkg-1.3-0+pre6 Sun Dec 5 08:45:19 2004 +++ /etc/init.d/nagios Sun Dec 19 14:25:57 2004 @@ -107,8 +107,8 @@ if check_config; then rm -f $NAMEDPIPE - start-stop-daemon --start --quiet \ - --nicelevel $NICENESS \ + nice -$NICENESS \ + start-stop-daemon --start --quiet \ --pidfile $PIDFILE \ --make-pidfile --background --exec $DAEMON -- $CONFIG echo "$NAME." dourix at madaibm:~$ hope that helps, @+ -- DouRiX ["Memory is like an orgasm. It's a lot better if you don't have to fake it." -- Seymour Cray (on virtual memory)] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lubeg at mail.ru Wed Dec 29 11:44:58 2004 From: lubeg at mail.ru (lubeg at mail.ru) Date: Wed, 29 Dec 2004 16:44:58 +0600 Subject: Service state macro problem Message-ID: <979718307.20041229164458@211.ru> Hi all, well, I have following configuration: # nagios -V Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 # uname -a FreeBSD 5.3-STABLE #1: Wed Dec 15 15:28:53 UTC 2004 i386 KERNEL # less services.cfg: define service{ use generic-ping host_name PROVIDER event_handler wakeup-reserve-link service_description PING check_command check_ping } # more checkcommands.cfg: : define command{ command_name wakeup-reserve-link command_line echo "$SERVICESTATE$" "$STATETYPE$" "$SERVICEATTEMPT$" >> /tmp/handler } when I've added a rule in firewall which blocking icmp packets to my provider from monitoring host I see in `/tmp/handler' the following: # cat /tmp/handler: SOFT HARD HARD OK HARD 1 Everything is ok with $SERVICETYPE$ but $SERVICESTATE$ is broken when it should be 'CRITICAL'. Everything is ok in notification area. I mean that $SERVICESTATE$ macro is working when notifications is sent. 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 MarkCooper at bulldogdsl.com Wed Dec 29 11:49:45 2004 From: MarkCooper at bulldogdsl.com (Cooper, Mark) Date: Wed, 29 Dec 2004 10:49:45 -0000 Subject: Easy User Defined Status Map updates Message-ID: Dunno if anyone will find this useful, but I was having problems with a largish network not being displayed particularly well in the status map and needed a way to easily create the user defined status map coords. So ... Two very simple scripts to convert the config's back and forth between nagios and cheops-ng for the purpose of getting the nagios status map looking pretty :) nag2che.awk - ( cat hostextinfo.cfg | ./nag2che.awk ) Reads the Nagios config file and creates a cheops-ng config file. You can then fire up cheops-ng and drag and drop the nodes the the location you want them. che2nag.awk - ( cat hostextinfo.cfg | ./che2nag.awk ) Pulls out the x,y coords from the cheops-nf config file and updates the nagios config file with the new node positions -- Mark Cooper -------------- next part -------------- A non-text attachment was scrubbed... Name: ezmap.tar Type: application/x-tar Size: 10240 bytes Desc: ezmap.tar URL: From cortez at tiscali.it Wed Dec 29 12:09:26 2004 From: cortez at tiscali.it (Luca Corti) Date: Wed, 29 Dec 2004 12:09:26 +0100 Subject: Issues with nagios 2.0 In-Reply-To: <41D2868A.5020006@madacom.mg> References: <1104312339.6417.13.camel@luca> <41D2868A.5020006@madacom.mg> Message-ID: <1104318567.6417.24.camel@luca> On Wed, 2004-12-29 at 13:27 +0300, Do-Risika RAFIEFERANTSIARONJY wrote: > on a debian woody, i had also that problem, until i put nice -$NICENESS > start-stop-daemon ... in the init script : > > dourix at madaibm:~$ diff /etc/init.d/nagios.dpkg-1.3-0+pre6 > /etc/init.d/nagios -u > --- /etc/init.d/nagios.dpkg-1.3-0+pre6 Sun Dec 5 08:45:19 2004 > +++ /etc/init.d/nagios Sun Dec 19 14:25:57 2004 > @@ -107,8 +107,8 @@ > > if check_config; then > rm -f $NAMEDPIPE > - start-stop-daemon --start --quiet \ > - --nicelevel $NICENESS \ > + nice -$NICENESS \ > + start-stop-daemon --start --quiet \ > --pidfile $PIDFILE \ > --make-pidfile --background --exec $DAEMON -- $CONFIG > echo "$NAME." I think the init.d script you are using is the custom debian one for nagios 1.3, while I'm using the upstream 2.0 nagios script which doesn't use start-stop-daemon. Where is the NICENESS variable set? thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 29 14:11:11 2004 From: gmueller at netways.de (Gerd Mueller) Date: Wed, 29 Dec 2004 14:11:11 +0100 (CET) Subject: Easy User Defined Status Map updates In-Reply-To: References: Message-ID: <20041229131111.663DD4F40EB@desire.netways.de> Hi Mark, it would be nice if you could uploaded on www.nagiosexchange.org Thank you - 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]=715 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 29 14:17:51 2004 From: gmueller at netways.de (Gerd Mueller) Date: Wed, 29 Dec 2004 14:17:51 +0100 (CET) Subject: NSCA problem In-Reply-To: <200412280022.iBS0M510025592@gw0.pictage.com.ar> References: <200412280022.iBS0M510025592@gw0.pictage.com.ar> Message-ID: <20041229131751.16E624F40EB@desire.netways.de> Hi try /bin/echo -e "Host\tService\tServiceOutput\tPerformanceData\n" | /usr/local/nagios/bin/send_nsca monitor -c /usr/local/nagios/etc/send_ns ca.cfg Than you should find this event inside the nagios.log - 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]=671 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 18:55:16 2004 From: EmmettH at Examen.com (Emmett Hogan) Date: Wed, 29 Dec 2004 09:55:16 -0800 Subject: Nagios + Logsurfer or Swatch? In-Reply-To: <41CABBB3.9020404@interface-business.de> References: <41C9BD9F.3010307@Examen.com> <20041222211123.GH1816@zippy.toger.us> <41CABBB3.9020404@interface-business.de> Message-ID: <41D2EF84.5020209@Examen.com> Thanks for the suggestions from everyone on this. Most folks pointed me to check_log2.pl in the contrib directory of the plugins distribution. check_log2 is great for two reasons: 1) It's written in PERL, so I can hack on it, 2) it takes regular expressions, so you can bundle mutilple checks in one pass. However, the major drawback to it, is that it returns only two states: OK, or WARNING. There are some log messages which I would consider CRITICAL. So, unless someone has a better suggestion...I think I will hack check_log2 to take parameters like this: check_log2.pl -l -s -cp [-cn ] -wp [-wn ] Where "-cp" and "-cn" indicate the CRITICAL patterns to look for, and "-wp" and "-wn" are the WARNING patterns. Anybody see any potential problems with that? -Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From s.shipway at auckland.ac.nz Wed Dec 29 21:14:07 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 30 Dec 2004 09:14:07 +1300 Subject: Check size of a Windows Server In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209E0D@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209E0D@epsewr01.ewrlan.ewr.int> Message-ID: <000c01c4ede2$f3ca4dd0$01fea8c0@itss.auckland.ac.nz> >I use NRPE to check some Windows services now i need to check >the size of one service >because it not really crash&close he crashs an get only a >lower size in system memory. > >Anyone done a check for service size before? If you're after what I think, then you can do it with pNSclient. Check the perfMon counters -- there's a place for resource usage on a per-process basis and you can search for the process name. This should be able to give you what you want? We're doing something similar for memory use by our SQL Server processes. Since pNSclient can also monitor services, you might be better off using just pnsclient unless you are using NRPE to run custom scripts or to restart stopped services. 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 jamie.baddeley at vpc.co.nz Wed Dec 29 21:32:39 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 30 Dec 2004 09:32:39 +1300 Subject: check_icmp v0.8 In-Reply-To: <413D01E1.40806@op5.se> References: <413D01E1.40806@op5.se> Message-ID: <1104352359.1913.23.camel@munter> I've noticed that when check_icmp checks a host that results in ICMP unreachables, the ICMP unreachable messages spill over* into other check results (specifically status information) for other hosts...Which I am fairly sure is not desirable.. I also notice from CLI that for the host in question, for 5 pings, 5 ICMP unreachable messages are produced (over and above the check result) * "spill over" - I see the icmp unreachable result e.g "ICMP Unreachable from 161.65.1.x for ICMP Echo sent to 10.16.0.x" for a icmp check to 10.16.0.x - Right now I have a host down (at 161.65.7.x) that is reached via 161.65.1.x. This is fine. But the odd thing is I have a completely different check testing 10.16.0.x that has nothing in common with the 161.65.1.x route, and as you can see, nagios or check_icmp seems to mix things up. The actual result isn't messed with (10.16.0.x is reported as OK) - just the status information... testing with redirects seems to suggest the output is standard out, not standard error. Shouldn't check_icmp only result in one line of extra status info (i.e icmp unreachable etc) *following* the actual result (i.e CRITICAL - 161.65.7.x is down)? Am I smoking crack or is this a bug? noc:~# /usr/lib/nagios/plugins/check_icmp -H 161.65.7.x -w 10,10 -c 20,20 -n 1 -r 1 2>/dev/null ICMP Unreachable from 161.65.1.xxx for ICMP Echo sent to 161.65.7.x ICMP Unreachable from 161.65.1.xxx for ICMP Echo sent to 161.65.7.x CRITICAL - 161.65.7.x is down (lost 100%)|rta=;10;20;; pl=100%;10;20;; noc:~# cheers jamie On Tue, 2004-09-07 at 02:33 +0200, Andreas Ericsson wrote: > Background; > check_icmp is a plugin designed to measure ICMP response times and > packet-loss. Since it doesn't fork any other programs to do its dirty > work it eliminates the tedious "Unable to parse output" messages" some > users have experienced. > > Fixes; > Some issues were detected with check_icmp version 0.6, which has been > floating around for a while. Now I had the time to fix them, so I did. > Those of you looking for version 0.7 will be a bit disappointed. It was > never released to the public. > > Version 0.8 fixes the following issues; > * argument parsing on *BSD systems (can someone confirm?). > * performance-data works properly. > > Notes; > * When a 100% packet-loss is encountered, output will be as such: > |rta=;warn;crit;; pl=100%;warn;crit;; > * Performance data output is only available when checking a single host. > > Sourcecode is available at > http://sourceforge.net/tracker/index.php?func=detail&aid=1008452&group_id=29880&atid=541465 > and > http://devel.op5.se/oss/check_icmp-0.8.tar.gz > -- Jamie Baddeley ViewPoint Consulting Ltd ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdragone at pictage.com.ar Thu Dec 30 00:26:39 2004 From: jdragone at pictage.com.ar (Jose Dragone) Date: Wed, 29 Dec 2004 20:26:39 -0300 Subject: NSCA problem Message-ID: <41D33D2F.4050805@pictage.com.ar> Hi Thanks for answering me so soon. In fact I do not have nagios on the client host, just the send_nsca compiled in the client host and the nsca compiled in the nagios host ( in this case :monitor2) The output got when nsca is running as daemon ( [root at monitor2 src]# ./nsca -c /usr/local/nagios/etc/nsca.cfg --daemon ) is the following: [root at monitor1 Snmp-Scripts]# echo -e "Host\tService\tServiceOutput\tPerformanceData\n" | ./send_nsca monitor2 -c /root/Snmp-Scripts/send_nsca.cfg Connection refused by host Error: Could not connect to host monitor2 on port 5667 [root at monitor1 Snmp-Scripts]# then cp nsca.xinetd /etc/xinetd.d/nsca service xinetd restart Stopping xinetd: [ OK ] Starting xinetd: [ OK ] cp nsca /usr/local/nagios/nsca/ (with relative path to nsca.cfg) that means the following: inside file "nsca.c" , and before compiling , I've set as: static char config_file[MAX_INPUT_BUFFER]="nsca.cfg"; Then: service nagios stop service nagios start and got the following: [root at monitor1 Snmp-Scripts]# echo -e "monitor1\tService\tServiceOutput\tPerformanceData\n" | ./send_nsca monitor2 -c /root/Snmp-Scripts/send_nsca.cfg Error: Server closed connection before init packet was received Error: Could not read init packet from server [root at monitor1 Snmp-Scripts]# then cp nsca-full-path-2--nsca-config /usr/local/nagios/nsca/nsca with source file nsca.c: static char config_file[MAX_INPUT_BUFFER]="/usr/local/nagios/etc/nsca.cfg"; and then compiling it and copying it to /usr/local/nagios/nsca/nsca then :service nagios restart I've got the following output in the client: [root at monitor1 Snmp-Scripts]# echo -e "monitor1\tService\tServiceOutput\tPerformanceData\n" | ./send_nsca monitor2 -c /root/Snmp-Scripts/send_nsca.cfg Error: Server closed connection before init packet was received Error: Could not read init packet from server [root at monitor1 Snmp-Scripts]# Any clues? thanks Jose ==================================================================================== Hi try /bin/echo -e "Host\tService\tServiceOutput\tPerformanceData\n" |= /usr/local/nagios/bin/send_nsca monitor -c /usr/local/nagios/etc/send_ns= ca.cfg Than you should find this event inside the nagios.log - Gerd Mueller (Gerd.Mueller) ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.erickson at apigroupinc.us Thu Dec 30 00:26:29 2004 From: brian.erickson at apigroupinc.us (Brian Erickson) Date: Wed, 29 Dec 2004 17:26:29 -0600 Subject: Need help with nrpe and check_memory Message-ID: Everyone, I am trying to get NRPE to use check_memory from a remote server, but I keep getting: CHECK_NRPE: Error receiving data from daemon. My services.cfg looks like this: define service{ use generic-service ; Name of service host_name buri service_description Total Memory is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups network-admins notification_interval 60 notification_period none notification_options c,r check_command check_rem_mem } My checkcommands.cfg looks like this: # 'check_rem_mem' command definition define command{ command_name check_rem_mem command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_mem } and on the remote server, the nrpe.cfg looks like this: command[check_mem]=/var/lib/nagios/check_memory -t total -w 30 -c 10 I am using Nagios 1.2, both machines are FC2 and check_memory works fine on the remote machine, when run from there. Thanks in advance. Brian Erickson Network Manager -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Dec 30 00:51:12 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Dec 2004 00:51:12 +0100 Subject: check_icmp v0.8 In-Reply-To: <1104352359.1913.23.camel@munter> References: <413D01E1.40806@op5.se> <1104352359.1913.23.camel@munter> Message-ID: <41D342F0.9050107@op5.se> Jamie Baddeley wrote: > I've noticed that when check_icmp checks a host that results in ICMP > unreachables, the ICMP unreachable messages spill over* into other check > results (specifically status information) for other hosts...Which I am > fairly sure is not desirable.. I also notice from CLI that for the host > in question, for 5 pings, 5 ICMP unreachable messages are produced (over > and above the check result) > Do you mean the status string is shown for other hosts in the nagios GUI, or that the status output from the check_icmp plugin is the same whether you check one or multiple hosts? > * "spill over" - I see the icmp unreachable result e.g "ICMP Unreachable > from 161.65.1.x for ICMP Echo sent to 10.16.0.x" for a icmp check to > 10.16.0.x - Right now I have a host down (at 161.65.7.x) that is > reached via 161.65.1.x. This is fine. But the odd thing is I have a > completely different check testing 10.16.0.x that has nothing in common > with the 161.65.1.x route, and as you can see, nagios or check_icmp > seems to mix things up. > > The actual result isn't messed with (10.16.0.x is reported as OK) - just > the status information... > > testing with redirects seems to suggest the output is standard out, not > standard error. > This is by design. Nagios can't read stderr, so everything intended to show up in the cgi's must be written to stdout. > Shouldn't check_icmp only result in one line of extra status info (i.e > icmp unreachable etc) *following* the actual result (i.e CRITICAL - > 161.65.7.x is down)? > > Am I smoking crack or is this a bug? > It was originally a debug line which proved nifty to provide info when improper routing was the cause of ICMP_UNREACH'es, so by general demand I left it in there. An ICMP_UNREACH message indicates that one (or more) routers along the way doesn't know what the next hop of the packet will be, so all of the packets will fail (unless the router starts behaving magically between two packets). Anyways. I'm about to undertake a rather massive rewrite of the check_icmp plugin. It should fix most if not all of the issues users have been having with it. > > noc:~# /usr/lib/nagios/plugins/check_icmp -H 161.65.7.x -w 10,10 -c > 20,20 -n 1 -r 1 2>/dev/null > > ICMP Unreachable from 161.65.1.xxx for ICMP Echo sent to 161.65.7.x > ICMP Unreachable from 161.65.1.xxx for ICMP Echo sent to 161.65.7.x > CRITICAL - 161.65.7.x is down (lost 100%)|rta=;10;20;; pl=100%;10;20;; That's a bit funny. It seems either the offending (offended?) router sends duplicate ICMP's back, or check_icmp sends two packets when told to send only 1. Anyways. I'll add it to the testsuite to make sure it happens the right way. > noc:~# > > cheers > > jamie > > > On Tue, 2004-09-07 at 02:33 +0200, Andreas Ericsson wrote: > >>Background; >>check_icmp is a plugin designed to measure ICMP response times and >>packet-loss. Since it doesn't fork any other programs to do its dirty >>work it eliminates the tedious "Unable to parse output" messages" some >>users have experienced. >> >>Fixes; >>Some issues were detected with check_icmp version 0.6, which has been >>floating around for a while. Now I had the time to fix them, so I did. >>Those of you looking for version 0.7 will be a bit disappointed. It was >>never released to the public. >> >>Version 0.8 fixes the following issues; >>* argument parsing on *BSD systems (can someone confirm?). >>* performance-data works properly. >> >>Notes; >>* When a 100% packet-loss is encountered, output will be as such: >>|rta=;warn;crit;; pl=100%;warn;crit;; >>* Performance data output is only available when checking a single host. >> >>Sourcecode is available at >>http://sourceforge.net/tracker/index.php?func=detail&aid=1008452&group_id=29880&atid=541465 >>and >>http://devel.op5.se/oss/check_icmp-0.8.tar.gz >> -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 01:03:31 2004 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Thu, 30 Dec 2004 01:03:31 +0100 Subject: check_icmp v0.8 In-Reply-To: <41D342F0.9050107@op5.se> References: <413D01E1.40806@op5.se> <1104352359.1913.23.camel@munter> <41D342F0.9050107@op5.se> Message-ID: <200412300103.32069.benoit.mortier@opensides.be> Le jeudi 30 D?cembre 2004 00:51, Andreas Ericsson a ?crit?: > Jamie Baddeley wrote: > Anyways. I'm about to undertake a rather massive rewrite of the > check_icmp plugin. It should fix most if not all of the issues users > have been having with it. hi, i have already worked on the check_icmp plugins in the nagiosplug cvs, mainly adding print_help, print_usage and localizing it. Could you use that as a base for a rewrite so the work will not be lost. thanks -- Benoit Mortier OpenSides sprl Linux Engineer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdragone at pictage.com.ar Thu Dec 30 01:05:37 2004 From: jdragone at pictage.com.ar (Jose Dragone) Date: Wed, 29 Dec 2004 21:05:37 -0300 Subject: NSCA problem In-Reply-To: <41D33D2F.4050805@pictage.com.ar> References: <41D33D2F.4050805@pictage.com.ar> Message-ID: <41D34651.3060903@pictage.com.ar> Jose Dragone wrote: > Hi > Thanks for answering me so soon. > > > In fact I do not have nagios on the client host, just the send_nsca > compiled in the client host and the nsca compiled in the nagios host ( > in this case :monitor2) > > The output got when nsca is running as daemon ( [root at monitor2 src]# > ./nsca -c /usr/local/nagios/etc/nsca.cfg --daemon ) > is the following: > > [root at monitor1 Snmp-Scripts]# echo -e > "Host\tService\tServiceOutput\tPerformanceData\n" | ./send_nsca > monitor2 -c /root/Snmp-Scripts/send_nsca.cfg > Connection refused by host > Error: Could not connect to host monitor2 on port 5667 > [root at monitor1 Snmp-Scripts]# > then cp nsca.xinetd /etc/xinetd.d/nsca > service xinetd restart > Stopping xinetd: [ OK ] > Starting xinetd: [ OK ] > > cp nsca /usr/local/nagios/nsca/ (with relative path to nsca.cfg) > that means the following: > inside file "nsca.c" , and before compiling , I've set as: > > static char config_file[MAX_INPUT_BUFFER]="nsca.cfg"; > > Then: > service nagios stop service nagios start > > and got the following: > > [root at monitor1 Snmp-Scripts]# echo -e > "monitor1\tService\tServiceOutput\tPerformanceData\n" | ./send_nsca > monitor2 -c /root/Snmp-Scripts/send_nsca.cfg > Error: Server closed connection before init packet was received > Error: Could not read init packet from server > [root at monitor1 Snmp-Scripts]# > > then > cp nsca-full-path-2--nsca-config /usr/local/nagios/nsca/nsca > with source file nsca.c: > static char > config_file[MAX_INPUT_BUFFER]="/usr/local/nagios/etc/nsca.cfg"; > and then compiling it and copying it to /usr/local/nagios/nsca/nsca > > then :service nagios restart > > I've got the following output in the client: > > [root at monitor1 Snmp-Scripts]# echo -e > "monitor1\tService\tServiceOutput\tPerformanceData\n" | ./send_nsca > monitor2 -c /root/Snmp-Scripts/send_nsca.cfg > Error: Server closed connection before init packet was received > Error: Could not read init packet from server > [root at monitor1 Snmp-Scripts]# > > Any clues? > > thanks > > Jose P.S.: [root at monitor2 src]# vi /var/log/messages Dec 29 18:35:12 monitor2 nsca[22824]: No variable value specified in config file '/usr/local/nagios/etc/nsca.cfg' - Line 138 Dec 29 20:06:54 monitor2 nsca[24571]: No variable value specified in config file '/usr/local/nagios/etc/nsca.cfg' - Line 138 Dec 29 20:18:46 monitor2 nsca[24778]: Could not open config file '/usr/local/nagios/etc/nsca.cfg' for reading Dec 29 20:25:21 monitor2 nsca[24911]: Could not open config file '/usr/local/nagios/etc/nsca.cfg' for reading [root at monitor1 Snmp-Scripts]# echo -e "monitor1\tService\tServiceOutput\tPerformanceData\n" | ./send_nsca monitor2 -c /root/Snmp-Scripts/send_nsca.cfg Error: Server closed connection before init packet was received Error: Could not read init packet from server Then, in monitor2 :/var/log/messages: Dec 29 21:02:28 monitor2 nsca[25145]: Could not open config file '/usr/local/nagios/etc/nsca.cfg' for reading but this time I 've set the complaining line in file : [root at monitor2 src]# vi /usr/local/nagios/etc/nsca.cfg #password= > > ==================================================================================== > > Hi > > > try > > > > /bin/echo -e "Host\tService\tServiceOutput\tPerformanceData\n" |= > > /usr/local/nagios/bin/send_nsca monitor -c /usr/local/nagios/etc/send_ns= > > ca.cfg > > > > Than you should find this event inside the nagios.log > > > > - Gerd Mueller (Gerd.Mueller) > > > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.baddeley at vpc.co.nz Thu Dec 30 01:33:07 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 30 Dec 2004 13:33:07 +1300 Subject: check_icmp v0.8 In-Reply-To: <41D342F0.9050107@op5.se> References: <413D01E1.40806@op5.se> <1104352359.1913.23.camel@munter> <41D342F0.9050107@op5.se> Message-ID: <1104366787.3272.20.camel@munter> On Thu, 2004-12-30 at 00:51 +0100, Andreas Ericsson wrote: > Jamie Baddeley wrote: > > I've noticed that when check_icmp checks a host that results in ICMP > > unreachables, the ICMP unreachable messages spill over* into other check > > results (specifically status information) for other hosts...Which I am > > fairly sure is not desirable.. I also notice from CLI that for the host > > in question, for 5 pings, 5 ICMP unreachable messages are produced (over > > and above the check result) > > > > Do you mean the status string is shown for other hosts in the nagios > GUI, or that the status output from the check_icmp plugin is the same > whether you check one or multiple hosts? Umm. Both. For true down host, status info is ICMP Unreachable from 161.65.1.x for ICMP Echo sent to 161.65.7.x in the gui. For random other host foo in the gui, status info can be ICMP Unreachable from 161.65.1.x for ICMP Echo sent to foo in the gui. I couldn't count any more than 5 other random foo hosts showing the symptoms at any one time.... > > testing with redirects seems to suggest the output is standard out, not > > standard error. > > > > This is by design. Nagios can't read stderr, so everything intended to > show up in the cgi's must be written to stdout. Sure, what I was testing is whether you intentionally wanted the other icmp unreachable info to appear, which it seems you do. > > > Shouldn't check_icmp only result in one line of extra status info (i.e > > icmp unreachable etc) *following* the actual result (i.e CRITICAL - > > 161.65.7.x is down)? > > > > Am I smoking crack or is this a bug? > > > > It was originally a debug line which proved nifty to provide info when > improper routing was the cause of ICMP_UNREACH'es, so by general demand > I left it in there. An ICMP_UNREACH message indicates that one (or more) > routers along the way doesn't know what the next hop of the packet will > be, so all of the packets will fail (unless the router starts behaving > magically between two packets). I agree that the info is useful, it's just that one line per check rather than for each ping would be less troublesome. And appending the extra info, rather than prepending it might fix things up?? > > Anyways. I'm about to undertake a rather massive rewrite of the > check_icmp plugin. It should fix most if not all of the issues users > have been having with it. > Happy New Year! ;-) > > > > noc:~# /usr/lib/nagios/plugins/check_icmp -H 161.65.7.x -w 10,10 -c > > 20,20 -n 1 -r 1 2>/dev/null > > > > ICMP Unreachable from 161.65.1.xxx for ICMP Echo sent to 161.65.7.x > > ICMP Unreachable from 161.65.1.xxx for ICMP Echo sent to 161.65.7.x > > CRITICAL - 161.65.7.x is down (lost 100%)|rta=;10;20;; pl=100%;10;20;; > > That's a bit funny. It seems either the offending (offended?) router > sends duplicate ICMP's back, or check_icmp sends two packets when told > to send only 1. Not really IMHO. It sends one, and then retries once. 1+1=2 :-) > > Anyways. I'll add it to the testsuite to make sure it happens the right way. > cool. thanks. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pacsa at x-dsl.hu Thu Dec 30 01:49:32 2004 From: pacsa at x-dsl.hu (Pataki Csaba) Date: Thu, 30 Dec 2004 01:49:32 +0100 (CET) Subject: Auth problem on Debian nagios 1.3-0+pre6 Apache2 Message-ID: Hi I've encountered the following 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.' -- I've read the manual and I double checked is should be fine. The nagios.cfg, resoure.cfg, cgi.cfg has been set. 1 user has been created in htpaswd.users and I defined the same contact_name in contacts.cfg. the config has been verified. The web auth seem ok (the username/pwd form appears and I can login). But after I logged in I got the above message for example in : Host Detail menu. The config was tested with mysql and test package as well, the status update working well but the web auth doesn't work even in both cases. I have absolutely no idea where can be any misconfiguration. Thanks for any help. -- Csaba ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 03:20:41 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Dec 2004 03:20:41 +0100 Subject: check_icmp v0.8 In-Reply-To: <200412300103.32069.benoit.mortier@opensides.be> References: <413D01E1.40806@op5.se> <1104352359.1913.23.camel@munter> <41D342F0.9050107@op5.se> <200412300103.32069.benoit.mortier@opensides.be> Message-ID: <41D365F9.6020202@op5.se> Benoit Mortier wrote: > Le jeudi 30 D?cembre 2004 00:51, Andreas Ericsson a ?crit : > >>Jamie Baddeley wrote: > > >>Anyways. I'm about to undertake a rather massive rewrite of the >>check_icmp plugin. It should fix most if not all of the issues users >>have been having with it. > > > hi, > > i have already worked on the check_icmp plugins in the nagiosplug cvs, > mainly adding print_help, print_usage and localizing it. > > Could you use that as a base for a rewrite so the work will not be lost. > Probably not. The old code is structured in a very round-robin way (an fping legacy) which makes it a bit hard to maintain and add random "plugin-ish" features to. Those new features I'd like to add are f.e. support for pinging using various other protocols (udp and tcp to begin with - tcp pings would require packet socket handling on OSI layer 2) and the possibility of running it in check_host mode and be ultra-fast. > thanks -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Dec 30 06:57:59 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Thu, 30 Dec 2004 06:57:59 +0100 Subject: Check size of a Windows Server <--- Service Message-ID: <90D32590BAD135448DC12C1EA3EB4482209E14@epsewr01.ewrlan.ewr.int> Hi! I had a wrong word in my subject for this thread.... :) I need to check the size of a service, not a server .... Umm i will look forward to test pnsclient, but i think nrpe does the same but with more options? I wish anyone in the list a Happy New Year!!! -andreas > >I use NRPE to check some Windows services now i need to check > >the size of one service > >because it not really crash&close he crashs an get only a > >lower size in system memory. > > > >Anyone done a check for service size before? > > If you're after what I think, then you can do it with > pNSclient. Check the > perfMon counters -- there's a place for resource usage on a > per-process > basis and you can search for the process name. This should > be able to give > you what you want? We're doing something similar for memory > use by our SQL > Server processes. > > Since pNSclient can also monitor services, you might be > better off using > just pnsclient unless you are using NRPE to run custom > scripts or to restart > stopped services. > > 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. ** > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LLawrence at osc.uscg.mil Thu Dec 30 15:29:23 2004 From: LLawrence at osc.uscg.mil (Lawrence, Lynne) Date: Thu, 30 Dec 2004 09:29:23 -0500 Subject: Doubt in plugins in nagios Message-ID: <13828F680182D511893300508BD6831706E583B0@oscex2.osc.uscg.mil> Jaya, The information on writing plugins is all in the documentation, see sections 'Writing your own plugins' and 'Plugin theory'. These will point you to the plugins website which also has lots of info. I would not recommend writing an active-check plugin in java due to the overhead of instantiating the JRE on each execution. Writing a java daemon that submits passive check results would work, though. Regards, Lynne Lawrence -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jlnarayanan00 at aol.com Sent: Thursday, December 30, 2004 9:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Doubt in plugins in nagios Hi, I am new to nagios.What are all the changes do we need to make while adding new plugins for implementing our tasks. Can we have a shell script that triggers a java program as a plugin in nagios.Can anybody help me out in this. Thanks, Jaya -------------- next part -------------- An HTML attachment was scrubbed... URL: From niederha at us.ibm.com Thu Dec 30 16:07:58 2004 From: niederha at us.ibm.com (Kyle Niederhauser) Date: Thu, 30 Dec 2004 08:07:58 -0700 Subject: Kyle Niederhauser is out of the office. Message-ID: I will be out of the office starting 12/28/2004 and will not return until 01/03/2005. I will be out of the office until Monday January 3rd. If you need assistance, please call the Solution Center at 918-573-2336. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at kishmish.com Thu Dec 30 17:10:58 2004 From: nagios at kishmish.com (Michael Varre) Date: Thu, 30 Dec 2004 11:10:58 -0500 Subject: Upgrading 1.x to 2.x Message-ID: So I'm think about upgrading my 1.x nagios servers to 2.x and I have yet to find any useful docs that explain the process or what the process entails. Does anyone know if there is a good upgrade doc out there somewhere? Thx mv ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Michael Varre - Systems Administrator Kishmish, Inc. - Expert IT Solutions For Your Business 2 Clinton Square, Suite 130 Syracuse, NY 13202 (o) 315.478.8172 x801 (f) 800.365.3951 (m) 315.952.5753 (e) mike at kishmish.com (w) www.kishmish.com "Do not be afraid to try something new... Remember, amateurs built the ark; professionals built the Titanic." [Hidden DOS secret: Add BUGS=OFF to your CONFIG.SYS] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabe at pancentric.com Thu Dec 30 12:22:54 2004 From: gabe at pancentric.com (Gabriel Granger) Date: Thu, 30 Dec 2004 11:22:54 +0000 Subject: setup yaps Message-ID: <268E9CA2-5A55-11D9-A18A-000A95864E06@pancentric.com> Hi All, I'm wanting to setup Nagios to send out sms via my nokia mobile which is connected via serial. I've installed yaps, but cant find much information about setting it up for talking to a mobile via serial. Does anyone know how to go about setting this up easily? Many thanks for your help, --- Merry Christmas & Happy new year Gabe Granger ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bperrine at shakopee.k12.mn.us Thu Dec 30 19:15:13 2004 From: bperrine at shakopee.k12.mn.us (Perrine, Brandon) Date: Thu, 30 Dec 2004 12:15:13 -0600 Subject: Check Cluster Plug-in Message-ID: Can anyone point me in the direction of the check cluster plug-in for Nagios? Thanks, Brandon -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott_yem at agilent.com Thu Dec 30 19:33:34 2004 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Thu, 30 Dec 2004 10:33:34 -0800 Subject: Check Cluster Plug-in Message-ID: <65213341217E8D458E7C78E6640C7495044BFAA7@waglmb01.labs.agilent.com> It's in the contrib directory of the plugins. 1.3.1 has check_cluster that you have to compile, and 1.4 has a newer version check_cluster2. 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 Perrine, Brandon Sent: Thursday, December 30, 2004 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check Cluster Plug-in Can anyone point me in the direction of the check cluster plug-in for Nagios? Thanks, Brandon -------------- next part -------------- An HTML attachment was scrubbed... URL: From philc at foundation-it.com Thu Dec 30 10:47:05 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 30 Dec 2004 09:47:05 -0000 Subject: check_nt Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE92A8F9A@netfinity-1.foundation-it.local> Nagios wrote: > Hi NG > > I would like to monitor check the average delivered Mails from our > Exchange. > So I use the command: > > /usr/local/libexec/nagios/check_nt -H xxx.xxx.xxx.xxx -v COUNTER -l > "\\MSExchangeIS Mailbox\\Messages Delivered/min" > > But I get always 0 back. Even if the performance counter on the > Windows machine shows 10 or more. > > What is wrong on my query? If there is more than one instance of the counter (which you can find out from the right hand side of the Add Counters dialog in the Windows Performance monitor), you have to specify it in the counter definition. That is the case with this counter, there's a value for each storage group plus a total for the whole of Exchange. To get the total, your command should be: /usr/local/libexec/nagios/check_nt -H xxx.xxx.xxx.xxx -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Messages Delivered/min" Replace _Total with the name of the storage group from the counters dialog if you want individual rates. Our Exchange server isn't busy enough at the moment to test that in any meaningful way but it should work. :) Phil ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jlnarayanan00 at aol.com Thu Dec 30 15:04:21 2004 From: Jlnarayanan00 at aol.com (Jlnarayanan00 at aol.com) Date: Thu, 30 Dec 2004 09:04:21 EST Subject: Doubt in plugins in nagios Message-ID: <1e4.3192260f.2f0564e5@aol.com> Hi, I am new to nagios.What are all the changes do we need to make while adding new plugins for implementing our tasks. Can we have a shell script that triggers a java program as a plugin in nagios.Can anybody help me out in this. Thanks, Jaya -------------- next part -------------- An HTML attachment was scrubbed... URL: From lgetschel at denver.westerngeco.slb.com Thu Dec 30 22:14:55 2004 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Thu, 30 Dec 2004 14:14:55 -0700 Subject: "No Output" from plugin Message-ID: <41D46FCF.3000706@denver.westerngeco.slb.com> All- I'm running 1.2. It's worked great since I inherited it and have gotten up-to-speed on Nagios. I have 1157 systems & 1378 services being monitored. I decided to write my own plugin to check the disk arrays we are running on a number of systems. (I'm using snmpget and snmpwalk to gather stats.) I wrote it in /bin/tcsh for various reasons, mostly because I works well for me (and I don't know perl or c). The actual script doesn't matter here, because Nagios will NOT run anything that uses tcsh as far as I can tell. It just returns (No Output!). Here is the current plugin TEST script: #!/bin/tcsh echo $0 >> /tmp/nagios_event_debug.txt echo $1 >> /tmp/nagios_event_debug.txt echo OK - tcsh exit 3 Nice and simple. When I run it as the nagios user from command line, it runs fine and logs itself into the tmp file. When it is run as a plugin from the system, it only returns the No Output!, and nothing is logged. If I change the script shell to #!/bin/sh instead, it DOES log itself and returns the echo values just fine from both the command line and the system. 1) Can anyone figure a way to get it to run properly under tcsh. And maybe explain why? or 2) Could someone confirm that this won't run on your system too, (to verify my sanity) [on this point at least ] Thanks for any help Lewis ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdragone at pictage.com.ar Thu Dec 30 23:30:24 2004 From: jdragone at pictage.com.ar (jdragone at pictage.com.ar) Date: Thu, 30 Dec 2004 22:30:24 +0000 Subject: NAGIOS NSCA problem solved but still don Message-ID: <200412302229.iBUMTB10019889@gw0.pictage.com.ar> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Dec 31 09:58:27 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 31 Dec 2004 19:58:27 +1100 Subject: "No Output" from plugin In-Reply-To: <20041231041639.B5F9132444@sc8-sf-spam1.sourceforge.net> References: <20041231041639.B5F9132444@sc8-sf-spam1.sourceforge.net> Message-ID: <20041231085826.GA90349@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Thu, Dec 30, 2004 at 08:15:48PM -0800, nagios-users-request at lists.sourceforge.net wrote: ... lots of HTML and quoted printable deleted (please check your mail config and send text only) > > Message: 10 > Date: Thu, 30 Dec 2004 14:14:55 -0700 > From: Lewis Getschel > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] "No Output" from plugin > > All- > I'm running 1.2. It's worked great since I inherited it and have gotten > up-to-speed on Nagios. I have 1157 systems & 1378 services being monitored. decent monitoring setup. > I decided to write my own plugin to check the disk arrays we are > running on a number of systems. (I'm using snmpget and snmpwalk to > gather stats.) Good move. The really _nice_ thing about Nagios is that plugins are so easy to write. > > I wrote it in /bin/tcsh for various reasons, mostly because I works well > for me (and I don't know perl or c). The actual script doesn't matter > here, because Nagios will NOT run anything that uses tcsh as far as I > can tell. It just returns (No Output!). > > Here is the current plugin TEST script: > #!/bin/tcsh > echo $0 >> /tmp/nagios_event_debug.txt > echo $1 >> /tmp/nagios_event_debug.txt > echo OK - tcsh > exit 3 > > Nice and simple. When I run it as the nagios user from command line, it > runs fine and logs itself into the tmp file. > When it is run as a plugin from the system, it only returns the No > Output!, and nothing is logged. > Ok. This is really an FAQ but 'No output!' means that when the Nagios process called the popen() (eg man 3 popen) library call to fork a new process and exec your shell script, Nagios could not read anything from the stream connected to the processes standard output. Nagios can use any language that can call exit() and write to standard output. Under Linux/POSIX OS's I can't think of any language that rules out. To find out why your plugin is not working you can 1 Use a test Nagios (ie one in a sandbox, with a stripped config that does _not_ generate notifications) to run your plugin. Build the test nag with its own prefix and enable one of the DEBUG options to configure. You want to run Nag in the foreground (no -d) so you can see the debug messages. 2 Wrap your plugin in a /bin/sh script that logs the parameters and actions to another stream. You can find an example of doing this by searching Nag users on gmane (I know its there because I wrote it). Prob time to submit an FAQ about this. > If I change the script shell to #!/bin/sh instead, it DOES log itself > and returns the echo values just fine from both the command line and the > system. > > 1) Can anyone figure a way to get it to run properly under tcsh. And > maybe explain why? > or 2) Could someone confirm that this won't run on your system too, (to > verify my sanity) [on this point at least ] > Your plugin works on this (FreeBSD) system Fri Dec 31 19:53:32 SERVICE ALERT: test;Plugin under test - dev/debug;UNKNOWN;SOFT;2;OK - tcsh tsitc# more /tmp/nagios_event_debug.txt /usr/local/nagios/libexec/check_test /usr/local/nagios/libexec/check_test > Thanks for any help > Lewis > > Good luck. I can't guess what could be going wrong but its nothing to do with your plugin lang. 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 Ralf-Lists at RalfGross.de Fri Dec 31 11:05:09 2004 From: Ralf-Lists at RalfGross.de (Ralf Gross) Date: Fri, 31 Dec 2004 11:05:09 +0100 (CET) Subject: host down -> flapping -> host up -> no host up notificatoin Message-ID: <40291.80.131.10.147.1104487509.squirrel@webmail.ssorgflar.de> Hi, I use the nagios flap detection feature. Last week I got a host down notification, I was not in the office, so I waited a few minutes for a host up notification, but I got none. Then I asked a colleague by phone what the state of this host really is. The host was up and ok. Next day I discovered the flapping message in the logfile, the host state was down and then changed to the flapping state. I found the following about flap detection in the docs: |1. Log a message indicating that the service or host is flapping |2. Add a non-persistent comment to the host or service indicating | that it is flapping |3. Supress notifications for the service or host (this is one of the filters | in the notification logic) | |When a service or host stops flapping, Nagios will do the following: | |1. Log a message indicating that the service or host has stopped flapping |2. Delete the comment that was originally added to the service or host when | it started flapping |3. Remove the block on notifications for the service or host (notifications | will still be bound to the normal notification logic) If I understand this right, there is no way to get a host up notification, if the host was down at moment the flap detection happend? That's a bit anoying, especially when you are not in the office. I took a quick look at the nagios 2.x docs | Flapping notifications - Notifications are now sent out when flapping | starts and stops for hosts and services. This feature can be controlled | using the f option in the notification_options for contacts, hosts and | services. Is there any way to realize this with nagios 1.2? Maybe and existing patch? If not, is nagios 2.0b1 (still called beta release) stable enough for production environment? How complicated is an update from 1.2 to 2.0b1, especially the config files? TIA Ralf ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Dec 31 11:31:31 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Fri, 31 Dec 2004 11:31:31 +0100 Subject: setup yaps In-Reply-To: <268E9CA2-5A55-11D9-A18A-000A95864E06@pancentric.com> References: <268E9CA2-5A55-11D9-A18A-000A95864E06@pancentric.com> Message-ID: <200412311131.31702.Michael.Huettig@Medien-Systempartner.de> Am Donnerstag, 30. Dezember 2004 12:22 schrieb Gabriel Granger: > Hi All, > > I'm wanting to setup Nagios to send out sms via my nokia mobile which > is connected via serial. I've installed yaps, but cant find much > information about setting it up for talking to a mobile via serial. > Does anyone know how to go about setting this up easily? > > Many thanks for your help, hi gabriel, sending sms with mobile-phone you could use gnokii, but i prefer sending sms with analog-modem or isdn with sms-client over your preferred sms-central, yaps has problems in queuing sms and you can loose some sms. setting up sms-client is really easy and it works with great effort. Happy new year Michael > > --- > Merry Christmas & Happy new year > > Gabe Granger > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Dec 31 12:33:01 2004 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 31 Dec 2004 06:33:01 -0500 Subject: Check size of a Windows Server <--- Service In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209E14@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209E14@epsewr01.ewrlan.ewr.int> Message-ID: HI, Just wanted to let you know you can also use NC_Net. It accepts the same syntax as nsclient. NC_Net also includes a Performance Counter Viewer That may be helpful in setting up the correct counter/instance. http://www.shatterit.com/NC_Net/ Good Luck, Happy New Year Tony On Thu, 30 Dec 2004 06:57:59 +0100, Wengrzik, Andreas wrote: > Hi! > > I had a wrong word in my subject for this thread.... :) > I need to check the size of a service, not a server .... > > Umm i will look forward to test pnsclient, but i think nrpe does the same > but with more options? > > I wish anyone in the list a Happy New Year!!! > > -andreas > > > >I use NRPE to check some Windows services now i need to check > > >the size of one service > > >because it not really crash&close he crashs an get only a > > >lower size in system memory. > > > > > >Anyone done a check for service size before? > > > > If you're after what I think, then you can do it with > > pNSclient. Check the > > perfMon counters -- there's a place for resource usage on a > > per-process > > basis and you can search for the process name. This should > > be able to give > > you what you want? We're doing something similar for memory > > use by our SQL > > Server processes. > > > > Since pNSclient can also monitor services, you might be > > better off using > > just pnsclient unless you are using NRPE to run custom > > scripts or to restart > > stopped services. > > > > 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. ** > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 14:57:37 2004 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 31 Dec 2004 14:57:37 +0100 Subject: setup yaps In-Reply-To: <200412311131.31702.Michael.Huettig@Medien-Systempartner.de> References: <268E9CA2-5A55-11D9-A18A-000A95864E06@pancentric.com> <200412311131.31702.Michael.Huettig@Medien-Systempartner.de> Message-ID: <1104501456.7202.3.camel@localhost> Hi All, it's better to use something which spools. We use sms-servertools. I'm not sure if it will work with a nokia mobile. Happy New Year Gerd Am Fr, den 31.12.2004 schrieb Michael H?ttig um 11:31: > Am Donnerstag, 30. Dezember 2004 12:22 schrieb Gabriel Granger: > > Hi All, > > > > I'm wanting to setup Nagios to send out sms via my nokia mobile which > > is connected via serial. I've installed yaps, but cant find much > > information about setting it up for talking to a mobile via serial. > > Does anyone know how to go about setting this up easily? > > > > Many thanks for your help, > hi gabriel, > sending sms with mobile-phone you could use gnokii, but i prefer sending sms > with analog-modem or isdn with sms-client over your preferred sms-central, > yaps has problems in queuing sms and you can loose some sms. setting up > sms-client is really easy and it works with great effort. > > Happy new year > Michael > > > > --- > > Merry Christmas & Happy new year > > > > Gabe Granger > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Mit freundlichen Gr??en aus N?rnberg, Gerd M?ller -- Gerd M?ller NETWAYS GmbH Senior Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-33 gmueller at netways.de http://www.netways.de ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 15:46:54 2004 From: bench at silentmedia.com (Ben) Date: Fri, 31 Dec 2004 06:46:54 -0800 Subject: host down -> flapping -> host up -> no host up notificatoin In-Reply-To: <40291.80.131.10.147.1104487509.squirrel@webmail.ssorgflar.de> References: <40291.80.131.10.147.1104487509.squirrel@webmail.ssorgflar.de> Message-ID: Nagios 2 is rock solid, in my experience. On Dec 31, 2004, at 2:05 AM, Ralf Gross wrote: > Hi, > > I use the nagios flap detection feature. Last week I got a host down > notification, I was not in the office, so I waited a few minutes for a > host up notification, but I got none. Then I asked a colleague by phone > what the state of this host really is. The host was up and ok. Next > day I > discovered the flapping message in the logfile, the host state was down > and then changed to the flapping state. > I found the following about flap detection in the docs: > > |1. Log a message indicating that the service or host is flapping > |2. Add a non-persistent comment to the host or service indicating > | that it is flapping > |3. Supress notifications for the service or host (this is one of the > filters > | in the notification logic) > | > |When a service or host stops flapping, Nagios will do the following: > | > |1. Log a message indicating that the service or host has stopped > flapping > |2. Delete the comment that was originally added to the service or > host when > | it started flapping > |3. Remove the block on notifications for the service or host > (notifications > | will still be bound to the normal notification logic) > > > If I understand this right, there is no way to get a host up > notification, > if the host was down at moment the flap detection happend? That's a bit > anoying, especially when you are not in the office. > I took a quick look at the nagios 2.x docs > | Flapping notifications - Notifications are now sent out when flapping > | starts and stops for hosts and services. This feature can be > controlled > | using the f option in the notification_options for contacts, hosts > and > | services. > > Is there any way to realize this with nagios 1.2? Maybe and existing > patch? > > If not, is nagios 2.0b1 (still called beta release) stable enough for > production environment? > How complicated is an update from 1.2 to 2.0b1, especially the config > files? > > TIA > > Ralf > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null