From jrhett at meer.net Wed Sep 1 00:10:06 2004 From: jrhett at meer.net (Joe Rhett) Date: Tue, 31 Aug 2004 15:10:06 -0700 Subject: help with cfg's In-Reply-To: References: <20040831205315.GH88750@meer.net> Message-ID: <20040831221005.GB9695@meer.net> Because the configured user has no rights to the file? This isn't a nagios problem. You need to learn more about unix/linux/whatever. On Tue, Aug 31, 2004 at 04:05:07PM -0500, Don {KMTS}.Net Support wrote: > Actually when I try to run it I get this error: > > > [root at localhost root]# /usr/local/nagios/bin/nagios nagios.cfg > > Nagios 1.2 > Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) > Last Modified: 02-02-2004 > License: GPL > > Error: Cannot open main configuration file '/root/nagios.cfg' for reading! > Nagios 1.2 starting... (PID=4329) > 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=4329) > [root at localhost root]# > > I have looked at the nagios.cfg file (it is in the appropriate folder) and I > dont see why it is not starting. > Any thoughts would be appreciated. > Don > > > -----Original Message----- > From: Joe Rhett [mailto:jrhett at meer.net] > Sent: Tuesday, August 31, 2004 3:53 PM > To: Don {KMTS}.Net Support > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] help with cfg's > > > Is nagios actually running? Have you checked your process list? > > If so, are the permissions on the nagios files correct? > > On Tue, Aug 31, 2004 at 03:19:24PM -0500, Don {KMTS}.Net Support wrote: > > Thank you for all the replies, I have done just that. Is there a better > set > > of instructions on how to actually configure Nagios other than the Nagios > > site itself, I have gone through their "how to set the cfg's" faq, but I > am > > still gettin this error: > > Error: Could not read host and service status information > > > > Now it seems from the error this is a common problem with new > installs...but > > I am lost in how to adjust the cfg files etc... > > Any help on links or advice is greatly appreciated. > > Don > > > > -----Original Message----- > > From: Cook, Garry [mailto:GWCOOK at mactec.com] > > Sent: Tuesday, August 31, 2004 2:23 PM > > To: Don {KMTS}.Net Support; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] help with cfg's > > > > > > nagios-users-admin at lists.sourceforge.net wrote: > > > Hi all, > > > I am new to this mailing group as I have just installed > > > Nagios and I am > > > having problems (if everything went fine I would be asking for help:). > > > What I installed Nagios on was Fedora 1, I compiled the files > > > instead of the > > > rpm's. I followed the instructions on the "How-to" page > > > explicitly, my > > > questions is this: > > > Where should the cfg files that it installed as sample files > > > be copied to, > > > currently they are in my /usr/local/nagios/etc folder. I > > > copied each file > > > name that had *.sample on the to just *.cfg and looked at each file > > > individually...maybe am getting ahead of myself here...if > > > someone could > > > share with me where exactly the files should go, or to simply > > > leave them > > > where they are. > > > Thank you, > > > Don > > > > I thought that the sample configs were installed in > > /usr/local/nagios/etc/samples by default. At least they were with Nagios > > 1.2. Either way, the correct location for the cfg files is the path that > > you stated above, /usr/local/nagios/etc/, unless you install to a > > non-default location. Either way, they should be in > > /nagios/etc/. Just make sure that you remove the -sample suffix > > from the filenames. > > > > Garry W. Cook, CCNA > > Network Infrastructure Manager > > MACTEC, Inc. - http://www.mactec.com/ > > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaybeattie at gmail.com Wed Sep 1 00:32:13 2004 From: jaybeattie at gmail.com (Jay) Date: Tue, 31 Aug 2004 17:32:13 -0500 Subject: Check_DNS recursive Message-ID: Greetings I changed our DNS servers to not be recrurive and now the Nagios check_dns reports the DNS service as down. From the command line: check_dns -s 10.1.1.1 --hostname www.domain.com returns DNS ok In services.cfg the check_command is: check_dns!--hostname=www.domain.com and that reports the DNS services as down. www.domain.com is the local domain the DNS server is responsible for. What should I change in the check_command ? When the DNS server is set to recursive it works. Thanks -Jay ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 00:31:41 2004 From: marc at ena.com (Marc Powell) Date: Tue, 31 Aug 2004 17:31:41 -0500 Subject: help with cfg's Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38AB42@mismail2.ena.com> ----Original Message---- From: Don {KMTS}.Net Support [mailto:nettech at kmts.ca] Sent: Tuesday, August 31, 2004 4:05 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] help with cfg's > Actually when I try to run it I get this error: > > > [root at localhost root]# /usr/local/nagios/bin/nagios nagios.cfg > > Nagios 1.2 > Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last > Modified: 02-02-2004 > License: GPL > > Error: Cannot open main configuration file '/root/nagios.cfg' for > reading! > Nagios 1.2 starting... (PID=4329) > 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=4329) > [root at localhost root]# > > I have looked at the nagios.cfg file (it is in the appropriate > folder) and I dont see why it is not starting. > Any thoughts would be appreciated. /root (as indicated above) is certainly not the appropriate directory for that file. It should be in /usr/local/nagios/etc. The proper way to start nagios is '/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg' or use the init script. You should, however, run '/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg' to verify your configuration first before attempting to daemonize it. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nacks at nccs.gsfc.nasa.gov Wed Sep 1 01:01:32 2004 From: nacks at nccs.gsfc.nasa.gov (Nicko Acks) Date: Tue, 31 Aug 2004 19:01:32 -0400 Subject: NSCA on Irix? In-Reply-To: <20040830200626.GN23740@nccs> References: <20040830200626.GN23740@nccs> Message-ID: <20040831230132.GV23740@nccs> On Mon, Aug 30, 2004 at 04:06:26PM -0400, Nicko Acks wrote: > > > Has anyone here gotten the NSCA plugin to compile on IRIX 6.5 recently? > We are attempting to use NSCA 2.4 and libmcrypt-2.5.7 on IRIX 6.5.20f > with MIPSpro-7.4 compilers. > > We have been able to get things to the point they configure, but we are > still having issues with getting to compile to work. We also had > problems with the standard plugin set, but we believe to have resolved > most of those. > > This is probably something silly that we are missing. > > I was just wondering if anyone had any hints specific to the IRIX > platform on how to get NCSA compiled and working. > On a lark I just downloaded the latest snapshot from cvs of nsca and to my suprise it compiled (with warnings). The configure script still seems to have issues finding the libmcrypt we built for use with nsca, but so far it does seem to work. For future reference here is what we needed to set to get the cvs version to compile (under IRIX 6.5.x): # set LD_LIBRARY_PATH and LD_LIBRARY32_PATH (IRIX specific) to include # mcrypt export LD_LIBRARYN32_PATH=${LD_LIBRARYN32_PATH}:/path/to/mcrypt/lib export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/local/nccs/lib # configure script still needs path to mcrypt prefix dir to compile ./configure --with-libmcrypt-prefix=/path/to/mcrypt/prefix/dir I am not quite sure just yet what changed between nsca-2.4 and nsca-cvs that would cause ld problems with finding mcrypt, but they seem to be fixed in cvs. -- Nicko Acks 301-286-2333 voice NASA / Goddard Space Flight Center nacks at nccs.gsfc.nasa.gov Computer Sciences Corporation Building 28, Room S228 Code 931 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From byron at agora.rdrop.com Wed Sep 1 00:51:14 2004 From: byron at agora.rdrop.com (Byron OBrien) Date: Tue, 31 Aug 2004 15:51:14 -0700 (PDT) Subject: Single notification to a contact In-Reply-To: References: Message-ID: <20040831154015.V41698@agora.rdrop.com> The problem is that I can't continue to notify 'noc' without also continuing to notify 'RT' (which generates additional, unwanted tickets.) --Byron > On Mon, Aug 09 2004 at 11:01:58AM -0700, Jason Martin wrote: > > On Mon, Aug 09, 2004 at 10:31:53AM -0700, Byron OBrien wrote: > > define hostgroupescalation{ > > hostgroup_name db > > first_notification 1 > > last_notification 1 > > contact_groups noc,RT > > notification_interval 0 > > } > > Why not just specify RT in the escalation and leave NOC in the > 'standard' notification group? > > -Jason Martin ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dknutson at sydran.com Wed Sep 1 02:11:06 2004 From: dknutson at sydran.com (David Knutson) Date: Tue, 31 Aug 2004 17:11:06 -0700 Subject: check_email_loop status Message-ID: I'm using check_email_loop to test our email system, and it appears to be working fine if the email system goes down an alert is sent. Only problem is, once the email system is back up, the status for the test never changes back to green! Is anyone else seeing this same problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: From nettech at kmts.ca Wed Sep 1 02:32:34 2004 From: nettech at kmts.ca (nettech at kmts.ca) Date: Tue, 31 Aug 2004 19:32:34 -0500 (CDT) Subject: help with cfg's In-Reply-To: <20040831221005.GB9695@meer.net> References: <20040831205315.GH88750@meer.net> <20040831221005.GB9695@meer.net> Message-ID: <1115.69.26.88.15.1093998754.squirrel@69.26.88.15> Hi, I am simply asking for help...yes my Linux/Unix knowledge is not as great as most, but at some point you yourself started looking at a command line and not knowing how to get to root Don > Because the configured user has no rights to the file? > > This isn't a nagios problem. You need to learn more about > unix/linux/whatever. > > On Tue, Aug 31, 2004 at 04:05:07PM -0500, Don {KMTS}.Net Support wrote: >> Actually when I try to run it I get this error: >> >> >> [root at localhost root]# /usr/local/nagios/bin/nagios nagios.cfg >> >> Nagios 1.2 >> Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) >> Last Modified: 02-02-2004 >> License: GPL >> >> Error: Cannot open main configuration file '/root/nagios.cfg' for >> reading! >> Nagios 1.2 starting... (PID=4329) >> 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=4329) >> [root at localhost root]# >> >> I have looked at the nagios.cfg file (it is in the appropriate folder) >> and I >> dont see why it is not starting. >> Any thoughts would be appreciated. >> Don >> >> >> -----Original Message----- >> From: Joe Rhett [mailto:jrhett at meer.net] >> Sent: Tuesday, August 31, 2004 3:53 PM >> To: Don {KMTS}.Net Support >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] help with cfg's >> >> >> Is nagios actually running? Have you checked your process list? >> >> If so, are the permissions on the nagios files correct? >> >> On Tue, Aug 31, 2004 at 03:19:24PM -0500, Don {KMTS}.Net Support wrote: >> > Thank you for all the replies, I have done just that. Is there a >> better >> set >> > of instructions on how to actually configure Nagios other than the >> Nagios >> > site itself, I have gone through their "how to set the cfg's" faq, but >> I >> am >> > still gettin this error: >> > Error: Could not read host and service status information >> > >> > Now it seems from the error this is a common problem with new >> installs...but >> > I am lost in how to adjust the cfg files etc... >> > Any help on links or advice is greatly appreciated. >> > Don >> > >> > -----Original Message----- >> > From: Cook, Garry [mailto:GWCOOK at mactec.com] >> > Sent: Tuesday, August 31, 2004 2:23 PM >> > To: Don {KMTS}.Net Support; nagios-users at lists.sourceforge.net >> > Subject: RE: [Nagios-users] help with cfg's >> > >> > >> > nagios-users-admin at lists.sourceforge.net wrote: >> > > Hi all, >> > > I am new to this mailing group as I have just installed >> > > Nagios and I am >> > > having problems (if everything went fine I would be asking for >> help:). >> > > What I installed Nagios on was Fedora 1, I compiled the files >> > > instead of the >> > > rpm's. I followed the instructions on the "How-to" page >> > > explicitly, my >> > > questions is this: >> > > Where should the cfg files that it installed as sample files >> > > be copied to, >> > > currently they are in my /usr/local/nagios/etc folder. I >> > > copied each file >> > > name that had *.sample on the to just *.cfg and looked at each file >> > > individually...maybe am getting ahead of myself here...if >> > > someone could >> > > share with me where exactly the files should go, or to simply >> > > leave them >> > > where they are. >> > > Thank you, >> > > Don >> > >> > I thought that the sample configs were installed in >> > /usr/local/nagios/etc/samples by default. At least they were with >> Nagios >> > 1.2. Either way, the correct location for the cfg files is the path >> that >> > you stated above, /usr/local/nagios/etc/, unless you install to a >> > non-default location. Either way, they should be in >> > /nagios/etc/. Just make sure that you remove the -sample >> suffix >> > from the filenames. >> > >> > Garry W. Cook, CCNA >> > Network Infrastructure Manager >> > MACTEC, Inc. - http://www.mactec.com/ >> > 303.308.6228 (Office) - 720.220.1862 (Mobile) >> > --- >> > Incoming mail is certified Virus Free. >> > Checked by AVG anti-virus system (http://www.grisoft.com). >> > Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 >> > >> > --- >> > Outgoing mail is certified Virus Free. >> > Checked by AVG anti-virus system (http://www.grisoft.com). >> > Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by BEA Weblogic Workshop >> > FREE Java Enterprise J2EE developer tools! >> > Get your free copy of BEA WebLogic Workshop 8.1 today. >> > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: 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 >> --- >> Incoming mail is certified Virus Free. >> Checked by AVG anti-virus system (http://www.grisoft.com). >> Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 >> >> --- >> Outgoing mail is certified Virus Free. >> Checked by AVG anti-virus system (http://www.grisoft.com). >> Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by BEA Weblogic Workshop >> FREE Java Enterprise J2EE developer tools! >> Get your free copy of BEA WebLogic Workshop 8.1 today. >> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nettech at kmts.ca Wed Sep 1 02:33:55 2004 From: nettech at kmts.ca (nettech at kmts.ca) Date: Tue, 31 Aug 2004 19:33:55 -0500 (CDT) Subject: help with cfg's In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F38AB42@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F38AB42@mismail2.ena.com> Message-ID: <1124.69.26.88.15.1093998835.squirrel@69.26.88.15> Hi, Yeah i am not sure why it was saying that either, as I do have nagios installed in the default path eg: /usr/local/nagios.... Don > ----Original Message---- > From: Don {KMTS}.Net Support [mailto:nettech at kmts.ca] > Sent: Tuesday, August 31, 2004 4:05 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] help with cfg's > >> Actually when I try to run it I get this error: >> >> >> [root at localhost root]# /usr/local/nagios/bin/nagios nagios.cfg >> >> Nagios 1.2 >> Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last >> Modified: 02-02-2004 >> License: GPL >> >> Error: Cannot open main configuration file '/root/nagios.cfg' for >> reading! >> Nagios 1.2 starting... (PID=4329) >> 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=4329) >> [root at localhost root]# >> >> I have looked at the nagios.cfg file (it is in the appropriate >> folder) and I dont see why it is not starting. >> Any thoughts would be appreciated. > > /root (as indicated above) is certainly not the appropriate directory > for that file. It should be in /usr/local/nagios/etc. The proper way to > start nagios is '/usr/local/nagios/bin/nagios -d > /usr/local/nagios/etc/nagios.cfg' or use the init script. You should, > however, run '/usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg' to verify your configuration first > before attempting to daemonize it. > > -- > Marc > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jarrod.friedland at dhl.com Wed Sep 1 04:15:05 2004 From: jarrod.friedland at dhl.com (Jarrod FRIEDLAND) Date: Wed, 1 Sep 2004 12:15:05 +1000 Subject: issues using check_http ..HELP!! Message-ID: <7773FCF65E3.AAA5BCA@atlas.syd-co.au.dhl.com> Hi All Any help would be muchly appreciated. I have recently installed nagios 1.2 on a RH9 box. I am trying to test a proxy port ie 8080. When I run at CLI ./check_http -H proxy.syd-co.au.dhl.com -p 8080 I get [root at aubnenms:/etc/nagios] /usr/lib/nagios/plugins/check_http -H proxy.syd-co.au.dhl.com -p 8080 HTTP ok: HTTP/1.0 200 OK - 0.062 second response time |time= 0.062 Which tells me everything is working as in the cmd can be excuted and returns the correct response. However below is an extract of my hosts.cfg and services.cfg file as well as the output after running service nagions restart. Any lead in the right direction will be muchly appreciated. What am I missing??????? # Service definition define service{ use generic-service ; Name of service template to use host_name proxy.syd-co.au.dhl.com service_description http is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups genadmin notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http -H proxy.syd-co.au.dhl.com -p 8080 } # 'proxy.syd-co.au.dhl.com' host definition define host{ use generic-host ; Name of host template to use host_name proxy.syd-co.au.dhl.com alias proxy address 199.xxx.xxx.xxx check_command check_http max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Running configuration check... Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: Service check command 'check_http -H proxy.syd-co.au.dhl.com -p 8080' specified in service 'http' for host 'proxy.syd-co.au.dhl.com' not defined anywhere! Checked 4 services. Checking hosts... Checked 3 hosts. Checking host groups... Checked 3 host groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking host group escalations... Checked 0 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 1 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. failed - aborting restart. -- Regards, Jarrod Friedland Communications Analyst DHL Oceania Information Services Phone: +61 (7) 3845 7777 Direct: +61 (7) 3845 7735 Fax: +61 (7) 3845 7979 *Mobile: 0401 500 134 * Mobile for international callers +61 401 500 134 E-mail: jarrod.friedland at dhl.com WWW: http://www.dhl.com/ -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of DHL International. Scanning of this message and addition of this footer is performed by SurfControl SuperScout Email Filter software in conjunction with virus detection software. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 04:38:33 2004 From: benny at bennyvision.com (C. Bensend) Date: Tue, 31 Aug 2004 21:38:33 -0500 (CDT) Subject: issues using check_http ..HELP!! In-Reply-To: <7773FCF65E3.AAA5BCA@atlas.syd-co.au.dhl.com> References: <7773FCF65E3.AAA5BCA@atlas.syd-co.au.dhl.com> Message-ID: <56829.63.227.74.41.1094006335.squirrel@webmail.stinkweasel.net> Hi Jarrod, > [root at aubnenms:/etc/nagios] /usr/lib/nagios/plugins/check_http -H > proxy.syd-co.au.dhl.com -p 8080 > HTTP ok: HTTP/1.0 200 OK - 0.062 second response time |time= 0.062 OK, good. > Running pre-flight check on configuration data... > > Checking services... > Error: Service check command 'check_http -H proxy.syd-co.au.dhl.com -p > 8080' > specified in service 'http' for host 'proxy.syd-co.au.dhl.com' not defined > anywhere! Righto. Define a custom test (like a "check_proxy" or something) in checkcommands.cfg that defines the test using your custom parameters. Then, in the service definition, refer to that custom test. Benny -- Funniest spam subject: "The mighty cucumber lives again!" -- Received Aug 31, 2004 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 04:43:40 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Wed, 1 Sep 2004 10:43:40 +0800 Subject: issues using check_http ..HELP!! In-Reply-To: <7773FCF65E3.AAA5BCA@atlas.syd-co.au.dhl.com> References: <7773FCF65E3.AAA5BCA@atlas.syd-co.au.dhl.com> Message-ID: <20040901024340.GA22116@quex.org> On Wed, Sep 01, 2004 at 12:15:05PM +1000, Jarrod FRIEDLAND wrote: > > I have recently installed nagios 1.2 on a RH9 box. I am trying to test > a proxy port ie 8080. > > Any lead in the right direction will be muchly appreciated. Trying reading the Nagios documentation on check commands. ;) > What am I missing??????? > # Service definition > define service{ > check_command check_http -H proxy.syd-co.au.dhl.com -p 8080 > } The check_command you specify must be the name of a command you have defined elsewhere using a "define command" stanza. You can pass arguments to it from a service definition using check_command check_http!arg1!arg2 In the command check, the arguments are accessed with $ARG1$, $ARG2$ etcetera. Just go read the documentation and look at the existing commands and it should all make sense. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jarrod.friedland at dhl.com Wed Sep 1 05:13:33 2004 From: jarrod.friedland at dhl.com (Jarrod FRIEDLAND) Date: Wed, 1 Sep 2004 13:13:33 +1000 Subject: issues using check_http ..HELP!! In-Reply-To: <56829.63.227.74.41.1094006335.squirrel@webmail.stinkweasel.net> References: <56829.63.227.74.41.1094006335.squirrel@webmail.stinkweasel.net> Message-ID: <7773FCF7537.AAA3763@atlas.syd-co.au.dhl.com> You are a champion ... I knew I missing it somewhere. All sorted .. thanks again -- Regards, Jarrod Friedland Communications Analyst DHL Oceania Information Services Phone: +61 (7) 3845 7777 Direct: +61 (7) 3845 7735 Fax: +61 (7) 3845 7979 *Mobile: 0401 500 134 * Mobile for international callers +61 401 500 134 E-mail: jarrod.friedland at dhl.com WWW: http://www.dhl.com/ > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of C. Bensend > Sent: Wednesday, 1 September 2004 12:39 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] issues using check_http ..HELP!! > > > Hi Jarrod, > > > [root at aubnenms:/etc/nagios] /usr/lib/nagios/plugins/check_http -H > > proxy.syd-co.au.dhl.com -p 8080 > > HTTP ok: HTTP/1.0 200 OK - 0.062 second response time |time= 0.062 > > OK, good. > > > Running pre-flight check on configuration data... > > > > Checking services... > > Error: Service check command 'check_http -H proxy.syd-co.au.dhl.com -p > > 8080' > > specified in service 'http' for host 'proxy.syd-co.au.dhl.com' not > defined > > anywhere! > > Righto. Define a custom test (like a "check_proxy" or something) in > checkcommands.cfg that defines the test using your custom parameters. > Then, in the service definition, refer to that custom test. > > Benny > > > -- > Funniest spam subject: "The mighty cucumber lives again!" > -- Received Aug 31, 2004 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of DHL International. Scanning of this message and addition of this footer is performed by SurfControl SuperScout Email Filter software in conjunction with virus detection software. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Collins at industry.gov.au Wed Sep 1 06:13:35 2004 From: Steve.Collins at industry.gov.au (Collins, Steve) Date: Wed, 1 Sep 2004 14:13:35 +1000 Subject: NRPE - what ports okay? Message-ID: <61045C98CC667545B7E628E3BED42A3825517C@g5dicbr01ms01.industry.gov.au> SSB3YW50IHRvIHB1dCBOUlBFLU5UIG9uIHNldmVyYWwgcmVtb3RlbHkgaG9zdGVkIHNlcnZlcnMg d2Ugb3duLiAgSSBhbSBhbnRpY2lwYXRpbmcgc29tZSB0cm91YmxlLCBpbiB0aGF0IHByZXR0eSBt dWNoIGV2ZXJ5IHBvcnQgaXMgYmxvY2tlZCBhbmQgZ2V0dGluZyBhIGhvbGUgcHVuY2hlZCBpbiB0 aGUgZmlyZXdhbGwgaXMgdXN1YWxseSBhdCB0aGUgY29zdCBvZiB0aGUgc291bCBvZiBvbmUncyBm aXJzdGJvcm4uDQpUaGVyZSBhcmUgc2V2ZXJhbCAod2VsbC1rbm93biAtIDgwLCA0NDMpIHBvcnRz IG9wZW4sIGJ1dCBJIGFtIGd1ZXNzaW5nIHRoYXQgTlJQRSB3b24ndCB3b3JrIG9uIHRoZW0uICBD YW4gc29tZW9uZSBwcm92aWRlIHNvbWUgYWR2aWNlLCBwbGVhc2U/DQoNClN0ZXZlDQotLQ0KU3Rl cGhlbiBDb2xsaW5zDQpXZWIgRGV2ZWxvcG1lbnQgU2VjdGlvbg0KZUJ1c2luZXNzIERpdmlzaW9u DQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KRGVw YXJ0bWVudCBvZiBJbmR1c3RyeSwgVG91cmlzbSBhbmQgUmVzb3VyY2VzIA0KTGV2ZWwgMTIsIDIw IEFsbGFyYSBTdHJlZXQsIENhbmJlcnJhIENpdHkgQUNUIDI2MDANCkdQTyBCb3ggOTgzOSwgQ2Fu YmVycmEgQUNUIDI2MDENCg0KRSBzdGV2ZS5jb2xsaW5zQGluZHVzdHJ5Lmdvdi5hdQ0KUCArNjEg MiA2MjEzNzE5Mw0KQyArNjEgNDEwIDY4MDcyMg0KRiArNjEgMiA2MjEzNjIyNw0KDQoNCioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioNClRoZSBpbmZvcm1hdGlvbiBjb250YWluZWQgaW4gdGhpcyBlLW1haWwsIGFuZCBh bnkgYXR0YWNobWVudHMgdG8gaXQsIGlzDQppbnRlbmRlZCBmb3IgdGhlIHVzZSBvZiB0aGUgYWRk cmVzc2VlIGFuZCBpcyBjb25maWRlbnRpYWwuIElmIHlvdSBhcmUgbm90IHRoZSBpbnRlbmRlZCBy ZWNpcGllbnQgeW91IG11c3Qgbm90IHVzZSwgZGlzY2xvc2UsIHJlYWQsIGZvcndhcmQsIGNvcHkg b3IgcmV0YWluIGFueSBvZiB0aGUgaW5mb3JtYXRpb24uIElmIHlvdSBoYXZlIHJlY2VpdmVkIHRo aXMgZS1tYWlsIGluDQplcnJvciwgcGxlYXNlIGRlbGV0ZSBpdCBhbmQgbm90aWZ5IHRoZSBzZW5k ZXIgYnkgcmV0dXJuIGUtbWFpbCBvciB0ZWxlcGhvbmUuDQpUaGUgQ29tbW9ud2VhbHRoIGRvZXMg bm90IHdhcnJhbnQgdGhhdCBhbnkgYXR0YWNobWVudHMgYXJlIGZyZWUgZnJvbSB2aXJ1c2VzIG9y IGFueSBvdGhlciBkZWZlY3RzLiBZb3UgYXNzdW1lIGFsbCBsaWFiaWxpdHkgZm9yIGFueSBsb3Nz LCBkYW1hZ2Ugb3Igb3RoZXIgY29uc2VxdWVuY2VzIHdoaWNoIG1heSBhcmlzZSBmcm9tIG9wZW5p bmcgb3IgdXNpbmcgdGhlIGF0dGFjaG1lbnRzLg0KKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioN Cg0K ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Wed Sep 1 07:34:07 2004 From: ian at acces.co.jp (Ian Masters) Date: Wed, 01 Sep 2004 14:34:07 +0900 Subject: check_traffic plugin In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC731F@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC731F@dw-mail.dataway.com> Message-ID: Thanks again for the reply > check_traffic uses snmp at its core. > > Try the raw snmp commands on the host and troubleshoot that first: > > snmpget -c .1.3.6.1.2.1.1.5.0 > This should give you the FQDN as returned by the remote host. That works ok ... Which makes the fact that I'm getting the error more confusing. > If not, then you have ACL's or some other network (ie routing/firewalling) > or host configuration (community string, host-firewall) issue preventing > access. > > Once you have snmp working, check_traffic should work on that host as well. > Then it should be a simple matter of connecting it to nrpe to trigger > remotely via the nagios host. Weirdly all my other NRPE tests (load, memory etc) on that host are working. Only this one has problems. Ian ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 07:39:53 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 1 Sep 2004 07:39:53 +0200 Subject: SAP Check RFC Connection Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E594039@SYGOMAIL.GOE.AD.SYCOR.DE> Hi Andreas, Search the list, we had this topic about 1 or 2 weeks ago. Maybe search for sapinfo or check_sapinfo. Regards, Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Wengrzik, Andreas > Sent: Tuesday, August 31, 2004 4:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SAP Check RFC Connection > > Hi again! > > Anyone knows how to check if a SAP RFC Connection is established?? > Thx! > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop FREE > Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 07:41:19 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 1 Sep 2004 07:41:19 +0200 Subject: Problem is printed for... Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59403A@SYGOMAIL.GOE.AD.SYCOR.DE> Take a look at the misscommands.cfg there you can configure the Notifications you recieve from nagios. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Wengrzik, Andreas > Sent: Tuesday, August 31, 2004 4:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem is printed for... > > $NOTIFICATIONTYPE$ > > > Hello! > > Everytime a host is down i only get for $NOTIFICATIONTYPE$ > the word 'PROBLEM'. > This isnt really usefull... Where can i change that value?? > > Thanks! > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop FREE > Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 07:44:35 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 1 Sep 2004 07:44:35 +0200 Subject: schedule downtime for host AND it's services Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59403B@SYGOMAIL.GOE.AD.SYCOR.DE> Damn, sorry List, I must have been totally blind, I had overseen the "In Scheduled Downtime" Stats in the Availreport for somehow :-/ Maybe I should request a new TFT or something :) Sorry for bothering you, and thanks for the provided help! > -----Original Message----- > From: Cook, Garry [mailto:GWCOOK at mactec.com] > Sent: Tuesday, August 31, 2004 5:23 PM > To: Sand Philipp; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] schedule downtime for host AND > it's services > > nagios-users-admin at lists.sourceforge.net wrote: > > [...snip...] > >>> I'm currently using Nagios 2.0a1, I've ssen the feature > to trigger a > >>> downtime for all children of a host, but not for all > services of a > >>> host :-/ Am I blind or isn't it possible to trigger the > downtime for > >>> the services? > >>> > >> I am not using 2.0a1 yet, but I think it works the same as in 1.2 > >> > >> When you schedule downtime for a host, the services are > also supposed > >> to be down, there is no need to schedule them separately (makes > >> sense, doesn't it? When a host is down, you don't expect > the services > >> to still be > >> up...) > > That's what I thought, too. But when I schedule a downtime > for a host, > > the service is still checked, and when you look at the > extinfo for the > > service, there's no sign, that the service is in scheduled downtime. > > When I do a availibility report for the service, it messes up my > > stats, because the service never seems to be in a scheduled > downtime. > > > > > > Regards, > > Philipp > > You might want to read the docs on downtime again. As I > understand them, anything scheduled for downtime SHOULD > continue to be checked. Downtime only stops notifications. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > ************************************************ 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. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ghe_rivero at yahoo.es Wed Sep 1 09:00:53 2004 From: ghe_rivero at yahoo.es (=?iso-8859-1?q?Ghe=20Rivero?=) Date: Wed, 1 Sep 2004 09:00:53 +0200 (CEST) Subject: Scheduling queue Message-ID: <20040901070053.61039.qmail@web50301.mail.yahoo.com> Hi people, we are going to use nagios in my university, but after have it working, we have found that most of the time, the scheduling queue is some minutes delayed (Current time 8.55.34 and next check 8.51.27), which is really anoying when there are some critical service that can not be waiting. Thanks in advanced. Ghe Rivero PD.- Making the check_interval smaller doesn't help at all ______________________________________________ Renovamos el Correo Yahoo!: ?100 MB GRATIS! Nuevos servicios, m?s seguridad http://correo.yahoo.es ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 09:27:50 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Wed, 1 Sep 2004 15:27:50 +0800 Subject: Scheduling queue In-Reply-To: <20040901070053.61039.qmail@web50301.mail.yahoo.com> References: <20040901070053.61039.qmail@web50301.mail.yahoo.com> Message-ID: <20040901072750.GA26764@quex.org> On Wed, Sep 01, 2004 at 09:00:53AM +0200, Ghe Rivero wrote: > we are going to use nagios in my university, but > after have it working, we have found that most of the > time, the scheduling queue is some minutes delayed > (Current time 8.55.34 and next check 8.51.27), which > is really anoying when there are some critical service > that can not be waiting. > > PD.- Making the check_interval smaller doesn't help at all I've found that decreasing the interval_length in the main Nagios configuration file makes Nagios feel a lot more responsive, and keeps checks executing when needed. I use 6 seconds. Bear in mind that you'll have to adjust the check intervals for services if you change this. There are warnings in the config file that other values of this haven't been tested, so it's probably a good idea to do it on a non-production system. If you change this, you'll also want to make sure the service_reaper_frequency is pretty low, too. I use 5 seconds. Another useful thing to look at is the max_concurrent_checks setting. This alone may be enough to fix your problem - with the standard interval_length of 60 seconds, service checks should never be delayed much more than one minute, so it's possible that they just aren't completing fast enough for Nagios to get the next batch running. I'm using 10, but we only have 300 services. There's quite a few other settings related to how long Nagios waits between various operations, so just take 10 minutes for a leisurely stroll through the config file and make your settings more aggressive. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 09:30:06 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 1 Sep 2004 09:30:06 +0200 Subject: Scheduling queue Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59403C@SYGOMAIL.GOE.AD.SYCOR.DE> Hmm sounds strange...you're shure, that the systime of your nagios server is up2date? Maybe you've got the lag there. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Ghe Rivero > Sent: Wednesday, September 01, 2004 9:01 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Scheduling queue > > Hi people, > we are going to use nagios in my university, but after > have it working, we have found that most of the time, the > scheduling queue is some minutes delayed (Current time > 8.55.34 and next check 8.51.27), which is really anoying when > there are some critical service that can not be waiting. > Thanks in advanced. > > Ghe Rivero > > PD.- Making the check_interval smaller doesn't help at all > > > > ______________________________________________ > Renovamos el Correo Yahoo!: ?100 MB GRATIS! > Nuevos servicios, m?s seguridad > http://correo.yahoo.es > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop FREE > Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sphillips at netstarnetworks.com Wed Sep 1 09:41:44 2004 From: sphillips at netstarnetworks.com (sphillips at netstarnetworks.com) Date: Wed, 1 Sep 2004 17:41:44 +1000 (EST) Subject: NSCLIENT - Connection refused under load? Message-ID: <20040901074144.3720.qmail@netstarnetworks.com> All, I am having a few issues with NSCLIENT and Nagios, perhaps some helpful person can be of assistance :-) Currently we're trialling a service for a client in which we want to monitor approximately 50 different items from Windows using NSCLIENT. These include service up/down, and perfmon stats as well as the usual disk usage, CPU load and so on. When we increase the number of checks on NSCLIENT above approxmiately 15 or so, we start receiving "Connection refused by host" from check_nt on the Windows box(es) we're trying to monitor. These connection refused messages seem to happen fairly randomly. We also receive what appear to be false 'zero' responses for some counters sometimes (e.g. on a busy webserver, "0.000 hits/minute" or some such). Neither the monitoring server nor the server being monitored are under significant CPU or I/O load. The version of Nagios is 1.1 and the version of NSCLIENT is 1.0.7.1. Can anyone help? Thanks, regards, Simon. -- Simon Phillips Technical Consultant Research & Development Team NetStar Australia Pty Ltd Phone: +61 2 9805 9805 (Switch) Phone: +61 2 9805 9853 (Direct) Email: sphillips at netstarnetworks.com NetStar provides solutions for voice, data and security networks. NetStar Australia is a Quality Endorsed Company to ISO 9001/2000 Visit us at http://www.netstarnetworks.com ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.trila at rcibanque.de Wed Sep 1 10:02:55 2004 From: frank.trila at rcibanque.de (frank.trila at rcibanque.de) Date: Wed, 1 Sep 2004 10:02:55 +0200 Subject: cannot compile Plugins 4 NRPE on IBM AIX 5.2 Message-ID: Hi, I have sucsessfully compiled the nrpe deamon on my AIX 5.2 box, but now I 'm struggelung with the compilation of the Plugins. After the configure script runs through without errors, make gives the followig output : make make all-recursive Making all in intl Target "all" is up to date. Making all in lib Target "all" is up to date. Making all in plugins gcc -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o ../intl/libintl.a ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext ld: 0711-317 ERROR: Undefined symbol: .VA_COPY ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Regards Frank Frank Trila Technologische Entwicklung IT RCI Banque S.A. Niederlassung Deutschland Jagenberg Strasse 1 41468 Neuss mailto:Frank.Trila at RciBanque.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Wed Sep 1 10:07:52 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 1 Sep 2004 10:07:52 +0200 Subject: NSCLIENT - Connection refused under load? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59403F@SYGOMAIL.GOE.AD.SYCOR.DE> First of all you should think about updating to a newer version of NSClient and maybe a newer version of Nagios :) I don't know of your Version of NSClient got check_nt option "-t" with that you can define a timeout for the service check. So when there are a lot of service checks they will last longer, when you increase the time before they time out, this may help... > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of sphillips at netstarnetworks.com > Sent: Wednesday, September 01, 2004 9:42 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSCLIENT - Connection refused under load? > > > All, > > I am having a few issues with NSCLIENT and Nagios, perhaps > some helpful person can be of assistance :-) > > Currently we're trialling a service for a client in which we > want to monitor approximately 50 different items from Windows > using NSCLIENT. These include service up/down, and perfmon > stats as well as the usual disk usage, CPU load and so on. > > When we increase the number of checks on NSCLIENT above > approxmiately 15 or so, we start receiving "Connection > refused by host" from check_nt on the Windows box(es) we're > trying to monitor. These connection refused messages seem to > happen fairly randomly. We also receive what appear to be > false 'zero' responses for some counters sometimes (e.g. on a > busy webserver, "0.000 hits/minute" or some such). > > Neither the monitoring server nor the server being monitored > are under significant CPU or I/O load. The version of Nagios > is 1.1 and the version of NSCLIENT is 1.0.7.1. > > Can anyone help? > > > Thanks, > > regards, > > Simon. > > -- > Simon Phillips > Technical Consultant > Research & Development Team > NetStar Australia Pty Ltd > > Phone: +61 2 9805 9805 (Switch) Phone: +61 2 9805 9853 (Direct) > Email: sphillips at netstarnetworks.com > > NetStar provides solutions for voice, data and security networks. > NetStar Australia is a Quality Endorsed Company to ISO 9001/2000 > Visit us at http://www.netstarnetworks.com > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop FREE > Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmartinezg at endesa.es Wed Sep 1 11:09:03 2004 From: fmartinezg at endesa.es (Martinez Gonzalez, Francisco) Date: Wed, 1 Sep 2004 11:09:03 +0200 Subject: Refresh position Message-ID: Doubt, when Nagios refresh the page automaticaly, go to the top of the page... Anybody knows how to make that keep the position it hads before refresh? thanks in advance... :) Francisco Mart?nez ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Wed Sep 1 11:46:22 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 1 Sep 2004 10:46:22 +0100 Subject: check_procs not detecting process Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE933A3C5@netfinity-1.foundation-it.local> Jason Martin wrote: > On Tue, Aug 31, 2004 at 01:30:00PM -0400, Vincent Aniello wrote: >> >> [exa at rtblks01 bin]$ ps -ef|grep blkstd >> exa 5082 1 0 Aug25 ? 00:01:37 blkstd >> >> Any idea how I can fix this? > The ps command used by the plugin is choosen by the configure.in > script during the ./configure phase. The fix would be to add or > reorder the entries such that the 'better' linux syntax is attempted > before ps -weo. Unless you also rewrite check_procs.c, that won't work as the plugin is expecting the columns that the 'worse' syntax outputs. Phil ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmartinezg at endesa.es Wed Sep 1 13:06:22 2004 From: fmartinezg at endesa.es (Martinez Gonzalez, Francisco) Date: Wed, 1 Sep 2004 13:06:22 +0200 Subject: Logout "solution" Message-ID: FYI I found a "solution" for the problem of logout from Nagios, but only works on IE vers. =>6.0 SP1 The site with the solution is: http://weblogs.asp.net/kclemson/archive/2003/11/17/53911.aspx regards Francisco Mart?nez ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.luys at vanderlet.nl Wed Sep 1 13:03:51 2004 From: richard.luys at vanderlet.nl (Richard Luys) Date: Wed, 01 Sep 2004 13:03:51 +0200 Subject: schedule downtime for host AND it's services In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E9A44@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E9A44@golden-m.mactec.com> Message-ID: On Tue, 31 Aug 2004 09:22:51 -0600, Cook, Garry wrote: > nagios-users-admin at lists.sourceforge.net wrote: [...snip...] >> That's what I thought, too. But when I schedule a downtime for a host, >> the service is still checked, and when you look at the extinfo for the >> service, there's no sign, that the service is in scheduled downtime. >> When I do a availibility report for the service, it messes up >> my stats, >> because the service never seems to be in a scheduled downtime. >> >> >> Regards, >> Philipp > > You might want to read the docs on downtime again. As I understand them, > anything scheduled for downtime SHOULD continue to be checked. Downtime > only stops notifications. > I think Garry is correct on that one; you don't want to get notifications about a host that you know it's down, but it still is down and not available for users. So in my opinion a report on system availability should state this system as unavailable for that period, and if you look at it that way, your statistics are correct... Richard ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 14:49:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Sep 2004 14:49:57 +0200 Subject: Caching daemon for NRPE and pNSclient In-Reply-To: <028901c48f9e$eec2b900$b004d882@itss.auckland.ac.nz> References: <028901c48f9e$eec2b900$b004d882@itss.auckland.ac.nz> Message-ID: <4135C575.7020205@op5.se> Steve Shipway wrote: > Hello everyone. > > Some background - > Here, we use both NRPE and pNSclient to get stats for our UNIX and Windows > servers, and these agents are queried by both our Nagios installation, and > also by our MRTG setup. These systems are both duplicated onto separate > hosts for resiliance. As a result, we get a lot of (duplicate) queries being > sent to the agents. > > So, I have written (in Perl at this stage) a daemon that runs on a server, > and proxies queries to both NRPE and pNS. Responses are cached for a > configurable time, so that subsequent requests are replied to immediately. > Also, this can pre-emptively go and request data from agents so as to give > faster response times. There is a check_cache Nagios plugin (that can also > produce the output in MRTG plugin format) that allows querying of the data > via the cache. > > The pNS agent is queried directly by perl, the NRPE agent is queried by > forking off check_nrpe (since I seem unable to implement check_nrpe in pure > perl, for some reason). > Probably due to data-width issues on protocol level. > The next plan is to make the plugin be intelligent enough to support a > failover caching daemon, so that loss of the daemon is not the end of all > monitoring (provided you have a standby daemon already running). > Err... wouldn't that sort of defeat the purpose of checking things? I mean, if a check turns out bad, you most likely have a pretty short retry-interval, so that means the retries may read cached values. I pretty much prefer on-the-fly status info, although I can see why, in your case, this would be meaningful (especially if you're running some 'heavy' checks). > The question - > Has anyone done something like this already? Does anyone find this > interesting/useful? Would anyone like to play with a rough v0.1 beta with > sparse documentation and help out in the development? Any suggestions for > other agents or plugins it should support? Does anyone have a (working) > check_nrpe written in pure perl that I can copy? > > Thanks in advance for your time, > > Steve > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 14:51:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Sep 2004 14:51:55 +0200 Subject: help with cfg's In-Reply-To: <1115.69.26.88.15.1093998754.squirrel@69.26.88.15> References: <20040831205315.GH88750@meer.net> <20040831221005.GB9695@meer.net> <1115.69.26.88.15.1093998754.squirrel@69.26.88.15> Message-ID: <4135C5EB.7080808@op5.se> nettech at kmts.ca wrote: > Hi, > I am simply asking for help...yes my Linux/Unix knowledge is not as great > as most, but at some point you yourself started looking at a command line > and not knowing how to get to root > Don > Try this; /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg Add the -d switch if it gets going. > > >>Because the configured user has no rights to the file? >> >>This isn't a nagios problem. You need to learn more about >>unix/linux/whatever. >> >>On Tue, Aug 31, 2004 at 04:05:07PM -0500, Don {KMTS}.Net Support wrote: >> >>>Actually when I try to run it I get this error: >>> >>> >>>[root at localhost root]# /usr/local/nagios/bin/nagios nagios.cfg >>> >>>Nagios 1.2 >>>Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) >>>Last Modified: 02-02-2004 >>>License: GPL >>> >>>Error: Cannot open main configuration file '/root/nagios.cfg' for >>>reading! >>>Nagios 1.2 starting... (PID=4329) >>>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=4329) >>>[root at localhost root]# >>> >>>I have looked at the nagios.cfg file (it is in the appropriate folder) >>>and I >>>dont see why it is not starting. >>>Any thoughts would be appreciated. >>>Don >>> >>> >>>-----Original Message----- >>>From: Joe Rhett [mailto:jrhett at meer.net] >>>Sent: Tuesday, August 31, 2004 3:53 PM >>>To: Don {KMTS}.Net Support >>>Cc: nagios-users at lists.sourceforge.net >>>Subject: Re: [Nagios-users] help with cfg's >>> >>> >>>Is nagios actually running? Have you checked your process list? >>> >>>If so, are the permissions on the nagios files correct? >>> >>>On Tue, Aug 31, 2004 at 03:19:24PM -0500, Don {KMTS}.Net Support wrote: >>> >>>>Thank you for all the replies, I have done just that. Is there a >>> >>>better >>>set >>> >>>>of instructions on how to actually configure Nagios other than the >>> >>>Nagios >>> >>>>site itself, I have gone through their "how to set the cfg's" faq, but >>> >>>I >>>am >>> >>>>still gettin this error: >>>>Error: Could not read host and service status information >>>> >>>>Now it seems from the error this is a common problem with new >>> >>>installs...but >>> >>>>I am lost in how to adjust the cfg files etc... >>>>Any help on links or advice is greatly appreciated. >>>>Don >>>> >>>>-----Original Message----- >>>>From: Cook, Garry [mailto:GWCOOK at mactec.com] >>>>Sent: Tuesday, August 31, 2004 2:23 PM >>>>To: Don {KMTS}.Net Support; nagios-users at lists.sourceforge.net >>>>Subject: RE: [Nagios-users] help with cfg's >>>> >>>> >>>>nagios-users-admin at lists.sourceforge.net wrote: >>>> >>>>>Hi all, >>>>>I am new to this mailing group as I have just installed >>>>>Nagios and I am >>>>>having problems (if everything went fine I would be asking for >>> >>>help:). >>> >>>>>What I installed Nagios on was Fedora 1, I compiled the files >>>>>instead of the >>>>>rpm's. I followed the instructions on the "How-to" page >>>>>explicitly, my >>>>>questions is this: >>>>>Where should the cfg files that it installed as sample files >>>>>be copied to, >>>>>currently they are in my /usr/local/nagios/etc folder. I >>>>>copied each file >>>>>name that had *.sample on the to just *.cfg and looked at each file >>>>>individually...maybe am getting ahead of myself here...if >>>>>someone could >>>>>share with me where exactly the files should go, or to simply >>>>>leave them >>>>>where they are. >>>>>Thank you, >>>>>Don >>>> >>>>I thought that the sample configs were installed in >>>>/usr/local/nagios/etc/samples by default. At least they were with >>> >>>Nagios >>> >>>>1.2. Either way, the correct location for the cfg files is the path >>> >>>that >>> >>>>you stated above, /usr/local/nagios/etc/, unless you install to a >>>>non-default location. Either way, they should be in >>>>/nagios/etc/. Just make sure that you remove the -sample >>> >>>suffix >>> >>>>from the filenames. >>>> >>>>Garry W. Cook, CCNA >>>>Network Infrastructure Manager >>>>MACTEC, Inc. - http://www.mactec.com/ >>>>303.308.6228 (Office) - 720.220.1862 (Mobile) >>>>--- >>>>Incoming mail is certified Virus Free. >>>>Checked by AVG anti-virus system (http://www.grisoft.com). >>>>Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 >>>> >>>>--- >>>>Outgoing mail is certified Virus Free. >>>>Checked by AVG anti-virus system (http://www.grisoft.com). >>>>Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by BEA Weblogic Workshop >>>>FREE Java Enterprise J2EE developer tools! >>>>Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>_______________________________________________ >>>>Nagios-users mailing list >>>>Nagios-users at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>::: 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 >>>--- >>>Incoming mail is certified Virus Free. >>>Checked by AVG anti-virus system (http://www.grisoft.com). >>>Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 >>> >>>--- >>>Outgoing mail is certified Virus Free. >>>Checked by AVG anti-virus system (http://www.grisoft.com). >>>Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by BEA Weblogic Workshop >>>FREE Java Enterprise J2EE developer tools! >>>Get your free copy of BEA WebLogic Workshop 8.1 today. >>>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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 >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by BEA Weblogic Workshop >>FREE Java Enterprise J2EE developer tools! >>Get your free copy of BEA WebLogic Workshop 8.1 today. >>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 14:55:37 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Sep 2004 14:55:37 +0200 Subject: NRPE - what ports okay? In-Reply-To: <61045C98CC667545B7E628E3BED42A3825517C@g5dicbr01ms01.industry.gov.au> References: <61045C98CC667545B7E628E3BED42A3825517C@g5dicbr01ms01.industry.gov.au> Message-ID: <4135C6C9.3010307@op5.se> Collins, Steve wrote: > I want to put NRPE-NT on several remotely hosted servers we own. I am > anticipating some trouble, in that pretty much every port is blocked and > getting a hole punched in the firewall is usually at the cost of the soul > of one's firstborn. > There are several (well-known - 80, 443) ports open, but I am guessing that > NRPE won't work on them. Can someone provide some advice, please? > NRPE will listen to whatever port you tell it to listen to. Just remember to tell check_nrpe what port NRPE is listening to. > Steve > -- > Stephen Collins > Web Development Section > eBusiness Division -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor at ambra.ro Wed Sep 1 14:55:17 2004 From: victor at ambra.ro (victor) Date: Wed, 01 Sep 2004 15:55:17 +0300 Subject: nagios-mysql and 2d coordinates Message-ID: <4135C6B5.8040301@ambra.ro> I compiled nagios with mysql support. Now I tryed to add some extended information on a host: INSERT INTO `hostextinfo` VALUES ('switch4', '', 'freebsd40.gif','freebsd40.gif', 'freebsd40.gd2', 'FreeBSD', 10, 10, '190.0','190.0', '190.0', 1, 1); The images apper OK(freebsd40.gif) and the name FreesideBSD appears as in the insert. But the 2d coordinates have no effect. Can someoene tell me why and how can I fix this? The strange thing is heapening when I insert another time the same select - the host appears twice - and the coordinate work(but it must work with 1 insert ony). Thank you. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 1 15:28:57 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 01 Sep 2004 09:28:57 -0400 Subject: Scheduling queue In-Reply-To: <20040901070053.61039.qmail@web50301.mail.yahoo.com> References: <20040901070053.61039.qmail@web50301.mail.yahoo.com> Message-ID: <1094045336.9468.2.camel@pel> On Wed, 2004-09-01 at 03:00, Ghe Rivero wrote: > Hi people, > we are going to use nagios in my university, but > after have it working, we have found that most of the > time, the scheduling queue is some minutes delayed > (Current time 8.55.34 and next check 8.51.27), which > is really anoying when there are some critical service > that can not be waiting. > Thanks in advanced. Did you set 'max_concurrent_checks' to anything besides 0? If so, it will cause nagios not to execute new checks if there are already that number of checks running. 'service_reaper_frequency' could also be a culprit. If you set it to a high number, the check could have run, but nagios hasn't processed the results yet. Likewise, if 'sleep_time' was set high it could seriously delay things. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwanikij at yahoo.com Wed Sep 1 16:27:19 2004 From: mwanikij at yahoo.com (Jack M) Date: Wed, 1 Sep 2004 07:27:19 -0700 (PDT) Subject: Nagiosmap Woes In-Reply-To: <4135C5EB.7080808@op5.se> References: <4135C5EB.7080808@op5.se> Message-ID: <20040901142719.77460.qmail@web52907.mail.yahoo.com> Hi, I am trying to get nagios to work for me but in vain. I only need the english version but all attempts to call PERL NAGIOSMAP.PL returns the following errors. Please let me know what I may or may not be missing. It only opens the hosts.cfg and hostextinfo.cfg , then it hangs. What am I doing wrong then? NB: I have installed all the Perl modules as listed on the nagiosmap.pl header ........................ERRORS>>>>>>>>>>>>>>>>>>>>>>> PV = 0x8702410 "couldn't recognize data in image file \"\264\20p\10\1\""\0Malformed UTF-8 character formed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc0) in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.2/i386-l inux/Tk/Image.pm line 21. [UTF8 "couldn't recognize data in image file "\x{0}o\x{8}\x{1}""] CUR = 45 LEN = 46 SV = PVMG(0x84fe7b8) at 0x86eebc8 REFCNT = 1 FLAGS = (SMG,POK,pPOK,UTF8) IV = 0 NV = 0 PV = 0x870d2e8 "couldn't recognize data in image file \"\300\303o\10\1\""\0Mal formed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc0) in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.2/i386-l inux/Tk/Image.pm line 21. [UTF8 "couldn't recognize data in image file "\x{0}o\x{8}\x{1}""] CUR = 45 LEN = 46 MAGIC = 0x870d3c8 MG_VIRTUAL = &PL_vtbl_utf8 MG_TYPE = PERL_MAGIC_utf8(w) MG_LEN = 44 Tk::Error: couldn't recognize data in image file "??" at /usr/lib/perl5/vendor_p erl/5.8.2/i386-linux/Tk/Image.pm line 21. Tk callback for image Tk::Image::new at /usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk/Image.pm line 21 Tk::Image::__ANON__ at /usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk/Image.pm line 63 main::create_objects at nagiosmap.pl line 569 main::read_nscgi at nagiosmap.pl line 530 main::open_dialog at nagiosmap.pl line 326 Tk callback for .frame.menubutton.menu Tk::__ANON__ at /usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk.pm line 247 Tk::Menu::Invoke at /usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk/Menu.pm line 531 (command bound to event) _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Wed Sep 1 16:00:48 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Wed, 1 Sep 2004 07:00:48 -0700 Subject: cannot compile Plugins 4 NRPE on IBM AIX 5.2 In-Reply-To: References: Message-ID: <20040901140129.0417860801C@mail2.itgroundwork.com> I was able to fix this by installing the AIX Linux toolbox. The plugins were developed on Linux and prefer that environment: ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/README.txt >From web: ftp ftp.software.ibm.com Name> ftp Password> your e-mail address ftp> cd aix/freeSoftware/aixtoolbox/INSTALLP/ppc ftp> binary ftp> get rpm.rte ftp> quit installp -qaXgd rpm.rte rpm.rte This gives you rpm, which is very nice. >From the web: The easiest way to download the packages is to use the scripts available at the ftp site for downloading the installation groups. Install the wget RPM, then use wget to download the ezinstall installation scripts: mkdir -p ezinstall/ppc || : cd ezinstall/ppc ftp ftp.software.ibm.com Name> ftp Password> your e-mail address ftp> cd aix/freeSoftware/aixtoolbox/RPMS/ppc/wget ftp> binary ftp> get wget-1.9-2.aix5.1.ppc.rpm ftp> quit rpm -hUv wget-1.9-2.aix5.1.ppc.rpm wget -r -nd -g=on ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc chmod +x get*.sh For each ezinstall bundle you wish to install (base, desktop.base, etc), run get.sh. It will create a directory named if required and download the required files into the directory. You can then use "rpm -hUv /*" to install that set of RPMS. Wget is much easier 11. If you want to install application development software, install the app-dev group: $ rpm -Uhv ezinstall/ppc/app-dev/* ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ has the RPMS for Linux facilities. I installed bash, make, autoconf, automake, m4, tar, bison, and fileutils, ran bash, set my path: > export PATH=/opt/freeware/bin:$PATH, and re-ran ./configure and make. The plugins built okay except for check_swap. I downloaded nagios-plugins-1.4.0alpha1 which also built including check_swap, so I run 1.3.1 plugins + the 1.4.0alpha1 check_swap. Seems to work.. Good luck, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of frank.trila at rcibanque.de Sent: Wednesday, September 01, 2004 1:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] cannot compile Plugins 4 NRPE on IBM AIX 5.2 Hi, I have sucsessfully compiled the nrpe deamon on my AIX 5.2 box, but now I 'm struggelung with the compilation of the Plugins. After the configure script runs through without errors, make gives the followig output : make make all-recursive Making all in intl Target "all" is up to date. Making all in lib Target "all" is up to date. Making all in plugins gcc -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o ../intl/libintl.a ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext ld: 0711-317 ERROR: Undefined symbol: .VA_COPY ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Regards Frank Frank Trila Technologische Entwicklung IT RCI Banque S.A. Niederlassung Deutschland Jagenberg Strasse 1 41468 Neuss mailto:Frank.Trila at RciBanque.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From samogonka at gmx.net Wed Sep 1 16:40:44 2004 From: samogonka at gmx.net (Alexander Schaefer) Date: Wed, 1 Sep 2004 16:40:44 +0200 Subject: nagiosgraph do not work References: <41FD7929498A174DAB86C45F28E0EC0D6E9948@golden-m.mactec.com> <002a01c489a4$510461a0$ba0a280a@ges.local> <412D845B.2070605@enbiz.de> Message-ID: <003301c49031$a9bcb390$ba0a280a@ges.local> Hello G?nter, >> performance data dumped at all from nagios at Debian. Thomas Gerhard told my >> about a bug in Debian sarg releace, which is the reason for it. Although i >> have had the Debian woody i thing this is the same issue... >Thanks for the info. >I use nagiosgraph from the download-archive, not as a debian packet. Yes, i understand, but it seems tobe an error in debian-system, because i didn't use the debian packages too - all (nagios, nagmin, nagiostat etc.) was compiled from the source code, but it was a problem with get out the nagios performance data... >Can you send me your configuration an the script "insert.pl"? Yes, attached you with this message you will found nagios.conf. Unfortunatly i don't know what is insert.pl. I haven't found it in my ../nagios/.. filesystem... Don't forget to chnange the nagios configuration as described in nagiostat-INSTALL! Good luck Alexander Sch?fer ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 17:36:11 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: Wed, 01 Sep 2004 17:36:11 +0200 Subject: check_procs not detecting process Message-ID: <4135EC6B.2060105@axelero.hu> Hi! I've seen this problem on my Solaris 8 box. The cause was, that the ps command arguments are different on Solaris than Linux. After some man page reading and tetsing ps with different arguments I modified the plugin. From that it works fine. Bye, Tamas! ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 17:13:43 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 1 Sep 2004 08:13:43 -0700 Subject: check_procs not detecting process In-Reply-To: <4E71CFD68DCB4E49B04AD93E84827EE933A3C5@netfinity-1.foundation-it.local> References: <4E71CFD68DCB4E49B04AD93E84827EE933A3C5@netfinity-1.foundation-it.local> Message-ID: <20040901151343.GD352@zippy.toger.us> On Wed, Sep 01, 2004 at 10:46:22AM +0100, Phil Costelloe wrote: > Jason Martin wrote: > Unless you also rewrite check_procs.c, that won't work as the plugin > is expecting the columns that the 'worse' syntax outputs. Actually, as long as one fixes both the ps command and the scanf string in the configure input it is unnecessary to modify check_procs.c. It will Just Work. -Jason Martin -- Drawing on my fine command of language, I said nothing 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 art at caa.is Wed Sep 1 17:36:42 2004 From: art at caa.is (Arnar Thorarinsson) Date: 01 Sep 2004 15:36:42 +0000 Subject: help on compiling nagios plugins from CVS repository Message-ID: <1094053002.26055.79.camel@black148> Hello I'm setting up nagios with mysql and performance data for use with PerfParse. To get PerfParse working I need the lastest plugins that support performance data ( in the rigth format for PerfParse ). So I got the latest CVS snapshot but when I try to compile then I get some errors. ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin ... make ...snip... make[2]: Leaving directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/plugins-scripts' Making all in po make[2]: Entering directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/po' /usr/bin/msgmerge --update fr.po nagios-plugins.pot /usr/bin/msgmerge: error while opening "fr.po" for reading: No such file or directory make[2]: *** [fr.po] Error 1 make[2]: Leaving directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447' make: *** [all] Error 2 ... ok I found the fr.po and de.po files in a earlier release of the plugins ( 1.4.0alpha ) do make again: ...snip... make[2]: Leaving directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/plugins-scripts' Making all in po make[2]: Entering directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/po' rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po 1 translated message, 11 fuzzy translations, 577 untranslated messages. rm -f de.gmo && /usr/bin/msgfmt -c --statistics -o de.gmo de.po /usr/bin/msgfmt: de.po: warning: PO file header fuzzy warning: older versions of msgfmt will give an error on this 0 translated messages, 589 untranslated messages. make[2]: Leaving directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/po' make[2]: Entering directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447' make[2]: Leaving directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447' make[1]: Leaving directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447' ... ok some warnings here but then I try running make check and all 20 checks fail with : [nagios at black148 nagios-plugins-HEAD-200409010447]$ make check Making check in intl make[1]: Entering directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/intl' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/intl' Making check in lib make[1]: Entering directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/lib' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/lib' Making check in plugins make[1]: Entering directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/plugins' make check-TESTS make[2]: Entering directory `/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/plugins' 1..6 # Running under perl version 5.008 for linux # Current time local: Wed Sep 1 15:33:44 2004 # Current time GMT: Wed Sep 1 15:33:44 2004 # Using Test.pm version 1.23 ok 1 ok 2 not ok 3 # Test 3 got: '3' (./t/check_disk.t at line 20) # Expected: '0' # ./t/check_disk.t line 20 is: $t += ok $?>>8,0; Test was: ./check_disk -w 0 -c 0 / not ok 4 # Test 4 got: 'INPUT ERROR: No thresholds specified for / Could not parse arguments Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e] [-v] [-q] check_disk (-h|--help) check_disk (-V|--version) ' (./t/check_disk.t at line 22) # Expected: qr{^(Disk ok - +[\.0-9]+|DISK OK - )} # ./t/check_disk.t line 22 is: $t += ok $str, '/^(Disk ok - +\.0-9+|DISK OK - )/'; ok 5 ok 6 FAIL: t/check_disk.t Can't locate Cache.pm in @INC (@INC contains: .. .. /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at ./t/check_dns.t line 4. BEGIN failed--compilation aborted at ./t/check_dns.t line 4. ....snip... and some more of the same. can anybody help me ! plz ! I have no idea whats going on here. -- Kve?ja Arnar ??rarinsson T?lvunarfr??ingur Kerfisdeild S?mi : 569 4289 GSM : 861 2871 ---------------------- Flugm?lastj?rn ?slands Reykjav?kurflugv?llur 121 Reykjav?k http://www.caa.is ---------------------- ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mshirley at gmail.com Wed Sep 1 18:14:36 2004 From: mshirley at gmail.com (Mark Shirley) Date: Wed, 1 Sep 2004 12:14:36 -0400 Subject: Commercial Support Suggestions In-Reply-To: <20040831205400.GI88750@meer.net> References: <20040831205400.GI88750@meer.net> Message-ID: Ohio is where i'm located but I'm more interested in experiances other people on the list have had. On Tue, 31 Aug 2004 13:54:00 -0700, Joe Rhett wrote: > If you want onsite support perhaps you should post what city you are in? > > > > On Tue, Aug 31, 2004 at 04:20:58PM -0400, Mark Shirley wrote: > > I am fully aware of the massive list of available sites that offer > > "commercial support" for nagios but i must say of the few i've talked > > to they are all kids in their mom's basement hoping to make a buck. > > Yay free software, yay awsome documentation, yay great user base. My > > boss doesn't care :) he wants real support. > > > > We're looking for high end 24/7 support remote and onsite just incase > > something goes wrong. Does anyone have experiance with any open > > source support companies that offer support for nagios? (please don't > > send me spam saying you run a consulting company and that you'd be > > interested in helping unless you're 100% legit) > > > > Thanks! > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sam.Harris at fns.usda.gov Wed Sep 1 18:16:29 2004 From: Sam.Harris at fns.usda.gov (Harris, Sam) Date: Wed, 1 Sep 2004 12:16:29 -0400 Subject: mixed platforms cross firewalls Message-ID: Again :-) Just wondering if anybody has come cross a situation where you are monitoring NT boxes on the other side of the firewall, and where opening ports such as 161 would make you sweat. Ideally, I would route traffic in via ssh, but in NT how would I run nrpe under ssh ??? Any light on this issue would be appreciated. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From mshirley at gmail.com Wed Sep 1 18:21:25 2004 From: mshirley at gmail.com (Mark Shirley) Date: Wed, 1 Sep 2004 12:21:25 -0400 Subject: Commercial Support Suggestions In-Reply-To: <20040901155323.GB51014@meer.net> References: <20040831205400.GI88750@meer.net> <20040901155323.GB51014@meer.net> Message-ID: What i mean by support is this. We have a current setup already with a certin amount of hosts and services. Completely out of the box stock install with very little customizations. Our main consern is at this point I am the only one who knows anything about nagios and one out of two people that know anything about linux. If we deploy this in a production situation there MUST be a support structure to fix things when they break. What I mean b y that is configuration file corruptions, changes in functionality and their impact on nagios, etc.. What do you do when you see a completely random error or nagios just stops working? You goto the forums and the documentation and try and figure it out. That's not really an option to the rest of my team. They would rather call someone up who we have a support contract with and get the issue fixed immediatly. There are other possibilities like custom plugins and front end customizations but that is not our priority. My boss wants a number to someone who knows how it works and how to fix it 24/7. That's really what it boils down to. On Wed, 1 Sep 2004 08:53:24 -0700, Joe Rhett wrote: > I wasn't offering, I was just suggesting that it would help people identify > whether or not they could assist you onsite. > > Also, I would repost some more specifics: what do you mean by support? > I assume you are doing more than just out of the box stuff. Are you > looking for someone to develop plugins for your specific gear, or ...? > > > > On Wed, Sep 01, 2004 at 11:37:47AM -0400, Mark Shirley wrote: > > Joe, onsite support is part of it but not 100% required. We are in ohio though. > > > > On Tue, 31 Aug 2004 13:54:00 -0700, Joe Rhett wrote: > > > If you want onsite support perhaps you should post what city you are in? > > > > > > > > > > > > On Tue, Aug 31, 2004 at 04:20:58PM -0400, Mark Shirley wrote: > > > > I am fully aware of the massive list of available sites that offer > > > > "commercial support" for nagios but i must say of the few i've talked > > > > to they are all kids in their mom's basement hoping to make a buck. > > > > Yay free software, yay awsome documentation, yay great user base. My > > > > boss doesn't care :) he wants real support. > > > > > > > > We're looking for high end 24/7 support remote and onsite just incase > > > > something goes wrong. Does anyone have experiance with any open > > > > source support companies that offer support for nagios? (please don't > > > > send me spam saying you run a consulting company and that you'd be > > > > interested in helping unless you're 100% legit) > > > > > > > > Thanks! > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > > FREE Java Enterprise J2EE developer tools! > > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 > > > > > -- > Joe Rhett > Senior Geek > Meer.net > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 20:32:30 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 1 Sep 2004 12:32:30 -0600 Subject: Commercial Support Suggestions Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9A96@golden-m.mactec.com> http://www.findopensourcesupport.com/ Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) nagios-users-admin at lists.sourceforge.net wrote: > Ohio is where i'm located but I'm more interested in experiances > other people on the list have had. > > On Tue, 31 Aug 2004 13:54:00 -0700, Joe Rhett wrote: >> If you want onsite support perhaps you should post what city you are >> in? >> >> >> >> On Tue, Aug 31, 2004 at 04:20:58PM -0400, Mark Shirley wrote: >>> I am fully aware of the massive list of available sites that offer >>> "commercial support" for nagios but i must say of the few i've >>> talked to they are all kids in their mom's basement hoping to make >>> a buck. Yay free software, yay awsome documentation, yay great user >>> base. My boss doesn't care :) he wants real support. >>> >>> We're looking for high end 24/7 support remote and onsite just >>> incase something goes wrong. Does anyone have experiance with any >>> open source support companies that offer support for nagios? >>> (please don't send me spam saying you run a consulting company and >>> that you'd be interested in helping unless you're 100% legit) >>> >>> Thanks! >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by BEA Weblogic Workshop >>> FREE Java Enterprise J2EE developer tools! >>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>> 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 >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. Messages without supporting info will risk >>>> being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Travis.Dangel at sdncommunications.com Wed Sep 1 22:19:44 2004 From: Travis.Dangel at sdncommunications.com (Travis Dangel) Date: Wed, 1 Sep 2004 15:19:44 -0500 Subject: Nagios database integration Message-ID: <38611E84B46C0345BC667244E1E2AA95DC0564@sdnexchange.sdncom.sdn> Just curious what the plans are to integrate a database system (mysql, postgres, etc) with Nagios? I've been playing with Nagios 1.2 for a few weeks now and we are looking at using it primarily as our network health monitoring and paging system, however in order to that a much more user friendly administration method must be created. The current method of editing the .cfg files via a shell is not necessarily the most difficult method ever but from a day to day standpoint tends to be a lot more work than should be necessary. What my plans were (should we decide to use Nagios as our full time monitoring system) was to create a web based front end that used a mysql database to store host, service, and contact information and then in turn use my front end scripts to update the nagios SQL database and also write/overwrite the actual .cfg files that nagios currently uses. That way the program actually gets updated and sync'd with the database even though its still only actually loading its configuration from the files. This scenario would work fine although I'm not a fan of hacking something together just to get it to function properly when its possible to get it functioning the "correct" way if that is in fact coming soon. Does Nagios 2.0 have any further database support for hosts and services or is it still completely file based for host and service records? Just curious as to what my options might be here before we make a decision and I start rattling out some scripts to handle the system as described above. From what I've been reading there isn't much for a plan to integrate database storage methods into Nagios any time in the very near future so ... just curious if I'm correct there and that doing this front end is about my only option right now for a timely solution? Thanks in advance for any input. ------------------- Travis Dangel -------------- next part -------------- An HTML attachment was scrubbed... URL: From proftp_cj at kdd.de Wed Sep 1 22:55:01 2004 From: proftp_cj at kdd.de (christian janssen) Date: Wed, 01 Sep 2004 21:55:01 +0100 Subject: Nagios database integration In-Reply-To: <38611E84B46C0345BC667244E1E2AA95DC0564@sdnexchange.sdncom. sdn> References: <38611E84B46C0345BC667244E1E2AA95DC0564@sdnexchange.sdncom.sdn> <38611E84B46C0345BC667244E1E2AA95DC0564@sdnexchange.sdncom. sdn> Message-ID: <6.1.2.0.2.20040901215426.02e185f8@mail.de.kddi.com> At 21:19 01.09.2004, you wrote: > >..., however in order to that a much more user friendly administration >method must be created. The current method of editing the .cfg files via a >shell is not necessarily the most difficult method ever but from a day to >day standpoint tends to be a lot more work than should be necessary. > >.... > >...that used a mysql database to store host, service, and contact >information and then in turn use my front end scripts to update the nagios >SQL database and also write/overwrite the actual .cfg files that nagios >currently uses.... >... Hi Maybe you should have a look at NagMin http://nagmin.sourceforge.net/ as a starting point cheers Christian ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mshirley at gmail.com Wed Sep 1 23:17:00 2004 From: mshirley at gmail.com (Mark Shirley) Date: Wed, 1 Sep 2004 17:17:00 -0400 Subject: Commercial Support Suggestions In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D6E9A96@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D6E9A96@golden-m.mactec.com> Message-ID: :) yea already been there, i'm looking for people who have had experiance with some of these companies. On Wed, 1 Sep 2004 12:32:30 -0600, Cook, Garry wrote: > http://www.findopensourcesupport.com/ > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > nagios-users-admin at lists.sourceforge.net wrote: > > Ohio is where i'm located but I'm more interested in experiances > > other people on the list have had. > > > > > > On Tue, 31 Aug 2004 13:54:00 -0700, Joe Rhett wrote: > >> If you want onsite support perhaps you should post what city you are > >> in? > >> > >> > >> > >> On Tue, Aug 31, 2004 at 04:20:58PM -0400, Mark Shirley wrote: > >>> I am fully aware of the massive list of available sites that offer > >>> "commercial support" for nagios but i must say of the few i've > >>> talked to they are all kids in their mom's basement hoping to make > >>> a buck. Yay free software, yay awsome documentation, yay great user > >>> base. My boss doesn't care :) he wants real support. > >>> > >>> We're looking for high end 24/7 support remote and onsite just > >>> incase something goes wrong. Does anyone have experiance with any > >>> open source support companies that offer support for nagios? > >>> (please don't send me spam saying you run a consulting company and > >>> that you'd be interested in helping unless you're 100% legit) > >>> > >>> Thanks! > >>> > >>> > >>> ------------------------------------------------------- > >>> This SF.Net email is sponsored by BEA Weblogic Workshop > >>> FREE Java Enterprise J2EE developer tools! > >>> Get your free copy of BEA WebLogic Workshop 8.1 today. > >>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>>> 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 > >> > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>> Please include Nagios version, plugin version (-v) and OS when > >>>> reporting any issue. Messages without supporting info will risk > >>>> being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nettech at kmts.ca Wed Sep 1 23:52:05 2004 From: nettech at kmts.ca (Don {KMTS}.Net Support) Date: Wed, 1 Sep 2004 16:52:05 -0500 Subject: Mysql support Message-ID: Hi all, when installing Nagios with the intention of having mysql support, do you include the params in the ./configure command, or do you do something later for mysql to function with nagios. Don {KMTS.Net} Support 807-467-2040 Toll Free: 1-888-388-0991 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 00:08:34 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 2 Sep 2004 10:08:34 +1200 Subject: NSCLIENT - Connection refused under load? In-Reply-To: <20040901074144.3720.qmail@netstarnetworks.com> References: <20040901074144.3720.qmail@netstarnetworks.com> Message-ID: <030101c49070$39dc1cc0$b004d882@itss.auckland.ac.nz> >When we increase the number of checks on NSCLIENT above >approxmiately 15 or >so, we start receiving "Connection refused by host" from >check_nt on the >Windows box(es) we're trying to monitor. These connection >refused messages >seem to happen fairly randomly. We also receive what appear Yes, we get this as well on network-busy servers. We are using pNSclient v2.0.1.0. As far as I can tell, this is only happening on our more busy servers, and seems to be an issue with the TCP stack running out of resources. We are experimenting with changing the registry settings on the server, and so far, this appears to have fixed it. The registry changes/additions we made are: hkey-local-machine system/currentcontrolset/servicse/tcpip/parameters maxUserPort = 0xfffe tcpTimedWaitDelay = 60 This allows the system to have up to 65534 TCP ports active at once, and re-uses them after 60 seconds of closure (default is 4 minutes). These changes were very necessary under NT4/2k for any server with frequent small connections (proxy servers, mail relays, etc) and the same problem has affected out Citrix servers with heavy pNSclient monitoring. However, YMMV. Test it first :) Don't know about XP/2k3. HTH, HAND. 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 tom.schouteden at gmail.com Thu Sep 2 00:20:02 2004 From: tom.schouteden at gmail.com (Tom Schouteden) Date: Thu, 2 Sep 2004 00:20:02 +0200 Subject: --with-mysql-xdata compilation error Message-ID: <257c5a4b04090115205d3c86@mail.gmail.com> hi i'm trying to compile nagios 1.2 with mysql support using the --with-mysql-xdata switch. the configure process works ok, without any errors. but when i try to `make all` i get the following error: gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -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 -lm -o nagios sretention.o: In function `save_state_information': /home/tom/nagios-1.2/base/sretention.c:86: undefined reference to `xrddefault_save_state_information' sretention.o: In function `read_initial_state_information': /home/tom/nagios-1.2/base/sretention.c:122: undefined reference to `xrddefault_read_state_information' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/tom/nagios-1.2/base' make: *** [all] Error 2 i googled for it and looked on the mailing lists but it only pops up once or twice without ever providing some kind of solution. anyone knows what causes it and how it could be fixed thanks tom ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 00:21:56 2004 From: marc at ena.com (Marc Powell) Date: Wed, 1 Sep 2004 17:21:56 -0500 Subject: Mysql support Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38AB97@mismail2.ena.com> ----Original Message---- From: Don {KMTS}.Net Support [mailto:nettech at kmts.ca] Sent: Wednesday, September 01, 2004 4:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mysql support > Hi all, > when installing Nagios with the intention of having mysql support, do > you include the params in the ./configure command, or do you do > something later for mysql to function with nagios. Both actually. The documentation on Database Support is very thorough. You should start there. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruce at webfarm.co.nz Thu Sep 2 00:26:39 2004 From: bruce at webfarm.co.nz (Bruce) Date: Thu, 02 Sep 2004 10:26:39 +1200 Subject: Event Handlers are not runing or logging. (on WARNING or CRITICAL) In-Reply-To: References: Message-ID: <41364C9F.5000308@webfarm.co.nz> Hi, I think my email is not working correctly because im not getting responses to my questions until I post a follow up (very weird) Has anyone had any thoughts on my findings below? Just to refresh the issue, Originally I thought Event handlers were not running, however I have since found that the event handlers are running but only when a service check returns OK when it has been in another state. This is not very useful since an event handler should be fixing the occurring problems not trying to fix them after they are manually fixed. Ive included a log file of one host/service which experiences the problem (qouted below) so that people can see what I mean, Any thoughts would be appreciated, -- +------------------------------------------+ \|||/ | Bruce at WebFarm.co.nz +64 06 7572881 | (o o) | Systems Technician +---ooO-(_)-Ooo---+ | | | WebFarm http://www.webfarm.co.nz | | FreeParking http://www.freeparking.co.nz | +------------------------------------------------------------+ ... FreeParking - NZ's best value Domain, WebHosting and email accounts - bar none ... WebFarm - NZ's eCommerce specialists since 1997 bruce wrote: >Hi, > >Ive done a little more testing and it appears the event handlers ARE >running but only when the state changes to OK, which of course is no use >for fixing the problem. > >Below is the nagios.log file from one of the live system (well result of: >egrep 'creeper.*Defun' var/nagios.log), freshclam seems >to be running on all the severs but the Defunct processes check does get >some results. The nagios configs are excatly the same for these also (the >command sends fixdefuncts.sh instead of restartFreshClam.sh and thats the >only difference. > >-- 8<-- nagios.log >[1093669850] SERVICE ALERT: creeper;Defuncts;OK;HARD;1;OK - 5 processes >running with STATE = Z >[1093670146] SERVICE ALERT: creeper;Defuncts;WARNING;HARD;1;WARNING - 6 >processes running with STATE = Z >[1093673451] SERVICE ALERT: creeper;Defuncts;WARNING;HARD;1;WARNING - 7 >processes running with STATE = Z >[1093677052] SERVICE ALERT: creeper;Defuncts;WARNING;HARD;1;WARNING - 8 >processes running with STATE = Z >[1093680652] SERVICE ALERT: creeper;Defuncts;WARNING;HARD;1;WARNING - 10 >processes running with STATE = Z >[1093684251] SERVICE ALERT: creeper;Defuncts;WARNING;HARD;1;WARNING - 10 >processes running with STATE = Z >[1093685900] SERVICE ALERT: creeper;Defuncts;CRITICAL;HARD;1;CRITICAL - >11 processes running with STATE = Z >[1093687852] SERVICE ALERT: creeper;Defuncts;CRITICAL;HARD;1;CRITICAL - >11 processes running with STATE = Z >[1093691451] SERVICE ALERT: creeper;Defuncts;CRITICAL;HARD;1;CRITICAL - >13 processes running with STATE = Z >[1093695059] SERVICE ALERT: creeper;Defuncts;CRITICAL;HARD;1;CRITICAL - >15 processes running with STATE = Z >[1093696438] SERVICE ALERT: creeper;Defuncts;OK;HARD;1;OK - 0 processes >running with STATE = Z >[1093696438] SERVICE EVENT HANDLER: >creeper;Defuncts;OK;HARD;1;allserver_defunct_fix >[1093696516] SERVICE ALERT: creeper;Defuncts;OK;HARD;1;OK - 0 processes >running with STATE = Z >[1093696624] SERVICE ALERT: creeper;Defuncts;OK;HARD;1;OK - 0 processes >running with STATE = Z >[1093696673] SERVICE ALERT: creeper;Defuncts;OK;HARD;1;OK - 0 processes >running with STATE = Z >[1093697080] SERVICE ALERT: creeper;Defuncts;OK;HARD;1;OK - 1 processes >running with STATE = Z >-- 8<-- End nagios.log > >As you can see it goes through the motions, OK => WARNING => CRITICAL => >OK (when we mannually restart the offending process on the server, yeah >the better fix would be to fix the process but we are still investigating >why it happens :( very weird, but different issue ) > >When changing from OK => WARNING it dosnt run the event handler, only when >it goes back to OK does it run. > >If I change the event handlers args to be a static CIRITCAL the handler >logs in and does the restart, so everything is fine there. > >Here are the related config sections just for reference of this command >and service: > >define service { > use hosted > service_description Defuncts > check_command serv_check_zombie_procs > > event_handler allserver_defunct_fix > event_handler_enabled 1 > hostgroup_name shared >} >define command { > command_name allserver_defunct_fix > command_line $USER1$/fix-w-allserver.sh $HOSTADDRESS$ $SERVICESTATE$ $SERVICEATTEMPT$ defunctFix.sh >} > > >Any thoughts or suggestions? > >Cheers, > > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 01:08:18 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 1 Sep 2004 16:08:18 -0700 Subject: Fault tolerant OCSP's Message-ID: <20040901230818.GF352@zippy.toger.us> Has anyone implemented a OCSP that is fault tolerant? The failure scenario I am envisioning is a two-tier distributed model. The distributed server detects a volatile alert, say a logfile alert indicating that a disk has failed. It then calls the OCSP for that alert to report it to the central server, but a transient network failure causes send_nsca to fail. send_nsca has no way of queueing the alert to be sent at a later point up to the central server, and the nature of the alert is not one that will necessairily repeat. The alert gets lost, no notifications are sent from the central server and the the machine eventually fails due to another disk failure since it isn't configured to handle a 2-way disk failure. Is there a simple way to maintainthe distributed Nagios setup and also cover volatile alerts reliably? Thanks, -Jason Martin -- Do NOT look into laser with remaining eyeball! 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 Steve.Collins at industry.gov.au Thu Sep 2 01:25:47 2004 From: Steve.Collins at industry.gov.au (Collins, Steve) Date: Thu, 2 Sep 2004 09:25:47 +1000 Subject: NRPE scripts Message-ID: <61045C98CC667545B7E628E3BED42A382551E8@g5dicbr01ms01.industry.gov.au> Does anyone have (or know of) a set of scripts to use on a box running NRPE-NT (away from Nagios server, and through firewall) to monitor several other boxes near it on a network? I'm looking for things like what I might normally be able to do with NSClient (which I'm not sure I can get to work with our setup). Testing continues. Steve -- Stephen Collins Web Development Section eBusiness Division __________________________________________________ Department of Industry, Tourism and Resources Level 12, 20 Allara Street, Canberra City ACT 2600 GPO Box 9839, Canberra ACT 2601 E steve.collins at industry.gov.au P +61 2 62137193 C +61 410 680722 F +61 2 62136227 ********************************************************************** The information contained in this e-mail, and any attachments to it, is intended for the use of the addressee and is confidential. If you are not the intended recipient you must not use, disclose, read, forward, copy or retain any of the information. If you have received this e-mail in error, please delete it and notify the sender by return e-mail or telephone. The Commonwealth does not warrant that any attachments are free from viruses or any other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. *********************************************************************************** From hmann at itgroundwork.com Thu Sep 2 01:48:11 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Wed, 1 Sep 2004 16:48:11 -0700 Subject: --with-mysql-xdata compilation error In-Reply-To: <257c5a4b04090115205d3c86@mail.gmail.com> References: <257c5a4b04090115205d3c86@mail.gmail.com> Message-ID: <20040901234816.B0A9D60802B@mail2.itgroundwork.com> What version of MySQL? MySQL 4.x doesn't work, they changed the API.... mysql-3.23.58-1 works for me. It's on RHEL V3 WS. - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tom Schouteden Sent: Wednesday, September 01, 2004 3:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] --with-mysql-xdata compilation error hi i'm trying to compile nagios 1.2 with mysql support using the --with-mysql-xdata switch. the configure process works ok, without any errors. but when i try to `make all` i get the following error: gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -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 -lm -o nagios sretention.o: In function `save_state_information': /home/tom/nagios-1.2/base/sretention.c:86: undefined reference to `xrddefault_save_state_information' sretention.o: In function `read_initial_state_information': /home/tom/nagios-1.2/base/sretention.c:122: undefined reference to `xrddefault_read_state_information' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/tom/nagios-1.2/base' make: *** [all] Error 2 i googled for it and looked on the mailing lists but it only pops up once or twice without ever providing some kind of solution. anyone knows what causes it and how it could be fixed thanks tom ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Frank.BOURDEAU at dga.defense.gouv.fr Thu Sep 2 08:21:40 2004 From: Frank.BOURDEAU at dga.defense.gouv.fr (Frank.BOURDEAU at dga.defense.gouv.fr) Date: Thu, 2 Sep 2004 08:21:40 +0200 Subject: Check_nt and check_traffic plugins Message-ID: <200409020618.i826I8rp000556@maila.dga.defense.gouv.fr> Hi all, I've installed check_nt and check_traffic on a RH9.0 linux box. My 2 problems are, I think, simple : 1 - where can i download the list of the Microsoft Counters, for performing monitoring on WNT4.0, W2K and WXP machines ? All of my machines are setup with French OS. So, when i will have it, i must declare all of them in the counters.defs file, I mean ? Reply will be appreciate 2 - I've setup check_traffic. On command line, all is good. But when I click on traffic con, I get "500 - Internal Server Error " and in the apache error_log file, there is an entry : "check http://myserver/nagios/main.html". Can anyone help? Thanks, regards, Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruce at webfarm.co.nz Thu Sep 2 08:48:44 2004 From: bruce at webfarm.co.nz (Bruce) Date: Thu, 02 Sep 2004 18:48:44 +1200 Subject: Fault tolerant OCSP's In-Reply-To: <20040901230818.GF352@zippy.toger.us> References: <20040901230818.GF352@zippy.toger.us> Message-ID: <4136C24C.6090309@webfarm.co.nz> Hi, Dont know how well this option will work, but it works on our network. Basically every service event is logged to a status file on the remote server, then once a minute the remote server sends the data inside the file back to the main server. If it fails it normally gets an error code returned back to it, so it assumes it failed and dosnt delete the status file, so next time it trys it includes the previous attempts as well. The only problem with this situation (and its not designed for volitile alerts, so we dont worry that much about it) is if the file grows to more than 100 service reports in one batch it always fails, to avoid this we just do a tail -n 99 status file and send that result to the client. If you were good a the coding side you could use top -n 99 and repeat the process until teh status file is empty. Hope this helps in some way, (The script we use is rather messy and proberly wouldnt be much use to anyone but us so I havnt posted it) -- +------------------------------------------+ \|||/ | Bruce at WebFarm.co.nz +64 06 7572881 | (o o) | Systems Technician +---ooO-(_)-Ooo---+ | | | WebFarm http://www.webfarm.co.nz | | FreeParking http://www.freeparking.co.nz | +------------------------------------------------------------+ ... FreeParking - NZ's best value Domain, WebHosting and email accounts - bar none ... WebFarm - NZ's eCommerce specialists since 1997 Jason Martin wrote: >Has anyone implemented a OCSP that is fault tolerant? The >failure scenario I am envisioning is a two-tier distributed >model. The distributed server detects a volatile alert, say a >logfile alert indicating that a disk has failed. It then calls >the OCSP for that alert to report it to the central server, but >a transient network failure causes send_nsca to fail. > >send_nsca has no way of queueing the alert to be sent at a later >point up to the central server, and the nature of the alert is >not one that will necessairily repeat. The alert gets lost, no >notifications are sent from the central server and the the >machine eventually fails due to another disk failure since it >isn't configured to handle a 2-way disk failure. > >Is there a simple way to maintainthe distributed Nagios setup >and also cover volatile alerts reliably? > >Thanks, >-Jason Martin > > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor at ambra.ro Thu Sep 2 09:06:43 2004 From: victor at ambra.ro (victor) Date: Thu, 02 Sep 2004 10:06:43 +0300 Subject: nagios and mysql coordinates Message-ID: <4136C683.1060909@ambra.ro> Did somenoane used mysql coordinates succesfuly? It seems that thay have no effect - but ather mysql attributes work. Thank you. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brad.Henshaw at qbuild.qld.gov.au Thu Sep 2 09:14:44 2004 From: Brad.Henshaw at qbuild.qld.gov.au (HENSHAW Brad) Date: Thu, 2 Sep 2004 17:14:44 +1000 Subject: Useful status map Message-ID: <6227E947B877F8478B87FEA8B0649CF6013510D1@SQBHOEXS02.qbuild.dpw.qld.gov.au> Does anyone have a strategy or scripts to make the statusmap usable for a largeish (200+) number of hosts? As I don't have a lot of time I'm loathe to hack statusmap.cgi but might do so if I have to. There is something to be said for having a pretty map which fits on screen to show the less technically inclined in an attempt to justify hours ssh'd into my nagios box! Regards, Brad ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal For more information please visit www.marshalsoftware.com ##################################################################################### ############################################################################# This electronic message and any attachments are supplied in good faith. QBuild accepts no responsibility for the damage or loss which may occur through the use or transmission of this message and attachments. The contents of this electronic message and any attachments are intended only for the addressee and may contain privileged or confidential information. If you are not the addressee, you are notified that any transmission, distribution, downloading, printing or photocopying of the contents of this message or attachments is strictly prohibited. The privilege of confidentiality attached to this message and attachments is not waived, lost or destroyed by reason of mistaken delivery to you. If you receive this message in error please notify the sender by return e-mail or telephone. ############################################################################## -------------- next part -------------- An HTML attachment was scrubbed... URL: From m at rtij.nl Thu Sep 2 09:30:18 2004 From: m at rtij.nl (Martijn Lievaart) Date: Thu, 02 Sep 2004 09:30:18 +0200 Subject: mixed platforms cross firewalls In-Reply-To: References: Message-ID: <4136CC0A.6020403@rtij.nl> Harris, Sam wrote: > Again J > > Just wondering if anybody has come cross a situation where you are > monitoring NT boxes on the other side of the firewall, and where > opening ports such as 161 would make you sweat. > > Ideally, I would route traffic in via ssh, but in NT how would I run > nrpe under ssh ??? > > > Start with http://www.google.com/search?q=sshd+windows. From there your on your own I'm afraid, I don't run Windows. BTW, I always thought one uses either ssh or nrpe, not together. With ssh one can just run the plugin on the remote host, so you don't need nrpe. I think your job may turn out easier than you thought if port 22 is allowed. HTH, M4 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 09:29:57 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 02 Sep 2004 19:29:57 +1200 Subject: Useful status map In-Reply-To: <6227E947B877F8478B87FEA8B0649CF6013510D1@SQBHOEXS02.qbuild.dpw.qld.gov.au> References: <6227E947B877F8478B87FEA8B0649CF6013510D1@SQBHOEXS02.qbuild.dpw.qld.gov.au> Message-ID: <1094110197.18110.2.camel@munter> ./nagiosmap.pl + patience young jedi :-) jamie On Thu, 2004-09-02 at 19:14, HENSHAW Brad wrote: > Does anyone have a strategy or scripts to make the statusmap usable > for a largeish (200+) number of hosts? As I don't have a lot of time > I'm loathe to hack statusmap.cgi but might do so if I have to. > > There is something to be said for having a pretty map which fits on > screen to show the less technically inclined in an attempt to justify > hours ssh'd into my nagios box! > > Regards, > Brad > > > ______________________________________________________________________ > This e-mail message has been scanned for Viruses and Content and > cleared by MailMarshal - For more information please visit > www.marshalsoftware.com > ______________________________________________________________________ > > ______________________________________________________________________ > Attention: > This electronic message and any attachments are supplied in good > faith. > QBuild accepts no responsibility for the damage or loss which may > occur > through the use or transmission of this message and attachments. > > The contents of this electronic message and any attachments are > intended > only for the addressee and may contain privileged or confidential > information. > If you are not the addressee, you are notified that any transmission, > distribution, downloading, printing or photocopying of the contents of > this message or attachments is strictly prohibited. The privilege of > confidentiality attached to this message and attachments is not > waived, lost or destroyed by reason of mistaken delivery to you. > > If you receive this message in error please notify the sender by > return e-mail or telephone. > ______________________________________________________________________ > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 09:53:37 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Thu, 2 Sep 2004 09:53:37 +0200 Subject: No more helf from tsmgsoftware ?? Message-ID: <90D32590BAD135448DC12C1EA3EB44822099F8@epsewr01.ewrlan.ewr.int> Hello! I need some help for NS Client but the page http://support.tsmgsoftware.com/ has some problems with the phpBB table... There are no admins for that site?? Any other Forums who can help me?? Thanks ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ghe_rivero at yahoo.es Thu Sep 2 10:08:04 2004 From: ghe_rivero at yahoo.es (=?iso-8859-1?q?Ghe=20Rivero?=) Date: Thu, 2 Sep 2004 10:08:04 +0200 (CEST) Subject: Problem with nagios-statd and RH Advanced Server 3.0 Message-ID: <20040902080804.8859.qmail@web50309.mail.yahoo.com> Hi people, my logs are full of this kind of messages, Sep 2 10:06:49 hiscpdfs02 kernel: application bug: nagios-statd(32247) has SIGCHLD set to SIG_IGN but calls wait(). but nagios is working properly. What can it be? Ghe Rivero ______________________________________________ Renovamos el Correo Yahoo!: ?100 MB GRATIS! Nuevos servicios, m?s seguridad http://correo.yahoo.es ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 2 10:21:40 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 2 Sep 2004 10:21:40 +0200 Subject: AW: Monitoring Windows Event Log from Nagios Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59404C@SYGOMAIL.GOE.AD.SYCOR.DE> Hi Shane, Sounds like a pretty interesting idea. Do you have to edit the snmptt.conf file by hand and add every windows event you want to send to nagios, or is there a MIB or someting? I plan to check about a few thousand Eventtypes, would be a mess to add all those events I think... Maybe you can send your snmptt.conf? Regards, Philipp ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Reutzel, Shane Sent: Sunday, August 22, 2004 3:09 PM To: 'wgking at cips.ca'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: AW: Monitoring Windows Event Log from Nagios You can also monitor the Windows Event Logs by utilizing the built-in utility "evntwin" to select the event IDs you want to alert on, export it to a txt file (command in the utility "evntwin"), then modify the text file and add the following line to that file "#pragma ADD_TRAP_DEST CommunityName HostID", wherer "CommunityName" is the community name that you snmp management device is looking for and where "HostID" is where to send the SNMP trap. This will make it so when ever this event id appears in the event log, a SNMP trap will be sent immediately to a SNMP management device in real time. I then have net-snmp (snmpd, snmptrapd), snmptt (utilty to interperet the trap) and nsca / send-nsca (To send the output to Nagios). SNMPTRAPD intercepts the trap, in which you have a traphandler that points this to snmptthandler in the snmptrapd.conf file. (Looks like this: traphandle default /usr/sbin/snmptthandler) SNMPTTHANDLER then checks it's config file for the matching OID or Trap (snmptt.conf) Example of an entry in the snmptt.conf file: EVENT landeskShutdown .1.3.6.1.4.1.311.1.13.1.20.82.101.109.111.116.101.32.67.111.110.116.114. 111.108.32.65.103.101.110.116.0.5 "Status Events" CRITICAL FORMAT Landesk Login Alert: $1 $2 $3 $4 $5 EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result $r Event_Logs 1 "Landesk Login Alert: $1" SDESC Established connection to storage system --NMS trap annotation Variables: EDESC NOTE: the long number is the oid, which can be obtained from the evntcmd utility when you choose the event id to add. Look at the oid, add a .0 and then add a .x where x equals the "Trap specific ID" ********************************************** Example: Enterprise OID: 1.3.6.1.4.1.311.1.13.1.20.82.101.109.111.116.101.32.67.111.110.116.114.1 11.108.32.65.103.101.110.116 Trap specific ID: 5 OID to look for in snmptt.conf: .1.3.6.1.4.1.311.1.13.1.20.82.101.109.111.116.101.32.67.111.110.116.114. 111.108.32.65.103.101.110.116.0.5 *********************************************** The snmptthandler interperets it and based off the EXEC command, it sends the output to an "eventhandler" file. I have an eventhandler file that looks like this named "submit_check_result": # Arguments # $1 = name of host in service definition # $2 = name/description of service in service definition # $3 = return code # $4 = output /bin/echo -e "$1\t$2\t$3\t$4\n" | /usr/local/nagios/bin/send_nsca -H 127.0.0.1 -c /usr/local/nagios/etc/send_nsca.cfg You have to have the following Daemons run with these options: SNMPD: -s -l /dev/null -P /var/run/snmpd -a SNMPTRAPD: -u /var/run/snmptrapd.pid -o /var/log/snmptrapd.log -Dsnmptrapd -On References: SNMPD: net-snmp.org SNMPTT: snmptt.org EVNTCMD: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs /en-us/evntcmd.mspx NSCA / SEND-NSCA: nagios.org This is a longer way to go about it, but it works in real-time and works pretty slick. -Shane -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Greg King Sent: Sunday, August 22, 2004 12:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: AW: Monitoring Windows Event Log from Nagios Hi list, Environment: RH9, Nagios 1.2 from DAG RPMs. I have installed the windows event monitor of Naplax and it works fine from the command line as either the Nagios user or root, but when I try it as a Nagios service, I get service critical with "no output!". I have added the "-w" option to the perl command line and cleaned up some minor warning messages, but it still refuses to work inside Nagios, but runs fine on the command line. I suspect this is the embedded perl working differently from "normal" perl. Is there a way to "turn off" embedded perl without recompiling Nagios? How would one go about debugging the embedded perl? Regards, Greg King ----------------------- From: Schaffranneck, Sven (K-DOI-5/4) AW: Monitoring Windows Event Log from Nagios 2004-05-11 23:27 Hi Steve, > Does anyone out there have a method to monitor the Windows > Event log using > Nagios? have a look at http://naplax.sourceforge.net/check_win_eventlog.html for NAPLAX and it"s Windows Eventlog Addon. Poorly it doesn"t support the embedded Perl Nagios and the author doesn"t know how to change the perl-script to work with ePN. Maybe anyone else want this!? :-) Greets Sven ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben at clewett.org.uk Thu Sep 2 10:42:18 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Thu, 02 Sep 2004 09:42:18 +0100 Subject: Nagios database integration In-Reply-To: <38611E84B46C0345BC667244E1E2AA95DC0564@sdnexchange.sdncom.sdn> References: <38611E84B46C0345BC667244E1E2AA95DC0564@sdnexchange.sdncom.sdn> Message-ID: <4136DCEA.7020701@clewett.org.uk> Dear Travis, You may want to look at our PerfParse project: http://perfparse.sourceforge.net This is a sister product to Nagios which imports Nagios data into it's own MySQL administration program, with a CGI front end. This gives you graphs of plugin output and availability reports, as well as keeping a permanent record of Nagios data for a variable unlimited time period. This might give you some functionality you are looking for. Ben Travis Dangel wrote: > Just curious what the plans are to integrate a database system (mysql, > postgres, etc) with Nagios? I?ve been playing with Nagios 1.2 for a few > weeks now and we are looking at using it primarily as our network health > monitoring and paging system, however in order to that a much more user > friendly administration method must be created. The current method of > editing the .cfg files via a shell is not necessarily the most difficult > method ever but from a day to day standpoint tends to be a lot more work > than should be necessary. > > > > What my plans were (should we decide to use Nagios as our full time > monitoring system) was to create a web based front end that used a mysql > database to store host, service, and contact information and then in > turn use my front end scripts to update the nagios SQL database and also > write/overwrite the actual .cfg files that nagios currently uses. That > way the program actually gets updated and sync?d with the database even > though its still only actually loading its configuration from the files. > This scenario would work fine although I?m not a fan of hacking > something together just to get it to function properly when its possible > to get it functioning the ?correct? way if that is in fact coming soon. > > > > Does Nagios 2.0 have any further database support for hosts and services > or is it still completely file based for host and service records? Just > curious as to what my options might be here before we make a decision > and I start rattling out some scripts to handle the system as described > above. From what I?ve been reading there isn?t much for a plan to > integrate database storage methods into Nagios any time in the very near > future so ? just curious if I?m correct there and that doing this front > end is about my only option right now for a timely solution? > > > > Thanks in advance for any input. > > > > ------------------- > > Travis Dangel > > > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 2 10:45:21 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Thu, 2 Sep 2004 16:45:21 +0800 Subject: nagios and mysql coordinates In-Reply-To: <4136C683.1060909@ambra.ro> References: <4136C683.1060909@ambra.ro> Message-ID: <20040902084521.GA6025@quex.org> On Thu, Sep 02, 2004 at 10:06:43AM +0300, victor wrote: > Did somenoane used mysql coordinates succesfuly? It seems that thay > have no effect - but ather mysql attributes work. They are only used for the "User-supplied coords" status map, and I think you need to provide coordinates for every host. Also, make sure the column have_2d_coords is set to 1 for each host, or the CGI won't know they're there. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Thu Sep 2 10:48:45 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 2 Sep 2004 09:48:45 +0100 Subject: check_procs not detecting process Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE92A8F15@netfinity-1.foundation-it.local> Jason Martin wrote: > On Wed, Sep 01, 2004 at 10:46:22AM +0100, Phil Costelloe wrote: >> Jason Martin wrote: >> Unless you also rewrite check_procs.c, that won't work as the plugin >> is expecting the columns that the 'worse' syntax outputs. > Actually, as long as one fixes both the ps command and the scanf > string in the configure input it is unnecessary to modify > check_procs.c. It will Just Work. Agreed, with the proviso that your ps command provides the column values that the ps -weo syntax outputs. Otherwise the options to check_procs, which are expecting those values, won't work as far as I can see. The answer to the original question was that the string being searched for was an argument and not a command and hence the -a and not -C option had to be used, so their function does need to be preserved. There was an implication in the flow of the thread (not from you or anybody else, just in the juxtaposition of posts) that you can feed check_procs the ps -ef output and that will work - which I don't really think is the case. Phil ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.manchado at eurociber.es Thu Sep 2 11:44:16 2004 From: david.manchado at eurociber.es (David Manchado) Date: Thu, 2 Sep 2004 11:44:16 +0200 Subject: Help with RTG+Nagios Message-ID: <200409021144.20611.david.manchado@eurociber.es> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I'm using RTG to get bw graphs but I still keep some MRTG stuff because I have nagios integrated with bw alarms. I'd like to put away MRTG definitively and this will be possible as soon as I get a script to check RTG data but I have not found how does RTG store the polls and the meaning of the values at MySQL database. I'd appreciate if someone could explain how to translate a entry at database 123435 --> 234 kbps... and I'd REALLY appreciate if someone could point me at a script already developed ;) PD: probably this issue has been previously solved but neither rtg-list nor nagios-user googling has been successful - -- David Manchado System Administrator EUROCIBER e: david.manchado at eurociber.es t: +34 902 902 997 f: +34 91 338 1616 Public PGP key available at pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBNut0MYU15PsVbX0RAkRiAJ9BqYPTPHzaebqWGn+PUkzqTGFMMwCfeozL t5VlBEG7q7qlJ6q3fEB6wTU= =jNjt -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob5 at goobertek.com Thu Sep 2 14:51:25 2004 From: rob5 at goobertek.com (rob5 at goobertek.com) Date: Thu, 2 Sep 2004 07:51:25 -0500 (CDT) Subject: (no subject) Message-ID: <25191.165.221.129.1.1094129485.squirrel@165.221.129.1> Howdy Folks! How do I fix this problem with check_dhcp? Error: Could not bind socket to interface eth0. Check your privileges... The permissions for check_dhcp are set to be owned by root and of the root group. Any ideas would be helpful? ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob5 at goobertek.com Thu Sep 2 15:13:23 2004 From: rob5 at goobertek.com (rob5 at goobertek.com) Date: Thu, 2 Sep 2004 08:13:23 -0500 (CDT) Subject: check_dhcp not binding problem Message-ID: <34997.165.221.129.1.1094130803.squirrel@165.221.129.1> Howdy Folks I am getting the following message from check_dhcp: Error: Could not bind socket to interface eth0. Check your privileges... THe permissions on check_dhcp are set to be owned and part of the root group. Any thoughts? ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Thu Sep 2 15:21:31 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Thu, 02 Sep 2004 15:21:31 +0200 Subject: check_dhcp not binding problem In-Reply-To: <34997.165.221.129.1.1094130803.squirrel@165.221.129.1> References: <34997.165.221.129.1.1094130803.squirrel@165.221.129.1> Message-ID: <41371E5B.4000503@dhl.com> chmod +s check_dhcp rob5 at goobertek.com wrote: >Howdy Folks > >I am getting the following message from check_dhcp: > >Error: Could not bind socket to interface eth0. Check your privileges... > > >THe permissions on check_dhcp are set to be owned and part of the root group. > >Any thoughts? > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_idP47&alloc_id808&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 2 15:41:47 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 2 Sep 2004 07:41:47 -0600 Subject: Event Handlers are not runing or logging. (on WARNING or CRITICAL) Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9AAE@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Hi, > > I think my email is not working correctly because im not getting > responses to my questions until I post a follow up (very weird) > > Has anyone had any thoughts on my findings below? > > Just to refresh the issue, > Originally I thought Event handlers were not running, however I have > since found that the event handlers are running but only when > a service > check returns OK when it has been in another state. This is not very > useful since an event handler should be fixing the occurring problems > not trying to fix them after they are manually fixed. Ive included a > log file of one host/service which experiences the problem (qouted > below) so that people can see what I mean, > > Any thoughts would be appreciated, IIRC, the event handler is run after each state change, whether it be hard or soft. Whether or not the handler does anything at these various stages is a function of the event handler itself. My guess is that this was not apparent to you before, or you would have posted the event handler script and requested help debugging that. Therefore, you should probably drop back ten yards and punt. Go back and read the docs again (http://nagios.sourceforge.net/docs/1_0/eventhandlers.html), and pay special attention to the example 'restart-httpd' script. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > >> Bruce at WebFarm.co.nz +64 06 7572881 | (o o) >> Systems Technician +---ooO-(_)-Ooo---+ >> | >> WebFarm http://www.webfarm.co.nz | >> FreeParking http://www.freeparking.co.nz | > +------------------------------------------------------------+ > > ... FreeParking - NZ's best value Domain, WebHosting and > email accounts - bar none > ... WebFarm - NZ's eCommerce specialists since 1997 > > > > > bruce wrote: > >> Hi, >> >> Ive done a little more testing and it appears the event handlers ARE >> running but only when the state changes to OK, which of course is no >> use for fixing the problem. >> >> Below is the nagios.log file from one of the live system (well >> result of: egrep 'creeper.*Defun' var/nagios.log), freshclam seems >> to be running on all the severs but the Defunct processes check does >> get some results. The nagios configs are excatly the same for these >> also (the command sends fixdefuncts.sh instead of >> restartFreshClam.sh and thats the only difference. >> >> -- 8<-- nagios.log >> [1093669850] SERVICE ALERT: creeper;Defuncts;OK;HARD;1;OK - 5 >> processes running with STATE = Z [1093670146] SERVICE ALERT: > creeper;Defuncts;WARNING;HARD;1;WARNING - 6 >> processes running with STATE = Z >> [1093673451] SERVICE ALERT: > creeper;Defuncts;WARNING;HARD;1;WARNING - 7 >> processes running with STATE = Z >> [1093677052] SERVICE ALERT: > creeper;Defuncts;WARNING;HARD;1;WARNING - 8 >> processes running with STATE = Z >> [1093680652] SERVICE ALERT: > creeper;Defuncts;WARNING;HARD;1;WARNING - 10 >> processes running with STATE = Z >> [1093684251] SERVICE ALERT: > creeper;Defuncts;WARNING;HARD;1;WARNING - 10 >> processes running with STATE = Z >> [1093685900] SERVICE ALERT: > creeper;Defuncts;CRITICAL;HARD;1;CRITICAL - >> 11 processes running with STATE = Z >> [1093687852] SERVICE ALERT: > creeper;Defuncts;CRITICAL;HARD;1;CRITICAL - >> 11 processes running with STATE = Z >> [1093691451] SERVICE ALERT: > creeper;Defuncts;CRITICAL;HARD;1;CRITICAL - >> 13 processes running with STATE = Z >> [1093695059] SERVICE ALERT: > creeper;Defuncts;CRITICAL;HARD;1;CRITICAL - >> 15 processes running with STATE = Z >> [1093696438] SERVICE ALERT: creeper;Defuncts;OK;HARD;1;OK - 0 >> processes running with STATE = Z [1093696438] SERVICE EVENT HANDLER: >> creeper;Defuncts;OK;HARD;1;allserver_defunct_fix >> [1093696516] SERVICE ALERT: creeper;Defuncts;OK;HARD;1;OK - 0 >> processes running with STATE = Z [1093696624] SERVICE ALERT: >> creeper;Defuncts;OK;HARD;1;OK - 0 processes running with STATE = Z >> [1093696673] SERVICE ALERT: creeper;Defuncts;OK;HARD;1;OK - 0 >> processes running with STATE = Z [1093697080] SERVICE ALERT: >> creeper;Defuncts;OK;HARD;1;OK - 1 processes running with STATE = Z >> -- 8<-- End nagios.log >> >> As you can see it goes through the motions, OK => WARNING => >> CRITICAL => OK (when we mannually restart the offending process on >> the server, yeah the better fix would be to fix the process but we >> are still investigating why it happens :( very weird, but different >> issue ) >> >> When changing from OK => WARNING it dosnt run the event handler, >> only when it goes back to OK does it run. >> >> If I change the event handlers args to be a static CIRITCAL the >> handler logs in and does the restart, so everything is fine there. >> >> Here are the related config sections just for reference of this >> command and service: >> >> define service { >> use hosted >> service_description Defuncts >> check_command serv_check_zombie_procs >> >> event_handler allserver_defunct_fix >> event_handler_enabled 1 >> hostgroup_name shared >> } >> define command { >> command_name allserver_defunct_fix >> command_line > $USER1$/fix-w-allserver.sh $HOSTADDRESS$ $SERVICESTATE$ > $SERVICEATTEMPT$ defunctFix.sh >> } >> >> >> Any thoughts or suggestions? >> >> Cheers, ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 2 15:55:20 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 2 Sep 2004 15:55:20 +0200 Subject: (no subject) Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59405C@SYGOMAIL.GOE.AD.SYCOR.DE> Did you execute the plugin via commandline or via nagios? When you execute it via Nagios, the nagios user will do it by default. Log on as root and execute the plugin via commandline and check if it works there. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of rob5 at goobertek.com > Sent: Thursday, September 02, 2004 2:51 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] (no subject) > > Howdy Folks! > > How do I fix this problem with check_dhcp? > > Error: Could not bind socket to interface eth0. Check your > privileges... > > The permissions for check_dhcp are set to be owned by root > and of the root group. > > Any ideas would be helpful? > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop FREE > Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hjp+nagios at wsr.ac.at Thu Sep 2 15:54:18 2004 From: hjp+nagios at wsr.ac.at (Peter J. Holzer) Date: Thu, 2 Sep 2004 15:54:18 +0200 Subject: schedule downtime for host AND it's services In-Reply-To: <20040901130143.GG15432@wsr.ac.at> References: <41FD7929498A174DAB86C45F28E0EC0D6E9A44@golden-m.mactec.com> <20040901130143.GG15432@wsr.ac.at> Message-ID: <20040902135418.GA7265@wsr.ac.at> On 2004-09-01 13:03:51 +0200, Richard Luys wrote: > On Tue, 31 Aug 2004 09:22:51 -0600, Cook, Garry wrote: > >nagios-users-admin at lists.sourceforge.net wrote: > [...snip...] > > >>That's what I thought, too. But when I schedule a downtime for a host, > >>the service is still checked, and when you look at the extinfo for the > >>service, there's no sign, that the service is in scheduled downtime. > >>When I do a availibility report for the service, it messes up > >>my stats, > >>because the service never seems to be in a scheduled downtime. > > > >You might want to read the docs on downtime again. As I understand them, > >anything scheduled for downtime SHOULD continue to be checked. Downtime > >only stops notifications. > > > I think Garry is correct on that one; you don't want to get notifications > about a host that you know it's down, but it still is down and not > available for users. So in my opinion a report on system availability > should state this system as unavailable for that period, and if you look > at it that way, your statistics are correct... The host and service availability reports for single services and hosts show both scheduled and unscheduled downtimes. However, the report for multiple hosts shows only the total downtime with no distinction between scheduled and unscheduled downtime. I guess Philipp wants to have that distinction in all reports (and I agree that would be useful). hp PS: I'm still running Nagios 1.0 here, maybe that's been changed in later versions. -- _ | Peter J. Holzer | Shooting the users in the foot is bad. |_|_) | Sysadmin WSR / LUGA | Giving them a gun isn't. | | | hjp at wsr.ac.at | -- Gordon Schumacher, __/ | http://www.hjp.at/ | mozilla bug #84128 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 388 bytes Desc: not available URL: From marc at ena.com Thu Sep 2 16:43:22 2004 From: marc at ena.com (Marc Powell) Date: Thu, 2 Sep 2004 09:43:22 -0500 Subject: check_dhcp not binding problem Message-ID: <370ACCFA5BB3B346A31222E5559BF91F38ABB4@mismail2.ena.com> ----Original Message---- From: rob5 at goobertek.com [mailto:rob5 at goobertek.com] Sent: Thursday, September 02, 2004 8:13 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_dhcp not binding problem > Howdy Folks > > I am getting the following message from check_dhcp: > > Error: Could not bind socket to interface eth0. Check your > privileges... > > > THe permissions on check_dhcp are set to be owned and part of the > root group. > > Any thoughts? I don't use the plugin myself but I'm going to bet it needs to run with root priveleges. Being owned by root is not sufficient as it will be executed as the nagios user. You'll need to set the sticky bit so that it maintains root priveleges when being executed by non-root users chmod u+s check_dhcp -- Marc ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob5 at goobertek.com Thu Sep 2 17:00:53 2004 From: rob5 at goobertek.com (rob5 at goobertek.com) Date: Thu, 2 Sep 2004 10:00:53 -0500 (CDT) Subject: Setting Up Disk Monitoring Message-ID: <29730.165.221.129.1.1094137253.squirrel@165.221.129.1> I have been working with Nagios for just a little while so forgive me if this question is trivial. I would like to monitor disk space on Windows XP machines running on my network. I would assume using the plugin check_snmp would do it. However, I don't have a clue as to how to set it up. I suppose I am also going to need to run something on the XP workstations as well. Any way, can someone point me to some documentation on how to possible do this? ROB ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwanikij at yahoo.com Thu Sep 2 17:20:44 2004 From: mwanikij at yahoo.com (Jack M) Date: Thu, 2 Sep 2004 08:20:44 -0700 (PDT) Subject: Useful status map In-Reply-To: <1094110197.18110.2.camel@munter> References: <1094110197.18110.2.camel@munter> Message-ID: <20040902152044.12104.qmail@web52907.mail.yahoo.com> You are right Jamie. However, Nagiosmap doesent seem to get there yet. See my earlier query below: --- Jack M wrote: > Date: Wed, 1 Sep 2004 07:27:19 -0700 (PDT) > From: Jack M > Subject: [Nagios-users] Nagiosmap Woes > To: Nagios-users at lists.sourceforge.net > > Hi, > > I am trying to get nagios to work for me but in > vain. > I only need the english version but all attempts to > call PERL NAGIOSMAP.PL returns the following errors. > Please let me know what I may or may not be missing. > It only opens the hosts.cfg and hostextinfo.cfg , > then > it hangs. What am I doing wrong then? > > NB: I have installed all the Perl modules as listed > on > the nagiosmap.pl header > > > ........................ERRORS>>>>>>>>>>>>>>>>>>>>>>> > > PV = 0x8702410 "couldn't recognize data in image > file > \"\264\20p\10\1\""\0Malformed UTF-8 character > formed UTF-8 character (unexpected non-continuation > byte 0xc3, immediately after > start byte 0xc0) in subroutine entry at > /usr/lib/perl5/vendor_perl/5.8.2/i386-l > inux/Tk/Image.pm line 21. > [UTF8 "couldn't recognize data in image file > "\x{0}o\x{8}\x{1}""] > CUR = 45 > LEN = 46 > SV = PVMG(0x84fe7b8) at 0x86eebc8 > REFCNT = 1 > FLAGS = (SMG,POK,pPOK,UTF8) > IV = 0 > NV = 0 > PV = 0x870d2e8 "couldn't recognize data in image > file \"\300\303o\10\1\""\0Mal > formed UTF-8 character (unexpected non-continuation > byte 0xc3, immediately after > start byte 0xc0) in subroutine entry at > /usr/lib/perl5/vendor_perl/5.8.2/i386-l > inux/Tk/Image.pm line 21. > [UTF8 "couldn't recognize data in image file > "\x{0}o\x{8}\x{1}""] > CUR = 45 > LEN = 46 > MAGIC = 0x870d3c8 > MG_VIRTUAL = &PL_vtbl_utf8 > MG_TYPE = PERL_MAGIC_utf8(w) > MG_LEN = 44 > Tk::Error: couldn't recognize data in image file > "??" > at /usr/lib/perl5/vendor_p > erl/5.8.2/i386-linux/Tk/Image.pm line 21. > Tk callback for image > Tk::Image::new at > /usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk/Image.pm > line > 21 > Tk::Image::__ANON__ at > /usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk/Image.pm > line 63 > main::create_objects at nagiosmap.pl line 569 > main::read_nscgi at nagiosmap.pl line 530 > main::open_dialog at nagiosmap.pl line 326 > Tk callback for .frame.menubutton.menu > Tk::__ANON__ at > /usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk.pm > line > 247 > Tk::Menu::Invoke at > /usr/lib/perl5/vendor_perl/5.8.2/i386-linux/Tk/Menu.pm > line > 531 > > (command bound to event) > > --- Jamie Baddeley wrote: > ./nagiosmap.pl + patience young jedi > > :-) > > jamie > > On Thu, 2004-09-02 at 19:14, HENSHAW Brad wrote: > > Does anyone have a strategy or scripts to make the > statusmap usable > > for a largeish (200+) number of hosts? As I don't > have a lot of time > > I'm loathe to hack statusmap.cgi but might do so > if I have to. > > > > There is something to be said for having a pretty > map which fits on > > screen to show the less technically inclined in an > attempt to justify > > hours ssh'd into my nagios box! > > > > Regards, > > Brad > > > > > > > ______________________________________________________________________ > > This e-mail message has been scanned for Viruses > and Content and > > cleared by MailMarshal - For more information > please visit > > www.marshalsoftware.com > > > ______________________________________________________________________ > > > > > ______________________________________________________________________ > > Attention: > > This electronic message and any attachments are > supplied in good > > faith. > > QBuild accepts no responsibility for the damage or > loss which may > > occur > > through the use or transmission of this message > and attachments. > > > > The contents of this electronic message and any > attachments are > > intended > > only for the addressee and may contain privileged > or confidential > > information. > > If you are not the addressee, you are notified > that any transmission, > > distribution, downloading, printing or > photocopying of the contents of > > this message or attachments is strictly > prohibited. The privilege of > > confidentiality attached to this message and > attachments is not > > waived, lost or destroyed by reason of mistaken > delivery to you. > > > > If you receive this message in error please notify > the sender by > > return e-mail or telephone. > > > ______________________________________________________________________ > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic > Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 > today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 17:25:31 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 2 Sep 2004 08:25:31 -0700 Subject: Fault tolerant OCSP's In-Reply-To: <4136C24C.6090309@webfarm.co.nz> References: <20040901230818.GF352@zippy.toger.us> <4136C24C.6090309@webfarm.co.nz> Message-ID: <20040902152531.GA22545@zippy.toger.us> On Thu, Sep 02, 2004 at 06:48:44PM +1200, Bruce wrote: > Basically every service event is logged to a status file on the remote > server, then once a minute the remote server sends the data inside the > file back to the main server. What mechanism do you use to send it? > alerts, so we dont worry that much about it) is if the file grows to > more than 100 service reports in one batch it always fails, to avoid Why does it fail? -Jason Martin -- Multitasking = 3 PCs and a chair with wheels! 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 ryan.moreton at dxi.net Thu Sep 2 17:26:19 2004 From: ryan.moreton at dxi.net (Ryan Moreton) Date: Thu, 2 Sep 2004 16:26:19 +0100 Subject: Displaying Multiple Hostgroups Message-ID: <4538E0D40EFD2344836D853569ED94EA01C9C7A2@dexlonasv003.uk.dexterus.com> Hi All, Is it possible to get the summary view to view a selection of specific hostgroups, rather than all or just one? I type the following to view one: /nagios/cgi-bin/status.cgi?hostgroup=Hostgroup1&style=summary but I want to view Hostgroup1 Hostgroup2 etc Many Thanks in advance, Ryan ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 2 17:27:44 2004 From: JStork at providencehealth.bc.ca (Stork, Johnny [PH]) Date: Thu, 2 Sep 2004 08:27:44 -0700 Subject: Strange behavior, Nagios running but not doing checks? Message-ID: <9BA1D6F859B535448073EF58517BC97C09A42829@phcexch.phc.bc.ca> I have had Nagios runnign fine for months, using Mysql as the database. But recently I just noticed that only a few checks out of dozens appear to have been run lately and most have dates more than 2 months old now? Any given service check shows the correct "expected" time of next check, and nothing seems to be going into the /var/log/messages file? Also, I can run any of the given service checks from the command line just fine? Any ideas as to whats gone wrong and how I can debug this? ----------------------------------------------------------- Johnny Stork Lead Information Technology/Data Manager Provincial Blood Coordinating Office ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nettech at kmts.ca Thu Sep 2 17:31:35 2004 From: nettech at kmts.ca (Don {KMTS}.Net Support) Date: Thu, 2 Sep 2004 10:31:35 -0500 Subject: Nagios+mysql Message-ID: Hi all, Thank you all for your help this far. I found out last night that in addition to having Nagios running, I need to compile it with mysql support. I have checked the Docs and forums and found some usefull command line tricks for compiling and workarounds, but it still seems to fail on the make all command. Some background on myspecs: mysql Ver 11.18 Distrib 3.23.58, for redhat-linux-gnu (i386) Fedora 1 is the distro Kernel is 2.4.22-1.2199.nptl What I am going to do is attach a log file of what is spewed out. This is the command line that I am using to compile Nagios: ./configure --prefix=/usr/local/nagios-1.2 --datadir=/usr/local/nagios-1.2/s hare --sbindir=/usr/local/nagios-1.2/sbin --localstatedir=/usr/local/nagios- 1.2/var --with-cgiurl=/nagios-1.2/cgi-bin --with-htmurl=/nagios-1.2 --with-n agios-user=nagios --with-nagios-grp=nagios --with-mysql-lib=/usr/local/mysql -3.23.58/lib/mysql --with-mysql-inc=/usr/local/mysql-3.23.58/include/mysql - -with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-r etention --with-mysql-downtime --with-mysql-xdata In the attachment I have provided the end result of the compile (seems there are no errors on this one) The 2nd attachment is the make all output...I only put the last 30 lines or so, but you will notice that the error seems to be complaining about /xdata/xdddb.c Any thoughts or solutions would be greatly appreciated. Don {KMTS.Net} Support 807-467-2040 Toll Free: 1-888-388-0991 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios-compile.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios-compile.txt URL: From m.borsani at it.net Thu Sep 2 17:34:20 2004 From: m.borsani at it.net (Marco Borsani) Date: Thu, 2 Sep 2004 17:34:20 +0200 Subject: R: Setting Up Disk Monitoring In-Reply-To: <29730.165.221.129.1.1094137253.squirrel@165.221.129.1> References: <29730.165.221.129.1.1094137253.squirrel@165.221.129.1> Message-ID: Take a look of NSClient or NRPE_NT agent documentation. I am using the first one, without check_snmp. Marco -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di rob5 at goobertek.com Inviato: gioved? 2 settembre 2004 17.01 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] Setting Up Disk Monitoring I have been working with Nagios for just a little while so forgive me if this question is trivial. I would like to monitor disk space on Windows XP machines running on my network. I would assume using the plugin check_snmp would do it. However, I don't have a clue as to how to set it up. I suppose I am also going to need to run something on the XP workstations as well. Any way, can someone point me to some documentation on how to possible do this? ROB ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 2 17:54:48 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 2 Sep 2004 10:54:48 -0500 (CDT) Subject: Problem with nagios-statd and RH Advanced Server 3.0 In-Reply-To: <20040902080804.8859.qmail@web50309.mail.yahoo.com> References: <20040902080804.8859.qmail@web50309.mail.yahoo.com> Message-ID: On Thu, 2 Sep 2004, Ghe Rivero wrote: > Hi people, > my logs are full of this kind of messages, > > Sep 2 10:06:49 hiscpdfs02 kernel: application bug: > nagios-statd(32247) has SIGCHLD set to SIG_IGN but > calls wait(). > > > but nagios is working properly. What can it be? Red Hat's 3.0 kernels are more strict about POSIX handling of signals. The code for nagios-statd does not address this strict POSIX handling. Please see the man 2 wait page for additional information. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 2 17:59:03 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 2 Sep 2004 10:59:03 -0500 (CDT) Subject: Fault tolerant OCSP's In-Reply-To: <20040902152531.GA22545@zippy.toger.us> References: <20040902152531.GA22545@zippy.toger.us> Message-ID: On Thu, 2 Sep 2004, Jason Martin wrote: > On Thu, Sep 02, 2004 at 06:48:44PM +1200, Bruce wrote: > > Basically every service event is logged to a status file on the remote > > server, then once a minute the remote server sends the data inside the > > file back to the main server. > What mechanism do you use to send it? > > > alerts, so we dont worry that much about it) is if the file grows to > > more than 100 service reports in one batch it always fails, to avoid > Why does it fail? I bet the problem relates to the 4k nagios.cmd named pipe on Nagios central. I worked around this problem using Perl modules that seemed to handle filling up the pipe and then writing the remainder of the data once Nagios reads the pipe and empties it. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gstrickland at live365.com Thu Sep 2 18:35:04 2004 From: gstrickland at live365.com (Gregg Strickland) Date: Thu, 2 Sep 2004 09:35:04 -0700 Subject: contacts e-mail and paging In-Reply-To: References: Message-ID: <20040902163527.YXYQ16651.fed1rmmtao09.cox.net@ROCKYCANYON> I currently have nagios set up so that each contact has both a pager and an e-mail defined as well as the commands to send to both. This works and for every "event" I get the proper page and e-mail. The problem is that there are some events that are page worthy events and others that are just e-mail events. Do I have to create a different contact for the same person and then define in the service who to notify... or is there a way to define at the service definition what notification command to use? The other problem is that I've been asked by the customer to have e-mail alerts 24x7, but only page during certain hours. Is there a way to do this inside nagios? I was thinking about having the notification command go through a script filter that blocks pages depending on the time of day. Thanks in advance for your help, -greggs ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Sep 2 20:12:59 2004 From: teng at dataway.com (Tedman Eng) Date: Thu, 2 Sep 2004 11:12:59 -0700 Subject: Useful status map Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7323@dw-mail.dataway.com> One strategy I used was to create groupings using the parents directive. While this may be redundant from hostgroups directives, it's the only one honored in statusmap. For example for a bunch of web servers, create a "Web Server" host with check_dummy and no hostgroup and no notifications. Make it the parent of all your web server branches. Same can be done with other host groupings. This has the advantage that the farther out from center, the more space each host gets, so they arent overlapping. I find that changing the default view to bubble view is the best way to display many hosts. Also, we have a noc with a large projector screen for everyone and high resolution, so I edited the cgi and recompiled to outout a larger image size. (There's config options for image size right at the top of the .c file) While you're in there, you can also adjust the amount of padding space required to display the hostname. I forget, but I think I also adjusted the bubble size. -----Original Message----- From: HENSHAW Brad [mailto:Brad.Henshaw at qbuild.qld.gov.au] Sent: Thursday, September 02, 2004 12:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Useful status map Does anyone have a strategy or scripts to make the statusmap usable for a largeish (200+) number of hosts? As I don't have a lot of time I'm loathe to hack statusmap.cgi but might do so if I have to. There is something to be said for having a pretty map which fits on screen to show the less technically inclined in an attempt to justify hours ssh'd into my nagios box! Regards, Brad _____ This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal - For more information please visit www.marshalsoftware.com _____ _____ Attention: This electronic message and any attachments are supplied in good faith. QBuild accepts no responsibility for the damage or loss which may occur through the use or transmission of this message and attachments. The contents of this electronic message and any attachments are intended only for the addressee and may contain privileged or confidential information. If you are not the addressee, you are notified that any transmission, distribution, downloading, printing or photocopying of the contents of this message or attachments is strictly prohibited. The privilege of confidentiality attached to this message and attachments is not waived, lost or destroyed by reason of mistaken delivery to you. If you receive this message in error please notify the sender by return e-mail or telephone. _____ -------------- next part -------------- An HTML attachment was scrubbed... URL: From agrajag at dragaera.net Thu Sep 2 23:06:39 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Thu, 02 Sep 2004 17:06:39 -0400 Subject: contacts e-mail and paging In-Reply-To: <20040902163527.YXYQ16651.fed1rmmtao09.cox.net@ROCKYCANYON> References: <20040902163527.YXYQ16651.fed1rmmtao09.cox.net@ROCKYCANYON> Message-ID: <1094159198.4398.38.camel@pel> On Thu, 2004-09-02 at 12:35, Gregg Strickland wrote: > I currently have nagios set up so that each contact has both a pager and an > e-mail defined as well as the commands to send to both. This works and for > every "event" I get the proper page and e-mail. The problem is that there > are some events that are page worthy events and others that are just e-mail > events. Do I have to create a different contact for the same person and > then define in the service who to notify... or is there a way to define at > the service definition what notification command to use? > > The other problem is that I've been asked by the customer to have e-mail > alerts 24x7, but only page during certain hours. Is there a way to do this > inside nagios? I was thinking about having the notification command go > through a script filter that blocks pages depending on the time of day. I had a similar problem, and ended up doing multiple contacts per person. In my case I had several services/hosts that I wanted to be paged and emailed about. However, there are some machines that are less critical, so I only want to be paged by them during work hours, but emailed no matter what time of day. So I setup an email contact for myself that has a 24x7 notification period, a pager contact that has a business hours notification period, and an emergency pager contact that has a 24x7 notification period. I then have a high priority and low priority contact group, each of which includes the email contact and one of the pager contacts. Hope this helps. Yes its a pain, but that's life. Another solution would be to write a wrapper script for your notify commands that wouldn't notify based on time of day. But I felt that option was even less elegant. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sitima at microlink.zm Thu Sep 2 23:18:15 2004 From: sitima at microlink.zm (Sitima) Date: Thu, 2 Sep 2004 23:18:15 +0200 Subject: Nagios Problem from Zambia Message-ID: An HTML attachment was scrubbed... URL: From gstrickland at live365.com Thu Sep 2 23:31:06 2004 From: gstrickland at live365.com (Gregg Strickland) Date: Thu, 2 Sep 2004 14:31:06 -0700 Subject: contacts e-mail and paging In-Reply-To: <1094159198.4398.38.camel@pel> References: <1094159198.4398.38.camel@pel> Message-ID: <20040902213106.DTHG4909.fed1rmmtao07.cox.net@ROCKYCANYON> Thanks for you help... that's the direction I was headed, but wanted to check with the nagios community first. Anyone that has played with 2.0 know if they handle this differently? I'll most likely be migrating to that when it's stable but haven't had time to play with it. -greggs -----Original Message----- From: Sean Dilda [mailto:agrajag at dragaera.net] Sent: Thursday, September 02, 2004 2:07 PM To: Gregg Strickland Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] contacts e-mail and paging On Thu, 2004-09-02 at 12:35, Gregg Strickland wrote: > I currently have nagios set up so that each contact has both a pager > and an e-mail defined as well as the commands to send to both. This > works and for every "event" I get the proper page and e-mail. The > problem is that there are some events that are page worthy events and > others that are just e-mail events. Do I have to create a different > contact for the same person and then define in the service who to > notify... or is there a way to define at the service definition what notification command to use? > > The other problem is that I've been asked by the customer to have > e-mail alerts 24x7, but only page during certain hours. Is there a > way to do this inside nagios? I was thinking about having the > notification command go through a script filter that blocks pages depending on the time of day. I had a similar problem, and ended up doing multiple contacts per person. In my case I had several services/hosts that I wanted to be paged and emailed about. However, there are some machines that are less critical, so I only want to be paged by them during work hours, but emailed no matter what time of day. So I setup an email contact for myself that has a 24x7 notification period, a pager contact that has a business hours notification period, and an emergency pager contact that has a 24x7 notification period. I then have a high priority and low priority contact group, each of which includes the email contact and one of the pager contacts. Hope this helps. Yes its a pain, but that's life. Another solution would be to write a wrapper script for your notify commands that wouldn't notify based on time of day. But I felt that option was even less elegant. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 00:16:03 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 03 Sep 2004 00:16:03 +0200 Subject: (no subject) In-Reply-To: <25191.165.221.129.1.1094129485.squirrel@165.221.129.1> References: <25191.165.221.129.1.1094129485.squirrel@165.221.129.1> Message-ID: <41379BA3.7060204@op5.se> rob5 at goobertek.com wrote: > Howdy Folks! > > How do I fix this problem with check_dhcp? > > Error: Could not bind socket to interface eth0. Check your privileges... > > The permissions for check_dhcp are set to be owned by root and of the root > group. > It needs to be owned by root, executable by nagios and setuid. It should look something like this in ls -l; srwxr-x--- root nagios