From marc at ena.com Thu Sep 1 00:14:03 2005 From: marc at ena.com (Marc Powell) Date: Wed, 31 Aug 2005 17:14:03 -0500 Subject: 404 Not Found Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Lee Ball > Sent: Wednesday, August 31, 2005 3:20 PM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] 404 Not Found > > I found that although the manual says you can get to it at /nagios/ its > actually /nagios instead. Try that. It depends on how you specified the Apache Alias. If it's /nagios/ then you must have the trailing slash for it to match. If it's /nagios then you don't. [snip] > Marc Powell wrote: > > Please try to respond in context. It makes it difficult for someone > > reading this thread in the future to follow exactly what's going on. So much for that.... -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at effective-it.co.uk Thu Sep 1 00:53:22 2005 From: lee at effective-it.co.uk (Lee Ball) Date: Wed, 31 Aug 2005 23:53:22 +0100 Subject: 404 Not Found In-Reply-To: References: Message-ID: <431634E2.40806@effective-it.co.uk> I have to disagree here, I find it more awkward to have to scroll down through what has already been written to view the new bits, especially when sometimes the replies don't go in the >> format properly. I know to change the config of apache to /nagios/ (only after realising the manual conflicted with itself). But if someone follows it word for word then they might have an issue. Marc Powell wrote: > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Lee Ball >>Sent: Wednesday, August 31, 2005 3:20 PM >>To: Nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] 404 Not Found >> >>I found that although the manual says you can get to it at /nagios/ > > its > >>actually /nagios instead. Try that. > > > It depends on how you specified the Apache Alias. If it's /nagios/ then > you must have the trailing slash for it to match. If it's /nagios then > you don't. > > [snip] > > >>Marc Powell wrote: >> >>>Please try to respond in context. It makes it difficult for someone >>>reading this thread in the future to follow exactly what's going on. > > > So much for that.... > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jehster.net Thu Sep 1 03:24:51 2005 From: nagios at jehster.net (Roy Kidder) Date: Wed, 31 Aug 2005 21:24:51 -0400 (EDT) Subject: Check remote MS service status In-Reply-To: <33555.206.131.211.142.1125419676.squirrel@206.131.211.142> References: <33555.206.131.211.142.1125419676.squirrel@206.131.211.142> Message-ID: <47326.192.168.1.105.1125537891.squirrel@192.168.1.105> > My main interest is checking if a remote service is running (one that is > not network-reachable). Anyone ever heard of a perl script I can run on my > Linux box to ask the NT box via RPC if a service is running? Or is nrpe > the way to go? Thanks for all the responses I got to this question. I'll give the different suggestions a try and see which works best for me. Roy ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Thu Sep 1 04:49:50 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Thu, 1 Sep 2005 10:49:50 +0800 Subject: @sysconfdir@/cgi.cfg - Installation setup problem In-Reply-To: References: Message-ID: sorry, should have checked the cfg file first.. :) set the use_authentication to 0.. the page displays.. but warning No Output is displayed in Status Infromation..? On 9/1/05, Elizar M. Palad wrote: > > Hi! Ok, i rerun configure script after installed perl, seems ok. no error > and all > the .h files are created and there's no more error in make install-config > (i had one before) > i am using the minimal.cfg to test nagios. > I started nagios without any options. > /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg > and it says: > sh: @libexecdir@/check_ping: not found > sh: @libexecdir@/check_users: not found > sh: @libexecdir@/check_procs: not found > Is this ok? > The IE page now has an error... > It appears as though you do not have permission to view information for > any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > I didn't set up any authentication for nagios. Maybe it caused the error > above? > if it does, how to use nagios without authentication? > thanks! > > > On 8/31/05, Subhendu Ghosh wrote: > > > > > > Yes - autoconf which creates configure uses perl :) > > > > You can either compile your own or sunfreeware.comhas some nice pkgadd > > versions. > > > > -sg > > > > > > On Wed, 31 Aug 2005, Elizar M. Palad wrote: > > > > > Hi, thanks! > > > from ./configure's output: > > > > > > creating html/index.html > > > creating html/side.html > > > creating include/config.h > > > creating include/snprintf.h > > > creating include/nagios.h > > > creating include/cgiutils.h > > > ./configure: perl: not found > > > ./configure: perl: not found > > > > > > Creating sample config files in sample-config/ ... > > > ./configure: perl: not found > > > ./configure: perl: not found > > > ./configure: perl: not found > > > ./configure: perl: not found > > > ./configure: perl: not found > > > ./configure: perl: not found > > > ./configure: perl: not found > > > ./configure: perl: not found > > > > > > > > > *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > > > > > General Options: > > > ------------------------- > > > Nagios executable: nagios > > > Nagios user/group: nagios,nagios > > > Command user/group: nagios,nagios > > > Embedded Perl: no > > > Event Broker: yes > > > Install ${prefix}: /usr/local/nagios > > > Lock file: ${prefix}/var/nagios.lock > > > Init directory: /etc/init.d > > > Host OS: solaris2.6 > > > .... > > > Im going to install now perl and see if it will create the location.hfile. > > > Thanks! > > > eli > > > > > > On 8/31/05, Subhendu Ghosh wrote: > > >> > > >> On Wed, 31 Aug 2005, Elizar M. Palad wrote: > > >> > > >>> I rerun ./configure --prefix=/usr/local/nagios > > >> --with-cgiurl=/nagios/cgi-bin > > >>> --with-htmlurl=/nagios --with-nagios-user=nagios > > >> --with-nagios-groupp=nagios > > >>> --with-gd-lib=/usr/local/lib > > >>> and summary is below: > > >>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > >>> > > >>> General Options: > > >>> ------------------------- > > >>> Nagios executable: nagios > > >>> Nagios user/group: nagios,nagios > > >>> Command user/group: nagios,nagios > > >>> Embedded Perl: no > > >>> Event Broker: yes > > >>> Install ${prefix}: /usr/local/nagios > > >>> Lock file: ${prefix}/var/nagios.lock > > >>> Init directory: /etc/init.d > > >>> Host OS: solaris2.6 > > >>> > > >>> Web Interface Options: > > >>> ------------------------ > > >>> HTML URL: http://localhost/nagios/ > > >>> CGI URL: http://localhost/nagios/cgi-bin/ > > >>> Traceroute (used by WAP): > > >>> > > >>> > > >>> Review the options above for accuracy. If they look okay, > > >>> type 'make all' to compile the main program and CGIs. > > >>> ------------------ > > >>> Looks ok isn't it? > > >>> then when i do 'make all', i have this error: > > >>> # make all > > >>> cd ./base && make > > >>> make: Fatal error: Don't know how to make target > > >> `../include/locations.h' > > >>> Current working directory /packages/nagios-2.0b4/base > > >>> *** Error code 1 > > >>> make: Fatal error: Command failed for target `all' > > >>> This is also my second time with this error. What I did was i copy > > >>> locations.h.in < http://locations.h.in> < > > http://locations.h.in> as > > >> locations.h :-) > > >>> and the compilation continues.. (was that not right? :) > > >>> thanks! > > >> > > >> > > >> NOOOOO - configure must have produced an error before the summary was > > >> printed. > > >> > > >> configure should create a locations.h from locations.h.in > > after > > >> appropriate substitutions. > > >> > > >> If the file is not being created properly - you may have a file > > permission > > >> issue. > > >> > > >> run "chown -R user:group nagios_src_dir/" > > >> > > >> replace the user and group with the user and group info fort he > > person > > >> running configure > > >> > > >> replace nagios_src_dir with the dir that contains the nagios src. > > >> > > >> Never copy a *.*.in file into a *.* file. > > >> > > >> > > >> > > >> -- > > >> > > >> -sg > > >> > > > > > > > > > > > > > > > > -- > > > > > > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elizar.palad at gmail.com Thu Sep 1 04:45:46 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Thu, 1 Sep 2005 10:45:46 +0800 Subject: @sysconfdir@/cgi.cfg - Installation setup problem In-Reply-To: References: Message-ID: Hi! Ok, i rerun configure script after installed perl, seems ok. no error and all the .h files are created and there's no more error in make install-config (i had one before) i am using the minimal.cfg to test nagios. I started nagios without any options. /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg and it says: sh: @libexecdir@/check_ping: not found sh: @libexecdir@/check_users: not found sh: @libexecdir@/check_procs: not found Is this ok? The IE page now has an error... It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I didn't set up any authentication for nagios. Maybe it caused the error above? if it does, how to use nagios without authentication? thanks! On 8/31/05, Subhendu Ghosh wrote: > > > Yes - autoconf which creates configure uses perl :) > > You can either compile your own or sunfreeware.comhas some nice pkgadd > versions. > > -sg > > > On Wed, 31 Aug 2005, Elizar M. Palad wrote: > > > Hi, thanks! > > from ./configure's output: > > > > creating html/index.html > > creating html/side.html > > creating include/config.h > > creating include/snprintf.h > > creating include/nagios.h > > creating include/cgiutils.h > > ./configure: perl: not found > > ./configure: perl: not found > > > > Creating sample config files in sample-config/ ... > > ./configure: perl: not found > > ./configure: perl: not found > > ./configure: perl: not found > > ./configure: perl: not found > > ./configure: perl: not found > > ./configure: perl: not found > > ./configure: perl: not found > > ./configure: perl: not found > > > > > > *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > > > General Options: > > ------------------------- > > Nagios executable: nagios > > Nagios user/group: nagios,nagios > > Command user/group: nagios,nagios > > Embedded Perl: no > > Event Broker: yes > > Install ${prefix}: /usr/local/nagios > > Lock file: ${prefix}/var/nagios.lock > > Init directory: /etc/init.d > > Host OS: solaris2.6 > > .... > > Im going to install now perl and see if it will create the location.hfile. > > Thanks! > > eli > > > > On 8/31/05, Subhendu Ghosh wrote: > >> > >> On Wed, 31 Aug 2005, Elizar M. Palad wrote: > >> > >>> I rerun ./configure --prefix=/usr/local/nagios > >> --with-cgiurl=/nagios/cgi-bin > >>> --with-htmlurl=/nagios --with-nagios-user=nagios > >> --with-nagios-groupp=nagios > >>> --with-gd-lib=/usr/local/lib > >>> and summary is below: > >>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > >>> > >>> General Options: > >>> ------------------------- > >>> Nagios executable: nagios > >>> Nagios user/group: nagios,nagios > >>> Command user/group: nagios,nagios > >>> Embedded Perl: no > >>> Event Broker: yes > >>> Install ${prefix}: /usr/local/nagios > >>> Lock file: ${prefix}/var/nagios.lock > >>> Init directory: /etc/init.d > >>> Host OS: solaris2.6 > >>> > >>> Web Interface Options: > >>> ------------------------ > >>> HTML URL: http://localhost/nagios/ > >>> CGI URL: http://localhost/nagios/cgi-bin/ > >>> Traceroute (used by WAP): > >>> > >>> > >>> Review the options above for accuracy. If they look okay, > >>> type 'make all' to compile the main program and CGIs. > >>> ------------------ > >>> Looks ok isn't it? > >>> then when i do 'make all', i have this error: > >>> # make all > >>> cd ./base && make > >>> make: Fatal error: Don't know how to make target > >> `../include/locations.h' > >>> Current working directory /packages/nagios-2.0b4/base > >>> *** Error code 1 > >>> make: Fatal error: Command failed for target `all' > >>> This is also my second time with this error. What I did was i copy > >>> locations.h.in < > http://locations.h.in> as > >> locations.h :-) > >>> and the compilation continues.. (was that not right? :) > >>> thanks! > >> > >> > >> NOOOOO - configure must have produced an error before the summary was > >> printed. > >> > >> configure should create a locations.h from locations.h.in > after > >> appropriate substitutions. > >> > >> If the file is not being created properly - you may have a file > permission > >> issue. > >> > >> run "chown -R user:group nagios_src_dir/" > >> > >> replace the user and group with the user and group info fort he person > >> running configure > >> > >> replace nagios_src_dir with the dir that contains the nagios src. > >> > >> Never copy a *.*.in file into a *.* file. > >> > >> > >> > >> -- > >> > >> -sg > >> > > > > > > > > > > -- > > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Sep 1 07:32:10 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 1 Sep 2005 01:32:10 -0400 (EDT) Subject: @sysconfdir@/cgi.cfg - Installation setup problem In-Reply-To: References: Message-ID: On Thu, 1 Sep 2005, Elizar M. Palad wrote: > Hi! Ok, i rerun configure script after installed perl, seems ok. no error > and all > the .h files are created and there's no more error in make install-config (i > had one before) > i am using the minimal.cfg to test nagios. > I started nagios without any options. > /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg > and it says: > sh: @libexecdir@/check_ping: not found > sh: @libexecdir@/check_users: not found > sh: @libexecdir@/check_procs: not found > Is this ok? No - @libexecdir@ should have been fixed by configure. For nagios - there should be no errors in the configure process... > The IE page now has an error... > It appears as though you do not have permission to view information for > any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > I didn't set up any authentication for nagios. Maybe it caused the error > above? > if it does, how to use nagios without authentication? > thanks! > > > On 8/31/05, Subhendu Ghosh wrote: >> >> >> Yes - autoconf which creates configure uses perl :) >> >> You can either compile your own or sunfreeware.comhas some nice pkgadd >> versions. >> >> -sg >> >> >> On Wed, 31 Aug 2005, Elizar M. Palad wrote: >> >>> Hi, thanks! >>> from ./configure's output: >>> >>> creating html/index.html >>> creating html/side.html >>> creating include/config.h >>> creating include/snprintf.h >>> creating include/nagios.h >>> creating include/cgiutils.h >>> ./configure: perl: not found >>> ./configure: perl: not found >>> >>> Creating sample config files in sample-config/ ... >>> ./configure: perl: not found >>> ./configure: perl: not found >>> ./configure: perl: not found >>> ./configure: perl: not found >>> ./configure: perl: not found >>> ./configure: perl: not found >>> ./configure: perl: not found >>> ./configure: perl: not found >>> >>> >>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: >>> >>> General Options: >>> ------------------------- >>> Nagios executable: nagios >>> Nagios user/group: nagios,nagios >>> Command user/group: nagios,nagios >>> Embedded Perl: no >>> Event Broker: yes >>> Install ${prefix}: /usr/local/nagios >>> Lock file: ${prefix}/var/nagios.lock >>> Init directory: /etc/init.d >>> Host OS: solaris2.6 >>> .... >>> Im going to install now perl and see if it will create the location.hfile. >>> Thanks! >>> eli >>> >>> On 8/31/05, Subhendu Ghosh wrote: >>>> >>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: >>>> >>>>> I rerun ./configure --prefix=/usr/local/nagios >>>> --with-cgiurl=/nagios/cgi-bin >>>>> --with-htmlurl=/nagios --with-nagios-user=nagios >>>> --with-nagios-groupp=nagios >>>>> --with-gd-lib=/usr/local/lib >>>>> and summary is below: >>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: >>>>> >>>>> General Options: >>>>> ------------------------- >>>>> Nagios executable: nagios >>>>> Nagios user/group: nagios,nagios >>>>> Command user/group: nagios,nagios >>>>> Embedded Perl: no >>>>> Event Broker: yes >>>>> Install ${prefix}: /usr/local/nagios >>>>> Lock file: ${prefix}/var/nagios.lock >>>>> Init directory: /etc/init.d >>>>> Host OS: solaris2.6 >>>>> >>>>> Web Interface Options: >>>>> ------------------------ >>>>> HTML URL: http://localhost/nagios/ >>>>> CGI URL: http://localhost/nagios/cgi-bin/ >>>>> Traceroute (used by WAP): >>>>> >>>>> >>>>> Review the options above for accuracy. If they look okay, >>>>> type 'make all' to compile the main program and CGIs. >>>>> ------------------ >>>>> Looks ok isn't it? >>>>> then when i do 'make all', i have this error: >>>>> # make all >>>>> cd ./base && make >>>>> make: Fatal error: Don't know how to make target >>>> `../include/locations.h' >>>>> Current working directory /packages/nagios-2.0b4/base >>>>> *** Error code 1 >>>>> make: Fatal error: Command failed for target `all' >>>>> This is also my second time with this error. What I did was i copy >>>>> locations.h.in < >> http://locations.h.in> as >>>> locations.h :-) >>>>> and the compilation continues.. (was that not right? :) >>>>> thanks! >>>> >>>> >>>> NOOOOO - configure must have produced an error before the summary was >>>> printed. >>>> >>>> configure should create a locations.h from locations.h.in >> after >>>> appropriate substitutions. >>>> >>>> If the file is not being created properly - you may have a file >> permission >>>> issue. >>>> >>>> run "chown -R user:group nagios_src_dir/" >>>> >>>> replace the user and group with the user and group info fort he person >>>> running configure >>>> >>>> replace nagios_src_dir with the dir that contains the nagios src. >>>> >>>> Never copy a *.*.in file into a *.* file. >>>> >>>> >>>> >>>> -- >>>> >>>> -sg >>>> >>> >>> >>> >>> >> >> -- >> >> > > > -- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Thu Sep 1 07:50:29 2005 From: mailings at good-it.com (Johan Barelds) Date: Thu, 1 Sep 2005 07:50:29 +0200 Subject: Downtime In-Reply-To: References: Message-ID: <200509010750.30042.mailings@good-it.com> I'd love to! ..:-) Grz. Johan Op woensdag 31 augustus 2005 22:41, schreef Lori Adams: > Can you report that to the list? That way everyone else knows. > > Thanks :) > > > -----Original Message----- > > From: Johan Barelds [mailto:mailings at good-it.com] > > Sent: Wednesday, August 31, 2005 1:20 PM > > To: Lori Adams > > Subject: Re: [Nagios-users] Downtime > > > > Op woensdag 31 augustus 2005 22:16, schreef u: > > > I think there has been some confusion. I just tested this out. If > > you > > > > put the HOST into a scheduled downtime, that includes all services > > for > > > > that host. If you put just a SERVICE into a downtime, then the > > downtime > > > > is only for that service. > > > > > > The checkbox is for rescheduling checks, not downtimes. > > > > > > -Lori > > > > Hi Lori, > > > > Thanks for testing out "some confusion" ..:-) > > Your answer explains what i was looking for. > > Great stuff! > > > > Grz. Johan > > > > > > -----Original Message----- > > > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users- > > > > > admin at lists.sourceforge.net] On Behalf Of Johan Barelds > > > > Sent: Wednesday, August 31, 2005 12:19 PM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Downtime > > > > > > > > Op woensdag 31 augustus 2005 19:42, schreef Andreas Ericsson: > > > > > > I am probably overlooking, but where can i find that box?? > > > > > > I can't find it in the Nagios gui. Is it in the configuration? > > > > > > > > > > My bad. It's "Schedule downtime for all services on this host" > > (in > > > > the > > > > > > > > command menu on the right hand side in the status-view for the > > host) > > > > and > > > > > > > > then check the box "Schedule downtime for host too", rather than > > the > > > > > > other way around. > > > > > > > > Mmmm.....which version of Nagios are we talking about? > > > > I am running version 2.04b and the only thing which comes close is > > the > > > > > following: > > > > > > > > 1. Goto "Host Detail" > > > > 2. select a host by clicking on its name > > > > 3. on the right-hand site i see a box called "Host Commands" > > > > 4. The only option about downtime i see here is "Schedule downtime > > for > > > > > this > > > > host". > > > > > > > > But....there is no box saying "Schedule downtime for host too" or > > > > "Schedule > > > > downtime for all services on this host"...:-( > > > > > > > > > > > > -- > > > > Kind Regards / Met vriendelijke groet, > > > > > > > > Johan Barelds Good-IT! > > > > Tel.+31(0)70-3965230 Strijplaan 320 > > > > Mob.+31(0)6-54253750 2285 HZ Rijswijk(ZH) > > > > j.barelds at good-it.com http://www.good-it.com > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > > > Practices > > > > Agile & Plan-Driven Development * Managing Projects & Teams * > > Testing > > > > & QA > > > > > > > Security * Process Improvement & Measurement * > > > > > > http://www.sqe.com/bsce5sf > > > > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > > > > > reporting any issue. > > > > > > > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > -- > > Kind Regards / Met vriendelijke groet, > > > > Johan Barelds Good-IT! > > Tel.+31(0)70-3965230 Strijplaan 320 > > Mob.+31(0)6-54253750 2285 HZ Rijswijk(ZH) > > j.barelds at good-it.com http://www.good-it.com -- Kind Regards / Met vriendelijke groet, Johan Barelds Good-IT! Tel.+31(0)70-3965230 Strijplaan 320 Mob.+31(0)6-54253750 2285 HZ Rijswijk(ZH) j.barelds at good-it.com http://www.good-it.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Thu Sep 1 08:45:55 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Thu, 1 Sep 2005 14:45:55 +0800 Subject: @sysconfdir@/cgi.cfg - Installation setup problem In-Reply-To: References: Message-ID: Hi Subhendu, I rerun the ./configure... same options and i couldn't find any critical errors. I attached the output produced. The only thing that looks like an error is the gd, which, according to the documentation, nagios will run without it. # ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmlurl=/nagios --with-nagios-user=na gios --with-nagios-groupp=nagios --with-gd-lib=/usr/local/lib checking for a BSD compatible install... ./install-sh -c checking host system type... sparc-sun-solaris2.6 checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking for strip... /usr/ccs/bin/strip checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for arpa/inet.h... yes checking for ctype.h... yes checking for dirent.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for getopt.h... no checking for grp.h... yes checking for limits.h... yes checking for math.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for pthread.h... yes checking for pthreads.h... no checking for pwd.h... yes checking for regex.h... yes checking for signal.h... yes checking for socket.h... no checking for string.h... yes checking for strings.h... yes checking for sys/mman.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for sys/timeb.h... yes checking for sys/un.h... yes checking for sys/ipc.h... yes checking for sys/msg.h... yes checking for sys/poll.h... yes checking for syslog.h... yes checking for uio.h... no checking for unistd.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... no checking for tzname... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for initgroups... yes checking for setenv... no checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for unsetenv... no checking for type of socket size... size_t checking for pthread_create in -lcma... no checking for pthread_create in -lpthread... yes checking for library containing nanosleep... -lposix4 checking for mail... /usr/bin/mail Init script directory: /etc/init.d We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* Boutell's GD library is required to compile the statusmap, trends and histogram CGIs. Get it from http://www.boutell.com/gd/, compile it, and use the --with-gd-lib and --with-gd-inc arguments to specify the locations of the GD library and include files. NOTE: In addition to the gd-devel library, you'll also need to make sure you have the png-devel and jpeg-devel libraries installed on your system. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the GD, PNG, and JPEG libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make clean' in the Nagios distribution to clean out any old references to your previous compile. 4. Rerun the configure script. NOTE: If you can't get the configure script to recognize the GD libs on your system, get over it and move on to other things. The CGIs that use the GD libs are just a small part of the entire Nagios package. Get everything else working first and then revisit the problem. Make sure to check the nagios-users mailing list archives for possible solutions to GD library problems when you resume your troubleshooting. ******************************************************************** checking for ltdl.h... no checking for dlfcn.h... yes checking for dlopen in -ldl... yes checking for extra flags needed to export symbols... none checking for linker flags for loadable modules... -G checking for linker flags for loadable modules... -G checking for traceroute... no checking for snprintf... yes checking for type va_list... yes checking for perl... /usr/local/bin/perl creating ./config.status creating Makefile creating subst creating pkginfo creating base/Makefile creating common/Makefile creating contrib/Makefile creating cgi/Makefile creating html/Makefile creating module/Makefile creating include/Makefile creating xdata/Makefile creating daemon-init creating html/index.html creating html/side.html creating include/config.h include/config.h is unchanged creating include/snprintf.h include/snprintf.h is unchanged creating include/nagios.h creating include/cgiutils.h include/cgiutils.h is unchanged Creating sample config files in sample-config/ ... *** Configuration summary for nagios 2.0b4 08-02-2005 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/init.d Host OS: solaris2.6 Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. On 9/1/05, Subhendu Ghosh wrote: > > On Thu, 1 Sep 2005, Elizar M. Palad wrote: > > > Hi! Ok, i rerun configure script after installed perl, seems ok. no > error > > and all > > the .h files are created and there's no more error in make > install-config (i > > had one before) > > i am using the minimal.cfg to test nagios. > > I started nagios without any options. > > /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg > > and it says: > > sh: @libexecdir@/check_ping: not found > > sh: @libexecdir@/check_users: not found > > sh: @libexecdir@/check_procs: not found > > Is this ok? > > No - @libexecdir@ should have been fixed by configure. > > For nagios - there should be no errors in the configure process... > > > > The IE page now has an error... > > It appears as though you do not have permission to view information for > > any of the hosts you requested... > > > > If you believe this is an error, check the HTTP server authentication > > requirements for accessing this CGI > > and check the authorization options in your CGI configuration file. > > I didn't set up any authentication for nagios. Maybe it caused the error > > above? > > if it does, how to use nagios without authentication? > > thanks! > > > > > > On 8/31/05, Subhendu Ghosh wrote: > >> > >> > >> Yes - autoconf which creates configure uses perl :) > >> > >> You can either compile your own or sunfreeware.com > has some nice pkgadd > >> versions. > >> > >> -sg > >> > >> > >> On Wed, 31 Aug 2005, Elizar M. Palad wrote: > >> > >>> Hi, thanks! > >>> from ./configure's output: > >>> > >>> creating html/index.html > >>> creating html/side.html > >>> creating include/config.h > >>> creating include/snprintf.h > >>> creating include/nagios.h > >>> creating include/cgiutils.h > >>> ./configure: perl: not found > >>> ./configure: perl: not found > >>> > >>> Creating sample config files in sample-config/ ... > >>> ./configure: perl: not found > >>> ./configure: perl: not found > >>> ./configure: perl: not found > >>> ./configure: perl: not found > >>> ./configure: perl: not found > >>> ./configure: perl: not found > >>> ./configure: perl: not found > >>> ./configure: perl: not found > >>> > >>> > >>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > >>> > >>> General Options: > >>> ------------------------- > >>> Nagios executable: nagios > >>> Nagios user/group: nagios,nagios > >>> Command user/group: nagios,nagios > >>> Embedded Perl: no > >>> Event Broker: yes > >>> Install ${prefix}: /usr/local/nagios > >>> Lock file: ${prefix}/var/nagios.lock > >>> Init directory: /etc/init.d > >>> Host OS: solaris2.6 > >>> .... > >>> Im going to install now perl and see if it will create the > location.hfile. > >>> Thanks! > >>> eli > >>> > >>> On 8/31/05, Subhendu Ghosh wrote: > >>>> > >>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: > >>>> > >>>>> I rerun ./configure --prefix=/usr/local/nagios > >>>> --with-cgiurl=/nagios/cgi-bin > >>>>> --with-htmlurl=/nagios --with-nagios-user=nagios > >>>> --with-nagios-groupp=nagios > >>>>> --with-gd-lib=/usr/local/lib > >>>>> and summary is below: > >>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > >>>>> > >>>>> General Options: > >>>>> ------------------------- > >>>>> Nagios executable: nagios > >>>>> Nagios user/group: nagios,nagios > >>>>> Command user/group: nagios,nagios > >>>>> Embedded Perl: no > >>>>> Event Broker: yes > >>>>> Install ${prefix}: /usr/local/nagios > >>>>> Lock file: ${prefix}/var/nagios.lock > >>>>> Init directory: /etc/init.d > >>>>> Host OS: solaris2.6 > >>>>> > >>>>> Web Interface Options: > >>>>> ------------------------ > >>>>> HTML URL: http://localhost/nagios/ > >>>>> CGI URL: http://localhost/nagios/cgi-bin/ > >>>>> Traceroute (used by WAP): > >>>>> > >>>>> > >>>>> Review the options above for accuracy. If they look okay, > >>>>> type 'make all' to compile the main program and CGIs. > >>>>> ------------------ > >>>>> Looks ok isn't it? > >>>>> then when i do 'make all', i have this error: > >>>>> # make all > >>>>> cd ./base && make > >>>>> make: Fatal error: Don't know how to make target > >>>> `../include/locations.h' > >>>>> Current working directory /packages/nagios-2.0b4/base > >>>>> *** Error code 1 > >>>>> make: Fatal error: Command failed for target `all' > >>>>> This is also my second time with this error. What I did was i copy > >>>>> locations.h.in < > http://locations.h.in> < > >> http://locations.h.in> as > >>>> locations.h :-) > >>>>> and the compilation continues.. (was that not right? :) > >>>>> thanks! > >>>> > >>>> > >>>> NOOOOO - configure must have produced an error before the summary was > >>>> printed. > >>>> > >>>> configure should create a locations.h from locations.h.in > > >> after > >>>> appropriate substitutions. > >>>> > >>>> If the file is not being created properly - you may have a file > >> permission > >>>> issue. > >>>> > >>>> run "chown -R user:group nagios_src_dir/" > >>>> > >>>> replace the user and group with the user and group info fort he > person > >>>> running configure > >>>> > >>>> replace nagios_src_dir with the dir that contains the nagios src. > >>>> > >>>> Never copy a *.*.in file into a *.* file. > >>>> > >>>> > >>>> > >>>> -- > >>>> > >>>> -sg > >>>> > >>> > >>> > >>> > >>> > >> > >> -- > >> > >> > > > > > > > > -- > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Sep 1 09:22:49 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 1 Sep 2005 03:22:49 -0400 (EDT) Subject: @sysconfdir@/cgi.cfg - Installation setup problem In-Reply-To: References: Message-ID: configure looks good here. In /usr/local/nagios/etc - do you only have one resource.cfg file? or do you have resource.cfg.in as well? you might want to delete every thing in /usr/local/nagios/etc and run "make install-config" again to get the base sample-config -sg On Thu, 1 Sep 2005, Elizar M. Palad wrote: > Hi Subhendu, > I rerun the ./configure... same options and i couldn't find any critical > errors. > I attached the output produced. The only thing that looks like an error is > the gd, which, according to the documentation, nagios will run without it. > > # ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin > --with-htmlurl=/nagios --with-nagios-user=na > gios --with-nagios-groupp=nagios --with-gd-lib=/usr/local/lib > checking for a BSD compatible install... ./install-sh -c > checking host system type... sparc-sun-solaris2.6 > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking whether make sets ${MAKE}... yes > checking for strip... /usr/ccs/bin/strip > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking whether time.h and sys/time.h may both be included... yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking for arpa/inet.h... yes > checking for ctype.h... yes > checking for dirent.h... yes > checking for errno.h... yes > checking for fcntl.h... yes > checking for getopt.h... no > checking for grp.h... yes > checking for limits.h... yes > checking for math.h... yes > checking for netdb.h... yes > checking for netinet/in.h... yes > checking for pthread.h... yes > checking for pthreads.h... no > checking for pwd.h... yes > checking for regex.h... yes > checking for signal.h... yes > checking for socket.h... no > checking for string.h... yes > checking for strings.h... yes > checking for sys/mman.h... yes > checking for sys/types.h... yes > checking for sys/time.h... yes > checking for sys/resource.h... yes > checking for sys/wait.h... (cached) yes > checking for sys/socket.h... yes > checking for sys/stat.h... yes > checking for sys/timeb.h... yes > checking for sys/un.h... yes > checking for sys/ipc.h... yes > checking for sys/msg.h... yes > checking for sys/poll.h... yes > checking for syslog.h... yes > checking for uio.h... no > checking for unistd.h... yes > checking for working const... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for tm_zone in struct tm... no > checking for tzname... yes > checking for mode_t... yes > checking for pid_t... yes > checking for size_t... yes > checking return type of signal handlers... void > checking for uid_t in sys/types.h... yes > checking type of array argument to getgroups... gid_t > checking for initgroups... yes > checking for setenv... no > checking for strdup... yes > checking for strstr... yes > checking for strtoul... yes > checking for unsetenv... no > checking for type of socket size... size_t > checking for pthread_create in -lcma... no > checking for pthread_create in -lpthread... yes > checking for library containing nanosleep... -lposix4 > checking for mail... /usr/bin/mail > Init script directory: /etc/init.d > We'll use default routines (in xdata/xsddefault.*) for status data I/O... > We'll use default routines (in xdata/xcddefault.*) for comment data I/O... > We'll use default routines (in xdata/xrddefault.*) for retention data I/O... > We'll use template-based routines (in xdata/xodtemplate.*) for object data > I/O... > We'll use default routines (in xdata/xpddefault.*) for performance data > I/O... > We'll use default routines (in xdata/xdddefault.*) for scheduled downtime > data I/O... > checking for main in -liconv... yes > checking for gdImagePng in -lgd (order 1)... no > checking for gdImagePng in -lgd (order 2)... no > checking for gdImagePng in -lgd (order 3)... no > checking for gdImagePng in -lgd (order 4)... no > > > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > Boutell's GD library is required to compile the statusmap, trends > and histogram CGIs. Get it from http://www.boutell.com/gd/, compile > it, and use the --with-gd-lib and --with-gd-inc arguments to specify > the locations of the GD library and include files. > > NOTE: In addition to the gd-devel library, you'll also need to make > sure you have the png-devel and jpeg-devel libraries installed > on your system. > > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the GD, PNG, and JPEG libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make clean' in the Nagios distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > > NOTE: If you can't get the configure script to recognize the GD libs > on your system, get over it and move on to other things. The > CGIs that use the GD libs are just a small part of the entire > Nagios package. Get everything else working first and then > revisit the problem. Make sure to check the nagios-users > mailing list archives for possible solutions to GD library > problems when you resume your troubleshooting. > > ******************************************************************** > > > checking for ltdl.h... no > checking for dlfcn.h... yes > checking for dlopen in -ldl... yes > checking for extra flags needed to export symbols... none > checking for linker flags for loadable modules... -G > checking for linker flags for loadable modules... -G > checking for traceroute... no > checking for snprintf... yes > checking for type va_list... yes > checking for perl... /usr/local/bin/perl > creating ./config.status > creating Makefile > creating subst > creating pkginfo > creating base/Makefile > creating common/Makefile > creating contrib/Makefile > creating cgi/Makefile > creating html/Makefile > creating module/Makefile > creating include/Makefile > creating xdata/Makefile > creating daemon-init > creating html/index.html > creating html/side.html > creating include/config.h > include/config.h is unchanged > creating include/snprintf.h > include/snprintf.h is unchanged > creating include/nagios.h > creating include/cgiutils.h > include/cgiutils.h is unchanged > > Creating sample config files in sample-config/ ... > > > *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > General Options: > ------------------------- > Nagios executable: nagios > Nagios user/group: nagios,nagios > Command user/group: nagios,nagios > Embedded Perl: no > Event Broker: yes > Install ${prefix}: /usr/local/nagios > Lock file: ${prefix}/var/nagios.lock > Init directory: /etc/init.d > Host OS: solaris2.6 > > Web Interface Options: > ------------------------ > HTML URL: http://localhost/nagios/ > CGI URL: http://localhost/nagios/cgi-bin/ > Traceroute (used by WAP): > > > Review the options above for accuracy. If they look okay, > type 'make all' to compile the main program and CGIs. > > > On 9/1/05, Subhendu Ghosh wrote: >> >> On Thu, 1 Sep 2005, Elizar M. Palad wrote: >> >>> Hi! Ok, i rerun configure script after installed perl, seems ok. no >> error >>> and all >>> the .h files are created and there's no more error in make >> install-config (i >>> had one before) >>> i am using the minimal.cfg to test nagios. >>> I started nagios without any options. >>> /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg >>> and it says: >>> sh: @libexecdir@/check_ping: not found >>> sh: @libexecdir@/check_users: not found >>> sh: @libexecdir@/check_procs: not found >>> Is this ok? >> >> No - @libexecdir@ should have been fixed by configure. >> >> For nagios - there should be no errors in the configure process... >> >> >>> The IE page now has an error... >>> It appears as though you do not have permission to view information for >>> any of the hosts you requested... >>> >>> If you believe this is an error, check the HTTP server authentication >>> requirements for accessing this CGI >>> and check the authorization options in your CGI configuration file. >>> I didn't set up any authentication for nagios. Maybe it caused the error >>> above? >>> if it does, how to use nagios without authentication? >>> thanks! >>> >>> >>> On 8/31/05, Subhendu Ghosh wrote: >>>> >>>> >>>> Yes - autoconf which creates configure uses perl :) >>>> >>>> You can either compile your own or sunfreeware.com >> has some nice pkgadd >>>> versions. >>>> >>>> -sg >>>> >>>> >>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: >>>> >>>>> Hi, thanks! >>>>> from ./configure's output: >>>>> >>>>> creating html/index.html >>>>> creating html/side.html >>>>> creating include/config.h >>>>> creating include/snprintf.h >>>>> creating include/nagios.h >>>>> creating include/cgiutils.h >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> >>>>> Creating sample config files in sample-config/ ... >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> >>>>> >>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: >>>>> >>>>> General Options: >>>>> ------------------------- >>>>> Nagios executable: nagios >>>>> Nagios user/group: nagios,nagios >>>>> Command user/group: nagios,nagios >>>>> Embedded Perl: no >>>>> Event Broker: yes >>>>> Install ${prefix}: /usr/local/nagios >>>>> Lock file: ${prefix}/var/nagios.lock >>>>> Init directory: /etc/init.d >>>>> Host OS: solaris2.6 >>>>> .... >>>>> Im going to install now perl and see if it will create the >> location.hfile. >>>>> Thanks! >>>>> eli >>>>> >>>>> On 8/31/05, Subhendu Ghosh wrote: >>>>>> >>>>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: >>>>>> >>>>>>> I rerun ./configure --prefix=/usr/local/nagios >>>>>> --with-cgiurl=/nagios/cgi-bin >>>>>>> --with-htmlurl=/nagios --with-nagios-user=nagios >>>>>> --with-nagios-groupp=nagios >>>>>>> --with-gd-lib=/usr/local/lib >>>>>>> and summary is below: >>>>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: >>>>>>> >>>>>>> General Options: >>>>>>> ------------------------- >>>>>>> Nagios executable: nagios >>>>>>> Nagios user/group: nagios,nagios >>>>>>> Command user/group: nagios,nagios >>>>>>> Embedded Perl: no >>>>>>> Event Broker: yes >>>>>>> Install ${prefix}: /usr/local/nagios >>>>>>> Lock file: ${prefix}/var/nagios.lock >>>>>>> Init directory: /etc/init.d >>>>>>> Host OS: solaris2.6 >>>>>>> >>>>>>> Web Interface Options: >>>>>>> ------------------------ >>>>>>> HTML URL: http://localhost/nagios/ >>>>>>> CGI URL: http://localhost/nagios/cgi-bin/ >>>>>>> Traceroute (used by WAP): >>>>>>> >>>>>>> >>>>>>> Review the options above for accuracy. If they look okay, >>>>>>> type 'make all' to compile the main program and CGIs. >>>>>>> ------------------ >>>>>>> Looks ok isn't it? >>>>>>> then when i do 'make all', i have this error: >>>>>>> # make all >>>>>>> cd ./base && make >>>>>>> make: Fatal error: Don't know how to make target >>>>>> `../include/locations.h' >>>>>>> Current working directory /packages/nagios-2.0b4/base >>>>>>> *** Error code 1 >>>>>>> make: Fatal error: Command failed for target `all' >>>>>>> This is also my second time with this error. What I did was i copy >>>>>>> locations.h.in < >> http://locations.h.in> < >>>> http://locations.h.in> as >>>>>> locations.h :-) >>>>>>> and the compilation continues.. (was that not right? :) >>>>>>> thanks! >>>>>> >>>>>> >>>>>> NOOOOO - configure must have produced an error before the summary was >>>>>> printed. >>>>>> >>>>>> configure should create a locations.h from locations.h.in >> >>>> after >>>>>> appropriate substitutions. >>>>>> >>>>>> If the file is not being created properly - you may have a file >>>> permission >>>>>> issue. >>>>>> >>>>>> run "chown -R user:group nagios_src_dir/" >>>>>> >>>>>> replace the user and group with the user and group info fort he >> person >>>>>> running configure >>>>>> >>>>>> replace nagios_src_dir with the dir that contains the nagios src. >>>>>> >>>>>> Never copy a *.*.in file into a *.* file. >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> -sg >>>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> -- >>>> >>>> >>> >>> >>> >> >> -- >> >> >> >> ------------------------------------------------------- >> SF.Net email is Sponsored by the Better Software Conference & EXPO >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle >> Practices >> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Sep 1 10:42:28 2005 From: m.borsani at it.net (Marco Borsani) Date: Thu, 1 Sep 2005 10:42:28 +0200 Subject: Ranges for check_snmp Message-ID: Hi all ! I'd like to check some metrics on my firewall, like CPU but when I try to set the ranges for warning and critical values I receive "strange" answers. ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 -C public SNMP WARNING - 9 ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 -C public -w 15:24 -c 25:100 SNMP CRITICAL - *7* Why? What's my fault ? I need to receive a Warning over 15% and a Critical over 25%. Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin.shore at sktbcs.com Thu Sep 1 17:48:40 2005 From: justin.shore at sktbcs.com (Justin Shore) Date: Thu, 1 Sep 2005 10:48:40 -0500 Subject: Ranges for check_snmp Message-ID: Here is what I'm using to check temp on a Cisco 6509. The syntax should be applicable in your scenario. check_command check_snmp!1.3.6.1.4.1.9.9.91.1.1.1.1.4.4001!COMMUNITY-STRING!27,30!30,150 My check_snmp is defined as: # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ -w $ARG3$ -c $ARG4$ } This translates into: check_snmp -H $HOSTADDRESS -o 1.3.6.1.4.1.9.9.91.1.1.1.1.4.4001 -C COMMUNITY-STRING -w 27,30 -c 30,150 Justin > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Thursday, September 01, 2005 3:42 AM > To: NAGIOS > Subject: [Nagios-users] Ranges for check_snmp > Importance: High > > Hi all ! > > I'd like to check some metrics on my firewall, like CPU but when I try to > set the ranges for warning and critical values I receive "strange" > answers. > > ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 -C public > SNMP WARNING - 9 > > ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 -C public > -w > 15:24 -c 25:100 > SNMP CRITICAL - *7* > > Why? What's my fault ? > > I need to receive a Warning over 15% and a Critical over 25%. > > Regards > > Marco Borsani > Unix & Monitoring System Administrator > Technical Operation > Tel. +39 010 4310115 > Fax +39 010 4327454 > E-mail: m.borsani at IT.net > > ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. > Internet Service Provider > Sede legale: Via C.G.Viola, 48 - 00148 Roma > Dir. Centrale e Amministrativa: Via Pacinotti, 39 > 16151 Genova (Italy) > > http://www.it.net > mailto:info at IT.net > _______________________________________________________________ > Altre sedi ITnet: > MILANO tel.: +39 02 30114900 info-milano at IT.net > ROMA tel.: +39 06 83116707 info-roma at IT.net > _______________________________________________________________ > ITnet is associated to CIX (Commercial IP eXchange) and RIPE > ITnet is associated to AIIP (Associazione Italiana Internet Providers) > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005 > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Sep 1 15:53:28 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 01 Sep 2005 08:53:28 -0500 Subject: 404 Not Found In-Reply-To: <431634E2.40806@effective-it.co.uk> References: <431634E2.40806@effective-it.co.uk> Message-ID: <1125582808.31599.50.camel@chi101100.int.tt.local> On Wed, 2005-08-31 at 23:53 +0100, Lee Ball wrote: > I have to disagree here, I find it more awkward to have to scroll down > through what has already been written to view the new bits, especially so trim the junk, keep the necessary content. "[snip]" and "[chop]" are useful to denote significant removed content. > when sometimes the replies don't go in the >> format properly. that's a mail client issue, not a technique issue. If your mail client can't quote properly, use a better one. > I know to change the config of apache to /nagios/ (only after realising > the manual conflicted with itself). But if someone follows it word for > word then they might have an issue. So do your "duty" as a good Nagios mailing list citizen and post a follow-up summary. You needn't include *any* context there, in many cases. Context replying isn't as pivotal to understanding the logic on single-subject, short-reply threads *while you're engaged in the conversation*. However, when these messages are archived and a future user is searching them, proper context is vital to an efficient evaluation of the content. Only since the advent of Outlook has this lazy top-post format come into any amount of vogue. Previous to that horrid mail client, most (all?) mail clients and newsreaders defaulted to quoting (properly) and starting the reply at the bottom. Hope this clarifies things. I will say I am very glad that top-posting is considered a faux pas on this list. So many lists these days don't take a stance and it irritates me considerably. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From drew.cullis at gwl.com Thu Sep 1 16:52:29 2005 From: drew.cullis at gwl.com (Drew Cullis) Date: Thu, 01 Sep 2005 08:52:29 -0600 Subject: problems with nagios.cmd and apache 2.0.5 & above Message-ID: <431715AD.2080105@gwl.com> Greetings all; I am in the process of upgrading our development server along with Nagios and am running into a problem getting nagios to work with Apache. I am running Red Hat Enterprise Server which has Apache 2.0.52 by default. I found this post from last year but it doesn't look like there was resolution to his problem, which is the same as mine. https://sourceforge.net/mailarchive/message.php?msg_id=10405076 For your dining and dancing pleasure, here is the error that is generated when you try to run an external command. Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing Nagios does work like a charm on my workstation running Apache 2.0.46, no issues whatsoever straight out of the box. It looks like the issue is with Apache 2.0.5 and above. Has anyone run into this problem also and found a solution? Here are the pertinent details. RH ES4 Apache 2.0.52 Nagios 2.0b4 Nagios Plugins 1.4 Thanks for the help... -Drew ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Thu Sep 1 19:07:48 2005 From: mailings at good-it.com (Johan Barelds) Date: Thu, 1 Sep 2005 19:07:48 +0200 Subject: Windows Tray utility Message-ID: <200509011907.48935.mailings@good-it.com> Hi all, For BigBrother there is a very handy utily which you can install on your windows PC in the tray. When your monitoring page turn's into warning or critical it get's the same color and a box pop's up telling you what server/services are causing problems. Can someone tell me if there is something for Nagios? I checked Nagiosexchange but couldn't find anything. Thanks for any reply! -- Kind Regards / Met vriendelijke groet, Johan Barelds Good-IT! Tel.+31(0)70-3965230 Strijplaan 320 Mob.+31(0)6-54253750 2285 HZ Rijswijk(ZH) j.barelds at good-it.com http://www.good-it.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Thu Sep 1 19:19:12 2005 From: robmossrm at aol.com (Rob Moss) Date: Thu, 01 Sep 2005 18:19:12 +0100 Subject: statusmap.cgi can't find libgd.so.2 in /usr/local/lib In-Reply-To: <20050829184002.19448.qmail@web54712.mail.yahoo.com> References: <20050829184002.19448.qmail@web54712.mail.yahoo.com> Message-ID: <43173810.9010008@aol.com> Hi John, It appears to me that your system library paths are not looking in /usr/local/lib. There may be a symbolic link in /usr/lib for freetype.so pointing into /usr/local/lib To resolve the problem, you can add the line /usr/local/lib Into /etc/ld.so.conf and run ldconfig Which should then fix the problem. if not, then please provide the output of the following commands: ldd ls -la /usr/local/lib/libgd* cat /etc/ld.so.conf echo $LD_LIBRARY_PATH As far as I'm aware, statusmap.cgi is part of the core of nagios, and not part of the plugins, and would have been compiled with the core of nagios. Cheers rob. John Christian wrote: >Hello, > >I've RTFM, Googled, and checked the list archives but >can't seem to really fix this issue. Any assistance >would be very appreciated! > >It seems that statusmap.cgi in nagios-plugins-1.4.1 is >not finding libgd.so.2 in /usr/local/lib. If I copy >libgd.so.2 from /usr/local/lib to /usr/lib, >nagios-plugins finds it just fine and statusmap.cgi >works fine. > >How do I get nagios-plugins-1.4.1 to "see" the >libgd.so.2 library in /usr/local/lib? > >BTW: I did an ldd of all the Nagios CGI's and there >are other CGI's that DO find other libraries in >/usr/local/lib. For example, trends.cgi found >libfreetype.so.6 in /usr/local/lib just fine. Seems >strange that statusmap.cgi doesn't find what it needs >in /usr/local/lib. > >Nagios 2.0b4 >Linux foo.foo.com 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan >13 22:32:42 EST 2005 i686 i686 i386 GNU/Linux >GNU Make version 3.79.1, by Richard Stallman and >Roland McGrath. Built for i386-redhat-linux-gnu > >TIA! >-John > > -- Rob Moss Unix Systems Admin Hosting & DB Operations Hammersmith, London, UK ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 1 19:31:56 2005 From: marc at ena.com (Marc Powell) Date: Thu, 1 Sep 2005 12:31:56 -0500 Subject: problems with nagios.cmd and apache 2.0.5 & above Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Drew Cullis > Sent: Thursday, September 01, 2005 9:52 AM > To: Nagios-users; Drew (Work) > Subject: [Nagios-users] problems with nagios.cmd and apache 2.0.5 & above > > Greetings all; > I am in the process of upgrading our development server along with > Nagios and am running into a problem getting nagios to work with > Apache. I am running Red Hat Enterprise Server > which has Apache 2.0.52 by default. I found this post from last year but > it doesn't look like there was resolution to his problem, which is the > same as mine. > > https://sourceforge.net/mailarchive/message.php?msg_id=10405076 > > For your dining and dancing pleasure, here is the error that is > generated when you try to run an external command. > > Error: Could not stat() command file > '/usr/local/nagios/var/rw/nagios.cmd'! > The external command file may be missing, Nagios may not be running, > and/or Nagios may not be checking external commands. > An error occurred while attempting to commit your command for processing > > Nagios does work like a charm on my workstation running Apache 2.0.46, > no issues whatsoever straight out of the box. It looks like the issue is > with Apache 2.0.5 and above. IMHO, it would be surprising if this were an apache issue. Have you thoroughly eliminated SELinux permission as a potential cause and verified permissions on nagios.cmd and the directories above it? Do you find references to nagios.cmd in /var/log/messages? Does the apache error_log provide any additional information? -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Millard.Matt at principal.com Thu Sep 1 19:37:26 2005 From: Millard.Matt at principal.com (Millard, Matt) Date: Thu, 1 Sep 2005 12:37:26 -0500 Subject: Windows Tray utility Message-ID: <6201DF063335254BA0D6AA7053D101170A62A73D@pfgdsmmbx006.principalusa.corp.principal.com> Search Nagios Exchange for "tray" and you'll find 3 of them. I personally use Ntray and am happy with it. Matt -----Original Message----- For BigBrother there is a very handy utily which you can install on your windows PC in the tray. When your monitoring page turn's into warning or critical it get's the same color and a box pop's up telling you what server/services are causing problems. Can someone tell me if there is something for Nagios? I checked Nagiosexchange but couldn't find anything. -----Message Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to Connect at principal.com and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Sep 1 18:45:31 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 1 Sep 2005 12:45:31 -0400 (EDT) Subject: problems with nagios.cmd and apache 2.0.5 & above In-Reply-To: <431715AD.2080105@gwl.com> References: <431715AD.2080105@gwl.com> Message-ID: On Thu, 1 Sep 2005, Drew Cullis wrote: > Greetings all; > I am in the process of upgrading our development server along with Nagios and > am running into a problem getting nagios to work with Apache. I am running > Red Hat Enterprise Server > which has Apache 2.0.52 by default. I found this post from last year but it > doesn't look like there was resolution to his problem, which is the same as > mine. > > https://sourceforge.net/mailarchive/message.php?msg_id=10405076 > > For your dining and dancing pleasure, here is the error that is generated > when you try to run an external command. > > Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! > The external command file may be missing, Nagios may not be running, and/or > Nagios may not be checking external commands. > An error occurred while attempting to commit your command for processing > > Nagios does work like a charm on my workstation running Apache 2.0.46, no > issues whatsoever straight out of the box. It looks like the issue is with > Apache 2.0.5 and above. > Has anyone run into this problem also and found a solution? Here are the > pertinent details. > > RH ES4 > Apache 2.0.52 > Nagios 2.0b4 > Nagios Plugins 1.4 > > Thanks for the help... > > -Drew Assuming Nagios is running and it created the named pipe... Other than Apache - do you have SELinux enabled? the external command would be running as apache user and have to write to the pipe you may have to apply http context to the file... -- -sg ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Sep 1 20:13:20 2005 From: td3201 at gmail.com (Terry) Date: Thu, 1 Sep 2005 13:13:20 -0500 Subject: fork errors Message-ID: <8ee0610105090111133989e4e1@mail.gmail.com> Hello, I have been having this issue for quite some time. For some unknown reason, nagios stops performing checks with these errors: [1125536952] Warning: The check of service 'PING' on host 'hostname' could not be performed due to a fork() error. The check will be rescheduled. All checks fail like this until nagios is restarted. When this problem is occuring I can run the service checks manually both as the nagios user and as the root user. There are no resource problems that I can see at the time. We do not appear to be hitting a limit with open files or anything like that either. The nagios mirrors the root user in that area. What could be wrong? Thanks! ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From williamw at xeye.com Thu Sep 1 20:14:20 2005 From: williamw at xeye.com (William Wang) Date: Thu, 1 Sep 2005 14:14:20 -0400 Subject: nagios pooling question Message-ID: Hi Gurus, Can someone tell me how Nagios does pooling when it connect to the NT or UNIX agents? Are TCP or UDP ports used? What's the port numbers? I want to user Nagios as a central monitoring server and have angents and clients installed on the NT/UNIX boxes in the local LAN and remote side connecting to local LAN by using site-to-site VPN, safe@ device. Any solution is more than welcome. Thanks a lot, William ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.cullis at gwl.com Thu Sep 1 19:34:52 2005 From: drew.cullis at gwl.com (Drew Cullis) Date: Thu, 01 Sep 2005 11:34:52 -0600 Subject: problems with nagios.cmd and apache 2.0.5 & above In-Reply-To: References: <431715AD.2080105@gwl.com> Message-ID: <43173BBC.9000001@gwl.com> I ran /usr/sbin/sestatus -v and received this bit of info from the output (there was more but I included only these lines). Would disabling SELinux solve the problem? SELinux status: enabled SELinuxfs mount: /selinux Current mode: enforcing Mode from config file: enforcing Policy version: 18 Policy from config file:targeted Subhendu Ghosh wrote: > On Thu, 1 Sep 2005, Drew Cullis wrote: > >> Greetings all; >> I am in the process of upgrading our development server along with >> Nagios and am running into a problem getting nagios to work with >> Apache. I am running Red Hat Enterprise Server >> which has Apache 2.0.52 by default. I found this post from last year >> but it doesn't look like there was resolution to his problem, which >> is the same as mine. >> >> https://sourceforge.net/mailarchive/message.php?msg_id=10405076 >> >> For your dining and dancing pleasure, here is the error that is >> generated when you try to run an external command. >> >> Error: Could not stat() command file >> '/usr/local/nagios/var/rw/nagios.cmd'! >> The external command file may be missing, Nagios may not be running, >> and/or Nagios may not be checking external commands. >> An error occurred while attempting to commit your command for processing >> >> Nagios does work like a charm on my workstation running Apache >> 2.0.46, no issues whatsoever straight out of the box. It looks like >> the issue is with Apache 2.0.5 and above. >> Has anyone run into this problem also and found a solution? Here are >> the pertinent details. >> >> RH ES4 >> Apache 2.0.52 >> Nagios 2.0b4 >> Nagios Plugins 1.4 >> >> Thanks for the help... >> >> -Drew > > > Assuming Nagios is running and it created the named pipe... > > Other than Apache - do you have SELinux enabled? the external command > would be running as apache user and have to write to the pipe you may > have to apply http context to the file... > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 1 19:35:51 2005 From: marc at ena.com (Marc Powell) Date: Thu, 1 Sep 2005 12:35:51 -0500 Subject: Windows Tray utility Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Johan Barelds > Sent: Thursday, September 01, 2005 12:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Windows Tray utility > > Hi all, > > For BigBrother there is a very handy utily which you can install on your > windows PC in the tray. > When your monitoring page turn's into warning or critical it get's the > same > color and a box pop's up telling you what server/services are causing > problems. > > Can someone tell me if there is something for Nagios? > I checked Nagiosexchange but couldn't find anything. http://www.nagiosexchange.org/Frontends.37.0.html More specifically -- http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_vi ew]=165 http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_vi ew]=168&tx_netnagext_pi1[page]=10%3A10 http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_vi ew]=233&tx_netnagext_pi1[page]=10%3A10 -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Thu Sep 1 20:58:23 2005 From: mailings at good-it.com (Johan Barelds) Date: Thu, 1 Sep 2005 20:58:23 +0200 Subject: Windows Tray utility In-Reply-To: <59B15593F41BD24591D59436E7226EAD0268D14B@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD0268D14B@Khiphx2.khimetrics.com> Message-ID: <200509012058.23357.mailings@good-it.com> Thanks guys! I have been overseeing a lot in NagiosExchange i see...:-) Great stuff! Grz. Johan Op donderdag 1 september 2005 20:11, schreef Nathan Oyler: > http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_vi > ew]=168 -- Kind Regards / Met vriendelijke groet, Johan Barelds Good-IT! Tel.+31(0)70-3965230 Strijplaan 320 Mob.+31(0)6-54253750 2285 HZ Rijswijk(ZH) j.barelds at good-it.com http://www.good-it.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Thu Sep 1 19:53:03 2005 From: f1216 at yahoo.com (Fred) Date: Thu, 1 Sep 2005 10:53:03 -0700 (PDT) Subject: Service checks pending forever in distributed monitoring configuration Message-ID: <20050901175303.4941.qmail@web31903.mail.mud.yahoo.com> I have a 1000+ node system plus a number of switches etc that are all monitored by Nagios. I'm running 2.0b3. Our configuration is generated automatically based on the clusters configuration and in smaller configurations has no issues. Recently, nagios started delaying execution of active service checks. I have 5 nagios monitors reporting via nsca to a 6th nagios master (which also monitors 1/6th of the cluster). I removed all the retention caches for all the monitor nodes and restarted. Nagios then reports that the next service check is scheduled for hours later (when it should be fairly close). Attached is output from nagiostats. There are quite a few services, most all are passive checks with each monitor node running some active checks that will push data to the FIFO where it is then picked up and reported on a per-node/service basis. The pending checks do not execute even when the time passes. The monitor nodes are working just fine, the master node which is configured to obsessing is disabled (on the master) and freshness checking is enabled. There is nothing in nagios.log other then stale check messages. Following is an example service description from a service that is not getting scheduled: define service{ use nagios host_name nh name slurmMonitor service_description Slurm Monitor active_checks_enabled 1 check_command check_slurm register 1 } and the template: # Generic template for services define service{ use generic-service ; default service name nagios normal_check_interval 5 retry_check_interval 2 check_period 24x7 is_volatile 0 max_check_attempts 3 notification_interval 240 notification_period 24x7 notification_options w,u,c,r contact_groups admins register 0 } and finally, the generic-service template: # Generic service definition template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } Clocks are correct and synchronized on the system. Nagios Stats 2.0b3 Copyright (c) 2003-2005 Ethan Galstad (www.nagios.org) Last Modified: 04-03-2005 License: GPL CURRENT STATUS DATA ---------------------------------------------------- Status File: /opt/hptc/nagios/var/status.log Status File Age: 0d 0h 0m 1s Status File Version: 2.0b3 Program Running Time: 0d 48h 0m 56s Total Services: 10388 Services Checked: 8472 Services Scheduled: 246 Active Service Checks: 4774 Passive Service Checks: 5614 Total Service State Change: 0.000 / 63.550 / 2.210 % Active Service Latency: 0.000 / 2714.925 / 1220.973 % Active Service Execution Time: 0.000 / 180.065 / 0.119 sec Active Service State Change: 0.000 / 17.830 / 1.222 % Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 4 Passive Service State Change: 0.000 / 63.550 / 3.050 % Passive Services Last 1/5/15/60 min: 0 / 440 / 2566 / 4724 Services Ok/Warn/Unk/Crit: 7420 / 2866 / 0 / 102 Services Flapping: 0 Services In Downtime: 0 Total Hosts: 1094 Hosts Checked: 1030 Hosts Scheduled: 0 Active Host Checks: 1094 Passive Host Checks: 0 Total Host State Change: 0.000 / 0.000 / 0.000 % Active Host Latency: 0.000 / 0.000 / 0.000 % Active Host Execution Time: 0.000 / 0.000 / 0.000 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 1094 / 0 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Anyone have any suggestions as to what to look for next? If I force the scheduling of the service, it eventually gets scheduled and runs, it does update the pending time in the web display right away. Thanks in advance for any insight. -FredC ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.cullis at gwl.com Thu Sep 1 19:38:47 2005 From: drew.cullis at gwl.com (Drew Cullis) Date: Thu, 01 Sep 2005 11:38:47 -0600 Subject: problems with nagios.cmd and apache 2.0.5 & above In-Reply-To: References: Message-ID: <43173CA7.3030306@gwl.com> Now that I'm a little more familiar with SELinux, I will look into it more thoroughly instead of Apache. I did verify the permissions on the directories before I sent my original post. I will double check them just to make sure. Thanks... Marc Powell wrote: > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Drew Cullis >>Sent: Thursday, September 01, 2005 9:52 AM >>To: Nagios-users; Drew (Work) >>Subject: [Nagios-users] problems with nagios.cmd and apache 2.0.5 & >> >> >above > > >>Greetings all; >>I am in the process of upgrading our development server along with >>Nagios and am running into a problem getting nagios to work with >>Apache. I am running Red Hat Enterprise Server >>which has Apache 2.0.52 by default. I found this post from last year >> >> >but > > >>it doesn't look like there was resolution to his problem, which is the >>same as mine. >> >>https://sourceforge.net/mailarchive/message.php?msg_id=10405076 >> >>For your dining and dancing pleasure, here is the error that is >>generated when you try to run an external command. >> >>Error: Could not stat() command file >>'/usr/local/nagios/var/rw/nagios.cmd'! >>The external command file may be missing, Nagios may not be running, >>and/or Nagios may not be checking external commands. >>An error occurred while attempting to commit your command for >> >> >processing > > >>Nagios does work like a charm on my workstation running Apache 2.0.46, >>no issues whatsoever straight out of the box. It looks like the issue >> >> >is > > >>with Apache 2.0.5 and above. >> >> > >IMHO, it would be surprising if this were an apache issue. Have you >thoroughly eliminated SELinux permission as a potential cause and >verified permissions on nagios.cmd and the directories above it? Do you >find references to nagios.cmd in /var/log/messages? Does the apache >error_log provide any additional information? > >-- >Marc > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Sep 1 19:59:20 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 1 Sep 2005 13:59:20 -0400 (EDT) Subject: problems with nagios.cmd and apache 2.0.5 & above In-Reply-To: <43173BBC.9000001@gwl.com> References: <431715AD.2080105@gwl.com> <43173BBC.9000001@gwl.com> Message-ID: On Thu, 1 Sep 2005, Drew Cullis wrote: > I ran /usr/sbin/sestatus -v and received this bit of info from the output > (there was more but I included only these lines). Would disabling SELinux > solve the problem? > > SELinux status: enabled > SELinuxfs mount: /selinux > Current mode: enforcing > Mode from config file: enforcing > Policy version: 18 > Policy from config file:targeted as root - run: audit2allow -l -i /var/log/messages -v if there are references to nagios.cmd - you have a SELinux perms problem. Either disable it, or allow permissive, or add http context to nagios/var/* -sg > > Subhendu Ghosh wrote: > >> On Thu, 1 Sep 2005, Drew Cullis wrote: >> >>> Greetings all; >>> I am in the process of upgrading our development server along with Nagios >>> and am running into a problem getting nagios to work with Apache. I am >>> running Red Hat Enterprise Server >>> which has Apache 2.0.52 by default. I found this post from last year but >>> it doesn't look like there was resolution to his problem, which is the >>> same as mine. >>> >>> https://sourceforge.net/mailarchive/message.php?msg_id=10405076 >>> >>> For your dining and dancing pleasure, here is the error that is generated >>> when you try to run an external command. >>> >>> Error: Could not stat() command file >>> '/usr/local/nagios/var/rw/nagios.cmd'! >>> The external command file may be missing, Nagios may not be running, >>> and/or Nagios may not be checking external commands. >>> An error occurred while attempting to commit your command for processing >>> >>> Nagios does work like a charm on my workstation running Apache 2.0.46, no >>> issues whatsoever straight out of the box. It looks like the issue is with >>> Apache 2.0.5 and above. >>> Has anyone run into this problem also and found a solution? Here are the >>> pertinent details. >>> >>> RH ES4 >>> Apache 2.0.52 >>> Nagios 2.0b4 >>> Nagios Plugins 1.4 >>> >>> Thanks for the help... >>> >>> -Drew >> >> >> Assuming Nagios is running and it created the named pipe... >> >> Other than Apache - do you have SELinux enabled? the external command >> would be running as apache user and have to write to the pipe you may have >> to apply http context to the file... >> > -- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Thu Sep 1 20:11:06 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Thu, 1 Sep 2005 11:11:06 -0700 Subject: Windows Tray utility Message-ID: <59B15593F41BD24591D59436E7226EAD0268D14B@Khiphx2.khimetrics.com> Ntray on Nagios exchange works well. http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_vi ew]=168 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Johan Barelds > Sent: Thursday, September 01, 2005 10:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Windows Tray utility > > Hi all, > > For BigBrother there is a very handy utily which you can install on your > windows PC in the tray. > When your monitoring page turn's into warning or critical it get's the > same > color and a box pop's up telling you what server/services are causing > problems. > > Can someone tell me if there is something for Nagios? > I checked Nagiosexchange but couldn't find anything. > > Thanks for any reply! > > -- > Kind Regards / Met vriendelijke groet, > > Johan Barelds Good-IT! > Tel.+31(0)70-3965230 Strijplaan 320 > Mob.+31(0)6-54253750 2285 HZ Rijswijk(ZH) > j.barelds at good-it.com http://www.good-it.com > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ygonzales at medassets.com Thu Sep 1 20:08:08 2005 From: ygonzales at medassets.com (Gonzales, Youn) Date: Thu, 1 Sep 2005 13:08:08 -0500 Subject: statusmap icons Message-ID: <99CF04974931C548B2BF20CD898FCBA7AF4538@uscpgmedexch01.medassets.com> I am running 2.0b4 on Fedora 4. I can't seem to get the statusmap icons to work properly. define hostextinfo{ host_name uscpgls1010 icon_image network_switch.gif statusmap_image network_switch.gif } The icons show up in the status views - ie host detail - and when I float over the device on the statusmap the icons are in the top left corner of the popup. But, the icons on the status map are all the unknown.gif icons. I can browse all of the icons, so it is not an apache or permissions issue. Any suggestions? "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers" ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Thu Sep 1 22:30:02 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 01 Sep 2005 22:30:02 +0200 Subject: statusmap icons In-Reply-To: <99CF04974931C548B2BF20CD898FCBA7AF4538@uscpgmedexch01.medassets.com> References: <99CF04974931C548B2BF20CD898FCBA7AF4538@uscpgmedexch01.medassets.com> Message-ID: <431764CA.7000304@its-lehmann.de> Hi, Gonzales, Youn wrote: > I am running 2.0b4 on Fedora 4. I can't seem to get the statusmap icons > to work properly. > > define hostextinfo{ > host_name uscpgls1010 > icon_image network_switch.gif > statusmap_image network_switch.gif > } > > The icons show up in the status views - ie host detail - and when I > float over the device on the statusmap the icons are in the top left > corner of the popup. But, the icons on the status map are all the > unknown.gif icons. > > I can browse all of the icons, so it is not an apache or permissions > issue. Any suggestions? Yes, try using gd2 images. his worked here, I don't know what the manual has to say... Arno > "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers" > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Truong at plumtree.com Thu Sep 1 21:22:16 2005 From: Jason.Truong at plumtree.com (Jason Truong) Date: Thu, 1 Sep 2005 12:22:16 -0700 Subject: An email on acknowledge, and onlyonacknowledge? Nagios and RT Message-ID: <2B5E62F297571B49871BC8B7C587A2BEF77B87@CORPEXCH10.plumtree.com> Hello folks... We just implemented RT at our site but its on a different box than the Nagios server. Where can I find this patch to Nagios for RT. The site I am looking at: http://archives.free.net.ph/message/20050613.151813.d26c3cb0.en.html Only works if Nagios and RT are on the same machine. Any help is appreciated. Thank you, Jason Truong Plumtree Software 500 Sansome Street Suite 100 San Francisco, CA 94111 email: jason.truong at plumtree.com phone: (415) 399-7006 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Chris Wilson Sent: Tuesday, July 26, 2005 8:20 AM To: Nathan Oyler Cc: Nagios Users Subject: RE: [Nagios-users] An email on acknowledge, and onlyonacknowledge? Nagios and RT Hi Nathan, > Because if when there's a problem, a notification is sent. A ticket is > opened. > > Now an hour goes by, and the problem still exists, so another > notification is sent. Another ticket is opened. > > Now a recovery message is sent. Another ticket is opened. It's easy enough to write your handler so that no email is sent unless the message type is ACKNOWLEDGEMENT. > There's already a patch to Nagios to call the RT api during > acknowledgements, but my RT machine isn't my Nagios machine, and I don't > know enough of anything other than perl to edit it to do as I wish. perl -i -pe 's/localhost/my.rt.server/g' api-script.c :-) > There's also writing handlers to merge tickets when they come in, if new > alert comes in, search for if a ticket is created for this host, grab > that ticket number, send the new alert to comment on the ticket. This is much trickier. Basically you need to write a mail handler that gets the responses from RT, captures the ticket number, and associates it in some way with a permanent record of the problem (maybe hostname + service name). It's been discussed in the past, you could check the archives. But it sounds like more than you need. > This is how I'm leaning if I find nothing else out, but I'm thinking > just on an acknowledge if a ticket was open, that would make sense. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Praveenm at niit.com Thu Sep 1 22:54:10 2005 From: Praveenm at niit.com (Praveen Muthyala Manohar) Date: Thu, 1 Sep 2005 16:54:10 -0400 Subject: Nagios - J2EE server Message-ID: Hi All, Is there a plug-in available to check the health of application server (Web Logic or any App Server) instance? Regards Praveen M M ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ygonzales at medassets.com Thu Sep 1 23:06:02 2005 From: ygonzales at medassets.com (Gonzales, Youn) Date: Thu, 1 Sep 2005 16:06:02 -0500 Subject: statusmap icons Message-ID: <99CF04974931C548B2BF20CD898FCBA7AF4631@uscpgmedexch01.medassets.com> I am not able to view gd2 images in internet explorer. Is there a plugin or something I need to install? -----Original Message----- From: Arno Lehmann [mailto:al at its-lehmann.de] Sent: Thursday, September 01, 2005 3:30 PM To: Gonzales, Youn Cc: NAGIOS Subject: Re: [Nagios-users] statusmap icons Hi, Gonzales, Youn wrote: > I am running 2.0b4 on Fedora 4. I can't seem to get the statusmap icons > to work properly. > > define hostextinfo{ > host_name uscpgls1010 > icon_image network_switch.gif > statusmap_image network_switch.gif > } > > The icons show up in the status views - ie host detail - and when I > float over the device on the statusmap the icons are in the top left > corner of the popup. But, the icons on the status map are all the > unknown.gif icons. > > I can browse all of the icons, so it is not an apache or permissions > issue. Any suggestions? Yes, try using gd2 images. his worked here, I don't know what the manual has to say... Arno > "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers" > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers" ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ygonzales at medassets.com Thu Sep 1 23:31:27 2005 From: ygonzales at medassets.com (Gonzales, Youn) Date: Thu, 1 Sep 2005 16:31:27 -0500 Subject: statusmap icons Message-ID: <99CF04974931C548B2BF20CD898FCBA7AF4643@uscpgmedexch01.medassets.com> The GD2 images work on the statusmap, but do not work on the popup, so it looks like I can either have the image on the map or the image on the popup, but not both. -----Original Message----- From: Arno Lehmann [mailto:al at its-lehmann.de] Sent: Thursday, September 01, 2005 4:23 PM To: Gonzales, Youn Cc: NAGIOS Subject: Re: [Nagios-users] statusmap icons Hi, Gonzales, Youn wrote: > I am not able to view gd2 images in internet explorer. Is there a plugin > or something I need to install? No, you don't view them directly. They are used by libgd to create the statusmap image. You can simply convert one of your gifs to a gd2 format image, modify the configuration concerning hostextinfo to use the gd image, and see what happens. See the manual secion on extended information configuration for details, but note that my experience was that only gd images worked. I never tried to determine if that was a configuration error, an incorrect manual description, or anything else. With Nagios 1.2 and 2.0b3, by the way. Arno > -----Original Message----- > From: Arno Lehmann [mailto:al at its-lehmann.de] > Sent: Thursday, September 01, 2005 3:30 PM > To: Gonzales, Youn > Cc: NAGIOS > Subject: Re: [Nagios-users] statusmap icons > > Hi, > > Gonzales, Youn wrote: > > >>I am running 2.0b4 on Fedora 4. I can't seem to get the statusmap > > icons > >>to work properly. >> >>define hostextinfo{ >> host_name uscpgls1010 >> icon_image network_switch.gif >> statusmap_image network_switch.gif >> } >> >>The icons show up in the status views - ie host detail - and when I >>float over the device on the statusmap the icons are in the top left >>corner of the popup. But, the icons on the status map are all the >>unknown.gif icons. >> >>I can browse all of the icons, so it is not an apache or permissions >>issue. Any suggestions? > > > Yes, try using gd2 images. his worked here, I don't know what the manual > > has to say... > > Arno > > >>"The information transmitted is intended only for the person or entity > > to which it is addressed and may contain confidential, proprietary, > and/or privileged material. Any review, retransmission, dissemination or > other use of, or taking of any action in reliance upon this information > by persons or entities other than the intended recipient is prohibited. > If you received this in error, please contact the sender and delete the > material from all computers" > >> >> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices > >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing > > & QA > >>Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null >> > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers" ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adisharon at gmail.com Thu Sep 1 22:07:51 2005 From: adisharon at gmail.com (Adi Sharon) Date: Thu, 1 Sep 2005 20:07:51 +0000 (UTC) Subject: Service Checks in pending state - Take 2 References: Message-ID: Hello well it happened again. added some services and restarted nagios( one proc is running) and again all services pending and scheduled for tommorow nite in 00:00. the strange thing i also notice is that the status information does not contain the same time for all services. since there are only 10 services and concurrent checks is now 150 seems a little strange. but anyway nagios is not running any more only in pending state. i cleared the mysql tables ( all of them) but it didnt helped still all service checks are scheduled for tommorow. the nagios configuration + information is the same as i wrote. only added 2 more services. Please Help Adi ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Sep 1 23:52:17 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 1 Sep 2005 17:52:17 -0400 (EDT) Subject: statusmap icons In-Reply-To: <99CF04974931C548B2BF20CD898FCBA7AF4643@uscpgmedexch01.medassets.com> References: <99CF04974931C548B2BF20CD898FCBA7AF4643@uscpgmedexch01.medassets.com> Message-ID: On Thu, 1 Sep 2005, Gonzales, Youn wrote: > The GD2 images work on the statusmap, but do not work on the popup, so > it looks like I can either have the image on the map or the image on the > popup, but not both. >From docs: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo define hostextinfo{ host_name host_name notes note_string notes_url url action_url url icon_image image_file icon_image_alt alt_string vrml_image image_file statusmap_image image_file 2d_coords x_coord,y_coord 3d_coords x_coord,y_coord,z_coord } Note: icon_image/vrml_image - should be png/gif/jpg statusmap_image - should be gd2 > > -----Original Message----- > From: Arno Lehmann [mailto:al at its-lehmann.de] > Sent: Thursday, September 01, 2005 4:23 PM > To: Gonzales, Youn > Cc: NAGIOS > Subject: Re: [Nagios-users] statusmap icons > > Hi, > > Gonzales, Youn wrote: > >> I am not able to view gd2 images in internet explorer. Is there a > plugin >> or something I need to install? > > No, you don't view them directly. They are used by libgd to create the > statusmap image. > > You can simply convert one of your gifs to a gd2 format image, modify > the configuration concerning hostextinfo to use the gd image, and see > what happens. See the manual secion on extended information > configuration for details, but note that my experience was that only gd > images worked. I never tried to determine if that was a configuration > error, an incorrect manual description, or anything else. > > With Nagios 1.2 and 2.0b3, by the way. > > Arno > >> -----Original Message----- >> From: Arno Lehmann [mailto:al at its-lehmann.de] >> Sent: Thursday, September 01, 2005 3:30 PM >> To: Gonzales, Youn >> Cc: NAGIOS >> Subject: Re: [Nagios-users] statusmap icons >> >> Hi, >> >> Gonzales, Youn wrote: >> >> >>> I am running 2.0b4 on Fedora 4. I can't seem to get the statusmap >> >> icons >> >>> to work properly. >>> >>> define hostextinfo{ >>> host_name uscpgls1010 >>> icon_image network_switch.gif >>> statusmap_image network_switch.gif >>> } >>> >>> The icons show up in the status views - ie host detail - and when I >>> float over the device on the statusmap the icons are in the top left >>> corner of the popup. But, the icons on the status map are all the >>> unknown.gif icons. >>> >>> I can browse all of the icons, so it is not an apache or permissions >>> issue. Any suggestions? >> >> >> Yes, try using gd2 images. his worked here, I don't know what the > manual >> >> has to say... >> >> Arno >> -- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Sep 1 23:15:56 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 1 Sep 2005 17:15:56 -0400 (EDT) Subject: statusmap icons In-Reply-To: <99CF04974931C548B2BF20CD898FCBA7AF4631@uscpgmedexch01.medassets.com> References: <99CF04974931C548B2BF20CD898FCBA7AF4631@uscpgmedexch01.medassets.com> Message-ID: On Thu, 1 Sep 2005, Gonzales, Youn wrote: > I am not able to view gd2 images in internet explorer. Is there a plugin > or something I need to install? > Nagios uses the gd2 images to generate a larger image - in a png format. gd2 images are not directly sent out. -sg > -----Original Message----- > From: Arno Lehmann [mailto:al at its-lehmann.de] > Sent: Thursday, September 01, 2005 3:30 PM > To: Gonzales, Youn > Cc: NAGIOS > Subject: Re: [Nagios-users] statusmap icons > > Hi, > > Gonzales, Youn wrote: > >> I am running 2.0b4 on Fedora 4. I can't seem to get the statusmap > icons >> to work properly. >> >> define hostextinfo{ >> host_name uscpgls1010 >> icon_image network_switch.gif >> statusmap_image network_switch.gif >> } >> >> The icons show up in the status views - ie host detail - and when I >> float over the device on the statusmap the icons are in the top left >> corner of the popup. But, the icons on the status map are all the >> unknown.gif icons. >> >> I can browse all of the icons, so it is not an apache or permissions >> issue. Any suggestions? > > Yes, try using gd2 images. his worked here, I don't know what the manual > > has to say... > > Arno > -- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Thu Sep 1 23:23:21 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 01 Sep 2005 23:23:21 +0200 Subject: statusmap icons In-Reply-To: <99CF04974931C548B2BF20CD898FCBA7AF4631@uscpgmedexch01.medassets.com> References: <99CF04974931C548B2BF20CD898FCBA7AF4631@uscpgmedexch01.medassets.com> Message-ID: <43177149.2030506@its-lehmann.de> Hi, Gonzales, Youn wrote: > I am not able to view gd2 images in internet explorer. Is there a plugin > or something I need to install? No, you don't view them directly. They are used by libgd to create the statusmap image. You can simply convert one of your gifs to a gd2 format image, modify the configuration concerning hostextinfo to use the gd image, and see what happens. See the manual secion on extended information configuration for details, but note that my experience was that only gd images worked. I never tried to determine if that was a configuration error, an incorrect manual description, or anything else. With Nagios 1.2 and 2.0b3, by the way. Arno > -----Original Message----- > From: Arno Lehmann [mailto:al at its-lehmann.de] > Sent: Thursday, September 01, 2005 3:30 PM > To: Gonzales, Youn > Cc: NAGIOS > Subject: Re: [Nagios-users] statusmap icons > > Hi, > > Gonzales, Youn wrote: > > >>I am running 2.0b4 on Fedora 4. I can't seem to get the statusmap > > icons > >>to work properly. >> >>define hostextinfo{ >> host_name uscpgls1010 >> icon_image network_switch.gif >> statusmap_image network_switch.gif >> } >> >>The icons show up in the status views - ie host detail - and when I >>float over the device on the statusmap the icons are in the top left >>corner of the popup. But, the icons on the status map are all the >>unknown.gif icons. >> >>I can browse all of the icons, so it is not an apache or permissions >>issue. Any suggestions? > > > Yes, try using gd2 images. his worked here, I don't know what the manual > > has to say... > > Arno > > >>"The information transmitted is intended only for the person or entity > > to which it is addressed and may contain confidential, proprietary, > and/or privileged material. Any review, retransmission, dissemination or > other use of, or taking of any action in reliance upon this information > by persons or entities other than the intended recipient is prohibited. > If you received this in error, please contact the sender and delete the > material from all computers" > >> >> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices > >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing > > & QA > >>Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null >> > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Fri Sep 2 01:14:43 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Fri, 2 Sep 2005 07:14:43 +0800 Subject: @sysconfdir@/cgi.cfg - Installation setup problem In-Reply-To: References: Message-ID: Hi, Actually, in /usr/local/nagios/etc there are now some *sample files. the resource.cfg that i do use has the @libexec@ and the resource.cfg-sample file has the one set in /usr/local/nagios/libexec, so used that one. When i rerun nagios, i got the Return code of 137 is out of bounds in the webpage and ld.so.1: /usr/local/nagios/libexec/check_ping: fatal: libiconv.so.2: open failed: No such file or directory ing the terminal.. although i have the libiconv.so.2 file in /usr/local/lib I read somewhere that i have to set some variable to the path of the library but i forgot where/what it is? LIB_... something.. :) Thanks! On 9/1/05, Subhendu Ghosh wrote: > > configure looks good here. > > In /usr/local/nagios/etc - do you only have one resource.cfg file? or do > you have resource.cfg.in as well? > > you might want to delete every thing in /usr/local/nagios/etc and run > "make install-config" again to get the base sample-config > > -sg > > On Thu, 1 Sep 2005, Elizar M. Palad wrote: > > > Hi Subhendu, > > I rerun the ./configure... same options and i couldn't find any critical > > errors. > > I attached the output produced. The only thing that looks like an error > is > > the gd, which, according to the documentation, nagios will run without > it. > > > > # ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin > > --with-htmlurl=/nagios --with-nagios-user=na > > gios --with-nagios-groupp=nagios --with-gd-lib=/usr/local/lib > > checking for a BSD compatible install... ./install-sh -c > > checking host system type... sparc-sun-solaris2.6 > > checking for gcc... gcc > > checking whether the C compiler (gcc ) works... yes > > checking whether the C compiler (gcc ) is a cross-compiler... no > > checking whether we are using GNU C... yes > > checking whether gcc accepts -g... yes > > checking whether make sets ${MAKE}... yes > > checking for strip... /usr/ccs/bin/strip > > checking how to run the C preprocessor... gcc -E > > checking for ANSI C header files... yes > > checking whether time.h and sys/time.h may both be included... yes > > checking for sys/wait.h that is POSIX.1 compatible... yes > > checking for arpa/inet.h... yes > > checking for ctype.h... yes > > checking for dirent.h... yes > > checking for errno.h... yes > > checking for fcntl.h... yes > > checking for getopt.h... no > > checking for grp.h... yes > > checking for limits.h... yes > > checking for math.h... yes > > checking for netdb.h... yes > > checking for netinet/in.h... yes > > checking for pthread.h... yes > > checking for pthreads.h... no > > checking for pwd.h... yes > > checking for regex.h... yes > > checking for signal.h... yes > > checking for socket.h... no > > checking for string.h... yes > > checking for strings.h... yes > > checking for sys/mman.h... yes > > checking for sys/types.h... yes > > checking for sys/time.h... yes > > checking for sys/resource.h... yes > > checking for sys/wait.h... (cached) yes > > checking for sys/socket.h... yes > > checking for sys/stat.h... yes > > checking for sys/timeb.h... yes > > checking for sys/un.h... yes > > checking for sys/ipc.h... yes > > checking for sys/msg.h... yes > > checking for sys/poll.h... yes > > checking for syslog.h... yes > > checking for uio.h... no > > checking for unistd.h... yes > > checking for working const... yes > > checking whether struct tm is in sys/time.h or time.h... time.h > > checking for tm_zone in struct tm... no > > checking for tzname... yes > > checking for mode_t... yes > > checking for pid_t... yes > > checking for size_t... yes > > checking return type of signal handlers... void > > checking for uid_t in sys/types.h... yes > > checking type of array argument to getgroups... gid_t > > checking for initgroups... yes > > checking for setenv... no > > checking for strdup... yes > > checking for strstr... yes > > checking for strtoul... yes > > checking for unsetenv... no > > checking for type of socket size... size_t > > checking for pthread_create in -lcma... no > > checking for pthread_create in -lpthread... yes > > checking for library containing nanosleep... -lposix4 > > checking for mail... /usr/bin/mail > > Init script directory: /etc/init.d > > We'll use default routines (in xdata/xsddefault.*) for status data > I/O... > > We'll use default routines (in xdata/xcddefault.*) for comment data > I/O... > > We'll use default routines (in xdata/xrddefault.*) for retention data > I/O... > > We'll use template-based routines (in xdata/xodtemplate.*) for object > data > > I/O... > > We'll use default routines (in xdata/xpddefault.*) for performance data > > I/O... > > We'll use default routines (in xdata/xdddefault.*) for scheduled > downtime > > data I/O... > > checking for main in -liconv... yes > > checking for gdImagePng in -lgd (order 1)... no > > checking for gdImagePng in -lgd (order 2)... no > > checking for gdImagePng in -lgd (order 3)... no > > checking for gdImagePng in -lgd (order 4)... no > > > > > > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > > > Boutell's GD library is required to compile the statusmap, trends > > and histogram CGIs. Get it from http://www.boutell.com/gd/, compile > > it, and use the --with-gd-lib and --with-gd-inc arguments to specify > > the locations of the GD library and include files. > > > > NOTE: In addition to the gd-devel library, you'll also need to make > > sure you have the png-devel and jpeg-devel libraries installed > > on your system. > > > > NOTE: After you install the necessary libraries on your system: > > 1. Make sure /etc/ld.so.conf has an entry for the directory in > > which the GD, PNG, and JPEG libraries are installed. > > 2. Run 'ldconfig' to update the run-time linker options. > > 3. Run 'make clean' in the Nagios distribution to clean out > > any old references to your previous compile. > > 4. Rerun the configure script. > > > > NOTE: If you can't get the configure script to recognize the GD libs > > on your system, get over it and move on to other things. The > > CGIs that use the GD libs are just a small part of the entire > > Nagios package. Get everything else working first and then > > revisit the problem. Make sure to check the nagios-users > > mailing list archives for possible solutions to GD library > > problems when you resume your troubleshooting. > > > > ******************************************************************** > > > > > > checking for ltdl.h... no > > checking for dlfcn.h... yes > > checking for dlopen in -ldl... yes > > checking for extra flags needed to export symbols... none > > checking for linker flags for loadable modules... -G > > checking for linker flags for loadable modules... -G > > checking for traceroute... no > > checking for snprintf... yes > > checking for type va_list... yes > > checking for perl... /usr/local/bin/perl > > creating ./config.status > > creating Makefile > > creating subst > > creating pkginfo > > creating base/Makefile > > creating common/Makefile > > creating contrib/Makefile > > creating cgi/Makefile > > creating html/Makefile > > creating module/Makefile > > creating include/Makefile > > creating xdata/Makefile > > creating daemon-init > > creating html/index.html > > creating html/side.html > > creating include/config.h > > include/config.h is unchanged > > creating include/snprintf.h > > include/snprintf.h is unchanged > > creating include/nagios.h > > creating include/cgiutils.h > > include/cgiutils.h is unchanged > > > > Creating sample config files in sample-config/ ... > > > > > > *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > > > General Options: > > ------------------------- > > Nagios executable: nagios > > Nagios user/group: nagios,nagios > > Command user/group: nagios,nagios > > Embedded Perl: no > > Event Broker: yes > > Install ${prefix}: /usr/local/nagios > > Lock file: ${prefix}/var/nagios.lock > > Init directory: /etc/init.d > > Host OS: solaris2.6 > > > > Web Interface Options: > > ------------------------ > > HTML URL: http://localhost/nagios/ > > CGI URL: http://localhost/nagios/cgi-bin/ > > Traceroute (used by WAP): > > > > > > Review the options above for accuracy. If they look okay, > > type 'make all' to compile the main program and CGIs. > > > > > > On 9/1/05, Subhendu Ghosh wrote: > >> > >> On Thu, 1 Sep 2005, Elizar M. Palad wrote: > >> > >>> Hi! Ok, i rerun configure script after installed perl, seems ok. no > >> error > >>> and all > >>> the .h files are created and there's no more error in make > >> install-config (i > >>> had one before) > >>> i am using the minimal.cfg to test nagios. > >>> I started nagios without any options. > >>> /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg > >>> and it says: > >>> sh: @libexecdir@/check_ping: not found > >>> sh: @libexecdir@/check_users: not found > >>> sh: @libexecdir@/check_procs: not found > >>> Is this ok? > >> > >> No - @libexecdir@ should have been fixed by configure. > >> > >> For nagios - there should be no errors in the configure process... > >> > >> > >>> The IE page now has an error... > >>> It appears as though you do not have permission to view information > for > >>> any of the hosts you requested... > >>> > >>> If you believe this is an error, check the HTTP server authentication > >>> requirements for accessing this CGI > >>> and check the authorization options in your CGI configuration file. > >>> I didn't set up any authentication for nagios. Maybe it caused the > error > >>> above? > >>> if it does, how to use nagios without authentication? > >>> thanks! > >>> > >>> > >>> On 8/31/05, Subhendu Ghosh wrote: > >>>> > >>>> > >>>> Yes - autoconf which creates configure uses perl :) > >>>> > >>>> You can either compile your own or sunfreeware.com > > >> has some nice pkgadd > >>>> versions. > >>>> > >>>> -sg > >>>> > >>>> > >>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: > >>>> > >>>>> Hi, thanks! > >>>>> from ./configure's output: > >>>>> > >>>>> creating html/index.html > >>>>> creating html/side.html > >>>>> creating include/config.h > >>>>> creating include/snprintf.h > >>>>> creating include/nagios.h > >>>>> creating include/cgiutils.h > >>>>> ./configure: perl: not found > >>>>> ./configure: perl: not found > >>>>> > >>>>> Creating sample config files in sample-config/ ... > >>>>> ./configure: perl: not found > >>>>> ./configure: perl: not found > >>>>> ./configure: perl: not found > >>>>> ./configure: perl: not found > >>>>> ./configure: perl: not found > >>>>> ./configure: perl: not found > >>>>> ./configure: perl: not found > >>>>> ./configure: perl: not found > >>>>> > >>>>> > >>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > >>>>> > >>>>> General Options: > >>>>> ------------------------- > >>>>> Nagios executable: nagios > >>>>> Nagios user/group: nagios,nagios > >>>>> Command user/group: nagios,nagios > >>>>> Embedded Perl: no > >>>>> Event Broker: yes > >>>>> Install ${prefix}: /usr/local/nagios > >>>>> Lock file: ${prefix}/var/nagios.lock > >>>>> Init directory: /etc/init.d > >>>>> Host OS: solaris2.6 > >>>>> .... > >>>>> Im going to install now perl and see if it will create the > >> location.hfile. > >>>>> Thanks! > >>>>> eli > >>>>> > >>>>> On 8/31/05, Subhendu Ghosh wrote: > >>>>>> > >>>>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: > >>>>>> > >>>>>>> I rerun ./configure --prefix=/usr/local/nagios > >>>>>> --with-cgiurl=/nagios/cgi-bin > >>>>>>> --with-htmlurl=/nagios --with-nagios-user=nagios > >>>>>> --with-nagios-groupp=nagios > >>>>>>> --with-gd-lib=/usr/local/lib > >>>>>>> and summary is below: > >>>>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > >>>>>>> > >>>>>>> General Options: > >>>>>>> ------------------------- > >>>>>>> Nagios executable: nagios > >>>>>>> Nagios user/group: nagios,nagios > >>>>>>> Command user/group: nagios,nagios > >>>>>>> Embedded Perl: no > >>>>>>> Event Broker: yes > >>>>>>> Install ${prefix}: /usr/local/nagios > >>>>>>> Lock file: ${prefix}/var/nagios.lock > >>>>>>> Init directory: /etc/init.d > >>>>>>> Host OS: solaris2.6 > >>>>>>> > >>>>>>> Web Interface Options: > >>>>>>> ------------------------ > >>>>>>> HTML URL: http://localhost/nagios/ > >>>>>>> CGI URL: http://localhost/nagios/cgi-bin/ > >>>>>>> Traceroute (used by WAP): > >>>>>>> > >>>>>>> > >>>>>>> Review the options above for accuracy. If they look okay, > >>>>>>> type 'make all' to compile the main program and CGIs. > >>>>>>> ------------------ > >>>>>>> Looks ok isn't it? > >>>>>>> then when i do 'make all', i have this error: > >>>>>>> # make all > >>>>>>> cd ./base && make > >>>>>>> make: Fatal error: Don't know how to make target > >>>>>> `../include/locations.h' > >>>>>>> Current working directory /packages/nagios-2.0b4/base > >>>>>>> *** Error code 1 > >>>>>>> make: Fatal error: Command failed for target `all' > >>>>>>> This is also my second time with this error. What I did was i copy > >>>>>>> locations.h.in < > http://locations.h.in> < > >> http://locations.h.in> < > >>>> http://locations.h.in> as > >>>>>> locations.h :-) > >>>>>>> and the compilation continues.. (was that not right? :) > >>>>>>> thanks! > >>>>>> > >>>>>> > >>>>>> NOOOOO - configure must have produced an error before the summary > was > >>>>>> printed. > >>>>>> > >>>>>> configure should create a locations.h from locations.h.in > > >> > >>>> after > >>>>>> appropriate substitutions. > >>>>>> > >>>>>> If the file is not being created properly - you may have a file > >>>> permission > >>>>>> issue. > >>>>>> > >>>>>> run "chown -R user:group nagios_src_dir/" > >>>>>> > >>>>>> replace the user and group with the user and group info fort he > >> person > >>>>>> running configure > >>>>>> > >>>>>> replace nagios_src_dir with the dir that contains the nagios src. > >>>>>> > >>>>>> Never copy a *.*.in file into a *.* file. > >>>>>> > >>>>>> > >>>>>> > >>>>>> -- > >>>>>> > >>>>>> -sg > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > >>>> -- > >>>> > >>>> > >>> > >>> > >>> > >> > >> -- > >> > >> > >> > >> ------------------------------------------------------- > >> SF.Net email is Sponsored by the Better Software Conference & EXPO > >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle > >> Practices > >> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & > QA > >> Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > > > > > > -- > > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elizar.palad at gmail.com Fri Sep 2 01:46:48 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Fri, 2 Sep 2005 07:46:48 +0800 Subject: @sysconfdir@/cgi.cfg - Installation setup problem In-Reply-To: References: Message-ID: Hi Subhendu! Found it! :-) http://www.nagios.org/faqs/viewfaq.php?faq_id=17 Will continue to learn nagios! Thanks for the help! and you guys will hear from me soon, i bet. ;) Thanks! eli On 9/2/05, Elizar M. Palad wrote: > > Hi, > Actually, in /usr/local/nagios/etc there are now some *sample files. > the resource.cfg that i do use has the @libexec@ and the > resource.cfg-sample > file has the one set in /usr/local/nagios/libexec, so used that one. > When i rerun nagios, i got the > Return code of 137 is out of bounds > in the webpage and > ld.so.1: /usr/local/nagios/libexec/check_ping: fatal: libiconv.so.2: open > failed: No such file or directory > ing the terminal.. > although i have the libiconv.so.2 file in /usr/local/lib > I read somewhere that i have to set some variable to the path > of the library but i forgot where/what it is? LIB_... something.. :) > Thanks! > > On 9/1/05, Subhendu Ghosh wrote: > > > > configure looks good here. > > > > In /usr/local/nagios/etc - do you only have one resource.cfg file? or do > > > > you have resource.cfg.in as well? > > > > you might want to delete every thing in /usr/local/nagios/etc and run > > "make install-config" again to get the base sample-config > > > > -sg > > > > On Thu, 1 Sep 2005, Elizar M. Palad wrote: > > > > > Hi Subhendu, > > > I rerun the ./configure... same options and i couldn't find any > > critical > > > errors. > > > I attached the output produced. The only thing that looks like an > > error is > > > the gd, which, according to the documentation, nagios will run without > > it. > > > > > > # ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin > > > --with-htmlurl=/nagios --with-nagios-user=na > > > gios --with-nagios-groupp=nagios --with-gd-lib=/usr/local/lib > > > checking for a BSD compatible install... ./install-sh -c > > > checking host system type... sparc-sun-solaris2.6 > > > checking for gcc... gcc > > > checking whether the C compiler (gcc ) works... yes > > > checking whether the C compiler (gcc ) is a cross-compiler... no > > > checking whether we are using GNU C... yes > > > checking whether gcc accepts -g... yes > > > checking whether make sets ${MAKE}... yes > > > checking for strip... /usr/ccs/bin/strip > > > checking how to run the C preprocessor... gcc -E > > > checking for ANSI C header files... yes > > > checking whether time.h and sys/time.h may both be included... yes > > > checking for sys/wait.h that is POSIX.1 compatible... yes > > > checking for arpa/inet.h... yes > > > checking for ctype.h... yes > > > checking for dirent.h.. . yes > > > checking for errno.h... yes > > > checking for fcntl.h... yes > > > checking for getopt.h... no > > > checking for grp.h... yes > > > checking for limits.h... yes > > > checking for math.h... yes > > > checking for netdb.h... yes > > > checking for netinet/in.h... yes > > > checking for pthread.h... yes > > > checking for pthreads.h... no > > > checking for pwd.h... yes > > > checking for regex.h... yes > > > checking for signal.h... yes > > > checking for socket.h... no > > > checking for string.h... yes > > > checking for strings.h... yes > > > checking for sys/mman.h... yes > > > checking for sys/types.h... yes > > > checking for sys/time.h... yes > > > checking for sys/resource.h... yes > > > checking for sys/wait.h... (cached) yes > > > checking for sys/socket.h... yes > > > checking for sys/stat.h... yes > > > checking for sys/timeb.h... yes > > > checking for sys/un.h... yes > > > checking for sys/ipc.h... yes > > > checking for sys/msg.h... yes > > > checking for sys/poll.h... yes > > > checking for syslog.h... yes > > > checking for uio.h... no > > > checking for unistd.h... yes > > > checking for working const... yes > > > checking whether struct tm is in sys/time.h or time.h... time.h > > > checking for tm_zone in struct tm... no > > > checking for tzname... yes > > > checking for mode_t... yes > > > checking for pid_t... yes > > > checking for size_t... yes > > > checking return type of signal handlers... void > > > checking for uid_t in sys/types.h... yes > > > checking type of array argument to getgroups... gid_t > > > checking for initgroups... yes > > > checking for setenv... no > > > checking for strdup... yes > > > checking for strstr... yes > > > checking for strtoul... yes > > > checking for unsetenv... no > > > checking for type of socket size... size_t > > > checking for pthread_create in -lcma... no > > > checking for pthread_create in -lpthread... yes > > > checking for library containing nanosleep... -lposix4 > > > checking for mail... /usr/bin/mail > > > Init script directory: /etc/init.d > > > We'll use default routines (in xdata/xsddefault.*) for status data > > I/O... > > > We'll use default routines (in xdata/xcddefault.*) for comment data > > I/O... > > > We'll use default routines (in xdata/xrddefault.*) for retention data > > I/O... > > > We'll use template-based routines (in xdata/xodtemplate.*) for object > > data > > > I/O... > > > We'll use default routines (in xdata/xpddefault.*) for performance > > data > > > I/O... > > > We'll use default routines (in xdata/xdddefault.*) for scheduled > > downtime > > > data I/O... > > > checking for main in -liconv... yes > > > checking for gdImagePng in -lgd (order 1)... no > > > checking for gdImagePng in -lgd (order 2)... no > > > checking for gdImagePng in -lgd (order 3)... no > > > checking for gdImagePng in -lgd (order 4)... no > > > > > > > > > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > > > > > Boutell's GD library is required to compile the statusmap, trends > > > and histogram CGIs. Get it from http://www.boutell.com/gd/, compile > > > it, and use the --with-gd-lib and --with-gd-inc arguments to specify > > > the locations of the GD library and include files. > > > > > > NOTE: In addition to the gd-devel library, you'll also need to make > > > sure you have the png-devel and jpeg-devel libraries installed > > > on your system. > > > > > > NOTE: After you install the necessary libraries on your system: > > > 1. Make sure /etc/ld.so.conf has an entry for the directory in > > > which the GD, PNG, and JPEG libraries are installed. > > > 2. Run 'ldconfig' to update the run-time linker options. > > > 3. Run 'make clean' in the Nagios distribution to clean out > > > any old references to your previous compile. > > > 4. Rerun the configure script. > > > > > > NOTE: If you can't get the configure script to recognize the GD libs > > > on your system, get over it and move on to other things. The > > > CGIs that use the GD libs are just a small part of the entire > > > Nagios package. Get everything else working first and then > > > revisit the problem. Make sure to check the nagios-users > > > mailing list archives for possible solutions to GD library > > > problems when you resume your troubleshooting. > > > > > > ******************************************************************** > > > > > > > > > checking for ltdl.h... no > > > checking for dlfcn.h.. . yes > > > checking for dlopen in -ldl... yes > > > checking for extra flags needed to export symbols... none > > > checking for linker flags for loadable modules... -G > > > checking for linker flags for loadable modules... -G > > > checking for traceroute... no > > > checking for snprintf... yes > > > checking for type va_list... yes > > > checking for perl... /usr/local/bin/perl > > > creating ./config.status > > > creating Makefile > > > creating subst > > > creating pkginfo > > > creating base/Makefile > > > creating common/Makefile > > > creating contrib/Makefile > > > creating cgi/Makefile > > > creating html/Makefile > > > creating module/Makefile > > > creating include/Makefile > > > creating xdata/Makefile > > > creating daemon-init > > > creating html/index.html > > > creating html/side.html > > > creating include/config.h > > > include/config.h is unchanged > > > creating include/snprintf.h > > > include/snprintf.h is unchanged > > > creating include/nagios.h > > > creating include/cgiutils.h > > > include/cgiutils.h is unchanged > > > > > > Creating sample config files in sample-config/ ... > > > > > > > > > *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > > > > > General Options: > > > ------------------------- > > > Nagios executable: nagios > > > Nagios user/group: nagios,nagios > > > Command user/group: nagios,nagios > > > Embedded Perl: no > > > Event Broker: yes > > > Install ${prefix}: /usr/local/nagios > > > Lock file: ${prefix}/var/nagios.lock > > > Init directory: /etc/init.d > > > Host OS: solaris2.6 > > > > > > Web Interface Options: > > > ------------------------ > > > HTML URL: http://localhost/nagios/ > > > CGI URL: http://localhost/nagios/cgi-bin/ > > > Traceroute (used by WAP): > > > > > > > > > Review the options above for accuracy. If they look okay, > > > type 'make all' to compile the main program and CGIs. > > > > > > > > > On 9/1/05, Subhendu Ghosh wrote: > > >> > > >> On Thu, 1 Sep 2005, Elizar M. Palad wrote: > > >> > > >>> Hi! Ok, i rerun configure script after installed perl, seems ok. no > > >> error > > >>> and all > > >>> the .h files are created and there's no more error in make > > >> install-config (i > > >>> had one before) > > >>> i am using the minimal.cfg to test nagios. > > >>> I started nagios without any options. > > >>> /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg > > >>> and it says: > > >>> sh: @libexecdir@/check_ping: not found > > >>> sh: @libexecdir@/check_users: not found > > >>> sh: @libexecdir@/check_procs: not found > > >>> Is this ok? > > >> > > >> No - @libexecdir@ should have been fixed by configure. > > >> > > >> For nagios - there should be no errors in the configure process... > > >> > > >> > > >>> The IE page now has an error... > > >>> It appears as though you do not have permission to view information > > for > > >>> any of the hosts you requested... > > >>> > > >>> If you believe this is an error, check the HTTP server > > authentication > > >>> requirements for accessing this CGI > > >>> and check the authorization options in your CGI configuration file. > > >>> I didn't set up any authentication for nagios. Maybe it caused the > > error > > >>> above? > > >>> if it does, how to use nagios without authentication? > > >>> thanks! > > >>> > > >>> > > >>> On 8/31/05, Subhendu Ghosh wrote: > > >>>> > > >>>> > > >>>> Yes - autoconf which creates configure uses perl :) > > >>>> > > >>>> You can either compile your own or sunfreeware.com > > > > >> < http://sunfreeware.com>has some nice pkgadd > > >>>> versions. > > >>>> > > >>>> -sg > > >>>> > > >>>> > > >>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: > > >>>> > > >>>>> Hi, thanks! > > >>>>> from ./configure's output: > > >>>>> > > >>>>> creating html/index.html > > >>>>> creating html/side.html > > >>>>> creating include/config.h > > >>>>> creating include/snprintf.h > > >>>>> creating include/nagios.h > > >>>>> creating include/cgiutils.h > > >>>>> ./configure: perl: not found > > >>>>> ./configure: perl: not found > > >>>>> > > >>>>> Creating sample config files in sample-config/ ... > > >>>>> ./configure: perl: not found > > >>>>> ./configure: perl: not found > > >>>>> ./configure: perl: not found > > >>>>> ./configure: perl: not found > > >>>>> ./configure: perl: not found > > >>>>> ./configure: perl: not found > > >>>>> ./configure: perl: not found > > >>>>> ./configure: perl: not found > > >>>>> > > >>>>> > > >>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > >>>>> > > >>>>> General Options: > > >>>>> ------------------------- > > >>>>> Nagios executable: nagios > > >>>>> Nagios user/group: nagios,nagios > > >>>>> Command user/group: nagios,nagios > > >>>>> Embedded Perl: no > > >>>>> Event Broker: yes > > >>>>> Install ${prefix}: /usr/local/nagios > > >>>>> Lock file: ${prefix}/var/nagios.lock > > >>>>> Init directory: /etc/init.d > > >>>>> Host OS: solaris2.6 > > >>>>> .... > > >>>>> Im going to install now perl and see if it will create the > > >> location.hfile. > > >>>>> Thanks! > > >>>>> eli > > >>>>> > > >>>>> On 8/31/05, Subhendu Ghosh wrote: > > >>>>>> > > >>>>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: > > >>>>>> > > >>>>>>> I rerun ./configure --prefix=/usr/local/nagios > > >>>>>> --with-cgiurl=/nagios/cgi-bin > > >>>>>>> --with-htmlurl=/nagios --with-nagios-user=nagios > > >>>>>> --with-nagios-groupp=nagios > > >>>>>>> --with-gd-lib=/usr/local/lib > > >>>>>>> and summary is below: > > >>>>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > >>>>>>> > > >>>>>>> General Options: > > >>>>>>> ------------------------- > > >>>>>>> Nagios executable: nagios > > >>>>>>> Nagios user/group: nagios,nagios > > >>>>>>> Command user/group: nagios,nagios > > >>>>>>> Embedded Perl: no > > >>>>>>> Event Broker: yes > > >>>>>>> Install ${prefix}: /usr/local/nagios > > >>>>>>> Lock file: ${prefix}/var/nagios.lock > > >>>>>>> Init directory: /etc/init.d > > >>>>>>> Host OS: solaris2.6 > > >>>>>>> > > >>>>>>> Web Interface Options: > > >>>>>>> ------------------------ > > >>>>>>> HTML URL: http://localhost/nagios/ > > >>>>>>> CGI URL: http://localhost/nagios/cgi-bin/ > > >>>>>>> Traceroute (used by WAP): > > >>>>>>> > > >>>>>>> > > >>>>>>> Review the options above for accuracy. If they look okay, > > >>>>>>> type 'make all' to compile the main program and CGIs. > > >>>>>>> ------------------ > > >>>>>>> Looks ok isn't it? > > >>>>>>> then when i do 'make all', i have this error: > > >>>>>>> # make all > > >>>>>>> cd ./base && make > > >>>>>>> make: Fatal error: Don't know how to make target > > >>>>>> `../include/locations.h' > > >>>>>>> Current working directory /packages/nagios-2.0b4/base > > >>>>>>> *** Error code 1 > > >>>>>>> make: Fatal error: Command failed for target `all' > > >>>>>>> This is also my second time with this error. What I did was i > > copy > > >>>>>>> locations.h.in > > < > > >> http://locations.h.in> < > > >>>> http://locations.h.in> as > > >>>>>> locations.h :-) > > >>>>>>> and the compilation continues.. (was that not right? :) > > >>>>>>> thanks! > > >>>>>> > > >>>>>> > > >>>>>> NOOOOO - configure must have produced an error before the summary > > was > > >>>>>> printed. > > >>>>>> > > >>>>>> configure should create a locations.h from locations.h.in > > > > >> < http://locations.h.in> > > >>>> after > > >>>>>> appropriate substitutions. > > >>>>>> > > >>>>>> If the file is not being created properly - you may have a file > > >>>> permission > > >>>>>> issue. > > >>>>>> > > >>>>>> run "chown -R user:group nagios_src_dir/" > > >>>>>> > > >>>>>> replace the user and group with the user and group info fort he > > >> person > > >>>>>> running configure > > >>>>>> > > >>>>>> replace nagios_src_dir with the dir that contains the nagios src. > > > > >>>>>> > > >>>>>> Never copy a *.*.in file into a *.* file. > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> -- > > >>>>>> > > >>>>>> -sg > > >>>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>> > > >>>> -- > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >> > > >> -- > > >> > > >> > > >> > > >> ------------------------------------------------------- > > >> SF.Net email is Sponsored by the Better Software Conference & EXPO > > >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > >> Practices > > >> Agile & Plan-Driven Development * Managing Projects & Teams * Testing > > & QA > > >> Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > >> _______________________________________________ > > >> Nagios-users mailing list > > >> Nagios-users at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > > >> ::: Please include Nagios version, plugin version (-v) and OS when > > >> reporting any issue. > > >> ::: Messages without supporting info will risk being sent to > > /dev/null > > >> > > > > > > > > > > > > > > > > -- > > > > > > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd_barbera at wgbh.org Fri Sep 2 02:55:27 2005 From: todd_barbera at wgbh.org (Todd Barbera) Date: Thu, 01 Sep 2005 20:55:27 -0400 Subject: @sysconfdir@/cgi.cfg - Installation setup problem References: Message-ID: <001b01c5af59$02c45aa0$0d7810ac@wgbh.org> Hi Eli, You can actually use crle to set your library path instead of having to set an environment variable. It seems to work pretty well on my Solaris systems. Ex: crle -l /usr/lib:/usr/ccs/lib:/usr/local/lib:/usr/local/ssl/lib Todd ----- Original Message ----- From: Elizar M. Palad To: Subhendu Ghosh Cc: nagios-users at lists.sourceforge.net Sent: Thursday, September 01, 2005 7:46 PM Subject: Re: [Nagios-users] @sysconfdir@/cgi.cfg - Installation setup problem Hi Subhendu! Found it! :-) http://www.nagios.org/faqs/viewfaq.php?faq_id=17 Will continue to learn nagios! Thanks for the help! and you guys will hear from me soon, i bet. ;) Thanks! eli On 9/2/05, Elizar M. Palad wrote: Hi, Actually, in /usr/local/nagios/etc there are now some *sample files. the resource.cfg that i do use has the @libexec@ and the resource.cfg-sample file has the one set in /usr/local/nagios/libexec, so used that one. When i rerun nagios, i got the Return code of 137 is out of bounds in the webpage and ld.so.1: /usr/local/nagios/libexec/check_ping: fatal: libiconv.so.2: open failed: No such file or directory ing the terminal.. although i have the libiconv.so.2 file in /usr/local/lib I read somewhere that i have to set some variable to the path of the library but i forgot where/what it is? LIB_... something.. :) Thanks! On 9/1/05, Subhendu Ghosh wrote: configure looks good here. In /usr/local/nagios/etc - do you only have one resource.cfg file? or do you have resource.cfg.in as well? you might want to delete every thing in /usr/local/nagios/etc and run "make install-config" again to get the base sample-config -sg On Thu, 1 Sep 2005, Elizar M. Palad wrote: > Hi Subhendu, > I rerun the ./configure... same options and i couldn't find any critical > errors. > I attached the output produced. The only thing that looks like an error is > the gd, which, according to the documentation, nagios will run without it. > > # ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin > --with-htmlurl=/nagios --with-nagios-user=na > gios --with-nagios-groupp=nagios --with-gd-lib=/usr/local/lib > checking for a BSD compatible install... ./install-sh -c > checking host system type... sparc-sun-solaris2.6 > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking whether make sets ${MAKE}... yes > checking for strip... /usr/ccs/bin/strip > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking whether time.h and sys/time.h may both be included... yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking for arpa/inet.h... yes > checking for ctype.h... yes > checking for dirent.h.. . yes > checking for errno.h... yes > checking for fcntl.h... yes > checking for getopt.h... no > checking for grp.h... yes > checking for limits.h... yes > checking for math.h... yes > checking for netdb.h... yes > checking for netinet/in.h... yes > checking for pthread.h... yes > checking for pthreads.h... no > checking for pwd.h... yes > checking for regex.h... yes > checking for signal.h... yes > checking for socket.h... no > checking for string.h... yes > checking for strings.h... yes > checking for sys/mman.h... yes > checking for sys/types.h... yes > checking for sys/time.h... yes > checking for sys/resource.h... yes > checking for sys/wait.h... (cached) yes > checking for sys/socket.h... yes > checking for sys/stat.h... yes > checking for sys/timeb.h... yes > checking for sys/un.h... yes > checking for sys/ipc.h... yes > checking for sys/msg.h... yes > checking for sys/poll.h... yes > checking for syslog.h... yes > checking for uio.h... no > checking for unistd.h... yes > checking for working const... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for tm_zone in struct tm... no > checking for tzname... yes > checking for mode_t... yes > checking for pid_t... yes > checking for size_t... yes > checking return type of signal handlers... void > checking for uid_t in sys/types.h... yes > checking type of array argument to getgroups... gid_t > checking for initgroups... yes > checking for setenv... no > checking for strdup... yes > checking for strstr... yes > checking for strtoul... yes > checking for unsetenv... no > checking for type of socket size... size_t > checking for pthread_create in -lcma... no > checking for pthread_create in -lpthread... yes > checking for library containing nanosleep... -lposix4 > checking for mail... /usr/bin/mail > Init script directory: /etc/init.d > We'll use default routines (in xdata/xsddefault.*) for status data I/O... > We'll use default routines (in xdata/xcddefault.*) for comment data I/O... > We'll use default routines (in xdata/xrddefault.*) for retention data I/O... > We'll use template-based routines (in xdata/xodtemplate.*) for object data > I/O... > We'll use default routines (in xdata/xpddefault.*) for performance data > I/O... > We'll use default routines (in xdata/xdddefault.*) for scheduled downtime > data I/O... > checking for main in -liconv... yes > checking for gdImagePng in -lgd (order 1)... no > checking for gdImagePng in -lgd (order 2)... no > checking for gdImagePng in -lgd (order 3)... no > checking for gdImagePng in -lgd (order 4)... no > > > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > Boutell's GD library is required to compile the statusmap, trends > and histogram CGIs. Get it from http://www.boutell.com/gd/, compile > it, and use the --with-gd-lib and --with-gd-inc arguments to specify > the locations of the GD library and include files. > > NOTE: In addition to the gd-devel library, you'll also need to make > sure you have the png-devel and jpeg-devel libraries installed > on your system. > > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the GD, PNG, and JPEG libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make clean' in the Nagios distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > > NOTE: If you can't get the configure script to recognize the GD libs > on your system, get over it and move on to other things. The > CGIs that use the GD libs are just a small part of the entire > Nagios package. Get everything else working first and then > revisit the problem. Make sure to check the nagios-users > mailing list archives for possible solutions to GD library > problems when you resume your troubleshooting. > > ******************************************************************** > > > checking for ltdl.h... no > checking for dlfcn.h.. . yes > checking for dlopen in -ldl... yes > checking for extra flags needed to export symbols... none > checking for linker flags for loadable modules... -G > checking for linker flags for loadable modules... -G > checking for traceroute... no > checking for snprintf... yes > checking for type va_list... yes > checking for perl... /usr/local/bin/perl > creating ./config.status > creating Makefile > creating subst > creating pkginfo > creating base/Makefile > creating common/Makefile > creating contrib/Makefile > creating cgi/Makefile > creating html/Makefile > creating module/Makefile > creating include/Makefile > creating xdata/Makefile > creating daemon-init > creating html/index.html > creating html/side.html > creating include/config.h > include/config.h is unchanged > creating include/snprintf.h > include/snprintf.h is unchanged > creating include/nagios.h > creating include/cgiutils.h > include/cgiutils.h is unchanged > > Creating sample config files in sample-config/ ... > > > *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > General Options: > ------------------------- > Nagios executable: nagios > Nagios user/group: nagios,nagios > Command user/group: nagios,nagios > Embedded Perl: no > Event Broker: yes > Install ${prefix}: /usr/local/nagios > Lock file: ${prefix}/var/nagios.lock > Init directory: /etc/init.d > Host OS: solaris2.6 > > Web Interface Options: > ------------------------ > HTML URL: http://localhost/nagios/ > CGI URL: http://localhost/nagios/cgi-bin/ > Traceroute (used by WAP): > > > Review the options above for accuracy. If they look okay, > type 'make all' to compile the main program and CGIs. > > > On 9/1/05, Subhendu Ghosh < sghosh at sghosh.org> wrote: >> >> On Thu, 1 Sep 2005, Elizar M. Palad wrote: >> >>> Hi! Ok, i rerun configure script after installed perl, seems ok. no >> error >>> and all >>> the .h files are created and there's no more error in make >> install-config (i >>> had one before) >>> i am using the minimal.cfg to test nagios. >>> I started nagios without any options. >>> /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg >>> and it says: >>> sh: @libexecdir@/check_ping: not found >>> sh: @libexecdir@/check_users: not found >>> sh: @libexecdir@/check_procs: not found >>> Is this ok? >> >> No - @libexecdir@ should have been fixed by configure. >> >> For nagios - there should be no errors in the configure process... >> >> >>> The IE page now has an error... >>> It appears as though you do not have permission to view information for >>> any of the hosts you requested... >>> >>> If you believe this is an error, check the HTTP server authentication >>> requirements for accessing this CGI >>> and check the authorization options in your CGI configuration file. >>> I didn't set up any authentication for nagios. Maybe it caused the error >>> above? >>> if it does, how to use nagios without authentication? >>> thanks! >>> >>> >>> On 8/31/05, Subhendu Ghosh wrote: >>>> >>>> >>>> Yes - autoconf which creates configure uses perl :) >>>> >>>> You can either compile your own or sunfreeware.com >> < http://sunfreeware.com>has some nice pkgadd >>>> versions. >>>> >>>> -sg >>>> >>>> >>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: >>>> >>>>> Hi, thanks! >>>>> from ./configure's output: >>>>> >>>>> creating html/index.html >>>>> creating html/side.html >>>>> creating include/config.h >>>>> creating include/snprintf.h >>>>> creating include/nagios.h >>>>> creating include/cgiutils.h >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> >>>>> Creating sample config files in sample-config/ ... >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> ./configure: perl: not found >>>>> >>>>> >>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: >>>>> >>>>> General Options: >>>>> ------------------------- >>>>> Nagios executable: nagios >>>>> Nagios user/group: nagios,nagios >>>>> Command user/group: nagios,nagios >>>>> Embedded Perl: no >>>>> Event Broker: yes >>>>> Install ${prefix}: /usr/local/nagios >>>>> Lock file: ${prefix}/var/nagios.lock >>>>> Init directory: /etc/init.d >>>>> Host OS: solaris2.6 >>>>> .... >>>>> Im going to install now perl and see if it will create the >> location.hfile. >>>>> Thanks! >>>>> eli >>>>> >>>>> On 8/31/05, Subhendu Ghosh wrote: >>>>>> >>>>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: >>>>>> >>>>>>> I rerun ./configure --prefix=/usr/local/nagios >>>>>> --with-cgiurl=/nagios/cgi-bin >>>>>>> --with-htmlurl=/nagios --with-nagios-user=nagios >>>>>> --with-nagios-groupp=nagios >>>>>>> --with-gd-lib=/usr/local/lib >>>>>>> and summary is below: >>>>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: >>>>>>> >>>>>>> General Options: >>>>>>> ------------------------- >>>>>>> Nagios executable: nagios >>>>>>> Nagios user/group: nagios,nagios >>>>>>> Command user/group: nagios,nagios >>>>>>> Embedded Perl: no >>>>>>> Event Broker: yes >>>>>>> Install ${prefix}: /usr/local/nagios >>>>>>> Lock file: ${prefix}/var/nagios.lock >>>>>>> Init directory: /etc/init.d >>>>>>> Host OS: solaris2.6 >>>>>>> >>>>>>> Web Interface Options: >>>>>>> ------------------------ >>>>>>> HTML URL: http://localhost/nagios/ >>>>>>> CGI URL: http://localhost/nagios/cgi-bin/ >>>>>>> Traceroute (used by WAP): >>>>>>> >>>>>>> >>>>>>> Review the options above for accuracy. If they look okay, >>>>>>> type 'make all' to compile the main program and CGIs. >>>>>>> ------------------ >>>>>>> Looks ok isn't it? >>>>>>> then when i do 'make all', i have this error: >>>>>>> # make all >>>>>>> cd ./base && make >>>>>>> make: Fatal error: Don't know how to make target >>>>>> `../include/locations.h' >>>>>>> Current working directory /packages/nagios-2.0b4/base >>>>>>> *** Error code 1 >>>>>>> make: Fatal error: Command failed for target `all' >>>>>>> This is also my second time with this error. What I did was i copy >>>>>>> locations.h.in < http://locations.h.in> < >> http://locations.h.in> < >>>> http://locations.h.in> as >>>>>> locations.h :-) >>>>>>> and the compilation continues.. (was that not right? :) >>>>>>> thanks! >>>>>> >>>>>> >>>>>> NOOOOO - configure must have produced an error before the summary was >>>>>> printed. >>>>>> >>>>>> configure should create a locations.h from locations.h.in< http://locations.h.in> >> < http://locations.h.in> >>>> < http://locations.h.in>after >>>>>> appropriate substitutions. >>>>>> >>>>>> If the file is not being created properly - you may have a file >>>> permission >>>>>> issue. >>>>>> >>>>>> run "chown -R user:group nagios_src_dir/" >>>>>> >>>>>> replace the user and group with the user and group info fort he >> person >>>>>> running configure >>>>>> >>>>>> replace nagios_src_dir with the dir that contains the nagios src. >>>>>> >>>>>> Never copy a *.*.in file into a *.* file. >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> -sg >>>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> -- >>>> >>>> >>> >>> >>> >> >> -- >> >> >> >> ------------------------------------------------------- >> SF.Net email is Sponsored by the Better Software Conference & EXPO >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle >> Practices >> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elizar.palad at gmail.com Fri Sep 2 02:58:23 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Fri, 2 Sep 2005 08:58:23 +0800 Subject: @sysconfdir@/cgi.cfg - Installation setup problem In-Reply-To: <001b01c5af59$02c45aa0$0d7810ac@wgbh.org> References: <001b01c5af59$02c45aa0$0d7810ac@wgbh.org> Message-ID: Hi Todd, Thanks for the tip! Will try. Eli On 9/2/05, Todd Barbera wrote: > > Hi Eli, > You can actually use crle to set your library path instead of having to > set an environment variable. It seems to work pretty well on my Solaris > systems. Ex: > crle -l /usr/lib:/usr/ccs/lib:/usr/local/lib:/usr/local/ssl/lib > Todd > > ----- Original Message ----- > *From:* Elizar M. Palad > *To:* Subhendu Ghosh > *Cc:* nagios-users at lists.sourceforge.net > *Sent:* Thursday, September 01, 2005 7:46 PM > *Subject:* Re: [Nagios-users] @sysconfdir@/cgi.cfg - Installation setup > problem > > Hi Subhendu! > Found it! :-) > http://www.nagios.org/faqs/viewfaq.php?faq_id=17 > Will continue to learn nagios! > Thanks for the help! > and you guys will hear from me soon, i bet. ;) > Thanks! > eli > > On 9/2/05, Elizar M. Palad wrote: > > > > Hi, > > Actually, in /usr/local/nagios/etc there are now some *sample files. > > the resource.cfg that i do use has the @libexec@ and the > > resource.cfg-sample > > file has the one set in /usr/local/nagios/libexec, so used that one. > > When i rerun nagios, i got the > > Return code of 137 is out of bounds > > in the webpage and > > ld.so.1: /usr/local/nagios/libexec/check_ping: fatal: libiconv.so.2: > > open failed: No such file or directory > > ing the terminal.. > > although i have the libiconv.so.2 file in /usr/local/lib > > I read somewhere that i have to set some variable to the path > > of the library but i forgot where/what it is? LIB_... something.. :) > > Thanks! > > > > On 9/1/05, Subhendu Ghosh wrote: > > > > > > configure looks good here. > > > > > > In /usr/local/nagios/etc - do you only have one resource.cfg file? or > > > do > > > you have resource.cfg.in as well? > > > > > > you might want to delete every thing in /usr/local/nagios/etc and run > > > "make install-config" again to get the base sample-config > > > > > > -sg > > > > > > On Thu, 1 Sep 2005, Elizar M. Palad wrote: > > > > > > > Hi Subhendu, > > > > I rerun the ./configure... same options and i couldn't find any > > > critical > > > > errors. > > > > I attached the output produced. The only thing that looks like an > > > error is > > > > the gd, which, according to the documentation, nagios will run > > > without it. > > > > > > > > # ./configure --prefix=/usr/local/nagios > > > --with-cgiurl=/nagios/cgi-bin > > > > --with-htmlurl=/nagios --with-nagios-user=na > > > > gios --with-nagios-groupp=nagios --with-gd-lib=/usr/local/lib > > > > checking for a BSD compatible install... ./install-sh -c > > > > checking host system type... sparc-sun-solaris2.6 > > > > checking for gcc... gcc > > > > checking whether the C compiler (gcc ) works... yes > > > > checking whether the C compiler (gcc ) is a cross-compiler... no > > > > checking whether we are using GNU C... yes > > > > checking whether gcc accepts -g... yes > > > > checking whether make sets ${MAKE}... yes > > > > checking for strip... /usr/ccs/bin/strip > > > > checking how to run the C preprocessor... gcc -E > > > > checking for ANSI C header files... yes > > > > checking whether time.h and sys/time.h may both be included... yes > > > > checking for sys/wait.h that is POSIX.1 compatible... yes > > > > checking for arpa/inet.h... yes > > > > checking for ctype.h... yes > > > > checking for dirent.h.. . yes > > > > checking for errno.h... yes > > > > checking for fcntl.h... yes > > > > checking for getopt.h... no > > > > checking for grp.h... yes > > > > checking for limits.h... yes > > > > checking for math.h... yes > > > > checking for netdb.h... yes > > > > checking for netinet/in.h... yes > > > > checking for pthread.h... yes > > > > checking for pthreads.h... no > > > > checking for pwd.h... yes > > > > checking for regex.h... yes > > > > checking for signal.h... yes > > > > checking for socket.h... no > > > > checking for string.h... yes > > > > checking for strings.h... yes > > > > checking for sys/mman.h... yes > > > > checking for sys/types.h... yes > > > > checking for sys/time.h... yes > > > > checking for sys/resource.h... yes > > > > checking for sys/wait.h... (cached) yes > > > > checking for sys/socket.h... yes > > > > checking for sys/stat.h... yes > > > > checking for sys/timeb.h... yes > > > > checking for sys/un.h... yes > > > > checking for sys/ipc.h... yes > > > > checking for sys/msg.h... yes > > > > checking for sys/poll.h... yes > > > > checking for syslog.h... yes > > > > checking for uio.h... no > > > > checking for unistd.h... yes > > > > checking for working const... yes > > > > checking whether struct tm is in sys/time.h or time.h... time.h > > > > checking for tm_zone in struct tm... no > > > > checking for tzname... yes > > > > checking for mode_t... yes > > > > checking for pid_t... yes > > > > checking for size_t... yes > > > > checking return type of signal handlers... void > > > > checking for uid_t in sys/types.h... yes > > > > checking type of array argument to getgroups... gid_t > > > > checking for initgroups... yes > > > > checking for setenv... no > > > > checking for strdup... yes > > > > checking for strstr... yes > > > > checking for strtoul... yes > > > > checking for unsetenv... no > > > > checking for type of socket size... size_t > > > > checking for pthread_create in -lcma... no > > > > checking for pthread_create in -lpthread... yes > > > > checking for library containing nanosleep... -lposix4 > > > > checking for mail... /usr/bin/mail > > > > Init script directory: /etc/init.d > > > > We'll use default routines (in xdata/xsddefault.*) for status data > > > I/O... > > > > We'll use default routines (in xdata/xcddefault.*) for comment data > > > I/O... > > > > We'll use default routines (in xdata/xrddefault.*) for retention > > > data I/O... > > > > We'll use template-based routines (in xdata/xodtemplate.*) for > > > object data > > > > I/O... > > > > We'll use default routines (in xdata/xpddefault.*) for performance > > > data > > > > I/O... > > > > We'll use default routines (in xdata/xdddefault.*) for scheduled > > > downtime > > > > data I/O... > > > > checking for main in -liconv... yes > > > > checking for gdImagePng in -lgd (order 1)... no > > > > checking for gdImagePng in -lgd (order 2)... no > > > > checking for gdImagePng in -lgd (order 3)... no > > > > checking for gdImagePng in -lgd (order 4)... no > > > > > > > > > > > > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > > > > > > > Boutell's GD library is required to compile the statusmap, trends > > > > and histogram CGIs. Get it from http://www.boutell.com/gd/, compile > > > > it, and use the --with-gd-lib and --with-gd-inc arguments to specify > > > > > > > the locations of the GD library and include files. > > > > > > > > NOTE: In addition to the gd-devel library, you'll also need to make > > > > sure you have the png-devel and jpeg-devel libraries installed > > > > on your system. > > > > > > > > NOTE: After you install the necessary libraries on your system: > > > > 1. Make sure /etc/ld.so.conf has an entry for the directory in > > > > which the GD, PNG, and JPEG libraries are installed. > > > > 2. Run 'ldconfig' to update the run-time linker options. > > > > 3. Run 'make clean' in the Nagios distribution to clean out > > > > any old references to your previous compile. > > > > 4. Rerun the configure script. > > > > > > > > NOTE: If you can't get the configure script to recognize the GD libs > > > > > > > on your system, get over it and move on to other things. The > > > > CGIs that use the GD libs are just a small part of the entire > > > > Nagios package. Get everything else working first and then > > > > revisit the problem. Make sure to check the nagios-users > > > > mailing list archives for possible solutions to GD library > > > > problems when you resume your troubleshooting. > > > > > > > > ******************************************************************** > > > > > > > > > > > > checking for ltdl.h... no > > > > checking for dlfcn.h.. . yes > > > > checking for dlopen in -ldl... yes > > > > checking for extra flags needed to export symbols... none > > > > checking for linker flags for loadable modules... -G > > > > checking for linker flags for loadable modules... -G > > > > checking for traceroute... no > > > > checking for snprintf... yes > > > > checking for type va_list... yes > > > > checking for perl... /usr/local/bin/perl > > > > creating ./config.status > > > > creating Makefile > > > > creating subst > > > > creating pkginfo > > > > creating base/Makefile > > > > creating common/Makefile > > > > creating contrib/Makefile > > > > creating cgi/Makefile > > > > creating html/Makefile > > > > creating module/Makefile > > > > creating include/Makefile > > > > creating xdata/Makefile > > > > creating daemon-init > > > > creating html/index.html > > > > creating html/side.html > > > > creating include/config.h > > > > include/config.h is unchanged > > > > creating include/snprintf.h > > > > include/snprintf.h is unchanged > > > > creating include/nagios.h > > > > creating include/cgiutils.h > > > > include/cgiutils.h is unchanged > > > > > > > > Creating sample config files in sample-config/ ... > > > > > > > > > > > > *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > > > > > > > General Options: > > > > ------------------------- > > > > Nagios executable: nagios > > > > Nagios user/group: nagios,nagios > > > > Command user/group: nagios,nagios > > > > Embedded Perl: no > > > > Event Broker: yes > > > > Install ${prefix}: /usr/local/nagios > > > > Lock file: ${prefix}/var/nagios.lock > > > > Init directory: /etc/init.d > > > > Host OS: solaris2.6 > > > > > > > > Web Interface Options: > > > > ------------------------ > > > > HTML URL: http://localhost/nagios/ > > > > CGI URL: http://localhost/nagios/cgi-bin/ > > > > Traceroute (used by WAP): > > > > > > > > > > > > Review the options above for accuracy. If they look okay, > > > > type 'make all' to compile the main program and CGIs. > > > > > > > > > > > > On 9/1/05, Subhendu Ghosh < sghosh at sghosh.org> wrote: > > > >> > > > >> On Thu, 1 Sep 2005, Elizar M. Palad wrote: > > > >> > > > >>> Hi! Ok, i rerun configure script after installed perl, seems ok. > > > no > > > >> error > > > >>> and all > > > >>> the .h files are created and there's no more error in make > > > >> install-config (i > > > >>> had one before) > > > >>> i am using the minimal.cfg to test nagios. > > > >>> I started nagios without any options. > > > >>> /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg > > > >>> and it says: > > > >>> sh: @libexecdir@/check_ping: not found > > > >>> sh: @libexecdir@/check_users: not found > > > >>> sh: @libexecdir@/check_procs: not found > > > >>> Is this ok? > > > >> > > > >> No - @libexecdir@ should have been fixed by configure. > > > >> > > > >> For nagios - there should be no errors in the configure process... > > > >> > > > >> > > > >>> The IE page now has an error... > > > >>> It appears as though you do not have permission to view > > > information for > > > >>> any of the hosts you requested... > > > >>> > > > >>> If you believe this is an error, check the HTTP server > > > authentication > > > >>> requirements for accessing this CGI > > > >>> and check the authorization options in your CGI configuration > > > file. > > > >>> I didn't set up any authentication for nagios. Maybe it caused the > > > error > > > >>> above? > > > >>> if it does, how to use nagios without authentication? > > > >>> thanks! > > > >>> > > > >>> > > > >>> On 8/31/05, Subhendu Ghosh wrote: > > > >>>> > > > >>>> > > > >>>> Yes - autoconf which creates configure uses perl :) > > > >>>> > > > >>>> You can either compile your own or sunfreeware.com > > > > > > >> < http://sunfreeware.com>has some nice pkgadd > > > >>>> versions. > > > >>>> > > > >>>> -sg > > > >>>> > > > >>>> > > > >>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: > > > >>>> > > > >>>>> Hi, thanks! > > > >>>>> from ./configure's output: > > > >>>>> > > > >>>>> creating html/index.html > > > >>>>> creating html/side.html > > > >>>>> creating include/config.h > > > >>>>> creating include/snprintf.h > > > >>>>> creating include/nagios.h > > > >>>>> creating include/cgiutils.h > > > >>>>> ./configure: perl: not found > > > >>>>> ./configure: perl: not found > > > >>>>> > > > >>>>> Creating sample config files in sample-config/ ... > > > >>>>> ./configure: perl: not found > > > >>>>> ./configure: perl: not found > > > >>>>> ./configure: perl: not found > > > >>>>> ./configure: perl: not found > > > >>>>> ./configure: perl: not found > > > >>>>> ./configure: perl: not found > > > >>>>> ./configure: perl: not found > > > >>>>> ./configure: perl: not found > > > >>>>> > > > >>>>> > > > >>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > > >>>>> > > > >>>>> General Options: > > > >>>>> ------------------------- > > > >>>>> Nagios executable: nagios > > > >>>>> Nagios user/group: nagios,nagios > > > >>>>> Command user/group: nagios,nagios > > > >>>>> Embedded Perl: no > > > >>>>> Event Broker: yes > > > >>>>> Install ${prefix}: /usr/local/nagios > > > >>>>> Lock file: ${prefix}/var/nagios.lock > > > >>>>> Init directory: /etc/init.d > > > >>>>> Host OS: solaris2.6 > > > >>>>> .... > > > >>>>> Im going to install now perl and see if it will create the > > > >> location.hfile. > > > >>>>> Thanks! > > > >>>>> eli > > > >>>>> > > > >>>>> On 8/31/05, Subhendu Ghosh wrote: > > > >>>>>> > > > >>>>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote: > > > >>>>>> > > > >>>>>>> I rerun ./configure --prefix=/usr/local/nagios > > > >>>>>> --with-cgiurl=/nagios/cgi-bin > > > >>>>>>> --with-htmlurl=/nagios --with-nagios-user=nagios > > > >>>>>> --with-nagios-groupp=nagios > > > >>>>>>> --with-gd-lib=/usr/local/lib > > > >>>>>>> and summary is below: > > > >>>>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***: > > > >>>>>>> > > > >>>>>>> General Options: > > > >>>>>>> ------------------------- > > > >>>>>>> Nagios executable: nagios > > > >>>>>>> Nagios user/group: nagios,nagios > > > >>>>>>> Command user/group: nagios,nagios > > > >>>>>>> Embedded Perl: no > > > >>>>>>> Event Broker: yes > > > >>>>>>> Install ${prefix}: /usr/local/nagios > > > >>>>>>> Lock file: ${prefix}/var/nagios.lock > > > >>>>>>> Init directory: /etc/init.d > > > >>>>>>> Host OS: solaris2.6 > > > >>>>>>> > > > >>>>>>> Web Interface Options: > > > >>>>>>> ------------------------ > > > >>>>>>> HTML URL: http://localhost/nagios/ > > > >>>>>>> CGI URL: http://localhost/nagios/cgi-bin/ > > > >>>>>>> Traceroute (used by WAP): > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> Review the options above for accuracy. If they look okay, > > > >>>>>>> type 'make all' to compile the main program and CGIs. > > > >>>>>>> ------------------ > > > >>>>>>> Looks ok isn't it? > > > >>>>>>> then when i do 'make all', i have this error: > > > >>>>>>> # make all > > > >>>>>>> cd ./base && make > > > >>>>>>> make: Fatal error: Don't know how to make target > > > >>>>>> `../include/locations.h' > > > >>>>>>> Current working directory /packages/nagios-2.0b4/base > > > >>>>>>> *** Error code 1 > > > >>>>>>> make: Fatal error: Command failed for target `all' > > > >>>>>>> This is also my second time with this error. What I did was i > > > copy > > > >>>>>>> locations.h.in > > > < http://locations.h.in> < > > > >> http://locations.h.in> < > > > >>>> http://locations.h.in> as > > > >>>>>> locations.h :-) > > > >>>>>>> and the compilation continues.. (was that not right? :) > > > >>>>>>> thanks! > > > >>>>>> > > > >>>>>> > > > >>>>>> NOOOOO - configure must have produced an error before the > > > summary was > > > >>>>>> printed. > > > >>>>>> > > > >>>>>> configure should create a locations.h from locations.h.in > > > < http://locations.h.in> > > > >> < http://locations.h.in> > > > >>>> < http://locations.h.in>after > > > >>>>>> appropriate substitutions. > > > >>>>>> > > > >>>>>> If the file is not being created properly - you may have a file > > > >>>> permission > > > >>>>>> issue. > > > >>>>>> > > > >>>>>> run "chown -R user:group nagios_src_dir/" > > > >>>>>> > > > >>>>>> replace the user and group with the user and group info fort he > > > > > > >> person > > > >>>>>> running configure > > > >>>>>> > > > >>>>>> replace nagios_src_dir with the dir that contains the nagios > > > src. > > > >>>>>> > > > >>>>>> Never copy a *.*.in file into a *.* file. > > > >>>>>> > > > >>>>>> > > > >>>>>> > > > >>>>>> -- > > > >>>>>> > > > >>>>>> -sg > > > >>>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>> > > > >>>> -- > > > >>>> > > > >>>> > > > >>> > > > >>> > > > >>> > > > >> > > > >> -- > > > >> > > > >> > > > >> > > > >> ------------------------------------------------------- > > > >> SF.Net email is Sponsored by the Better Software Conference & EXPO > > > >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > > >> Practices > > > >> Agile & Plan-Driven Development * Managing Projects & Teams * > > > Testing & QA > > > >> Security * Process Improvement & Measurement * > > > http://www.sqe.com/bsce5sf > > > >> _______________________________________________ > > > >> Nagios-users mailing list > > > >> Nagios-users at lists.sourceforge.net > > > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > > > >> ::: Please include Nagios version, plugin version (-v) and OS when > > > >> reporting any issue. > > > >> ::: Messages without supporting info will risk being sent to > > > /dev/null > > > >> > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > -- > > ---- > > Don't Tell Me How Hard You Work.. > > Show Me How Much You'd Accomplished.. > > > > > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Fri Sep 2 09:38:53 2005 From: m.borsani at it.net (Marco Borsani) Date: Fri, 2 Sep 2005 09:38:53 +0200 Subject: R: Ranges for check_snmp In-Reply-To: References: Message-ID: 1) Do you install any pathces regarding check_snmp ? 2) Reading the check_snmp help I see that "," (comma) is used to separate ranges for differents OIDs. In your example I see only one OID...Is it correct? My check_snmp version is "(nagios-plugins 1.3.1) 1.24.2.2" Regards Marco -}-----Messaggio originale----- -}Da: Justin Shore [mailto:justin.shore at sktbcs.com] -}Inviato: giovedi 1 settembre 2005 17.49 -}A: Marco Borsani; NAGIOS -}Oggetto: RE: [Nagios-users] Ranges for check_snmp -} -} -}Here is what I'm using to check temp on a Cisco 6509. The syntax -}should be applicable in your scenario. -} -}check_command -}check_snmp!1.3.6.1.4.1.9.9.91.1.1.1.1.4.4001!COMMUNITY-STRING!27,30!30,150 -} -}My check_snmp is defined as: -} -}# 'check_snmp' command definition -}define command{ -} command_name check_snmp -} command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o -}$ARG1$ -C $ARG2$ -w $ARG3$ -c $ARG4$ -} } -} -}This translates into: -} -}check_snmp -H $HOSTADDRESS -o 1.3.6.1.4.1.9.9.91.1.1.1.1.4.4001 -}-C COMMUNITY-STRING -w 27,30 -c 30,150 -} -}Justin -} -} -}> -----Original Message----- -}> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- -}> admin at lists.sourceforge.net] On Behalf Of Marco Borsani -}> Sent: Thursday, September 01, 2005 3:42 AM -}> To: NAGIOS -}> Subject: [Nagios-users] Ranges for check_snmp -}> Importance: High -}> -}> Hi all ! -}> -}> I'd like to check some metrics on my firewall, like CPU but -}when I try to -}> set the ranges for warning and critical values I receive "strange" -}> answers. -}> -}> ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 -}-C public -}> SNMP WARNING - 9 -}> -}> ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 -}-C public -}> -w -}> 15:24 -c 25:100 -}> SNMP CRITICAL - *7* -}> -}> Why? What's my fault ? -}> -}> I need to receive a Warning over 15% and a Critical over 25%. -}> -}> Regards -}> -}> Marco Borsani -}> Unix & Monitoring System Administrator -}> Technical Operation -}> Tel. +39 010 4310115 -}> Fax +39 010 4327454 -}> E-mail: m.borsani at IT.net -}> -}> ITnet S.r.l. - Direzione e Coordinamento di WIND -}Telecomunicazioni S.p.A. -}> Internet Service Provider -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 -}> 16151 Genova (Italy) -}> -}> http://www.it.net -}> mailto:info at IT.net -}> _______________________________________________________________ -}> Altre sedi ITnet: -}> MILANO tel.: +39 02 30114900 info-milano at IT.net -}> ROMA tel.: +39 06 83116707 info-roma at IT.net -}> _______________________________________________________________ -}> ITnet is associated to CIX (Commercial IP eXchange) and RIPE -}> ITnet is associated to AIIP (Associazione Italiana Internet Providers) -}> -}> -}> -}> -}> ------------------------------------------------------- -}> SF.Net email is Sponsored by the Better Software Conference & EXPO -}> September 19-22, 2005 * San Francisco, CA * Development Lifecycle -}> Practices -}> Agile & Plan-Driven Development * Managing Projects & Teams * -}Testing & QA -}> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005 > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Fri Sep 2 17:12:42 2005 From: RLAdams at Kelsey-Seybold.com (Adams, Russell L.) Date: Fri, 2 Sep 2005 10:12:42 -0500 Subject: fork errors In-Reply-To: <8ee0610105090111133989e4e1@mail.gmail.com> References: <8ee0610105090111133989e4e1@mail.gmail.com> Message-ID: <20050902151241.GA28870@pingu.ksnet.com> What distro? I had issues on Debian Woody with fork errors, and had to update some values which improved the situation but never actually fixed it. In sysctl.conf: kernel/threads-max = 100000 In /etc/security/limits: root soft nproc 1024 nagios soft nproc 1024 root hard nproc 2048 nagios hard nproc 2048 This kernel threads value helped, but there seems that there's another value hardcoded into the kernel that can only be changed via recompile. I can't remember what value that was, but it was set way too low in the default 2.4 kernel from Debian for Woody. I've been meaning to see what happens with Sarge. Russell On Thu, Sep 01, 2005 at 01:13:20PM -0500, Terry wrote: > Hello, > > I have been having this issue for quite some time. For some unknown > reason, nagios stops performing checks with these errors: > > [1125536952] Warning: The check of service 'PING' on host 'hostname' > could not be performed due to a fork() error. The check will be > rescheduled. > > All checks fail like this until nagios is restarted. When this > problem is occuring I can run the service checks manually both as the > nagios user and as the root user. There are no resource problems that > I can see at the time. We do not appear to be hitting a limit with > open files or anything like that either. The nagios mirrors the root > user in that area. > > What could be wrong? > > Thanks! > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthias.Eble at kaufland.de Fri Sep 2 17:04:41 2005 From: Matthias.Eble at kaufland.de (Matthias.Eble at kaufland.de) Date: Fri, 2 Sep 2005 17:04:41 +0200 Subject: Nagios - J2EE server [Virus checked] In-Reply-To: References: Message-ID: > Hi All, > > Is there a plug-in available to check the health of application server (Web > Logic or any App Server) instance? > Hi, we're currently monitoring just the http availability of our jboss servers. JBoss includes a small java Program called twiddle (in the bin directory) to read Values from JMX (eg Tomcat ActiveThreads, MaxThreads or JDBC Poolsize/AvailableConnections). It could be called/wrapped, but I guess calling a jvm for every check wouldn't be that clever. Is it less performance consuming to parse the html output of the jmx console? matthias ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Sep 2 16:41:14 2005 From: td3201 at gmail.com (Terry) Date: Fri, 2 Sep 2005 09:41:14 -0500 Subject: fork errors In-Reply-To: <20050901233155.96884.qmail@web31915.mail.mud.yahoo.com> References: <8ee0610105090111133989e4e1@mail.gmail.com> <20050901233155.96884.qmail@web31915.mail.mud.yahoo.com> Message-ID: <8ee0610105090207415fef2316@mail.gmail.com> I have a program that checks the logs by the minute and pages when the fork errors occur, so we are responding within minutes. I have looked at the resources every time it happens and we have plenty of resources. Is there a single plugin I can put into debugging mode so that when this happens I get more information as to why it is giving these errors? Here are a few facts: - the system is fine with memory all the time, never runs out (resident/paging) - there are not an unusual amount of processes running, maybe around 200 at a time, but no where near the ulimit setting - ulimit for the 'nagios' user matches that of root (unlimited). here is the ulimit: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) 4 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 7168 virtual memory (kbytes, -v) unlimited Thanks, Terry On 9/1/05, Fred wrote: > My guess would be to look at your resource utilization on your system, > most likely causes for fork() to fail are no more process slots, out of > memory, or past some kind of per-user (non-root) limit. When this > occurs look at your system logs, ps output and see if you have *lots* > of processes hanging around. It could be that nagios has stopped reaping > its children (or another unrelated process has sucked up the resources) > and you have simply pushed your system to the edge. It might be that you > get to that situation and it backs off before you even notice it and you > are left with nagios having problems dealing with the aftermath. > > -FredC > > --- Terry wrote: > > > Hello, > > > > I have been having this issue for quite some time. For some unknown > > reason, nagios stops performing checks with these errors: > > > > [1125536952] Warning: The check of service 'PING' on host 'hostname' > > could not be performed due to a fork() error. The check will be > > rescheduled. > > > > All checks fail like this until nagios is restarted. When this > > problem is occuring I can run the service checks manually both as the > > nagios user and as the root user. There are no resource problems that > > I can see at the time. We do not appear to be hitting a limit with > > open files or anything like that either. The nagios mirrors the root > > user in that area. > > > > What could be wrong? > > > > Thanks! > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Sep 2 17:28:03 2005 From: td3201 at gmail.com (Terry) Date: Fri, 2 Sep 2005 10:28:03 -0500 Subject: fork errors In-Reply-To: <20050902151241.GA28870@pingu.ksnet.com> References: <8ee0610105090111133989e4e1@mail.gmail.com> <20050902151241.GA28870@pingu.ksnet.com> Message-ID: <8ee0610105090208282bbe40f1@mail.gmail.com> This is RHEL 3. On 9/2/05, Adams, Russell L. wrote: > What distro? > > I had issues on Debian Woody with fork errors, and had to update some > values which improved the situation but never actually fixed it. > > In sysctl.conf: > > kernel/threads-max = 100000 > > In /etc/security/limits: > > root soft nproc 1024 > nagios soft nproc 1024 > root hard nproc 2048 > nagios hard nproc 2048 > > This kernel threads value helped, but there seems that there's another > value hardcoded into the kernel that can only be changed via > recompile. I can't remember what value that was, but it was set way > too low in the default 2.4 kernel from Debian for Woody. > > I've been meaning to see what happens with Sarge. > > Russell > > > On Thu, Sep 01, 2005 at 01:13:20PM -0500, Terry wrote: > > Hello, > > > > I have been having this issue for quite some time. For some unknown > > reason, nagios stops performing checks with these errors: > > > > [1125536952] Warning: The check of service 'PING' on host 'hostname' > > could not be performed due to a fork() error. The check will be > > rescheduled. > > > > All checks fail like this until nagios is restarted. When this > > problem is occuring I can run the service checks manually both as the > > nagios user and as the root user. There are no resource problems that > > I can see at the time. We do not appear to be hitting a limit with > > open files or anything like that either. The nagios mirrors the root > > user in that area. > > > > What could be wrong? > > > > Thanks! > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Fri Sep 2 16:41:45 2005 From: robmossrm at aol.com (Rob Moss) Date: Fri, 02 Sep 2005 15:41:45 +0100 Subject: statusmap icons In-Reply-To: References: <99CF04974931C548B2BF20CD898FCBA7AF4643@uscpgmedexch01.medassets.com> Message-ID: <431864A9.1090806@aol.com> See below for example. Subhendu Ghosh wrote: > On Thu, 1 Sep 2005, Gonzales, Youn wrote: > >> The GD2 images work on the statusmap, but do not work on the popup, so >> it looks like I can either have the image on the map or the image on the >> popup, but not both. > > >> From docs: > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo > > define hostextinfo{ > host_name host_name > notes note_string > notes_url url > action_url url > icon_image image_file > icon_image_alt alt_string > vrml_image image_file > statusmap_image image_file > 2d_coords x_coord,y_coord > 3d_coords x_coord,y_coord,z_coord > } > > Note: > icon_image/vrml_image - should be png/gif/jpg > statusmap_image - should be gd2 > Here is a working example /usr/local/nagios/etc/hostextinfo.cfg: define hostextinfo{ host_name freebsd.somewhere.com notes frizzee bizzee icon_image freebsd40.png icon_image_alt FreeBSD 5.4 vrml_image freebsd40.png statusmap_image freebsd40.gd2 2d_coords 1000,2500 3d_coords 100.0,50.0,75.0 } The logo icon pack is installed in /usr/local/nagios/share/images/logos rmoss at freebsd [/usr/local/nagios/share/images/logos]$ ls -la *freebsd* -rw-r--r-- 1 500 500 1455 Sep 23 2001 freebsd40.gd2 -rw-r--r-- 1 500 500 1491 Sep 23 2001 freebsd40.gif -rw-r--r-- 1 500 500 1697 Sep 23 2001 freebsd40.jpg -rw-r--r-- 1 500 500 1627 Sep 23 2001 freebsd40.png Cheers rob. >> >> -----Original Message----- >> From: Arno Lehmann [mailto:al at its-lehmann.de] >> Sent: Thursday, September 01, 2005 4:23 PM >> To: Gonzales, Youn >> Cc: NAGIOS >> Subject: Re: [Nagios-users] statusmap icons >> >> Hi, >> >> Gonzales, Youn wrote: >> >>> I am not able to view gd2 images in internet explorer. Is there a >> >> plugin >> >>> or something I need to install? >> >> >> No, you don't view them directly. They are used by libgd to create the >> statusmap image. >> >> You can simply convert one of your gifs to a gd2 format image, modify >> the configuration concerning hostextinfo to use the gd image, and see >> what happens. See the manual secion on extended information >> configuration for details, but note that my experience was that only gd >> images worked. I never tried to determine if that was a configuration >> error, an incorrect manual description, or anything else. >> >> With Nagios 1.2 and 2.0b3, by the way. >> >> Arno >> >>> -----Original Message----- >>> From: Arno Lehmann [mailto:al at its-lehmann.de] >>> Sent: Thursday, September 01, 2005 3:30 PM >>> To: Gonzales, Youn >>> Cc: NAGIOS >>> Subject: Re: [Nagios-users] statusmap icons >>> >>> Hi, >>> >>> Gonzales, Youn wrote: >>> >>> >>>> I am running 2.0b4 on Fedora 4. I can't seem to get the statusmap >>> >>> >>> icons >>> >>>> to work properly. >>>> >>>> define hostextinfo{ >>>> host_name uscpgls1010 >>>> icon_image network_switch.gif >>>> statusmap_image network_switch.gif >>>> } >>>> >>>> The icons show up in the status views - ie host detail - and when I >>>> float over the device on the statusmap the icons are in the top left >>>> corner of the popup. But, the icons on the status map are all the >>>> unknown.gif icons. >>>> >>>> I can browse all of the icons, so it is not an apache or permissions >>>> issue. Any suggestions? >>> >>> >>> >>> Yes, try using gd2 images. his worked here, I don't know what the >> >> manual >> >>> >>> has to say... >>> >>> Arno >>> > -- Rob Moss Unix Systems Admin Hosting & DB Operations Hammersmith, London, UK ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naguser at bhodisoft.com Fri Sep 2 19:24:06 2005 From: naguser at bhodisoft.com (naguser at bhodisoft.com) Date: Fri, 2 Sep 2005 10:24:06 -0700 (PDT) Subject: question about service dependencies on the same host Message-ID: <59635.209.74.96.17.1125681846.squirrel@www.robinsoncomputerservice.com> I'm running a number of checks that use the netsaint client extension. When that client fails, then we get notifications on all of the service checks that client provides. I'd like to set up a dependency where those checks/notifications won't be done if the client is down. The main issue I'm running into is that the servicedependancy definition doesn't appear to support macros or multiple hosts, which means I'm going to have to manually create them all individually. Is there an easier way to do this that I'm missing? Thanks. -G_E ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Fri Sep 2 17:46:07 2005 From: robmossrm at aol.com (Rob Moss) Date: Fri, 02 Sep 2005 16:46:07 +0100 Subject: Nagios - J2EE server In-Reply-To: References: Message-ID: <431873BF.1060101@aol.com> Hi, I haven't checked the contributed plugins, but I'm looking at the same kind of checks. My current plan is to use the check_http plugin (or my own custom built SSL enabled one) and have a .JSP page on the webserver which executes some checks on the weblogic/tomcat server and returns HTTP 200 success if all checks are working, and HTTP 500 error (with the error message) if it fails. IF apache/webserver isn't running, there will be an error IF tomcat/weblogic isn't running, there will be an error IF the JSP page fails any of the checks, there will be an error ELSE there is a success message. It would be nice for someone to write (if it isn't already written) a plugin which checks the Weblogic clustering, and notifies on state changes. I have limited knoweledge on Weblogic/Tomcat (i refuse to touch java. long live perl!) so I'm not much good there.. :-) Cheers rob. Praveen Muthyala Manohar wrote: >Hi All, > >Is there a plug-in available to check the health of application server (Web >Logic or any App Server) instance? > >Regards >Praveen M M > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > -- Rob Moss Unix Systems Admin Hosting & DB Operations Hammersmith, London, UK Phone: +44 20 7348 8629 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin.shore at sktbcs.com Fri Sep 2 21:47:17 2005 From: justin.shore at sktbcs.com (Justin Shore) Date: Fri, 2 Sep 2005 14:47:17 -0500 Subject: Ranges for check_snmp Message-ID: No patches. The box is a Gentoo 2005.0 box with NET-SNMP 5.2.1 and a hand-compiled Nagios 2.0b4 install. My check_snmp is 1.57 from the 1.4.1 plugins. I can't speak to the OID and comma syntax since I don't have a need to check more than one OID in the same check command right now. Your initial question shouldn't require more than one OID either. Give that a try and see how it goes. Justin > -----Original Message----- > From: Marco Borsani [mailto:m.borsani at it.net] > Sent: Friday, September 02, 2005 2:39 AM > To: Justin Shore > Cc: NAGIOS > Subject: R: [Nagios-users] Ranges for check_snmp > > > 1) Do you install any pathces regarding check_snmp ? > > 2) Reading the check_snmp help I see that "," (comma) is used to separate > ranges for differents OIDs. In your example I see only one OID...Is it > correct? > > My check_snmp version is "(nagios-plugins 1.3.1) 1.24.2.2" > > Regards > > Marco > > -}-----Messaggio originale----- > -}Da: Justin Shore [mailto:justin.shore at sktbcs.com] > -}Inviato: giovedi 1 settembre 2005 17.49 > -}A: Marco Borsani; NAGIOS > -}Oggetto: RE: [Nagios-users] Ranges for check_snmp > -} > -} > -}Here is what I'm using to check temp on a Cisco 6509. The syntax > -}should be applicable in your scenario. > -} > -}check_command > -}check_snmp!1.3.6.1.4.1.9.9.91.1.1.1.1.4.4001!COMMUNITY- > STRING!27,30!30,150 > -} > -}My check_snmp is defined as: > -} > -}# 'check_snmp' command definition > -}define command{ > -} command_name check_snmp > -} command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o > -}$ARG1$ -C $ARG2$ -w $ARG3$ -c $ARG4$ > -} } > -} > -}This translates into: > -} > -}check_snmp -H $HOSTADDRESS -o 1.3.6.1.4.1.9.9.91.1.1.1.1.4.4001 > -}-C COMMUNITY-STRING -w 27,30 -c 30,150 > -} > -}Justin > -} > -} > -}> -----Original Message----- > -}> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > -}> admin at lists.sourceforge.net] On Behalf Of Marco Borsani > -}> Sent: Thursday, September 01, 2005 3:42 AM > -}> To: NAGIOS > -}> Subject: [Nagios-users] Ranges for check_snmp > -}> Importance: High > -}> > -}> Hi all ! > -}> > -}> I'd like to check some metrics on my firewall, like CPU but > -}when I try to > -}> set the ranges for warning and critical values I receive "strange" > -}> answers. > -}> > -}> ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 > -}-C public > -}> SNMP WARNING - 9 > -}> > -}> ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 > -}-C public > -}> -w > -}> 15:24 -c 25:100 > -}> SNMP CRITICAL - *7* > -}> > -}> Why? What's my fault ? > -}> > -}> I need to receive a Warning over 15% and a Critical over 25%. > -}> > -}> Regards > -}> > -}> Marco Borsani > -}> Unix & Monitoring System Administrator > -}> Technical Operation > -}> Tel. +39 010 4310115 > -}> Fax +39 010 4327454 > -}> E-mail: m.borsani at IT.net > -}> > -}> ITnet S.r.l. - Direzione e Coordinamento di WIND > -}Telecomunicazioni S.p.A. > -}> Internet Service Provider > -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma > -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 > -}> 16151 Genova (Italy) > -}> > -}> http://www.it.net > -}> mailto:info at IT.net > -}> _______________________________________________________________ > -}> Altre sedi ITnet: > -}> MILANO tel.: +39 02 30114900 info-milano at IT.net > -}> ROMA tel.: +39 06 83116707 info-roma at IT.net > -}> _______________________________________________________________ > -}> ITnet is associated to CIX (Commercial IP eXchange) and RIPE > -}> ITnet is associated to AIIP (Associazione Italiana Internet Providers) > -}> > -}> > -}> > -}> > -}> ------------------------------------------------------- > -}> SF.Net email is Sponsored by the Better Software Conference & EXPO > -}> September 19-22, 2005 * San Francisco, CA * Development Lifecycle > -}> Practices > -}> Agile & Plan-Driven Development * Managing Projects & Teams * > -}Testing & QA > -}> Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > > No virus found in this incoming message. > > Checked by AVG Anti-Virus. > > Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: > 8/29/2005 > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005 > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.18/87 - Release Date: 9/1/2005 > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/87 - Release Date: 9/1/2005 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Fri Sep 2 22:02:09 2005 From: drussell at mpifix.com (Danny Russell) Date: Fri, 2 Sep 2005 14:02:09 -0600 Subject: Downtime on hosts & services Message-ID: <028B223BB24E5443A9784BBE1CC5EBE054B530@Lisa.mpifix.com> I have many hosts setup with many services on each. Nagios is working and monitoring. I am running v1.2 I schedule downtime on a host, but not its services. I would think that when I schedule downtime on the host it would not bother me about the services on the host. I am still getting notifications about the services on that host. Why is this? Is this by design or is it an option to change somewhere? Thanks! Danny -------------- next part -------------- An HTML attachment was scrubbed... URL: From thasyndicate at yahoo.com Fri Sep 2 21:58:33 2005 From: thasyndicate at yahoo.com (tha syndicate) Date: Fri, 2 Sep 2005 12:58:33 -0700 (PDT) Subject: Nagios Installation problem Message-ID: <20050902195833.12331.qmail@web54004.mail.yahoo.com> Having a problem installing Nagios 1.2 on Fedora Core 4. I'm following the documention step by step in the documentation on Nagios site. When I get to the step to run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg to check my config file. I get the following feedback: Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL Reading configuration data... Error: Unexpected token or statement in file '/usr/local/nagios/etc/nagios.cfg' on line 19. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. Line #19 in my config file is: log_file=/usr/local/nagios/var/nagios.log The log file is in the correct place so it does exist, I don't know what else to check for. Then, if I comment out that line in the config file, it just stops at the next line\file that's not commented out (cfg_file=/usr/local/nagios/etc/checkcommands.cfg) and gives me the same message, then if I comment that line out, its stops at the next line\file that's not commented and gives me the same thing.....so it looks as though its going to see some sort of issue with every single uncommented line in the config file for some reason. Anyone have any ideas on what could be wrong??? Also..... persmissions on the log file are: -rw-r--r-- 1 nagios nagios 876 Aug 29 15:26 nagios.log and permissions from the next file I stated in the original post is: -rwxrwxrwx 1 root root 4475 Aug 30 14:58 checkcommands.cfg Haven't checked the rest of the uncommented files permission since I'm not sure it's even an issue. After I run the command no additional info is posted in /var/log/messages Thanks, Jimmy __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Fri Sep 2 22:16:29 2005 From: f1216 at yahoo.com (Fred) Date: Fri, 2 Sep 2005 13:16:29 -0700 (PDT) Subject: fork errors In-Reply-To: <8ee0610105090207415fef2316@mail.gmail.com> References: <8ee0610105090207415fef2316@mail.gmail.com> Message-ID: <20050902201629.7889.qmail@web31906.mail.mud.yahoo.com> Just for fun, you might try creating the problem and see how many forks you *can* get, for example: #!/usr/bin/perl my $c=0; do { my $pid = fork(); if ($pid) { $c++; print "\rchildcount $c "; } else { sleep(1); exit(0); } } while 1; to create as many procs as you can and test your limit. You would want to do this under the same environment as the nagios process runs. They will all be kept defunct until the process exits (when you hit the max processes you can create) The other thing you might try is to start nagios under strace -f and output the data to a log. You can specify just forks for strace, i.e., strace -f -e trace=process >/tmp/,log 2>&1 nagios .... That would give you a good handle on what is going on when the failure occurs. Might slow nagios down a bit, but probably nothing significant. -FredC Terry wrote: I have a program that checks the logs by the minute and pages when the fork errors occur, so we are responding within minutes. I have looked at the resources every time it happens and we have plenty of resources. Is there a single plugin I can put into debugging mode so that when this happens I get more information as to why it is giving these errors? Here are a few facts: - the system is fine with memory all the time, never runs out (resident/paging) - there are not an unusual amount of processes running, maybe around 200 at a time, but no where near the ulimit setting - ulimit for the 'nagios' user matches that of root (unlimited). here is the ulimit: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) 4 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 7168 virtual memory (kbytes, -v) unlimited Thanks, Terry On 9/1/05, Fred wrote: > My guess would be to look at your resource utilization on your system, > most likely causes for fork() to fail are no more process slots, out of > memory, or past some kind of per-user (non-root) limit. When this > occurs look at your system logs, ps output and see if you have *lots* > of processes hanging around. It could be that nagios has stopped reaping > its children (or another unrelated process has sucked up the resources) > and you have simply pushed your system to the edge. It might be that you > get to that situation and it backs off before you even notice it and you > are left with nagios having problems dealing with the aftermath. > > -FredC > > --- Terry wrote: > > > Hello, > > > > I have been having this issue for quite some time. For some unknown > > reason, nagios stops performing checks with these errors: > > > > [1125536952] Warning: The check of service 'PING' on host 'hostname' > > could not be performed due to a fork() error. The check will be > > rescheduled. > > > > All checks fail like this until nagios is restarted. When this > > problem is occuring I can run the service checks manually both as the > > nagios user and as the root user. There are no resource problems that > > I can see at the time. We do not appear to be hitting a limit with > > open files or anything like that either. The nagios mirrors the root > > user in that area. > > > > What could be wrong? > > > > Thanks! > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Law at thomson.com Fri Sep 2 22:28:14 2005 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Fri, 2 Sep 2005 16:28:14 -0400 Subject: check_nt configuration Message-ID: I have a different problem with check_nt. >From the command line: /usr/lib/nagios/plugins/check_nt -H servername -p 1248 -v SERVICESTATE -d SHOWALL -l "HUMMINGBIRD STR SERVICE" works great and returns: HUMMINGBIRD STR SERVICE: Started just like it is supposed to do. However, when run from nagios it says: HUMMINGBIRD STR SERVICE: Unknown The check_nt command definition has been modified like this: command_line /usr/lib/nagios/plugins/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -d SHOWALL -l $ARG1$ I removed the quotes from around $ARG1$ so that multiple services could be checked by passing with embedded quotes, like "server","service with space in the name", etc. This works great on one server running nagios but not the other. I have check and re-checked paths, permissions, check_nt versions and am stumped. Any help out there? Thanks, Mark ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jon Sent: Thursday, August 25, 2005 2:46 PM To: Nagios-Users Subject: RE: [Nagios-users] check_nt configuration Hi, Since you mentioned that you have installed the plugins in a different location, did you make change to the $USER1$ variable to point it to the correct location? To set the variable $USER1$ to /usr/lib/nagios/plugins/ you need to edit the resource.cfg. You can also try executing the command to see if it actually works. Just go to where the check_nt is located and run it. That would eliminate a few things. HTH, Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: From blakekrone at gmail.com Fri Sep 2 23:24:28 2005 From: blakekrone at gmail.com (Blake Krone) Date: Fri, 2 Sep 2005 15:24:28 -0600 Subject: Setting env variables from misc commands (email from field) Message-ID: Hello all, I'm trying to set it so that when using nullmailer the From field will be "alerts" instead of root as it is currently. I tried to set it by doing: export USER=alerts;/usr/bin/printf "%s" ...... etc but nagios won't send out alerts when I have it set like that. How can I set the from field?? Thanks! Blake -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Fri Sep 2 23:46:11 2005 From: ladams at cloudmark.com (Lori Adams) Date: Fri, 2 Sep 2005 14:46:11 -0700 Subject: Downtime on hosts & services Message-ID: This was in the docs: As a side note, notifications for services are suppressed if the host they're associated with is in a period of scheduled downtime. Are you sure he had it in a downtime, there was a "thought bubble" and the "z,z,z" picture next to your host? -Lori ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Danny Russell Sent: Friday, September 02, 2005 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Downtime on hosts & services I have many hosts setup with many services on each. Nagios is working and monitoring. I am running v1.2 I schedule downtime on a host, but not its services. I would think that when I schedule downtime on the host it would not bother me about the services on the host. I am still getting notifications about the services on that host. Why is this? Is this by design or is it an option to change somewhere? Thanks! Danny -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Sat Sep 3 05:10:59 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 2 Sep 2005 23:10:59 -0400 (EDT) Subject: Setting env variables from misc commands (email from field) In-Reply-To: References: Message-ID: On Fri, 2 Sep 2005, Blake Krone wrote: > Hello all, I'm trying to set it so that when using nullmailer the From field > will be "alerts" instead of root as it is currently. I tried to set it by > doing: > export USER=alerts;/usr/bin/printf "%s" ...... etc > but nagios won't send out alerts when I have it set like that. > > How can I set the from field?? > > Thanks! > Blake > sendmail genericstable http://www.linux.com/howtos/Sendmail-Address-Rewrite.shtml -- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Sep 3 10:42:21 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 3 Sep 2005 04:42:21 -0400 Subject: check_nt configuration In-Reply-To: References: Message-ID: I know the following works for NC_Net but I am not sure if it works for ns_client but I assume it should. add the " on the command definition again, command_line /usr/lib/nagios/plugins/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -d SHOWALL -l "$ARG1$" because the check_command is delimited by the ! and can have spaces in it without the " thus: check_command check_nt!HUMMINGBIRD STR SERVICE I use the following in my config check_command check_nc_net_with_l_d!SERVICESTATE!MSSQL\$BKUPEXEC,Backup Exec Job Engine,Backup Exec Server!SHOWALL define command{ command_name check_nc_net_with_l_d command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v $ARG1$ -l "$ARG2$" -d $ARG3$ } I hope this helps Tony amontibello at shatterit.com On 9/2/05, Mark.Law at thomson.com wrote: > > I have a different problem with check_nt. > > From the command line: > > /usr/lib/nagios/plugins/check_nt -H servername -p 1248 -v SERVICESTATE -d > SHOWALL -l "HUMMINGBIRD STR SERVICE" > > works great and returns: > > HUMMINGBIRD STR SERVICE: Started > > just like it is supposed to do. However, when run from nagios it says: > > HUMMINGBIRD STR SERVICE: Unknown > > The check_nt command definition has been modified like this: > > command_line /usr/lib/nagios/plugins/check_nt -H $HOSTADDRESS$ -v > SERVICESTATE -d SHOWALL -l $ARG1$ > > I removed the quotes from around $ARG1$ so that multiple services could > be checked by passing with embedded quotes, like "server","service with > space in the name", etc. > > This works great on one server running nagios but not the other. I have > check and re-checked paths, permissions, check_nt versions and am stumped. > > Any help out there? > > Thanks, > > Mark > > ------------------------------ > > *From:* nagios-users-admin at lists.sourceforge.net [mailto: > nagios-users-admin at lists.sourceforge.net] *On Behalf Of *Jon > *Sent:* Thursday, August 25, 2005 2:46 PM > *To:* Nagios-Users > *Subject:* RE: [Nagios-users] check_nt configuration > > Hi, > > Since you mentioned that you have installed the plugins in a different > location, did you make change to the $USER1$ variable to point it to the > correct location? To set the variable $USER1$ to /usr/lib/nagios/plugins/ > you need to edit the resource.cfg. > > You can also try executing the command to see if it actually works. Just > go to where the check_nt is located and run it. That would eliminate a few > things. > > HTH, > > Jon > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Sat Sep 3 16:58:21 2005 From: jhmartin at toger.us (Jason Martin) Date: Sat, 3 Sep 2005 07:58:21 -0700 Subject: nagios pooling question In-Reply-To: References: Message-ID: <20050903145821.GD810@zippy.toger.us> On Thu, Sep 01, 2005 at 02:14:20PM -0400, William Wang wrote: > Can someone tell me how Nagios does pooling when it connect to the NT or UNIX agents? Are TCP or UDP ports used? What's the port numbers? Nagios itself doesn't know how to check anything, it is up to the plugins to do that. Many of the UNIX plugins are not network-aware, instead relying on the NRPE system (which uses a tcp-based daemon) for network transport. Windows works in a similiar fashion. -Jason Martin -- Buy Land Now. It's Not Being Made Any More. 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 lists at webtent.net Mon Sep 5 05:13:29 2005 From: lists at webtent.net (Robert Fitzpatrick) Date: Sun, 04 Sep 2005 23:13:29 -0400 Subject: new install won't start Message-ID: <1125890009.10655.5.camel@columbus.webtent.org> I am lost. I am setup Nagios 1.2 many times. Now I have setup on my SuSE 9.3 box with rpm packages. All the files are there, I believe the permissions are fine, the configuration file checks out OK with '-v' and the log file just gives me the following. The lock file even has the PID, but no such PID running after starting. Any ideas... [1125887280] Nagios 1.2 starting... (PID=8639) [1125887280] Finished daemonizing... (New PID=8640) -- Robert ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Sep 5 09:05:33 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 05 Sep 2005 09:05:33 +0200 Subject: new install won't start In-Reply-To: <1125890009.10655.5.camel@columbus.webtent.org> References: <1125890009.10655.5.camel@columbus.webtent.org> Message-ID: <431BEE3D.2020608@its-lehmann.de> Hello, Robert Fitzpatrick wrote: > I am lost. I am setup Nagios 1.2 many times. Now I have setup on my SuSE > 9.3 box with rpm packages. All the files are there, I believe the > permissions are fine, the configuration file checks out OK with '-v' and > the log file just gives me the following. The lock file even has the > PID, but no such PID running after starting. Any ideas... > > [1125887280] Nagios 1.2 starting... (PID=8639) > [1125887280] Finished daemonizing... (New PID=8640) What does happen when you start Nagios in the foreground, i.e. without -d switch, and strace it? Arno > -- > Robert > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios_user at s1test1.it Mon Sep 5 16:40:43 2005 From: nagios_user at s1test1.it (nagios_user at s1test1.it) Date: Mon, 5 Sep 2005 16:40:43 +0200 Subject: nagios not running?? Message-ID: <20050905164043.7qgk65yj22roc0ok@webmail.s1test1.it> Hello, I have a little question to issue. I've upgrated my nagios server from 1.2 to 2.04b. I've tried to run nagios and I've received following message Whoops! Error: Could not read host and service status information! .... So, I've checked configuration with nagios -v configuration_file and it seem to be ok... ...have you any ideas? p.s. nagios running without error and I can see the PID Thank you for your help and sorry for my english. I hope I explain my problem... Best regards Rodolfo Greco ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at webtent.net Mon Sep 5 17:08:42 2005 From: lists at webtent.net (Robert Fitzpatrick) Date: Mon, 05 Sep 2005 11:08:42 -0400 Subject: new install won't start In-Reply-To: <431BEE3D.2020608@its-lehmann.de> References: <1125890009.10655.5.camel@columbus.webtent.org> <431BEE3D.2020608@its-lehmann.de> Message-ID: <1125932922.19345.0.camel@columbus.webtent.org> On Mon, 2005-09-05 at 09:05 +0200, Arno Lehmann wrote: > Hello, > > Robert Fitzpatrick wrote: > > > I am lost. I am setup Nagios 1.2 many times. Now I have setup on my SuSE > > 9.3 box with rpm packages. All the files are there, I believe the > > permissions are fine, the configuration file checks out OK with '-v' and > > the log file just gives me the following. The lock file even has the > > PID, but no such PID running after starting. Any ideas... > > > > [1125887280] Nagios 1.2 starting... (PID=8639) > > [1125887280] Finished daemonizing... (New PID=8640) > > What does happen when you start Nagios in the foreground, i.e. without > -d switch, and strace it? Thanks, that got it going after getting all the perms right. The only problem I'm having is the CGI execution. I used to have Nagios running on this same machine and have all the backup files from that install. I have matched everything up to what is was before, but still getting a perms error when starting nagios, but it starts fine and writes the files it was complaining about. The init script is using 'daemon' as the user, if I change all my nagios perms to that user, the error goes away and it starts, but still no CGI capability. The old config had 'daemon' also in the init script and all worked fine. I have the user 'nagios' and group 'nagiocmd' in my nagios.cfg file. columbus:/var/spool/nagios # ls -la total 12 drwxrwsr-x 3 nagios nagios 4096 Sep 5 10:55 . drwxr-xr-x 17 root root 4096 Sep 4 17:36 .. drwxr-sr-x 2 nagios nagiocmd 4096 Sep 5 10:54 rw columbus:/var/spool/nagios # ls -la rw total 8 drwxr-sr-x 2 nagios nagiocmd 4096 Sep 5 10:54 . drwxrwsr-x 3 nagios nagios 4096 Sep 5 10:55 .. columbus:/var/spool/nagios # /etc/rc.d/nagios start Starting nagios touch: cannot touch `/var/log/nagios/nagios.log': Permission denied touch: cannot touch `/var/log/nagios/status.sav': Permission denied done columbus:/var/spool/nagios # ls -la total 32 drwxrwsr-x 3 nagios nagios 4096 Sep 5 10:55 . drwxr-xr-x 17 root root 4096 Sep 4 17:36 .. -rw-rw-r-- 1 nagios nagios 0 Sep 5 10:55 comment.log -rw-rw-r-- 1 nagios nagios 0 Sep 5 10:55 downtime.log -rw-r--r-- 1 root nagios 6 Sep 5 10:55 nagios.lock -rw-r--r-- 1 root nagios 101 Sep 5 10:55 nagios.log drwxr-sr-x 2 nagios nagiocmd 4096 Sep 5 10:55 rw -rw-rw-r-- 1 nagios nagios 11249 Sep 5 10:55 status.log columbus:/var/spool/nagios # ls -la rw total 8 drwxr-sr-x 2 nagios nagiocmd 4096 Sep 5 10:55 . drwxrwsr-x 3 nagios nagios 4096 Sep 5 10:59 .. prw-rw---- 1 nagios nagiocmd 0 Sep 5 10:55 nagios.cmd ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios_user at s1test1.it Mon Sep 5 17:31:53 2005 From: nagios_user at s1test1.it (nagios_user at s1test1.it) Date: Mon, 5 Sep 2005 17:31:53 +0200 Subject: nagios not running?? Message-ID: <20050905173153.fakf1i2l10akw8sw@webmail.s1test1.it> Hello, I have a little question to issue. I've upgrated my nagios server from 1.2 to 2.04b. I've tried to run nagios and I've received following message Whoops! Error: Could not read host and service status information! .... So, I've checked configuration with nagios -v configuration_file and it seem to be ok... ...have you any ideas? p.s. nagios running without error and I can see the PID Thank you for your help and sorry for my english. I hope I explain my problem... Best regards Rodolfo Greco ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Sep 5 20:22:38 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 05 Sep 2005 20:22:38 +0200 Subject: new install won't start In-Reply-To: <1125932922.19345.0.camel@columbus.webtent.org> References: <1125890009.10655.5.camel@columbus.webtent.org> <431BEE3D.2020608@its-lehmann.de> <1125932922.19345.0.camel@columbus.webtent.org> Message-ID: <431C8CEE.1010701@its-lehmann.de> Hello, Robert Fitzpatrick wrote: > Thanks, that got it going after getting all the perms right. The only > problem I'm having is the CGI execution. I used to have Nagios running > on this same machine and have all the backup files from that install. I > have matched everything up to what is was before, but still getting a > perms error when starting nagios, but it starts fine and writes the > files it was complaining about. The init script is using 'daemon' as the > user, if I change all my nagios perms to that user, the error goes away > and it starts, but still no CGI capability. The old config had 'daemon' > also in the init script and all worked fine. I have the user 'nagios' > and group 'nagiocmd' in my nagios.cfg file. That looks like it might be a permissions problem with the web server user. Remember that the CGIs run as the same user you web server runs as. And between distributions that usually not the same, and it might even change from one version of the distribution to another. You should check what user and group your web server runs as, and probably add it to the nagiocmd group. There is some information in the manual. Arno > columbus:/var/spool/nagios # ls -la > total 12 > drwxrwsr-x 3 nagios nagios 4096 Sep 5 10:55 . > drwxr-xr-x 17 root root 4096 Sep 4 17:36 .. > drwxr-sr-x 2 nagios nagiocmd 4096 Sep 5 10:54 rw > columbus:/var/spool/nagios # ls -la rw > total 8 > drwxr-sr-x 2 nagios nagiocmd 4096 Sep 5 10:54 . > drwxrwsr-x 3 nagios nagios 4096 Sep 5 10:55 .. > columbus:/var/spool/nagios # /etc/rc.d/nagios start > Starting nagios touch: cannot touch `/var/log/nagios/nagios.log': > Permission denied > touch: cannot touch `/var/log/nagios/status.sav': Permission denied > > done > columbus:/var/spool/nagios # ls -la > total 32 > drwxrwsr-x 3 nagios nagios 4096 Sep 5 10:55 . > drwxr-xr-x 17 root root 4096 Sep 4 17:36 .. > -rw-rw-r-- 1 nagios nagios 0 Sep 5 10:55 comment.log > -rw-rw-r-- 1 nagios nagios 0 Sep 5 10:55 downtime.log > -rw-r--r-- 1 root nagios 6 Sep 5 10:55 nagios.lock > -rw-r--r-- 1 root nagios 101 Sep 5 10:55 nagios.log > drwxr-sr-x 2 nagios nagiocmd 4096 Sep 5 10:55 rw > -rw-rw-r-- 1 nagios nagios 11249 Sep 5 10:55 status.log > columbus:/var/spool/nagios # ls -la rw > total 8 > drwxr-sr-x 2 nagios nagiocmd 4096 Sep 5 10:55 . > drwxrwsr-x 3 nagios nagios 4096 Sep 5 10:59 .. > prw-rw---- 1 nagios nagiocmd 0 Sep 5 10:55 nagios.cmd > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Sep 5 20:24:26 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 05 Sep 2005 20:24:26 +0200 Subject: nagios not running?? In-Reply-To: <20050905173153.fakf1i2l10akw8sw@webmail.s1test1.it> References: <20050905173153.fakf1i2l10akw8sw@webmail.s1test1.it> Message-ID: <431C8D5A.3010503@its-lehmann.de> Hi, nagios_user at s1test1.it wrote twice: > Hello, > I have a little question to issue. > I've upgrated my nagios server from 1.2 to 2.04b. > I've tried to run nagios and I've received following message > > Whoops! > > Error: Could not read host and service status information! > > .... Where do you receive that message? I assume in the web browser, right? > So, I've checked configuration with nagios -v configuration_file and it seem to > be ok... > ...have you any ideas? Yes. Check the web server / nagios CGI setup. As far as I recall, there is detailed information in the manual. Basically, make sure that the web server user can read the status information. > p.s. nagios running without error and I can see the PID > Thank you for your help and sorry for my english. I hope I explain my problem... Arno > Best regards > Rodolfo Greco > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forums at emat.be Mon Sep 5 22:38:26 2005 From: forums at emat.be (js) Date: Mon, 05 Sep 2005 22:38:26 +0200 Subject: Modbus over tcp/ip plugins Message-ID: <431CACC2.10300@emat.be> Hi all, Not really a nagios question, although. Is there someone with experience polling modbus over tcp/ip enabled devices on linux with nagios? Thanks J ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niceforums at yahoo.com Tue Sep 6 10:21:57 2005 From: niceforums at yahoo.com (hamideh daliri) Date: Tue, 6 Sep 2005 01:21:57 -0700 (PDT) Subject: nagios works with SELinux , but it is silly ! Message-ID: <20050906082157.82786.qmail@web30111.mail.mud.yahoo.com> hi all i had well known problem with nagios on RHEL4 ( you know i mean SELinux and its policy .... ) , i have added these rules to /etc/selinux/targeted/src/policy/domains/program/apache.te : allow httpd_t usr_t:file {execute execute_no_trans}; allow httpd_t file_t:file {getattr execute read execute_no_trans}; and the nagios is now working,but it seems so silly to grant those permisions !!! would someone help to optimize rules above ? tnx. ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tylerawoods at gmail.com Tue Sep 6 17:14:50 2005 From: tylerawoods at gmail.com (Tyler Woods) Date: Tue, 06 Sep 2005 08:14:50 -0700 Subject: Forbidden Error Message-ID: <431DB26A.9000506@gmail.com> I've followed the directions exactly but get the following error when trying to view the site: / Forbidden You don't have permission to access /nagios/ on this server. Apache/2.0.46 (Red Hat) Server at docapp Port 443/ Please help. Have no idea why this is happening. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lyle at lcrcomputer.net Tue Sep 6 17:32:30 2005 From: lyle at lcrcomputer.net (Lyle Giese) Date: Tue, 06 Sep 2005 10:32:30 -0500 Subject: Forbidden Error In-Reply-To: <431DB26A.9000506@gmail.com> References: <431DB26A.9000506@gmail.com> Message-ID: <431DB68E.3010704@lcrcomputer.net> Tyler Woods wrote: > I've followed the directions exactly but get the following error when > trying to view the site: > / > Forbidden > You don't have permission to access /nagios/ on this server. > Apache/2.0.46 (Red Hat) Server at docapp Port 443/ > > Please help. Have no idea why this is happening. > You are trying to access Nagios via ssl(https). I don't think this is covered in the docs. Besides, this is basically a virtual server to Apache and requires the alias and access controls added to the basic system has to be added to the ssl sections in httpd.conf. And Apache 2.0.46 is not a current version. Hopefully you have it patched from Red Hat. Red Hat does not always change the version numbers when patching. Lyle ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Tue Sep 6 17:33:49 2005 From: srunschke at abit.de (srunschke at abit.de) Date: Tue, 6 Sep 2005 17:33:49 +0200 Subject: Antwort: Forbidden Error In-Reply-To: <431DB26A.9000506@gmail.com> References: <431DB26A.9000506@gmail.com> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 06.09.2005 17:14:50: > I've followed the directions exactly but get the following error when > trying to view the site: > / > Forbidden > You don't have permission to access /nagios/ on this server. > Apache/2.0.46 (Red Hat) Server at docapp Port 443/ > > Please help. Have no idea why this is happening. Obviously an error in the apache configuration. Recheck permissions within httpd.conf and the file permissions. Looking at the apache errorlogs will help you loads too. Posting all that stuff here might even get you to a solution ;) regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lyle at lcrcomputer.net Tue Sep 6 17:41:14 2005 From: lyle at lcrcomputer.net (Lyle Giese) Date: Tue, 06 Sep 2005 10:41:14 -0500 Subject: Access to status.log via a Perl script Message-ID: <431DB89A.7010807@lcrcomputer.net> I am working on building one of the traffic light project for Nagios. (specifically http://www.nagiosexchange.org/Wiki_Home.wiki.0.html?&tx_drwiki_pi1%5Bkeyword%5D=NagiosTLight ) I have one quick question for the experts here. It looks like Juilian got his status via status.cgi and parsed the resulting webpage that comes back. I have a small configuration and want to pull status from status.log file and then customize the status. I have most of it written. The question I have is about status.log. I am writting a small perl script and opening status.log read-only, read it into an array and promptly close it. Will that cause any problems with Nagios? What happens if Nagios wants to write to it at the same time this script is reading status.log? I know this solution does not scale well, but for what I am doing, it will never get that big. Thanks, Lyle Giese ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Sep 6 17:58:57 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Sep 2005 17:58:57 +0200 Subject: Access to status.log via a Perl script In-Reply-To: <431DB89A.7010807@lcrcomputer.net> References: <431DB89A.7010807@lcrcomputer.net> Message-ID: <431DBCC1.4090809@op5.se> Lyle Giese wrote: > I am working on building one of the traffic light project for Nagios. > (specifically > http://www.nagiosexchange.org/Wiki_Home.wiki.0.html?&tx_drwiki_pi1%5Bkeyword%5D=NagiosTLight > ) > > I have one quick question for the experts here. It looks like Juilian > got his status via status.cgi and parsed the resulting webpage that > comes back. I have a small configuration and want to pull status from > status.log file and then customize the status. I have most of it written. > > The question I have is about status.log. I am writting a small perl > script and opening status.log read-only, read it into an array and > promptly close it. Will that cause any problems with Nagios? What > happens if Nagios wants to write to it at the same time this script is > reading status.log? > You'll end up with either an incomplete read, or Nagios will beat you to it and write the data before you have time to read it. Nothing else should happen. If, on the other hand, you're using Nagios 2.0 you should be reading status.dat instead, since it contains the most recent info. That file is not appended to. Instead, nagios creates a temporary file and renames it when it's done writing. The GUI does exactly what you're suggesting, and no problems have been reported due to that (although the gui mmap()'s the file readonly rather than opening it and reading it. I'm not sure that option is available in perl). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Law at thomson.com Tue Sep 6 18:29:54 2005 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Tue, 6 Sep 2005 12:29:54 -0400 Subject: check_nt configuration Message-ID: Can someone explain why the first definition fails and the second succeeds? I should note that the first definition only fails if the "service name" has spaces in it. define command{ command_name check_nc_net_with_l_d command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v $ARG1$ -l "service name" } define command{ command_name check_nc_net_with_l_d command_line $USER1$/check_nt -H hostname -p 1248 -v $ARG1$ -l "service name" } ________________________________ From: Anthony Montibello [mailto:amontibello at gmail.com] Sent: Saturday, September 03, 2005 4:42 AM To: Law, Mark (TSH Center); Nagios Users List Subject: Re: [Nagios-users] check_nt configuration I know the following works for NC_Net but I am not sure if it works for ns_client but I assume it should. add the " on the command definition again, command_line /usr/lib/nagios/plugins/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -d SHOWALL -l "$ARG1$" because the check_command is delimited by the ! and can have spaces in it without the " thus: check_command check_nt!HUMMINGBIRD STR SERVICE I use the following in my config check_command check_nc_net_with_l_d!SERVICESTATE!MSSQL\$BKUPEXEC,Backup Exec Job Engine,Backup Exec Server!SHOWALL define command{ command_name check_nc_net_with_l_d command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v $ARG1$ -l "$ARG2$" -d $ARG3$ } I hope this helps Tony amontibello at shatterit.com On 9/2/05, Mark.Law at thomson.com wrote: I have a different problem with check_nt. >From the command line: /usr/lib/nagios/plugins/check_nt -H servername -p 1248 -v SERVICESTATE -d SHOWALL -l "HUMMINGBIRD STR SERVICE" works great and returns: HUMMINGBIRD STR SERVICE: Started just like it is supposed to do. However, when run from nagios it says: HUMMINGBIRD STR SERVICE: Unknown The check_nt command definition has been modified like this: command_line /usr/lib/nagios/plugins/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -d SHOWALL -l $ARG1$ I removed the quotes from around $ARG1$ so that multiple services could be checked by passing with embedded quotes, like "server","service with space in the name", etc. This works great on one server running nagios but not the other. I have check and re-checked paths, permissions, check_nt versions and am stumped. Any help out there? Thanks, Mark ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net ] On Behalf Of Jon Sent: Thursday, August 25, 2005 2:46 PM To: Nagios-Users Subject: RE: [Nagios-users] check_nt configuration Hi, Since you mentioned that you have installed the plugins in a different location, did you make change to the $USER1$ variable to point it to the correct location? To set the variable $USER1$ to /usr/lib/nagios/plugins/ you need to edit the resource.cfg. You can also try executing the command to see if it actually works. Just go to where the check_nt is located and run it. That would eliminate a few things. HTH, Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyle at lcrcomputer.net Tue Sep 6 19:06:32 2005 From: lyle at lcrcomputer.net (Lyle Giese) Date: Tue, 06 Sep 2005 12:06:32 -0500 Subject: Access to status.log via a Perl script In-Reply-To: <431DBCC1.4090809@op5.se> References: <431DB89A.7010807@lcrcomputer.net> <431DBCC1.4090809@op5.se> Message-ID: <431DCC98.6030305@lcrcomputer.net> Andreas Ericsson wrote: > Lyle Giese wrote: > >> I am working on building one of the traffic light project for >> Nagios. (specifically >> http://www.nagiosexchange.org/Wiki_Home.wiki.0.html?&tx_drwiki_pi1%5Bkeyword%5D=NagiosTLight >> ) >> >> I have one quick question for the experts here. It looks like >> Juilian got his status via status.cgi and parsed the resulting >> webpage that comes back. I have a small configuration and want to >> pull status from status.log file and then customize the status. I >> have most of it written. >> >> The question I have is about status.log. I am writting a small perl >> script and opening status.log read-only, read it into an array and >> promptly close it. Will that cause any problems with Nagios? What >> happens if Nagios wants to write to it at the same time this script >> is reading status.log? >> > > You'll end up with either an incomplete read, or Nagios will beat you > to it and write the data before you have time to read it. Nothing else > should happen. > > If, on the other hand, you're using Nagios 2.0 you should be reading > status.dat instead, since it contains the most recent info. That file > is not appended to. Instead, nagios creates a temporary file and > renames it when it's done writing. The GUI does exactly what you're > suggesting, and no problems have been reported due to that (although > the gui mmap()'s the file readonly rather than opening it and reading > it. I'm not sure that option is available in perl). > Juilian's script seemed to only read the status of a host from what I could piece together. I wanted to customize the traffic light in that for instance on host A, if service http is down, I want that to be a red on the traffic light, but if ftp was down on the same host, that would rate a yellow. Basicaly, customizing the traffic light based on what the importance of a certain service is in the scheme of our operations. You seem to indicate that I can read the GUI in the same manner, but I was unable to find any real docs on status.cgi(I am currently running v1.1 of Nagios) to find the options I could pass to it to get back the info I want access to. And I am not a great programmer either. An incomplete read could cause the status to change to green and then on the next read back to yellow or red as the case maybe, but neither would be of that great of importance in the operations here. Thanks, Lyle ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravikmrs at yahoo.com Tue Sep 6 19:13:11 2005 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Tue, 6 Sep 2005 10:13:11 -0700 (PDT) Subject: rrd command Message-ID: <20050906171311.91915.qmail@web53901.mail.yahoo.com> Hi, What is command syntax of rrd to create graph for load or ping or etc ? thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Sep 6 20:22:15 2005 From: marc at ena.com (Marc Powell) Date: Tue, 6 Sep 2005 13:22:15 -0500 Subject: rrd command Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ravi Kumar > Sent: Tuesday, September 06, 2005 12:13 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] rrd command > > Hi, > What is command syntax of rrd to create graph for load or ping or etc ? > thanks /path/to/rrdtool create http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdcreate.en.html The RRDTool Tutorial will probably be useful to you -- http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tut/rrdtutorial.en.ht ml Unless you can be more specific about what you're trying to do, how you're trying to do it and how it relates to Nagios, that's about as specific as we can get for an answer. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsmforum at optonline.net Tue Sep 6 21:44:17 2005 From: jsmforum at optonline.net (Jeff) Date: Tue, 6 Sep 2005 15:44:17 -0400 Subject: Perl plugin exit code? In-Reply-To: References: Message-ID: Hey all, I've written a perl script to check the status of some information from one of our application databases. It seems to run fine manually but nagios only get's (No Output!) when I try to use it live. Permissions on the perl script are set correctly, if I su - over to nagios I can run the script as nagios. So I'm stumped and looking for ideas here. Second part of my question has to do with perl more than nagios, Obviously I need to send the correct exit code to nagios. I set a varialble "$status" (0, 1 or 2) in the script according to the query results and at the end of the script I have Exit $status; Will this give the correct exit status that nagios is looking for? Thanks, Jeff ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 6 22:17:26 2005 From: teng at dataway.com (Tedman Eng) Date: Tue, 6 Sep 2005 13:17:26 -0700 Subject: Perl plugin exit code? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2B84@dw-mail.dataway.com> > Second part of my question has to do with perl more than nagios, > Obviously I need to send the correct exit code to nagios. I set a > varialble "$status" (0, 1 or 2) in the script according to the query > results and at the end of the script I have > > Exit $status; > The command will not work unless "exit" is lower case. This may be so in your script, but wasn't in your email. (it won't hurt to look again to make sure) $ perl -e '$status=0;exit $status'; echo $? 0 $ perl -e '$status=2;Exit $status'; echo $? Can't call method "Exit" without a package or object reference at -e line 1. 255 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Sep 6 16:46:38 2005 From: td3201 at gmail.com (Terry) Date: Tue, 6 Sep 2005 09:46:38 -0500 Subject: fork errors In-Reply-To: <20050902201629.7889.qmail@web31906.mail.mud.yahoo.com> References: <8ee0610105090207415fef2316@mail.gmail.com> <20050902201629.7889.qmail@web31906.mail.mud.yahoo.com> Message-ID: <8ee061010509060746544edf47@mail.gmail.com> I haven't tried the fork script but I did try starting nagios under strace as described but the main process which strace is tracing appears to exit after spawning children. Here is the last snippet so you know what I mean: [pid 29599] clone(Process 29644 attached [pid 29643] <... clone resumed> child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e50c8) = 29644 [tcb table full] [pid 29599] <... clone resumed> child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e50c8) = 29645 [tcb table full] Process 29641 detached Process 29599 detached Process 29632 detached Process 29640 detached Process 29635 detached Process 29644 detached Process 29643 detached Any other ideas? On 9/2/05, Fred wrote: > > Just for fun, you might try creating the problem and see how many forks > you *can* get, for example: > #!/usr/bin/perl > > my $c=0; > do { > my $pid = fork(); > if ($pid) > { > $c++; > print "\rchildcount $c "; > } > else > { > sleep(1); > exit(0); > } > } while 1; > to create as many procs as you can and test your limit. You would > want to do this under the same environment as the nagios process > runs. > They will all be kept defunct until the process exits (when you > hit the max processes you can create) > The other thing you might try is to start nagios under > strace -f and output the data to a log. You can specify > just forks for strace, i.e., strace -f -e trace=process >/tmp/,log 2>&1 > nagios .... > That would give you a good handle on what is going on when the failure > occurs. Might slow nagios down a bit, but probably nothing significant. > -FredC > > > *Terry * wrote: > > I have a program that checks the logs by the minute and pages when the > fork errors occur, so we are responding within minutes. I have looked > at the resources every time it happens and we have plenty of > resources. Is there a single plugin I can put into debugging mode so > that when this happens I get more information as to why it is giving > these errors? Here are a few facts: > - the system is fine with memory all the time, never runs out > (resident/paging) > - there are not an unusual amount of processes running, maybe around > 200 at a time, but no where near the ulimit setting > - ulimit for the 'nagios' user matches that of root (unlimited). here > is the ulimit: > core file size (blocks, -c) 0 > data seg size (kbytes, -d) unlimited > file size (blocks, -f) unlimited > max locked memory (kbytes, -l) 4 > max memory size (kbytes, -m) unlimited > open files (-n) 1024 > pipe size (512 bytes, -p) 8 > stack size (kbytes, -s) 10240 > cpu time (seconds, -t) unlimited > max user processes (-u) 7168 > virtual memory (kbytes, -v) unlimited > > Thanks, > Terry > > > > On 9/1/05, Fred wrote: > > My guess would be to look at your resource utilization on your system, > > most likely causes for fork() to fail are no more process slots, out of > > memory, or past some kind of per-user (non-root) limit. When this > > occurs look at your system logs, ps output and see if you have *lots* > > of processes hanging around. It could be that nagios has stopped reaping > > its children (or another unrelated process has sucked up the resources) > > and you have simply pushed your system to the edge. It might be that you > > get to that situation and it backs off before you even notice it and you > > are left with nagios having problems dealing with the aftermath. > > > > -FredC > > > > --- Terry wrote: > > > > > Hello, > > > > > > I have been having this issue for quite some time. For some unknown > > > reason, nagios stops performing checks with these errors: > > > > > > [1125536952] Warning: The check of service 'PING' on host 'hostname' > > > could not be performed due to a fork() error. The check will be > > > rescheduled. > > > > > > All checks fail like this until nagios is restarted. When this > > > problem is occuring I can run the service checks manually both as the > > > nagios user and as the root user. There are no resource problems that > > > I can see at the time. We do not appear to be hitting a limit with > > > open files or anything like that either. The nagios mirrors the root > > > user in that area. > > > > > > What could be wrong? > > > > > > Thanks! > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > > > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > > any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jsmforum at optonline.net Tue Sep 6 22:24:22 2005 From: jsmforum at optonline.net (Jeff) Date: Tue, 6 Sep 2005 16:24:22 -0400 Subject: Perl plugin exit code? In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Tedman Eng > Sent: Tuesday, September 06, 2005 16:17 > To: nagios-users at lists.sourceforge.net > Cc: 'Jeff' > Subject: RE: [Nagios-users] Perl plugin exit code? > > > > > Second part of my question has to do with perl more than nagios, > > Obviously I need to send the correct exit code to nagios. I set a > > varialble "$status" (0, 1 or 2) in the script according to > the query > > results and at the end of the script I have > > > > Exit $status; > > > > The command will not work unless "exit" is lower case. > This may be so in your script, but wasn't in your email. > (it won't hurt to look again to make sure) > > > $ perl -e '$status=0;exit $status'; echo $? > 0 > > $ perl -e '$status=2;Exit $status'; echo $? > Can't call method "Exit" without a package or object > reference at -e line 1. 255 > That's not the problem, it is lowercase in my script. My email client capitolized it because it was on it's own line. Thanks though.... Jeff ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Sep 6 23:06:56 2005 From: marc at ena.com (Marc Powell) Date: Tue, 6 Sep 2005 16:06:56 -0500 Subject: Perl plugin exit code? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jeff > Sent: Tuesday, September 06, 2005 2:44 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Perl plugin exit code? > > Hey all, > > I've written a perl script to check the status of some information from > one of our application databases. It seems to run fine manually but > nagios only get's (No Output!) when I try to use it live. > > Permissions on the perl script are set correctly, if I su - over to > nagios I can run the script as nagios. So I'm stumped and looking for > ideas here. Does your plugin output one and only one line of text? http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT > > Second part of my question has to do with perl more than nagios, > Obviously I need to send the correct exit code to nagios. I set a > varialble "$status" (0, 1 or 2) in the script according to the query > results and at the end of the script I have > > Exit $status; > > Will this give the correct exit status that nagios is looking for? Yes, do you not see the status being set properly? It's probably better to import utils.pm and exit using the name just in case the exit codes change in the future -- #! /usr/bin/perl -w use strict; use lib "/usr/local/nagios/libexec" ; use utils qw(%ERRORS &print_revision &support &usage); then you can print ""; exit $ERRORS{'OK'}; # or exit $ERRORS{'WARNING'}; # or exit $ERRORS{'CRITICAL'}; # or exit $ERRORS{'UNKNOWN'}; -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From potus98 at yahoo.com Tue Sep 6 23:09:23 2005 From: potus98 at yahoo.com (John Christian) Date: Tue, 6 Sep 2005 14:09:23 -0700 (PDT) Subject: Status Info = Warning, but Status = Unknown Message-ID: <20050906210923.82179.qmail@web54710.mail.yahoo.com> Hello, I'm looking at the "Service Detail" section on the web GUI. Most hosts/services are working fine, but a few services seem confused. Their Status Information (7th column) is "WARNING [details...]" or "OK [details...]" but their Status (3rd column) is still listed as "UNKNOWN". Attempts to fix that did not: Restarted Nagios mutliple times. Removed host reference and re-added. Waited a few hours for Nagios to settle down. The problem *seems* to be more common when using Jeff Scott's check_load_remote 1.1 or check_uptime_remote 1.1 in combination with the remote host running Sun_SSH_1.0.1. Sometimes they will clear-up (display statuseses that make sense) but usually they're in status UNKNOWN even though the status information shows WARNING or OK. The same scripts used against hosts running OpenSSH_4.1 are always fine. Why is Nagios displaying conflicting information? How do I force Nagios to 'forget' everything about a host and start fresh? Other tips? Nagios 2.0b4 SunOS 5.9 Generic_112233-12 Sun-Fire-880 TIA for any help! -John ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Sep 6 23:34:44 2005 From: marc at ena.com (Marc Powell) Date: Tue, 6 Sep 2005 16:34:44 -0500 Subject: Status Info = Warning, but Status = Unknown Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John Christian > Sent: Tuesday, September 06, 2005 4:09 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Status Info = Warning, but Status = Unknown > > Hello, > > I'm looking at the "Service Detail" section on the web > GUI. Most hosts/services are working fine, but a few > services seem confused. Their Status Information (7th > column) is "WARNING [details...]" or "OK [details...]" > but their Status (3rd column) is still listed as > "UNKNOWN". Nagios determines the Status (3rd column) from the plugin exit code _only_. The Status Information is just an explanation for human readability. It would appear that the plugins you are using are exiting with a different status code than the plugin output would suggest they should be. > The problem *seems* to be more common when using Jeff > Scott's check_load_remote 1.1 or check_uptime_remote > 1.1 in combination with the remote host running > Sun_SSH_1.0.1. Sometimes they will clear-up (display > statuseses that make sense) but usually they're in > status UNKNOWN even though the status information > shows WARNING or OK. > > The same scripts used against hosts running > OpenSSH_4.1 are always fine. Is this a hint that you're executing these plugins via check_by_ssh? Perhaps check_by_ssh isn't passing the exit code back properly or more likely it's encountering problems itself and you're seeing it's exit code. Have you tried running the commands by hand as the nagios user exactly as they are defined from your central machine and verify the exit code (echo $?)? > > Why is Nagios displaying conflicting information? The plugin exit code (very important) doesn't agree with the plugin output (not important, at least to nagios). The 'plugin' in your case could be check_load_remote or check_by_ssh if that's what you're using. > How do I force Nagios to 'forget' everything about a > host and start fresh? If you're not using state retention, restart nagios. If you're using state retention, stop nagios, remove the retention file and restart nagios. > Other tips? Check your sshd log on the remote host for errors. Enable sshd debug mode. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 00:02:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Sep 2005 00:02:55 +0200 Subject: Perl plugin exit code? In-Reply-To: References: Message-ID: <431E120F.4090306@op5.se> Jeff wrote: > Hey all, > > I've written a perl script to check the status of some information from > one of our application databases. It seems to run fine manually but > nagios only get's (No Output!) when I try to use it live. > > Permissions on the perl script are set correctly, if I su - over to > nagios I can run the script as nagios. So I'm stumped and looking for > ideas here. > Are you running Nagios with the embedded perl interpreter turned on? If so, try re-compiling without it, or make sure the mini-epn can execute the script. This can (in part) be assured by making it run without warnings with the strict pragma and the -wT options to the hashbang line. > Second part of my question has to do with perl more than nagios, > Obviously I need to send the correct exit code to nagios. I set a > varialble "$status" (0, 1 or 2) in the script according to the query > results and at the end of the script I have > > Exit $status; > > Will this give the correct exit status that nagios is looking for? > Yes. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludwig.Pummer at Copart.Com Wed Sep 7 00:29:56 2005 From: Ludwig.Pummer at Copart.Com (Ludwig Pummer) Date: Tue, 06 Sep 2005 15:29:56 -0700 Subject: oscp_command never runs Message-ID: <1126045796.24890.22.camel@bender> Let me start off by saying I've already searched the mailing list for this issue and checked for issues mentioned in those messages. Of course, it's possible that I didn't find (and therefore didn't check for) the issue which is causing my problem... I'm running Nagios 1.2 compiled from source package on FreeBSD. I'm experimenting with setting up distributed + failover monitoring, so my configuration is fairly small and clean. Right now, I'm trying to make 'boba' send its service check results to 'jango' using the ocsp_command. My nagios.cfg has: ocsp_command=submit_check_result_smart ocsp_timeout=5 obsess_over_services=1 use_retained_program_state=0 I've also turned on all logging options except the initial state option. My services.cfg template for all of the services has: obsess_over_service 1 my misccommands.cfg has: define command{ command_name submit_check_result_smart command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result_smart $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$'` } I have 4 hosts and 6 services configured (1 PING on each host, and NRPE check_nagios on 2 of the 4 hosts) and they've been running fine. My event handler does a lookup on the hostname passed to it and then calls send_nsca. It also writes a line to its own log file with the arguments passed to it. If I manually run this event handler as the nagios user: root at boba# su -l nagios /usr/local/nagios/libexec/eventhandlers/submit_check_result_smart jango 'PING' OK 'test ping time 0.4ms' 1 data packet(s) sent to host successfully. root at boba# My event handler's log after the above manual run: submit_check_result_smart called with 1:jango 2:PING 3:OK 4:test ping time 0.4ms, found;1, return_code:0 On host jango, in nagios.log, I see: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;jango;PING;0;test ping time 0.4ms Nagios doesn't find any errors in my config (just 1 warning about a contact not belonging to a contact group), and I've stopped it, removed the status.sav file, and restarted it. The CGI interface's Process Info page on boba says that Obessing is enabled. I see nothing in my nagios.log about the ocsp_command being run, and my submit_check_result_smart script's log file never shows that the command was run. Anyone have any ideas why the ocsp_command is not being executed? --Ludwig Pummer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chector at Currenex.com Wed Sep 7 01:05:25 2005 From: chector at Currenex.com (Chris Hector) Date: Tue, 06 Sep 2005 16:05:25 -0700 Subject: Odd behavior adding passive service In-Reply-To: References: Message-ID: <431E20B5.8090002@currenex.com> My goal is to add a service to an existing active nagios implementation that will catch traps and send email alerts based on severity. I've got the SNMP part working fine but am having trouble with the nagios portion. I've added a service definition similar to: # Warning SNMP traps define service{ service_description TRAPWARN hostgroup_name network-devices use generic-service is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 31536000 notification_interval 0 notification_options c check_command passive_check_ok } This works fine for the traps but causes nagios to schedule the active checks based on the normal_check_interval here even though it is explicitely defined in the generic-service definition, it schedules all the active checks to run one year later instead of the 3 minutes that was defined in the template eg. define service{ name generic-service ... normal_check_interval 3 } When I remove the normal_check_interval the behavior is as expected. What I want is an initial passive check based on some very small script to set it as ok instead of pending using an active check, then set the normal_check_interval to some very long period of time so it isn't run again for say a month or year after, and handle passive trap handling normally I know an alternative is to disable the active check and simple send a submit_check_result for each IP that I'm monitoring but I was going to use this for additional functionality later. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From potus98 at yahoo.com Wed Sep 7 05:11:06 2005 From: potus98 at yahoo.com (John Christian) Date: Tue, 6 Sep 2005 20:11:06 -0700 (PDT) Subject: Status Info = Warning, but Status = Unknown In-Reply-To: References: Message-ID: <20050907031106.50147.qmail@web54703.mail.yahoo.com> For posterior's sake :-) On the monitored hosts where I was having problems, I have upgraded SSH from Sun's SSH to OpenSSH. This seems to have fixed the problem I was having. I ran some cursory tests of the scripts against two hosts (one using Sun's SSH and the other using OpenSSH). Checking the exit statuses did not provide any clues. I did not test extensively since upgrading to OpenSSH (which I'm doing on all hosts anyways) solved my problem. I was not using check_by_ssh. These scripts seem to handle the ssh-connectivity on their own. HTH a future archive searcher! -John --- Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of John > Christian > > Sent: Tuesday, September 06, 2005 4:09 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Status Info = Warning, but > Status = Unknown > > > > Hello, > > > > I'm looking at the "Service Detail" section on the > web > > GUI. Most hosts/services are working fine, but a > few > > services seem confused. Their Status Information > (7th > > column) is "WARNING [details...]" or "OK > [details...]" > > but their Status (3rd column) is still listed as > > "UNKNOWN". > > Nagios determines the Status (3rd column) from the > plugin exit code > _only_. The Status Information is just an > explanation for human > readability. It would appear that the plugins you > are using are exiting > with a different status code than the plugin output > would suggest they > should be. > > > The problem *seems* to be more common when using > Jeff > > Scott's check_load_remote 1.1 or > check_uptime_remote > > 1.1 in combination with the remote host running > > Sun_SSH_1.0.1. Sometimes they will clear-up > (display > > statuseses that make sense) but usually they're in > > status UNKNOWN even though the status information > > shows WARNING or OK. > > > > The same scripts used against hosts running > > OpenSSH_4.1 are always fine. > > Is this a hint that you're executing these plugins > via check_by_ssh? > Perhaps check_by_ssh isn't passing the exit code > back properly or more > likely it's encountering problems itself and you're > seeing it's exit > code. Have you tried running the commands by hand as > the nagios user > exactly as they are defined from your central > machine and verify the > exit code (echo $?)? > > > > > Why is Nagios displaying conflicting information? > > The plugin exit code (very important) doesn't agree > with the plugin > output (not important, at least to nagios). The > 'plugin' in your case > could be check_load_remote or check_by_ssh if that's > what you're using. > > > How do I force Nagios to 'forget' everything about > a > > host and start fresh? > > If you're not using state retention, restart nagios. > If you're using > state retention, stop nagios, remove the retention > file and restart > nagios. > > > Other tips? > > Check your sshd log on the remote host for errors. > Enable sshd debug > mode. > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software > Conference & EXPO > September 19-22, 2005 * San Francisco, CA * > Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects > & Teams * Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Wed Sep 7 05:47:21 2005 From: f1216 at yahoo.com (Fred) Date: Tue, 6 Sep 2005 20:47:21 -0700 (PDT) Subject: Odd behavior adding passive service In-Reply-To: <431E20B5.8090002@currenex.com> References: <431E20B5.8090002@currenex.com> Message-ID: <20050907034721.54270.qmail@web31903.mail.mud.yahoo.com> I had tried something similar, basically, a passive check definition for some static information such as memory size, # of processors, physical location, etc stuff that doesn't change. My attempt was to define the service in nagios and then when I start the nagios service (service nagios start) I wait till nagios is up and ready then run my plug-in from the service start script to populate the passive info. That worked, sortof. The problem was that once I do this on a larger system where I configure distributed monitoring the services timeout and go stale, then I lose the data. I wound up creating an active service on one node that runs the plug-in that populates the data for the other nodes. I wind up scheduling this active service to run once a day ... even though the data is static and will never change or result in a non-OK status. It does allow for nodes to come and go and not have to restart nagios to see the changes, although. Since you mention submit_check_result, I'm assuming you are setting up some kind of distributed monitoring setup. It would be a nice enhancement to allow a hook when a node comes back up after being down (via host-check), as you could then re-run any static services such as this. --- Chris Hector wrote: > My goal is to add a service to an existing active nagios implementation > that will catch traps and send email alerts based on severity. I've got > the SNMP part working fine but am having trouble with the nagios portion. > > I've added a service definition similar to: > > # Warning SNMP traps > define service{ > service_description TRAPWARN > hostgroup_name network-devices > use generic-service > is_volatile 1 > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 1 > normal_check_interval 31536000 > notification_interval 0 > notification_options c > check_command passive_check_ok > } > > This works fine for the traps but causes nagios to schedule the active > checks based on the normal_check_interval here even though it is > explicitely defined in the generic-service definition, it schedules all > the active checks to run one year later instead of the 3 minutes that > was defined in the template > > eg. > define service{ > name generic-service > ... > normal_check_interval 3 > } > > When I remove the normal_check_interval the behavior is as expected. > > What I want is an initial passive check based on some very small script > to set it as ok instead of pending using an active check, then set the > normal_check_interval to some very long period of time so it isn't run > again for say a month or year after, and handle passive trap handling > normally > > I know an alternative is to disable the active check and simple send a > submit_check_result for each IP that I'm monitoring but I was going to > use this for additional functionality later. > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Wed Sep 7 07:35:46 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Wed, 7 Sep 2005 06:35:46 +0100 (BST) Subject: Not able to get mail notification , Guidance requested Message-ID: <20050907053546.71558.qmail@web40810.mail.yahoo.com> Hi team I have RHEL4 , nagios 1.2 , postfix , in which MTA is working fine I had made contact , contact group , on contact details , I had given ?host-notify-by-email and notify-by-email ? for host_notification_ command and service_notification_command and for that host I have defined host " joseph" as Host "joseph" Name : joseph Alias : Joseph-TEST Address : 192.168.20.99 # Parents : Router-HO # Host Groups : HO-Server Check_command : Max_check_attempts : 3 Checks_enabled : Yes Event_handler_enabled : Nothing Event_handler : Low_flap_threshold : 0 % High_flap_threshold : 0 % Flap_detection_enabled : Nothing Process_perf_data : Nothing Retain_status_information : Yes Retain_nonstatus_information : Yes Notification_interval : 3 * 60 sec Notification_period : 24x7 Notification_options : d,u,r Notifications_enabled : Yes Stalking_options : o,d,u Status : Enabled For Services I have defined FTP as Host name : joseph Description : FTP Check Is Volatile : Nothing # Service Groups : ForServieGroup Check_command : check_ftp Check_command_arguments : Max_check_attempts : 3 Normal_check_interval : 3 * 60 sec Retry_check_interval : 3 * 60 sec Active_checks_enabled : Nothing Passive_checks_enabled : Nothing Check_period : 24x7 Parallelize_check : Nothing Obsess_over_service : Nothing Check_freshness : Nothing Freshness treshold : 0 sec Event_handler : Event_handler_arguments : Event_handler enabled : Nothing Low flap treshold : 0 % High flap treshold : 0 % Flap_detection_enabled : Nothing Process_perf_data : Nothing Retain_status_information : Nothing Retain_nonstatus_information : Nothing Notification_interval : 3 * 60 sec Notification_period : 24x7 Notification_options : w,u,c,r Notification_enabled : Yes # Contact Groups : IT-Support Stalking_options : o,w,u,c Status : Enabled I am not able to get the mail notification , when there is change for the ftp ie when FTP is stopped or start Please Guide me Thanks Joseph John ******************* My Stupid Notes http://geocities.com/jjk_saji/ ******************** ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist-nagios at taos-it.nl Wed Sep 7 09:01:38 2005 From: mailinglist-nagios at taos-it.nl (Maurice Lucas) Date: Wed, 7 Sep 2005 09:01:38 +0200 Subject: Problems with the check_ping plugin Message-ID: <017b01c5b379$fe02ac90$0364a8c0@mmid.local> Hello, I use the ping plugin with the following command check_command check_ping!100.0,20%!400.0,60% But I receive a lot of warning/failures with the following text in the email ***** Nagios ***** Notification Type: PROBLEM Service: PING Host: Default Gateway Address: MUNGED State: WARNING Date/Time: Wed Sept 7 08:20:32 CEST 2005 Additional Info: PING WARNING - Packet loss = 0%, RTA = 1.11 ms What could be the reason for this mailing? packet loss is 0 and the RTA is far below the thresholds. With kind regards, Met vriendelijke groet, Maurice Lucas TAOS-IT ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 10:10:35 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Sep 2005 10:10:35 +0200 Subject: Problems with the check_ping plugin In-Reply-To: <017b01c5b379$fe02ac90$0364a8c0@mmid.local> References: <017b01c5b379$fe02ac90$0364a8c0@mmid.local> Message-ID: <431EA07B.8010302@op5.se> Maurice Lucas wrote: > Hello, > > I use the ping plugin with the following command > check_command check_ping!100.0,20%!400.0,60% > > But I receive a lot of warning/failures with the following text in the > email > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: PING > Host: Default Gateway > Address: MUNGED > State: WARNING > > Date/Time: Wed Sept 7 08:20:32 CEST 2005 > > Additional Info: > > PING WARNING - Packet loss = 0%, RTA = 1.11 ms > > What could be the reason for this mailing? > packet loss is 0 and the RTA is far below the thresholds. > The /bin/ping (or equivalent) might send text to stdout. This isn't handled gracefully in check_ping. Try check_icmp instead. It has its own ICMP engine, so you won't see any of those weird errors from it. > > With kind regards, > Met vriendelijke groet, > > Maurice Lucas > TAOS-IT > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zoltan.arpadffy at essnet.se Wed Sep 7 15:25:06 2005 From: zoltan.arpadffy at essnet.se (Zoltan Arpadffy) Date: Wed, 7 Sep 2005 15:25:06 +0200 Subject: FW: servicegroups issue Message-ID: <362C9D444B0E0E409B516EBFAE5229F80366127A@HELIOS.essnet.se> hi, I am very new to nagios and try to explore as much I can appreciate with limited knowledge. I use 2.04b and it works perfect. Specially the hostgroups feature that it is possible to define services for entire hostgroup is fantastic. It makes possible monitor whole network with reasonable small config files. What I miss is a possibility to define servicegroups with hostgroup members. For example: define hostgroup{ hostgroup_name polarhome alias Polarhome Servers members redhat,debian,freebsd,netbsd,openbsd,vax,alpha,qnx,tru64,qnx,solaris,hpu x,irix,aix } define service{ use generic-service hostgroup_name polarhome service_description SMTP contact_groups polarhome-admins check_command check_smtp Now I would like to define (and it would be very useful to see) a servicegroup like: #define servicegroup{ servicegroup_name smtp-services alias SMTP Services members polarhome,SMTP,gate,SMTP } Unfortunately, this is not possible: Error: Could not find a service matching host name 'polarhome' and description 'SMTP' Error: Could not expand member services specified in servicegroup (config file '/usr/local/nagios/etc/servicegroups.cfg', starting on line 1) Am I doing something wrong - or this is not implemented at all. Thank you very much in advance. Best regards, Z -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Wed Sep 7 15:40:35 2005 From: m.borsani at it.net (Marco Borsani) Date: Wed, 7 Sep 2005 15:40:35 +0200 Subject: Always a WARNING state from check_snmp Message-ID: Hi all! I am testing check_snmp on a Cisco FW. All it seems to be OK when I checking Memory or Connections, but when I checking CPU (for istance cpmCPUTotal5sec) I always receive a WARNING state. You can see (in the follwing line command) that I don't mention any warning/critial range (!) #> ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 -C public #> SNMP WARNING - 9 Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ktynagios at richard-group.com Wed Sep 7 16:13:18 2005 From: ktynagios at richard-group.com (Kurt Yoder) Date: Wed, 7 Sep 2005 10:13:18 -0400 Subject: log monitoring? Message-ID: <49bd602560f771a4717a7ca957337607@richard-group.com> Hello list Has anyone tried using nagios to monitor log files? I'm thinking specifically about the types of things that programs like logcheck report. I looked around on Google, but didn't see anything specifically mentioning this type of monitoring. -- Kurt Yoder ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colet at code-energy.com Wed Sep 7 16:23:19 2005 From: colet at code-energy.com (Cole Tuininga) Date: Wed, 07 Sep 2005 10:23:19 -0400 Subject: Ethernet interface selection Message-ID: <1126102999.747.9.camel@localhost> Hi all - I have a question that will probably have a quick answer either way. I have a system with two public ethernet interfaces running Nagios 1.2. Is there a simple way to make sure that all checks for external systems go through one particular interface? Thanks in advance... -- Give a person a fish and you feed them for a day. Give a person access to the net and they won't bother you for weeks. -- Internet proverb Cole Tuininga Lead Developer Code Energy, Inc colet at code-energy.com PGP Key ID: 0x43E5755D ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schoenfeld at in-medias-res.com Wed Sep 7 16:25:03 2005 From: schoenfeld at in-medias-res.com (=?ISO-8859-15?Q?sch=F6nfeld_/_in-medias-res?=) Date: Wed, 07 Sep 2005 16:25:03 +0200 Subject: log monitoring? In-Reply-To: <49bd602560f771a4717a7ca957337607@richard-group.com> References: <49bd602560f771a4717a7ca957337607@richard-group.com> Message-ID: <431EF83F.20702@in-medias-res.com> Hi, i'm having the same problem as you, but no solution yet. Please let me know if you find something. Greets Patrick Kurt Yoder schrieb: > Hello list > > Has anyone tried using nagios to monitor log files? I'm thinking > specifically about the types of things that programs like logcheck > report. I looked around on Google, but didn't see anything specifically > mentioning this type of monitoring. > > -- > Kurt Yoder > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morel.mosolff at native-instruments.de Wed Sep 7 16:24:54 2005 From: morel.mosolff at native-instruments.de (Morel Mosolff) Date: Wed, 7 Sep 2005 16:24:54 +0200 (CEST) Subject: Ethernet interface selection In-Reply-To: <1126102999.747.9.camel@localhost> References: <1126102999.747.9.camel@localhost> Message-ID: <20050907142454.17F2942672F@mail.bln.native-instruments.de> Hello, please note that I am on vacation. best, morel -- -> Morel Mosolff -> Network-/System-Technician -> NATIVE INSTRUMENTS GmbH -> morel.mosolff at native-instruments.de -> Schlesische Strasse 28 -> http://www.native-instruments.de/ -> D-10997 Berlin -> Tel. +49-30-61 10 35-83 -> Germany -> Fax +49-30-61 10 35-35 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.schneidermayer at arz.co.at Wed Sep 7 16:25:59 2005 From: richard.schneidermayer at arz.co.at (richard.schneidermayer at arz.co.at) Date: Wed, 7 Sep 2005 16:25:59 +0200 Subject: Richard Schneidermayer/ARZ/AT ist =?ISO-8859-1?Q?au=DFer_Haus=2E?= Message-ID: Ich werde ab 22.08.2005 nicht im B?ro sein. Ich kehre zur?ck am 09.09.2005. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 16:33:38 2005 From: marc at ena.com (Marc Powell) Date: Wed, 7 Sep 2005 09:33:38 -0500 Subject: Always a WARNING state from check_snmp Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Wednesday, September 07, 2005 8:41 AM > To: NAGIOS > Subject: [Nagios-users] Always a WARNING state from check_snmp > Importance: High > > > Hi all! > > I am testing check_snmp on a Cisco FW. > All it seems to be OK when I checking Memory or Connections, but when I > checking CPU (for istance cpmCPUTotal5sec) I always receive a WARNING > state. > > You can see (in the follwing line command) that I don't mention any > warning/critial range (!) > > #> ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 -C > public > #> SNMP WARNING - 9 Since SNMP data can be anything, and it doesn't have any idea what you're checking based on the OID, how is the plugin supposed to know whether that result is good or not unless you provide warning and critical ranges? IMHO the plugin behavior is appropriate in this case. As for it working for your memory test, there are generic default values defined in check_snmp.c (powers of 2) that your memory and connection tests apparently fall within. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 16:52:37 2005 From: marc at ena.com (Marc Powell) Date: Wed, 7 Sep 2005 09:52:37 -0500 Subject: log monitoring? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kurt Yoder > Sent: Wednesday, September 07, 2005 9:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] log monitoring? > > Hello list > > Has anyone tried using nagios to monitor log files? I'm thinking > specifically about the types of things that programs like logcheck > report. I looked around on Google, but didn't see anything specifically > mentioning this type of monitoring. http://thread.gmane.org/gmane.network.nagios.user/26352 looks to touch on two of the most common methods -- check_log2.pl and sec+nsca. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 17:00:14 2005 From: marc at ena.com (Marc Powell) Date: Wed, 7 Sep 2005 10:00:14 -0500 Subject: Ethernet interface selection Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Cole Tuininga > Sent: Wednesday, September 07, 2005 9:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Ethernet interface selection > > > Hi all - I have a question that will probably have a quick answer either > way. > > I have a system with two public ethernet interfaces running Nagios 1.2. > Is there a simple way to make sure that all checks for external systems > go through one particular interface? > > Thanks in advance... This has been discussed numerous times on the list. The synopsis is that your operating system controls which interface to use based on the routes you have created to the destination networks. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Sep 7 17:05:48 2005 From: m.borsani at it.net (Marco Borsani) Date: Wed, 7 Sep 2005 17:05:48 +0200 Subject: R: Always a WARNING state from check_snmp In-Reply-To: References: Message-ID: Check_snmp does not know how to interpretate the results, but if I don't insert any ranges it should give me an OK state (like it did for memory and connections). check_snmp gives me ALWAYS warning , whichever results it receives! Marco -}Since SNMP data can be anything, and it doesn't have any idea what -}you're checking based on the OID, how is the plugin supposed to know -}whether that result is good or not unless you provide warning and -}critical ranges? IMHO the plugin behavior is appropriate in this case. -} -}As for it working for your memory test, there are generic default values -}defined in check_snmp.c (powers of 2) that your memory and connection -}tests apparently fall within. -} -}-- -}Marc -} -} -}------------------------------------------------------- -}SF.Net email is Sponsored by the Better Software Conference & EXPO -}September 19-22, 2005 * San Francisco, CA * Development Lifecycle -}Practices -}Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA -}Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 17:11:45 2005 From: marc at ena.com (Marc Powell) Date: Wed, 7 Sep 2005 10:11:45 -0500 Subject: Not able to get mail notification , Guidance requested Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John Joseph > Sent: Wednesday, September 07, 2005 12:36 AM > To: Nagios User > Subject: [Nagios-users] Not able to get mail notification , Guidance > requested > > Hi team > I have RHEL4 , nagios 1.2 , postfix , in which MTA is > working fine > I had made contact , contact group , on contact > details , I had given "host-notify-by-email and > notify-by-email " for host_notification_ command and > service_notification_command > and for that host > > > I have defined host " joseph" as > > Host "joseph" > Name : joseph > Alias : Joseph-TEST > Address : 192.168.20.99 > # Parents : Router-HO > # Host Groups : HO-Server > Check_command : > Max_check_attempts : 3 > Checks_enabled : Yes > Event_handler_enabled : Nothing > Event_handler : > Low_flap_threshold : 0 % > High_flap_threshold : 0 % > Flap_detection_enabled : Nothing > Process_perf_data : Nothing > Retain_status_information : Yes > Retain_nonstatus_information : Yes > Notification_interval : 3 * 60 sec > Notification_period : 24x7 > Notification_options : d,u,r > Notifications_enabled : Yes > Stalking_options : o,d,u > Status : Enabled > > For Services > I have defined FTP as > > Host name : joseph > Description : FTP Check > Is Volatile : Nothing > # Service Groups : ForServieGroup > Check_command : check_ftp > Check_command_arguments : > Max_check_attempts : 3 > Normal_check_interval : 3 * 60 sec > Retry_check_interval : 3 * 60 sec > Active_checks_enabled : Nothing > Passive_checks_enabled : Nothing > Check_period : 24x7 > Parallelize_check : Nothing > Obsess_over_service : Nothing > Check_freshness : Nothing > Freshness treshold : 0 sec > Event_handler : > Event_handler_arguments : > Event_handler enabled : Nothing > Low flap treshold : 0 % > High flap treshold : 0 % > Flap_detection_enabled : Nothing > Process_perf_data : Nothing > Retain_status_information : Nothing > Retain_nonstatus_information : Nothing > Notification_interval : 3 * 60 sec > Notification_period : 24x7 > Notification_options : w,u,c,r > Notification_enabled : Yes > # Contact Groups : IT-Support > Stalking_options : o,w,u,c > Status : Enabled > > > I am not able to get the mail notification , when > there is change for the ftp ie when FTP is stopped or > start The above information indicates that you don't have active or passive checks enabled for the service. Is that the case? If so, you're not checking the service so no notifications will ever go out. If you are checking the service and the information above is incorrect, check nagios.log for a notification attempt. Check your postfix logs. Verify that you can send a notification by issuing your notification commands exactly as they are defined as the nagios user (not root!) - post the test here. If you still have problems, please post the exact host and service definitions as well as your notification commands to this list - the information above is not them. Nagios.log entries around the time that the notification should happen would be useful as well. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 17:14:23 2005 From: marc at ena.com (Marc Powell) Date: Wed, 7 Sep 2005 10:14:23 -0500 Subject: Status Info = Warning, but Status = Unknown Message-ID: Thanks for posting the followup =) -- Marc > -----Original Message----- > From: John Christian [mailto:potus98 at yahoo.com] > Sent: Tuesday, September 06, 2005 10:11 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Status Info = Warning, but Status = Unknown > > For posterior's sake :-) > > On the monitored hosts where I was having problems, I > have upgraded SSH from Sun's SSH to OpenSSH. This > seems to have fixed the problem I was having. > > I ran some cursory tests of the scripts against two > hosts (one using Sun's SSH and the other using > OpenSSH). Checking the exit statuses did not provide > any clues. I did not test extensively since upgrading > to OpenSSH (which I'm doing on all hosts anyways) > solved my problem. > > I was not using check_by_ssh. These scripts seem to > handle the ssh-connectivity on their own. > > HTH a future archive searcher! > -John > > --- Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of John > > Christian > > > Sent: Tuesday, September 06, 2005 4:09 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Status Info = Warning, but > > Status = Unknown > > > > > > Hello, > > > > > > I'm looking at the "Service Detail" section on the > > web > > > GUI. Most hosts/services are working fine, but a > > few > > > services seem confused. Their Status Information > > (7th > > > column) is "WARNING [details...]" or "OK > > [details...]" > > > but their Status (3rd column) is still listed as > > > "UNKNOWN". > > > > Nagios determines the Status (3rd column) from the > > plugin exit code > > _only_. The Status Information is just an > > explanation for human > > readability. It would appear that the plugins you > > are using are exiting > > with a different status code than the plugin output > > would suggest they > > should be. > > > > > The problem *seems* to be more common when using > > Jeff > > > Scott's check_load_remote 1.1 or > > check_uptime_remote > > > 1.1 in combination with the remote host running > > > Sun_SSH_1.0.1. Sometimes they will clear-up > > (display > > > statuseses that make sense) but usually they're in > > > status UNKNOWN even though the status information > > > shows WARNING or OK. > > > > > > The same scripts used against hosts running > > > OpenSSH_4.1 are always fine. > > > > Is this a hint that you're executing these plugins > > via check_by_ssh? > > Perhaps check_by_ssh isn't passing the exit code > > back properly or more > > likely it's encountering problems itself and you're > > seeing it's exit > > code. Have you tried running the commands by hand as > > the nagios user > > exactly as they are defined from your central > > machine and verify the > > exit code (echo $?)? > > > > > > > > Why is Nagios displaying conflicting information? > > > > The plugin exit code (very important) doesn't agree > > with the plugin > > output (not important, at least to nagios). The > > 'plugin' in your case > > could be check_load_remote or check_by_ssh if that's > > what you're using. > > > > > How do I force Nagios to 'forget' everything about > > a > > > host and start fresh? > > > > If you're not using state retention, restart nagios. > > If you're using > > state retention, stop nagios, remove the retention > > file and restart > > nagios. > > > > > Other tips? > > > > Check your sshd log on the remote host for errors. > > Enable sshd debug > > mode. > > > > -- > > Marc > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software > > Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * > > Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects > > & Teams * Testing & QA > > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being > > sent to /dev/null > > > > > > > > ______________________________________________________ > Click here to donate to the Hurricane Katrina relief effort. > http://store.yahoo.com/redcross-donate3/ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard.Miller at baesystems.com Wed Sep 7 17:26:58 2005 From: Leonard.Miller at baesystems.com (Leonard Miller) Date: Wed, 07 Sep 2005 10:26:58 -0500 Subject: Service Group Question Message-ID: Hi, I've been using Nagios for a few weeks now and like it a lot, but now I am starting to get into more depth with it. Which brings me to my question regarding service groups. If I setup a service define service{ use generic-service host_name HOSTNAME1 service_description Uptime is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups wireless-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_uptime!$USER5$ } then setup the service group to check multiple hosts define servicegroup{ servicegroup_name wireless_radios alias Wireless Uptime members HOSTNAME1,UPTIME HOSTNAME2,UPTIME HOSTNAME3,UPTIME } What is to keep Nagios from doing a redundant check of HOSTNAME1? Maybe I'm thinking too hard. Thanks in advance Leonard ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsmforum at optonline.net Wed Sep 7 17:45:36 2005 From: jsmforum at optonline.net (Jeff) Date: Wed, 7 Sep 2005 11:45:36 -0400 Subject: Perl plugin exit code? In-Reply-To: References: Message-ID: ALL, Thanks for the suggestions. I did manage to get it to work. I had to use strict and declare all my variables. Thanks, Jeff > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Andreas Ericsson > Sent: Tuesday, September 06, 2005 18:03 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Perl plugin exit code? > > > Jeff wrote: > > Hey all, > > > > I've written a perl script to check the status of some information > > from one of our application databases. It seems to run > fine manually > > but nagios only get's (No Output!) when I try to use it live. > > > > Permissions on the perl script are set correctly, if I su - over to > > nagios I can run the script as nagios. So I'm stumped and > looking for > > ideas here. > > > > Are you running Nagios with the embedded perl interpreter > turned on? If > so, try re-compiling without it, or make sure the mini-epn > can execute > the script. This can (in part) be assured by making it run without > warnings with the strict pragma and the -wT options to the > hashbang line. > > > Second part of my question has to do with perl more than nagios, > > Obviously I need to send the correct exit code to nagios. I set a > > varialble "$status" (0, 1 or 2) in the script according to > the query > > results and at the end of the script I have > > > > Exit $status; > > > > Will this give the correct exit status that nagios is looking for? > > > > Yes. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & > EXPO September 19-22, 2005 * San Francisco, CA * Development > Lifecycle Practices Agile & Plan-Driven Development * > Managing Projects & Teams * Testing & QA Security * Process > Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chandresh.suthar at gmail.com Wed Sep 7 18:22:14 2005 From: chandresh.suthar at gmail.com (Chandresh Suthar) Date: Wed, 7 Sep 2005 21:52:14 +0530 Subject: please help me Message-ID: Hi, Please help me in sending notifications. I have only one configuration file for contactfgroup,hostsgroup etc. "minimal.cfg" minimal.cfg : define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } # This is a sample host notification command that can be used to send email # notifications (about host alerts) to contacts. define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email nagios at localhost } define contact{ contact_name chandresh alias Administrator service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email "personalemail id" } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios } define contactgroup{ contactgroup_name admingrp alias Administrators members chandresh } define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name webmail.com alias localhost address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admingrp } define service{ use generic-service ; Name of service template to use host_name webmail.com service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admingrp notification_interval 960 notification_period 24x7 check_command check_http } I am able to send mails to my persoanl email id by "mail" command. But notification is not going. I have configured sendmail. I am not even receiving mails on local system at nagios at localhost( I tried). I am even not getting any error messages in logs of nagios. Please help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Sep 7 18:27:27 2005 From: marc at ena.com (Marc Powell) Date: Wed, 7 Sep 2005 11:27:27 -0500 Subject: oscp_command never runs Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ludwig Pummer > Sent: Tuesday, September 06, 2005 5:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] oscp_command never runs > > Let me start off by saying I've already searched the mailing list for this > issue and checked for issues mentioned in those messages. Of course, it's > possible that I didn't find (and therefore didn't check for) the issue > which is causing my problem... > > I'm running Nagios 1.2 compiled from source package on FreeBSD. I'm > experimenting with setting up distributed + failover monitoring, so my > configuration is fairly small and clean. Right now, I'm trying to make > 'boba' send its service check results to 'jango' using the ocsp_command. > > My nagios.cfg has: > ocsp_command=submit_check_result_smart > ocsp_timeout=5 > obsess_over_services=1 > use_retained_program_state=0 > I've also turned on all logging options except the initial state option. > > My services.cfg template for all of the services has: > obsess_over_service 1 > > my misccommands.cfg has: > define command{ > command_name submit_check_result_smart > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result_smart > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$'` > } > > I have 4 hosts and 6 services configured (1 PING on each host, and NRPE > check_nagios on 2 of the 4 hosts) and they've been running fine. > > My event handler does a lookup on the hostname passed to it and then calls > send_nsca. It also writes a line to its own log file with the arguments > passed to it. > > If I manually run this event handler as the nagios user: > root at boba# su -l nagios > /usr/local/nagios/libexec/eventhandlers/submit_check_result_smart jango > 'PING' OK 'test ping time 0.4ms' > 1 data packet(s) sent to host successfully. > root at boba# > > My event handler's log after the above manual run: > submit_check_result_smart called with 1:jango 2:PING 3:OK 4:test ping time > 0.4ms, found;1, return_code:0 > > On host jango, in nagios.log, I see: > EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;jango;PING;0;test ping time > 0.4ms > > Nagios doesn't find any errors in my config (just 1 warning about a > contact not belonging to a contact group), and I've stopped it, removed > the status.sav file, and restarted it. The CGI interface's Process Info > page on boba says that Obessing is enabled. I see nothing in my nagios.log > about the ocsp_command being run, and my submit_check_result_smart > script's log file never shows that the command was run. > > Anyone have any ideas why the ocsp_command is not being executed? Not really. Everything looks correct as detailed above. My next step would be to simplify the submit_check_result_smart command to at least give a direction to look -- define command{ command_name submit_check_result_smart command_line /bin/echo "I ran for '$SERVICEDESC$' on $HOSTNAME$" > /tmp/ocsp } Make sure that nagios really is restarting as well. Nagios doesn't normally log OSCP execution but you may be able to see those by recompiling with a higher debug level. There haven't been any problems with the OCSP code for as long as I can remember so you probably don't need to do that. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard.Miller at baesystems.com Wed Sep 7 18:45:01 2005 From: Leonard.Miller at baesystems.com (Leonard Miller) Date: Wed, 07 Sep 2005 11:45:01 -0500 Subject: Service Group Question Message-ID: I think I get it. I use Hostgroup_name instead of Host_name. Right? >>> "Leonard Miller" 9/7/2005 11:26:58 AM >>> Hi, I've been using Nagios for a few weeks now and like it a lot, but now I am starting to get into more depth with it. Which brings me to my question regarding service groups. If I setup a service define service{ use generic-service host_name HOSTNAME1 service_description Uptime is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups wireless-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_uptime!$USER5$ } then setup the service group to check multiple hosts define servicegroup{ servicegroup_name wireless_radios alias Wireless Uptime members HOSTNAME1,UPTIME HOSTNAME2,UPTIME HOSTNAME3,UPTIME } What is to keep Nagios from doing a redundant check of HOSTNAME1? Maybe I'm thinking too hard. Thanks in advance Leonard \ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 18:45:45 2005 From: marc at ena.com (Marc Powell) Date: Wed, 7 Sep 2005 11:45:45 -0500 Subject: please help me Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Chandresh Suthar > Sent: Wednesday, September 07, 2005 11:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] please help me > > Hi, > > Please help me in sending notifications. I have only one configuration > file for contactfgroup,hostsgroup etc. "minimal.cfg" > [good stuff removed] > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > Have you tried executing this exactly as defined above (with substitutions of course) as the nagios user? [good stuff removed] > > define contact{ > contact_name chandresh > alias Administrator > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email "personalemail id" > } Quotes aren't necessary but I don't expect they'd be a problem. [good stuff removed] > define service{ > use generic-service ; Name of > service template to use > host_name webmail.com > service_description HTTP > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admingrp > notification_interval 960 > notification_period 24x7 > check_command check_http > } You do not appear to have any notification_options for this service. Without it nagios will not notify for this service. This is most likely your problem based on the information provided. > I am able to send mails to my persoanl email id by "mail" command. But > notification is not going. I have configured sendmail. I am not even > receiving mails on local system at nagios at localhost > ( I tried). I am even not getting any error > messages in logs of nagios. Do you see a notification attempt in nagios.log? maillog? -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Wed Sep 7 19:06:28 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Wed, 7 Sep 2005 10:06:28 -0700 Subject: Nagios Failover system with state sync - possible? Message-ID: <20050907170628.GE3283@think.alaya.mine.nu> Is it possible to have a nagios setup in which the state information on monitored hosts is continuously synced from master to slave such that in the event of failover to the slave all state data will be retained? The model I have in my head is of the way MySQL maintains real-time replication between a master and slave and can thus handle failovers gracefully via heartbeat. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludwig.Pummer at Copart.Com Wed Sep 7 19:19:18 2005 From: Ludwig.Pummer at Copart.Com (Ludwig Pummer) Date: Wed, 7 Sep 2005 10:19:18 -0700 Subject: oscp_command never runs Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Wednesday, September 07, 2005 9:27 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] oscp_command never runs > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Ludwig Pummer > > Sent: Tuesday, September 06, 2005 5:30 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] oscp_command never runs ... > > my misccommands.cfg has: > > define command{ > > command_name submit_check_result_smart > > command_line > > /usr/local/nagios/libexec/eventhandlers/submit_check_result_smart > > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$'` } ... > > Anyone have any ideas why the ocsp_command is not being executed? > > Not really. Everything looks correct as detailed above. My > next step would be to simplify the submit_check_result_smart > command to at least give a direction to look -- > > define command{ > command_name submit_check_result_smart > command_line /bin/echo "I ran for '$SERVICEDESC$' on > $HOSTNAME$" > /tmp/ocsp > } > > Make sure that nagios really is restarting as well. Nagios > doesn't normally log OSCP execution but you may be able to > see those by recompiling with a higher debug level. There > haven't been any problems with the OCSP code for as long as I > can remember so you probably don't need to do that. > > -- > Marc Your suggested command worked fine, so I went back to figuring out why mine didn't. Configuring with --enable-DEBUG0 --enable-DEBUG1 --enable-DEBUG2 --enable-DEBUG3 --enable-DEBUG4 made for a much noisier Nagios, but at least I was able to debug. FYI, the CGI directory won't compile if you have those debugging messages turned on. I eventually tracked it down to an extra backtick (`) in my command_line above. When I ran the debug nagios in non-daemon mode, sh displayed "Syntax error: EOF in backquote substitution" when my ocsp_command was run. Thanks for your help. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Praveenm at niit.com Wed Sep 7 19:18:05 2005 From: Praveenm at niit.com (Praveen Muthyala Manohar) Date: Wed, 7 Sep 2005 13:18:05 -0400 Subject: Evaluate a string (GET/POST) Message-ID: Hi All, Using Nagios, can I evaluate a URL to return string using GET and POST methods? Most commercial monitoring tools have this feature. Thanks. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Praveenm at niit.com Wed Sep 7 19:40:59 2005 From: Praveenm at niit.com (Praveen Muthyala Manohar) Date: Wed, 7 Sep 2005 13:40:59 -0400 Subject: check_oracle Message-ID: Would appreciate if someone can share all possible checkcommand.cfg definitions for check_oracle. Thanks a ton. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Wed Sep 7 19:52:58 2005 From: f1216 at yahoo.com (Fred) Date: Wed, 7 Sep 2005 10:52:58 -0700 (PDT) Subject: Nagios Failover system with state sync - possible? In-Reply-To: <20050907170628.GE3283@think.alaya.mine.nu> References: <20050907170628.GE3283@think.alaya.mine.nu> Message-ID: <20050907175258.20901.qmail@web31909.mail.mud.yahoo.com> I would bet if you replicate your nagios configuration to another node and have your status.sav file on common highly available storage and the main monitoring node fails, a backup node could start nagios using the same configuration and pick right up more or less ... You don't need replication, but even if you did, you could probably just sync out the status.sav file (assuming you have nagios configured to flush it out in a reasonable interval, the default is 15seconds I think) and then copy the status.sav file to the backup node just in case. -FredC --- prosolutions at gmx.net wrote: > Is it possible to have a nagios setup in which the state information on > monitored hosts is continuously synced from master to slave such that in > the event of failover to the slave all state data will be retained? > > The model I have in my head is of the way MySQL maintains real-time > replication between a master and slave and can thus handle failovers > gracefully via heartbeat. > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Wed Sep 7 20:03:35 2005 From: f1216 at yahoo.com (Fred) Date: Wed, 7 Sep 2005 11:03:35 -0700 (PDT) Subject: Service check delays in distributed monitor setup Message-ID: <20050907180335.14632.qmail@web31915.mail.mud.yahoo.com> I think I have found the source of my issue with distributed monitoring and service checks. It turns out that if you enable distributed monitoring, even passive service check definitions seem to get scheduled to run when nagios starts up. If you have say 10350 services (give or take one) and use smart scheduling of services, you could easily see 3+ hours between the time that the first service is scheduled and the last one. Changing the smart schduling to "n" for no delay causes the services to not be scheduled in the future, but by the time nagios processes the entire configuration file, the start time is in the past and I think nagios forgets about the service so it is never scheduled again. I'm currently trying a service_inter_check_delay_method=0.05 which puts me at about 3 minutes for 10,000+ services, which seems to be enough time for nagios to startup and still have its first pending service scheduled in the near future rather then the near past ... Does this make sense to anyone who has been messing with these configuration settings? Is there a better way to do this? I.e., I would like for nagios to *not* consider the passive checks in any scheduling. I actually only have a small number of active checks which when run will populate the rest of the passive checks for the entire cluster, the problem is that it seems the node that I run these checks on is alphabetically *after* all of the other nodes so it seems to be scheduled last and has services starting the furthest out. Thanks. -FredC ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 20:06:11 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Sep 2005 20:06:11 +0200 Subject: Evaluate a string (GET/POST) In-Reply-To: References: Message-ID: <431F2C13.2090201@op5.se> Praveen Muthyala Manohar wrote: > Hi All, > > Using Nagios, can I evaluate a URL to return string using GET and POST > methods? > Yes. RTFHO for details. > Most commercial monitoring tools have this feature. > I'd expect no less. It's a no-brainer codewise, so the tools that doesn't should be taken somewhere and shot. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 20:09:11 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Sep 2005 20:09:11 +0200 Subject: check_oracle In-Reply-To: References: Message-ID: <431F2CC7.5070907@op5.se> Praveen Muthyala Manohar wrote: > Would appreciate if someone can share all possible checkcommand.cfg > definitions for check_oracle. There's really a near-infinite number of combinations, depending on what options you're using, and what your databases and their tables are named. ./check_oracle --help and a minute or two of pondering should do the trick for you. > Thanks a ton. > You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 20:29:07 2005 From: marc at ena.com (Marc Powell) Date: Wed, 7 Sep 2005 13:29:07 -0500 Subject: roomity.com spam Message-ID: Is anyone else getting off-list spam from roomity.com? They clearly state they got my address from this list with an 'opt-out' e-mail address. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjn at umn.edu Wed Sep 7 20:29:11 2005 From: tjn at umn.edu (Travis J. Noll) Date: Wed, 07 Sep 2005 13:29:11 -0500 Subject: partial service_perfdata_command failure Message-ID: <431F3177.9070203@umn.edu> Thanks in advance for any thoughts on this matter. I've been handed the keys to a generally neglected nagios install and been given marching orders to get load / mem usage graphs up and running. I found a partially configured nagiostat in our code tree and have gotten it to work on some occasions. My problem is that the service_perfdata_command does not seem to be running for all services. I have the lines: # nagiostat service_perfdata_command=service-perf-data-handler but have also reverted to uncommenting: # testing #service_perfdata_command=process-service-perfdata where I was able to see both in /usr/local/nagios/nagiostat/debug.log and /tmp/service-perfdata that not all of the service updates available via the web interface are being "post-processed" One host is handing off disk usage information to the service_perfdata_command but not load or memory services. Other hosts are able to pipe load and memory usage information fine. Another host appears to have no information available in either of the expected log files, though it stays current within the web interface to nagios. Sorry to be such a feeb, but I've only been working on this a couple days and have been unable to find an answer in docs, google, or archives. Please let me know what configuration information I can dig up to be helpful. Thanks again, Travis ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Wed Sep 7 20:55:07 2005 From: RLAdams at Kelsey-Seybold.com (Adams, Russell L.) Date: Wed, 7 Sep 2005 13:55:07 -0500 Subject: Nagios Failover system with state sync - possible? In-Reply-To: <20050907170628.GE3283@think.alaya.mine.nu> References: <20050907170628.GE3283@think.alaya.mine.nu> Message-ID: <20050907185507.GL18813@pingu.ksnet.com> Heartbeat and DRBD. Russell On Wed, Sep 07, 2005 at 10:06:28AM -0700, prosolutions at gmx.net wrote: > Is it possible to have a nagios setup in which the state information on > monitored hosts is continuously synced from master to slave such that in > the event of failover to the slave all state data will be retained? > > The model I have in my head is of the way MySQL maintains real-time replication between a master and slave and can thus handle failovers gracefully via heartbeat. > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-list at dale.us Wed Sep 7 22:35:37 2005 From: nagios-list at dale.us (Dale Blount) Date: Wed, 07 Sep 2005 16:35:37 -0400 Subject: Questions Galore Message-ID: <1126125337.8742.11.camel@dale.velocity.net> Hey Guys, I'm finally finishing up my Nagios installation and have a few questions that I haven't been able to find good answers to. 1) I have one host that has a bad mobo/NIC/driver or something that times out every so often. The box is going away soon so I don't really care to fix it, however almost every time this box, another certain hosts SMTP service goes offline as well. Could this be caused by Nagios' scheduling order (same host always goes down with it) or do I just have a genuine network problem? 2) I have a couple contacts with pager address defined, but not all host groups they belong to should send pages. Should I make this person two contacts - user-email and user-page? Add both of them to hosts groups where they should get paged or is there a cleaner solution. 3) Does anyone have a good way to get alerts to AIM addresses? Everything I can find is incomplete. 4) Every so often I get hosts which are physically unreachable. check_ping however, just times out at the -t X setting instead of reporting unreachable. Any ideas? Thanks for all the help, Dale ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 22:53:32 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Sep 2005 22:53:32 +0200 Subject: Questions Galore In-Reply-To: <1126125337.8742.11.camel@dale.velocity.net> References: <1126125337.8742.11.camel@dale.velocity.net> Message-ID: <431F534C.2090305@op5.se> Dale Blount wrote: > Hey Guys, > > > I'm finally finishing up my Nagios installation and have a few questions > that I haven't been able to find good answers to. > > > 1) I have one host that has a bad mobo/NIC/driver or something that > times out every so often. The box is going away soon so I don't really > care to fix it, however almost every time this box, another certain > hosts SMTP service goes offline as well. Could this be caused by > Nagios' scheduling order (same host always goes down with it) or do I > just have a genuine network problem? > Without further investigation it's impossible to say for sure, but it sounds like a network problem. > 2) I have a couple contacts with pager address defined, but not all host > groups they belong to should send pages. Should I make this person two > contacts - user-email and user-page? Add both of them to hosts groups > where they should get paged or is there a cleaner solution. > It's normal to define two contacts, as the two addresses are distrinctly different targets. People tend to associate contacts with people rather than notification targets, which messes up the planning. > 3) Does anyone have a good way to get alerts to AIM addresses? > Everything I can find is incomplete. > www.nagiosexchange.com (or .org, I can't remember) has some stuff on notifications. Otherwise, google is your friend. It should be possible to hack something up with that text-based IM-thingie. Can't remember its name right now, but it supports MSN, ICQ, AIM and most of the other common things. > 4) Every so often I get hosts which are physically unreachable. > check_ping however, just times out at the -t X setting instead of > reporting unreachable. Any ideas? > This happens because a switch or router on the same network still has the MAC-address in its ARP-tables. There's really no solution to this the first time the plugin is run. check_icmp does a better job of detecting it, but will most likely also time out the first time or two it's run, given the low timeout thresholds generally in use with nagios plugins compared to the higher ones used in most networks. > > Thanks for all the help, > > Dale > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misc at viceconsulting.co.nz Wed Sep 7 22:56:50 2005 From: misc at viceconsulting.co.nz (misc at viceconsulting.co.nz) Date: Thu, 8 Sep 2005 08:56:50 +1200 (NZST) Subject: Nagios spawning rogue nagios processes eventually crashing Nagios server Message-ID: <37061.127.0.0.1.1126126610.squirrel@www.goldenfields.co.nz> Hi All, I'm having a bit of a problem with my Central Nagios server - it is leaking memory because it is spawning nagios processes without closing them. Note: information such as OS flavour and version, architecture, compile options etc, are listed at the end of this email. I have 6 Nagios servers, 5 are distributed, and report to the the 6th Nagios server (the Central Nagios server). All Nagios servers are installed from a custom built RPM. Details of the build environment are listed below. Distributed Nagios servers are sending service check results to the Central Nagios server via NSCA. The central Nagios server is running Nagios v2.0b4. I am using NSCA v2.4. The central Nagios server is receiving passive check results from the 5 distributed servers. It is receiving results from 82 hosts and 1300 services. I believe the reason Nagios is leaking memory has something to do with processing the performance data. I am using nagiosgraph v0.4 (nagiosgraph.sf.net) to process performance data. I am using the default processing method (ie nagiosgraph is run everytime a service check result is received by the central Nagios server). As per the documentation, I believe everytime a service check is received, Nagios will spawn a new Nagios instance to run the performance processing command. The problem is, that over time, hundreds of rogue Nagios processes end up running on the Central Nagios server and never closing themselves. Each rogue Nagios process chews up memory, and eventually the machine runs out of memory and swap, rendering the machine unusable (has to be rebooted). Each rogue nagios process is listed as having process 1 as its parent, rather than the master nagios process, which is strange, so it appears to be getting separated from its parent at some point. I believe this may be caused by many processes competing to write to the same file (possibly /var/log/nagios/rw/nagios.cmd), but due to locking or race conditions being unable to and thus remaining running permanently. The performance processing command being run is: /usr/bin/perl /usr/local/nagiosrrd/insert_fast.pl "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERV ICEPERFDATA$" The command is being run via Perl itself, I have not compiled in embedded Perl support. (Perl version) # perl -v This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail) I have no problems whatsoever if I reduce the number of hosts sending their results to the Central Nagios server. With 8 hosts and about 100 services, there is no memory loss. The CPU usage % is about 10% (5% IO wait, 3% system, 2% user). I also have no problems with memory loss if I disable processing performance data. With 1300 services reporting, this equates to about 4 services per second (check performed every 5 minutes). There is never more than 1 or 2 perl processes running, so Perl is running the performance processing script fine and exiting. With 1300 services reporting, the CPU usage % is at 100% continually (1-3% IO wait, 80-90% system, 10-15% user). The load average isn't too bad: # uptime 19:52:13 up 3:24, 1 user, load average: 2.40, 2.78, 2.57 Sample snippet of the process listing (full process listing below): (Currently after being up 3.5 hours, there are 227 nagios processes, and 131 nsca processes running). ... nagios 27775 1 0 17:05 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30478 1 0 17:09 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 31653 1 0 17:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 465 1 0 17:12 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 834 1 0 17:13 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 1935 1 0 17:14 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 5738 1 0 17:19 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 6068 1 0 17:20 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 7110 1 0 17:21 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 8154 1 0 17:22 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9233 1 0 17:24 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9681 1 0 17:24 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 10437 1 0 17:25 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg ... nagios 1248 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1250 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1251 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1252 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1253 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1254 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1255 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1256 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d Running strace on these rogue processes did not allow me to conclusively figure out what was going on: # strace -p 27775 Process 27775 attached - interrupt to quit write(7, "hostname1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname5\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname8\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 ... exit_group(0) = ? >From 5-100 hostnames listed on every strace I try. It seems strange, it basically writes a list of some of the hosts it is monitoring. Running strace on a rogue process once or sometimes twice, seems to "revive" it and then it exits on its own accord. Note: the actual hostnames have been replaced with "hostnameX". The actual hostnames are not in any particular order in the strace output. They are not in alphabetical order. # strace -p 23454 Process 23454 attached - interrupt to quit write(7, "hostname41\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname42\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname43\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname44\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname45\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 write(7, "hostname46\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 exit_group(0) = ? Process 23454 detached Running strace on some of the nsca processes is possibly more enlightening: # ps -ef | grep 1280 nagios 1280 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d # strace -p 1280 Process 1280 attached - interrupt to quit open("/var/log/nagios/rw/nagios.cmd", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 fstat64(3, {st_mode=S_IFIFO|0660, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, - 1, 0) = 0xb75f6000 write(3, "[1126067362] PROCESS_SERVICE_CHE"..., 138) = 138 close(3) = 0 munmap(0xb75f6000, 4096) = 0 time([1126080660]) = 1126080660 recv(5, "", 720, 0) = 0 munlock(0x8208358, 56) = 0 munlock(0x8208398, 4168) = 0 munlock(0x8207148, 12) = 0 close(5) = 0 exit_group(0) = ? Process 1280 detached As per the nagios processes, running strace on the process seems to "revive" the process and it exits itself on its own accord. NSCA was also installed from a custom built RPM (built on the same environment as the Nagios RPM). NSCA is using blowfish encryption. lsof output of a rogue nagios process: # /usr/sbin/lsof -p 4775 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME nagios 4775 nagios cwd DIR 8,7 1024 2 / nagios 4775 nagios rtd DIR 8,7 1024 2 / nagios 4775 nagios txt REG 8,6 402680 39127 /usr/bin/nagios nagios 4775 nagios mem REG 8,7 1571824 81602 /lib/tls/libc- 2.3.2.so nagios 4775 nagios mem REG 8,7 1792244 42919 /lib/libnss_ldap- 2.3.2.so nagios 4775 nagios mem REG 8,7 76540 42887 /lib/libresolv- 2.3.2.so nagios 4775 nagios mem REG 8,6 10912 6201 /usr/lib/sasl/libcrammd5.so.1.0.19 nagios 4775 nagios mem REG 8,6 30724 6205 /usr/lib/sasl/libdigestmd5.so.0.0.20 nagios 4775 nagios mem REG 8,6 385252 93994 /usr/kerberos/lib/libkrb5.so.3.1 nagios 4775 nagios mem REG 8,6 13004 6256 /usr/lib/sasl/libgssapiv2.so.1.0.19 nagios 4775 nagios mem REG 8,6 76712 93933 /usr/kerberos/lib/libgssapi_krb5.so.2.2 nagios 4775 nagios mem REG 8,6 11844 93939 /usr/kerberos/lib/libdes425.so.3.0 nagios 4775 nagios mem REG 8,6 5900 6188 /usr/lib/sasl/libanonymous.so.1.0.17 nagios 4775 nagios mem REG 8,6 8144 6264 /usr/lib/sasl/liblogin.so.0.0.7 nagios 4775 nagios mem REG 8,7 30488 42910 /lib/libpam.so.0.75 nagios 4775 nagios mem REG 8,7 51952 42875 /lib/libnss_files-2.3.2.so nagios 4775 nagios mem REG 8,7 23388 42853 /lib/libcrypt- 2.3.2.so nagios 4775 nagios mem REG 8,6 72552 93952 /usr/kerberos/lib/libk5crypto.so.3.0 nagios 4775 nagios mem REG 8,6 22808 49102 /usr/lib/libltdl.so.3.1.0 nagios 4775 nagios mem REG 8,7 97712 81611 /lib/tls/libpthread-0.60.so nagios 4775 nagios mem REG 8,7 8548 42907 /lib/liblaus.so.1.0.0 nagios 4775 nagios mem REG 8,7 18632 42872 /lib/libnss_dns- 2.3.2.so nagios 4775 nagios mem REG 8,7 14868 42855 /lib/libdl- 2.3.2.so nagios 4775 nagios mem REG 8,6 7896 6268 /usr/lib/sasl/libplain.so.1.0.16 nagios 4775 nagios mem REG 8,7 213508 81606 /lib/tls/libm- 2.3.2.so nagios 4775 nagios mem REG 8,7 106912 42842 /lib/ld-2.3.2.so nagios 4775 nagios mem REG 8,6 5540 93936 /usr/kerberos/lib/libcom_err.so.3.0 nagios 4775 nagios 0r CHR 1,3 9675 /dev/null nagios 4775 nagios 1w CHR 1,3 9675 /dev/null nagios 4775 nagios 2w CHR 1,3 9675 /dev/null nagios 4775 nagios 3u IPv4 2139 TCP central-nagios- server:32789->ldap-server:ldap (ESTABLISHED) nagios 4775 nagios 4u REG 8,2 5 76244 /var/run/nagios.pid nagios 4775 nagios 5r FIFO 8,17 97538 /var/log/nagios/rw/nagios.cmd nagios 4775 nagios 7w FIFO 0,5 2206 pipe lsof output of an nsca process: # /usr/sbin/lsof -p 1263 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME nsca 1263 nagios cwd DIR 8,7 1024 2 / nsca 1263 nagios rtd DIR 8,7 1024 2 / nsca 1263 nagios txt REG 8,6 34684 26692 /usr/sbin/nsca nsca 1263 nagios mem REG 8,6 188392 49144 /usr/lib/libmcrypt.so.4.4.7 nsca 1263 nagios mem REG 8,7 51952 42875 /lib/libnss_files-2.3.2.so nsca 1263 nagios mem REG 8,7 1571824 81602 /lib/tls/libc-2.3.2.so nsca 1263 nagios mem REG 8,7 91040 42859 /lib/libnsl- 2.3.2.so nsca 1263 nagios mem REG 8,7 106912 42842 /lib/ld- 2.3.2.so nsca 1263 nagios 0r CHR 1,3 9675 /dev/null nsca 1263 nagios 1w CHR 1,3 9675 /dev/null nsca 1263 nagios 2w CHR 1,3 9675 /dev/null nsca 1263 nagios 4u unix 0xf7a10180 1539 socket nsca 1263 nagios 5u IPv4 2002 TCP central- nagios-server:5667->192.168.148.16:41799 (CLOSE_WAIT) ldd output: # ldd /usr/bin/nagios libm.so.6 => /lib/tls/libm.so.6 (0x00116000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00f57000) libltdl.so.3 => /usr/lib/libltdl.so.3 (0x00db9000) libc.so.6 => /lib/tls/libc.so.6 (0x00138000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00696000) libdl.so.2 => /lib/libdl.so.2 (0x00e0e000) # ldd /usr/sbin/nsca libmcrypt.so.4 => /usr/lib/libmcrypt.so.4 (0x00666000) libnsl.so.1 => /lib/libnsl.so.1 (0x00dcd000) libc.so.6 => /lib/tls/libc.so.6 (0x00aff000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00434000) Inspecting the number of filehandles in use, I don't believe that is a problem: # cat /proc/sys/fs/file-nr 1277 121 104857 Contents of /var/log/nagios: drwxr-xr-x 3 nagios nagios 4.0K Sep 7 00:00 archives -rw-rw-r-- 1 nagios nagios 240 Aug 29 10:28 comments.dat -rw-rw-r-- 1 nagios nagios 241 Aug 29 10:28 downtime.dat drwx------ 2 root root 16K Jun 15 08:33 lost+found -rw-rw-r-- 1 nagios nagios 46M Sep 7 20:44 nagios.log -rw-r--r-- 1 nagios nagios 11M Sep 7 20:44 nagiosrrd.log -rw-r--r-- 1 nagios nagios 581K Sep 7 16:29 nsca.dump -rw-r--r-- 1 nagios nagios 1.0M Sep 7 16:29 objects.cache -rw------- 1 nagios nagios 1.6M Sep 7 20:29 retention.dat drwxrwxr-x 8 nagios nagios 4.0K Jul 19 14:49 rrd drwxr-sr-x 2 nagios apache 4.0K Sep 7 16:29 rw -rw-rw-r-- 1 nagios nagios 1.5M Sep 7 20:44 status.dat # ls -lh rw/ total 0 prw-rw---- 1 nagios apache 0 Sep 7 20:45 nagios.cmd I would be much obliged if anyone had any suggestions as to what is going on here, and possible suggestions to resolve this problem. If there is any more information or data you need me to provide to troubleshoot, please let me know and I will supply the relevant information. Cheers, Alex. ---- Central Nagios server details (Build environment details follow) ---- Architecture: x86, Intel Xeon 2.66GHz VMware guest (VMware esx 2.1.2), 1G ram RedHat ES 3 Update 5 Configure options: %configure \ --datadir="%{_datadir}/nagios" \ --libexecdir="%{_libdir}/nagios/plugins" \ --localstatedir="%{_localstatedir}/log/nagios" \ --sbindir="%{_libdir}/nagios/cgi" \ --sysconfdir="%{_sysconfdir}/nagios" \ --with-cgiurl="/nagios/cgi-bin" \ --with-command-user="apache" \ --with-command-grp="apache" \ --with-gd-lib="%{_libdir}" \ --with-gd-inc="%{_includedir}" \ --with-init-dir="%{_initrddir}" \ --with-htmurl="/nagios" \ --with-lockfile="%{_localstatedir}/run/nagios.pid" \ --with-mail="/bin/mail" \ --with-nagios-user="nagios" \ --with-nagios-grp="nagios" \ --with-template-objects \ --with-template-extinfo NSCA configure options: %configure \ --with-nsca-user="nagios" \ --with-nsca-grp="nagios" \ --with-nsca-port="5667" Library versions: # rpm -qa | grep -i lib glib2-2.2.3-2.0 libacl-2.2.3-1 cracklib-dicts-2.7-22 libtool-libs-1.4.3-6 elfutils-libelf-0.94-1 libuser-0.51.7-1.EL3.3 libpng-1.2.2-25 libart_lgpl-2.3.11-2 glibc-2.3.2-95.33 bzip2-libs-1.0.2-11.EL3.4 libstdc++-3.2.3-52 bind-libs-9.2.4-7_EL3 glibc-headers-2.3.2-95.33 cracklib-2.7-22 glib-1.2.10-11.1 libattr-2.2.0-1 libtermcap-2.0.8-35 zlib-1.1.4-8.1 libcap-1.10-15.1 libjpeg-6b-30 libmcrypt-2.5.7-1_ES3 libxml2-2.5.10-7 glibc-common-2.3.2-95.33 laus-libs-0.1-70RHEL3 rpm-libs-4.2.3-21_nonptl libgcc-3.2.3-52 krb5-libs-1.2.7-47 glibc-kernheaders-2.4-8.34.1 glibc-devel-2.3.2-95.33 Complete process list: UID PID PPID C STIME TTY TIME CMD root 1 0 0 16:27 ? 00:00:08 init root 2 1 0 16:27 ? 00:00:00 [keventd] root 3 1 0 16:27 ? 00:00:00 [kapmd] root 4 1 0 16:27 ? 00:00:00 [ksoftirqd/0] root 7 1 0 16:27 ? 00:00:00 [bdflush] root 5 1 0 16:27 ? 00:00:00 [kswapd] root 6 1 0 16:27 ? 00:01:19 [kscand] root 8 1 0 16:27 ? 00:00:04 [kupdated] root 9 1 0 16:28 ? 00:00:00 [mdrecoveryd] root 17 1 0 16:28 ? 00:00:01 [kjournald] root 554 1 0 16:28 ? 00:00:00 [kjournald] root 555 1 0 16:28 ? 00:00:00 [kjournald] root 556 1 0 16:28 ? 00:00:00 [kjournald] root 557 1 0 16:28 ? 00:00:01 [kjournald] root 558 1 0 16:28 ? 00:00:01 [kjournald] root 559 1 0 16:28 ? 00:00:03 [kjournald] root 716 1 0 16:28 ? 00:00:00 [vmmemctl] root 736 1 0 16:28 ? 00:00:01 /usr/sbin/vmware- guestd --background /var/run/vmware-guestd.pid root 894 1 0 16:29 ? 00:00:00 syslogd -m 0 root 898 1 0 16:29 ? 00:00:00 klogd -x root 927 1 0 16:29 ? 00:00:00 /usr/sbin/sshd root 956 1 0 16:29 ? 00:00:00 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf mysql 980 956 0 16:29 ? 00:02:13 /usr/libexec/mysqld -- defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql -- user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking nagios 1013 1 0 16:29 ? 00:00:59 nsca -c /etc/nagios/nsca.cfg -d root 1064 1 0 16:29 ? 00:00:00 /usr/libexec/postfix/master nagios 1071 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d postfix 1075 1064 0 16:29 ? 00:00:00 nqmgr -l -n qmgr -t fifo -u nagios 1076 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1078 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1079 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1080 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1082 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1084 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1089 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1091 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1092 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1094 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1095 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1097 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1101 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1102 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1106 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1108 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1114 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1115 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1119 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1123 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1126 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1127 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1132 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1133 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1134 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1137 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1138 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1139 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1142 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1143 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1144 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1148 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1149 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1152 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1154 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1155 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1156 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1157 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1158 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1159 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1160 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1161 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1162 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1163 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1164 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1165 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1166 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1167 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1168 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1169 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1170 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1171 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1172 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1173 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1174 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1175 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1176 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1177 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1178 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1179 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1180 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1181 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1182 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1183 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1184 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1185 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d root 1186 1 0 16:29 ? 00:00:00 /usr/sbin/httpd nagios 1190 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1191 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1192 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1194 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1198 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1199 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d root 1201 1 0 16:29 ? 00:00:00 crond nagios 1203 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1204 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1208 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1210 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1212 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1213 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1216 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1217 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1218 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1219 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1220 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1221 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1223 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1224 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1225 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d root 1227 1 0 16:29 ? 00:00:00 cfservd nagios 1228 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1230 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1233 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1234 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1236 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1239 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1240 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1241 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1246 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1247 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1248 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1250 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1251 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1253 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1254 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1255 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1256 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1257 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1258 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1259 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1260 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1261 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1262 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1263 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1264 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d apache 1266 1186 0 16:29 ? 00:00:07 /usr/sbin/httpd apache 1268 1186 0 16:29 ? 00:00:06 /usr/sbin/httpd apache 1269 1186 0 16:29 ? 00:00:06 /usr/sbin/httpd apache 1270 1186 0 16:29 ? 00:00:06 /usr/sbin/httpd nagios 1271 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1272 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d apache 1273 1186 0 16:29 ? 00:00:07 /usr/sbin/httpd apache 1274 1186 0 16:29 ? 00:00:06 /usr/sbin/httpd apache 1275 1186 0 16:29 ? 00:00:06 /usr/sbin/httpd nagios 1276 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d apache 1277 1186 0 16:29 ? 00:00:06 /usr/sbin/httpd nagios 1278 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1279 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1281 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1282 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1283 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1284 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1285 1013 0 16:29 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 1345 1 2 16:29 ? 00:04:37 /usr/bin/nagios -d /etc/nagios/nagios.cfg root 1500 1 0 16:29 tty1 00:00:00 /sbin/mingetty tty1 root 1501 1 0 16:29 tty2 00:00:00 /sbin/mingetty tty2 root 1502 1 0 16:29 tty3 00:00:00 /sbin/mingetty tty3 root 1503 1 0 16:29 tty4 00:00:00 /sbin/mingetty tty4 root 1504 1 0 16:29 tty5 00:00:00 /sbin/mingetty tty5 root 1505 1 0 16:29 tty6 00:00:00 /sbin/mingetty tty6 apache 3705 1186 0 16:32 ? 00:00:07 /usr/sbin/httpd nagios 19439 1 0 16:54 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 22551 1 0 16:58 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 23280 1 0 16:59 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 25642 1 0 17:02 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26058 1 0 17:03 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 27230 1 0 17:04 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30478 1 0 17:09 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 31653 1 0 17:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 465 1 0 17:12 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 1935 1 0 17:14 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 5738 1 0 17:19 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 6068 1 0 17:20 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 7110 1 0 17:21 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9233 1 0 17:24 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9681 1 0 17:24 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 10437 1 0 17:25 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 13359 1 0 17:29 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 15349 1 0 17:32 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 16239 1 0 17:33 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 16562 1 0 17:34 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 17727 1 0 17:35 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 19382 1 0 17:37 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 20844 1 0 17:39 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 21588 1 0 17:40 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 24250 1 0 17:44 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 25264 1 0 17:45 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26719 1 0 17:47 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 27292 1 0 17:48 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 28024 1 0 17:49 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 28350 1 0 17:49 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 28991 1 0 17:50 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 29804 1 0 17:51 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30360 1 0 17:52 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 32666 1 0 17:55 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 1739 1 0 17:57 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 3424 1 0 17:59 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 4800 1 0 18:01 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 5382 1 0 18:02 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 6753 1 0 18:04 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9300 1 0 18:07 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9944 1 0 18:08 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 10442 1 0 18:09 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 11714 1 0 18:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 12669 1 0 18:12 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14042 1 0 18:14 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14693 1 0 18:15 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 18456 1 0 18:20 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 18765 1 0 18:20 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 18977 1 0 18:20 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 21475 1 0 18:24 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 22472 1 0 18:25 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 23420 1 0 18:26 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 23942 1 0 18:27 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 24208 1 0 18:27 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 25500 1 0 18:29 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26188 1 0 18:30 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26525 1 0 18:30 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 27637 1 0 18:32 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 27832 1 0 18:32 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 28961 1 0 18:34 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 29299 1 0 18:34 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30387 1 0 18:36 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 31308 1 0 18:37 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 31799 1 0 18:38 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 32578 1 0 18:39 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 353 1 0 18:39 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 1477 1 0 18:40 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 2185 1 0 18:41 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 2718 1 0 18:42 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 3875 1 0 18:44 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 4868 1 0 18:45 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 5166 1 0 18:45 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 6330 1 0 18:47 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 6961 1 0 18:48 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 7669 1 0 18:49 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 7955 1 0 18:49 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9401 1 0 18:51 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 11359 1 0 18:54 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 11461 1 0 18:54 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 12303 1 0 18:55 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 12500 1 0 18:55 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 13506 1 0 18:57 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 13777 1 0 18:57 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14842 1 0 18:59 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 15841 1 0 19:00 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 16187 1 0 19:00 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 17191 1 0 19:02 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 18499 1 0 19:04 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 19145 1 0 19:05 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 19899 1 0 19:05 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 20915 1 0 19:07 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 21541 1 0 19:08 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg root 21792 21689 0 19:09 pts/0 00:00:00 ksu root 21812 21792 0 19:09 pts/0 00:00:06 /bin/bash nagios 21880 1 0 19:09 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 22341 1 0 19:09 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 23239 1 0 19:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 23334 1 0 19:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 23562 1 0 19:11 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 23977 1 0 19:11 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 24256 1 0 19:12 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 24668 1 0 19:12 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 24909 1 0 19:13 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 25543 1 0 19:14 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 25795 1 0 19:14 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26371 1 0 19:15 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 27075 1 0 19:16 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 27824 1 0 19:17 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 27998 1 0 19:17 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 28446 1 0 19:18 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 28984 1 0 19:19 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 29100 1 0 19:19 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 29787 1 0 19:20 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30128 1 0 19:20 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg ntp 30392 1 0 19:20 ? 00:00:00 ntpd -U ntp -p /var/run/ntpd.pid nagios 30479 1 0 19:20 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 31194 1 0 19:21 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 31507 1 0 19:22 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 31759 1 0 19:22 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 31889 1 0 19:22 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 32029 1 0 19:23 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 32204 1 0 19:23 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 321 1 0 19:24 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 459 1 0 19:24 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 644 1 0 19:24 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 913 1 0 19:25 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 999 1 0 19:25 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 1748 1 0 19:25 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 2016 1 0 19:26 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 2181 1 0 19:26 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 2763 1 0 19:27 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 3084 1 0 19:27 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 3182 1 0 19:27 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 3333 1 0 19:28 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 4094 1 0 19:29 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 4212 1 0 19:29 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 4794 1 0 19:30 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 5006 1 0 19:30 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 5458 1 0 19:31 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 5742 1 0 19:31 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 6092 1 0 19:32 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 6279 1 0 19:32 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 6443 1 0 19:32 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 6758 1 0 19:33 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 6969 1 0 19:33 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 7284 1 0 19:34 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 7733 1 0 19:34 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 8617 1 0 19:35 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9232 1 0 19:36 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9490 1 0 19:36 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9732 1 0 19:37 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 9970 1 0 19:37 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 10401 1 0 19:38 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 10919 1 0 19:39 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 11052 1 0 19:39 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 11379 1 0 19:39 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 11602 1 0 19:40 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 11729 1 0 19:40 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 12111 1 0 19:40 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 12283 1 0 19:40 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 12438 1 0 19:41 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 12969 1 0 19:41 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 13662 1 0 19:42 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 13813 1 0 19:43 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 13960 1 0 19:43 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14575 1 0 19:44 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 15088 1 0 19:45 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 15515 1 0 19:45 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 15748 1 0 19:45 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 15760 1 0 19:45 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 16054 1 0 19:46 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 16233 1 0 19:46 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 16417 1 0 19:46 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 16797 1 0 19:47 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 16996 1 0 19:47 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 17123 1 0 19:48 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg postfix 17708 1064 0 19:49 ? 00:00:00 pickup -l -t fifo -u nagios 17931 1 0 19:49 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 18015 1 0 19:49 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 18220 1 0 19:49 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 18691 1 0 19:50 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 18845 1 0 19:50 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 18939 1 0 19:50 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 19531 1 0 19:51 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 19626 1 0 19:51 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 19785 1 0 19:51 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 20204 1 0 19:52 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 20304 1 0 19:52 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 20594 1 0 19:53 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 20926 1 0 19:53 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 21030 1 0 19:53 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 21406 1 0 19:54 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 21641 1 0 19:54 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 21758 1 0 19:54 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 22176 1 0 19:55 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 22234 1 0 19:55 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 22566 1 0 19:55 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 22722 1 0 19:56 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 23255 1 0 19:56 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 23407 1 0 19:57 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 23590 1 0 19:57 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 24251 1 0 19:58 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 24406 1 0 19:58 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 24916 1 0 19:59 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 25248 1 0 19:59 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 25350 1 0 19:59 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 25424 1 0 20:00 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 25735 1 0 20:00 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 25852 1 0 20:00 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26039 1 0 20:00 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26575 1 0 20:01 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 26802 1 0 20:01 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 27155 1 0 20:02 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 27883 1 0 20:03 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 28249 1 0 20:04 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 28603 1 0 20:04 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 29548 1 0 20:05 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 29634 1 0 20:05 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 29685 1 0 20:05 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30047 1 0 20:06 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30195 1 0 20:06 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30275 1 0 20:06 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg root 30396 1 0 20:07 ? 00:00:00 /usr/local/sbin/cfagent --inform -v root 30398 30396 0 20:07 ? 00:00:00 [ifconfig ] nagios 30425 1 0 20:07 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30525 1 0 20:07 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30592 1 0 20:07 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30630 1 0 20:07 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30736 1 0 20:07 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 30878 1 0 20:07 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 31502 1 0 20:08 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 31535 1 0 20:08 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 32265 1 0 20:09 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 32471 1 0 20:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 420 1 0 20:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 696 1 0 20:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 724 1 0 20:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 726 1 0 20:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 742 1 0 20:10 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 1121 1 0 20:11 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 1478 1 0 20:11 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 1711 1 0 20:12 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 1865 1 0 20:12 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 2361 1 0 20:13 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 2742 1 0 20:13 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 3091 1 0 20:14 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 3530 1 0 20:15 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 3694 1013 0 20:15 ? 00:00:00 nsca -c /etc/nagios/nsca.cfg -d nagios 3711 1345 0 20:15 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg # cat /var/run/nagios.pid 1345 ---- RPM Build environment details ---- Compiled with: # gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man -- infodir=/usr/share/info --enable-shared --enable-threads=posix -- disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386- redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20) Compiled on: RedHat ES 3 Update 3 Library versions: # rpm -qa | grep -i lib bzip2-libs-1.0.2-11 libtermcap-2.0.8-35 libjpeg-6b-30 libpng-1.2.2-16 libwvstreams-3.70-10 perl-libxml-perl-0.07-28 libcap-1.10-15 XFree86-Mesa-libGLU-4.3.0-35.EL libxml2-python-2.5.10-5 libglade2-2.0.1-3 libgnomeui-2.2.1-1 cdparanoia-libs-alpha9.8-15 libungif-4.1.0-15 kdelibs-3.1.3-6.2 libxml-1.8.17-9.1 glibc-profile-2.3.2-95.3 libaio-devel-0.3.96-3 libmudflap-devel-3.5ssa-0.20030801.41 libgnat-3.2.3-20 libstdc++-ssa-devel-3.5ssa-0.20030801.41 libxml2-devel-2.5.10-5 libgcj-ssa-devel-3.5ssa-0.20030801.41 libuser-devel-0.51.7-1 ant-libs-1.5.2-20 libao-devel-0.8.3-3 libpng-devel-1.2.2-16 libole2-devel-0.2.4-6 libIDL-devel-0.8.0-9 libgnomeprint22-devel-2.2.1.3-5 libgnome-devel-2.2.2-6 libgnomeui-devel-2.2.1-1 kdelibs-devel-3.1.3-6.2 glibc-common-2.3.2-95.3 elfutils-libelf-0.89-1 glib-1.2.10-11.1 libacl-2.2.3-1 cracklib-dicts-2.7-22 krb5-libs-1.2.7-19 libstdc++-3.2.3-20 XFree86-libs-data-4.3.0-35.EL libgcj-3.2.3-20 libtiff-3.5.7-13 rhnlib-1.3-12 XFree86-Mesa-libGL-4.3.0-35.EL perl-libxml-enno-1.02-29 libxml2-2.5.10-5 libart_lgpl-2.3.11-2 libIDL-0.8.0-9 libvorbis-1.0-7 libgnomecanvas-2.2.0.2-2 libwnck-2.2.1-3 libgnome-2.2.2-6 librsvg2-2.2.3-2 libghttp-1.0.9-8.1 libraw1394-0.9.0-9 imlib-1.9.13-12 libgail-gnome-1.0.2-1 libgnomeprintui22-2.2.1.3-2.0 libsoup-1.99.26-1 libgal2-1.99.10-1 libaio-0.3.96-3 libcap-devel-1.10-15 libmudflap-3.5ssa-0.20030801.41 libogg-devel-1.0-5.1 libgcc-ssa-3.5ssa-0.20030801.41 libstdc++-ssa-3.5ssa-0.20030801.41 libtermcap-devel-2.0.8-35 zlib-devel-1.1.4-8.1 libgcj-ssa-3.5ssa-0.20030801.41 libtool-1.4.3-6 glibc-kernheaders-2.4-8.34 glibc-devel-2.3.2-95.3 libjpeg-devel-6b-30 libmng-devel-1.0.4-3 libtiff-devel-3.5.7-13 libungif-devel-4.1.0-15 libole2-0.2.4-6 libart_lgpl-devel-2.3.11-2 glib2-devel-2.2.3-2.0 libxslt-devel-1.0.33-1 libbonobo-devel-2.2.3-1 gnome-libs-1.4.1.2.90-34.1 imlib-devel-1.9.13-12 libgnomecanvas-devel-2.2.0.2-2 libgnomeprintui22-devel-2.2.1.3-2.0 libbonoboui-devel-2.2.2-1 openoffice-libs-1.0.2-8 libmcrypt-2.5.7-1.dag.rhel3 libgcc-3.2.3-20 glibc-2.3.2-95.3 cracklib-2.7-22 glib2-2.2.3-2.0 libattr-2.2.0-1 zlib-1.1.4-8.1 libuser-0.51.7-1 libtool-libs-1.4.3-6 cups-libs-1.1.17-13.3.6 XFree86-libs-4.3.0-35.EL perl-libwww-perl-5.65-6 libxslt-1.0.33-1 VFlib2-2.25.6-17 libogg-1.0-5.1 libmng-1.0.4-3 libbonobo-2.2.3-1 pygtk2-libglade-1.99.16-8 libbonoboui-2.2.2-1 libgsf-1.6.0-4 libgtop2-2.0.2-1 libgnomeprint22-2.2.1.3-5 pwlib-1.4.7-6.EL libao-0.8.3-3 libusb-0.1.6-3 rh-postgresql-libs-7.3.4-8 libobjc-3.2.3-20 libf2c-3.2.3-20 libvorbis-devel-1.0-7 libstdc++-devel-3.2.3-20 libusb-devel-0.1.6-3 glibc-utils-2.3.2-95.3 libgcj-devel-3.2.3-20 glibc-headers-2.3.2-95.3 glib-devel-1.2.10-11.1 libpng10-1.0.13-8 gnome-libs-devel-1.4.1.2.90-34.1 libglade2-devel-2.0.1-3 librsvg2-devel-2.2.3-2 libmcrypt-devel-2.5.7-1.dag.rhel3 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misc at viceconsulting.co.nz Wed Sep 7 23:05:00 2005 From: misc at viceconsulting.co.nz (misc at viceconsulting.co.nz) Date: Thu, 8 Sep 2005 09:05:00 +1200 (NZST) Subject: Service check delays in distributed monitor setup Message-ID: <37392.127.0.0.1.1126127100.squirrel@www.goldenfields.co.nz> Hi Fred, I have encountered the exact same problem with my central Nagios server. It has about 1000 passive services, but only about 10 active services (the active services being used for the central Nagios server to self-monitor itself). The 1000 passive services receiving their results from the 5 distributed servers. When I restart the Central Nagios server, the active checks get scheduled for 3 hours+ into the future, but they never actually seem to run. For days the active checks have not actually been checking themselves. I tried changing the service_inter_check_delay_method to d for dumb, which appeared to schedule it when I expected (ie within about 5 mins after the restart) but it still didn't run them. Your idea of setting service_inter_check_delay_method=0.05 sounds good. I haven't had any luck getting the 10 or so active services checking on my central Nagios server. Is anyone able to confirm that this is a known problem in Nagios, is there a better workaround, is this to be fixed in 2.0 final? Fred, keep the list posted if you make further breakthroughs. Cheers Alex On 7 Sep 2005 at 11:03, Fred wrote: > I think I have found the source of my issue with distributed monitoring and > service checks. > > It turns out that if you enable distributed monitoring, even passive service > check definitions seem to get scheduled to run when nagios starts up. If > you have say 10350 services (give or take one) and use smart scheduling of > services, you could easily see 3+ hours between the time that the first service > is scheduled and the last one. Changing the smart schduling to "n" for > no delay causes the services to not be scheduled in the future, but by the > time nagios processes the entire configuration file, the start time is in > the past and I think nagios forgets about the service so it is never scheduled > again. > > I'm currently trying a service_inter_check_delay_method=0.05 which puts me > at about 3 minutes for 10,000+ services, which seems to be enough time for > nagios to startup and still have its first pending service scheduled in the > near future rather then the near past ... > > Does this make sense to anyone who has been messing with these configuration > settings? > > Is there a better way to do this? I.e., I would like for nagios to *not* > consider the passive checks in any scheduling. I actually only have a small > number of active checks which when run will populate the rest of the passive > checks for the entire cluster, the problem is that it seems the node that I > run these checks on is alphabetically *after* all of the other nodes so it > seems to be scheduled last and has services starting the furthest out. > > Thanks. > -FredC > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From potus98 at yahoo.com Wed Sep 7 23:29:52 2005 From: potus98 at yahoo.com (John Christian) Date: Wed, 7 Sep 2005 14:29:52 -0700 (PDT) Subject: perfparse, rrdtool, apan, other? Message-ID: <20050907212953.73610.qmail@web54703.mail.yahoo.com> What do you use for fancy reports? Since I'm new to the Nagios community, I'm interested in reading insights from you veterans before I charge down some path and find myself all alone. I need to send pretty monthly reports to the PHBs upstairs. They're mainly interested in uptime percentages they can forward to customers to demonstrate SLAs. I would also like the option of storing and graphing perforance data for things like disk utilization or memory usage. As usual, there are A LOT of options that might work. My experience in other areas has shown that although many open-source tools are available, only a few are widely used, alive, and maintained. I'm not interested in finding the perfect solution for my exact needs; instead, I'd like to find a good solution that meets many of my needs and is A) used by many other people, and B) relatively straightforward to setup. TIA for any input! -John ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psingh at inforelay.com Thu Sep 8 02:00:40 2005 From: psingh at inforelay.com (Paul Singh) Date: Wed, 7 Sep 2005 20:00:40 -0400 Subject: Notification Setup Question Message-ID: I'm trying to setup Nagios in such a way that I can be notified by email and pager during business hours. During the night, I'd like a notice to go to my email account first and then get escalated to my pager if the problem still exists 30 minutes later. Can someone get me started in the right direction? --Paul ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnagel at willingminds.com Thu Sep 8 02:55:16 2005 From: mnagel at willingminds.com (Mark D. Nagel) Date: Wed, 07 Sep 2005 17:55:16 -0700 Subject: Notification Setup Question In-Reply-To: References: Message-ID: <431F8BF4.1090100@willingminds.com> Paul Singh wrote: > I'm trying to setup Nagios in such a way that I can be notified by > email and pager during business hours. During the night, I'd like a > notice to go to my email account first and then get escalated to my > pager if the problem still exists 30 minutes later. > > Can someone get me started in the right direction? > The trick is to define the multiple contact instances in different roles partitioned by time of day. Then you define one contactgroup listing all your roles and the right contact will be selected for the current time of day. Some untested potential examples follow, but your specific needs will likely be different. define contact { service_notification_period daytime_hours host_notification_period daytime_hours contact daytime_paul alias Paul - Daytime email paul at foo.com pager paulpager at foo.com service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager } define contact { service_notification_period nighttime_hours host_notification_period nighttime_hours contact nighttime_paul alias Paul - Nighttime email paul at foo.com service_notification_commands notify-by-email host_notification_commands host-notify-by-email } define contact { service_notification_period nighttime_hours host_notification_period nighttime_hours contact nighttime_paul_pager alias Paul - Nighttime pager paulpager at foo.com service_notification_commands notify-by-epager host_notification_commands host-notify-by-epager } define contactgroup { contactgroup_name paul alias Paul 24x7 members daytime_paul,nighttime_paul } define hostgroupescalation { hostgroup_name some-host-group first_notification 2 last_notification 3 notification_interval 15 contact_groups paul,nighttime_paul_pager } This should do it -- email and page during the day, email only at night with an escalation to paging via a contact that only does paging at night. When daytime hits, the escalation will only contact 'paul', which includes paging as well during that time. Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC (http://www.willingminds.com) tel: 714-630-4772, fax: 714-630-4773, fwd: 680979 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Thu Sep 8 03:20:59 2005 From: f1216 at yahoo.com (Fred) Date: Wed, 7 Sep 2005 18:20:59 -0700 (PDT) Subject: Service check delays in distributed monitor setup In-Reply-To: <37392.127.0.0.1.1126127100.squirrel@www.goldenfields.co.nz> References: <37392.127.0.0.1.1126127100.squirrel@www.goldenfields.co.nz> Message-ID: <20050908012059.95096.qmail@web31906.mail.mud.yahoo.com> Unfortunately, setting the increment to a small number only worked to set the pending state to something that looked reasonable, however, the services still never get scheduled. My configuration *was* working at one point, I tweaked something and now no matter what I do, I can't get it to start monitoring again. My passive checks recieved from other monitor nodes all seem to get registered, its just the active checks that run on the master (head) node never see the light of day any more. If I regenerate the configuration to not use distributed monitoring, it works just fine, however, that puts way too much pressure on a single node. I removed the status.sav, but as I type this I'm thinking I should nuke all the cache files that nagios builds, maybe there is something that got munged in there ... We've used both Nagios 1.2 and now 2.0b3 (testing 2.0b4) and I have yet to need to crack open the source and make any mods ... looks like that time is coming ;-) -FredC --- misc at viceconsulting.co.nz wrote: > Hi Fred, > > I have encountered the exact same problem with my central Nagios server. > It has about 1000 passive services, but only about 10 active services (the > active services being used for the central Nagios server to self-monitor > itself). The 1000 passive services receiving their results from the 5 > distributed servers. > > When I restart the Central Nagios server, the active checks get scheduled > for 3 hours+ into the future, but they never actually seem to run. For > days the active checks have not actually been checking themselves. > > I tried changing the service_inter_check_delay_method to d for dumb, which > appeared to schedule it when I expected (ie within about 5 mins after the > restart) but it still didn't run them. > > Your idea of setting service_inter_check_delay_method=0.05 sounds good. I > haven't had any luck getting the 10 or so active services checking on my > central Nagios server. > > Is anyone able to confirm that this is a known problem in Nagios, is there > a better workaround, is this to be fixed in 2.0 final? > > Fred, keep the list posted if you make further breakthroughs. > > Cheers > Alex > > On 7 Sep 2005 at 11:03, Fred wrote: > > > I think I have found the source of my issue with distributed monitoring and > > service checks. > > > > It turns out that if you enable distributed monitoring, even passive > service > > check definitions seem to get scheduled to run when nagios starts up. If > > you have say 10350 services (give or take one) and use smart scheduling of > > services, you could easily see 3+ hours between the time that the first > service > > is scheduled and the last one. Changing the smart schduling to "n" for > > no delay causes the services to not be scheduled in the future, but by the > > time nagios processes the entire configuration file, the start time is in > > the past and I think nagios forgets about the service so it is never > scheduled > > again. > > > > I'm currently trying a service_inter_check_delay_method=0.05 which puts me > > at about 3 minutes for 10,000+ services, which seems to be enough time for > > nagios to startup and still have its first pending service scheduled in the > > near future rather then the near past ... > > > > Does this make sense to anyone who has been messing with these > configuration > > settings? > > > > Is there a better way to do this? I.e., I would like for nagios to *not* > > consider the passive checks in any scheduling. I actually only have a > small > > number of active checks which when run will populate the rest of the > passive > > checks for the entire cluster, the problem is that it seems the node that I > > run these checks on is alphabetically *after* all of the other nodes so it > > seems to be scheduled last and has services starting the furthest out. > > > > Thanks. > > -FredC > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xavier at rootshell.be Thu Sep 8 07:55:10 2005 From: xavier at rootshell.be (Xavier) Date: Thu, 8 Sep 2005 07:55:10 +0200 (CEST) Subject: Suggestions for alerts Message-ID: Hi, I would like to explain a "people"" problem I'm facing with... I'm using Nagios to monitor the whole IT platform inside my company. Works perfectly but... (there is always a "but..." ;-) Some engineers who receive alerts (sms or mail) would like to receive more "friendly" messages. Ex: instead of "swb.bru is down", they would like to receive "Master switch @ Colo down, BLES problem? Call +1 xxxxxx" Any suggestion? Xavier -- "Research is what I'm doing when I don't know what I'm doing." - Wernher Von Braun (1912-1977) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KleinBiesel at aol.com Thu Sep 8 08:32:42 2005 From: KleinBiesel at aol.com (KleinBiesel at aol.com) Date: Thu, 08 Sep 2005 02:32:42 -0400 Subject: Nagios works, but statusmap not!!!!!!!!!!!!!!!!! Message-ID: <7C27510F.592C674D.3B30519B@aol.com> hi all! i? m new to 'SourceForge', so i dont really know how this works.. my problem: we?ve got a new server. on this server, it was my job to install nagios. nagios worked greatly on the old server, so we packed the directory of the running nagios and tryd to unpack and config it on the new server. nagios -v gives no errors or warnings, but the function 'status map' gives an internal error and the error.log of my apache writes this: [Thu Sep 01 13:47:44 2005] [error] [client 192.168.0.121] /usr/local/nagios/sbin/statusmap.cgi: symbol lookup error: /opt/lampp/lib/libgd.so.2: undefined symbol: FT_New_Face, referer: http://alpha/xampp/share/side.html [Thu Sep 01 13:47:44 2005] [error] [client 192.168.0.121] Premature end of script headers: statusmap.cgi, referer: http://alpha/xampp/share/side.html i think my httpd.conf is right, because it worked an the old server. the only thing whats is, that i use an other apache-software is there any file i should for to check a special entry? is there any script i should that the configuration of nagios get the sources of my new apache-software? please dont tell that i should nagios reinstall. but thx for any help chronometer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Thu Sep 8 09:07:34 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 08 Sep 2005 09:07:34 +0200 Subject: Nagios works, but statusmap not!!!!!!!!!!!!!!!!! In-Reply-To: <7C27510F.592C674D.3B30519B@aol.com> References: <7C27510F.592C674D.3B30519B@aol.com> Message-ID: <431FE336.8020809@its-lehmann.de> Hello, KleinBiesel at aol.com wrote: > hi all! > > i? m new to 'SourceForge', so i dont really know how this works.. > my problem: > we?ve got a new server. on this server, it was my job to install nagios. > nagios worked greatly on the old server, so we packed the directory of the running nagios and tryd to unpack and config it on the new server. nagios -v > gives no errors or warnings, but the function 'status map' gives an internal error and the error.log of my apache writes this: > > [Thu Sep 01 13:47:44 2005] [error] [client 192.168.0.121] /usr/local/nagios/sbin/statusmap.cgi: symbol lookup error: /opt/lampp/lib/libgd.so.2: undefined symbol: FT_New_Face, referer: http://alpha/xampp/share/side.html > [Thu Sep 01 13:47:44 2005] [error] [client 192.168.0.121] Premature end of script headers: statusmap.cgi, referer: http://alpha/xampp/share/side.html This looks like the necessary gl libraries are nt available. Make sure they are installed, verify the dinymic linker setup, and try again. If this doesn't help, installing the necessary development packages and recompiling on your new machine might be the best solution. Arno > i think my httpd.conf is right, because it worked an the old server. the only thing whats is, that i use an other apache-software > > is there any file i should for to check a special entry? > is there any script i should that the configuration of nagios get the sources of my new apache-software? > please dont tell that i should nagios reinstall. > > but thx for any help > chronometer > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 8 09:12:09 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Sep 2005 09:12:09 +0200 Subject: Suggestions for alerts In-Reply-To: References: Message-ID: <431FE449.6030401@op5.se> Xavier wrote: > Hi, > > I would like to explain a "people"" problem I'm facing with... > I'm using Nagios to monitor the whole IT platform inside my company. > Works perfectly but... (there is always a "but..." ;-) > > Some engineers who receive alerts (sms or mail) would like to > receive more "friendly" messages. > > Ex: instead of "swb.bru is down", they would like to receive > "Master switch @ Colo down, BLES problem? Call +1 xxxxxx" > > Any suggestion? > Attach the manual of the device in question to each and every failure-message. Seriously though. You can use the 'alias' field for hosts instead of, or together with, the host_name. The macro is $HOSTALIAS$. As for making suggestions to fixes, they should try the neo-cortex. It's a wonderfully adaptive tool based on neural-net technology and genetic programming. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Thu Sep 8 09:29:11 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Thu, 8 Sep 2005 09:29:11 +0200 Subject: Suggestions for alerts Message-ID: <6B893C5F2902D311A23F0090272854FB0575B7FC@litex001.lit.verwalt-berlin.de> Hi Xavier, as an experienced Nagios user (unlike me) you probably know already that the contents and formatting of your alert notifications is entirely up to you, and that you can easily change predefined notification command definitions or add your own. With my configuration for example those are defined in NAGIOS_ROOT/etc/misccommands.cfg, and they are referenced in the various host and service definitions by the event_handler attribute. For more descriptive or "polite" message texts you can spice them up with the abundance of preset host and service macros or even your own user defined macros. Just have a dekko at your own config files to get an idea. Regards Ralph > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Xavier > Sent: Thursday, September 08, 2005 7:55 AM > To: Nagios Users > Subject: [Nagios-users] Suggestions for alerts > > > Hi, > > I would like to explain a "people"" problem I'm facing with... > I'm using Nagios to monitor the whole IT platform inside my company. > Works perfectly but... (there is always a "but..." ;-) > > Some engineers who receive alerts (sms or mail) would like to > receive more "friendly" messages. > > Ex: instead of "swb.bru is down", they would like to receive > "Master switch @ Colo down, BLES problem? Call +1 xxxxxx" > > Any suggestion? > > Xavier > -- > "Research is what I'm doing when I don't know what I'm doing." > - Wernher Von Braun (1912-1977) > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development > Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * > Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morten.guldager at gmail.com Thu Sep 8 10:12:21 2005 From: morten.guldager at gmail.com (Morten Guldager) Date: Thu, 8 Sep 2005 10:12:21 +0200 Subject: Reading state of a contactgroup? Message-ID: Aloha! I have divided our objects in 3 categories: unix-oper, windows-oper and network-oper. Then I have defined 3 corresponding contactgroup's. Now I would like to implement 3 "traffic light's" in our main control center. Red : One or more UN-acknowledged Critical errors Yellow : One or more acknowledged Critical error Green : No errors But I cant figure out where read the state information in nagios. Maybe it does not exists at all. (on the contactgroup level) Suggestions? -- /Morten %-) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbereau at gmail.com Thu Sep 8 10:32:35 2005 From: barbereau at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Barbereau?=) Date: Thu, 8 Sep 2005 10:32:35 +0200 Subject: Reading state of a contactgroup? In-Reply-To: References: Message-ID: <4e0e33ee050908013254e776c0@mail.gmail.com> Hi, I think you should have a look at the "status_file" variable from your main configuration file ... On 9/8/05, Morten Guldager wrote: > > Aloha! > > I have divided our objects in 3 categories: unix-oper, windows-oper > and network-oper. > > Then I have defined 3 corresponding contactgroup's. > > Now I would like to implement 3 "traffic light's" in our main control > center. > > Red : One or more UN-acknowledged Critical errors > Yellow : One or more acknowledged Critical error > Green : No errors > > But I cant figure out where read the state information in nagios. > Maybe it does not exists at all. (on the contactgroup level) > > Suggestions? > > -- > /Morten %-) > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: From morten.guldager at gmail.com Thu Sep 8 10:50:37 2005 From: morten.guldager at gmail.com (Morten Guldager) Date: Thu, 8 Sep 2005 10:50:37 +0200 Subject: Reading state of a contactgroup? In-Reply-To: <4e0e33ee050908013254e776c0@mail.gmail.com> References: <4e0e33ee050908013254e776c0@mail.gmail.com> Message-ID: On 9/8/05, S?bastien Barbereau wrote: > > I think you should have a look at the "status_file" variable from your main > configuration file ... As far as I can tell the status_file only contains information on hosts and services. I need something "collected". My 3 contactgroup's contains multiple objects each, I need only one traffic light for each contactgroup, telling something about the "worst" condition in that particular group. /Morten %-) ---------------------------------------------------------------------------- > On 9/8/05, Morten Guldager wrote: > > Aloha! > > > > I have divided our objects in 3 categories: unix-oper, windows-oper > > and network-oper. > > > > Then I have defined 3 corresponding contactgroup's. > > > > Now I would like to implement 3 "traffic light's" in our main control > center. > > > > Red : One or more UN-acknowledged Critical errors > > Yellow : One or more acknowledged Critical error > > Green : No errors > > > > But I cant figure out where read the state information in nagios. > > Maybe it does not exists at all. (on the contactgroup level) > > > > Suggestions? > > > > -- > > /Morten %-) > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- /Morten %-) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 8 11:04:12 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Sep 2005 11:04:12 +0200 Subject: Reading state of a contactgroup? In-Reply-To: References: <4e0e33ee050908013254e776c0@mail.gmail.com> Message-ID: <431FFE8C.4040402@op5.se> Morten Guldager wrote: > On 9/8/05, S?bastien Barbereau wrote: > >>I think you should have a look at the "status_file" variable from your main >>configuration file ... > > > As far as I can tell the status_file only contains information on > hosts and services. I need something "collected". > My 3 contactgroup's contains multiple objects each, I need only one > traffic light for each contactgroup, telling something about the > "worst" condition in that particular group. > Assuming the contacts in those different contactgroups are only contacts for the hosts they manage, the current Nagios gui will do this for you (but in greater detail) on the tactical overview, so why fiddle with extra scripts? > > /Morten %-) > ---------------------------------------------------------------------------- > >>On 9/8/05, Morten Guldager wrote: >> >>>Aloha! >>> >>>I have divided our objects in 3 categories: unix-oper, windows-oper >>>and network-oper. >>> >>>Then I have defined 3 corresponding contactgroup's. >>> >>>Now I would like to implement 3 "traffic light's" in our main control >> >>center. >> >>>Red : One or more UN-acknowledged Critical errors >>>Yellow : One or more acknowledged Critical error >>>Green : No errors >>> >>>But I cant figure out where read the state information in nagios. >>>Maybe it does not exists at all. (on the contactgroup level) >>> >>>Suggestions? >>> >>>-- >>>/Morten %-) >>> >>> >>>------------------------------------------------------- >>>SF.Net email is Sponsored by the Better Software Conference & EXPO >>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle >> >>Practices >> >>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when >> >>reporting any issue. >> >>>::: Messages without supporting info will risk being sent to /dev/null >>> >> >> > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chandresh.suthar at gmail.com Thu Sep 8 11:11:32 2005 From: chandresh.suthar at gmail.com (Chandresh Suthar) Date: Thu, 8 Sep 2005 14:41:32 +0530 Subject: please help me In-Reply-To: <9e938faf0509070949202407f8@mail.gmail.com> References: <9e938faf0509070949202407f8@mail.gmail.com> Message-ID: yes It's working. So why i m not getting any alerts ? I didn't find any failure messages in maillogs. Chandresh On 9/7/05, Zac wrote: > > Just to confirm, if you copy and paste : > /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s > "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > and replace the $*$ with test, except for $CONTACTEMAIL$ which should be > the full e-mail address of where the alert is going. Everything works? As > far as I can tell your config looks good. If this works at the command line, > you should check your mail logs. Hope this helps. > > -Zac > > On 9/7/05, Chandresh Suthar wrote: > > > > Hi, > > Please help me in sending notifications. I have only one configuration > > file for contactfgroup,hostsgroup etc. "minimal.cfg" > > minimal.cfg : > > define timeperiod{ > > timeperiod_name 24x7 > > alias 24 Hours A Day, 7 Days A Week > > sunday 00:00-24:00 > > monday 00:00-24:00 > > tuesday 00:00-24:00 > > wednesday 00:00-24:00 > > thursday 00:00-24:00 > > friday 00:00-24:00 > > saturday 00:00-24:00 > > } > > > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification > > Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > > $LONGDATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** > > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" > > $CONTACTEMAIL$ > > } > > > > > > # This is a sample host notification command that can be used to send > > email > > # notifications (about host alerts) to contacts. > > > > define command{ > > command_name host-notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification > > Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > > $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s > > "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > } > > > > define contact{ > > contact_name nagios > > alias Nagios Admin > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,r > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email nagios at localhost > > } > > > > define contact{ > > contact_name chandresh > > alias Administrator > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,r > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email "personalemail id" > > } > > > > define contactgroup{ > > contactgroup_name admins > > alias Nagios Administrators > > members nagios > > } > > > > define contactgroup{ > > contactgroup_name admingrp > > alias Administrators > > members chandresh > > } > > > > define host{ > > name generic-host ; The name of this host template > > notifications_enabled 1 ; Host notifications are enabled > > event_handler_enabled 1 ; Host event handler is enabled > > flap_detection_enabled 1 ; Flap detection is enabled > > failure_prediction_enabled 1 ; Failure prediction is enabled > > process_perf_data 1 ; Process performance data > > retain_status_information 1 ; Retain status information across program > > restarts > > retain_nonstatus_information 1 ; Retain non-status information across > > program restarts > > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A > > TEMPLATE! > > } > > > > > > define host{ > > use generic-host ; Name of host template to use > > host_name webmail.com > > alias localhost > > address 127.0.0.1 > > check_command check-host-alive > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options d,r > > contact_groups admingrp > > } > > define service{ > > use generic-service ; Name of service template to use > > host_name webmail.com > > service_description HTTP > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 4 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups admingrp > > notification_interval 960 > > notification_period 24x7 > > check_command check_http > > } > > > > I am able to send mails to my persoanl email id by "mail" command. But > > notification is not going. I have configured sendmail. I am not even > > receiving mails on local system at nagios at localhost( I tried). I am even > > not getting any error messages in logs of nagios. > > > > Please help. > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjk_saji at yahoo.com Thu Sep 8 11:37:35 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Thu, 8 Sep 2005 10:37:35 +0100 (BST) Subject: please help me In-Reply-To: References: Message-ID: <20050908093735.48917.qmail@web40810.mail.yahoo.com> Hi I also tried the command /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" joseph at nagtest.com in the command mode , the message did not go, it gave error as -bash: !": event not found Then I removed the ! after $HOSTNAME$ and tried /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$" joseph at nagtest.com The mail went , Shalle I remove the ! parameter from the "$HOSTNAME$!" and try it on nagios I need advice Thanks Joseph John --- Chandresh Suthar wrote: > yes It's working. So why i m not getting any alerts > ? I didn't find any > failure messages in maillogs. > > Chandresh > > On 9/7/05, Zac wrote: > > > > Just to confirm, if you copy and paste : > > /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: > > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: > > $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /bin/mail -s > > "Host $HOSTSTATE$ alert for $HOSTNAME$!" > $CONTACTEMAIL$ > > > > and replace the $*$ with test, except for > $CONTACTEMAIL$ which should be > > the full e-mail address of where the alert is > going. Everything works? As > > far as I can tell your config looks good. If this > works at the command line, > > you should check your mail logs. Hope this helps. > > > > -Zac > > > > On 9/7/05, Chandresh Suthar > wrote: > > > > > > Hi, > > > Please help me in sending notifications. I have > only one configuration > > > file for contactfgroup,hostsgroup etc. > "minimal.cfg" > > > minimal.cfg : > > > define timeperiod{ > > > timeperiod_name 24x7 > > > alias 24 Hours A Day, 7 Days A Week > > > sunday 00:00-24:00 > > > monday 00:00-24:00 > > > tuesday 00:00-24:00 > > > wednesday 00:00-24:00 > > > thursday 00:00-24:00 > > > friday 00:00-24:00 > > > saturday 00:00-24:00 > > > } > > > > > > define command{ > > > command_name notify-by-email > > > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification > > > Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: > > > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: > > > $LONGDATETIME$\n\nAdditional Info:\n\n$OUTPUT$" > | /bin/mail -s "** > > > $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" > > > $CONTACTEMAIL$ > > > } > > > > > > > > > # This is a sample host notification command > that can be used to send > > > email > > > # notifications (about host alerts) to contacts. > > > > > > define command{ > > > command_name host-notify-by-email > > > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification > > > Type: $NOTIFICATIONTYPE$\nHost: > $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > > > $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /bin/mail -s > > > "Host $HOSTSTATE$ alert for $HOSTNAME$!" > $CONTACTEMAIL$ > > > } > > > > > > define contact{ > > > contact_name nagios > > > alias Nagios Admin > > > service_notification_period 24x7 > > > host_notification_period 24x7 > > > service_notification_options w,u,c,r > > > host_notification_options d,r > > > service_notification_commands notify-by-email > > > host_notification_commands host-notify-by-email > > > email nagios at localhost > > > } > > > > > > define contact{ > > > contact_name chandresh > > > alias Administrator > > > service_notification_period 24x7 > > > host_notification_period 24x7 > > > service_notification_options w,u,c,r > > > host_notification_options d,r > > > service_notification_commands notify-by-email > > > host_notification_commands host-notify-by-email > > > email "personalemail id" > > > } > > > > > > define contactgroup{ > > > contactgroup_name admins > > > alias Nagios Administrators > > > members nagios > > > } > > > > > > define contactgroup{ > > > contactgroup_name admingrp > > > alias Administrators > > > members chandresh > > > } > > > > > > define host{ > > > name generic-host ; The name of this host > template > > > notifications_enabled 1 ; Host notifications are > enabled > > > event_handler_enabled 1 ; Host event handler is > enabled > > > flap_detection_enabled 1 ; Flap detection is > enabled > > > failure_prediction_enabled 1 ; Failure > prediction is enabled > > > process_perf_data 1 ; Process performance data > > > retain_status_information 1 ; Retain status > information across program > > > restarts > > > retain_nonstatus_information 1 ; Retain > non-status information across > > > program restarts > > > register 0 ; DONT REGISTER THIS DEFINITION - ITS > NOT A REAL HOST, JUST A > > > TEMPLATE! > > > } > > > > > > > > > define host{ > > > use generic-host ; Name of host template to use > > > host_name webmail.com > > > alias localhost > > > address 127.0.0.1 > > > check_command check-host-alive > > > max_check_attempts 10 > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options d,r > > > contact_groups admingrp > > > } > > > define service{ > > > use generic-service ; Name of service template > to use > > > host_name webmail.com > > > service_description HTTP > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 4 > > > normal_check_interval 5 > > > retry_check_interval 1 > > > contact_groups admingrp > > > notification_interval 960 > > > notification_period 24x7 > > > check_command check_http > > > } > > > > > > I am able to send mails to my persoanl email id > by "mail" command. But > > > notification is not going. I have configured > sendmail. I am not even > > > receiving mails on local system at > nagios at localhost( I tried). I am even > > > not getting any error messages in logs of > nagios. > > > > > > Please help. > > > > > > > > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morten.guldager at gmail.com Thu Sep 8 11:52:51 2005 From: morten.guldager at gmail.com (Morten Guldager) Date: Thu, 8 Sep 2005 11:52:51 +0200 Subject: Reading state of a contactgroup? In-Reply-To: <431FFE8C.4040402@op5.se> References: <4e0e33ee050908013254e776c0@mail.gmail.com> <431FFE8C.4040402@op5.se> Message-ID: On 9/8/05, Andreas Ericsson wrote: > Morten Guldager wrote: > > On 9/8/05, S?bastien Barbereau wrote: > > > >>I think you should have a look at the "status_file" variable from your main > >>configuration file ... > > > > > > As far as I can tell the status_file only contains information on > > hosts and services. I need something "collected". > > My 3 contactgroup's contains multiple objects each, I need only one > > traffic light for each contactgroup, telling something about the > > "worst" condition in that particular group. > > > > Assuming the contacts in those different contactgroups are only contacts > for the hosts they manage, the current Nagios gui will do this for you > (but in greater detail) on the tactical overview, so why fiddle with > extra scripts? My "traffic lights" are not webbased. We are talking real analog hardware here. I know how to manipulate that part, I just cant figure out where to get the information from nagios. My current "best idea", (which sucks!), is to make a contact with a notification which logs events to a file. Then a daemon listens to this file and inserts changes to a database. "OK" states removes from the database. Then its a simple select to figure out the collective status for a contactgroup. But I think I went to the moon and back again for allmost nothing! /Morten %-) > > ---------------------------------------------------------------------------- > > > >>On 9/8/05, Morten Guldager wrote: > >> > >>>Aloha! > >>> > >>>I have divided our objects in 3 categories: unix-oper, windows-oper > >>>and network-oper. > >>> > >>>Then I have defined 3 corresponding contactgroup's. > >>> > >>>Now I would like to implement 3 "traffic light's" in our main control > >> > >>center. > >> > >>>Red : One or more UN-acknowledged Critical errors > >>>Yellow : One or more acknowledged Critical error > >>>Green : No errors > >>> > >>>But I cant figure out where read the state information in nagios. > >>>Maybe it does not exists at all. (on the contactgroup level) > >>> > >>>Suggestions? > >>> > >>>-- > >>>/Morten %-) > >>> > >>> > >>>------------------------------------------------------- > >>>SF.Net email is Sponsored by the Better Software Conference & EXPO > >>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle > >> > >>Practices > >> > >>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > >>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>::: Please include Nagios version, plugin version (-v) and OS when > >> > >>reporting any issue. > >> > >>>::: Messages without supporting info will risk being sent to /dev/null > >>> > >> > >> > > > > > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- /Morten %-) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 8 14:01:25 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Sep 2005 14:01:25 +0200 Subject: Reading state of a contactgroup? In-Reply-To: References: <4e0e33ee050908013254e776c0@mail.gmail.com> <431FFE8C.4040402@op5.se> Message-ID: <43202815.4070900@op5.se> Morten Guldager wrote: > On 9/8/05, Andreas Ericsson wrote: > >>Morten Guldager wrote: >> >>>On 9/8/05, S?bastien Barbereau wrote: >>> >>> >>>>I think you should have a look at the "status_file" variable from your main >>>>configuration file ... >>> >>> >>>As far as I can tell the status_file only contains information on >>>hosts and services. I need something "collected". >>>My 3 contactgroup's contains multiple objects each, I need only one >>>traffic light for each contactgroup, telling something about the >>>"worst" condition in that particular group. >>> >> >>Assuming the contacts in those different contactgroups are only contacts >>for the hosts they manage, the current Nagios gui will do this for you >>(but in greater detail) on the tactical overview, so why fiddle with >>extra scripts? > > > My "traffic lights" are not webbased. We are talking real analog hardware here. > I know how to manipulate that part, I just cant figure out where to > get the information from nagios. > > My current "best idea", (which sucks!), is to make a contact with a > notification which logs events to a file. Then a daemon listens to > this file and inserts changes to a database. "OK" states removes from > the database. > Then its a simple select to figure out the collective status for a contactgroup. > This is not a bad idea at all, but why use a daemon to listen to a file when it can just as well listen to a socket or a pipe? Have the daemon either run some program to set the lights or do it itself. Borrowing the code from Nagios to parse the objects.cache file should be a no-brainer. Or better yet, write a NEB-module to handle it. That way you get access to the Nagios configuration when it's already parsed and all should be well. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sudheer at tgs-solutions.com Thu Sep 8 14:32:12 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 08 Sep 2005 08:32:12 -0400 Subject: check_nt_cpuload help Message-ID: <43202F4C.10805@tgs-solutions.com> Hi guys, In my services.cfg file I have for check_nt_cpuload as define service{ host_name stealth service_description CPU LOAD is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 240 notification_period 24x7 notification_options u,c,r check_command check_nt_cpuload!60!80%!90%!90!80%!90! } Is this is correct? Just want to check the cpu load every 60 minutes. On the web page I see a message saying not enough values for -l parameters check_disk is workgin properly for the same server. Thanks, -- Sudheer Muddappa ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard.Miller at baesystems.com Thu Sep 8 14:44:17 2005 From: Leonard.Miller at baesystems.com (Leonard Miller) Date: Thu, 08 Sep 2005 07:44:17 -0500 Subject: Status Map Woes Message-ID: Hi, I've recently seen problems with status map, now it's my turn. I can see the map, but all my hosts are in a circle with the ? image representing each host. I created a hostextinfo.cfg file and added cfg_file=/usr/local/nagios/etc/hostextinfo.cfg to my nagios.cfg file. I tried changing the coords for my host several times, but it just won't budge. So far this is all I have in my hostextinfo.cfg file: define hostextinfo{ host_name HOSTNAME notes Wireless WDS 2d_coords 300,550 3d_coords 100.0,50.0,75.0 } Running Nagios 2.0b4 What I am trying to do is move because I want set my wireless radios in a tree under the WDS. Thanks in advance Leonard ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dshurett at alphaomegahosting.com Thu Sep 8 15:11:55 2005 From: dshurett at alphaomegahosting.com (Danny Shurett) Date: Thu, 08 Sep 2005 09:11:55 -0400 Subject: Problem with check_load on centos4 Message-ID: ./check_load 5 10 15 10 15 20 CRITICAL - load average: 0.55, 0.30, 0.11|load1=0.550;0.000;0.000;0; load5=0.300;0.000;0.000;0; load15=0.110;0.000;0.000;0; As you can see from the check command above, the server load is way below the levels indicated in the check command but are still coming up as critical. Any suggestions? ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhopp at GOCSC.com Thu Sep 8 15:15:47 2005 From: dhopp at GOCSC.com (Dennis Hopp) Date: Thu, 8 Sep 2005 08:15:47 -0500 Subject: Unknown status, alerts over and over Message-ID: <395D09D0C949AF40B9DDFEE9C93A47FF04799CB1@hudson.gocsc.com> I've had a few servers where the snmp service on them will crash and so the nagios plugins cannot get the status of different services. Nagios will send an alert that the service is "UNKNOWN" which is what I want, but then it will send the alert over and over and over and over and over until the snmp service is fixed. For example I got 75+ messages overnight about one servers disk was unknown (the server was fine, just snmp wasn't responding). How can I get nagios to send the alert for "UNKNOWN" once and then send a recovery message when the problem is fixed? An example service definition is below. The no-warning-service just doesn't send a warning alert (but the web interface will show warning status). define service{ use no-warning-service hosts lewis service_description Disk-D is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 30 retry_check_interval 5 contact_groups domain-admins check_command check_windows_disk!D!85!94 } Thanks, --Dennis * "Privileged/Confidential Information of Communications Supply Corp. may be contained in this message. If you are not the addressee of this message, you may not copy, use or deliver this message to anyone. In such event, you should destroy the message and kindly notify the sender by reply e-mail. It is understood that opinions or conclusions that do not relate to the official business of Communications Supply Corp. are neither given nor endorsed by Communications Supply Corp." ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Thu Sep 8 16:54:06 2005 From: chris at aidworld.org (Chris Wilson) Date: Thu, 08 Sep 2005 15:54:06 +0100 Subject: Problem with check_load on centos4 In-Reply-To: References: Message-ID: <1126191246.28001.287.camel@localhost> Hi Danny, > ./check_load 5 10 15 10 15 20 > CRITICAL - load average: 0.55, 0.30, 0.11|load1=0.550;0.000;0.000;0; > load5=0.300;0.000;0.000;0; load15=0.110;0.000;0.000;0; > As you can see from the check command above, the server load is way below > the levels indicated in the check command but are still coming up as > critical. Any suggestions? Are you sure that's the right way to use check_load? When I try that, I get: > [chris at dev anthill]$ /usr/local/nagios/libexec/check_load 5 10 15 10 > 15 20 > Parameter inconsistency: 5-minute "warning load" greater than > "critical load". > Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 > check_load --version > check_load --help > But this works: > [chris at dev anthill]$ /usr/local/nagios/libexec/check_load -w 5,10,15 > -c 10,15,20 > OK - load average: 1.20, 0.92, 0.63 Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 8 17:25:49 2005 From: marc at ena.com (Marc Powell) Date: Thu, 8 Sep 2005 10:25:49 -0500 Subject: Unknown status, alerts over and over Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dennis Hopp > Sent: Thursday, September 08, 2005 8:16 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Unknown status, alerts over and over > > I've had a few servers where the snmp service on them will crash and so > the nagios plugins cannot get the status of different services. Nagios > will send an alert that the service is "UNKNOWN" which is what I want, > but then it will send the alert over and over and over and over and over > until the snmp service is fixed. For example I got 75+ messages > overnight about one servers disk was unknown (the server was fine, just > snmp wasn't responding). > > How can I get nagios to send the alert for "UNKNOWN" once and then send > a recovery message when the problem is fixed? http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this service - only one problem notification will be sent out, unless there has been a state change. > * > "Privileged/Confidential Information of Communications Supply > Corp. may be contained in this message. If you are not the addressee of How do I know if this is privileged or confidential? > this message, you may not copy, use or deliver this message to anyone. I wasn't the addressee of the message. I guess I shouldn't respond. > In such event, you should destroy the message and kindly notify the Burning the message now. There are of course other permanently and publicly archived copies of this e-mail that will remain available as long as the Internet exists but I guess that's ok. > sender by reply e-mail. It is understood that opinions or conclusions > that do not relate to the official business of Communications Supply > Corp. are neither given nor endorsed by Communications Supply Corp." Is this official business? How am I supposed to know? -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blakekrone at gmail.com Thu Sep 8 17:54:44 2005 From: blakekrone at gmail.com (Blake Krone) Date: Thu, 8 Sep 2005 09:54:44 -0600 Subject: Setting env variables from misc commands (email from field) In-Reply-To: References: Message-ID: I should have stated that I'm using nullmailer, don't need a full featured SMTP, I just relay off of our exchange server. On 9/2/05, Subhendu Ghosh wrote: > > On Fri, 2 Sep 2005, Blake Krone wrote: > > > Hello all, I'm trying to set it so that when using nullmailer the From > field > > will be "alerts" instead of root as it is currently. I tried to set it > by > > doing: > > export USER=alerts;/usr/bin/printf "%s" ...... etc > > but nagios won't send out alerts when I have it set like that. > > > > How can I set the from field?? > > > > Thanks! > > Blake > > > > > sendmail genericstable > > http://www.linux.com/howtos/Sendmail-Address-Rewrite.shtml > > -- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at aidworld.org Thu Sep 8 18:06:05 2005 From: chris at aidworld.org (Chris Wilson) Date: Thu, 08 Sep 2005 17:06:05 +0100 Subject: Setting env variables from misc commands (email from field) In-Reply-To: References: Message-ID: <1126195564.31899.38.camel@localhost> Hi Blake, > I should have stated that I'm using nullmailer, don't need a full > featured SMTP, I just relay off of our exchange server This is really a nullmailer question, not Nagios. Changing the address should be done in nullmailer, and maybe it ignores the USER environment variable. Check the nullmailer docs for how to do this. If it doesn't support it, you could try another mailer (mailx maybe). Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ecleofe7 at yahoo.com Thu Sep 8 18:17:28 2005 From: ecleofe7 at yahoo.com (Eduard B. Cleofe) Date: Thu, 8 Sep 2005 09:17:28 -0700 (PDT) Subject: Can nagios affect network performance? Message-ID: <20050908161728.67470.qmail@web50709.mail.yahoo.com> Hi Guys, Id like to know if nagios can degrade the network performance,especially when it comes to bandwith and process of servers. Because im planning to setup a nagios network monitoring in a separate pc for our servers and terminals of our client.we are an isp btw. But our nms has monitoring already but it is not good as nagios i think on which you can do a lot of things on it. The services to be running will check only if the servers is alive,temperature,disk usage and some other things i could monitor to maintain our network.Plus the 1000 terminals on which to be monitor by ping and http only. Hope for your answer guys. Thank you. eduard eng'r.eduard __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rossz at vamos-wentworth.org Thu Sep 8 18:25:30 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Thu, 08 Sep 2005 09:25:30 -0700 Subject: checking process time Message-ID: <432065FA.90700@vamos-wentworth.org> I have a perl script used as a pipe for email that does some special processing of data. Occassionally, unfortunately, it gets "stuck" and does not terminate. When this happens, it ends up using most of the CPU and pretty much screws up the system. Until I can track down what is causing the infinite loop I was wondering if there was a way to check the life of a process of a specific name and execute an event handler if it's been running too long. The script should only take a few seconds to run, so I figure if it is more than a few minutes old I can simply have nagios kill the problem process (e.g. (kill -9 pid" should do the job). There is the problem if necessary privileges, too, but that's easy enough to overcome. -- Rossz ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjn at umn.edu Thu Sep 8 18:28:30 2005 From: tjn at umn.edu (Travis J. Noll) Date: Thu, 08 Sep 2005 11:28:30 -0500 Subject: partial service_perfdata_command failure In-Reply-To: <431F3177.9070203@umn.edu> References: <431F3177.9070203@umn.edu> Message-ID: <432066AE.6010406@umn.edu> Nagios Know-it-alls, Is there some very basic configuration I'm overlooking to enable service_perfdata_command on a host by host or service by service basis? When I look in the Nagios gui, the View Config->Services->Process Performance Data column is Yes across the board, yet when I enable the stock service_perfdata_command=process-service-perfdata line I get only a subset of the services that are actually being monitored. I should mention at least this basic configuration information, and I can happily provide more as needed. Nagios 1.2 Linux myhost 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT 2005 i686 i686 i386 GNU/Linu Much thanks, -Travis Travis J. Noll wrote: > Thanks in advance for any thoughts on this matter. > > I've been handed the keys to a generally neglected nagios install and > been given marching orders to get load / mem usage graphs up and > running. I found a partially configured nagiostat in our code tree and > have gotten it to work on some occasions. > > My problem is that the service_perfdata_command does not seem to be > running for all services. I have the lines: > > # nagiostat > service_perfdata_command=service-perf-data-handler > > but have also reverted to uncommenting: > > # testing > #service_perfdata_command=process-service-perfdata > > where I was able to see both in > > /usr/local/nagios/nagiostat/debug.log > > and > > /tmp/service-perfdata > > that not all of the service updates available via the web interface are > being "post-processed" > > One host is handing off disk usage information to the > service_perfdata_command but not load or memory services. Other hosts > are able to pipe load and memory usage information fine. Another host > appears to have no information available in either of the expected log > files, though it stays current within the web interface to nagios. > > Sorry to be such a feeb, but I've only been working on this a couple > days and have been unable to find an answer in docs, google, or > archives. Please let me know what configuration information I can dig > up to be helpful. > > Thanks again, > Travis ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dist-list at LEXUM.UMontreal.CA Thu Sep 8 19:19:14 2005 From: dist-list at LEXUM.UMontreal.CA (FM) Date: Thu, 08 Sep 2005 13:19:14 -0400 Subject: check_nrpe missing from Dag RPMS ? Message-ID: <43207292.5060709@lexum.umontreal.ca> Hello , I installed RPMS: nagios-plugins-1.4-2 nagios-2.0-0.b4.1 From dag.wieers RPMS repository. But I cannot find check_nrpe During RPM creation (using src RPMS) do I have to add a config parameter to have check_nrpe ? thanks ! ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 gridshield.net Thu Sep 8 19:28:09 2005 From: marc at gridshield.net (Marc DeTrano) Date: Thu, 08 Sep 2005 11:28:09 -0600 Subject: circular ballon status map quesition In-Reply-To: <4315CD63.3000203@gridshield.net> References: <4315CD63.3000203@gridshield.net> Message-ID: <432074A9.3000206@gridshield.net> Aha, think I finally got it -- the fill colors are related to state duration. If a host has been in a certain state for more than an hour, the fill goes away. That is a very nice feature, actually. Marc Marc DeTrano wrote: > Thanks for the help--still working on the fill colors. > > I thought it might have something to do with indicating problem states > in the services, but when I checked it over that did not add up (some > hosts with service problems would still have no fills). > > Sometimes the color is yellow, sometime orange, think I might have > seen gray once. > > > On a related note, anyone know of any alternative status map cgi's > (checked Nagios Exchange and googled, did not find much)--perhaps > there is something in the works? This cgi was never a big deal to me > personally except to check outages, but potential clients always point > at the maps in (insert $6-figure proprietary solution here) and say > "wow, cool map" (how's that for a design spec---"make it cooler"). I > am mulling over starting a project myself, but it seems a little > daunting. > > Marc > > > > Andrew Cruse wrote: > >> nagios-users-admin at lists.sourceforge.net wrote: >> >> >>> Don't know what determines the size of the circles but note >>> that things like LAN/WAN interfaces are small and devices >>> hanging off the LAN segments like servers, workstations and >>> printers are bigger on my map. >>> >> >> >> The size of the circle corresponds to the relative number of services >> associated with the host. >> >> Andrew >> >> >> > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at stuff-done.co.uk Thu Sep 8 19:31:18 2005 From: pete at stuff-done.co.uk (Pete Dewell) Date: Thu, 08 Sep 2005 18:31:18 +0100 Subject: check_nrpe missing from Dag RPMS ? In-Reply-To: <43207292.5060709@lexum.umontreal.ca> References: <43207292.5060709@lexum.umontreal.ca> Message-ID: <43207566.2070601@stuff-done.co.uk> Try http://dag.wieers.com/packages/nagios-nrpe/ nrpe is a separate package to both Nagios and the Nagios plugins. Pete Dewell FM wrote: > Hello , > I installed RPMS: > nagios-plugins-1.4-2 > nagios-2.0-0.b4.1 > From dag.wieers RPMS repository. > > But I cannot find check_nrpe > > During RPM creation (using src RPMS) do I have to add a config parameter > to have check_nrpe ? > > thanks ! > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dist-list at LEXUM.UMontreal.CA Thu Sep 8 19:36:15 2005 From: dist-list at LEXUM.UMontreal.CA (FM) Date: Thu, 08 Sep 2005 13:36:15 -0400 Subject: check_nrpe missing from Dag RPMS ? In-Reply-To: <43207566.2070601@stuff-done.co.uk> References: <43207292.5060709@lexum.umontreal.ca> <43207566.2070601@stuff-done.co.uk> Message-ID: <4320768F.1030901@lexum.umontreal.ca> here is what provides nagios-nrpe : /etc/nagios /etc/nagios/nrpe.cfg /etc/rc.d/init.d/nrpe /etc/xinetd.d/nrpe /usr/sbin/nrpe /usr/share/doc/nagios-nrpe-2.0 /usr/share/doc/nagios-nrpe-2.0/Changelog /usr/share/doc/nagios-nrpe-2.0/LEGAL /usr/share/doc/nagios-nrpe-2.0/README no check_nrpe :-) Pete Dewell wrote: > Try http://dag.wieers.com/packages/nagios-nrpe/ > > nrpe is a separate package to both Nagios and the Nagios plugins. > > Pete Dewell > > FM wrote: > >> Hello , >> I installed RPMS: >> nagios-plugins-1.4-2 >> nagios-2.0-0.b4.1 >> From dag.wieers RPMS repository. >> >> But I cannot find check_nrpe >> >> During RPM creation (using src RPMS) do I have to add a config >> parameter to have check_nrpe ? >> >> thanks ! >> >> >> >> ------------------------------------------------------- >> SF.Net email is Sponsored by the Better Software Conference & EXPO >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle >> Practices >> Agile & Plan-Driven Development * Managing Projects & Teams * Testing >> & QA >> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null > > -- Frederic Medery System Administrator LexUM, University of Montreal ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at stuff-done.co.uk Thu Sep 8 19:55:32 2005 From: pete at stuff-done.co.uk (Pete Dewell) Date: Thu, 08 Sep 2005 18:55:32 +0100 Subject: check_nrpe missing from Dag RPMS ? In-Reply-To: <4320768F.1030901@lexum.umontreal.ca> References: <43207292.5060709@lexum.umontreal.ca> <43207566.2070601@stuff-done.co.uk> <4320768F.1030901@lexum.umontreal.ca> Message-ID: <43207B14.5040806@stuff-done.co.uk> My apologies, I didn't notice that it was just the daemon. In that case, I would suggest you get the source code and build from scratch. I have never had any trouble building nrpe, on any platform. Get src from http://www.nagiosexchange.org/NRPE.77.0.html Pete Dewell FM wrote: > here is what provides nagios-nrpe : > /etc/nagios > /etc/nagios/nrpe.cfg > /etc/rc.d/init.d/nrpe > /etc/xinetd.d/nrpe > /usr/sbin/nrpe > /usr/share/doc/nagios-nrpe-2.0 > /usr/share/doc/nagios-nrpe-2.0/Changelog > /usr/share/doc/nagios-nrpe-2.0/LEGAL > /usr/share/doc/nagios-nrpe-2.0/README > > no check_nrpe :-) > > > > Pete Dewell wrote: > >> Try http://dag.wieers.com/packages/nagios-nrpe/ >> >> nrpe is a separate package to both Nagios and the Nagios plugins. >> >> Pete Dewell >> >> FM wrote: >> >>> Hello , >>> I installed RPMS: >>> nagios-plugins-1.4-2 >>> nagios-2.0-0.b4.1 >>> From dag.wieers RPMS repository. >>> >>> But I cannot find check_nrpe >>> >>> During RPM creation (using src RPMS) do I have to add a config >>> parameter to have check_nrpe ? >>> >>> thanks ! >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is Sponsored by the Better Software Conference & EXPO >>> September 19-22, 2005 * San Francisco, CA * Development Lifecycle >>> Practices >>> Agile & Plan-Driven Development * Managing Projects & Teams * Testing >>> & QA >>> Security * Process Improvement & Measurement * >>> http://www.sqe.com/bsce5sf >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >> >> >> > -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ygonzales at medassets.com Thu Sep 8 20:17:33 2005 From: ygonzales at medassets.com (Gonzales, Youn) Date: Thu, 8 Sep 2005 13:17:33 -0500 Subject: PerfParse Message-ID: <99CF04974931C548B2BF20CD898FCBA7B7503F@uscpgmedexch01.medassets.com> I am running PerfParse v0.105.6 and Nagios 2.0b4. The performance graphs work on all of the services I have setup so far except check_ping. Is there an alternative to check_ping that will let us graph the ping times to different network devices or am I just missing something in the config? My generic-service config: define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } One of my host configs: define service{ use generic-service host_name uscpg1stwap1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 960 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } Youn Gonzales Network Engineer MedAssets Supply Chain Systems 280 S Mount Auburn Rd Cape Girardeau, MO 63703 (573) 332-2285 Phone (573) 332-2300 Fax ygonzales at medassets.com "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers" ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 8 20:20:46 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Sep 2005 20:20:46 +0200 Subject: PerfParse In-Reply-To: <99CF04974931C548B2BF20CD898FCBA7B7503F@uscpgmedexch01.medassets.com> References: <99CF04974931C548B2BF20CD898FCBA7B7503F@uscpgmedexch01.medassets.com> Message-ID: <432080FE.1070504@op5.se> Gonzales, Youn wrote: > I am running PerfParse v0.105.6 and Nagios 2.0b4. The performance graphs > work on all of the services I have setup so far except check_ping. Is > there an alternative to check_ping that will let us graph the ping times Yes. check_icmp. http://oss.op5.se/nagios Have fun. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 8 20:25:35 2005 From: marc at ena.com (Marc Powell) Date: Thu, 8 Sep 2005 13:25:35 -0500 Subject: checking process time Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rossz Vamos-Wentworth > Sent: Thursday, September 08, 2005 11:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] checking process time > > I have a perl script used as a pipe for email that does some special > processing of data. Occassionally, unfortunately, it gets "stuck" and > does not terminate. When this happens, it ends up using most of the CPU > and pretty much screws up the system. Until I can track down what is > causing the infinite loop I was wondering if there was a way to check > the life of a process of a specific name and execute an event handler if > it's been running too long. The script should only take a few seconds > to run, so I figure if it is more than a few minutes old I can simply > have nagios kill the problem process (e.g. (kill -9 pid" should do the > job). Nagios-plugins-1.4.1 check_procs *under linux* adds an additional metric called ELAPSED which appears to allow for checking how long a process has been running. I've tried testing it but the call to ps isn't including the 'etime' option ala "/bin/ps -axwo 'stat uid ppid vsz rss pcpu comm args etime'" so it isn't working properly. It looks to me like configure tests less informative variations of the ps command first and if one of those matches it will use that for the ps format instead of progressing to more informative variations, including the one that has etime. From configure.log -- configure:14078: result: /bin/ps configure:14086: checking for ps syntax configure:14095: result: /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args' when in fact, the one that includes etime works correctly (taken from configure) -- $ ps -weo 'stat comm vsz rss user uid pid ppid etime args' STAT COMMAND VSZ RSS USER UID PID PPID ELAPSED COMMAND S init 1376 368 root 0 1 0 132-06:03:18 init SW keventd 0 0 root 0 2 1 132-06:03:17 [keventd] SWN ksoftirqd_CPU0 0 0 root 0 3 1 132-06:03:17 [ksoftirqd_CPU0] Can anyone else confirm this as a bug? I don't see anything in the tracker. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 8 20:36:20 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Sep 2005 20:36:20 +0200 Subject: checking process time In-Reply-To: References: Message-ID: <432084A4.2060109@op5.se> Marc Powell wrote: > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Rossz Vamos-Wentworth >>Sent: Thursday, September 08, 2005 11:26 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] checking process time >> >>I have a perl script used as a pipe for email that does some special >>processing of data. Occassionally, unfortunately, it gets "stuck" and >>does not terminate. When this happens, it ends up using most of the > > CPU > >>and pretty much screws up the system. Until I can track down what is >>causing the infinite loop I was wondering if there was a way to check >>the life of a process of a specific name and execute an event handler > > if > >>it's been running too long. The script should only take a few seconds >>to run, so I figure if it is more than a few minutes old I can simply >>have nagios kill the problem process (e.g. (kill -9 pid" should do the >>job). > > > Nagios-plugins-1.4.1 check_procs *under linux* adds an additional metric > called ELAPSED which appears to allow for checking how long a process > has been running. I've tried testing it but the call to ps isn't > including the 'etime' option ala "/bin/ps -axwo 'stat uid ppid vsz rss > pcpu comm args etime'" so it isn't working properly. It looks to me like > configure tests less informative variations of the ps command first and > if one of those matches it will use that for the ps format instead of > progressing to more informative variations, including the one that has > etime. From configure.log -- > > configure:14078: result: /bin/ps > configure:14086: checking for ps syntax > configure:14095: result: /bin/ps axwo 'stat uid pid ppid vsz rss pcpu > comm args' > > when in fact, the one that includes etime works correctly (taken from > configure) -- > > $ ps -weo 'stat comm vsz rss user uid pid ppid etime args' > STAT COMMAND VSZ RSS USER UID PID PPID ELAPSED > COMMAND > S init 1376 368 root 0 1 0 132-06:03:18 > init > SW keventd 0 0 root 0 2 1 132-06:03:17 > [keventd] > SWN ksoftirqd_CPU0 0 0 root 0 3 1 132-06:03:17 > [ksoftirqd_CPU0] > > Can anyone else confirm this as a bug? I don't see anything in the > tracker. > I have a vague memory of this being because some systems failed silently in the configure test, causing check_procs to sigsegv in whatever configuration it ran. I believe they were re-arranged rather than dropped so it would be easy to re-enable it later. cvs log should tell you. > -- > Marc > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard.Miller at baesystems.com Thu Sep 8 20:40:21 2005 From: Leonard.Miller at baesystems.com (Leonard Miller) Date: Thu, 08 Sep 2005 13:40:21 -0500 Subject: Status Map Woes Message-ID: Me thinks me fingered it out. I missed the default_statusmap_layout option. DOH!!!! >>> "Leonard Miller" 9/8/2005 8:44:17 AM >>> Hi, I've recently seen problems with status map, now it's my turn. I can see the map, but all my hosts are in a circle with the ? image representing each host. I created a hostextinfo.cfg file and added cfg_file=/usr/local/nagios/etc/hostextinfo.cfg to my nagios.cfg file. I tried changing the coords for my host several times, but it just won't budge. So far this is all I have in my hostextinfo.cfg file: define hostextinfo{ host_name HOSTNAME notes Wireless WDS 2d_coords 300,550 3d_coords 100.0,50.0,75.0 } Running Nagios 2.0b4 What I am trying to do is move because I want set my wireless radios in a tree under the WDS. Thanks in advance Leonard ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.ahlstrom at managedmail.com Thu Sep 8 21:27:02 2005 From: mark.ahlstrom at managedmail.com (Mark Ahlstrom) Date: Thu, 08 Sep 2005 14:27:02 -0500 Subject: Event handler question Message-ID: <1126207622.8138.27.camel@mediis> I'm trying to put local event handlers in place for a couple of services. I created a test script so I could understand the interaction between nagios, the script and the events. The test script does nothing other than print the passed arguments to a file, in perl, "arg# :: arg-value". The script is supposed to execute when a state change occurs, and you can see the event handler logging in nagios.log. But the script is not executed. It's only executed when the service returns. Here's my log from one test (filling up the file system)... [1126205981] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;smt;DISKS;1126205963 [1126206041] SERVICE ALERT: smt;DISKS;CRITICAL;SOFT;1;Critical: /(95%) [1126206041] SERVICE EVENT HANDLER: smt;DISKS;CRITICAL;SOFT;1;handler-service-test [1126206171] SERVICE ALERT: smt;DISKS;CRITICAL;SOFT;2;Critical: /(95%) [1126206171] SERVICE EVENT HANDLER: smt;DISKS;CRITICAL;SOFT;2;handler-service-test [1126206299] SERVICE ALERT: smt;DISKS;CRITICAL;HARD;3;Critical: /(95%) [1126206299] SERVICE NOTIFICATION: mark-mail;smt;DISKS;CRITICAL;notify-by-email;Critical: /(95%) [1126206300] SERVICE NOTIFICATION: mark;smt;DISKS;CRITICAL;notify-by-epager;Critical: /(95%) [1126206300] SERVICE NOTIFICATION: mark;smt;DISKS;CRITICAL;notify-by-email;Critical: /(95%) [1126206300] SERVICE EVENT HANDLER: smt;DISKS;CRITICAL;HARD;3;handler-service-test [1126206339] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;smt;DISKS;1126206327 [1126206399] EXTERNAL COMMAND: ADD_SVC_COMMENT;smt;DISKS;1;nscmd;ACKNOWLEDGEMENT via SleepNscmd [1126206399] EXTERNAL COMMAND: ACKNOWLEDGE_SVC_PROBLEM;smt;DISKS;0;ACKNOWLEDGEMENT via SleepNscmd [1126206404] SERVICE ALERT: smt;DISKS;OK;HARD;3;All disks below warning/critical thresholds [1126206404] SERVICE NOTIFICATION: mark-mail;smt;DISKS;OK;notify-by-email;All disks below warning/critical thresholds [1126206404] SERVICE EVENT HANDLER: smt;DISKS;OK;HARD;3;handler-service-test Here's the script output from this one test. 0 :: OK 1 :: HARD 2 :: 3 3 :: smt 4 :: DISKS 5 :: 1126206404 6 :: All 7 :: disks 8 :: below 9 :: warning/critical 10 :: thresholds I included the $TIMET$ and $OUTPUT$ macros, and you can clearly see that the time correlates only to the hard recovery. Am I missing a configuration switch somewhere? I have event_handlers enabled in the nagios.cfg and in the services.cfg. Mark ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.ahlstrom at managedmail.com Thu Sep 8 22:30:56 2005 From: mark.ahlstrom at managedmail.com (Mark Ahlstrom) Date: Thu, 08 Sep 2005 15:30:56 -0500 Subject: Event handler question Message-ID: <1126211456.8138.40.camel@mediis> Wouldn't you guess that I would figure out why the event handler wasn't executing just after I posted. The handler will only execute upon a recovery when I have $OUTPUT$ defined in the command. Once I yank that out of the command definition, the handler executes as the documentation states. Mark ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 8 23:19:47 2005 From: marc at ena.com (Marc Powell) Date: Thu, 8 Sep 2005 16:19:47 -0500 Subject: Event handler question Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mark Ahlstrom > Sent: Thursday, September 08, 2005 3:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RE: Event handler question > > Wouldn't you guess that I would figure out why the event handler wasn't > executing just after I posted. > > The handler will only execute upon a recovery when I have $OUTPUT$ > defined in the command. Once I yank that out of the command definition, > the handler executes as the documentation states. I don't use event handlers but that seems awfully strange. Does the output include special characters like ', ", &, etc that aren't being quoted properly when in a non-OK state? -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.ahlstrom at managedmail.com Fri Sep 9 00:40:23 2005 From: mark.ahlstrom at managedmail.com (Mark Ahlstrom) Date: Thu, 08 Sep 2005 17:40:23 -0500 Subject: event_handler oddity Message-ID: <1126219223.8138.50.camel@mediis> This is the result of a simple event handler I set up to test it's interoperability and interaction. The one I had a tough time getting to run this morning. This email went out when it reached a hard state change. The fun thing about this is that the service, DISKS, is in down time. A notification didn't go out but the script did execute! Does anyone know if it's supposed to happen this way? -- Mark -------- Forwarded Message -------- From: Nagios User To: ahlstrom Subject: event_handler Date: Thu, 8 Sep 2005 17:21:01 -0500 (CDT) 1126218061 :: DISKS on smt has reached attempt number 3 for the HARD state ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Fri Sep 9 01:27:16 2005 From: tdondich at gmail.com (Taylor Dondich) Date: Thu, 8 Sep 2005 16:27:16 -0700 Subject: Fruity 1.0 Beta 2 is released! Message-ID: <3d2eb72a05090816274cbee2f2@mail.gmail.com> Your favorite Nagios Configuration Tool has been updated! http://fruity.sf.net Beta 2 is released! This release fixes a great deal of bugs found in Beta 1 and attempts to resolve all Nagios 2.x functionality. The DB Schema has changed, so please be sure to update your SQL schema file. Note: The database schema has changed, update your sql schema with the clean SQL file located in sqldata. CHANGELOG SINCE BETA1-PL3: - Host Check Command Parameters - Added Search Capability - Increased Side Navigation Functionality - Numerous Bug Fixes - New Open Source Developer: Craig A. Hancock - DB Schema Change (Please update your DB Schema) If you have any questions, problems, or bugs, please refer to the Sourceforge project page. http://fruity.sf.net ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sampinar at gmail.com Fri Sep 9 06:01:39 2005 From: sampinar at gmail.com (Sam Pinar) Date: Fri, 9 Sep 2005 14:01:39 +1000 Subject: Bluetooth ?? Message-ID: <4aa215380509082101253ef89@mail.gmail.com> Hi all, Has anyone tried to send email alerts via bluetooth? I know its sounds abit stupid but could be useful in some aspects. Anyone with suggestions, or anyone who has it running or wants to get it running, let me know. Cheers, Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: From enst at rao.elektra.ru Fri Sep 9 06:09:58 2005 From: enst at rao.elektra.ru (Evgeny Stepanov) Date: Fri, 9 Sep 2005 08:09:58 +0400 Subject: Remote monitoring (distributed) Message-ID: <1856173825.20050909080958@rao.elektra.ru> Hello everyone! I'm Nagios newbie and have some doubts. What am i doing? I have nagios host that is doing active checks for the hosts it can reach and is doing some checks via nsclient++ on remote hosts for the hosts it can't reach directly. so, i made the config like that: define host{ use generic-host host_name my-distant-host alias Distant host @ Khabarovsk # address 10.216.4.42 check_command check-dist-host!10.216.4.42!50,100!1500,2000 check_interval 3 max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups admins } The command check-dist-host looks like define command{ command_name check-dist-host command_line $USER1$/check_nrpe2 -H 192.168.11.8 -c check_dist_host_alive!$ARG1$!$ARG2$!$ARG3$ } 192.168.11.8 is the host, that is actually performing ping with the perl check_ping.pl script. I commented out the address field because i used to get a lot of flapping, because (as far as think) nagios checks whether host is alive in some extra way other than check_command. With address field commented it works well. but i think it's not the _right_ way of doing things in nagios. Any ideas? How do you resolve these situations of monitoring different network resources across the network?. I thought of distributed monitoring, but unfortunetly i don't have any *nix hosts in 192.168.0.0 network to put nagios on it. And i don't want to make any holes on my firewalls and routers to route all these dummy networks... Any help would be great! Best regards, Evgeny Stepanov ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From VINAY_SHARMA at advanex.co.jp Fri Sep 9 06:09:57 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Fri, 9 Sep 2005 13:09:57 +0900 Subject: Bluetooth ?? Message-ID: Dear All, Is anyone has configured monitoring disk and cpu laod with nagios. i have configurd nagios 1st time and its running very good with alert and only ping and smtp check command.i want to monitor my some windows serevrs with cpu load and disk space. will appriciating if some one tell me configuration with current instllation of nagios. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp Sam Pinar ??: Nagios User Forums ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] Bluetooth ?? ceforge.net 2005/09/09 13:01 sampinar ????????? Hi all, Has anyone tried to send email alerts via bluetooth? I know its sounds abit stupid but could be useful in some aspects. Anyone with suggestions, or anyone who has it running or wants to get it running, let me know. Cheers, Sam ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lui.external at infineon.com Fri Sep 9 07:21:04 2005 From: Lui.external at infineon.com (Lui.external at infineon.com) Date: Fri, 9 Sep 2005 13:21:04 +0800 Subject: Help: Nagios Core Program problem Message-ID: > Hi, > I am trying to install the nagios core program in my linux server. > I had already downloaded the nagios-1.2 and having glib-1.2 installed > in my server. Here are the steps that I had performed: > # cd nagios-1.2 > # ./configure --prefix=/home/samadm/nagios --with-nagios-user=samadm > --with-nagios-grp=`id -gn` --with-default-extinfo > --with-default-objects --with-ping-command='/bin/ping -w 56 -U -n -c > %d %s' > # make all > > I get an error as shown below when I am trying to execute the "make > all" command. > edata.o(.text+0x28): In function `read_extended_object_config_data': > /home/samadm/src/nagios-1.2/cgi/edata.c:85: undefined reference to > `xedtemplate_read_extended_object_config_data' > collect2: ld returned 1 exit status > make[1]: *** [extinfo.cgi] Error 1 > make[1]: Leaving directory `/home/samadm/src/nagios-1.2/cgi' > make: *** [all] Error 2 > May I know what is the problem behind? > When I opened the nagios website(http://172.17.22.22:8888/nagios/), I > get the error: 404 not found > > Is there anyone can help to solve this problem? > > Appreciate your help. > > Regards, > Louise ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Sep 9 07:52:23 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 9 Sep 2005 01:52:23 -0400 Subject: check_nt_cpuload help In-Reply-To: <43202F4C.10805@tgs-solutions.com> References: <43202F4C.10805@tgs-solutions.com> Message-ID: For Checking the Average CPU Load over the past Hour use the following: check_command check_nt_cpuload!60,80,90,90,80,90 your command definition should be something like this: define command{ command_name check_nt_cpuload command_line $USER1$/check_nt -H $HOSTADDRESS$ -t 5 -p 1248 -v CPULOAD -l $ARG1$ } The way this command works is the -l is in sets of three (triplet) separated by a comma the first is the # of minutes to check, then the warning percent, last the critical percent value do not use % in the command, Ns_client and NC_Net can check more than one average at a time so the above command will check the load over the last hour and the last 1.5 hours. NS_Client and NC_net check the CPU Load several times a minute and then calculate the average when it receives the check_nt command. If using NC_Net make sure to increase the Parameter Cpu_max_interval to larger than the maximum minutes you will be checking. Hope this helps, Tony On 9/8/05, Sudheer Muddappa wrote: > > Hi guys, > > In my services.cfg file I have for check_nt_cpuload as > > define service{ > host_name stealth > service_description CPU LOAD > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups server-admins > notification_interval 240 > notification_period 24x7 > notification_options u,c,r > check_command > check_nt_cpuload!60!80%!90%!90!80%!90! > } > > Is this is correct? > > Just want to check the cpu load every 60 minutes. > > On the web page I see a message saying > > not enough values for -l parameters > > > check_disk is workgin properly for the same server. > > Thanks, > > -- > Sudheer Muddappa > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: From schoenfeld at in-medias-res.com Fri Sep 9 09:44:42 2005 From: schoenfeld at in-medias-res.com (=?ISO-8859-15?Q?sch=F6nfeld_/_in-medias-res?=) Date: Fri, 09 Sep 2005 09:44:42 +0200 Subject: Question about NRPE operation Message-ID: <43213D6A.5020209@in-medias-res.com> Hi, i'm having some problems with checking a ncpfs filesystem and got a suspicious on my mind, so i have a question about how the NRPE does operate. Ok, here we go: Nagios initiates a check of a particular service on Host X, so it does send a request to the NRPE daemon on Host X. Host X checks the request and starts the plugin which can do the requested service check and switches into wating state => waiting for the plugin answere. Now imagine that the ncpfs is busy, because of another "heavy operation" on it. So the plugin runs and runs, but has to wait for the filesystem and does not return a result to the nrpe in the meanwhile. So now the question is: Does the NRPE Server has an timeout after which it'll *kill* the plugin? If so: Linux ncpfs is not able of threading ncpfs operations. So if one process is accessing the ncpfs and gets a SIGKILL, the ncp connection becomes invalid and the source of my problem would be identified. Thanks in advance Greets Patrick ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 9 10:41:13 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 09 Sep 2005 10:41:13 +0200 Subject: Question about NRPE operation In-Reply-To: <43213D6A.5020209@in-medias-res.com> References: <43213D6A.5020209@in-medias-res.com> Message-ID: <43214AA9.9060404@op5.se> sch?nfeld / in-medias-res wrote: > Hi, > > i'm having some problems with checking a ncpfs filesystem and > got a suspicious on my mind, so i have a question about how > the NRPE does operate. > > Ok, here we go: > Nagios initiates a check of a particular service on Host X, > so it does send a request to the NRPE daemon on Host X. > > Host X checks the request and starts the plugin which can do the > requested service check and switches into wating state => waiting for > the plugin answere. > > Now imagine that the ncpfs is busy, because of another "heavy operation" > on it. So the plugin runs and runs, but has to wait for the filesystem > and does not return a result to the nrpe in the meanwhile. > The plugin itself is supposed to exit gracefully after some specified amount of maximum time. This is generally achieved by installing a signal-handler to catch SIGALRM and making an alarm(2) call. The signal-handler should make sure all locks and resources are released (the kernel will handle it otherwise, but that's considered terribly bad form). > So now the question is: Does the NRPE Server has an timeout after which > it'll *kill* the plugin? Yes, naturally. Otherwise it could risk filling up the process-table, or plugins with infinite loops could bring the entire system down. > If so: Linux ncpfs is not able of threading > ncpfs operations. So if one process is accessing the ncpfs and gets > a SIGKILL, the ncp connection becomes invalid and the source of my > problem would be identified. > This really can't be. Any locks and resources held by a terminated process should be cleared by the kernel (if not by the process itself). If they aren't, you've found a kernel bug. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schoenfeld at in-medias-res.com Fri Sep 9 11:07:02 2005 From: schoenfeld at in-medias-res.com (=?ISO-8859-15?Q?sch=F6nfeld_/_in-medias-res?=) Date: Fri, 09 Sep 2005 11:07:02 +0200 Subject: Question about NRPE operation In-Reply-To: <43214AA9.9060404@op5.se> References: <43213D6A.5020209@in-medias-res.com> <43214AA9.9060404@op5.se> Message-ID: <432150B6.1080705@in-medias-res.com> Hi, thanks for your answere. It helped me a lot. Andreas Ericsson schrieb: >> If so: Linux ncpfs is not able of threading >> ncpfs operations. So if one process is accessing the ncpfs and gets >> a SIGKILL, the ncp connection becomes invalid and the source of my >> problem would be identified. >> > > This really can't be. Any locks and resources held by a terminated > process should be cleared by the kernel (if not by the process itself). > If they aren't, you've found a kernel bug. Yes it is a bug in the ncpfs code of the kernel. Well not really a bug but an implementation weakness. The maintainer of the kernel ncpfs code So yes i could take it as a bug or just as an implementation weakness. Anyways would that identify my problems and make me really unhappy with that. stated the following in the kernel mailinglist a while ago: "You also must not send SIGKILL to processes which are in the middle of NCP transaction. Because of ncpfs does not use its own thread (or bh) to implement NCP ping-pong protocol, connection becomes invalid after such action, as ping-pong was not successfully completed." Well to know that doesn't make me happier but a little bit wiser. What could be a possible solution / workaround? Any ideas? Greets Patrick ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 9 11:12:20 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 09 Sep 2005 11:12:20 +0200 Subject: Question about NRPE operation In-Reply-To: <432150B6.1080705@in-medias-res.com> References: <43213D6A.5020209@in-medias-res.com> <43214AA9.9060404@op5.se> <432150B6.1080705@in-medias-res.com> Message-ID: <432151F4.8060408@op5.se> sch?nfeld / in-medias-res wrote: > Hi, > > thanks for your answere. It helped me a lot. > > Andreas Ericsson schrieb: > >>>If so: Linux ncpfs is not able of threading >>>ncpfs operations. So if one process is accessing the ncpfs and gets >>>a SIGKILL, the ncp connection becomes invalid and the source of my >>>problem would be identified. >>> >> >>This really can't be. Any locks and resources held by a terminated >>process should be cleared by the kernel (if not by the process itself). >>If they aren't, you've found a kernel bug. > > > Yes it is a bug in the ncpfs code of the kernel. Well not really a bug > but an implementation weakness. The maintainer of the kernel ncpfs code > So yes i could take it as a bug or just as an implementation weakness. > Anyways would that identify my problems and make me really unhappy with > that. > stated the following in the kernel mailinglist a while ago: > > "You also must not send SIGKILL to processes which are in the middle of > NCP transaction. Because of ncpfs does not use its own thread (or bh) > to implement NCP ping-pong protocol, connection becomes invalid after > such action, as ping-pong was not successfully completed." > > Well to know that doesn't make me happier but a little bit wiser. > > What could be a possible solution / workaround? Any ideas? > Make sure the program holding the lock exits gracefully by catching a SIGALRM rather than receiving the SIGKILL from nrpe. If that doesn't work, a kernel-patch is required. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agabellini at intelcom.sm Fri Sep 9 13:22:08 2005 From: agabellini at intelcom.sm (Andrea Gabellini) Date: Fri, 09 Sep 2005 13:22:08 +0200 Subject: Perfdata truncated Message-ID: <6.2.1.2.2.20050909124548.026d1c30@mail.intelcom.sm> Hi, I wrote a plugin that return many perfdata. The output looks like it: Sessions in: 27 - Sessions out: 82 | '195.219.218.138'=1 'EX1'=1 'EX1-h323'=29 'EX2'=3 'EX2-h323'=15 'Ibasis-SIP-1'=3 'Ibasis-SIP-2'=1 'ditutel1-h323'=1 'ditutel10-h323'=1 'ditutel11-h323'=2 'ditutel12-h323'=2 'ditutel15-h323'=1 'ditutel18-h323'=1 'ditutel19-h323'=1 'ditutel2-h323'=2 'ditutel20-h323'=1 'ditutel3-h323'=1 'ditutel4-h323'=3 'ditutel5-h323'=1 'ditutel6-h323'=1 'ditutel7-h323'=1 'ipcrossing-h323'=1 'netglobalis-h323'=2 'planetit2-h323'=3 'planetit3-h323'=4 'planetit4-h323'=3 'silvertech-h323'=18 'technosphere-h323'=2 'technosphere2-h323'=1 'tseyva-h323'=3 In the perfdata-service.log file the perfdata is truncated like it: 1126260797 localhost DETAIL Sessions in: 17 - Sessions out: 54 OK 'EX1'=1 'EX1-h323'=13 'EX2'=1 'EX2-h323'=19 'Ibasis-SIP-1'=1 'Ibasis-SIP-2'=1 'ditutel10-h323'=1 'ditutel12-h323'=1 'ditutel13-h323'=1 'ditutel18-h323'=3 'ditutel19-h323'=1 'ditutel2-h323'=1 'ditutel20-h323'=2 'ditutel4-h323'=1 'ditutel5-h323'=1 'ditutel7-h323'=1 'ditutel9-h323'=3 'netglobalis-h323'=1 'plane I looked in the source code (2b4) but I didn't find anything (I'm not a real C programmer :-( ) Can someone help me? Thanks in advance, Andrea --------------------------------------- A real friend is someone who trusts you with her secrets, warms you with her heart, and remembers you in her prayers. --------------------------------------- Ing. Andrea Gabellini Email: agabellini at intelcom.sm Tel: 0549 886111 (Italy) Tel. +378 0549 886111 (International) Intelcom San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Repubblic of San Marino http://www.omniway.sm http://www.intelcom.sm ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schoenfeld at in-medias-res.com Fri Sep 9 13:28:05 2005 From: schoenfeld at in-medias-res.com (=?ISO-8859-15?Q?sch=F6nfeld_/_in-medias-res?=) Date: Fri, 09 Sep 2005 13:28:05 +0200 Subject: Question about NRPE operation In-Reply-To: <432151F4.8060408@op5.se> References: <43213D6A.5020209@in-medias-res.com> <43214AA9.9060404@op5.se> <432150B6.1080705@in-medias-res.com> <432151F4.8060408@op5.se> Message-ID: <432171C5.2050300@in-medias-res.com> Andreas Ericsson schrieb: > Make sure the program holding the lock exits gracefully by catching a > SIGALRM rather than receiving the SIGKILL from nrpe. Well the problem is: i can't, because the plugin is a script that relies on reading a specific file which is located on the novell filesystem. Well - if the problem occurs (with ncpfs) than the command gets into an infintive wait state, until nrpe sends a SIGKILL. If my script handles SIGALRM all it can do is do send a KILL signal to the task which tries to read from the ncpfs and then i would have won nothing but a broken novell connection. Anyways: We found a solution. The plugin hangs if novell connection is busy because of a process which is running constant and reading from the novell filesystem regulary. We did renice this process and now we don't have the problem, where the plugin gets into an infitive wait state. Problem solved. Greets Patrick ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sxanrr at yahoo.com Fri Sep 9 14:42:33 2005 From: sxanrr at yahoo.com (Sxan) Date: Fri, 9 Sep 2005 05:42:33 -0700 (PDT) Subject: Host Down alert when Host is Up Message-ID: <20050909124233.14319.qmail@web32201.mail.mud.yahoo.com> Hey everyone, We just changed the vlan that 2 servers are on in one location and all of a sudden Nagios is now reporting those servers as being down, even though I'm able to ping them fine from the Nagios server itself and everything else is functioning just fine. I'm confused as to why this would happen. Any ideas? I'm also wondering if this could be related to the TTL possibly changing? If so, does anyone know any simple way to change the ttl that Nagios looks for or maybe increase it somehow on the box? Thanks as always! ~Jim ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Sep 9 15:51:52 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 9 Sep 2005 09:51:52 -0400 (EDT) Subject: Host Down alert when Host is Up In-Reply-To: <20050909124233.14319.qmail@web32201.mail.mud.yahoo.com> References: <20050909124233.14319.qmail@web32201.mail.mud.yahoo.com> Message-ID: On Fri, 9 Sep 2005, Sxan wrote: > Hey everyone, > > We just changed the vlan that 2 servers are on in one > location and all of a sudden Nagios is now reporting > those servers as being down, even though I'm able to > ping them fine from the Nagios server itself and > everything else is functioning just fine. I'm confused > as to why this would happen. Any ideas? I'm also > wondering if this could be related to the TTL possibly > changing? If so, does anyone know any simple way to > change the ttl that Nagios looks for or maybe increase > it somehow on the box? Thanks as always! > > ~Jim > TTL doesn't matter. Did you change the IP addr of the servers in the nagios config? Are you use state retention? -- -sg ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Fri Sep 9 16:05:00 2005 From: f1216 at yahoo.com (Fred) Date: Fri, 9 Sep 2005 07:05:00 -0700 (PDT) Subject: Host Down alert when Host is Up In-Reply-To: References: Message-ID: <20050909140500.40012.qmail@web31907.mail.mud.yahoo.com> On my configuration, I ping some smart switches via a host-check. If the TTL is out of bounds according to the host-check command it returns a warning or critical. If it returns a critical the switch is reported as "down". -FredC --- Subhendu Ghosh wrote: > On Fri, 9 Sep 2005, Sxan wrote: > > > Hey everyone, > > > > We just changed the vlan that 2 servers are on in one > > location and all of a sudden Nagios is now reporting > > those servers as being down, even though I'm able to > > ping them fine from the Nagios server itself and > > everything else is functioning just fine. I'm confused > > as to why this would happen. Any ideas? I'm also > > wondering if this could be related to the TTL possibly > > changing? If so, does anyone know any simple way to > > change the ttl that Nagios looks for or maybe increase > > it somehow on the box? Thanks as always! > > > > ~Jim > > > > TTL doesn't matter. Did you change the IP addr of the servers in the > nagios config? Are you use state retention? > > > -- > -sg > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Sep 9 16:09:54 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 9 Sep 2005 10:09:54 -0400 (EDT) Subject: Host Down alert when Host is Up In-Reply-To: <20050909140500.40012.qmail@web31907.mail.mud.yahoo.com> References: <20050909140500.40012.qmail@web31907.mail.mud.yahoo.com> Message-ID: On Fri, 9 Sep 2005, Fred wrote: > On my configuration, I ping some smart switches via a host-check. > If the TTL is out of bounds according to the host-check command > it returns a warning or critical. If it returns a critical the > switch is reported as "down". > > -FredC check_ping only support RTA and packet loss. You must be using something else.. > > --- Subhendu Ghosh wrote: > >> On Fri, 9 Sep 2005, Sxan wrote: >> >>> Hey everyone, >>> >>> We just changed the vlan that 2 servers are on in one >>> location and all of a sudden Nagios is now reporting >>> those servers as being down, even though I'm able to >>> ping them fine from the Nagios server itself and >>> everything else is functioning just fine. I'm confused >>> as to why this would happen. Any ideas? I'm also >>> wondering if this could be related to the TTL possibly >>> changing? If so, does anyone know any simple way to >>> change the ttl that Nagios looks for or maybe increase >>> it somehow on the box? Thanks as always! >>> >>> ~Jim >>> >> >> TTL doesn't matter. Did you change the IP addr of the servers in the >> nagios config? Are you use state retention? >> >> >> -- >> -sg >> >> -- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Fri Sep 9 16:20:15 2005 From: f1216 at yahoo.com (Fred) Date: Fri, 9 Sep 2005 07:20:15 -0700 (PDT) Subject: Host Down alert when Host is Up In-Reply-To: References: Message-ID: <20050909142015.92058.qmail@web31903.mail.mud.yahoo.com> Yes, you are correct, I misspoke (typed?), however, my point remains that if the host-check returns a critical, nagios will treat the node as down. Whatever the command you are using ... "down" is a state which is defined by the host-check, it doesn't always mean the host is down, maybe its just not behaving as expected. -FredC --- Subhendu Ghosh wrote: > On Fri, 9 Sep 2005, Fred wrote: > > > On my configuration, I ping some smart switches via a host-check. > > If the TTL is out of bounds according to the host-check command > > it returns a warning or critical. If it returns a critical the > > switch is reported as "down". > > > > -FredC > > check_ping only support RTA and packet loss. You must be using something > else.. > > > > > --- Subhendu Ghosh wrote: > > > >> On Fri, 9 Sep 2005, Sxan wrote: > >> > >>> Hey everyone, > >>> > >>> We just changed the vlan that 2 servers are on in one > >>> location and all of a sudden Nagios is now reporting > >>> those servers as being down, even though I'm able to > >>> ping them fine from the Nagios server itself and > >>> everything else is functioning just fine. I'm confused > >>> as to why this would happen. Any ideas? I'm also > >>> wondering if this could be related to the TTL possibly > >>> changing? If so, does anyone know any simple way to > >>> change the ttl that Nagios looks for or maybe increase > >>> it somehow on the box? Thanks as always! > >>> > >>> ~Jim > >>> > >> > >> TTL doesn't matter. Did you change the IP addr of the servers in the > >> nagios config? Are you use state retention? > >> > >> > >> -- > >> -sg > >> > >> > > -- > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blakekrone at gmail.com Fri Sep 9 16:36:29 2005 From: blakekrone at gmail.com (Blake Krone) Date: Fri, 9 Sep 2005 08:36:29 -0600 Subject: Setting env variables from misc commands (email from field) In-Reply-To: <1126195564.31899.38.camel@localhost> References: <1126195564.31899.38.camel@localhost> Message-ID: I know nullmailer doesn't ignore the USER variable as I can do it from command line. Hence why I asked it as a nagios question, because it seems the misc commands ignores multiple commands seperated by ; or it just doesn't read from ENV variables. It's more of a Nagios question as you should be able to set the from field in nagios. On 9/8/05, Chris Wilson wrote: > > Hi Blake, > > > I should have stated that I'm using nullmailer, don't need a full > > featured SMTP, I just relay off of our exchange server > > This is really a nullmailer question, not Nagios. Changing the address > should be done in nullmailer, and maybe it ignores the USER environment > variable. Check the nullmailer docs for how to do this. If it doesn't > support it, you could try another mailer (mailx maybe). > > Cheers, Chris. > -- > (aidworld) chris wilson | chief engineer (chris at aidworld.org) > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sxanrr at yahoo.com Fri Sep 9 16:51:48 2005 From: sxanrr at yahoo.com (Sxan) Date: Fri, 9 Sep 2005 07:51:48 -0700 (PDT) Subject: Host Down alert when Host is Up In-Reply-To: <20050909142015.92058.qmail@web31903.mail.mud.yahoo.com> References: <20050909142015.92058.qmail@web31903.mail.mud.yahoo.com> Message-ID: <20050909145148.25642.qmail@web32210.mail.mud.yahoo.com> The IP addresses did change, but I accounted for that in the hosts.cfg file for this host. I'm not an expert with Nagios so I'm not sure totally what you mean when you're asking if I use state retention. But basically the situation is that everything worked fine yesterday, IP addresses were changed and the 2 servers were put on a new vlan, but they are still up and completely reachable by ping and whatever else. That's why I'm kind of confused. Here's the nagios notification if it helps at all... ***** Nagios ***** Notification Type: PROBLEM Host: boca-srv01 State: DOWN Address: 10.168.0.201 Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: Fri Sept 9 10:47:18 EDT 2005 ~Jim --- Fred wrote: > > Yes, you are correct, I misspoke (typed?), however, > my point > remains that if the host-check returns a critical, > nagios will > treat the node as down. Whatever the command you > are using ... > > "down" is a state which is defined by the > host-check, it doesn't > always mean the host is down, maybe its just not > behaving as > expected. > > -FredC > > --- Subhendu Ghosh wrote: > > > On Fri, 9 Sep 2005, Fred wrote: > > > > > On my configuration, I ping some smart switches > via a host-check. > > > If the TTL is out of bounds according to the > host-check command > > > it returns a warning or critical. If it returns > a critical the > > > switch is reported as "down". > > > > > > -FredC > > > > check_ping only support RTA and packet loss. You > must be using something > > else.. > > > > > > > > --- Subhendu Ghosh wrote: > > > > > >> On Fri, 9 Sep 2005, Sxan wrote: > > >> > > >>> Hey everyone, > > >>> > > >>> We just changed the vlan that 2 servers are on > in one > > >>> location and all of a sudden Nagios is now > reporting > > >>> those servers as being down, even though I'm > able to > > >>> ping them fine from the Nagios server itself > and > > >>> everything else is functioning just fine. I'm > confused > > >>> as to why this would happen. Any ideas? I'm > also > > >>> wondering if this could be related to the TTL > possibly > > >>> changing? If so, does anyone know any simple > way to > > >>> change the ttl that Nagios looks for or maybe > increase > > >>> it somehow on the box? Thanks as always! > > >>> > > >>> ~Jim > > >>> > > >> > > >> TTL doesn't matter. Did you change the IP addr > of the servers in the > > >> nagios config? Are you use state retention? > > >> > > >> > > >> -- > > >> -sg > > >> > > >> > > > > -- > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software > Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * > Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing > Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 9 16:59:06 2005 From: marc at ena.com (Marc Powell) Date: Fri, 9 Sep 2005 09:59:06 -0500 Subject: Perfdata truncated Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andrea Gabellini > Sent: Friday, September 09, 2005 6:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Perfdata truncated > > Hi, > > I wrote a plugin that return many perfdata. The output looks like it: > > Sessions in: 27 - Sessions out: 82 | '195.219.218.138'=1 'EX1'=1 > 'EX1-h323'=29 'EX2'=3 'EX2-h323'=15 'Ibasis-SIP-1'=3 'Ibasis-SIP-2'=1 > 'ditutel1-h323'=1 'ditutel10-h323'=1 'ditutel11-h323'=2 'ditutel12-h323'=2 > 'ditutel15-h323'=1 'ditutel18-h323'=1 'ditutel19-h323'=1 'ditutel2-h323'=2 > 'ditutel20-h323'=1 'ditutel3-h323'=1 'ditutel4-h323'=3 'ditutel5-h323'=1 > 'ditutel6-h323'=1 'ditutel7-h323'=1 'ipcrossing-h323'=1 > 'netglobalis-h323'=2 'planetit2-h323'=3 'planetit3-h323'=4 > 'planetit4-h323'=3 'silvertech-h323'=18 'technosphere-h323'=2 > 'technosphere2-h323'=1 'tseyva-h323'=3 > > In the perfdata-service.log file the perfdata is truncated like it: > > 1126260797 localhost DETAIL Sessions in: 17 - Sessions out: > 54 OK 'EX1'=1 'EX1-h323'=13 'EX2'=1 'EX2-h323'=19 > 'Ibasis-SIP-1'=1 'Ibasis-SIP-2'=1 'ditutel10-h323'=1 'ditutel12-h323'=1 > 'ditutel13-h323'=1 'ditutel18-h323'=3 'ditutel19-h323'=1 'ditutel2-h323'=1 > 'ditutel20-h323'=2 'ditutel4-h323'=1 'ditutel5-h323'=1 'ditutel7-h323'=1 > 'ditutel9-h323'=3 'netglobalis-h323'=1 'plane > > I looked in the source code (2b4) but I didn't find anything (I'm not a > real C programmer :-( ) > > Can someone help me? Looking at checks.c, this appears to be controlled by the variable MAX_PLUGIN_OUTPUT_LENGTH -- /* get performance data (if it exists) */ strncpy(temp_plugin_output,queued_svc_msg.output,sizeof(temp_plugin_outp ut)-1); temp_plugin_output[sizeof(temp_plugin_output)-1]='\x0'; temp_ptr=strtok(temp_plugin_output,"|\n"); temp_ptr=strtok(NULL,"\n"); if(temp_ptr!=NULL){ strip(temp_ptr); strncpy(temp_service->perf_data,temp_ptr,MAX_PLUGINOUTPUT_LENGTH-1); temp_service->perf_data[MAX_PLUGINOUTPUT_LENGTH-1]='\x0'; } Which is objects.h:#define MAX_PLUGINOUTPUT_LENGTH 352 /* max. length of plugin output */ You could try increasing that value but it may have undesired effects. If you're using NSCA for passive checks you'll need to increase MAX_INPUT_BUFFER (I believe) there as well. For passive checks, be sure the value you use is less than your OS's PIPE_BUF size. You may just want to re-write your plugin to return less data per check and check for subsets of the above information. HTH, -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjesse at iserv.net Fri Sep 9 17:01:13 2005 From: jjesse at iserv.net (jjesse at iserv.net) Date: Fri, 9 Sep 2005 11:01:13 -0400 Subject: Host Down alert when Host is Up In-Reply-To: <20050909145148.25642.qmail@web32210.mail.mud.yahoo.com> References: <20050909145148.25642.qmail@web32210.mail.mud.yahoo.com> Message-ID: <200509091101.13405.jjesse@iserv.net> I assume you reloaded Nagios after changing the file? On Friday 09 September 2005 10:51, Sxan wrote: > The IP addresses did change, but I accounted for that > in the hosts.cfg file for this host. I'm not an expert > with Nagios so I'm not sure totally what you mean when > you're asking if I use state retention. But basically > the situation is that everything worked fine > yesterday, IP addresses were changed and the 2 servers > were put on a new vlan, but they are still up and > completely reachable by ping and whatever else. That's > why I'm kind of confused. Here's the nagios > notification if it helps at all... > > ***** Nagios ***** > > Notification Type: PROBLEM > Host: boca-srv01 > State: DOWN > Address: 10.168.0.201 > Info: CRITICAL - Plugin timed out after 10 seconds > > Date/Time: Fri Sept 9 10:47:18 EDT 2005 > > > > > > ~Jim > > --- Fred wrote: > > Yes, you are correct, I misspoke (typed?), however, > > my point > > remains that if the host-check returns a critical, > > nagios will > > treat the node as down. Whatever the command you > > are using ... > > > > "down" is a state which is defined by the > > host-check, it doesn't > > always mean the host is down, maybe its just not > > behaving as > > expected. > > > > -FredC > > > > --- Subhendu Ghosh wrote: > > > On Fri, 9 Sep 2005, Fred wrote: > > > > On my configuration, I ping some smart switches > > > > via a host-check. > > > > > > If the TTL is out of bounds according to the > > > > host-check command > > > > > > it returns a warning or critical. If it returns > > > > a critical the > > > > > > switch is reported as "down". > > > > > > > > -FredC > > > > > > check_ping only support RTA and packet loss. You > > > > must be using something > > > > > else.. > > > > > > > --- Subhendu Ghosh wrote: > > > >> On Fri, 9 Sep 2005, Sxan wrote: > > > >>> Hey everyone, > > > >>> > > > >>> We just changed the vlan that 2 servers are on > > > > in one > > > > > >>> location and all of a sudden Nagios is now > > > > reporting > > > > > >>> those servers as being down, even though I'm > > > > able to > > > > > >>> ping them fine from the Nagios server itself > > > > and > > > > > >>> everything else is functioning just fine. I'm > > > > confused > > > > > >>> as to why this would happen. Any ideas? I'm > > > > also > > > > > >>> wondering if this could be related to the TTL > > > > possibly > > > > > >>> changing? If so, does anyone know any simple > > > > way to > > > > > >>> change the ttl that Nagios looks for or maybe > > > > increase > > > > > >>> it somehow on the box? Thanks as always! > > > >>> > > > >>> ~Jim > > > >> > > > >> TTL doesn't matter. Did you change the IP addr > > > > of the servers in the > > > > > >> nagios config? Are you use state retention? > > > >> > > > >> > > > >> -- > > > >> -sg > > > > > > -- > > ------------------------------------------------------- > > > > SF.Net email is Sponsored by the Better Software > > > > Conference & EXPO > > > > > September 19-22, 2005 * San Francisco, CA * > > > > Development Lifecycle Practices > > > > > Agile & Plan-Driven Development * Managing > > > > Projects & Teams * Testing & QA > > > > > Security * Process Improvement & Measurement * > > > > http://www.sqe.com/bsce5sf > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.ahlstrom at managedmail.com Fri Sep 9 17:12:52 2005 From: mark.ahlstrom at managedmail.com (Mark Ahlstrom) Date: Fri, 09 Sep 2005 10:12:52 -0500 Subject: Event handler question Message-ID: <1126278772.27208.15.camel@mediis> No, it didn't have any special characters. The output was 6 through 10 (the numbers are the array slices in @ARGV) 0 :: OK 1 :: HARD 2 :: 3 3 :: smt 4 :: DISKS 5 :: 1126206404 6 :: All 7 :: disks 8 :: below 9 :: warning/critical 10 :: thresholds One of the odd things with this is the event handler with "$OUTPUT$" defined in the command would only execute on the recovery, even though the log showed Nagios running the command. The other odd thing was finding out nagios would execute the command even in downtime. Mark > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mark Ahlstrom > Sent: Thursday, September 08, 2005 3:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RE: Event handler question >=20 > Wouldn't you guess that I would figure out why the event handler wasn't > executing just after I posted. >=20 > The handler will only execute upon a recovery when I have $OUTPUT$ > defined in the command. Once I yank that out of the command definition, > the handler executes as the documentation states. I don't use event handlers but that seems awfully strange. Does the output include special characters like ', ", &, etc that aren't being quoted properly when in a non-OK state? -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enst at rao.elektra.ru Fri Sep 9 17:17:52 2005 From: enst at rao.elektra.ru (Evgeny Stepanov) Date: Fri, 9 Sep 2005 19:17:52 +0400 Subject: services get lost sometimes Message-ID: <322413363.20050909191752@rao.elektra.ru> hello nagios-users at lists.sourceforge.net ! Does anybody know, why my services occasionally get lost sometimes? I load service detail page with nagios web interface and it says i have total of 31 services, but really i have 68. When i refresh the page a couple of times it shows me all my 68 services. after some period of time they get lost again and after refreshing the page they appear again. What's going on? Maybe there are any cache or something? Actually those services get lost from any page i load, summary, servicegroup, whatever. Any suggestions what to check? Thanks in advance. Evgeny ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sxanrr at yahoo.com Fri Sep 9 17:19:20 2005 From: sxanrr at yahoo.com (Sxan) Date: Fri, 9 Sep 2005 08:19:20 -0700 (PDT) Subject: Host Down alert when Host is Up In-Reply-To: <200509091101.13405.jjesse@iserv.net> References: <200509091101.13405.jjesse@iserv.net> Message-ID: <20050909151920.85924.qmail@web32211.mail.mud.yahoo.com> Yes :) --- jjesse at iserv.net wrote: > I assume you reloaded Nagios after changing the > file? > > On Friday 09 September 2005 10:51, Sxan wrote: > > The IP addresses did change, but I accounted for > that > > in the hosts.cfg file for this host. I'm not an > expert > > with Nagios so I'm not sure totally what you mean > when > > you're asking if I use state retention. But > basically > > the situation is that everything worked fine > > yesterday, IP addresses were changed and the 2 > servers > > were put on a new vlan, but they are still up and > > completely reachable by ping and whatever else. > That's > > why I'm kind of confused. Here's the nagios > > notification if it helps at all... > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > Host: boca-srv01 > > State: DOWN > > Address: 10.168.0.201 > > Info: CRITICAL - Plugin timed out after 10 seconds > > > > Date/Time: Fri Sept 9 10:47:18 EDT 2005 > > > > > > > > > > > > ~Jim > > > > --- Fred wrote: > > > Yes, you are correct, I misspoke (typed?), > however, > > > my point > > > remains that if the host-check returns a > critical, > > > nagios will > > > treat the node as down. Whatever the command > you > > > are using ... > > > > > > "down" is a state which is defined by the > > > host-check, it doesn't > > > always mean the host is down, maybe its just not > > > behaving as > > > expected. > > > > > > -FredC > > > > > > --- Subhendu Ghosh wrote: > > > > On Fri, 9 Sep 2005, Fred wrote: > > > > > On my configuration, I ping some smart > switches > > > > > > via a host-check. > > > > > > > > If the TTL is out of bounds according to the > > > > > > host-check command > > > > > > > > it returns a warning or critical. If it > returns > > > > > > a critical the > > > > > > > > switch is reported as "down". > > > > > > > > > > -FredC > > > > > > > > check_ping only support RTA and packet loss. > You > > > > > > must be using something > > > > > > > else.. > > > > > > > > > --- Subhendu Ghosh > wrote: > > > > >> On Fri, 9 Sep 2005, Sxan wrote: > > > > >>> Hey everyone, > > > > >>> > > > > >>> We just changed the vlan that 2 servers > are on > > > > > > in one > > > > > > > >>> location and all of a sudden Nagios is now > > > > > > reporting > > > > > > > >>> those servers as being down, even though > I'm > > > > > > able to > > > > > > > >>> ping them fine from the Nagios server > itself > > > > > > and > > > > > > > >>> everything else is functioning just fine. > I'm > > > > > > confused > > > > > > > >>> as to why this would happen. Any ideas? > I'm > > > > > > also > > > > > > > >>> wondering if this could be related to the > TTL > > > > > > possibly > > > > > > > >>> changing? If so, does anyone know any > simple > > > > > > way to > > > > > > > >>> change the ttl that Nagios looks for or > maybe > > > > > > increase > > > > > > > >>> it somehow on the box? Thanks as always! > > > > >>> > > > > >>> ~Jim > > > > >> > > > > >> TTL doesn't matter. Did you change the IP > addr > > > > > > of the servers in the > > > > > > > >> nagios config? Are you use state > retention? > > > > >> > > > > >> > > > > >> -- > > > > >> -sg > > > > > > > > -- > > > > > ------------------------------------------------------- > > > > > > SF.Net email is Sponsored by the Better > Software > > > > > > Conference & EXPO > > > > > > > September 19-22, 2005 * San Francisco, CA * > > > > > > Development Lifecycle Practices > > > > > > > Agile & Plan-Driven Development * Managing > > > > > > Projects & Teams * Testing & QA > > > > > > > Security * Process Improvement & Measurement * > > > > > > http://www.sqe.com/bsce5sf > > > > > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: 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!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software > Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * > Development === message truncated === ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davidj at synaq.com Fri Sep 9 17:17:00 2005 From: davidj at synaq.com (David Jacobson) Date: Fri, 09 Sep 2005 17:17:00 +0200 Subject: services get lost sometimes In-Reply-To: <322413363.20050909191752@rao.elektra.ru> References: <322413363.20050909191752@rao.elektra.ru> Message-ID: <1126279020.6069.43.camel@jakes.synaq.com> Hi Evgeny, You have multiple instances of Nagios running, make sure you kill all nagios processes and start it up again. Regards, David On Fri, 2005-09-09 at 19:17 +0400, Evgeny Stepanov wrote: > hello nagios-users at lists.sourceforge.net ! > > Does anybody know, why my services occasionally get lost sometimes? I > load service detail page with nagios web interface and it says i have > total of 31 services, but really i have 68. When i refresh the page a > couple of times it shows me all my 68 services. after some period of > time they get lost again and after refreshing the page they appear > again. > > What's going on? Maybe there are any cache or something? Actually > those services get lost from any page i load, summary, servicegroup, > whatever. Any suggestions what to check? > > Thanks in advance. > Evgeny > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Regards, David Jacobson Technical Director SYNAQ (Pty) Ltd Tel: 011 245 5888 Direct: 011 245 5889 Fax: 011 783 9275 Cell: 083 235 0760 Mail: davidj at synaq.com Web: http://www.synaq.com Key Fingerprint 8246 FCE1 3C22 7EFB E61B 18DF 6E8B 65E8 BD50 78A1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From andrew at profitability.net Fri Sep 9 17:20:34 2005 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 9 Sep 2005 11:20:34 -0400 Subject: services get lost sometimes In-Reply-To: <322413363.20050909191752@rao.elektra.ru> References: <322413363.20050909191752@rao.elektra.ru> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > hello nagios-users at lists.sourceforge.net ! > > Does anybody know, why my services occasionally get lost > sometimes? I load service detail page with nagios web > interface and it says i have total of 31 services, but really > i have 68. When i refresh the page a couple of times it shows > me all my 68 services. after some period of time they get > lost again and after refreshing the page they appear again. > > What's going on? Maybe there are any cache or something? > Actually those services get lost from any page i load, > summary, servicegroup, whatever. Any suggestions what to check? You've got two instances of Nagios running simultaneously. Shut nagios down and kill any extra nagios processes that are left running and then start Nagios fresh. Andrew ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enst at rao.elektra.ru Fri Sep 9 17:32:51 2005 From: enst at rao.elektra.ru (Evgeny Stepanov) Date: Fri, 9 Sep 2005 19:32:51 +0400 Subject: services get lost sometimes In-Reply-To: References: <322413363.20050909191752@rao.elektra.ru> Message-ID: <61341894.20050909193251@rao.elektra.ru> hello! AC> You've got two instances of Nagios running simultaneously. Shut nagios AC> down and kill any extra nagios processes that are left running and then AC> start Nagios fresh. AC> Andrew wow! this confused me a bit... i mean how come... the start script in my rc.d really starts two instances of nagios... will check why actually the more i'm knowing nagios the more i love it. it's really nice software! best regards Evgeny ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Pavel.Santos at opm.gov Fri Sep 9 17:37:08 2005 From: Pavel.Santos at opm.gov (Santos, Pavel) Date: Fri, 9 Sep 2005 11:37:08 -0400 Subject: testing Message-ID: This is a test ------------------------------- -- Even though this E-Mail has been scanned and found clean of -- known viruses, OPM can not guarantee this message is virus free. ------------------------------- -- This message was automatically generated. -------------------------------oo -------------- next part -------------- An HTML attachment was scrubbed... URL: From bobby.bradshaw at gmail.com Fri Sep 9 17:38:53 2005 From: bobby.bradshaw at gmail.com (Bobby Bradshaw) Date: Fri, 9 Sep 2005 11:38:53 -0400 Subject: nagios.cmd file Message-ID: <591f1911050909083829bf93c1@mail.gmail.com> Hi all! I cannot locate my nagios.cmd file in my Nagios server. My Nagios setup is: Suse 9.3 Professional Nagios v1.2 Nagios plugins v1.4 Nagios nrpe v2.0 I want to execute remote commands, i.e. schedule downtime, disable notifications, etc. But, I cannot locate my nagios.cmd file anywhere. Any assistance is greatly appreciated. -- Bobby Bradshaw, Jr. bobby.bradshaw at gmail.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Fri Sep 9 17:52:07 2005 From: chris at aidworld.org (Chris Wilson) Date: Fri, 09 Sep 2005 16:52:07 +0100 Subject: Setting env variables from misc commands (email from field) In-Reply-To: References: <1126195564.31899.38.camel@localhost> Message-ID: <1126276841.13343.327.camel@localhost> Hi Blake, > I know nullmailer doesn't ignore the USER variable as I can do it from > command line. > > Hence why I asked it as a nagios question, because it seems the misc > commands ignores multiple commands seperated by ; or it just doesn't > read from ENV variables. It probably does not support multiple commands nor setting environment variables directly. But you could try the following command: printf "%s" ... | env USER=alerts nullmailer... Alternatively, you could write a wrapper script for nullmailer that sets the address for you: #!/ bin/sh USER=alerts nullmailer ... > It's more of a Nagios question as you should be able to set the from > field in nagios. Why? Nagios doesn't know or care about emails or from fields, it just runs the command that you tell it to. Personally I like it that way. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 9 17:51:16 2005 From: marc at ena.com (Marc Powell) Date: Fri, 9 Sep 2005 10:51:16 -0500 Subject: nagios.cmd file Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Bobby Bradshaw > Sent: Friday, September 09, 2005 10:39 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios.cmd file > > Hi all! > > I cannot locate my nagios.cmd file in my Nagios server. Look at the value of command_file in nagios.cfg. Of course, that's not enough to enable processing of external commands but that will tell you where the file will be located if external command processing is enabled. > > My Nagios setup is: > Suse 9.3 Professional > Nagios v1.2 > Nagios plugins v1.4 > Nagios nrpe v2.0 > > I want to execute remote commands, i.e. schedule downtime, disable > notifications, etc. But, I cannot locate my nagios.cmd file anywhere. > > Any assistance is greatly appreciated. Documentation is a good place to start -- http://nagios.sourceforge.net/docs/1_0/extcommands.html -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ygonzales at medassets.com Fri Sep 9 17:57:52 2005 From: ygonzales at medassets.com (Gonzales, Youn) Date: Fri, 9 Sep 2005 10:57:52 -0500 Subject: Monitoring Nagios Services Message-ID: <99CF04974931C548B2BF20CD898FCBA7B75330@uscpgmedexch01.medassets.com> First, I would like to say how impressed we are with Nagios and PerfParse. We currently have them running on a 3 1/2 year old decommissioned laptop and we have been able to complete our testing. Does anyone have any suggestions for how to monitor the nagios services and restart them if necessary? Youn Gonzales Network Engineer MedAssets Supply Chain Systems 280 S Mount Auburn Rd Cape Girardeau, MO 63703 (573) 332-2285 Phone (573) 332-2300 Fax ygonzales at medassets.com "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers" ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Fri Sep 9 17:56:37 2005 From: james.mohr at elaxy.com (Mohr James) Date: Fri, 9 Sep 2005 17:56:37 +0200 Subject: Notification of volatile acknowledged services Message-ID: Greetings! We are using Nagios as our central management software and it will be receiving messages from a couple of other software packages. Ever node is more or less monitored using both Nagios and (at least) SolarWinds. When SolarWinds detects a problem, such as a full hard disk, it sends an generates an alert which sends a message to the Nagios machine via send_nsca. This should then send out an SMS. Rather than having to create separate services for each node, we have created a generic service "Send SMS" and defined it as volatile. So each time the SolarWinds machine sends an alert, the Nagios machine should send an SMS. It seems that no SMS is sent if the state has been acknowledged. On the one had this makes sense. If the condition is being "worked on", then there is no need to send an SMS. However, we would like an SMS sent every time. The first question is whether or not I have interpreted it correctly that the acknowledgement disables the notification. I looked through the "Notifications" page in the Nagios doc, but did not find anything that mentions this. The second question is whether anyone has an idea how we can simply get Nagios to pump through the notifications, regardless of the state of the services. I had thought about creating something for the Event Broker, but that seems like a bit too extreme. Any help is greatly appreciated. Regards, Jim Mohr ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bobby.bradshaw at gmail.com Fri Sep 9 17:58:59 2005 From: bobby.bradshaw at gmail.com (Bobby Bradshaw) Date: Fri, 9 Sep 2005 11:58:59 -0400 Subject: nagios.cmd file In-Reply-To: References: Message-ID: <591f1911050909085823579045@mail.gmail.com> I looked at the reference location in the nagios.cfg file already, which is /var/spool/nagios/nagios.cmd and it is not there. I also looked anywhere on my nagios server where Nagios is referenced and ....no nagios.cmd file. Nagios documentation says that that file is created on nagios startup, then deleted on shutdown. Well, my Nagios is running fine, but can't find nagios.cmd file. On 9/9/05, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Bobby Bradshaw > > Sent: Friday, September 09, 2005 10:39 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios.cmd file > > > > Hi all! > > > > I cannot locate my nagios.cmd file in my Nagios server. > > Look at the value of command_file in nagios.cfg. Of course, that's not > enough to enable processing of external commands but that will tell you > where the file will be located if external command processing is > enabled. > > > > > My Nagios setup is: > > Suse 9.3 Professional > > Nagios v1.2 > > Nagios plugins v1.4 > > Nagios nrpe v2.0 > > > > I want to execute remote commands, i.e. schedule downtime, disable > > notifications, etc. But, I cannot locate my nagios.cmd file anywhere. > > > > Any assistance is greatly appreciated. > > Documentation is a good place to start -- > > http://nagios.sourceforge.net/docs/1_0/extcommands.html > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Bobby Bradshaw, Jr. bobby.bradshaw at gmail.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 9 18:12:43 2005 From: marc at ena.com (Marc Powell) Date: Fri, 9 Sep 2005 11:12:43 -0500 Subject: nagios.cmd file Message-ID: > -----Original Message----- > From: Bobby Bradshaw [mailto:bobby.bradshaw at gmail.com] > Sent: Friday, September 09, 2005 10:59 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios.cmd file > > I looked at the reference location in the nagios.cfg file already, > which is /var/spool/nagios/nagios.cmd and it is not there. I also > looked anywhere on my nagios server where Nagios is referenced and > ....no nagios.cmd file. Can nagios write to that location? > > Nagios documentation says that that file is created on nagios startup, > then deleted on shutdown. Well, my Nagios is running fine, but can't > find nagios.cmd file. Did you verify the other required configuration options are enabled/correct as per the documentation reference I included? -- Marc > > > On 9/9/05, Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Bobby Bradshaw > > > Sent: Friday, September 09, 2005 10:39 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] nagios.cmd file > > > > > > Hi all! > > > > > > I cannot locate my nagios.cmd file in my Nagios server. > > > > Look at the value of command_file in nagios.cfg. Of course, that's not > > enough to enable processing of external commands but that will tell you > > where the file will be located if external command processing is > > enabled. > > > > > > > > My Nagios setup is: > > > Suse 9.3 Professional > > > Nagios v1.2 > > > Nagios plugins v1.4 > > > Nagios nrpe v2.0 > > > > > > I want to execute remote commands, i.e. schedule downtime, disable > > > notifications, etc. But, I cannot locate my nagios.cmd file anywhere. > > > > > > Any assistance is greatly appreciated. > > > > Documentation is a good place to start -- > > > > http://nagios.sourceforge.net/docs/1_0/extcommands.html ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 9 18:10:04 2005 From: marc at ena.com (Marc Powell) Date: Fri, 9 Sep 2005 11:10:04 -0500 Subject: Notification of volatile acknowledged services Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mohr James > Sent: Friday, September 09, 2005 10:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification of volatile acknowledged services > > Greetings! > > We are using Nagios as our central management software and it will be > receiving messages from a couple of other software packages. Ever node > is more or less monitored using both Nagios and (at least) SolarWinds. > When SolarWinds detects a problem, such as a full hard disk, it sends an > generates an alert which sends a message to the Nagios machine via > send_nsca. This should then send out an SMS. > > Rather than having to create separate services for each node, we have > created a generic service "Send SMS" and defined it as volatile. So each > time the SolarWinds machine sends an alert, the Nagios machine should > send an SMS. It seems that no SMS is sent if the state has been > acknowledged. On the one had this makes sense. If the condition is being > "worked on", then there is no need to send an SMS. However, we would > like an SMS sent every time. > > The first question is whether or not I have interpreted it correctly > that the acknowledgement disables the notification. I looked through the > "Notifications" page in the Nagios doc, but did not find anything that > mentions this. Yes, it's actually documented on the acknowledgment page itself -- "This command is used to acknowledge a service problem. When a service problem is acknowledged, future notifications about problems are temporarily disabled until the service changes state (i.e. recovers)." > > The second question is whether anyone has an idea how we can simply get > Nagios to pump through the notifications, regardless of the state of the > services. I had thought about creating something for the Event Broker, > but that seems like a bit too extreme. Don't use the acknowledge feature. Nagios will send alerts for every non-OK state with is_volatile enabled IFF you don't acknowledge it. I think if you can change your process around acknowledgments you'll get what you want. Alternately you could create an event handler to send the alerts if state != OK. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JF.Leblond at SAQ.qc.ca Fri Sep 9 18:34:30 2005 From: JF.Leblond at SAQ.qc.ca (=?iso-8859-1?Q?Leblond=2C_Jean-Fran=E7ois?=) Date: Fri, 9 Sep 2005 12:34:30 -0400 Subject: Not able to get mail notification , Guidance requested Message-ID: Hi, I have a similar problem but with Nagios 2.0 under AIX 5.2 Mail are sent fine as well but Nagios doesn't send anything Contacts.cfg: define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email support.aix AT saq.qc.ca } Contactgroups.cfg: define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin } Services.cfg define service{ use generic-service ; Name of service template to use # host_name * hostgroup_name aix_test_servers service_description http is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notifications_enabled 1 notification_interval 960 notification_period 24x7 check_command check_http } The mail command in misccommands.cfg looks fine for this OS Thanks in advance for your help. Jean-Fran?ois Leblond jf.leblond at saq.qc.ca -----Message d'origine----- De?: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Marc Powell Envoy??: 7 septembre, 2005 11:12 ??: Nagios User Objet?: RE: [Nagios-users] Not able to get mail notification , Guidance requested > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John Joseph > Sent: Wednesday, September 07, 2005 12:36 AM > To: Nagios User > Subject: [Nagios-users] Not able to get mail notification , Guidance > requested > > Hi team > I have RHEL4 , nagios 1.2 , postfix , in which MTA is > working fine > I had made contact , contact group , on contact > details , I had given "host-notify-by-email and > notify-by-email " for host_notification_ command and > service_notification_command > and for that host > > > I have defined host " joseph" as > > Host "joseph" > Name : joseph > Alias : Joseph-TEST > Address : 192.168.20.99 > # Parents : Router-HO > # Host Groups : HO-Server > Check_command : > Max_check_attempts : 3 > Checks_enabled : Yes > Event_handler_enabled : Nothing > Event_handler : > Low_flap_threshold : 0 % > High_flap_threshold : 0 % > Flap_detection_enabled : Nothing > Process_perf_data : Nothing > Retain_status_information : Yes > Retain_nonstatus_information : Yes > Notification_interval : 3 * 60 sec > Notification_period : 24x7 > Notification_options : d,u,r > Notifications_enabled : Yes > Stalking_options : o,d,u > Status : Enabled > > For Services > I have defined FTP as > > Host name : joseph > Description : FTP Check > Is Volatile : Nothing > # Service Groups : ForServieGroup > Check_command : check_ftp > Check_command_arguments : > Max_check_attempts : 3 > Normal_check_interval : 3 * 60 sec > Retry_check_interval : 3 * 60 sec > Active_checks_enabled : Nothing > Passive_checks_enabled : Nothing > Check_period : 24x7 > Parallelize_check : Nothing > Obsess_over_service : Nothing > Check_freshness : Nothing > Freshness treshold : 0 sec > Event_handler : > Event_handler_arguments : > Event_handler enabled : Nothing > Low flap treshold : 0 % > High flap treshold : 0 % > Flap_detection_enabled : Nothing > Process_perf_data : Nothing > Retain_status_information : Nothing > Retain_nonstatus_information : Nothing > Notification_interval : 3 * 60 sec > Notification_period : 24x7 > Notification_options : w,u,c,r > Notification_enabled : Yes > # Contact Groups : IT-Support > Stalking_options : o,w,u,c > Status : Enabled > > > I am not able to get the mail notification , when > there is change for the ftp ie when FTP is stopped or > start The above information indicates that you don't have active or passive checks enabled for the service. Is that the case? If so, you're not checking the service so no notifications will ever go out. If you are checking the service and the information above is incorrect, check nagios.log for a notification attempt. Check your postfix logs. Verify that you can send a notification by issuing your notification commands exactly as they are defined as the nagios user (not root!) - post the test here. If you still have problems, please post the exact host and service definitions as well as your notification commands to this list - the information above is not them. Nagios.log entries around the time that the notification should happen would be useful as well. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at 2sheds.de Fri Sep 9 19:09:52 2005 From: andrew at 2sheds.de (Andrew Miehs) Date: Fri, 9 Sep 2005 19:09:52 +0200 Subject: Nagios_Grapher Message-ID: Dear list, I was looking for how I can contact the authors of Nagios Grapher... In the readme - they mentioned that they are reachable here. I have a problem with v1.3 that it doesn't seem to want to create the rrd files correctly - it does for ping - but load, etc aren't created due to the 'create' statement missing data.... 2005-09-09 19:03:12 RRD: rrdtool create /var/lib/nagios/rrd/localhost/ d9d37ec8e402b4c235e7b1b1e8214045.rrd --step= RRA:AVERAGE:0.5:5: RRA:MAX:0.5:5: RRA:MIN:0.5:5: RRA:AVERAGE:0.5:30: RRA:MAX:0.5:30: RRA:MIN:0.5:30:RRA:AVERAGE:0.5:120: RRA:MAX:0.5:120: RRA:MIN:0.5:120: RRA:AVERAGE:0.5:1440: RRA:MAX:0.5:1440: RRA:MIN:0.5:1440: 2005-09-09 19:03:12 RRD: [localhost][Current Users]:step size should be no less than one second 2005-09-09 17:34:07 RRD: rrdtool create /var/lib/nagios/rrd/localhost/ be0dcf79990574e9c88ba5325be4dcc6.rrd --step= RRA:AVERAGE:0.5:5: RRA:MAX:0.5:5: RRA:MIN:0.5:5: RRA:AVERAGE:0.5:30: RRA:MAX:0.5:30: RRA:MIN:0.5:30:RRA:AVERAGE:0.5:120: RRA:MAX:0.5:120: RRA:MIN:0.5:120: RRA:AVERAGE:0.5:1440: RRA:MAX:0.5:1440: RRA:MIN:0.5:1440: 2005-09-09 17:34:07 RRD: [localhost][Current Load]:step size should be no less than one second Ping however did work - Regards Andrew ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sxanrr at yahoo.com Fri Sep 9 19:37:40 2005 From: sxanrr at yahoo.com (Sxan) Date: Fri, 9 Sep 2005 10:37:40 -0700 (PDT) Subject: Host Down alert when Host is Up - SOLVED In-Reply-To: <20050909140500.40012.qmail@web31907.mail.mud.yahoo.com> References: <20050909140500.40012.qmail@web31907.mail.mud.yahoo.com> Message-ID: <20050909173740.28990.qmail@web32203.mail.mud.yahoo.com> Ok, I figured out what was causing this to happen. It turned out that one of my custom check commands had the old IP address to use, so when it was not able to successfully run the check command, it was reporting the box as being down. I don't know why it would do that as opposed to just saying the application wasn't there, but I guess thats how Nagios works. If it goes to check a service and can't reach the host, a host down state is assumed. Thanks for the responses as always. ~Jim --- Fred wrote: > On my configuration, I ping some smart switches via > a host-check. > If the TTL is out of bounds according to the > host-check command > it returns a warning or critical. If it returns a > critical the > switch is reported as "down". > > -FredC > > --- Subhendu Ghosh wrote: > > > On Fri, 9 Sep 2005, Sxan wrote: > > > > > Hey everyone, > > > > > > We just changed the vlan that 2 servers are on > in one > > > location and all of a sudden Nagios is now > reporting > > > those servers as being down, even though I'm > able to > > > ping them fine from the Nagios server itself and > > > everything else is functioning just fine. I'm > confused > > > as to why this would happen. Any ideas? I'm also > > > wondering if this could be related to the TTL > possibly > > > changing? If so, does anyone know any simple way > to > > > change the ttl that Nagios looks for or maybe > increase > > > it somehow on the box? Thanks as always! > > > > > > ~Jim > > > > > > > TTL doesn't matter. Did you change the IP addr of > the servers in the > > nagios config? Are you use state retention? > > > > > > -- > > -sg > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software > Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * > Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing > Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Fri Sep 9 19:40:46 2005 From: james.mohr at elaxy.com (Mohr James) Date: Fri, 9 Sep 2005 19:40:46 +0200 Subject: AW: Notification of volatile acknowledged services Message-ID: Hi Mark! Thanks for the help. I think you are right about changing our process. When the boss wants something *his* way, you gotta try to figure a way of doing it or prove to him that it can't be done. (Which ain't always easy). Regards, jimmo -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Marc Powell Gesendet: Freitag, 9. September 2005 18:10 An: nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] Notification of volatile acknowledged services > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mohr James > Sent: Friday, September 09, 2005 10:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification of volatile acknowledged services > > Greetings! > > We are using Nagios as our central management software and it will be > receiving messages from a couple of other software packages. Ever node > is more or less monitored using both Nagios and (at least) SolarWinds. > When SolarWinds detects a problem, such as a full hard disk, it sends an > generates an alert which sends a message to the Nagios machine via > send_nsca. This should then send out an SMS. > > Rather than having to create separate services for each node, we have > created a generic service "Send SMS" and defined it as volatile. So each > time the SolarWinds machine sends an alert, the Nagios machine should > send an SMS. It seems that no SMS is sent if the state has been > acknowledged. On the one had this makes sense. If the condition is being > "worked on", then there is no need to send an SMS. However, we would > like an SMS sent every time. > > The first question is whether or not I have interpreted it correctly > that the acknowledgement disables the notification. I looked through the > "Notifications" page in the Nagios doc, but did not find anything that > mentions this. Yes, it's actually documented on the acknowledgment page itself -- "This command is used to acknowledge a service problem. When a service problem is acknowledged, future notifications about problems are temporarily disabled until the service changes state (i.e. recovers)." > > The second question is whether anyone has an idea how we can simply get > Nagios to pump through the notifications, regardless of the state of the > services. I had thought about creating something for the Event Broker, > but that seems like a bit too extreme. Don't use the acknowledge feature. Nagios will send alerts for every non-OK state with is_volatile enabled IFF you don't acknowledge it. I think if you can change your process around acknowledgments you'll get what you want. Alternately you could create an event handler to send the alerts if state != OK. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dist-list at LEXUM.UMontreal.CA Fri Sep 9 19:53:18 2005 From: dist-list at LEXUM.UMontreal.CA (FM) Date: Fri, 09 Sep 2005 13:53:18 -0400 Subject: warning using check_dns Message-ID: <4321CC0E.6020305@lexum.umontreal.ca> Hello, Nagios 2.x I'm trying to use check_dns : [trieste plugins]# ./check_dns -H urbino.lan.lexum.pri -s dns1.lan.lexum.pri DNS OK: 0.239 seconds response time urbino.lan.lexum.pri returns 192.168.4.10|time=0.238538s;;;0.000000 [trieste plugins]# ./check_dns -H urbino.lan.lexum.pri -s dns1.lan.lexum.pri DNS WARNING - nslookup returned error status As you can see it worked at the first attempt but not at the second. How to you handle dns checking ? Thanks !!! ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chroot at wells.vg Fri Sep 9 20:13:59 2005 From: chroot at wells.vg (Matt Wells) Date: Fri, 9 Sep 2005 11:13:59 -0700 Subject: NRPE SSL Error Message-ID: <174e4d9d1900ac9dadcd08a1e40263a8@open.wells.vg> I keep getting this error on all my servers. nrpe[23880]: Error: Could not complete SSL handshake. 5 Can anyone shed any light on this?? I've spent many hours on google on this but found nothing.? So here's the entire thing. My Server is running Nagios and Nagios only.? It is using the check_nrpe command to attach to other servers. The other servers are running nrpe client that I compiled once on the Nagios server, tar the nrpe, nrpe.cfg and the libexec and copied from server to server.? It is run as a dameon and is reporting data back to the nagios server.? So it appears on everything other than the /var/log/messages that all is well.? TCPDUMP shows the data as being encrypted.? I have permissions to all the nrpe files on the client side.? Am I missing something? -------------- next part -------------- An HTML attachment was scrubbed... URL: From corwin at aeternal.net Fri Sep 9 20:14:54 2005 From: corwin at aeternal.net (martin hudec) Date: Fri, 9 Sep 2005 20:14:54 +0200 Subject: NRPE SSL Error In-Reply-To: <174e4d9d1900ac9dadcd08a1e40263a8@open.wells.vg> References: <174e4d9d1900ac9dadcd08a1e40263a8@open.wells.vg> Message-ID: <20050909181454.GE27359@pleiades.aeternal.net> Hello, On Fri, Sep 09, 2005 at 11:13:59AM -0700 or thereabouts, Matt Wells wrote: > I keep getting this error on all my servers. > nrpe[23880]: Error: Could not complete SSL handshake. 5 > Can anyone shed any light on this?? > I've spent many hours on google on this but found nothing.? So > here's the entire thing. > My Server is running Nagios and Nagios only.? It is using the > check_nrpe command to attach to other servers. > The other servers are running nrpe client that I compiled once on the > Nagios server, tar the nrpe, nrpe.cfg and the libexec and copied from > server to server.? It is run as a dameon and is reporting data back > to the nagios server.? So it appears on everything other than the > /var/log/messages that all is well.? TCPDUMP shows the data as being > encrypted.? I have permissions to all the nrpe files on the client > side.? Am I missing something? What kind of OS are you using? What kind of Nagios nrpe are you using on both client (nagios server) side and on server (nrpe daemon on monitored server) side? I had same problem before, and it was due to nrpe v2 on monitored servers and its requirement to encrypt data with ssl. So I compiled nrpe v2 with ssl enabled on both sides and it is running. Cheers, Martin -- martin hudec * 421 907 303 393 * corwin at aeternal.net * http://www.aeternal.net "Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws." Douglas Adams, "The Hitchhiker's Guide to the Galaxy" -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From RLAdams at Kelsey-Seybold.com Fri Sep 9 20:34:50 2005 From: RLAdams at Kelsey-Seybold.com (Adams, Russell L.) Date: Fri, 9 Sep 2005 13:34:50 -0500 Subject: Monitoring Nagios Services In-Reply-To: <99CF04974931C548B2BF20CD898FCBA7B75330@uscpgmedexch01.medasset s.com> References: <99CF04974931C548B2BF20CD898FCBA7B75330@uscpgmedexch01.medassets .com> Message-ID: <20050909183450.GB32626@pingu.ksnet.com> Make nagios a child of init in inittab, set to respawn. Russell On Fri, Sep 09, 2005 at 10:57:52AM -0500, Gonzales, Youn wrote: > First, I would like to say how impressed we are with Nagios and > PerfParse. We currently have them running on a 3 1/2 year old > decommissioned laptop and we have been able to complete our testing. > > Does anyone have any suggestions for how to monitor the nagios services > and restart them if necessary? > > Youn Gonzales > Network Engineer > MedAssets Supply Chain Systems > 280 S Mount Auburn Rd > Cape Girardeau, MO 63703 > (573) 332-2285 Phone > (573) 332-2300 Fax > ygonzales at medassets.com > > "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers" > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chroot at wells.vg Fri Sep 9 20:52:15 2005 From: chroot at wells.vg (Matt Wells) Date: Fri, 9 Sep 2005 11:52:15 -0700 Subject: NRPE SSL Error Message-ID: I am running Redhat.? I compiled the v2 on the server and copied the check_nrpe to the libexec dir.? This is from the same compile as the clients.? Other than the check_nrpe does the Nagios Server need anything else running that perhaps I've not run?? The clients have the /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d for the client. The clients are in /usr/local/nagios and within this folder is nrpe nrpe.cfg libexec/ libexec/check_lots_of_checks_here ----- Original Message ----- SUBJECT:?Re: [Nagios-users] NRPE SSL Error FROM: ?martin hudec TO:?nagios-users at lists.sourceforge.net DATE:?09-09-2005 11:18 Hello, On Fri, Sep 09, 2005 at 11:13:59AM -0700 or thereabouts, Matt Wells wrote: > I keep getting this error on all my servers. > nrpe[23880]: Error: Could not complete SSL handshake. 5 > Can anyone shed any light on this?? > I've spent many hours on google on this but found nothing. So > here's the entire thing. > My Server is running Nagios and Nagios only. It is using the > check_nrpe command to attach to other servers. > The other servers are running nrpe client that I compiled once on the > Nagios server, tar the nrpe, nrpe.cfg and the libexec and copied from > server to server. It is run as a dameon and is reporting data back > to the nagios server. So it appears on everything other than the > /var/log/messages that all is well. TCPDUMP shows the data as being > encrypted. I have permissions to all the nrpe files on the client > side. Am I missing something? What kind of OS are you using? What kind of Nagios nrpe are you using on both client (nagios server) side and on server (nrpe daemon on monitored server) side? I had same problem before, and it was due to nrpe v2 on monitored servers and its requirement to encrypt data with ssl. So I compiled nrpe v2 with ssl enabled on both sides and it is running. Cheers, Martin -- martin hudec * 421 907 303 393 * corwin at aeternal.net * http://www.aeternal.net "Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws." Douglas Adams, "The Hitchhiker's Guide to the Galaxy" -------------- next part -------------- An HTML attachment was scrubbed... URL: From corwin at aeternal.net Fri Sep 9 20:48:57 2005 From: corwin at aeternal.net (martin hudec) Date: Fri, 9 Sep 2005 20:48:57 +0200 Subject: NRPE SSL Error In-Reply-To: <5c877ba4d93c029fad57df3b0ef2d6db@open.wells.vg> References: <5c877ba4d93c029fad57df3b0ef2d6db@open.wells.vg> Message-ID: <20050909184857.GF27359@pleiades.aeternal.net> Hello, On Fri, Sep 09, 2005 at 11:33:26AM -0700 or thereabouts, Matt Wells wrote: > Martin thank you for such a fast reply.? I compiled the v2 on the > server and copied the check_nrpe to the libexec dir.? This is from > the same compile as the clients.? Other than the check_nrpe does the > Nagios Server need anything else running that perhaps I've not run?? > The clients have the /usr/local/nagios/nrpe -c > /usr/local/nagios/nrpe.cfg -d for the client. > The clients are in /usr/local/nagios and within this folder is > nrpe > nrpe.cfg > libexec/ > libexec/check_lots_of_checks_here Well I am actually interested in way how was nrpe compiled (you said that all nrpe are from the same compile), so look for compile options.. This was exactly what I was missing (to enable ssl during configuration before compilation).. I am using FreeBSD, so I used WITH_SSL=yes as compile option for nrpe port. So check your operating system and its package system for any configurable options for nrpe package. I am leaving from work, so I won't be online until morning. I hope my few lines will actually do some help. Cheers, Martin -- martin hudec * 421 907 303 393 * corwin at aeternal.net * http://www.aeternal.net "Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws." Douglas Adams, "The Hitchhiker's Guide to the Galaxy" -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From davea at support.kcm.org Fri Sep 9 21:00:24 2005 From: davea at support.kcm.org (Dave Augustus) Date: Fri, 09 Sep 2005 14:00:24 -0500 Subject: warning using check_dns In-Reply-To: <4321CC0E.6020305@lexum.umontreal.ca> References: <4321CC0E.6020305@lexum.umontreal.ca> Message-ID: <1126292424.26964.4.camel@kcm40202> I too have had problems with this plugin. I have posted to this list and got some replies but nothing ever really seem to fix the problem. I resorted to using the check_dns.pl script instead of check_dns. Dave On Fri, 2005-09-09 at 13:53 -0400, FM wrote: > Hello, > > Nagios 2.x > > I'm trying to use check_dns : > [trieste plugins]# ./check_dns -H urbino.lan.lexum.pri -s dns1.lan.lexum.pri > DNS OK: 0.239 seconds response time urbino.lan.lexum.pri returns > 192.168.4.10|time=0.238538s;;;0.000000 > > [trieste plugins]# ./check_dns -H urbino.lan.lexum.pri -s dns1.lan.lexum.pri > DNS WARNING - nslookup returned error status > > As you can see it worked at the first attempt but not at the second. > > How to you handle dns checking ? > > Thanks !!! > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Dave Augustus ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chroot at wells.vg Fri Sep 9 21:04:45 2005 From: chroot at wells.vg (Matt Wells) Date: Fri, 9 Sep 2005 12:04:45 -0700 Subject: NRPE SSL Error Message-ID: <3547eb108fe6e419ee7a21adcb6ba471@open.wells.vg> By default now it compiles with SSL enabled.. at least it said so in the configure file. ----- Original Message ----- SUBJECT:?Re: [Nagios-users] NRPE SSL Error FROM: ?martin hudec TO:?"Matt Wells" CC:?nagios-users at lists.sourceforge.net DATE:?09-09-2005 11:51 Hello, On Fri, Sep 09, 2005 at 11:33:26AM -0700 or thereabouts, Matt Wells wrote: > Martin thank you for such a fast reply. I compiled the v2 on the > server and copied the check_nrpe to the libexec dir. This is from > the same compile as the clients. Other than the check_nrpe does the > Nagios Server need anything else running that perhaps I've not run? > The clients have the /usr/local/nagios/nrpe -c > /usr/local/nagios/nrpe.cfg -d for the client. > The clients are in /usr/local/nagios and within this folder is > nrpe > nrpe.cfg > libexec/ > libexec/check_lots_of_checks_here Well I am actually interested in way how was nrpe compiled (you said that all nrpe are from the same compile), so look for compile options.. This was exactly what I was missing (to enable ssl during configuration before compilation).. I am using FreeBSD, so I used WITH_SSL=yes as compile option for nrpe port. So check your operating system and its package system for any configurable options for nrpe package. I am leaving from work, so I won't be online until morning. I hope my few lines will actually do some help. Cheers, Martin -- martin hudec * 421 907 303 393 * corwin at aeternal.net * http://www.aeternal.net "Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws." Douglas Adams, "The Hitchhiker's Guide to the Galaxy" -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmossrm at aol.com Fri Sep 9 21:23:06 2005 From: robmossrm at aol.com (Rob Moss) Date: Fri, 09 Sep 2005 20:23:06 +0100 Subject: NRPE SSL Error In-Reply-To: <3547eb108fe6e419ee7a21adcb6ba471@open.wells.vg> References: <3547eb108fe6e419ee7a21adcb6ba471@open.wells.vg> Message-ID: <4321E11A.7070900@aol.com> Matt Wells wrote: > By default now it compiles with SSL enabled.. at least it said so in > the configure file. > > ----- Original Message ----- > Subject: Re: [Nagios-users] NRPE SSL Error > From: martin hudec > To: "Matt Wells" > CC: nagios-users at lists.sourceforge.net > Date: 09-09-2005 11:51 > > > Hello, > > On Fri, Sep 09, 2005 at 11:33:26AM -0700 or thereabouts, Matt > Wells wrote: > > Martin thank you for such a fast reply. I compiled the v2 on the > > server and copied the check_nrpe to the libexec dir. This is from > > the same compile as the clients. Other than the check_nrpe does the > > Nagios Server need anything else running that perhaps I've not run? > > The clients have the /usr/local/nagios/nrpe -c > > /usr/local/nagios/nrpe.cfg -d for the client. > > The clients are in /usr/local/nagios and within this folder is > > nrpe > > nrpe.cfg > > libexec/ > > libexec/check_lots_of_checks_here > > Well I am actually interested in way how was nrpe compiled (you said > that all nrpe are from the same compile), so look for compile > options.. This was exactly what I was missing (to enable ssl during > configuration before compilation).. I am using FreeBSD, so I used > WITH_SSL=yes as compile option for nrpe port. So check your operating > system and its package system for any configurable options for nrpe > package. > > I am leaving from work, so I won't be online until morning. I hope my > few lines will actually do some help. > Most of the SSL errors I get are related to the allowed_hosts option. Check that your Nagios server IP address is on that line (separated by commas). Also, on your nagios server, run the check_nrpe command as the nagios user with exactly the same arguments as the Nagios server would have and display the error to us. Cheers. rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chroot at wells.vg Fri Sep 9 21:45:25 2005 From: chroot at wells.vg (Matt Wells) Date: Fri, 9 Sep 2005 12:45:25 -0700 Subject: NRPE SSL Error Message-ID: <7a8040aff959844c06e26811a354b1a0@open.wells.vg> I am able to run the command and get a perfect reply.? I get the nrpe[25392]: Error: Could not complete SSL handshake. 5 every 3 minutes on the second. ----- Original Message ----- SUBJECT:?Re: [Nagios-users] NRPE SSL Error FROM: ?Rob Moss TO:?Undisclosed reciepent CC:?"nagios-users at lists.sourceforge.net" DATE:?09-09-2005 12:26 Matt Wells wrote: By default now it compiles with SSL enabled.. at least it said so in the configure file. ----- Original Message ----- SUBJECT: Re: [Nagios-users] NRPE SSL Error FROM: martin hudec [1] TO: "Matt Wells" [2] CC: nagios-users at lists.sourceforge.net[3] DATE: 09-09-2005 11:51 Hello, On Fri, Sep 09, 2005 at 11:33:26AM -0700 or thereabouts, Matt Wells wrote: > Martin thank you for such a fast reply. I compiled the v2 on the > server and copied the check_nrpe to the libexec dir. This is from > the same compile as the clients. Other than the check_nrpe does the > Nagios Server need anything else running that perhaps I've not run? > The clients have the /usr/local/nagios/nrpe -c > /usr/local/nagios/nrpe.cfg -d for the client. > The clients are in /usr/local/nagios and within this folder is > nrpe > nrpe.cfg > libexec/ > libexec/check_lots_of_checks_here Well I am actually interested in way how was nrpe compiled (you said that all nrpe are from the same compile), so look for compile options.. This was exactly what I was missing (to enable ssl during configuration before compilation).. I am using FreeBSD, so I used WITH_SSL=yes as compile option for nrpe port. So check your operating system and its package system for any configurable options for nrpe package. I am leaving from work, so I won't be online until morning. I hope my few lines will actually do some help. Most of the SSL errors I get are related to the allowed_hosts option. Check that your Nagios server IP address is on that line (separated by commas). Also, on your nagios server, run the check_nrpe command as the nagios user with exactly the same arguments as the Nagios server would have and display the error to us. Cheers. rob. Links: ------ [1] mailto:corwin at aeternal.net [2] mailto:chroot at wells.vg [3] mailto:nagios-users at lists.sourceforge.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From magle at cacdhh.org Fri Sep 9 21:52:43 2005 From: magle at cacdhh.org (Matthew Agle) Date: Fri, 9 Sep 2005 15:52:43 -0400 Subject: suggestions for upgrading Nagios Message-ID: <001501c5b578$0aef8720$8400a8c0@sshi.local> Hello, I have currently running Nagios version 1.2 and looking to upgrade to 2.04b. Has anyone done this and/or performed a upgrade and if so what suggestions/tips would you have? Is it easier to upgrade or simply install to a different location and point the config files there? Thanks in advance for any feedback! Sincerely, Matthew Agle - MCP, MCSA Network Engineer CACDHH Information Technology Phone: (810)239-3112 ext. 233 Email: magle at cacdhh.org Disclaimer: The information transmitted is intended only for the person or entity to whom or which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please delete this material immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmossrm at aol.com Fri Sep 9 22:06:35 2005 From: robmossrm at aol.com (Rob Moss) Date: Fri, 09 Sep 2005 21:06:35 +0100 Subject: NRPE SSL Error In-Reply-To: <7a8040aff959844c06e26811a354b1a0@open.wells.vg> References: <7a8040aff959844c06e26811a354b1a0@open.wells.vg> Message-ID: <4321EB4B.3060000@aol.com> What I meant was: On the nagios server, log in as the 'nagios' user, and run the command just as nagios might run it... for example: /usr/local/nagios/libexec/check_nrpe -H some.host.somewhere.com -c check_disk And see what happens. Maybe your SSL libraries aren't in your ld.so path or something, or you have some other problem executing the NRPE plugin which will show up if you run the command yourself. If that fails, then you may want to recompile NRPE and make sure you have the check_nrpe and the nrpe daemon copied onto both systems (you may have a mismatched copy, the client with SSL, the check program without). Cheers rob Matt Wells wrote: > I am able to run the command and get a perfect reply. > I get the nrpe[25392]: Error: Could not complete SSL handshake. 5 > every 3 minutes on the second. > > ----- Original Message ----- > Subject: Re: [Nagios-users] NRPE SSL Error > From: Rob Moss > To: Undisclosed reciepent > CC: "nagios-users at lists.sourceforge.net" > > Date: 09-09-2005 12:26 > > > Matt Wells wrote: > >> By default now it compiles with SSL enabled.. at least it said so >> in the configure file. >> >> ----- Original Message ----- >> Subject: Re: [Nagios-users] NRPE SSL Error >> From: martin hudec >> To: "Matt Wells" >> CC: nagios-users at lists.sourceforge.net >> Date: 09-09-2005 11:51 >> >> >> Hello, >> >> On Fri, Sep 09, 2005 at 11:33:26AM -0700 or thereabouts, Matt >> Wells wrote: >> > Martin thank you for such a fast reply. I compiled the v2 >> on the >> > server and copied the check_nrpe to the libexec dir. This >> is from >> > the same compile as the clients. Other than the check_nrpe >> does the >> > Nagios Server need anything else running that perhaps I've >> not run? >> > The clients have the /usr/local/nagios/nrpe -c >> > /usr/local/nagios/nrpe.cfg -d for the client. >> > The clients are in /usr/local/nagios and within this folder is >> > nrpe >> > nrpe.cfg >> > libexec/ >> > libexec/check_lots_of_checks_here >> >> Well I am actually interested in way how was nrpe compiled >> (you said >> that all nrpe are from the same compile), so look for compile >> options.. This was exactly what I was missing (to enable ssl >> during >> configuration before compilation).. I am using FreeBSD, so I used >> WITH_SSL=yes as compile option for nrpe port. So check your >> operating >> system and its package system for any configurable options >> for nrpe >> package. >> >> I am leaving from work, so I won't be online until morning. I >> hope my >> few lines will actually do some help. >> > Most of the SSL errors I get are related to the > > allowed_hosts > > option. Check that your Nagios server IP address is on that line > (separated by commas). > > Also, on your nagios server, run the check_nrpe command as the > nagios user with exactly the same arguments as the Nagios server > would have and display the error to us. > > Cheers. > rob. > -- Rob Moss Unix Systems Admin Hosting & DB Operations Hammersmith, London, UK Phone: +44 20 7348 8629 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Sep 9 22:25:20 2005 From: marc at ena.com (Marc Powell) Date: Fri, 9 Sep 2005 15:25:20 -0500 Subject: warning using check_dns Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of FM > Sent: Friday, September 09, 2005 12:53 PM > To: Mailing List Nagios > Subject: [Nagios-users] warning using check_dns > > Hello, > > Nagios 2.x > > I'm trying to use check_dns : > [trieste plugins]# ./check_dns -H urbino.lan.lexum.pri -s > dns1.lan.lexum.pri > DNS OK: 0.239 seconds response time urbino.lan.lexum.pri returns > 192.168.4.10|time=0.238538s;;;0.000000 > > [trieste plugins]# ./check_dns -H urbino.lan.lexum.pri -s > dns1.lan.lexum.pri > DNS WARNING - nslookup returned error status > > As you can see it worked at the first attempt but not at the second. check_dns is a fancy wrapper for nslookup. When it was called, nslookup returned an error and/or no output. Do you know why that might be? Can you successfully run '/path/to/nslookup -sil urbino.lan.lexum.pri dns1.lan.lexum.pri' multiple times? If it complains about the -sil, simply remove those flags and try again. If you're running a recent version of the plugins you can pass a -v flag to check_dns for verbose output. Finally, you should always do tests of this nature as the nagios user. While not an issue in the specific case, plugin execution problems can often be related to permissions for the nagios user that wouldn't be apparent when testing as root. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Sep 10 00:21:36 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 9 Sep 2005 17:21:36 -0500 (CDT) Subject: CGI Whoops Message on RHEL Message-ID: Hi, I'm in the process of doing a platform change from a generic Linux to Red Hat Enterprise Linux 3 ES. On the new platform, I can't get the CGIs to work at all. I get the: Whoops! Error: Could not read host and service status information! whenever I try to invoke a cgi from the web browser. The nagios process is running: [root at ops-db1 root]# ps -aef f | grep -i nagios|grep -v grep nagios 6524 1 0 15:08 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg I'm using nagios 1.2 from dag: [root at ops-db1 cgi]# rpm -q nagios nagios-1.2-0.rhel3.dag The users are set up correctly: [root at ops-db1 root]# id apache uid=48(apache) gid=48(apache) groups=48(apache),903(nagios) [root at ops-db1 root]# id nagios uid=903(nagios) gid=903(nagios) groups=903(nagios) [root at ops-db1 nagios]# ls -lah total 104K drwx------ 6 nagios nagios 4.0K Sep 9 15:16 . drwxr-xr-x 8 root root 4.0K Sep 8 12:33 .. drwxr-xr-x 2 nagios nagios 4.0K Feb 11 2004 archives -rw------- 1 nagios nagios 148 Sep 9 15:13 .bash_history -rw-r--r-- 1 nagios nagios 24 Sep 8 00:56 .bash_logout -rw-r--r-- 1 nagios nagios 191 Sep 8 00:56 .bash_profile -rw-r--r-- 1 nagios nagios 124 Sep 8 00:56 .bashrc -rw-rw-r-- 1 nagios nagios 0 Sep 9 15:08 comment.log -rw-rw-r-- 1 nagios nagios 0 Sep 9 15:08 downtime.log drwx------ 2 nagios nagios 4.0K Sep 9 15:17 .gnupg -rw-rw-r-- 1 nagios nagios 44K Sep 9 15:14 nagios.log drwxr-sr-x 2 nagios apache 4.0K Sep 9 15:08 rw drwx------ 2 nagios nagios 4.0K Sep 9 12:18 .ssh -rw-rw-r-- 1 nagios nagios 7.9K Sep 9 15:16 status.log -rw-rw-r-- 1 nagios nagios 5.9K Sep 9 15:08 status.sav I started thinking the problem may have something to do with exec shield which Red Hat added in Update 3 so I disabled it: [root at ops-db1 nagios]# echo 0 > /proc/sys/kernel/exec-shield [root at ops-db1 nagios]# echo 0 > /proc/sys/kernel/exec-shield-randomize I can get the CGIs to work just fine from the command line: [root at ops-db1 cgi]# ./avail.cgi Cache-Control: no-store Pragma: no-cache Last-Modified: Fri, 09 Sep 2005 22:18:54 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-type: text/html Nagios Availability This is driving me crazy at the moment so I'm hoping I've overlooked something obvious. Any help is greatly appreciated as I'm getting sick of wrestling with this one. Thanks. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Sep 10 01:09:11 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 9 Sep 2005 18:09:11 -0500 (CDT) Subject: CGI Whoops Message on RHEL In-Reply-To: References: Message-ID: On Fri, 9 Sep 2005, Demetri Mouratis wrote: > Hi, > > I'm in the process of doing a platform change from a generic Linux to Red Hat > Enterprise Linux 3 ES. On the new platform, I can't get the CGIs to work at > all. I get the: > > Whoops! > > Error: Could not read host and service status information! > > whenever I try to invoke a cgi from the web browser. The nagios process is > running: > > [root at ops-db1 root]# ps -aef f | grep -i nagios|grep -v grep > nagios 6524 1 0 15:08 ? S 0:00 /usr/bin/nagios -d > /etc/nagios/nagios.cfg > > I'm using nagios 1.2 from dag: > > [root at ops-db1 cgi]# rpm -q nagios > nagios-1.2-0.rhel3.dag > > The users are set up correctly: > > [root at ops-db1 root]# id apache > uid=48(apache) gid=48(apache) groups=48(apache),903(nagios) > [root at ops-db1 root]# id nagios > uid=903(nagios) gid=903(nagios) groups=903(nagios) > > [root at ops-db1 nagios]# ls -lah > total 104K > drwx------ 6 nagios nagios 4.0K Sep 9 15:16 . > drwxr-xr-x 8 root root 4.0K Sep 8 12:33 .. > drwxr-xr-x 2 nagios nagios 4.0K Feb 11 2004 archives > -rw------- 1 nagios nagios 148 Sep 9 15:13 .bash_history > -rw-r--r-- 1 nagios nagios 24 Sep 8 00:56 .bash_logout > -rw-r--r-- 1 nagios nagios 191 Sep 8 00:56 .bash_profile > -rw-r--r-- 1 nagios nagios 124 Sep 8 00:56 .bashrc > -rw-rw-r-- 1 nagios nagios 0 Sep 9 15:08 comment.log > -rw-rw-r-- 1 nagios nagios 0 Sep 9 15:08 downtime.log > drwx------ 2 nagios nagios 4.0K Sep 9 15:17 .gnupg > -rw-rw-r-- 1 nagios nagios 44K Sep 9 15:14 nagios.log > drwxr-sr-x 2 nagios apache 4.0K Sep 9 15:08 rw > drwx------ 2 nagios nagios 4.0K Sep 9 12:18 .ssh > -rw-rw-r-- 1 nagios nagios 7.9K Sep 9 15:16 status.log > -rw-rw-r-- 1 nagios nagios 5.9K Sep 9 15:08 status.sav > > I started thinking the problem may have something to do with exec shield > which Red Hat added in Update 3 so I disabled it: > > [root at ops-db1 nagios]# echo 0 > /proc/sys/kernel/exec-shield > [root at ops-db1 nagios]# echo 0 > /proc/sys/kernel/exec-shield-randomize > > I can get the CGIs to work just fine from the command line: > > [root at ops-db1 cgi]# ./avail.cgi > Cache-Control: no-store > Pragma: no-cache > Last-Modified: Fri, 09 Sep 2005 22:18:54 GMT > Expires: Thu, 01 Jan 1970 00:00:00 GMT > Content-type: text/html > > > > > Nagios Availability > > > > > > > > This is driving me crazy at the moment so I'm hoping I've overlooked > something obvious. Any help is greatly appreciated as I'm getting sick of > wrestling with this one. > > Thanks. > Sorry to reply to my own post but this is now fixed. It turned out that a another developer had modified the permissions on /var/log/nagios making it impossible for the CGI's to access the status and log files. For the record, 750 perms worked just fine in my config. Thanks. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sat Sep 10 01:21:55 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 9 Sep 2005 19:21:55 -0400 (EDT) Subject: warning using check_dns In-Reply-To: <1126292424.26964.4.camel@kcm40202> References: <4321CC0E.6020305@lexum.umontreal.ca> <1126292424.26964.4.camel@kcm40202> Message-ID: A discussion this last week on the plugins list pointed to a new behaviour in 2.6.11 kernels in RHEL based systems for fork() that is causing these problems. Reports like the one below are hard to diagnose if one does not provide context like plugin version, os version. These things are requested in every message footer, yet seem to be lacking in requests for help. -sg On Fri, 9 Sep 2005, Dave Augustus wrote: > I too have had problems with this plugin. I have posted to this list and > got some replies but nothing ever really seem to fix the problem. > > I resorted to using the check_dns.pl script instead of check_dns. > > Dave > > > > On Fri, 2005-09-09 at 13:53 -0400, FM wrote: >> Hello, >> >> Nagios 2.x >> >> I'm trying to use check_dns : >> [trieste plugins]# ./check_dns -H urbino.lan.lexum.pri -s dns1.lan.lexum.pri >> DNS OK: 0.239 seconds response time urbino.lan.lexum.pri returns >> 192.168.4.10|time=0.238538s;;;0.000000 >> >> [trieste plugins]# ./check_dns -H urbino.lan.lexum.pri -s dns1.lan.lexum.pri >> DNS WARNING - nslookup returned error status >> >> As you can see it worked at the first attempt but not at the second. >> >> How to you handle dns checking ? >> >> Thanks !!! >> >> >> ------------------------------------------------------- >> SF.Net email is Sponsored by the Better Software Conference & EXPO >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Sep 10 03:46:23 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 9 Sep 2005 18:46:23 -0700 Subject: Monitoring Nagios Services In-Reply-To: <99CF04974931C548B2BF20CD898FCBA7B75330@uscpgmedexch01.medassets.com> References: <99CF04974931C548B2BF20CD898FCBA7B75330@uscpgmedexch01.medassets.com> Message-ID: <20050910014622.GC23609@zippy.toger.us> On Fri, Sep 09, 2005 at 10:57:52AM -0500, Gonzales, Youn wrote: > Does anyone have any suggestions for how to monitor the nagios services > and restart them if necessary? Put nagios in non-fork mode and put it into inittab. It'll get restarted automtically. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From niceforums at yahoo.com Sat Sep 10 10:20:27 2005 From: niceforums at yahoo.com (hamideh daliri) Date: Sat, 10 Sep 2005 01:20:27 -0700 (PDT) Subject: nagios web interface work with enabled SELinux Message-ID: <20050910082027.78475.qmail@web30106.mail.mud.yahoo.com> hi, when i install nagis on RHEL4 i have some problems with nagios web interface and it was an internal error by apache that forends said me it is because of SELinux that is active on RHEL4 and for using web interface of nagios it sould be disabled . but now it is ok althought SELinux is enabled on my box,i have defined new type for nagios and replace the security context of all files and diectories in nagios dir with it and write some rules in apache.te . if anyone is eager in this issue tell me to describe more and put codes , tnx . ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davea at support.kcm.org Sat Sep 10 23:44:35 2005 From: davea at support.kcm.org (Dave Augustus) Date: Sat, 10 Sep 2005 16:44:35 -0500 Subject: warning using check_dns In-Reply-To: References: <4321CC0E.6020305@lexum.umontreal.ca> <1126292424.26964.4.camel@kcm40202> Message-ID: <1126388675.4488.3.camel@springer> My apologies for not supplying the information you are referring to. The footers of so many email contain useless information that I have grown accustom to ignoring them. :( Dave On Fri, 2005-09-09 at 19:21 -0400, Subhendu Ghosh wrote: > A discussion this last week on the plugins list pointed to a new behaviour > in 2.6.11 kernels in RHEL based systems for fork() that is causing these > problems. > > Reports like the one below are hard to diagnose if one does not provide > context like plugin version, os version. These things are requested in > every message footer, yet seem to be lacking in requests for help. > > -sg > > On Fri, 9 Sep 2005, Dave Augustus wrote: > > > I too have had problems with this plugin. I have posted to this list and > > got some replies but nothing ever really seem to fix the problem. > > > > I resorted to using the check_dns.pl script instead of check_dns. > > > > Dave > > > > > > > > On Fri, 2005-09-09 at 13:53 -0400, FM wrote: > >> Hello, > >> > >> Nagios 2.x > >> > >> I'm trying to use check_dns : > >> [trieste plugins]# ./check_dns -H urbino.lan.lexum.pri -s dns1.lan.lexum.pri > >> DNS OK: 0.239 seconds response time urbino.lan.lexum.pri returns > >> 192.168.4.10|time=0.238538s;;;0.000000 > >> > >> [trieste plugins]# ./check_dns -H urbino.lan.lexum.pri -s dns1.lan.lexum.pri > >> DNS WARNING - nslookup returned error status > >> > >> As you can see it worked at the first attempt but not at the second. > >> > >> How to you handle dns checking ? > >> > >> Thanks !!! > >> > >> > >> ------------------------------------------------------- > >> SF.Net email is Sponsored by the Better Software Conference & EXPO > >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > >> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > >> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossz at vamos-wentworth.org Sun Sep 11 07:32:25 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Sat, 10 Sep 2005 22:32:25 -0700 Subject: Passive tests and notifications Message-ID: <4323C169.4040405@vamos-wentworth.org> Yesterday I configured a couple of passive tests on one of my servers, disk space and the mysql process, to be specific. Later that night I logged on to the status screen to check things and saw that the passive tests were marked "OK", but they hadn't been updated for several hours even though the cronjob I set up was every 30 minutes. I obviously made some kind of mistake that I will deal with on monday (can't do anything right now on the remote server because I recently changed the root password and can't remember what it is, :) so have to wait until I'm in the office and can look it up). What bothers me is I never received a notification. How do I get nagios to send out a notification or fall back to an active test if the information is stale? -- Rossz ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Sun Sep 11 11:27:22 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Sun, 11 Sep 2005 10:27:22 +0100 (BST) Subject: Not able to get mail notification , Guidance requested In-Reply-To: References: Message-ID: <20050911092722.11648.qmail@web40829.mail.yahoo.com> --- Marc Powell wrote: > > > The above information indicates that you don't have > active or passive > checks enabled for the service. Is that the case? If > so, you're not > checking the service so no notifications will ever > go out. If you are > checking the service and the information above is > incorrect, check > nagios.log for a notification attempt. Check your > postfix logs. Verify > that you can send a notification by issuing your > notification commands > exactly as they are defined as the nagios user (not > root!) - post the > test here. If you still have problems, please post > the exact host and > service definitions as well as your notification > commands to this list - > the information above is not them. Nagios.log > entries around the time > that the notification should happen would be useful > as well. > > -- > Marc > > Hi Marc Thanks for the mail , I am adding the info a> ?active/passive? Now I had enabled active / passive checks for all the services for the host ?joseph? and checked it again , but , I am not getting the notification I checked nagios.log for notification attempt , I did not find any mention of notification in the nagios.log ********************************************** b > ?postfix ? My postfix MTA is working fine , and I am able to send the mail from command mode , I am able to execute the notification command from the users prompt such as c> ?notification email command? /usr/bin/printf "%b" "***** Nagios 1.X*****Notification\nType:$NOTIFICATIONTYPE$\n Host: $HOSTNAME$\nState: $HOSTSTATE$Address: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$" joseph at test.com *********************************************************** NOT ABLE TO SEND when I specify $CONTACTEMAIL$ from nagios prompt >From nagios users prompt , if I give exactly as in the notification command I am not getting the mail /usr/bin/printf "%b" "***** Nagios 1.X*****Notification\nType:$NOTIFICATIONTYPE$\n Host: $HOSTNAME$\nState: $HOSTSTATE$Address: $HOSTADDRESS$\nInfo: $OUTPUT$\nDate/Time: $DATETIME$" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$" $CONTACTEMAIL$ d>mail log when I send the above command from the nagios command mode is Sep 11 12:55:54 john postfix/pickup[2509]: 749A8474130: uid=511 from= Sep 11 12:55:54 john postfix/cleanup[5950]: 749A8474130: message-id=<20050911085554.749A8474130 at john.oreon.ae> Sep 11 12:55:54 john postfix/qmgr[2510]: 749A8474130: from=, size=452, nrcpt=1 (queue active) Sep 11 12:55:54 john postfix/local[5951]: 749A8474130: to=<$@john.oreon.ae>, orig_to=<$>, relay=local, delay=0, status=bounced (unknown user: "$") Sep 11 12:55:54 john postfix/cleanup[5950]: 8862847412E: message-id=<20050911085554.8862847412E at john.oreon.ae> Sep 11 12:55:54 john postfix/qmgr[2510]: 8862847412E: from=<>, size=2101, nrcpt=1 (queue active) Sep 11 12:55:54 john postfix/qmgr[2510]: 749A8474130: removed Sep 11 12:55:54 john postfix/local[5951]: 8862847412E: to=, relay=local, delay=0, status=sent (delivered to mailbox) Sep 11 12:55:54 john postfix/qmgr[2510]: 8862847412E: removed Sep 11 12:55:56 john postfix/pickup[2509]: 6AF85474130: uid=511 from= Sep 11 12:55:56 john postfix/cleanup[5950]: 6AF85474130: message-id=<20050911085556.6AF85474130 at john.oreon.ae> Sep 11 12:55:56 john postfix/qmgr[2510]: 6AF85474130: from=, size=452, nrcpt=1 (queue active) Sep 11 12:55:56 john postfix/local[5951]: 6AF85474130: to=<$@john.oreon.ae>, orig_to=<$>, relay=local, delay=0, status=bounced (unknown user: "$") Sep 11 12:55:56 john postfix/cleanup[5950]: 7557A47412E: message-id=<20050911085556.7557A47412E at john.oreon.ae> Sep 11 12:55:56 john postfix/qmgr[2510]: 7557A47412E: from=<>, size=2101, nrcpt=1 (queue active) Sep 11 12:55:56 john postfix/qmgr[2510]: 6AF85474130: removed Sep 11 12:55:56 john postfix/local[5951]: 7557A47412E: to=, relay=local, delay=0, status=sent (delivered to mailbox) Sep 11 12:55:56 john postfix/qmgr[2510]: 7557A47412E: removed Sep 11 12:55:57 john postfix/pickup[2509]: 2740A474130: uid=511 from= Sep 11 12:55:57 john postfix/cleanup[5950]: 2740A474130: message-id=<20050911085557.2740A474130 at john.oreon.ae> Sep 11 12:55:57 john postfix/qmgr[2510]: 2740A474130: from=, size=452, nrcpt=1 (queue active) Sep 11 12:55:57 john postfix/local[5951]: 2740A474130: to=<$@john.oreon.ae>, orig_to=<$>, relay=local, delay=0, status=bounced (unknown user: "$") Sep 11 12:55:57 john postfix/cleanup[5950]: 29ED8474094: message-id=<20050911085557.29ED8474094 at john.oreon.ae> Sep 11 12:55:57 john postfix/qmgr[2510]: 29ED8474094: from=<>, size=2101, nrcpt=1 (queue active) Sep 11 12:55:57 john postfix/qmgr[2510]: 2740A474130: removed Sep 11 12:55:57 john postfix/local[5951]: 29ED8474094: to=, relay=local, delay=0, status=sent (delivered to mailbox) Sep 11 12:55:57 john postfix/qmgr[2510]: 29ED8474094: removed ********************************************** I am sending the hosts.cfg , services.cfg , misccommands.cfg as attachment , Kindly guide me Thanks Joseph John ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: hosts.cfg Type: application/octet-stream Size: 15836 bytes Desc: 1819780330-hosts.cfg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: services.cfg Type: application/octet-stream Size: 34156 bytes Desc: 4051563864-services.cfg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: misccommands.cfg Type: application/octet-stream Size: 3249 bytes Desc: 3418209448-misccommands.cfg URL: From f1216 at yahoo.com Sun Sep 11 16:11:44 2005 From: f1216 at yahoo.com (Fred) Date: Sun, 11 Sep 2005 07:11:44 -0700 (PDT) Subject: oscp command design and FIFO locking? In-Reply-To: <20050911092722.11648.qmail@web40829.mail.yahoo.com> References: <20050911092722.11648.qmail@web40829.mail.yahoo.com> Message-ID: <20050911141144.46193.qmail@web31911.mail.mud.yahoo.com> Does anyone have an idea why the oscp command (for distributed monitoring) would kick off more then one command at a time? For example, if there are a number of checks that are completed, nagios kicks off multiple oscp scripts (submit commands). This causes the design of the submit command to need to throttle the access to whatever resources it might need to touch. If using the default send_nsca command, there can now be multiple (and many multiple) send_nsca's kicked off and each of these on the target server will all be attempting to write to the nagios FIFO. The nagios FIFO can get horribly overloaded. If the nagios master demon is not aggresively reading the FIFO (check_command_interval=-1) then the demons can stack up and eventually consume socket resources and memory etc. As far as I can tell, nsca doesn't lock the FIFO, which also means that writes will get intermixed with writes from plug-ins that might be running on the master system. (I have seen this over and over) To avoid this, I have had to implement serious locking in all plug-ins and not use nsca as it has no locking mechanism (that I know of). Right now I am fighting with the oscp commands that can launch dozens of copies at a time and each of these (in my case) write to a local file that will eventually be pushed up to the master and written (while locking) the nagios FIFO. So ... I guess my questions are: 1) Should nagios be forking off more then one oscp command at a time? 2) Has anyone else run into FIFO corruption because of the lack of advisory locking in all the plug-ins? Thanks in advance for any thoughts or observations here. -FredC ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Sep 11 16:35:35 2005 From: marc at ena.com (Marc Powell) Date: Sun, 11 Sep 2005 09:35:35 -0500 Subject: Passive tests and notifications Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rossz Vamos-Wentworth > Sent: Sunday, September 11, 2005 12:32 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Passive tests and notifications > > Yesterday I configured a couple of passive tests on one of my servers, > disk space and the mysql process, to be specific. Later that night I > logged on to the status screen to check things and saw that the passive > tests were marked "OK", but they hadn't been updated for several hours > even though the cronjob I set up was every 30 minutes. I obviously made > some kind of mistake that I will deal with on monday (can't do anything > right now on the remote server because I recently changed the root > password and can't remember what it is, :) so have to wait until I'm in > the office and can look it up). > > What bothers me is I never received a notification. How do I get nagios > to send out a notification or fall back to an active test if the > information is stale? Use freshness checking. http://nagios.sourceforge.net/docs/1_0/freshness.html Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Sep 11 17:12:02 2005 From: marc at ena.com (Marc Powell) Date: Sun, 11 Sep 2005 10:12:02 -0500 Subject: oscp command design and FIFO locking? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Fred > Sent: Sunday, September 11, 2005 9:12 AM > To: Nagios User > Subject: [Nagios-users] oscp command design and FIFO locking? > > > Does anyone have an idea why the oscp command (for distributed monitoring) > would > kick off more then one command at a time? For example, if there are a > number > of checks that are completed, nagios kicks off multiple oscp scripts > (submit > commands). Since the OCSP command can be and do anything, it must be run once per check. Nagios can't predict what you're using the OCSP command for and whether batching, as you seem to desire, would be applicable. Distributed monitoring is just one application of OCSP. If you really want the batching behavior, build it into your OCSP command. > This causes the design of the submit command to need to throttle the > access > to whatever resources it might need to touch. If using the default > send_nsca > command, there can now be multiple (and many multiple) send_nsca's kicked > off > and each of these on the target server will all be attempting to write to > the nagios FIFO. The nagios FIFO can get horribly overloaded. If the > nagios > master demon is not aggresively reading the FIFO (check_command_interval=- > 1) > then the demons can stack up and eventually consume socket resources and I handle approximately 3300 passive checks every 5 minutes on somewhat commodity hardware (quad pIII 800) using NSCA with no problems. I anticipate that I can double and possibly triple that number as the FIFO is empty approximately 1/3 of the time. Are you doing significantly more passive checks than that? > memory etc. As far as I can tell, nsca doesn't lock the FIFO, which also > means that writes will get intermixed with writes from plug-ins that might > be > running on the master system. (I have seen this over and over) I don't see how. Local active checks, at least the standard plugins, don't use nagios.cmd in any way. This would also be contrary to the blocking behavior you comment on above where your OS is essentially 'locking' the FIFO until it has been cleared. As far as your OS is concerned, there is no distinction between NSCA trying to write to the pipe and some other process doing the same. While others are more versed in this than I am, it is my understanding that if the program is trying to write more data to the pipe than it can currently hold it will be prevented from doing so by the OS, only one process can write to the FIFO at a time and that all writes are atomic. This presumes that the plugin output is < the max FIFO length supported by your OS. > > To avoid this, I have had to implement serious locking in all plug-ins and > not use nsca as it has no locking mechanism (that I know of). I'm curious about how you've done this. What exactly are you locking? How is it helping? NSCA shouldn't need locking as it depends on your OS to control access to the FIFO. > Right now I am fighting with the oscp commands that can launch dozens of > copies at a time and each of these (in my case) write to a local file that > will eventually be pushed up to the master and written (while locking) the > nagios FIFO. > > So ... I guess my questions are: > > 1) Should nagios be forking off more then one oscp command at a time? Yes, one per check. > 2) Has anyone else run into FIFO corruption because of the lack of > advisory > locking in all the plug-ins? Not here in almost 4 years of using Nagios/Netsaint. -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Sun Sep 11 18:37:20 2005 From: f1216 at yahoo.com (Fred) Date: Sun, 11 Sep 2005 09:37:20 -0700 (PDT) Subject: oscp command design and FIFO locking? In-Reply-To: References: Message-ID: <20050911163720.11118.qmail@web31902.mail.mud.yahoo.com> Marc, Thanks for the detailed reply. I've attempted to be a bit more clear in the comments below. --- Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Fred > > Sent: Sunday, September 11, 2005 9:12 AM > > To: Nagios User > > Subject: [Nagios-users] oscp command design and FIFO locking? > > > > > > Does anyone have an idea why the oscp command (for distributed > monitoring) > > would > > kick off more then one command at a time? For example, if there are a > > number > > of checks that are completed, nagios kicks off multiple oscp scripts > > (submit > > commands). > > Since the OCSP command can be and do anything, it must be run once per > check. Nagios can't predict what you're using the OCSP command for and > whether batching, as you seem to desire, would be applicable. > Distributed monitoring is just one application of OCSP. If you really > want the batching behavior, build it into your OCSP command. > It was my impression that this command was intended for distributed monitoring and that other hooks exist to provide control to other types of commands for other purposes. > > This causes the design of the submit command to need to throttle the > > access > > to whatever resources it might need to touch. If using the default > > send_nsca > > command, there can now be multiple (and many multiple) send_nsca's > kicked > > off > > and each of these on the target server will all be attempting to write > to > > the nagios FIFO. The nagios FIFO can get horribly overloaded. If the > > nagios > > master demon is not aggresively reading the FIFO > (check_command_interval=- > > 1) > > then the demons can stack up and eventually consume socket resources > and > > I handle approximately 3300 passive checks every 5 minutes on somewhat > commodity hardware (quad pIII 800) using NSCA with no problems. I > anticipate that I can double and possibly triple that number as the FIFO > is empty approximately 1/3 of the time. Are you doing significantly more > passive checks than that? > Most likely ... on one installation I have over 1040 nodes, over 10,500 checks, 99% of which are passive and involve plug-ins which write to the nagios.cmd FIFO. Each compute node defines 10 passive service check definitions, each service node defines an additional 10 active checks. The nsca demon forks children to write to nagios.cmd as a result of a send_nsca connection request. If at the same time, some plug-in tries to write to this file, there is a good chance that the buffers can be interspersed if both the nsca process and the plug-in do not observe any kind of lock mechanism. This can also occur when nagios forks off multiple service check plug-ins that both want to write to the FIFO. It took a system configuration of about 120 or so nodes for this to start happening for me. It wasn't consistent and it isn't fatal. If you looked closely, the nagios.log would report an invalid command and then read the next line of the FIFO and move on, however, the data from that line would be lost. Since implementing a lock around writing to the FIFO from all my plug-ins, this has not occurred. Note, in my smaller configurations, I don't use nsca as there is no distributed monitoring. The contention in these smaller systems is between concurrently running plug-ins. > > memory etc. As far as I can tell, nsca doesn't lock the FIFO, which > also > > means that writes will get intermixed with writes from plug-ins that > might > > be > > running on the master system. (I have seen this over and over) > > I don't see how. Local active checks, at least the standard plugins, > don't use nagios.cmd in any way. This would also be contrary to the > blocking behavior you comment on above where your OS is essentially > 'locking' the FIFO until it has been cleared. As far as your OS is > concerned, there is no distinction between NSCA trying to write to the > pipe and some other process doing the same. While others are more versed > in this than I am, it is my understanding that if the program is trying > to write more data to the pipe than it can currently hold it will be > prevented from doing so by the OS, only one process can write to the > FIFO at a time and that all writes are atomic. This presumes that the > plugin output is < the max FIFO length supported by your OS. I use few local active checks. Those that I do use, typically are kicked off to generate per-node data that is written to the nagios.cmd FIFO, one line item for each node. With the FIFO on a 4k block filesystem, that isn't too much room before it fills. At about 80-120 chars per message, it only takes 30-50 messages to fill the FIFO then the plug-in is blocked waiting for nagios to read it. If nagios only reads it every 15 seconds, it could easily take over a minute to read 128 messages (128 nodes). More then one process can write to a FIFO at a time, it is just a unix file opened for append. The OS doesn't control this, the user application has to. It gets worse ... if nagios spins off more then one plug-in that in turn writes to the FIFO, and each of those want to write say 128 lines of data, they can easily toast each other. Nagios does have a setting to keep the number of concurrent processes to 1, but that seems to be too big a hammer for this problem. In any case, locking between plug-ins (and wrapping any existing ones with locks) works well. I also set my nagios demon to aggresively read from the FIFO, otherwise things start timing out (with a service check timeout at say 60-120 seconds) While I have few local checks, they are the core of my monitoring system as they are resposnible for filling in all the per-node information for the majority of the passive checks, for example, I have a syslog monitor plugin that runs and parses the recent syslog messages, compares against interesting patterns, and then formats a line for each node that has something interesting and writes that to the FIFO, for those nodes that do not have any interesting content, it formats a line that says nothing matched (if I didn't do that, the service check would never fill any data in or it would go stale) Other plug-ins report per-node statistics and format this into the FIFO. Each node has passive check definitions for these results. > > > > > To avoid this, I have had to implement serious locking in all plug-ins > and > > not use nsca as it has no locking mechanism (that I know of). > > I'm curious about how you've done this. What exactly are you locking? > How is it helping? NSCA shouldn't need locking as it depends on your OS > to control access to the FIFO. > > > Right now I am fighting with the oscp commands that can launch dozens > of > > copies at a time and each of these (in my case) write to a local file > that > > will eventually be pushed up to the master and written (while locking) > the > > nagios FIFO. > > > > So ... I guess my questions are: > > > > 1) Should nagios be forking off more then one oscp command at a time? > > Yes, one per check. > > > 2) Has anyone else run into FIFO corruption because of the lack of > > advisory > > locking in all the plug-ins? > > Not here in almost 4 years of using Nagios/Netsaint. Again, thanks for the input. > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Mon Sep 12 02:30:25 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 12 Sep 2005 10:30:25 +1000 Subject: suggestions for upgrading Nagios In-Reply-To: <001501c5b578$0aef8720$8400a8c0@sshi.local> References: <001501c5b578$0aef8720$8400a8c0@sshi.local> Message-ID: <4324CC21.1080204@qut.edu.au> Matt, Matthew Agle wrote: > Hello, > > I have currently running Nagios version 1.2 and looking to > upgrade to 2.04b. Has anyone done this and/or performed a upgrade and > if so what suggestions/tips would you have? Is it easier to upgrade or > simply install to a different location and point the config files > there? Thanks in advance for any feedback! RTFM is your friend. I would very carefully read what is new in version 2.0, in the "What's new in this version" section of the online manual. http://www.nagios.org, Support, Online Documentation, v2.x HTML, Table of Contents, What's new in this version.... If I were you, I would pay special attention to the Hostgroup changes. Take a copy of your 1.x config and run the 2.x binary against it, see what is broken, that will give you a good starting point. HTH, [p.s.] OK, ok, the only change you *have* to make is moving the new location of the contact_groups directive... but there's so much other new and better stuff in v2.x, have a look and see what is applicable to your situation. -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Mon Sep 12 03:29:29 2005 From: f1216 at yahoo.com (Fred) Date: Sun, 11 Sep 2005 18:29:29 -0700 (PDT) Subject: suggestions for upgrading Nagios In-Reply-To: <4324CC21.1080204@qut.edu.au> References: <4324CC21.1080204@qut.edu.au> Message-ID: <20050912012929.13978.qmail@web31906.mail.mud.yahoo.com> I believe there are a number of changed configuration variables that will be obvious when you try to start a 1.2 config under 2.0b*, I know there were a number of syntax errors when I upgraded. -FredC --- Greg Vickers wrote: > Matt, > > Matthew Agle wrote: > > Hello, > > > > I have currently running Nagios version 1.2 and looking to > > upgrade to 2.04b. Has anyone done this and/or performed a upgrade and > > if so what suggestions/tips would you have? Is it easier to upgrade or > > simply install to a different location and point the config files > > there? Thanks in advance for any feedback! > > RTFM is your friend. I would very carefully read what is new in version > 2.0, in the "What's new in this version" section of the online manual. > > http://www.nagios.org, Support, Online Documentation, v2.x HTML, Table > of Contents, What's new in this version.... > > If I were you, I would pay special attention to the Hostgroup changes. > > Take a copy of your 1.x config and run the 2.x binary against it, see > what is broken, that will give you a good starting point. > > HTH, > > [p.s.] OK, ok, the only change you *have* to make is moving the new > location of the contact_groups directive... but there's so much other > new and better stuff in v2.x, have a look and see what is applicable to > your situation. > > -- > Greg Vickers > Project Manager, IT Security > Information Technology Services > Queensland University of Technology > L12, 126 Margaret St, Brisbane > > Phone: (07) 3864 9536 > Email: g.vickers at qut.edu.au > IT Security web site: http://www.its.qut.edu.au/itsecurity/ > > CRICOS No. 00213J > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Sep 12 08:53:28 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 12 Sep 2005 08:53:28 +0200 Subject: suggestions for upgrading Nagios In-Reply-To: <20050912012929.13978.qmail@web31906.mail.mud.yahoo.com> References: <20050912012929.13978.qmail@web31906.mail.mud.yahoo.com> Message-ID: <432525E8.7080001@op5.se> Fred wrote: > I believe there are a number of changed configuration variables that > will be obvious when you try to start a 1.2 config under 2.0b*, I know > there were a number of syntax errors when I upgraded. > Don't forget the macros in the notification commands, or we'll be answering that particular question for the 16033rd time tomorrow. > -FredC > > --- Greg Vickers wrote: > > >>Matt, >> >>Matthew Agle wrote: >> >>>Hello, >>> >>> I have currently running Nagios version 1.2 and looking to >>>upgrade to 2.04b. Has anyone done this and/or performed a upgrade and >>>if so what suggestions/tips would you have? Is it easier to upgrade or >>>simply install to a different location and point the config files >>>there? Thanks in advance for any feedback! >> >>RTFM is your friend. I would very carefully read what is new in version >>2.0, in the "What's new in this version" section of the online manual. >> >>http://www.nagios.org, Support, Online Documentation, v2.x HTML, Table >>of Contents, What's new in this version.... >> >>If I were you, I would pay special attention to the Hostgroup changes. >> >>Take a copy of your 1.x config and run the 2.x binary against it, see >>what is broken, that will give you a good starting point. >> >>HTH, >> >>[p.s.] OK, ok, the only change you *have* to make is moving the new >>location of the contact_groups directive... but there's so much other >>new and better stuff in v2.x, have a look and see what is applicable to >>your situation. >> >>-- >>Greg Vickers >>Project Manager, IT Security >>Information Technology Services >>Queensland University of Technology >>L12, 126 Margaret St, Brisbane >> >>Phone: (07) 3864 9536 >>Email: g.vickers at qut.edu.au >>IT Security web site: http://www.its.qut.edu.au/itsecurity/ >> >>CRICOS No. 00213J >> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting >>any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Sep 12 09:16:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 12 Sep 2005 09:16:05 +0200 Subject: oscp command design and FIFO locking? In-Reply-To: <20050911163720.11118.qmail@web31902.mail.mud.yahoo.com> References: <20050911163720.11118.qmail@web31902.mail.mud.yahoo.com> Message-ID: <43252B35.4080001@op5.se> Fred wrote: >>>This causes the design of the submit command to need to throttle the >>>access >>>to whatever resources it might need to touch. If using the default >>>send_nsca >>>command, there can now be multiple (and many multiple) send_nsca's >> >>kicked >> >>>off >>>and each of these on the target server will all be attempting to write >> >>to >> >>>the nagios FIFO. The nagios FIFO can get horribly overloaded. If the >>>nagios >>>master demon is not aggresively reading the FIFO >> >>(check_command_interval=- >> >>>1) >>>then the demons can stack up and eventually consume socket resources >> >>and >> >>I handle approximately 3300 passive checks every 5 minutes on somewhat >>commodity hardware (quad pIII 800) using NSCA with no problems. I >>anticipate that I can double and possibly triple that number as the FIFO >>is empty approximately 1/3 of the time. Are you doing significantly more >>passive checks than that? >> > > > Most likely ... on one installation I have over 1040 nodes, over 10,500 > checks, 99% of which are passive and involve plug-ins which write to the > nagios.cmd FIFO. Each compute node defines 10 passive service check > definitions, each service node defines an additional 10 active checks. > > The nsca demon forks children to write to nagios.cmd as > a result of a send_nsca connection request. If at the same time, some plug-in > tries to write to this file, there is a good chance that the buffers can > be interspersed if both the nsca process and the plug-in do not observe any > kind of lock mechanism. This can also occur when nagios forks off multiple > service check plug-ins that both want to write to the FIFO. It took a system > configuration of about 120 or > so nodes for this to start happening for me. It wasn't consistent and it > isn't fatal. If you looked closely, the nagios.log would report an invalid > command and then read the next line of the FIFO and move on, however, the > data from that line would be lost. Since implementing a lock around writing > to the FIFO from all my plug-ins, this has not occurred. Note, in my smaller > configurations, I don't use nsca as there is no distributed monitoring. The > contention in these smaller systems is between concurrently running plug-ins. > If you read the code you'll notice that the active checks also write their service results to the FIFO. This is a showstopper on the road to "scale like hell", so a few various other methods are being tested. Multiplexing several children from a single parent seems the way to go. 509 checks can run smoothly at once on a modern system (round about 1017 if you don't let the child have an stderr). The limit is set by sysconf(_SC_OPEN_MAX) / 2, or sysconf(_SC_CHILD_MAX), whichever is lowest. > >>>memory etc. As far as I can tell, nsca doesn't lock the FIFO, which >> >>also >> >>>means that writes will get intermixed with writes from plug-ins that >> >>might >> >>>be >>>running on the master system. (I have seen this over and over) >> >>I don't see how. Local active checks, at least the standard plugins, >>don't use nagios.cmd in any way. This is incorrect. See above. > This would also be contrary to the >>blocking behavior you comment on above where your OS is essentially >>'locking' the FIFO until it has been cleared. As far as your OS is >>concerned, there is no distinction between NSCA trying to write to the >>pipe and some other process doing the same. While others are more versed >>in this than I am, it is my understanding that if the program is trying >>to write more data to the pipe than it can currently hold it will be >>prevented from doing so by the OS, only one process can write to the >>FIFO at a time and that all writes are atomic. This presumes that the >>plugin output is < the max FIFO length supported by your OS. > Actually, the write(2) command will write some data, but not all. The smallest guaranteed atomic write size is 512 on posix systems. Obviously, this is larger on most, but it can't be infinite so all writes aren't atomic. > > I use few local active checks. Those that I do use, typically are kicked > off to generate per-node data that is written to the nagios.cmd FIFO, one > line item for each node. With the FIFO on a 4k block filesystem, that isn't > too much room before it fills. At about 80-120 chars per message, it only > takes 30-50 messages > to fill the FIFO then the plug-in is blocked waiting for nagios to read it. > If nagios only reads it every 15 seconds, it could easily take over a minute > to read 128 messages (128 nodes). So set service_result_reaper_frequency (or some such) to 2. Having it at 15 in a large environment just won't work. > More then one process can write to a FIFO > at a time, it is just a unix file opened for append. The OS doesn't control > this, the user application has to. It gets worse ... if nagios spins off > more then one plug-in that in turn writes to the FIFO, and each of those > want to write say 128 lines of data, they can easily toast each other. Nagios > does have a setting to keep the number of concurrent processes to 1, but that > seems to be too big a hammer for this problem. In any case, locking between > plug-ins (and wrapping any existing ones with locks) works well. I also set > my nagios demon to aggresively read from the FIFO, otherwise things start > timing out (with a service check timeout at say 60-120 seconds) > > While I have few local checks, they are the core of my monitoring system as > they are resposnible for filling in all the per-node information for the > majority of the passive checks, for example, I have a syslog monitor plugin > that runs and parses the recent syslog messages, compares against interesting > patterns, and then formats a line for each node that has something interesting > and writes that to the FIFO, for those nodes that do not have any interesting > content, it formats a line that says nothing matched (if I didn't do that, the > service check would never fill any data in or it would go stale) Other > plug-ins report per-node statistics and format this into the FIFO. Each node > has passive check definitions for these results. > > >>>To avoid this, I have had to implement serious locking in all plug-ins >> >>and >> >>>not use nsca as it has no locking mechanism (that I know of). >> A better solution would have been to implement a local UDP socket mechanism. The reaper in Nagios can easily multiplex, and the receive buffers on sockets can be dynamically increased from the program creating it (up to at least 65536 bytes even on very old linuxes). >>I'm curious about how you've done this. What exactly are you locking? >>How is it helping? NSCA shouldn't need locking as it depends on your OS >>to control access to the FIFO. >> >> >>>Right now I am fighting with the oscp commands that can launch dozens >> >>of >> >>>copies at a time and each of these (in my case) write to a local file >> >>that >> >>>will eventually be pushed up to the master and written (while locking) >> >>the >> >>>nagios FIFO. >>> >>>So ... I guess my questions are: >>> >>>1) Should nagios be forking off more then one oscp command at a time? >> >>Yes, one per check. >> >> >>>2) Has anyone else run into FIFO corruption because of the lack of >>>advisory >>> locking in all the plug-ins? >> This is quite a misplaced question. The plugins just write to a file-descriptor they think is stdout, but is really a pipe opened by nagios (using the pipe(2) syscall) specifically for that plugin. That pipe doesn't get filled as only one plugin is writing to it. It's nagios itself that writes to its own FIFO. >>Not here in almost 4 years of using Nagios/Netsaint. > > > Again, thanks for the input. > > >>-- >>Marc >> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting >>any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Mon Sep 12 09:45:44 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Mon, 12 Sep 2005 08:45:44 +0100 (BST) Subject: No notifications in "nagios.log" , Message-ID: <20050912074544.38615.qmail@web40822.mail.yahoo.com> Hi When I was trouble shooting for the not receiving email -notification , I found that my ? usr/local/nagios/var/nagios.log? do not have any notification in it , while it has other details such as history , status , trends I think if I am able to find out the reason , why there is no info of notification in nagios.log , I can solve my mail problem Help requested Thanks Joseph John Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.steenbuck at lhsystems.com Mon Sep 12 13:42:09 2005 From: oliver.steenbuck at lhsystems.com (oliver.steenbuck at lhsystems.com) Date: Mon, 12 Sep 2005 13:42:09 +0200 Subject: Scheduling (ordering) of Service checks Message-ID: <79BF0B53C4A28446A097D6170CF4C69955ED0C@xw2k3-hammbx-03.ads.dlh.de> My situation is roughy as follows: I need to check some (html) applications. This application checking needs different steps (e.g. Login, check_1, check_2, Logout). Obviously the "logout" step should only happen after, the "check" steps have returned. Currently every "step" is implemented as a service. Is it possible to order the execution of different serivce checks in a certain way. (Not asfar as I can see but I may ofcourse be mistaken) We are running Nagios 1.2 If the answer is no, has somebody already done meaningfull work in the direction of adding such a facillity to nagios. I would be soo much interested in any clues or insights. Kind Regards Oliver Steenbuck -------------- next part -------------- An HTML attachment was scrubbed... URL: From f1216 at yahoo.com Mon Sep 12 13:53:53 2005 From: f1216 at yahoo.com (Fred) Date: Mon, 12 Sep 2005 04:53:53 -0700 (PDT) Subject: oscp command design and FIFO locking? In-Reply-To: <43252B35.4080001@op5.se> References: <43252B35.4080001@op5.se> Message-ID: <20050912115353.64819.qmail@web31912.mail.mud.yahoo.com> Andreas, Thank you for the comments. This mail thread is getting visually ugly because of the word wraps, so I'm not going to comment inline. A few more questions/clarifications follow: SC_OPEN_MAX is probably what I am hitting, it is configured to be 1024 on our system. This could explain quite a bit. To be clear, the issues that I originally described about writing to the nagios.cmd fifo were not related in any way to the directly launched plugins from nagios, i.e, I have no doubt that nagios does the right thing internally to insure consistency. What nagios has no control over is essentially async processes that are writing to the nagios.cmd fifo with the intent of providing passive check input to nagios. i.e., echo "a bunch of lines of passive-check-results ... " >>nagios.cmd while nagios is running (especially if nagios is also writing its own active check results here!) could cause lots of trouble if there are no observed locks. The above is essentially what happens in my system (where the echo is a really a set of perl scripts that all take turns writing the fifo) This was the reasons behind my question #2 about FIFO corruption. Again, thank you for the SC_OPEN_MAX pointer ..., I think what may have caused my problems may have been a recent addition of host-checks, this will cause more open descriptors that previously used and may have pushed things over the edge. -FredC --- Andreas Ericsson wrote: > Fred wrote: > >>>This causes the design of the submit command to need to throttle the > >>>access > >>>to whatever resources it might need to touch. If using the default > >>>send_nsca > >>>command, there can now be multiple (and many multiple) send_nsca's > >> > >>kicked > >> > >>>off > >>>and each of these on the target server will all be attempting to write > >> > >>to > >> > >>>the nagios FIFO. The nagios FIFO can get horribly overloaded. If the > >>>nagios > >>>master demon is not aggresively reading the FIFO > >> > >>(check_command_interval=- > >> > >>>1) > >>>then the demons can stack up and eventually consume socket resources > >> > >>and > >> > >>I handle approximately 3300 passive checks every 5 minutes on somewhat > >>commodity hardware (quad pIII 800) using NSCA with no problems. I > >>anticipate that I can double and possibly triple that number as the FIFO > >>is empty approximately 1/3 of the time. Are you doing significantly more > >>passive checks than that? > >> > > > > > > Most likely ... on one installation I have over 1040 nodes, over 10,500 > > checks, 99% of which are passive and involve plug-ins which write to the > > nagios.cmd FIFO. Each compute node defines 10 passive service check > > definitions, each service node defines an additional 10 active checks. > > > > The nsca demon forks children to write to nagios.cmd as > > a result of a send_nsca connection request. If at the same time, some > plug-in > > tries to write to this file, there is a good chance that the buffers can > > be interspersed if both the nsca process and the plug-in do not observe any > > kind of lock mechanism. This can also occur when nagios forks off > multiple > > service check plug-ins that both want to write to the FIFO. It took a > system > > configuration of about 120 or > > so nodes for this to start happening for me. It wasn't consistent and it > > isn't fatal. If you looked closely, the nagios.log would report an invalid > > command and then read the next line of the FIFO and move on, however, the > > data from that line would be lost. Since implementing a lock around > writing > > to the FIFO from all my plug-ins, this has not occurred. Note, in my > smaller > > configurations, I don't use nsca as there is no distributed monitoring. > The > > contention in these smaller systems is between concurrently running > plug-ins. > > > > If you read the code you'll notice that the active checks also write > their service results to the FIFO. This is a showstopper on the road to > "scale like hell", so a few various other methods are being tested. > Multiplexing several children from a single parent seems the way to go. > 509 checks can run smoothly at once on a modern system (round about 1017 > if you don't let the child have an stderr). The limit is set by > sysconf(_SC_OPEN_MAX) / 2, or sysconf(_SC_CHILD_MAX), whichever is lowest. > > > > >>>memory etc. As far as I can tell, nsca doesn't lock the FIFO, which > >> > >>also > >> > >>>means that writes will get intermixed with writes from plug-ins that > >> > >>might > >> > >>>be > >>>running on the master system. (I have seen this over and over) > >> > >>I don't see how. Local active checks, at least the standard plugins, > >>don't use nagios.cmd in any way. > > > This is incorrect. See above. > > > > This would also be contrary to the > >>blocking behavior you comment on above where your OS is essentially > >>'locking' the FIFO until it has been cleared. As far as your OS is > >>concerned, there is no distinction between NSCA trying to write to the > >>pipe and some other process doing the same. While others are more versed > >>in this than I am, it is my understanding that if the program is trying > >>to write more data to the pipe than it can currently hold it will be > >>prevented from doing so by the OS, only one process can write to the > >>FIFO at a time and that all writes are atomic. This presumes that the > >>plugin output is < the max FIFO length supported by your OS. > > > > Actually, the write(2) command will write some data, but not all. The > smallest guaranteed atomic write size is 512 on posix systems. > Obviously, this is larger on most, but it can't be infinite so all > writes aren't atomic. > > > > > > I use few local active checks. Those that I do use, typically are kicked > > off to generate per-node data that is written to the nagios.cmd FIFO, one > > line item for each node. With the FIFO on a 4k block filesystem, that > isn't > > too much room before it fills. At about 80-120 chars per message, it only > > takes 30-50 messages > > to fill the FIFO then the plug-in is blocked waiting for nagios to read it. > > If nagios only reads it every 15 seconds, it could easily take over a > minute > > to read 128 messages (128 nodes). > > > So set service_result_reaper_frequency (or some such) to 2. Having it at > 15 in a large environment just won't work. > > > > More then one process can write to a FIFO > > at a time, it is just a unix file opened for append. The OS doesn't > control > > this, the user application has to. It gets worse ... if nagios spins off > > more then one plug-in that in turn writes to the FIFO, and each of those > > want to write say 128 lines of data, they can easily toast each other. > Nagios > > does have a setting to keep the number of concurrent processes to 1, but > that > > seems to be too big a hammer for this problem. In any case, locking > between > > plug-ins (and wrapping any existing ones with locks) works well. I also > set > > my nagios demon to aggresively read from the FIFO, otherwise things start > > timing out (with a service check timeout at say 60-120 seconds) > > > > While I have few local checks, they are the core of my monitoring system as > > they are resposnible for filling in all the per-node information for the > > majority of the passive checks, for example, I have a syslog monitor plugin > > that runs and parses the recent syslog messages, compares against > interesting > > patterns, and then formats a line for each node that has something > interesting > > and writes that to the FIFO, for those nodes that do not have any > interesting > > content, it formats a line that says nothing matched (if I didn't do that, > the > > service check would never fill any data in or it would go stale) Other > > plug-ins report per-node statistics and format this into the FIFO. Each > node > > has passive check definitions for these results. > > > > > >>>To avoid this, I have had to implement serious locking in all plug-ins > >> > >>and > >> > >>>not use nsca as it has no locking mechanism (that I know of). > >> > > A better solution would have been to implement a local UDP socket > mechanism. The reaper in Nagios can easily multiplex, and the receive > buffers on sockets can be dynamically increased from the program > creating it (up to at least 65536 bytes even on very old linuxes). > > > >>I'm curious about how you've done this. What exactly are you locking? > >>How is it helping? NSCA shouldn't need locking as it depends on your OS > >>to control access to the FIFO. > >> > >> > >>>Right now I am fighting with the oscp commands that can launch dozens > >> > >>of > >> > >>>copies at a time and each of these (in my case) write to a local file > >> > >>that > >> > >>>will eventually be pushed up to the master and written (while locking) > >> > >>the > >> > >>>nagios FIFO. > >>> > >>>So ... I guess my questions are: > >>> > >>>1) Should nagios be forking off more then one oscp command at a time? > >> > >>Yes, one per check. > >> > >> > >>>2) Has anyone else run into FIFO corruption because of the lack of > >>>advisory > >>> locking in all the plug-ins? > >> > > This is quite a misplaced question. The plugins just write to a > file-descriptor they think is stdout, but is really a pipe opened by > nagios (using the pipe(2) syscall) specifically for that plugin. That > pipe doesn't get filled as only one plugin is writing to it. It's nagios > itself that writes to its own FIFO. > > > >>Not here in almost 4 years of using Nagios/Netsaint. > > > > > > Again, thanks for the input. > > > > > >>-- > >>Marc > >> > >> > >>------------------------------------------------------- > >>SF.Net email is Sponsored by the Better Software Conference & EXPO > >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when > reporting > >>any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Mon Sep 12 14:23:13 2005 From: f1216 at yahoo.com (Fred) Date: Mon, 12 Sep 2005 05:23:13 -0700 (PDT) Subject: Scheduling (ordering) of Service checks In-Reply-To: <79BF0B53C4A28446A097D6170CF4C69955ED0C@xw2k3-hammbx-03.ads.dlh.de> References: <79BF0B53C4A28446A097D6170CF4C69955ED0C@xw2k3-hammbx-03.ads.dlh.de> Message-ID: <20050912122313.30041.qmail@web31902.mail.mud.yahoo.com> Oliver, If I were faced with this type of a problem, I would probably think about a bit differently. Nagios is good at launching checks at intervals and expects a discrete amount of work in a finite time to be accomplished. It is very good for checking and returning status. Given that, you might consider having a plug-in that oversees and reports on the progress of the outstanding phases. Its also not clear if your html application is something initiated from the nagios interface (for example, you include a link in your plug-in output and start it from there) or if this is just some activity that is happening async to nagios. It is also not clear if you would need to report a single instance of this sequence or if there can be any number of login/logout's. -FredC --- oliver.steenbuck at lhsystems.com wrote: > My situation is roughy as follows: > > > I need to check some (html) applications. This application checking needs > different steps (e.g. Login, check_1, check_2, Logout). Obviously the > "logout" step should only happen after, the "check" steps have returned. > Currently every "step" is implemented as a service. > Is it possible to order the execution of different serivce checks in a > certain way. (Not asfar as I can see but I may ofcourse be mistaken) > We are running Nagios 1.2 > > If the answer is no, has somebody already done meaningfull work in the > direction of adding such a facillity to nagios. I would be soo much > interested in any clues or insights. > > Kind Regards > Oliver Steenbuck > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Mon Sep 12 15:54:46 2005 From: f1216 at yahoo.com (Fred) Date: Mon, 12 Sep 2005 06:54:46 -0700 (PDT) Subject: Service check delays in distributed monitor setup In-Reply-To: <20050908012059.95096.qmail@web31906.mail.mud.yahoo.com> References: <20050908012059.95096.qmail@web31906.mail.mud.yahoo.com> Message-ID: <20050912135446.65693.qmail@web31901.mail.mud.yahoo.com> I believe I have found the source of my issue around service check delays in the distributed monitoring setup. Many thanks to Andreas Ericsson for reminding me about socket and child resource requirements ... If you read the code you'll notice that the active checks also write their service results to the FIFO. This is a showstopper on the road to "scale like hell", so a few various other methods are being tested. Multiplexing several children from a single parent seems the way to go. 509 checks can run smoothly at once on a modern system (round about 1017 if you don't let the child have an stderr). The limit is set by sysconf(_SC_OPEN_MAX) / 2, or sysconf(_SC_CHILD_MAX), whichever is lowest. My file open ulimit for nagios was at 1024, the default. By doing a ulimit -n 8192 in my nagios service startup script, all things came back to normal ... services started scheduling, processes stopped hanging, it was a beautiful thing ;-) The interesting observation from this is that there seemed to be no failure messages from nagios around not being able to fork child processes or resource type failure messages in any logs. I suspect some limits where being crossed but nothing was reporting it. Thanks to all who responded. -FredC --- Fred wrote: > Unfortunately, setting the increment to a small number only worked to > set the pending state to something that looked reasonable, however, the > services still never get scheduled. > > My configuration *was* working at one point, I tweaked something and > now no matter what I do, I can't get it to start monitoring again. My > passive checks recieved from other monitor nodes all seem to get registered, > its just the active checks that run on the master (head) node never see > the light of day any more. If I regenerate the configuration to not use > distributed monitoring, it works just fine, however, that puts way too much > pressure on a single node. I removed the status.sav, but as I type > this I'm thinking I should nuke all the cache files that nagios builds, maybe > there is something that got munged in there ... > > We've used both Nagios 1.2 and now 2.0b3 (testing 2.0b4) and I have yet > to need to crack open the source and make any mods ... looks like that time > is coming ;-) > > -FredC > > --- misc at viceconsulting.co.nz wrote: > > > Hi Fred, > > > > I have encountered the exact same problem with my central Nagios server. > > It has about 1000 passive services, but only about 10 active services (the > > active services being used for the central Nagios server to self-monitor > > itself). The 1000 passive services receiving their results from the 5 > > distributed servers. > > > > When I restart the Central Nagios server, the active checks get scheduled > > for 3 hours+ into the future, but they never actually seem to run. For > > days the active checks have not actually been checking themselves. > > > > I tried changing the service_inter_check_delay_method to d for dumb, which > > appeared to schedule it when I expected (ie within about 5 mins after the > > restart) but it still didn't run them. > > > > Your idea of setting service_inter_check_delay_method=0.05 sounds good. I > > haven't had any luck getting the 10 or so active services checking on my > > central Nagios server. > > > > Is anyone able to confirm that this is a known problem in Nagios, is there > > a better workaround, is this to be fixed in 2.0 final? > > > > Fred, keep the list posted if you make further breakthroughs. > > > > Cheers > > Alex > > > > On 7 Sep 2005 at 11:03, Fred wrote: > > > > > I think I have found the source of my issue with distributed monitoring > and > > > service checks. > > > > > > It turns out that if you enable distributed monitoring, even passive > > service > > > check definitions seem to get scheduled to run when nagios starts up. If > > > you have say 10350 services (give or take one) and use smart scheduling > of > > > services, you could easily see 3+ hours between the time that the first > > service > > > is scheduled and the last one. Changing the smart schduling to "n" for > > > no delay causes the services to not be scheduled in the future, but by > the > > > time nagios processes the entire configuration file, the start time is in > > > the past and I think nagios forgets about the service so it is never > > scheduled > > > again. > > > > > > I'm currently trying a service_inter_check_delay_method=0.05 which puts > me > > > at about 3 minutes for 10,000+ services, which seems to be enough time > for > > > nagios to startup and still have its first pending service scheduled in > the > > > near future rather then the near past ... > > > > > > Does this make sense to anyone who has been messing with these > > configuration > > > settings? > > > > > > Is there a better way to do this? I.e., I would like for nagios to *not* > > > consider the passive checks in any scheduling. I actually only have a > > small > > > number of active checks which when run will populate the rest of the > > passive > > > checks for the entire cluster, the problem is that it seems the node that > I > > > run these checks on is alphabetically *after* all of the other nodes so > it > > > seems to be scheduled last and has services starting the furthest out. > > > > > > Thanks. > > > -FredC > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & > QA > > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 12 15:56:46 2005 From: jhmartin at toger.us (Jason Martin) Date: Mon, 12 Sep 2005 06:56:46 -0700 Subject: Scheduling (ordering) of Service checks In-Reply-To: <79BF0B53C4A28446A097D6170CF4C69955ED0C@xw2k3-hammbx-03.ads.dlh.de> References: <79BF0B53C4A28446A097D6170CF4C69955ED0C@xw2k3-hammbx-03.ads.dlh.de> Message-ID: <20050912135646.GA27427@zippy.toger.us> On Mon, Sep 12, 2005 at 01:42:09PM +0200, oliver.steenbuck at lhsystems.com wrote: > Is it possible to order the execution of different serivce checks in a certain way. (Not asfar as I can see but I may ofcourse be mistaken) Nagios does not support ordering of service checks. I'd suggest writing a script that steps through those steps and returns a meaningful error code if any of them fail. -Jason Martin -- Aren't cats just widdle furry balls of love? 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 rossz at vamos-wentworth.org Mon Sep 12 17:36:22 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Mon, 12 Sep 2005 08:36:22 -0700 Subject: parent/child and alerts Message-ID: <4325A076.2050108@vamos-wentworth.org> I need to improve how alerts are handled. This morning the internet connection on my nagios server went down. This resulted in none of the remote tests working. I had thought nagios automatically checked if the host was reachable if there was a test failure, but from alerts I'm receiving, this turns out to not be true (or I screwed up something in the configuration. What must I do to receive only a single alert for each host when the internet connection is down instead of an alert for each service? A bonus would be to supress all the alerts if the nagios server loses its connection. I could configure one of the remote servers to test my primary nagios server's connection and send out an alert if it's unreachable. -- Rossz ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Sep 12 17:48:41 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 12 Sep 2005 17:48:41 +0200 Subject: parent/child and alerts In-Reply-To: <4325A076.2050108@vamos-wentworth.org> References: <4325A076.2050108@vamos-wentworth.org> Message-ID: <4325A359.3040002@op5.se> Rossz Vamos-Wentworth wrote: > I need to improve how alerts are handled. This morning the internet > connection on my nagios server went down. This resulted in none of the > remote tests working. I had thought nagios automatically checked if the > host was reachable if there was a test failure, but from alerts I'm > receiving, this turns out to not be true (or I screwed up something in > the configuration. > You screwed up your configuration. > What must I do to receive only a single alert for each host when the > internet connection is down instead of an alert for each service? Un-screw your configuration. If you use the parents directive (in an un-screwed up way) you should only get very few alerts in a situation like this. > A > bonus would be to supress all the alerts if the nagios server loses its > connection. I could configure one of the remote servers to test my > primary nagios server's connection and send out an alert if it's > unreachable. > Just re-read the manual regarding object configuration. It'll dawn on you in a couple of tries. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossz at vamos-wentworth.org Mon Sep 12 17:52:27 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Mon, 12 Sep 2005 08:52:27 -0700 Subject: parent/child and alerts In-Reply-To: <4325A359.3040002@op5.se> References: <4325A076.2050108@vamos-wentworth.org> <4325A359.3040002@op5.se> Message-ID: <4325A43B.3030402@vamos-wentworth.org> Andreas Ericsson wrote: > Rossz Vamos-Wentworth wrote: > >> I need to improve how alerts are handled. This morning the internet >> connection on my nagios server went down. This resulted in none of >> the remote tests working. I had thought nagios automatically checked >> if the host was reachable if there was a test failure, but from alerts >> I'm receiving, this turns out to not be true (or I screwed up >> something in the configuration. >> > > You screwed up your configuration. I think I see the problem. Dumb of me. I'm testing the router that connects my nagios server to the internet. Pinging it works just fine even when there is no internet connection. What do other people use to test their connectivity? -- Rossz ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Sep 12 17:57:46 2005 From: benny at bennyvision.com (C. Bensend) Date: Mon, 12 Sep 2005 10:57:46 -0500 (CDT) Subject: parent/child and alerts In-Reply-To: <4325A43B.3030402@vamos-wentworth.org> References: <4325A076.2050108@vamos-wentworth.org> <4325A359.3040002@op5.se> <4325A43B.3030402@vamos-wentworth.org> Message-ID: <2917.134.244.169.17.1126540666.squirrel@webmail.stinkweasel.net> > What do other people use to test their connectivity? I ping the far end (the provider's end) serial interface of each of our DS1's. And just for good measure, in the host alias, I detail the circuit ID and support line number for each of them. Then, when the network folks lose a circuit, they have all the information they need to call in a trouble ticket with their providers, right there on their pager. Benny -- "Now, that next spring you find in your garage a creature that looks like a cross-bred badger and anaconda. A badgerconda." -- bash.org ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Sep 12 17:56:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 12 Sep 2005 17:56:55 +0200 Subject: parent/child and alerts In-Reply-To: <4325A43B.3030402@vamos-wentworth.org> References: <4325A076.2050108@vamos-wentworth.org> <4325A359.3040002@op5.se> <4325A43B.3030402@vamos-wentworth.org> Message-ID: <4325A547.4090201@op5.se> Rossz Vamos-Wentworth wrote: > Andreas Ericsson wrote: > >> Rossz Vamos-Wentworth wrote: >> >>> I need to improve how alerts are handled. This morning the internet >>> connection on my nagios server went down. This resulted in none of >>> the remote tests working. I had thought nagios automatically checked >>> if the host was reachable if there was a test failure, but from >>> alerts I'm receiving, this turns out to not be true (or I screwed up >>> something in the configuration. >>> >> >> You screwed up your configuration. > > > I think I see the problem. Dumb of me. I'm testing the router that > connects my nagios server to the internet. Pinging it works just fine > even when there is no internet connection. > > What do other people use to test their connectivity? > A google ping (or some such), or the default route for your router. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Mon Sep 12 18:14:46 2005 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 12 Sep 2005 18:14:46 +0200 Subject: Antwort: Re: parent/child and alerts In-Reply-To: <4325A43B.3030402@vamos-wentworth.org> References: <4325A43B.3030402@vamos-wentworth.org> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 12.09.2005 17:52:27: > I think I see the problem. Dumb of me. I'm testing the router that > connects my nagios server to the internet. Pinging it works just fine > even when there is no internet connection. Of course, you are pinging an interface local to the router. > What do other people use to test their connectivity? Make use of the parent directive, it notices when you have a complete network outage. Add every router on the way to nagios and monitor it, if one of the routers shuts down nagios will detect a network outage and do not generate alerts for the machines behind - if you did not add "unreachable" as alert option (which is usually a bad idea anyways). Example of monitoring remote-machine-X: [nagios] -> [managed-switch] -> [core-router] -> [firewall-inner-eth-ring] -> [firewall-outer-eth-ring] -> [border-router] -> [remote-site-border-router] -> [remote-site-switch] -> [remote-machine-X] This is an example chain from our nagios to a machine at a remote site. Set the parent directives in inverse order from last to first and you will have perfect network outage detection. Do not forget to remove "unreachable" from the notification options for each machine though, it's screws things up if you work with parents. regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossz at vamos-wentworth.org Mon Sep 12 18:14:23 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Mon, 12 Sep 2005 09:14:23 -0700 Subject: parent/child and alerts In-Reply-To: <4325A547.4090201@op5.se> References: <4325A076.2050108@vamos-wentworth.org> <4325A359.3040002@op5.se> <4325A43B.3030402@vamos-wentworth.org> <4325A547.4090201@op5.se> Message-ID: <4325A95F.10000@vamos-wentworth.org> Andreas Ericsson wrote: > Rossz Vamos-Wentworth wrote: > >> Andreas Ericsson wrote: >> >>> Rossz Vamos-Wentworth wrote: >>> >>>> I need to improve how alerts are handled. This morning the internet >>>> connection on my nagios server went down. This resulted in none of >>>> the remote tests working. I had thought nagios automatically >>>> checked if the host was reachable if there was a test failure, but >>>> from alerts I'm receiving, this turns out to not be true (or I >>>> screwed up something in the configuration. >>>> >>> >>> You screwed up your configuration. >> >> >> >> I think I see the problem. Dumb of me. I'm testing the router that >> connects my nagios server to the internet. Pinging it works just fine >> even when there is no internet connection. >> >> What do other people use to test their connectivity? >> > > A google ping (or some such), or the default route for your router. > I've defined this check command: define command{ command_name check_connectivity command_line $USER1$/check_ping -H www.google.com -w 100.0,20% -c 500.0,60% } And changed my router ping test to this: define service{ use local-service host_name router service_description CONNECTIVITY is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 15 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_connectivity } And made all remote hosts children of "router". Notifications for this service is disabled since it wouldn't work without any connectivity. I'll configure one of my remote servers to PING test my primary nagios server and send an alert if it fails. But I think there might still be a problem. I think I need to configure the router host to be entirely dependent upon this check. I'm reading up on host/service dependencies now. -- Rossz ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossz at vamos-wentworth.org Mon Sep 12 18:15:27 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Mon, 12 Sep 2005 09:15:27 -0700 Subject: parent/child and alerts In-Reply-To: <2917.134.244.169.17.1126540666.squirrel@webmail.stinkweasel.net> References: <4325A076.2050108@vamos-wentworth.org> <4325A359.3040002@op5.se> <4325A43B.3030402@vamos-wentworth.org> <2917.134.244.169.17.1126540666.squirrel@webmail.stinkweasel.net> Message-ID: <4325A99F.10603@vamos-wentworth.org> C. Bensend wrote: >>What do other people use to test their connectivity? > > > I ping the far end (the provider's end) serial interface of each of > our DS1's. And just for good measure, in the host alias, I detail > the circuit ID and support line number for each of them. I have no idea how to do that. :( -- Rossz ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 12 18:21:14 2005 From: marc at ena.com (Marc Powell) Date: Mon, 12 Sep 2005 11:21:14 -0500 Subject: parent/child and alerts Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rossz Vamos-Wentworth > Sent: Monday, September 12, 2005 11:14 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] parent/child and alerts > > Andreas Ericsson wrote: > > Rossz Vamos-Wentworth wrote: > > > >> Andreas Ericsson wrote: > >> > >>> Rossz Vamos-Wentworth wrote: > >>> > >>>> I need to improve how alerts are handled. This morning the internet > >>>> connection on my nagios server went down. This resulted in none of > >>>> the remote tests working. I had thought nagios automatically > >>>> checked if the host was reachable if there was a test failure, but > >>>> from alerts I'm receiving, this turns out to not be true (or I > >>>> screwed up something in the configuration. > >>>> > >>> > >>> You screwed up your configuration. > >> > >> > >> > >> I think I see the problem. Dumb of me. I'm testing the router that > >> connects my nagios server to the internet. Pinging it works just fine > >> even when there is no internet connection. > >> > >> What do other people use to test their connectivity? > >> > > > > A google ping (or some such), or the default route for your router. > > > > I've defined this check command: > > define command{ > command_name check_connectivity > command_line $USER1$/check_ping -H www.google.com -w 100.0,20% -c > 500.0,60% > } Instead of pinging Google, and I'm sure they have enough people doing it to amount to a sizable chunk of bandwidth, why not be a little more Internet friendly and ping the far side of your router connection to your ISP? -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsmforum at optonline.net Mon Sep 12 19:13:26 2005 From: jsmforum at optonline.net (Jeff) Date: Mon, 12 Sep 2005 13:13:26 -0400 Subject: Plugin errors Message-ID: Hey all, Had to rebuild a server over the weekend and upgraded it from RH EL2 to RH EL3. Now I'm trying to get nagios 1.2 setup again and I'm getting this error on a couple of plugins.... [root at mis02tc07927 libexec]# ./check_http ./check_http: error while loading shared libraries: libssl.so.2: cannot open shared object file: No such file or directory Anyone seen this before and have a simple solution? Thanks, Jeff ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Mon Sep 12 19:17:24 2005 From: robmossrm at aol.com (Rob Moss) Date: Mon, 12 Sep 2005 18:17:24 +0100 Subject: Plugin errors In-Reply-To: References: Message-ID: <4325B824.4050800@aol.com> Jeff wrote: >Hey all, > >Had to rebuild a server over the weekend and upgraded it from RH EL2 to >RH EL3. Now I'm trying to get nagios 1.2 setup again and I'm getting >this error on a couple of plugins.... > >[root at mis02tc07927 libexec]# ./check_http >./check_http: error while loading shared libraries: libssl.so.2: cannot >open shared object file: No such file or directory > >Anyone seen this before and have a simple solution? > >Thanks, > >Jeff > > Install the openssl package..... If it's already installed, then point your library paths to where the libssl.so.2 library lives, update the /etc/ld.so.conf file and run ldconfig. rob. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmckeon at telaurus.com Mon Sep 12 19:32:42 2005 From: jmckeon at telaurus.com (Jeff McKeon) Date: Mon, 12 Sep 2005 13:32:42 -0400 Subject: Plugin errors Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Rob Moss > Sent: Monday, September 12, 2005 13:17 > To: Jeff > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Plugin errors > > > Jeff wrote: > > >Hey all, > > > >Had to rebuild a server over the weekend and upgraded it > from RH EL2 to > >RH EL3. Now I'm trying to get nagios 1.2 setup again and > I'm getting > >this error on a couple of plugins.... > > > >[root at mis02tc07927 libexec]# ./check_http > >./check_http: error while loading shared libraries: > libssl.so.2: cannot > >open shared object file: No such file or directory > > > >Anyone seen this before and have a simple solution? > > > >Thanks, > > > >Jeff > > > > > > Install the openssl package..... > > If it's already installed, then point your library paths to where the > libssl.so.2 library lives, update the /etc/ld.so.conf file > and run ldconfig. > > rob. Rpm -qa | grep openssl returns: openssl-0.9.7a-33.15 When I do a locate libssl I get the following: [snip] [root at mis02tc07927 libexec]# locate libssl /usr/lib/libssl3.so /usr/lib/libssl.a /usr/lib/libssl.so /lib/libssl.so.4 /lib/libssl.so.0.9.7a [/snip] No libssl.so.2..... /etc/ld.so.conf looks like this... /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-3.1/lib Do I not have the correct libssl.so installed? Thanks, Jeff ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Mon Sep 12 19:42:47 2005 From: robmossrm at aol.com (Rob Moss) Date: Mon, 12 Sep 2005 18:42:47 +0100 Subject: Plugin errors In-Reply-To: References: Message-ID: <4325BE17.6080101@aol.com> Jeff McKeon wrote: >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >>Of Rob Moss >>Sent: Monday, September 12, 2005 13:17 >>To: Jeff >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Plugin errors >> >> >>Jeff wrote: >> >> >> >>>Hey all, >>> >>>Had to rebuild a server over the weekend and upgraded it >>> >>> >>from RH EL2 to >> >> >>>RH EL3. Now I'm trying to get nagios 1.2 setup again and >>> >>> >>I'm getting >> >> >>>this error on a couple of plugins.... >>> >>>[root at mis02tc07927 libexec]# ./check_http >>>./check_http: error while loading shared libraries: >>> >>> >>libssl.so.2: cannot >> >> >>>open shared object file: No such file or directory >>> >>>Anyone seen this before and have a simple solution? >>> >>>Thanks, >>> >>>Jeff >>> >>> >>> >>> >>Install the openssl package..... >> >>If it's already installed, then point your library paths to where the >>libssl.so.2 library lives, update the /etc/ld.so.conf file >>and run ldconfig. >> >>rob. >> >> > >Rpm -qa | grep openssl returns: > >openssl-0.9.7a-33.15 > >When I do a locate libssl I get the following: > >[snip] > >[root at mis02tc07927 libexec]# locate libssl >/usr/lib/libssl3.so >/usr/lib/libssl.a >/usr/lib/libssl.so >/lib/libssl.so.4 >/lib/libssl.so.0.9.7a > >[/snip] > >No libssl.so.2..... > >/etc/ld.so.conf looks like this... > >/usr/kerberos/lib >/usr/X11R6/lib >/usr/lib/qt-3.1/lib > >Do I not have the correct libssl.so installed? > >Thanks, > >Jeff > I would say that its from upgrading to a newer version of RedHat.. Jump on rpmfind.net or your favourite source of RPM's and try to find the version of openssl that you need.. rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From werner.flamme at ufz.de Mon Sep 12 19:53:40 2005 From: werner.flamme at ufz.de (Werner Flamme) Date: Mon, 12 Sep 2005 19:53:40 +0200 Subject: Plugin errors In-Reply-To: References: Message-ID: <4325C0A4.8070009@ufz.de> Jeff McKeon schrieb am 12.09.2005 19:32: >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >>Of Rob Moss >>Sent: Monday, September 12, 2005 13:17 >>To: Jeff >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Plugin errors >> >> >>Jeff wrote: >> >> >>>Hey all, >>> >>>Had to rebuild a server over the weekend and upgraded it >> >>from RH EL2 to >> >>>RH EL3. Now I'm trying to get nagios 1.2 setup again and >> >>I'm getting >> >>>this error on a couple of plugins.... >>> >>>[root at mis02tc07927 libexec]# ./check_http >>>./check_http: error while loading shared libraries: >> >>libssl.so.2: cannot >> >>>open shared object file: No such file or directory >>> >>>Anyone seen this before and have a simple solution? >>> >>>Thanks, >>> >>>Jeff >>> >>> >> >>Install the openssl package..... >> >>If it's already installed, then point your library paths to where the >>libssl.so.2 library lives, update the /etc/ld.so.conf file >>and run ldconfig. >> >>rob. > > > Rpm -qa | grep openssl returns: > > openssl-0.9.7a-33.15 > > When I do a locate libssl I get the following: > > [snip] > > [root at mis02tc07927 libexec]# locate libssl > /usr/lib/libssl3.so > /usr/lib/libssl.a > /usr/lib/libssl.so > /lib/libssl.so.4 > /lib/libssl.so.0.9.7a > > [/snip] > > No libssl.so.2..... > > /etc/ld.so.conf looks like this... > > /usr/kerberos/lib > /usr/X11R6/lib > /usr/lib/qt-3.1/lib > > Do I not have the correct libssl.so installed? > > Thanks, > > Jeff Yes and no ;-) Yes - they may be correct for RHEL3. No - the are - obviously - not correct for your nagios-plugins. Maybe you have to recompile those plugins? They should look for the newer libraries then... ;-) HTH, Werner -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15, 04318 Leipzig - http://www.ufz.de eMail: werner.flamme at ufz.de, Tel.: (0341) 235-3921 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsmforum at optonline.net Mon Sep 12 19:58:03 2005 From: jsmforum at optonline.net (Jeff) Date: Mon, 12 Sep 2005 13:58:03 -0400 Subject: Plugin errors (SOLVED) In-Reply-To: References: Message-ID: Installed the latest plugins and it all works. Thanks! Jeff > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Werner Flamme > Sent: Monday, September 12, 2005 13:54 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Plugin errors > > > Jeff McKeon schrieb am 12.09.2005 19:32: > >>-----Original Message----- > >>From: nagios-users-admin at lists.sourceforge.net > >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > >>Of Rob Moss > >>Sent: Monday, September 12, 2005 13:17 > >>To: Jeff > >>Cc: nagios-users at lists.sourceforge.net > >>Subject: Re: [Nagios-users] Plugin errors > >> > >> > >>Jeff wrote: > >> > >> > >>>Hey all, > >>> > >>>Had to rebuild a server over the weekend and upgraded it > >> > >>from RH EL2 to > >> > >>>RH EL3. Now I'm trying to get nagios 1.2 setup again and > >> > >>I'm getting > >> > >>>this error on a couple of plugins.... > >>> > >>>[root at mis02tc07927 libexec]# ./check_http > >>>./check_http: error while loading shared libraries: > >> > >>libssl.so.2: cannot > >> > >>>open shared object file: No such file or directory > >>> > >>>Anyone seen this before and have a simple solution? > >>> > >>>Thanks, > >>> > >>>Jeff > >>> > >>> > >> > >>Install the openssl package..... > >> > >>If it's already installed, then point your library paths to > where the > >>libssl.so.2 library lives, update the /etc/ld.so.conf file > >>and run ldconfig. > >> > >>rob. > > > > > > Rpm -qa | grep openssl returns: > > > > openssl-0.9.7a-33.15 > > > > When I do a locate libssl I get the following: > > > > [snip] > > > > [root at mis02tc07927 libexec]# locate libssl /usr/lib/libssl3.so > > /usr/lib/libssl.a > > /usr/lib/libssl.so > > /lib/libssl.so.4 > > /lib/libssl.so.0.9.7a > > > > [/snip] > > > > No libssl.so.2..... > > > > /etc/ld.so.conf looks like this... > > > > /usr/kerberos/lib > > /usr/X11R6/lib > > /usr/lib/qt-3.1/lib > > > > Do I not have the correct libssl.so installed? > > > > Thanks, > > > > Jeff > > Yes and no ;-) > > Yes - they may be correct for RHEL3. No - the are - obviously > - not correct > for your nagios-plugins. > > Maybe you have to recompile those plugins? They should look > for the newer > libraries then... ;-) > > HTH, > Werner > > -- > Werner Flamme, Abt. WKDV > UFZ Umweltforschungszentrum Leipzig-Halle GmbH, > Permoserstr. 15, 04318 Leipzig - http://www.ufz.de > eMail: werner.flamme at ufz.de, Tel.: (0341) 235-3921 > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & > EXPO September 19-22, 2005 * San Francisco, CA * Development > Lifecycle Practices Agile & Plan-Driven Development * > Managing Projects & Teams * Testing & QA Security * Process > Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Sep 12 20:31:37 2005 From: benny at bennyvision.com (C. Bensend) Date: Mon, 12 Sep 2005 13:31:37 -0500 (CDT) Subject: parent/child and alerts In-Reply-To: <4325A99F.10603@vamos-wentworth.org> References: <4325A076.2050108@vamos-wentworth.org> <4325A359.3040002@op5.se> <4325A43B.3030402@vamos-wentworth.org> <2917.134.244.169.17.1126540666.squirrel@webmail.stinkweasel.net> <4325A99F.10603@vamos-wentworth.org> Message-ID: <3391.134.244.169.17.1126549897.squirrel@webmail.stinkweasel.net> >> I ping the far end (the provider's end) serial interface of each of >> our DS1's. And just for good measure, in the host alias, I detail >> the circuit ID and support line number for each of them. > > I have no idea how to do that. :( Just find out the IP address(es) for the remote end of your pipe(s) to your network provider, and create new host(s) for it. Then, use your router as a parent for the host above. If your pipe goes down, you get alerted about it, and only it. ISP | * ISP's end of your pipe (a.b.c.d) | | Your pipe to your ISP | * Your router (e.f.g.h) | Your network So, you could define two hosts, one for your router, and one for your ISP's router: define host{ use generic-host host_name upstream-t1 parents my-router alias upstream-t1 - Our internet connection address a.b.c.d check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups network-admins } define host{ use generic-host host_name my-router alias my-router - Our internet connection router address e.f.g.h check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups network-admins } -- "Now, that next spring you find in your garage a creature that looks like a cross-bred badger and anaconda. A badgerconda." -- bash.org ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Mon Sep 12 21:11:15 2005 From: mailings at good-it.com (Johan Barelds) Date: Mon, 12 Sep 2005 21:11:15 +0200 Subject: Disable notifications for hostgroups Message-ID: <200509122111.15748.mailings@good-it.com> Hi all, Is there a way to disable notifications for a complete hostgroup via the gui? We do have a lot of servers in some hostgroups and when we do some major patching we wan't to disable the notifications for a hostgroups in one click. The guys who do the patching don't know any linux so disabling notifications in nagios.cmd is not an option. Thanks for any suggestions. -- Kind Regards / Met vriendelijke groet, Johan Barelds ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kidd1270 at gmail.com Mon Sep 12 21:18:19 2005 From: kidd1270 at gmail.com (Kidd Chaos) Date: Mon, 12 Sep 2005 14:18:19 -0500 Subject: scheduled_downtime_depth Message-ID: <91a3540905091212183de1c118@mail.gmail.com> ------------------------------------------------------------------------------------------------------------------- Nagios 1.2 Question: Anyone know what scheduled_downtime_depth used for? (Its in the status log). -Thanks, Kidd ------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Sep 12 21:39:04 2005 From: marc at ena.com (Marc Powell) Date: Mon, 12 Sep 2005 14:39:04 -0500 Subject: Disable notifications for hostgroups Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Johan Barelds > Sent: Monday, September 12, 2005 2:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Disable notifications for hostgroups > > Hi all, > > Is there a way to disable notifications for a complete hostgroup via the > gui? When viewing the host group or Status Summary, click on the hostgroup name (the part in parenthesis). -- Marc ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Mon Sep 12 22:25:12 2005 From: mailings at good-it.com (Johan Barelds) Date: Mon, 12 Sep 2005 22:25:12 +0200 Subject: Disable notifications for hostgroups In-Reply-To: References: Message-ID: <200509122225.13068.mailings@good-it.com> Op maandag 12 september 2005 21:39, schreef Marc Powell: > When viewing the host group or Status Summary, click on the hostgroup > name (the part in parenthesis). Thanks Marc! That's what i was looking for. Great stuff! -- Kind Regards / Met vriendelijke groet, Johan Barelds ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Juliet_Tree at cotyinc.com Tue Sep 13 02:00:50 2005 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Tue, 13 Sep 2005 01:00:50 +0100 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 12/09/2005 and will not return until 19/09/2005. I am away so please contact Paul Seal on 2261 for any urgent issues. Thankyou Thanks. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niceforums at yahoo.com Tue Sep 13 08:36:31 2005 From: niceforums at yahoo.com (hamideh daliri) Date: Mon, 12 Sep 2005 23:36:31 -0700 (PDT) Subject: nagios web interface work with enabled SELinux Message-ID: <20050913063632.53897.qmail@web30106.mail.mud.yahoo.com> if the SELinux is active and the enforcing mod is set the instructions below will solve the internal error of apache ... i have defined a new type for nagios ,named nagios_t , it should be defined in /etc/selinux/targeted/src/policy/types/file.te what should be written in this file is : type nagios_t,file_type,root_dir_type,sysadmfile; then add the lines below to /etc/selinux/targeted/src/policy/domains/program/apache.te : allow httpd_t nagios_t : dir { getattr search }; allow httpd_t nagios_t:file{getattr read execute\ execute_no_trans }; then you have to change the security label of nagios direstory and its contents : go to where the nagios is installed , on my box is /usr/local/ and run this command : chcon ?Rf -u root -r object_r -t nagios_t nagios/ then change the path to var/ subdirectory in nagios dir and run these commands : chcon ?Rf -u user_u -r object_r -t nagios_t status.sav chcon ?Rf -u user_u -r object_r -t nagios_t nagios.log now go to /etc/selinux/targeted/src/policy and run ' make reload ' or 'make load ' to compile the new policy and load it to load it to memory . it is ok on my box , hope it helps you too . my knowlege about SELinux isn't too much , so if you think there is any problem with what i did or it will cause any problem in future let me know, tnx . __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Sep 13 14:42:08 2005 From: m.borsani at it.net (Marco Borsani) Date: Tue, 13 Sep 2005 14:42:08 +0200 Subject: plugin 1.4 - check_ping Message-ID: Hi all ! I am testing plugin 1.4 on my HP-UX 11.0 and Nagios 2 system , but when I run check_ping command (release 1.45) a receive a "Memory fault(coredump)" #> ./check_ping -H IPADDRESS -w 100,10% -c 200,20% Same command using check_ping release 1.11 works fine. Do you know why? Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izotov at list.ru Tue Sep 13 15:25:04 2005 From: izotov at list.ru (Izotov Igor) Date: Tue, 13 Sep 2005 17:25:04 +0400 Subject: Question regarding geographically distributed monitoring Message-ID: Hello, everyone! I need to create the following monitoring process: A,B,C are monitoring servers, distributed all over the world, seeing each other. D is the monitored host. A is the "main" host, which sends notification. Notifications should be sent only in case when D is not responding to all of them (A && B && C). Can it be done by means of nagios? Thank you. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Tue Sep 13 15:03:46 2005 From: robmossrm at aol.com (Rob Moss) Date: Tue, 13 Sep 2005 14:03:46 +0100 Subject: plugin 1.4 - check_ping In-Reply-To: References: Message-ID: <4326CE32.1020005@aol.com> Marco Borsani wrote: >Hi all ! > >I am testing plugin 1.4 on my HP-UX 11.0 and Nagios 2 system , but when I >run check_ping command (release 1.45) a receive a "Memory fault(coredump)" >#> ./check_ping -H IPADDRESS -w 100,10% -c 200,20% > >Same command using check_ping release 1.11 works fine. > >Do you know why? > > This could be caused by any number of reasons.. 1. Did you compile nagios / nagios-plugins on this server (as opposed to compiling on some other server and copying the binaries over) 2. Run 'ldd /path/to/check_ping' and send back the output 3. Check if check_ping and/or /usr/bin/ping is setuid 4. Can you run /usr/bin/ping as the nagios user You could alternatively try the check_icmp program which runs the icmp ping itself, as opposed to the check_ping program which is a wrapper around /usr/bin/ping. check_icmp also takes exactly the same command arguments. Just remember that check_icmp needs to be setuid: chmod'ed to 4555 and ownership as root Cheers rob. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Sep 13 15:35:18 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 13 Sep 2005 15:35:18 +0200 Subject: Question regarding geographically distributed monitoring In-Reply-To: References: Message-ID: <4326D596.3090800@op5.se> Izotov Igor wrote: > Hello, everyone! > I need to create the following monitoring process: > A,B,C are monitoring servers, distributed all over the world, seeing each > other. > D is the monitored host. > A is the "main" host, which sends notification. > Notifications should be sent only in case when D is not responding to all of > them (A && B && C). > Can it be done by means of nagios? > I think so, provided they all send passive check-results to each other. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Sep 13 14:56:18 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 13 Sep 2005 14:56:18 +0200 Subject: plugin 1.4 - check_ping In-Reply-To: References: Message-ID: <4326CC72.5050201@op5.se> Marco Borsani wrote: > Hi all ! > > I am testing plugin 1.4 on my HP-UX 11.0 and Nagios 2 system , but when I > run check_ping command (release 1.45) a receive a "Memory fault(coredump)" > #> ./check_ping -H IPADDRESS -w 100,10% -c 200,20% > > Same command using check_ping release 1.11 works fine. > > Do you know why? > check_ping is sort of obsolete and not very well written. Try check_icmp instead. The latest version is at http://oss.op5.se/nagios and is known to compile cleanly under HP-UX. The plugin distro there also contains a check_ping which might work for you, although no guarantees are made. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izotov at list.ru Tue Sep 13 15:40:08 2005 From: izotov at list.ru (Izotov Igor) Date: Tue, 13 Sep 2005 17:40:08 +0400 Subject: Question regarding geographically distributed monitoring In-Reply-To: <4326D596.3090800@op5.se> References: <4326D596.3090800@op5.se> Message-ID: Yes, passive check results are ok, but I can't understand how to combine them. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Tuesday, September 13, 2005 5:35 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Question regarding geographically distributed monitoring Izotov Igor wrote: > Hello, everyone! > I need to create the following monitoring process: > A,B,C are monitoring servers, distributed all over the world, seeing each > other. > D is the monitored host. > A is the "main" host, which sends notification. > Notifications should be sent only in case when D is not responding to all of > them (A && B && C). > Can it be done by means of nagios? > I think so, provided they all send passive check-results to each other. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Sep 13 15:49:43 2005 From: m.borsani at it.net (Marco Borsani) Date: Tue, 13 Sep 2005 15:49:43 +0200 Subject: R: plugin 1.4 - check_ping In-Reply-To: <4326CE32.1020005@aol.com> References: <4326CE32.1020005@aol.com> Message-ID: 1) Yes , I compiled on same server (same steps of 1.3 plugins) 2) ldd /usr/local/nagios/libexec/check_ping /usr/lib/libc.2 => /usr/lib/libc.2 /usr/lib/libdld.2 => /usr/lib/libdld.2 /usr/lib/libc.2 => /usr/lib/libc.2 3) ok 4) Yes, I can run /usr/sbin/ping as nagios user Other ideas? Actually I can not use check_icmp due some internal rules; check_icmp has 755 persissions (not 4555) , but it is running correctly. Regards Marco Borsani -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Rob Moss -}Inviato: marted? 13 settembre 2005 15.04 -}Cc: NAGIOS -}Oggetto: Re: [Nagios-users] plugin 1.4 - check_ping -} -} -} -}Marco Borsani wrote: -} -}>Hi all ! -}> -}>I am testing plugin 1.4 on my HP-UX 11.0 and Nagios 2 system , but when I -}>run check_ping command (release 1.45) a receive a "Memory -}fault(coredump)" -}>#> ./check_ping -H IPADDRESS -w 100,10% -c 200,20% -}> -}>Same command using check_ping release 1.11 works fine. -}> -}>Do you know why? -}> -}> -} -}This could be caused by any number of reasons.. -} -}1. Did you compile nagios / nagios-plugins on this server (as opposed to -}compiling on some other server and copying the binaries over) -}2. Run 'ldd /path/to/check_ping' and send back the output -}3. Check if check_ping and/or /usr/bin/ping is setuid -}4. Can you run /usr/bin/ping as the nagios user -} -} -}You could alternatively try the check_icmp program which runs the icmp -}ping itself, as opposed to the check_ping program which is a wrapper -}around /usr/bin/ping. check_icmp also takes exactly the same command -}arguments. Just remember that check_icmp needs to be setuid: chmod'ed -}to 4555 and ownership as root -} -}Cheers -}rob. -} -} -} -}------------------------------------------------------- -}SF.Net email is Sponsored by the Better Software Conference & EXPO -}September 19-22, 2005 * San Francisco, CA * Development Lifecycle -}Practices -}Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA -}Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.steenbuck at lhsystems.com Tue Sep 13 15:56:12 2005 From: oliver.steenbuck at lhsystems.com (oliver.steenbuck at lhsystems.com) Date: Tue, 13 Sep 2005 15:56:12 +0200 Subject: AW: plugin 1.4 - check_ping Message-ID: <79BF0B53C4A28446A097D6170CF4C69955ED2F@xw2k3-hammbx-03.ads.dlh.de> What kind of internal rules do you mean ? Asfar as I can see check_icmp can not run when it is not setuid root as I would guess that it requires some low level access to networking stuff. -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Marco Borsani Gesendet am: Dienstag, 13. September 2005 15:50 An: Rob Moss Cc: NAGIOS Betreff: R: [Nagios-users] plugin 1.4 - check_ping 1) Yes , I compiled on same server (same steps of 1.3 plugins) 2) ldd /usr/local/nagios/libexec/check_ping /usr/lib/libc.2 => /usr/lib/libc.2 /usr/lib/libdld.2 => /usr/lib/libdld.2 /usr/lib/libc.2 => /usr/lib/libc.2 3) ok 4) Yes, I can run /usr/sbin/ping as nagios user Other ideas? Actually I can not use check_icmp due some internal rules; check_icmp has 755 persissions (not 4555) , but it is running correctly. Regards Marco Borsani -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Rob Moss -}Inviato: marted? 13 settembre 2005 15.04 -}Cc: NAGIOS -}Oggetto: Re: [Nagios-users] plugin 1.4 - check_ping -} -} -} -}Marco Borsani wrote: -} -}>Hi all ! -}> -}>I am testing plugin 1.4 on my HP-UX 11.0 and Nagios 2 system , but when I -}>run check_ping command (release 1.45) a receive a "Memory -}fault(coredump)" -}>#> ./check_ping -H IPADDRESS -w 100,10% -c 200,20% -}> -}>Same command using check_ping release 1.11 works fine. -}> -}>Do you know why? -}> -}> -} -}This could be caused by any number of reasons.. -} -}1. Did you compile nagios / nagios-plugins on this server (as opposed to -}compiling on some other server and copying the binaries over) -}2. Run 'ldd /path/to/check_ping' and send back the output -}3. Check if check_ping and/or /usr/bin/ping is setuid -}4. Can you run /usr/bin/ping as the nagios user -} -} -}You could alternatively try the check_icmp program which runs the icmp -}ping itself, as opposed to the check_ping program which is a wrapper -}around /usr/bin/ping. check_icmp also takes exactly the same command -}arguments. Just remember that check_icmp needs to be setuid: chmod'ed -}to 4555 and ownership as root -} -}Cheers -}rob. -} -} -} -}------------------------------------------------------- -}SF.Net email is Sponsored by the Better Software Conference & EXPO -}September 19-22, 2005 * San Francisco, CA * Development Lifecycle -}Practices -}Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA -}Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue Sep 13 16:00:28 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 13 Sep 2005 16:00:28 +0200 Subject: R: plugin 1.4 - check_ping In-Reply-To: References: Message-ID: <4326DB7C.9080206@op5.se> Marco Borsani wrote: > 1) Yes , I compiled on same server (same steps of 1.3 plugins) > > 2) ldd /usr/local/nagios/libexec/check_ping > /usr/lib/libc.2 => /usr/lib/libc.2 > /usr/lib/libdld.2 => /usr/lib/libdld.2 > /usr/lib/libc.2 => /usr/lib/libc.2 > > 3) ok > > 4) Yes, I can run /usr/sbin/ping as nagios user > > Other ideas? > Downgrade the plugin-package. nagios-plugins-1.3.1 seems by far the most portable and stable version of all the plugins. You could also try the check_ping in http://oss.op5.se/nagios/op5plugins-2005-09-22.tar.gz > Actually I can not use check_icmp due some internal rules; > check_icmp has 755 persissions (not 4555) , but it is running correctly. > Strange. You could set it to 4110 if that makes anybody any happier. The nagios user can be disabled from logging in, and that'd be a safer setup than allowing the ping binary to keep on being setuid root. If you take a look at the check_icmp code, you'll also notice that I take great pains of making sure everything is calculated properly, and that it drops privileges immediately after obtaining the socket. That is far more defensive than most regular ping implementations. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at lamp.xs4all.nl Tue Sep 13 16:05:30 2005 From: nagios at lamp.xs4all.nl (Lennard bakker) Date: Tue, 13 Sep 2005 16:05:30 +0200 Subject: Question regarding geographically distributed monitoring In-Reply-To: References: Message-ID: <4326DCAA.4060906@lamp.xs4all.nl> On host A make 3 checks. D'a (active checks) D'b (passive checks, feed by host B) D'c (passive checks, feed by host C) For all 3 no notifications will be send. Now create an check_cluster D with 3 hosts (D'a, D'b and D'c). This cluster check will send a notification when 3 out of 3 will fail. Lennard Izotov Igor wrote: > Yes, passive check results are ok, but I can't understand how to combine > them. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas > Ericsson > Sent: Tuesday, September 13, 2005 5:35 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Question regarding geographically distributed > monitoring > > Izotov Igor wrote: > >>Hello, everyone! >>I need to create the following monitoring process: >>A,B,C are monitoring servers, distributed all over the world, seeing each >>other. >>D is the monitored host. >>A is the "main" host, which sends notification. >>Notifications should be sent only in case when D is not responding to all > > of > >>them (A && B && C). >>Can it be done by means of nagios? >> > > > I think so, provided they all send passive check-results to each other. > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izotov at list.ru Tue Sep 13 16:15:31 2005 From: izotov at list.ru (Izotov Igor) Date: Tue, 13 Sep 2005 18:15:31 +0400 Subject: Question regarding geographically distributed monitoring In-Reply-To: <4326DCAA.4060906@lamp.xs4all.nl> References: <4326DCAA.4060906@lamp.xs4all.nl> Message-ID: Clumsy solution, but it will work. Thank you. And, perhaps anyone came across monitoring solutions that allow to do it in a direct way to solve the problem? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Lennard bakker Sent: Tuesday, September 13, 2005 6:06 PM To: Izotov Igor Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Question regarding geographically distributed monitoring On host A make 3 checks. D'a (active checks) D'b (passive checks, feed by host B) D'c (passive checks, feed by host C) For all 3 no notifications will be send. Now create an check_cluster D with 3 hosts (D'a, D'b and D'c). This cluster check will send a notification when 3 out of 3 will fail. Lennard Izotov Igor wrote: > Yes, passive check results are ok, but I can't understand how to combine > them. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas > Ericsson > Sent: Tuesday, September 13, 2005 5:35 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Question regarding geographically distributed > monitoring > > Izotov Igor wrote: > >>Hello, everyone! >>I need to create the following monitoring process: >>A,B,C are monitoring servers, distributed all over the world, seeing each >>other. >>D is the monitored host. >>A is the "main" host, which sends notification. >>Notifications should be sent only in case when D is not responding to all > > of > >>them (A && B && C). >>Can it be done by means of nagios? >> > > > I think so, provided they all send passive check-results to each other. > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at 2sheds.de Tue Sep 13 16:19:55 2005 From: andrew at 2sheds.de (Andrew Miehs) Date: Tue, 13 Sep 2005 16:19:55 +0200 Subject: Nagios_grapher Message-ID: Hi all, does anyone have v1.3 of Nagios_grapher running? For some reason, it seems only to be able to create the 'ping' graphs, and not the ones for load and users... Any ideas? Thanks Andrew ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From M_Mendez at Fairfax.ca Tue Sep 13 16:26:50 2005 From: M_Mendez at Fairfax.ca (Mendez, Marc) Date: Tue, 13 Sep 2005 10:26:50 -0400 Subject: No returned output from plugin Message-ID: <64BE348AEB2C2B43891F53ABA306975636C522@FFHTOREX01.ffhl.intr> When nagios executes the following command it produces a "no output returned from plugin". $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C snmp -n "serial1" -w 160,140 -c 175,165 -t 15 -rk The weird part is it works ok if I execute the plugin manually and although the status information displays not output nagios still reports correct status changes when they occur. Any ideas? Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From ton.voon at altinity.com Tue Sep 13 16:37:46 2005 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 13 Sep 2005 15:37:46 +0100 Subject: plugin 1.4 - check_ping In-Reply-To: References: Message-ID: <224FC35A-A467-40E6-8D5E-48297B0AF10A@altinity.com> On 13 Sep 2005, at 13:42, Marco Borsani wrote: > Hi all ! > > I am testing plugin 1.4 on my HP-UX 11.0 and Nagios 2 system , but > when I > run check_ping command (release 1.45) a receive a "Memory fault > (coredump)" > #> ./check_ping -H IPADDRESS -w 100,10% -c 200,20% > > Same command using check_ping release 1.11 works fine. > > Do you know why? Marco, I've run a ./configure of the 1.3.1 plugins and "no useable ping syntax" found. My guess is that you previously ran configure with -- with-ping-command specified on the command line. What ping command do you recommend using on HP/UX? I can add this into the configure to automatically find this for the upcoming 1.4.2 release. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and destroy this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Tue Sep 13 16:51:12 2005 From: m.borsani at it.net (Marco Borsani) Date: Tue, 13 Sep 2005 16:51:12 +0200 Subject: R: plugin 1.4 - check_ping In-Reply-To: References: Message-ID: Ton, I check both config.h (1.3.1 & 1.4) . I am not sure to understand yor question about "the command specified in config.h", but I can tell you than in both files I see same command #define PING_COMMAND "/usr/sbin/ping %s -n %d" Running check_ping -v -v -v (??) I see little differences : 1.3.1 check_ping : was not set Could not parse argumentsUsage: check_ping -H -w ,%% -c ,%% [-p packets] [-t timeout] [-L] check_ping (-h | --help) for detailed help check_ping (-V | --version) for version information 1.4 check_ping : was not set check_ping: Could not parse arguments Usage: check_ping -H -w ,% -c ,% [-p packets] [-t timeout] [-L] [-4|-6] Regards. Marco -}-----Messaggio originale----- -}Da: Ton Voon [mailto:tonvoon at mac.com] -}Inviato: martedi 13 settembre 2005 16.27 -}A: Marco Borsani -}Cc: NAGIOS -}Oggetto: Re: [Nagios-users] plugin 1.4 - check_ping -}Priorita: Alta -} -} -}Marco, -} -}I've just tried this on a HP testdrive server and I get a failure -}too. Looks like the ping command has not been picked up in the -}configure options. -} -}Can you try your 1.3.1 plugins and let me know what the command -}specified in config.h is? You may be able to do a check_ping -v -v -v -}to see the ping command used. -} -}Ton -} -}On 13 Sep 2005, at 13:42, Marco Borsani wrote: -} -}> Hi all ! -}> -}> I am testing plugin 1.4 on my HP-UX 11.0 and Nagios 2 system , but -}> when I -}> run check_ping command (release 1.45) a receive a "Memory fault -}> (coredump)" -}> #> ./check_ping -H IPADDRESS -w 100,10% -c 200,20% -}> -}> Same command using check_ping release 1.11 works fine. -}> -}> Do you know why? -}> -}> Regards -}> -}> Marco Borsani -}> Unix & Monitoring System Administrator -}> Technical Operation -}> Tel. +39 010 4310115 -}> Fax +39 010 4327454 -}> E-mail: m.borsani at IT.net -}> -}> ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni -}> S.p.A. -}> Internet Service Provider -}> Sede legale: Via C.G.Viola, 48 - 00148 Roma -}> Dir. Centrale e Amministrativa: Via Pacinotti, 39 -}> 16151 Genova (Italy) -}> -}> http://www.it.net -}> mailto:info at IT.net -}> _______________________________________________________________ -}> Altre sedi ITnet: -}> MILANO tel.: +39 02 30114900 info-milano at IT.net -}> ROMA tel.: +39 06 83116707 info-roma at IT.net -}> _______________________________________________________________ -}> ITnet is associated to CIX (Commercial IP eXchange) and RIPE -}> ITnet is associated to AIIP (Associazione Italiana Internet Providers) -}> -}> -}> -}> -}> ------------------------------------------------------- -}> SF.Net email is Sponsored by the Better Software Conference & EXPO -}> September 19-22, 2005 * San Francisco, CA * Development Lifecycle -}> Practices -}> Agile & Plan-Driven Development * Managing Projects & Teams * -}> Testing & QA -}> Security * Process Improvement & Measurement * http://www.sqe.com/ -}> bsce5sf -}> _______________________________________________ -}> Nagios-users mailing list -}> Nagios-users at lists.sourceforge.net -}> https://lists.sourceforge.net/lists/listinfo/nagios-users -}> ::: Please include Nagios version, plugin version (-v) and OS when -}> reporting any issue. -}> ::: Messages without supporting info will risk being sent to /dev/null -}> -}> -}> This message has been scanned for viruses by MailController - -}> www.MailController.altohiway.com -}> -} ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Sep 13 16:53:15 2005 From: m.borsani at it.net (Marco Borsani) Date: Tue, 13 Sep 2005 16:53:15 +0200 Subject: R: plugin 1.4 - check_ping In-Reply-To: <224FC35A-A467-40E6-8D5E-48297B0AF10A@altinity.com> References: <224FC35A-A467-40E6-8D5E-48297B0AF10A@altinity.com> Message-ID: I did not run configure with --with-ping-command specified on the command line... I just ran ./configure I have no problem with standard 1.3.1 check_ping plugin (that point to /usr/sbin/ping command .. like 1.4 check_ping plugin) Regards Marco -----Messaggio originale----- Da: Ton Voon [mailto:ton.voon at altinity.com] Inviato: martedi 13 settembre 2005 16.38 A: Marco Borsani Cc: NAGIOS Oggetto: Re: [Nagios-users] plugin 1.4 - check_ping Priorita: Alta On 13 Sep 2005, at 13:42, Marco Borsani wrote: Hi all ! I am testing plugin 1.4 on my HP-UX 11.0 and Nagios 2 system , but when I run check_ping command (release 1.45) a receive a "Memory fault(coredump)" #> ./check_ping -H IPADDRESS -w 100,10% -c 200,20% Same command using check_ping release 1.11 works fine. Do you know why? Marco, I've run a ./configure of the 1.3.1 plugins and "no useable ping syntax" found. My guess is that you previously ran configure with --with-ping-command specified on the command line. What ping command do you recommend using on HP/UX? I can add this into the configure to automatically find this for the upcoming 1.4.2 release. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and destroy this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From f1216 at yahoo.com Tue Sep 13 16:52:49 2005 From: f1216 at yahoo.com (Fred) Date: Tue, 13 Sep 2005 07:52:49 -0700 (PDT) Subject: No returned output from plugin In-Reply-To: <64BE348AEB2C2B43891F53ABA306975636C522@FFHTOREX01.ffhl.intr> References: <64BE348AEB2C2B43891F53ABA306975636C522@FFHTOREX01.ffhl.intr> Message-ID: <20050913145249.36422.qmail@web31908.mail.mud.yahoo.com> not sure how you are starting up nagios, but when I have these kinds of problems I start nagios by hand as user "nagios" (which is where mine runs) and then invoke the plug-in by rescheduling the check for right now via the web. Then watch the output from the demon going to stdout/stderr. You might also take the additional step of running strace -p"nagios-pid" -f -s512 in the background and redirecting its output so you can get an idea of what nagios is doing when it runs your plug-in. -FredC --- "Mendez, Marc" wrote: > When nagios executes the following command it produces a "no output > returned from plugin". > > > > $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C snmp -n "serial1" -w > 160,140 -c 175,165 -t 15 -rk > > > > The weird part is it works ok if I execute the plugin manually and > although the status information displays not output nagios still reports > correct status changes when they occur. > > > > Any ideas? > > > > Marc > > > > > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From losilla at unizar.es Tue Sep 13 19:05:39 2005 From: losilla at unizar.es (Guillermo Los=?ISO-8859-1?B?aWxsYSBBbmFk824=?=) Date: Tue, 13 Sep 2005 19:05:39 +0200 Subject: is Nagios what I need? Message-ID: <1126631139.432706e31ce09@webmail.unizar.es> Dear all, I work in a small institution belonging to a bigger organism which manages and monitors the overall network and connects it to the Internet. We suspect this organism is controlling/priorizing our network traffic since we have detected strange behaviours (non-simetric bandwidths, timeouts, slower bandwidh than expected...) when accesing from/to the Internet with different services/protocols. We are looking for a network monitoring tool which is able to confirm that some network traffic control mechanism is being performed between our gateway and the Internet. My question is simple: is Nagios that tool? Is there any plugin giving this functionality? If not, could you tell me which tool have the feature we look for? Thanks, Guillermo ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Tue Sep 13 19:10:09 2005 From: andrew at profitability.net (Andrew Cruse) Date: Tue, 13 Sep 2005 13:10:09 -0400 Subject: is Nagios what I need? In-Reply-To: <1126631139.432706e31ce09@webmail.unizar.es> References: <1126631139.432706e31ce09@webmail.unizar.es> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Dear all, > I work in a small institution belonging to a bigger > organism which manages and monitors the overall network and connects > it to the Internet. We suspect this organism is > controlling/priorizing our network traffic since we have detected > strange behaviours (non-simetric bandwidths, timeouts, slower > bandwidh than expected...) when accesing from/to the Internet with > different services/protocols. We are looking for a network > monitoring tool which is able to confirm that some network traffic > control mechanism is being performed between our gateway and the > Internet. My question is simple: is Nagios that tool? Is there any > plugin giving this functionality? If not, could you tell me which > tool have the feature we look for? Nagios probably isn't going to be what you're looking for. You'd do better having a look at PCHAR or TTCP. Andrew ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Tue Sep 13 19:56:33 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Tue, 13 Sep 2005 10:56:33 -0700 Subject: Nagios_grapher Message-ID: <59B15593F41BD24591D59436E7226EAD0279A229@Khiphx2.khimetrics.com> It only creates graphs for ping? Do you define ngraph's for your other service names? What is the ngraph statement for Load? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andrew Miehs > Sent: Tuesday, September 13, 2005 7:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios_grapher > > Hi all, > > does anyone have v1.3 of Nagios_grapher running? > > For some reason, it seems only to be able to create the 'ping' > graphs, and not the ones for load and users... > > Any ideas? > > Thanks > > Andrew > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dist-list at LEXUM.UMontreal.CA Tue Sep 13 23:01:20 2005 From: dist-list at LEXUM.UMontreal.CA (FM) Date: Tue, 13 Sep 2005 17:01:20 -0400 Subject: advice to check WAN connection Message-ID: <43273E20.2050904@lexum.umontreal.ca> Hello, I created : # 'check_internet' command definition define command{ command_name check_internet command_line $USER1$/check_http -H www.google.com define host{ use generic-srv ; Name of host template to use host_name Internet connection address 64.233.167.99 check_command check_internet max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups administrators } now I want that the statusmap looks like : nagios --FIREWALL -- SERVEUR | Internet Connection nagios--Firewall--serveur is already configured Thanks !!! ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Sep 13 23:40:03 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 13 Sep 2005 17:40:03 -0400 (EDT) Subject: advice to check WAN connection In-Reply-To: <43273E20.2050904@lexum.umontreal.ca> References: <43273E20.2050904@lexum.umontreal.ca> Message-ID: On Tue, 13 Sep 2005, FM wrote: > Hello, > I created : > # 'check_internet' command definition > define command{ > command_name check_internet > command_line $USER1$/check_http -H www.google.com > > define host{ > use generic-srv ; Name of host template to use > > host_name Internet connection > address 64.233.167.99 > check_command check_internet > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > contact_groups administrators > } > > > now I want that the statusmap looks like : > > nagios --FIREWALL -- SERVEUR > | > Internet Connection > > nagios--Firewall--serveur is already configured > > > Thanks !!! > Don't use google.com - it is not net friendly Check the interface of your upstream router. The above check also depends on your local dns resolver succeeding. -- -sg ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misc at viceconsulting.co.nz Tue Sep 13 23:39:30 2005 From: misc at viceconsulting.co.nz (misc at viceconsulting.co.nz) Date: Wed, 14 Sep 2005 09:39:30 +1200 (NZST) Subject: Nagios spawning rogue nagios processes - UPDATE Message-ID: <54111.127.0.0.1.1126647570.squirrel@www.goldenfields.co.nz> I posted a message a few days ago regarding Nagios spawning multiple rogue nagios processes eventually crashing the Nagios server. Basically it seems if Nagios can not process performance data fast enough it will keep spawning more and more nagios processes eventually crashing. It also seems Nagios can only invoke one perfdata-processing script at a time, and must wait for the first one to finish before the second one can start. I had Nagios invoking this dummy Perl script using the service_perfdata_command directive: #perl script sleep 30; This causes Nagios to go into a spin invoking more and more Nagios processes and eventually crashing the server. Memory and swap get chewed to 0. I solved the problem in this case by switching to using file-based perfdata via the following directives: service_perfdata_file_processing_command service_perfdata_file service_perfdata_file_processing_interval=30 Now the Nagios server is running a lot better (CPU was at 100% all the time, now its about 20%). If you are doing perfdata processing and you have more than a couple of hundred services consider switching to a file-based perfdata. Nonetheless I don't believe Nagios should behave as mentioned above irrespective of how you configure your perfdata processing. Cheers Alex ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Tue Sep 13 23:54:02 2005 From: pla at softflare.com (Paul L. Allen) Date: Tue, 13 Sep 2005 22:54:02 +0100 Subject: Question regarding geographically distributed monitoring In-Reply-To: References: Message-ID: <20050913215402.8905.qmail@mullet.softflare.net> Izotov Igor writes: > Clumsy solution, but it will work. Thank you. > And, perhaps anyone came across monitoring solutions that allow to do > it in a direct way to solve the problem? Given what he's doing, passive monitoring is a good idea to get around scalability problems anyway. But with passive monitoring he has the added advantage that if any of the passive monitors submit a good check result then his master nagios will say things are working correctly. Only if NONE of the slave monitors submit a passive check result of OK and he doesn't have staleness checking will things go wrong. For the pedants, if one of the remote monitors says things are good and another says things are bad then you're going to see flapping. There IS a problem but it's not where Nagios says it is. If you want perfect results then you'll have to hire many perfect human beings to monitor each server. If you want "something, somewhere is borked, and perhaps you'll need somebody smarter than the average point-and-click monkey to figure out where" then Nagios is adequate. If you want perfection then bge prepared to pay the cost. -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Sep 14 00:42:43 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 13 Sep 2005 18:42:43 -0400 (EDT) Subject: Question regarding geographically distributed monitoring In-Reply-To: <20050913215402.8905.qmail@mullet.softflare.net> References: <20050913215402.8905.qmail@mullet.softflare.net> Message-ID: >If you want "something, somewhere is borked, and perhaps > you'll need somebody smarter than the average point-and-click monkey > to figure out where" then Nagios is adequate. I think this is a keeper :) -- -sg ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From potus98 at yahoo.com Wed Sep 14 02:27:23 2005 From: potus98 at yahoo.com (John Christian) Date: Tue, 13 Sep 2005 17:27:23 -0700 (PDT) Subject: perfparse doesn't display hosts, services Message-ID: <20050914002723.90283.qmail@web54706.mail.yahoo.com> Hi Gurus, I'm trying to integrate PerfParse with Nagios. When I access the PerfData Graphs page, I get the PerfParse logo, but no hosts or services are listed. I read that these fields should be auto-populated if the performance data is being delivered correctly. As a result, I suspect the performance data is not making it all the way to PerfParse. Nagios is logging performance data when I point it to a file. But when I connect Nagios to PerfParse via a pipe, I don't know how to check that the performance data is going into the pipe or arriving in the MySQL database. How do I "look" at the pipe? Or view the contents of the 'perfparse' database in MySQL? Any suggestions on what may be broken or how to continue diagnosing the problem? TIA! -John Additional Info: Nagios 2.04b PerfParse v0.105.6 SunOS 5.9 Generic_112233-12 Sun-Fire-880 It seems PerfParse can connect to the MySQL database: /usr/local/nagios/bin/check_perfparse_version OK Perfparse Database Version Correct: 0.19. | pp_ver=0.19 true_ver=0.19 I start perfparsed first and it creates a pipe in /usr/local/nagios/var: prw-r----- 1 root other 0 Sep 13 12:08 perfdata-service.log ...Then I start nagios and it seems to run fine, perform checks, and provide the normal web interface. Relevent entries from nagios.cfg: cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg nagios_user=nagios nagios_group=nagios perfdata_timeout=5 process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata service_perfdata_file=/usr/local/nagios/var/perfdata-service.log host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$ service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ #host_perfdata_file_mode=a #service_perfdata_file_mode=a #host_perfdata_file_processing_interval=0 #service_perfdata_file_processing_interval=0 #host_perfdata_file_processing_command=process-host-perfdata-file #service_perfdata_file_processing_command=process-service-perfdata-file Relevent entries from nagios_perfparse.cfg: define command{ command_name process-service-perfdata command_line /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" "$OUTPUT$" "$SERVICESTATE$" "$PERFDATA$" } define command{ command_name process-host-perfdata command_line /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl "$TIMET$" "$HOSTNAME$" "$OUTPUT$" "$PERFDATA$" } Relevent entries from perfparse.cfg: Service_Log = "|/usr/local/nagios/var/perfdata-service.log" Host_Log = "|/usr/local/nagios/var/perfdata-host.log" Storage_Modules_Load = "mysql" __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From potus98 at yahoo.com Wed Sep 14 02:51:22 2005 From: potus98 at yahoo.com (John Christian) Date: Tue, 13 Sep 2005 17:51:22 -0700 (PDT) Subject: perfparse doesn't display hosts, services - UPDATE In-Reply-To: <20050914002723.90283.qmail@web54706.mail.yahoo.com> References: <20050914002723.90283.qmail@web54706.mail.yahoo.com> Message-ID: <20050914005122.89362.qmail@web54702.mail.yahoo.com> Oops. I should also have included this handy message from nagios.log: [1126658872] Nagios 2.0b4 starting... (PID=28393) [1126658872] LOG VERSION: 2.0 [1126658872] Finished daemonizing... (New PID=28394) [1126658872] Warning: File '/usr/local/nagios/var/perfdata-service.log' could not be opened - service performance data will not be written to file! --- John Christian wrote: > Hi Gurus, > > I'm trying to integrate PerfParse with Nagios. When > I > access the PerfData Graphs page, I get the PerfParse > logo, but no hosts or services are listed. I read > that > these fields should be auto-populated if the > performance data is being delivered correctly. As a > result, I suspect the performance data is not making > it all the way to PerfParse. > > Nagios is logging performance data when I point it > to > a file. But when I connect Nagios to PerfParse via a > pipe, I don't know how to check that the performance > data is going into the pipe or arriving in the MySQL > database. How do I "look" at the pipe? Or view the > contents of the 'perfparse' database in MySQL? > > Any suggestions on what may be broken or how to > continue diagnosing the problem? TIA! -John > > Additional Info: > > Nagios 2.04b > PerfParse v0.105.6 > SunOS 5.9 Generic_112233-12 Sun-Fire-880 > > It seems PerfParse can connect to the MySQL > database: > /usr/local/nagios/bin/check_perfparse_version > OK Perfparse Database Version Correct: 0.19. | > pp_ver=0.19 true_ver=0.19 > > I start perfparsed first and it creates a pipe in > /usr/local/nagios/var: > prw-r----- 1 root other 0 Sep 13 > 12:08 > perfdata-service.log > ...Then I start nagios and it seems to run fine, > perform checks, and provide the normal web > interface. > > > Relevent entries from nagios.cfg: > > cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg > nagios_user=nagios > nagios_group=nagios > perfdata_timeout=5 > process_performance_data=1 > host_perfdata_command=process-host-perfdata > service_perfdata_command=process-service-perfdata > service_perfdata_file=/usr/local/nagios/var/perfdata-service.log > host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$ > service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ > #host_perfdata_file_mode=a > #service_perfdata_file_mode=a > #host_perfdata_file_processing_interval=0 > #service_perfdata_file_processing_interval=0 > #host_perfdata_file_processing_command=process-host-perfdata-file > #service_perfdata_file_processing_command=process-service-perfdata-file > > > Relevent entries from nagios_perfparse.cfg: > > define command{ > command_name process-service-perfdata > command_line > /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl > "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" "$OUTPUT$" > "$SERVICESTATE$" "$PERFDATA$" > } > > define command{ > command_name process-host-perfdata > command_line > /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl > "$TIMET$" "$HOSTNAME$" "$OUTPUT$" "$PERFDATA$" > } > > > Relevent entries from perfparse.cfg: > > Service_Log = > "|/usr/local/nagios/var/perfdata-service.log" > Host_Log = > "|/usr/local/nagios/var/perfdata-host.log" > Storage_Modules_Load = "mysql" > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charskall at gmail.com Wed Sep 14 02:35:45 2005 From: charskall at gmail.com (Char Skall) Date: Tue, 13 Sep 2005 20:35:45 -0400 Subject: odd permission problem Message-ID: <5506e8e405091317356adba7ef@mail.gmail.com> I have Nagios running fine. All of my orginal settings work fine and everything is being checked like i want. I can make adjustments to services.cfg and other cfg files and restart nagios without issue. Until I added a new host. I created thenew host and added it to the appropriate host group. The new host appears perfectly in the scheduling que and even shows its status as "ok". The problem is it will not appear in host group overview and when I click on it I get the "It appears as though you do not have permission to view information for this host...". I am logging in as the only user thats been entered "nagiosadmin" and have set that user for all of the access permissions in cgi.cfg . I also made sure the nagiosadmin is listed as the contact for all host groups. I can access everything else without problems just this one newly added host. -------------- next part -------------- An HTML attachment was scrubbed... URL: From drew at gothambus.com Wed Sep 14 05:08:12 2005 From: drew at gothambus.com (Drew Linsalata) Date: Tue, 13 Sep 2005 23:08:12 -0400 Subject: Compile problem - 2.0b4 on FreeBSD 5.1 Message-ID: <4327941C.4070601@gothambus.com> After a pretty simple "configure" run, we're running into compile issues with 2.0b4 on a FreeBSD 5.1 box. A "make all" results in: sky1# make all cd ./base && make gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c In file included from ../include/config.h:114, from broker.c:26: /usr/include/sys/resource.h:61: field `ru_utime' has incomplete type /usr/include/sys/resource.h:62: field `ru_stime' has incomplete type /usr/include/sys/resource.h:79: confused by earlier errors, bailing out *** Error code 1 Stop in /usr/local/src/nagios-2.0b4/base. *** Error code 1 Stop in /usr/local/src/nagios-2.0b4. We don't have the GD/PNG/JPEG stuff on that box yet, but I dont see where that would cause compile errors. Has anyone seen this before? -- Drew Linsalata The Gotham Bus Company, Inc. Dedicated Servers and Colocation Solutions Long Island, New York http://www.gothambus.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Wed Sep 14 07:39:08 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Wed, 14 Sep 2005 06:39:08 +0100 (BST) Subject: No notifications in "nagios.log" , In-Reply-To: <432684DA.70606@lamp.xs4all.nl> References: <432684DA.70606@lamp.xs4all.nl> Message-ID: <20050914053908.54136.qmail@web40824.mail.yahoo.com> Hi Thanks to all the members who had given we advice , I also got help from http://meulie.net/forum_viewtopic.php?21.3339 I had to enable notification , which I did from nagios interface [ Previously I was trying out with oreon ] and I do not know what was the reason for not working that time please check the link http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#retention_notes Thanks Joseph John --- Lennard Bakker wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > John Joseph wrote: > > Hi > > When I was trouble shooting for the not > receiving > > email -notification , I found that my > > ? usr/local/nagios/var/nagios.log? do not have > any > > notification in it , while it has other details > such > > as history , status , trends > > > I think if I am able to find out the > reason > > , why there is no info of notification in > nagios.log , > > I can solve my mail problem > > Did you find what the problem was. I have the same > problem here. It > looks like Nagios isn't trying to send > notifications. Non will appear in > the log file of nagios. As of nagios doesn't need > to send a message. > > All messages are enabled, all time stamps are 24x7.. > > Lennard > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.0 (MingW32) > Comment: Using GnuPG with Thunderbird - > http://enigmail.mozdev.org > > iD8DBQFDJoTaB3IFhTJpAVkRAqcLAJ4kZj9nTMV2Pqtx9qkT9unpXzaPFwCg7SvO > bzVCOT5lZX6zWi7e2tvQwRw= > =3L0N > -----END PGP SIGNATURE----- > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohamed.azizi at belgacom.be Wed Sep 14 09:39:29 2005 From: mohamed.azizi at belgacom.be (mohamed.azizi at belgacom.be) Date: Wed, 14 Sep 2005 09:39:29 +0200 Subject: NRPE: unable to read output Message-ID: <5F3043372274524C967EB597009D2A0E022F0549@AE0008.BGC.NET> Dear friend , I have in Nagios for some checks with the following error :NRPE unable to read output How can I solve this problem Thanks Mohamed **** DISCLAIMER **** http://www.belgacom.be/maildisclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: From elizar.palad at gmail.com Wed Sep 14 10:36:04 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Wed, 14 Sep 2005 16:36:04 +0800 Subject: problem with check_disk_remote (solaris plugin) Message-ID: Hi everyone! Why is it that when i run the plugin manually, ie, commanline, the scripts executes without a problem.. example # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100 /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100 But when i do this in my command.cfg file: define command{ command_name check_remote_disk command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 } (yes, i know that's the macro thing.. :) its not working also, i put it like that to simulate manual execution) the logs says: [1126686654] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;1;(No output returned from plugin) [1126686714] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;2;(No output returned from plugin) Thanks! -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elizar.palad at gmail.com Wed Sep 14 10:40:49 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Wed, 14 Sep 2005 16:40:49 +0800 Subject: problem with check_disk_remote (solaris plugin) In-Reply-To: <79BF0B53C4A28446A097D6170CF4C69955ED3B@xw2k3-hammbx-03.ads.dlh.de> References: <79BF0B53C4A28446A097D6170CF4C69955ED3B@xw2k3-hammbx-03.ads.dlh.de> Message-ID: yes actually, no. I am root in the commandline.. ? On 9/14/05, oliver.steenbuck at lhsystems.com wrote: > > maybe your try from the commandline was not as the nagios user ? > > -----Urspr?ngliche Nachricht----- > *Von:* nagios-users-admin at lists.sourceforge.net [mailto: > nagios-users-admin at lists.sourceforge.net]*Im Auftrag von* Elizar M. Palad > *Gesendet am:* Mittwoch, 14. September 2005 10:36 > *An:* nagios-users at lists.sourceforge.net > *Betreff:* [Nagios-users] problem with check_disk_remote (solaris plugin) > Hi everyone! > Why is it that when i run the plugin manually, ie, commanline, > the scripts executes without a problem.. example > # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 > OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100 > /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100 > But when i do this in my command.cfg file: > define command{ > command_name check_remote_disk > command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 > } > (yes, i know that's the macro thing.. :) its not working also, i put it > like > that to simulate manual execution) > the logs says: > [1126686654] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;1;(No > output returned from plugin) > [1126686714] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;2;(No > output returned from plugin) > Thanks! > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From oliver.steenbuck at lhsystems.com Wed Sep 14 10:39:52 2005 From: oliver.steenbuck at lhsystems.com (oliver.steenbuck at lhsystems.com) Date: Wed, 14 Sep 2005 10:39:52 +0200 Subject: AW: problem with check_disk_remote (solaris plugin) Message-ID: <79BF0B53C4A28446A097D6170CF4C69955ED3B@xw2k3-hammbx-03.ads.dlh.de> maybe your try from the commandline was not as the nagios user ? -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Elizar M. Palad Gesendet am: Mittwoch, 14. September 2005 10:36 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] problem with check_disk_remote (solaris plugin) Hi everyone! Why is it that when i run the plugin manually, ie, commanline, the scripts executes without a problem.. example # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100 /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100 But when i do this in my command.cfg file: define command{ command_name check_remote_disk command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 } (yes, i know that's the macro thing.. :) its not working also, i put it like that to simulate manual execution) the logs says: [1126686654] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;1;(No output returned from plugin) [1126686714] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;2;(No output returned from plugin) Thanks! -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From oliver.steenbuck at lhsystems.com Wed Sep 14 10:44:17 2005 From: oliver.steenbuck at lhsystems.com (oliver.steenbuck at lhsystems.com) Date: Wed, 14 Sep 2005 10:44:17 +0200 Subject: AW: problem with check_disk_remote (solaris plugin) Message-ID: <79BF0B53C4A28446A097D6170CF4C69955ED3C@xw2k3-hammbx-03.ads.dlh.de> is the plugin also working if you are nagios and start it from the commandline ? -----Urspr?ngliche Nachricht----- Von: Elizar M. Palad [mailto:elizar.palad at gmail.com] Gesendet am: Mittwoch, 14. September 2005 10:41 An: STEENBUCK, OLIVER Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] problem with check_disk_remote (solaris plugin) yes actually, no. I am root in the commandline.. ? On 9/14/05, oliver.steenbuck at lhsystems.com < oliver.steenbuck at lhsystems.com > wrote: maybe your try from the commandline was not as the nagios user ? -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto: nagios-users-admin at lists.sourceforge.net ]Im Auftrag von Elizar M. Palad Gesendet am: Mittwoch, 14. September 2005 10:36 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] problem with check_disk_remote (solaris plugin) Hi everyone! Why is it that when i run the plugin manually, ie, commanline, the scripts executes without a problem.. example # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100 /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100 But when i do this in my command.cfg file: define command{ command_name check_remote_disk command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 } (yes, i know that's the macro thing.. :) its not working also, i put it like that to simulate manual execution) the logs says: [1126686654] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;1;(No output returned from plugin) [1126686714] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;2;(No output returned from plugin) Thanks! -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elizar.palad at gmail.com Wed Sep 14 10:46:47 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Wed, 14 Sep 2005 16:46:47 +0800 Subject: problem with check_disk_remote (solaris plugin) In-Reply-To: <79BF0B53C4A28446A097D6170CF4C69955ED3C@xw2k3-hammbx-03.ads.dlh.de> References: <79BF0B53C4A28446A097D6170CF4C69955ED3C@xw2k3-hammbx-03.ads.dlh.de> Message-ID: its not working! checked the ownhership/permission of the file, both ok nagios 755 but when executed by nagios user, i got: $ ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 20 -c 30 permission denied permission denied Use of uninitialized value in concatenation (.) or string at ../libexec/check_disk_remote line 119. | checking the file now.. but any inputs are welcome.. thanks! On 9/14/05, oliver.steenbuck at lhsystems.com wrote: > > is the plugin also working if you are nagios and start it from the > commandline ? > > -----Urspr?ngliche Nachricht----- > *Von:* Elizar M. Palad [mailto:elizar.palad at gmail.com] > *Gesendet am:* Mittwoch, 14. September 2005 10:41 > *An:* STEENBUCK, OLIVER > *Cc:* nagios-users at lists.sourceforge.net > *Betreff:* Re: [Nagios-users] problem with check_disk_remote (solaris > plugin) > yes actually, no. I am root in the commandline.. > ? > > > On 9/14/05, oliver.steenbuck at lhsystems.com > wrote: > > > > maybe your try from the commandline was not as the nagios user ? > > > > -----Urspr?ngliche Nachricht----- > > *Von:* nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net > > ]*Im Auftrag von* Elizar M. Palad > > *Gesendet am:* Mittwoch, 14. September 2005 10:36 > > *An:* nagios-users at lists.sourceforge.net > > *Betreff:* [Nagios-users] problem with check_disk_remote (solaris > > plugin) > > Hi everyone! > > Why is it that when i run the plugin manually, ie, commanline, > > the scripts executes without a problem.. example > > # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 > > OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100 > > /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100 > > But when i do this in my command.cfg file: > > define command{ > > command_name check_remote_disk > > command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 > > } > > (yes, i know that's the macro thing.. :) its not working also, i put it > > like > > that to simulate manual execution) > > the logs says: > > [1126686654] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;1;(No > > output returned from plugin) > > [1126686714] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;2;(No > > output returned from plugin) > > Thanks! > > > > -- > > ---- > > Don't Tell Me How Hard You Work.. > > Show Me How Much You'd Accomplished.. > > > > > > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.gliebe at fhv.at Wed Sep 14 10:53:05 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 14 Sep 2005 10:53:05 +0200 Subject: Monitoring temperature Message-ID: <1126687986.841.16.camel@glr-nb.dh.uclv.net> Hi, I'm looking for a Plugin (check_*) to monitor the temperatures from our Cisco switches and routers via snmp. We are running Nagios 2.0b3 on FreeBSD 5.4-STABLE. thanks in advance. Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services Hochschulstra?e 1, A-6850 Dornbirn Telefon ++43 / (0)5572 / 20336-2207 E-Mail: richard.gliebe at fhv.at ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.steenbuck at lhsystems.com Wed Sep 14 10:56:56 2005 From: oliver.steenbuck at lhsystems.com (oliver.steenbuck at lhsystems.com) Date: Wed, 14 Sep 2005 10:56:56 +0200 Subject: AW: problem with check_disk_remote (solaris plugin) Message-ID: <79BF0B53C4A28446A097D6170CF4C69955ED3D@xw2k3-hammbx-03.ads.dlh.de> quick googling turned showed taht some other persons who eported your proble had errors in their authentification process. Have you checked your rsh configuration ? -----Urspr?ngliche Nachricht----- Von: Elizar M. Palad [mailto:elizar.palad at gmail.com] Gesendet am: Mittwoch, 14. September 2005 10:47 An: STEENBUCK, OLIVER Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] problem with check_disk_remote (solaris plugin) its not working! checked the ownhership/permission of the file, both ok nagios 755 but when executed by nagios user, i got: $ ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 20 -c 30 permission denied permission denied Use of uninitialized value in concatenation (.) or string at ../libexec/check_disk_remote line 119. | checking the file now.. but any inputs are welcome.. thanks! On 9/14/05, oliver.steenbuck at lhsystems.com < oliver.steenbuck at lhsystems.com > wrote: is the plugin also working if you are nagios and start it from the commandline ? -----Urspr?ngliche Nachricht----- Von: Elizar M. Palad [mailto: elizar.palad at gmail.com] Gesendet am: Mittwoch, 14. September 2005 10:41 An: STEENBUCK, OLIVER Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] problem with check_disk_remote (solaris plugin) yes actually, no. I am root in the commandline.. ? On 9/14/05, oliver.steenbuck at lhsystems.com < oliver.steenbuck at lhsystems.com > wrote: maybe your try from the commandline was not as the nagios user ? -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto: nagios-users-admin at lists.sourceforge.net ]Im Auftrag von Elizar M. Palad Gesendet am: Mittwoch, 14. September 2005 10:36 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] problem with check_disk_remote (solaris plugin) Hi everyone! Why is it that when i run the plugin manually, ie, commanline, the scripts executes without a problem.. example # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100 /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100 But when i do this in my command.cfg file: define command{ command_name check_remote_disk command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 } (yes, i know that's the macro thing.. :) its not working also, i put it like that to simulate manual execution) the logs says: [1126686654] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;1;(No output returned from plugin) [1126686714] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;2;(No output returned from plugin) Thanks! -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmossrm at aol.com Wed Sep 14 10:59:56 2005 From: robmossrm at aol.com (Rob Moss) Date: Wed, 14 Sep 2005 09:59:56 +0100 Subject: NRPE: unable to read output In-Reply-To: <5F3043372274524C967EB597009D2A0E022F0549@AE0008.BGC.NET> References: <5F3043372274524C967EB597009D2A0E022F0549@AE0008.BGC.NET> Message-ID: <4327E68C.2030904@aol.com> mohamed.azizi at belgacom.be wrote: > > Dear friend , > > I have in Nagios for some checks with the following error :NRPE > unable to read output > How can I solve this problem > > Thanks > > Mohamed > You could start by giving us some information about your setup.. O/S, Nagios version, NRPE version, location of NRPE on the client system etc. Double check the settings in your nrpe.cfg file to ensure that the paths to the check executables are in the right location, say /usr/local/nagios/libexec/check_* etc. rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From misch at multinet.de Wed Sep 14 11:06:54 2005 From: misch at multinet.de (Michael Schwartzkopff) Date: Wed, 14 Sep 2005 11:06:54 +0200 Subject: Monitoring temperature In-Reply-To: <1126687986.841.16.camel@glr-nb.dh.uclv.net> References: <1126687986.841.16.camel@glr-nb.dh.uclv.net> Message-ID: <200509141106.57078.misch@multinet.de> Am Mittwoch, 14. September 2005 10:53 schrieb Richard Gliebe: > Hi, > > I'm looking for a Plugin (check_*) to monitor the temperatures from our > Cisco switches and routers via snmp. > > We are running Nagios 2.0b3 on FreeBSD 5.4-STABLE. > > thanks in advance. > > Richard Hi, SNMP does it! Look into the CISCO chassis MIBs. A good point to search is www.mibdepot.org. From nagios you can access these values with check_snmp. For me it works great! -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From savage at savage.za.org Wed Sep 14 11:26:08 2005 From: savage at savage.za.org (Chris Knipe) Date: Wed, 14 Sep 2005 11:26:08 +0200 Subject: notification issues Message-ID: <029601c5b90e$5826b6a0$0a02a8c0@MEGADROID> Hi, I monitor arround 500 services via NRPE2. Up to now, nevermind what I do, Nagios sends a notification everytime NRPE's OUTPUT changes, and not when then STATE changes.... Can anyone please give me some pointers as to what could be causing this???? Thanks, Chris. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zhecka at metropol.ru Wed Sep 14 11:28:52 2005 From: zhecka at metropol.ru (Kaltashkin Eugene) Date: Wed, 14 Sep 2005 13:28:52 +0400 Subject: Monitoring temperature Message-ID: <391170E1931DAC4495B21D8069FFFE36505BDA@MX.metropol.ru> www.mibdepot.org link is broken -- Best Regards Kaltashkin Eugene ZHECKA-RIPN > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Michael Schwartzkopff > Sent: Wednesday, September 14, 2005 1:07 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring temperature > > Am Mittwoch, 14. September 2005 10:53 schrieb Richard Gliebe: > > Hi, > > > > I'm looking for a Plugin (check_*) to monitor the > temperatures from our > > Cisco switches and routers via snmp. > > > > We are running Nagios 2.0b3 on FreeBSD 5.4-STABLE. > > > > thanks in advance. > > > > Richard > > Hi, > > SNMP does it! > > Look into the CISCO chassis MIBs. A good point to search is > www.mibdepot.org. > From nagios you can access these values with check_snmp. For > me it works > great! > > -- > Dr. Michael Schwartzkopff > MultiNET Services GmbH > Bretonischer Ring 7 > 85630 Grasbrunn > > Tel: (+49 89) 456 911 - 0 > Fax: (+49 89) 456 911 - 21 > mob: (+49 174) 343 28 75 > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > Skype: misch42 > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gliebe at fhv.at Wed Sep 14 11:37:12 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 14 Sep 2005 11:37:12 +0200 Subject: Monitoring temperature In-Reply-To: <200509141106.57078.misch@multinet.de> References: <1126687986.841.16.camel@glr-nb.dh.uclv.net> <200509141106.57078.misch@multinet.de> Message-ID: <1126690632.841.20.camel@glr-nb.dh.uclv.net> On Wed, 2005-09-14 at 11:06 +0200, Michael Schwartzkopff wrote: Hi, > Am Mittwoch, 14. September 2005 10:53 schrieb Richard Gliebe: > > Hi, > > > > I'm looking for a Plugin (check_*) to monitor the temperatures from our > > Cisco switches and routers via snmp. > > > > We are running Nagios 2.0b3 on FreeBSD 5.4-STABLE. > > > > thanks in advance. > > > > Richard > > Hi, > > SNMP does it! > > Look into the CISCO chassis MIBs. A good point to search is www.mibdepot.org. > From nagios you can access these values with check_snmp. For me it works > great! thanks for the answer, but the link http://www.mibdepot.org is broken. But http://www.mibdepot.com works. Do you have an example for me, because I'm really new to snmp and MIBs. Thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services Hochschulstra?e 1, A-6850 Dornbirn Telefon ++43 / (0)5572 / 20336-2207 E-Mail: richard.gliebe at fhv.at ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Wed Sep 14 11:14:16 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Wed, 14 Sep 2005 17:14:16 +0800 Subject: problem with check_disk_remote (solaris plugin) In-Reply-To: <79BF0B53C4A28446A097D6170CF4C69955ED3D@xw2k3-hammbx-03.ads.dlh.de> References: <79BF0B53C4A28446A097D6170CF4C69955ED3D@xw2k3-hammbx-03.ads.dlh.de> Message-ID: Thanks for the idea! I think i got right.. my root acct never prompts for passwd when doing rlogin/rsh (.rhosts) what i did was, created the nagios user on the remote pc and touched .rhosts in its home directory, putting the nagios server in it. i think that did it.. :) will continue testing.. ill be back here soon! Thanks plenty! regards. elizar.palad www.razile.com On 9/14/05, oliver.steenbuck at lhsystems.com wrote: > > quick googling turned showed taht some other persons who eported your > proble had errors in their authentification process. Have you checked your > rsh configuration ? > > -----Urspr?ngliche Nachricht----- > *Von:* Elizar M. Palad [mailto:elizar.palad at gmail.com] > *Gesendet am:* Mittwoch, 14. September 2005 10:47 > *An:* STEENBUCK, OLIVER > *Cc:* nagios-users at lists.sourceforge.net > *Betreff:* Re: [Nagios-users] problem with check_disk_remote (solaris > plugin) > its not working! checked the ownhership/permission of the file, both ok > nagios 755 > but when executed by nagios user, i got: > $ ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 20 -c 30 > permission denied > permission denied > Use of uninitialized value in concatenation (.) or string at > ../libexec/check_disk_remote line 119. > | > checking the file now.. but any inputs are welcome.. > thanks! > > > On 9/14/05, oliver.steenbuck at lhsystems.com > wrote: > > > > is the plugin also working if you are nagios and start it from the > > commandline ? > > > > -----Urspr?ngliche Nachricht----- > > *Von:* Elizar M. Palad [mailto: elizar.palad at gmail.com] > > *Gesendet am:* Mittwoch, 14. September 2005 10:41 > > *An:* STEENBUCK, OLIVER > > *Cc:* nagios-users at lists.sourceforge.net > > *Betreff:* Re: [Nagios-users] problem with check_disk_remote (solaris > > plugin) > > yes actually, no. I am root in the commandline.. > > ? > > > > > > On 9/14/05, oliver.steenbuck at lhsystems.com > > wrote: > > > > > > maybe your try from the commandline was not as the nagios user ? > > > > > > -----Urspr?ngliche Nachricht----- > > > *Von:* nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net > > > ]*Im Auftrag von* Elizar M. Palad > > > *Gesendet am:* Mittwoch, 14. September 2005 10:36 > > > *An:* nagios-users at lists.sourceforge.net > > > *Betreff:* [Nagios-users] problem with check_disk_remote (solaris > > > plugin) > > > Hi everyone! > > > Why is it that when i run the plugin manually, ie, commanline, > > > the scripts executes without a problem.. example > > > # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 > > > OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100 > > > /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100 > > > But when i do this in my command.cfg file: > > > define command{ > > > command_name check_remote_disk > > > command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 > > > } > > > (yes, i know that's the macro thing.. :) its not working also, i put > > > it like > > > that to simulate manual execution) > > > the logs says: > > > [1126686654] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;1;(No > > > output returned from plugin) > > > [1126686714] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;2;(No > > > output returned from plugin) > > > Thanks! > > > > > > -- > > > ---- > > > Don't Tell Me How Hard You Work.. > > > Show Me How Much You'd Accomplished.. > > > > > > > > > > > > -- > > ---- > > Don't Tell Me How Hard You Work.. > > Show Me How Much You'd Accomplished.. > > > > > > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Wed Sep 14 13:26:57 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 14 Sep 2005 13:26:57 +0200 Subject: perfparse doesn't display hosts, services In-Reply-To: <20050914002723.90283.qmail@web54706.mail.yahoo.com> References: <20050914002723.90283.qmail@web54706.mail.yahoo.com> Message-ID: <43280901.9000806@op5.se> John Christian wrote: > Hi Gurus, > > I'm trying to integrate PerfParse with Nagios. When I > access the PerfData Graphs page, I get the PerfParse > logo, but no hosts or services are listed. I read that > these fields should be auto-populated if the > performance data is being delivered correctly. As a > result, I suspect the performance data is not making > it all the way to PerfParse. > > Nagios is logging performance data when I point it to > a file. But when I connect Nagios to PerfParse via a > pipe, I don't know how to check that the performance > data is going into the pipe or arriving in the MySQL > database. How do I "look" at the pipe? Or view the > contents of the 'perfparse' database in MySQL? > > Any suggestions on what may be broken or how to > continue diagnosing the problem? TIA! -John > > Additional Info: > > Nagios 2.04b > PerfParse v0.105.6 > SunOS 5.9 Generic_112233-12 Sun-Fire-880 > > It seems PerfParse can connect to the MySQL database: > /usr/local/nagios/bin/check_perfparse_version > OK Perfparse Database Version Correct: 0.19. | > pp_ver=0.19 true_ver=0.19 > > I start perfparsed first and it creates a pipe in > /usr/local/nagios/var: > prw-r----- 1 root other 0 Sep 13 12:08 > perfdata-service.log Read these permissions again, and think about what they actually mean. Hint: Nagios has dropped privileges by the time it tries to open this node for writing. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Wed Sep 14 13:50:58 2005 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 14 Sep 2005 13:50:58 +0200 Subject: Compile problem - 2.0b4 on FreeBSD 5.1 In-Reply-To: <4327941C.4070601@gothambus.com> References: <4327941C.4070601@gothambus.com> Message-ID: <20050914115058.GB4721765@CIS.FU-Berlin.DE> * Drew Linsalata [2005-09-13 23:08]: > In file included from ../include/config.h:114, > from broker.c:26: > /usr/include/sys/resource.h:61: field `ru_utime' has incomplete type > /usr/include/sys/resource.h:62: field `ru_stime' has incomplete type Including before in include/config.h (or include/config.h.in if you're rerunning configure) should fix it. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 13:50:52 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 14 Sep 2005 13:50:52 +0200 Subject: Compile problem - 2.0b4 on FreeBSD 5.1 In-Reply-To: <4327941C.4070601@gothambus.com> References: <4327941C.4070601@gothambus.com> Message-ID: <43280E9C.1040803@op5.se> Drew Linsalata wrote: > After a pretty simple "configure" run, we're running into compile issues > with 2.0b4 on a FreeBSD 5.1 box. A "make all" results in: > > > sky1# make all > cd ./base && make > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c > In file included from ../include/config.h:114, > from broker.c:26: > /usr/include/sys/resource.h:61: field `ru_utime' has incomplete type > /usr/include/sys/resource.h:62: field `ru_stime' has incomplete type > /usr/include/sys/resource.h:79: confused by earlier errors, bailing out > *** Error code 1 > The problems are in the systems header files. As such, the problem is in FreeBSD's development environment and not in Nagios. > Stop in /usr/local/src/nagios-2.0b4/base. > *** Error code 1 > > Stop in /usr/local/src/nagios-2.0b4. > > We don't have the GD/PNG/JPEG stuff on that box yet, but I dont see > where that would cause compile errors. Has anyone seen this before? > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 13:52:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 14 Sep 2005 13:52:55 +0200 Subject: problem with check_disk_remote (solaris plugin) In-Reply-To: References: Message-ID: <43280F17.30209@op5.se> Elizar M. Palad wrote: > Hi everyone! > Why is it that when i run the plugin manually, ie, commanline, > the scripts executes without a problem.. example > # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 You're running this check as root. > OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100 > /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100 > But when i do this in my command.cfg file: > define command{ > command_name check_remote_disk > command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 > } This check is run as a different user. Perhaps the user nagios runs as isn't available on the remote host, or it isn't allowed to login through rsh. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From potus98 at yahoo.com Wed Sep 14 13:55:15 2005 From: potus98 at yahoo.com (John Christian) Date: Wed, 14 Sep 2005 04:55:15 -0700 (PDT) Subject: perfparse doesn't display hosts, services In-Reply-To: <43280901.9000806@op5.se> References: <43280901.9000806@op5.se> Message-ID: <20050914115515.88456.qmail@web54705.mail.yahoo.com> Thanks for the suggestion. I stopped nagios and perfparsed, then started perfparse, changed the perms on the perfdata-service.log file, and started nagios. I repated this a few times while trying different perms on the pipe. prwxrwxrwx 1 root other 0 Sep 14 07:34 perfdata-service.log prwxrwxrwx 1 nagios nagios 0 Sep 14 07:34 perfdata-service.log prw-r----- 1 nagios nagios 0 Sep 14 07:40 perfdata-service.log I continue to receive the following error in nagios.log: Warning: File '/usr/local/nagios/var/perfdata-service.log' could not be opened - service performance data will not be written to file! Other ideas on what I'm missing? -John --- Andreas Ericsson wrote: > John Christian wrote: > > Hi Gurus, > > > > I'm trying to integrate PerfParse with Nagios. > When I > > access the PerfData Graphs page, I get the > PerfParse > > logo, but no hosts or services are listed. I read > that > > these fields should be auto-populated if the > > performance data is being delivered correctly. As > a > > result, I suspect the performance data is not > making > > it all the way to PerfParse. > > > > Nagios is logging performance data when I point it > to > > a file. But when I connect Nagios to PerfParse via > a > > pipe, I don't know how to check that the > performance > > data is going into the pipe or arriving in the > MySQL > > database. How do I "look" at the pipe? Or view the > > contents of the 'perfparse' database in MySQL? > > > > Any suggestions on what may be broken or how to > > continue diagnosing the problem? TIA! -John > > > > Additional Info: > > > > Nagios 2.04b > > PerfParse v0.105.6 > > SunOS 5.9 Generic_112233-12 Sun-Fire-880 > > > > It seems PerfParse can connect to the MySQL > database: > > /usr/local/nagios/bin/check_perfparse_version > > OK Perfparse Database Version Correct: 0.19. | > > pp_ver=0.19 true_ver=0.19 > > > > I start perfparsed first and it creates a pipe in > > /usr/local/nagios/var: > > prw-r----- 1 root other 0 Sep 13 > 12:08 > > perfdata-service.log > > > Read these permissions again, and think about what > they actually mean. > Hint: Nagios has dropped privileges by the time it > tries to open this > node for writing. > > -- > Andreas Ericsson > andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 14:04:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 14 Sep 2005 14:04:55 +0200 Subject: perfparse doesn't display hosts, services In-Reply-To: <20050914115515.88456.qmail@web54705.mail.yahoo.com> References: <20050914115515.88456.qmail@web54705.mail.yahoo.com> Message-ID: <432811E7.7090209@op5.se> John Christian wrote: > Thanks for the suggestion. I stopped nagios and > perfparsed, then started perfparse, changed the perms > on the perfdata-service.log file, and started nagios. > I repated this a few times while trying different > perms on the pipe. > > prwxrwxrwx 1 root other 0 Sep 14 07:34 > perfdata-service.log > > prwxrwxrwx 1 nagios nagios 0 Sep 14 07:34 > perfdata-service.log > > prw-r----- 1 nagios nagios 0 Sep 14 07:40 > perfdata-service.log > > I continue to receive the following error in > nagios.log: > > Warning: File > '/usr/local/nagios/var/perfdata-service.log' could not > be opened - service performance data will not be > written to file! > > Other ideas on what I'm missing? Well, since Nagios claims it can't write to the *file*, and the inode is in fact a pipe, it might be causing some sort of error. I'm not very familiar with perfparse stuff, but I seem to remember something about having a cron-job run every once in a while that empties the perfparse data-file and submits it to the pipe (or some such). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Wed Sep 14 14:08:07 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Wed, 14 Sep 2005 14:08:07 +0200 Subject: Multiple notification_interval settings for the same service defi nition Message-ID: <6B893C5F2902D311A23F0090272854FB0575B809@litex001.lit.verwalt-berlin.de> Hello Nagios Experts, I wonder how to handle this. I would like Nagios to send out different notifications about a failed service to several recipients with varying degree of repition. The need for such is pretty obvious, since I need to file a trouble ticket (TT) with our TT management software only *once* (caveat TT flooding), but on the other hand for certain admins or users of the failed service it should be perfectly in order if they received repetitive notifications (sort of to increase the nag level to boost their intervention). I have no idea how to configure this. If I set the attribute notification_interval to 0 for a service, according to the docs there should be issued a notification only once, which was fine for the TT generation but missed the reminder to admins and users. As far as I can see one can also only define one event_handler per service. Because I think this is a common issue I'm confident that some of you already know a work-around. Regards Ralph ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Wed Sep 14 14:21:52 2005 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 14 Sep 2005 14:21:52 +0200 Subject: Multiple notification_interval settings for the same service defi nition In-Reply-To: <6B893C5F2902D311A23F0090272854FB0575B809@litex001.lit.verwalt-berlin.de> References: <6B893C5F2902D311A23F0090272854FB0575B809@litex001.lit.verwalt-berlin.de> Message-ID: <20050914122152.GC4721765@CIS.FU-Berlin.DE> * Ralph.Grothe at itdz-berlin.de [2005-09-14 14:08]: > I would like Nagios to send out different notifications about a > failed service to several recipients with varying degree of repition. Service escalations should do the job: http://nagios.sourceforge.net/docs/2_0/escalations.html Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Wed Sep 14 14:57:01 2005 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 14 Sep 2005 14:57:01 +0200 Subject: PDF documentation for 2.0 Message-ID: <20050914125700.GD4721765@CIS.FU-Berlin.DE> In order to print them, I converted the HTML docs for Nagios 2.0 to PDF. Just in case anyone else is interested: ftp://ftp.in-berlin.de/pub/users/weiss/doc/nagios/nagios-2.pdf Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Wed Sep 14 14:54:41 2005 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 14 Sep 2005 13:54:41 +0100 Subject: perfparse doesn't display hosts, services In-Reply-To: <20050914115515.88456.qmail@web54705.mail.yahoo.com> References: <20050914115515.88456.qmail@web54705.mail.yahoo.com> Message-ID: <63E38EB4-B92A-4E0C-A05E-A571CC8F6DD3@altinity.com> John, I haven't used perfparse, but I had a problem when I was trying to use a daemon that was reading data from the named pipe but nagios could not write to the named pipe. Problem was that nagios tries to open the perf file in append mode (which makes sense if it is actually a file). This fails for a pipe (at least on Solaris 2.6). So I patched nagios to open it in write mode - please find attached. This is against Nagios 1.0, so it may have moved for later versions. Ton -------------- next part -------------- A non-text attachment was scrubbed... Name: xpdfile.c.patch Type: application/octet-stream Size: 928 bytes Desc: not available URL: -------------- next part -------------- On 14 Sep 2005, at 12:55, John Christian wrote: > Thanks for the suggestion. I stopped nagios and > perfparsed, then started perfparse, changed the perms > on the perfdata-service.log file, and started nagios. > I repated this a few times while trying different > perms on the pipe. > > prwxrwxrwx 1 root other 0 Sep 14 07:34 > perfdata-service.log > > prwxrwxrwx 1 nagios nagios 0 Sep 14 07:34 > perfdata-service.log > > prw-r----- 1 nagios nagios 0 Sep 14 07:40 > perfdata-service.log > > I continue to receive the following error in > nagios.log: > > Warning: File > '/usr/local/nagios/var/perfdata-service.log' could not > be opened - service performance data will not be > written to file! > > Other ideas on what I'm missing? > -John http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and destroy this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. From elizar.palad at gmail.com Wed Sep 14 10:55:20 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Wed, 14 Sep 2005 16:55:20 +0800 Subject: problem with check_disk_remote (solaris plugin) In-Reply-To: References: <79BF0B53C4A28446A097D6170CF4C69955ED3C@xw2k3-hammbx-03.ads.dlh.de> Message-ID: oh btw, i have very little programming background.. :) help? sorry if i reply to my post.. On 9/14/05, Elizar M. Palad wrote: > > its not working! checked the ownhership/permission of the file, both ok > nagios 755 > but when executed by nagios user, i got: > $ ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 20 -c 30 > permission denied > permission denied > Use of uninitialized value in concatenation (.) or string at > ../libexec/check_disk_remote line 119. > | > checking the file now.. but any inputs are welcome.. > thanks! > > > On 9/14/05, oliver.steenbuck at lhsystems.com > wrote: > > > > is the plugin also working if you are nagios and start it from the > > commandline ? > > > > -----Urspr?ngliche Nachricht----- > > *Von:* Elizar M. Palad [mailto: elizar.palad at gmail.com] > > *Gesendet am:* Mittwoch, 14. September 2005 10:41 > > *An:* STEENBUCK, OLIVER > > *Cc:* nagios-users at lists.sourceforge.net > > *Betreff:* Re: [Nagios-users] problem with check_disk_remote (solaris > > plugin) > > yes actually, no. I am root in the commandline.. > > ? > > > > > > On 9/14/05, oliver.steenbuck at lhsystems.com > > wrote: > > > > > > maybe your try from the commandline was not as the nagios user ? > > > > > > -----Urspr?ngliche Nachricht----- > > > *Von:* nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net > > > ]*Im Auftrag von* Elizar M. Palad > > > *Gesendet am:* Mittwoch, 14. September 2005 10:36 > > > *An:* nagios-users at lists.sourceforge.net > > > *Betreff:* [Nagios-users] problem with check_disk_remote (solaris > > > plugin) > > > Hi everyone! > > > Why is it that when i run the plugin manually, ie, commanline, > > > the scripts executes without a problem.. example > > > # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 > > > OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100 > > > /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100 > > > But when i do this in my command.cfg file: > > > define command{ > > > command_name check_remote_disk > > > command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98 > > > } > > > (yes, i know that's the macro thing.. :) its not working also, i put > > > it like > > > that to simulate manual execution) > > > the logs says: > > > [1126686654] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;1;(No > > > output returned from plugin) > > > [1126686714] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;2;(No > > > output returned from plugin) > > > Thanks! > > > > > > -- > > > ---- > > > Don't Tell Me How Hard You Work.. > > > Show Me How Much You'd Accomplished.. > > > > > > > > > > > > -- > > ---- > > Don't Tell Me How Hard You Work.. > > Show Me How Much You'd Accomplished.. > > > > > > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From drew at gothambus.com Wed Sep 14 15:26:08 2005 From: drew at gothambus.com (Drew Linsalata) Date: Wed, 14 Sep 2005 09:26:08 -0400 Subject: Compile problem - 2.0b4 on FreeBSD 5.1 In-Reply-To: <20050914115058.GB4721765@CIS.FU-Berlin.DE> References: <4327941C.4070601@gothambus.com> <20050914115058.GB4721765@CIS.FU-Berlin.DE> Message-ID: <432824F0.2060800@gothambus.com> Holger Weiss wrote: > * Drew Linsalata [2005-09-13 23:08]: > >>In file included from ../include/config.h:114, >> from broker.c:26: >>/usr/include/sys/resource.h:61: field `ru_utime' has incomplete type >>/usr/include/sys/resource.h:62: field `ru_stime' has incomplete type > > > Including before in include/config.h (or > include/config.h.in if you're rerunning configure) should fix it. That did solve the complile problem. Thanks! -- Drew Linsalata The Gotham Bus Company, Inc. Dedicated Servers and Colocation Solutions Long Island, New York http://www.gothambus.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Wed Sep 14 15:32:01 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Wed, 14 Sep 2005 15:32:01 +0200 Subject: Multiple notification_interval settings for th e same service defi nition Message-ID: <6B893C5F2902D311A23F0090272854FB0575B80A@litex001.lit.verwalt-berlin.de> Holger, thanks for pointing me to the chapter of the docs that treats service escalations. I haven't given it attention yet because I considered it one of the more advanced features. I will peruse and educate myself more, and might come back if I still need clarification. N.b. many thanks for providing a comprehensive PDF volume of the scattered HTML documentation. This will make a far better hardcopy manual which I prefer over any documentation that would force me into reading more than 20 pages on a screen. Another problem with the offline printout from the HTML for me was that the ruddy (ambiguity intended ;-) type of the required attributes from definitions didn't at all distinguish optically from the remaining optional attributes in my b/w print. Cheers Ralph > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Holger > Weiss > Sent: Wednesday, September 14, 2005 2:22 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Multiple notification_interval > settings for > the same service defi nition > > > * Ralph.Grothe at itdz-berlin.de [2005-09-14 14:08]: > > I would like Nagios to send out different notifications about a > > failed service to several recipients with varying degree of > repition. > > Service escalations should do the job: > > http://nagios.sourceforge.net/docs/2_0/escalations.html > > Holger > > -- > PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv > or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 15:35:27 2005 From: marc at ena.com (Marc Powell) Date: Wed, 14 Sep 2005 08:35:27 -0500 Subject: Monitoring temperature Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Richard Gliebe > Sent: Wednesday, September 14, 2005 3:53 AM > To: Nagios List > Subject: [Nagios-users] Monitoring temperature > > Hi, > > I'm looking for a Plugin (check_*) to monitor the temperatures from our > Cisco switches and routers via snmp. This was a topic of discussion on this list last week or the week before that included several solutions. -- marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 15:42:04 2005 From: marc at ena.com (Marc Powell) Date: Wed, 14 Sep 2005 08:42:04 -0500 Subject: notification issues Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Chris Knipe > Sent: Wednesday, September 14, 2005 4:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification issues > > Hi, > > I monitor arround 500 services via NRPE2. Up to now, nevermind what I do, > Nagios sends a notification everytime NRPE's OUTPUT changes, and not when > then STATE changes.... That's quite strange considering nagios doesn't parse the plugin output in any way for status information. Status is entirely derived from the plugin exit code. Notifications are entirely based on the status. > > Can anyone please give me some pointers as to what could be causing > this???? Without specific configuration examples and test runs, not really. OS information, nagios version, how it was installed, etc may be useful as well. Try running the NRPE commands exactly as they are defined in your command definition, substituting appropriate macros of course. Do this as the nagios user and use 'echo $?' after testing to verify the exit code. -- marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magle at cacdhh.org Wed Sep 14 15:40:36 2005 From: magle at cacdhh.org (Matthew Agle) Date: Wed, 14 Sep 2005 09:40:36 -0400 Subject: suggestions for upgrading Nagios In-Reply-To: <432525E8.7080001@op5.se> References: <432525E8.7080001@op5.se> Message-ID: <002501c5b931$e5e45650$8400a8c0@sshi.local> Thanks to you all for the suggestions! I will try to get this rolling and see what happens (but just in case I am building it on my machine first and then I'll go from there...). Thanks again! Sincerely, ? Matthew Agle - MCP, MCSA Network Engineer CACDHH Information Technology Phone: (810)239-3112 ext. 233 Email:? magle at cacdhh.org Disclaimer: The information transmitted is intended only for the person or entity to whom or which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please delete this material immediately. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Monday, September 12, 2005 2:53 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] suggestions for upgrading Nagios Fred wrote: > I believe there are a number of changed configuration variables that > will be obvious when you try to start a 1.2 config under 2.0b*, I know > there were a number of syntax errors when I upgraded. > Don't forget the macros in the notification commands, or we'll be answering that particular question for the 16033rd time tomorrow. > -FredC > > --- Greg Vickers wrote: > > >>Matt, >> >>Matthew Agle wrote: >> >>>Hello, >>> >>> I have currently running Nagios version 1.2 and looking to >>>upgrade to 2.04b. Has anyone done this and/or performed a upgrade and >>>if so what suggestions/tips would you have? Is it easier to upgrade or >>>simply install to a different location and point the config files >>>there? Thanks in advance for any feedback! >> >>RTFM is your friend. I would very carefully read what is new in version >>2.0, in the "What's new in this version" section of the online manual. >> >>http://www.nagios.org, Support, Online Documentation, v2.x HTML, Table >>of Contents, What's new in this version.... >> >>If I were you, I would pay special attention to the Hostgroup changes. >> >>Take a copy of your 1.x config and run the 2.x binary against it, see >>what is broken, that will give you a good starting point. >> >>HTH, >> >>[p.s.] OK, ok, the only change you *have* to make is moving the new >>location of the contact_groups directive... but there's so much other >>new and better stuff in v2.x, have a look and see what is applicable to >>your situation. >> >>-- >>Greg Vickers >>Project Manager, IT Security >>Information Technology Services >>Queensland University of Technology >>L12, 126 Margaret St, Brisbane >> >>Phone: (07) 3864 9536 >>Email: g.vickers at qut.edu.au >>IT Security web site: http://www.its.qut.edu.au/itsecurity/ >> >>CRICOS No. 00213J >> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting >>any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 15:53:14 2005 From: marc at ena.com (Marc Powell) Date: Wed, 14 Sep 2005 08:53:14 -0500 Subject: notification issues Message-ID: Mmmm. Talking to myself now I see... > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Wednesday, September 14, 2005 8:42 AM > To: Nagios List > Subject: RE: [Nagios-users] notification issues > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Chris Knipe > > Sent: Wednesday, September 14, 2005 4:26 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] notification issues > > > > Hi, > > > > I monitor arround 500 services via NRPE2. Up to now, nevermind what I > do, > > Nagios sends a notification everytime NRPE's OUTPUT changes, and not > when > > then STATE changes.... > > That's quite strange considering nagios doesn't parse the plugin output > in any way for status information. Status is entirely derived from the > plugin exit code. Notifications are entirely based on the status. As a followup, there is one possibility. IFF the service status is not OK for each check AND you have is_volatile set for the service, then you would get an alert for each check. While it doesn't have anything to do with the plugin output, it may appear that way. http://nagios.sourceforge.net/docs/1_0/volatileservices.html marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From savage at savage.za.org Wed Sep 14 16:00:52 2005 From: savage at savage.za.org (Chris Knipe) Date: Wed, 14 Sep 2005 16:00:52 +0200 Subject: notification issues References: Message-ID: <03e101c5b934$b99d0300$0a02a8c0@MEGADROID> Hi Marc, Thanks very much. I did check error / return codes, they return 0 - still triggering alerts. I have disabled volatile in the services configuration, will see if that solves it. Thanks again, Chris ----- Original Message ----- From: "Marc Powell" To: "Nagios List" Sent: Wednesday, September 14, 2005 3:53 PM Subject: RE: [Nagios-users] notification issues Mmmm. Talking to myself now I see... > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Wednesday, September 14, 2005 8:42 AM > To: Nagios List > Subject: RE: [Nagios-users] notification issues > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Chris Knipe > > Sent: Wednesday, September 14, 2005 4:26 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] notification issues > > > > Hi, > > > > I monitor arround 500 services via NRPE2. Up to now, nevermind what I > do, > > Nagios sends a notification everytime NRPE's OUTPUT changes, and not > when > > then STATE changes.... > > That's quite strange considering nagios doesn't parse the plugin output > in any way for status information. Status is entirely derived from the > plugin exit code. Notifications are entirely based on the status. As a followup, there is one possibility. IFF the service status is not OK for each check AND you have is_volatile set for the service, then you would get an alert for each check. While it doesn't have anything to do with the plugin output, it may appear that way. http://nagios.sourceforge.net/docs/1_0/volatileservices.html marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enediel at hotmail.com Wed Sep 14 17:10:24 2005 From: enediel at hotmail.com (enediel gonzalez) Date: Wed, 14 Sep 2005 15:10:24 +0000 Subject: control panel for nagios Message-ID: hello everyone I have nagios running but, I'm looking for a control panel to it. ?Have anybody installed ncpl? I downloaded it from the sourforge repository ?Any other suggestion? Thanks in advance for any help Regards Enediel ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Wed Sep 14 17:16:56 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Wed, 14 Sep 2005 17:16:56 +0200 Subject: Multiple notification_interval settings for th e same service defi nition Message-ID: <6B893C5F2902D311A23F0090272854FB0575B80C@litex001.lit.verwalt-berlin.de> Sorry, for haunting you back. But service escalations don't quite seem to be an elegant remedy. This may be due to a misapprehension of the subject I still suffer from after having read the parts in the doc that cover service escalations. Because I would need to run two different event_handlers (viz. one to file a trouble ticket at a high escalation level only once, and one to send out repeated nagging email notifications to admins or some other poor buggers), this also meant I would have to (re)introduce another couple of hundred service definitions that only would differ in their service_description to be referenced accordingly by their respective serviceescalation definition. This looks prohibitive a prospect to me. Unless there was a possibility to implement a case distinction (e.g. maybe through some macro variable like $SERVICEATTEMPT$), sort of polymorphism, by which the called event_handler would decide which incarnation to execute at run time. (I think the OO folks call it late binding?) Can one fumble up something like that, or am I completely off the track? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Ralph.Grothe at itdz-berlin.de > Sent: Wednesday, September 14, 2005 3:32 PM > To: holger at CIS.FU-Berlin.DE; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Multiple notification_interval > settings for > th e same service defi nition > > > Holger, > > thanks for pointing me to the chapter of the docs that treats > service escalations. > > I haven't given it attention yet because I considered it one of > the more advanced features. > > I will peruse and educate myself more, and might come back if I > still need clarification. > > N.b. many thanks for providing a comprehensive PDF volume of the > scattered HTML documentation. > This will make a far better hardcopy manual which I prefer over > any documentation that would force me > into reading more than 20 pages on a screen. > Another problem with the offline printout from the HTML for me > was that the ruddy (ambiguity intended ;-) > type of the required attributes from definitions didn't at all > distinguish optically from the remaining > optional attributes in my b/w print. > > Cheers > Ralph > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Holger > > Weiss > > Sent: Wednesday, September 14, 2005 2:22 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Multiple notification_interval > > settings for > > the same service defi nition > > > > > > * Ralph.Grothe at itdz-berlin.de [2005-09-14 14:08]: > > > I would like Nagios to send out different notifications about > a > > > failed service to several recipients with varying degree of > > repition. > > > > Service escalations should do the job: > > > > http://nagios.sourceforge.net/docs/2_0/escalations.html > > > > Holger > > > > -- > > PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 > D3DE > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App > Server. > > Download it for free - -and be entered to win a 42" plasma tv > > or your very > > own Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv > or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 17:23:43 2005 From: marc at ena.com (Marc Powell) Date: Wed, 14 Sep 2005 10:23:43 -0500 Subject: PDF documentation for 2.0 Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Holger Weiss > Sent: Wednesday, September 14, 2005 7:57 AM > To: Nagios Users > Subject: [Nagios-users] PDF documentation for 2.0 > > In order to print them, I converted the HTML docs for Nagios 2.0 to PDF. > Just in case anyone else is interested: > > ftp://ftp.in-berlin.de/pub/users/weiss/doc/nagios/nagios-2.pdf Thanks for this! I'm not sure Ethan watches this list much these days so you may want to bounce this over to nagios-devel and see if he'll post it on www.nagios.org. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravikmrs at yahoo.com Wed Sep 14 17:23:27 2005 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Wed, 14 Sep 2005 08:23:27 -0700 (PDT) Subject: Load graph Message-ID: <20050914152327.82853.qmail@web53906.mail.yahoo.com> I want to plot graph on load monitoring. I'm using rrd to create graph but the graph didn't show details. rrdtool create ta2-prod-load.rrd -s 60 DS:load:GAUGE:0:300:U RRA:AVERAGE:0.5:1:50400 RRA:AVERA E:0.5:60:43800 please help what is wrong in above command, thanks --------------------------------- Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.mohr at elaxy.com Wed Sep 14 17:59:11 2005 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 14 Sep 2005 17:59:11 +0200 Subject: NRPE Character limitation Message-ID: Hi All! We have run into the infamous 350 character nrpe boundary. I have done a a lot of research on what the problem is, but what I am missing is *where* the problem is. What I have been able to find out is that the problem lies in the limit of an atomic write to a pipe and therefore the nrpe code has been configure to limit the size of messages. The question is where in the chain is this pipe? I found the my_system function in nrpe.c where it uses a pipe. However, shouldn't this pipe be unique to the process? If so, then this shouldn't be the place where there is a problem, or is it? Looking through the code just within the nagios base directory, there are a number of places where various pipes are used, so I am having trouble finding the exact spot. The bottom line is we want/need to return larger amounts of data. Thus, I need to find the place(s) where I should change the code, as well as the place(s) where there are problems. I cannot find within the nrpe code, where this limit is defined. We have called check_nrpe directly, avoiding Nagios completely and we still have this limitation, so it seems that the limit is either in check_nrpe or nrpe itself. Thus, I cannot find where I need to increase this value. If the problem really is within Nagios, is it possible to use the Nagios Event Broker to catch the messages, write the complete text to a file and then cut the message down to the 350 character limit? Any help is greatly appreaciated. Regards, Jim Mohr ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sudheer at tgs-solutions.com Wed Sep 14 17:58:39 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Wed, 14 Sep 2005 11:58:39 -0400 Subject: Oracle DB Plugin Message-ID: <432848AF.3020804@tgs-solutions.com> Hi all, Is there a plugin to monitor the oracle DB? Please let me know. Thanks, -- Sudheer Muddappa ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Wed Sep 14 18:10:53 2005 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 14 Sep 2005 18:10:53 +0200 Subject: PDF documentation for 2.0 (was: Multiple notification_interval settings for the same service definition) In-Reply-To: <6B893C5F2902D311A23F0090272854FB0575B80A@litex001.lit.verwalt-berlin.de> References: <6B893C5F2902D311A23F0090272854FB0575B80A@litex001.lit.verwalt-berlin.de> Message-ID: <20050914161052.GA4730212@CIS.FU-Berlin.DE> * Ralph.Grothe at itdz-berlin.de [2005-09-14 15:32]: > N.b. many thanks for providing a comprehensive PDF volume of the > scattered HTML documentation. This will make a far better hardcopy > manual which I prefer over any documentation that would force me into > reading more than 20 pages on a screen. Another problem with the > offline printout from the HTML for me was that the ruddy (ambiguity > intended ;-) type of the required attributes from definitions didn't > at all distinguish optically from the remaining optional attributes in > my b/w print. The PDF was grayscaled too, though. I've just uploaded a colored version and moved the old file to ftp://ftp.in-berlin.de/pub/users/weiss/doc/nagios/nagios-2-grayscale.pdf However, the required directives are colored red using CSS, and this doesn't seem to be recognized by html2ps (which I used), sorry. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Wed Sep 14 18:18:44 2005 From: robmossrm at aol.com (Rob Moss) Date: Wed, 14 Sep 2005 17:18:44 +0100 Subject: Oracle DB Plugin In-Reply-To: <432848AF.3020804@tgs-solutions.com> References: <432848AF.3020804@tgs-solutions.com> Message-ID: <43284D64.5020502@aol.com> Sudheer Muddappa wrote: > Hi all, > Is there a plugin to monitor the oracle DB? > Please let me know. > > Thanks, > Check in the contributed nagios plugins.. I'm pretty sure I saw one in there (also Sybase and a load of other DB's) http://sourceforge.net/projects/nagiosplug/ rob. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enst at rao.elektra.ru Wed Sep 14 18:35:33 2005 From: enst at rao.elektra.ru (Evgeny Stepanov) Date: Wed, 14 Sep 2005 20:35:33 +0400 Subject: Oracle DB Plugin In-Reply-To: <432848AF.3020804@tgs-solutions.com> References: <432848AF.3020804@tgs-solutions.com> Message-ID: <1384540618.20050914203533@rao.elektra.ru> Hello Sudheer, SM> Hi all, SM> Is there a plugin to monitor the oracle DB? SM> Please let me know. You can check nagiosexchange site. There is oracle write access plugin here http://www.nagiosexchange.org/Databases.57.0.html?&tx_netnagext_pi1[p_view]=3 i think it's what you need. Since it's just a bash script utilizing sqlplus utility, you can do whatever you want with it. I did not check it by myself, but looking towards. Will look at you :-) Best regards, Evgeny ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enst at rao.elektra.ru Wed Sep 14 18:52:22 2005 From: enst at rao.elektra.ru (Evgeny Stepanov) Date: Wed, 14 Sep 2005 20:52:22 +0400 Subject: problem with check_disk_remote (solaris plugin) In-Reply-To: References: Message-ID: <1897575664.20050914205222@rao.elektra.ru> Hello Elizar, EMP> Why is it that when i run the plugin manually, ie, commanline, EMP> the scripts executes without a problem.. example EMP> ? EMP> # ../libexec/check_disk_remote -e rsh? -H k3tsyn1 -w 90 -c 98 EMP> OK: All Filesystems are below threshold (90/98%) | EMP> /=5%;;;0;100 /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100 EMP> ? EMP> But when i do this in my command.cfg file: EMP> ? EMP> define command{ EMP> ??????? command_name??? check_remote_disk EMP> ??????? command_line??? $USER1$/check_disk_remote -e rsh? -H k3tsyn1 -w 90 -c 98 EMP> ??????? } EMP> ? EMP> (yes, i know that's the macro thing.. :) its not working also, i put it like EMP> that to simulate manual execution) Is it possible your rsh authentication fails? When you run it from the shell it takes your credits, and when launched from nagios, it takes nagios credits. Just a possibility. Best regards Evgeny ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Wed Sep 14 19:15:07 2005 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 14 Sep 2005 19:15:07 +0200 Subject: Multiple notification_interval settings for th e same service defi nition In-Reply-To: <6B893C5F2902D311A23F0090272854FB0575B80C@litex001.lit.verwalt-berlin.de> References: <6B893C5F2902D311A23F0090272854FB0575B80C@litex001.lit.verwalt-berlin.de> Message-ID: <20050914171507.GE4730212@CIS.FU-Berlin.DE> * Ralph.Grothe at itdz-berlin.de [2005-09-14 17:16]: > Because I would need to run two different event_handlers (viz. one to > file a trouble ticket at a high escalation level only once, and one to > send out repeated nagging email notifications to admins or some other > poor buggers), I might have misunderstood what you're trying to achieve, but if you're using an event_handler for filing the trouble ticket anyway, you can take care of only filing it once (for example, only when the service initially goes into a hard error state) within the event handler script. See http://nagios.sourceforge.net/docs/2_0/eventhandlers.html on how to distinguish between the various states within the script. However, I suppose you _don't_ want to use an event_handler for plain e-mail notifications? So you can then just use the usual configuration directives for them, ignoring the trouble ticket stuff which is handled by your event_handler. No? > this also meant I would have to (re)introduce another couple of > hundred service definitions that only would differ in their > service_description to be referenced accordingly by their respective > serviceescalation definition. Note that you can group services using a servicegroup definition which can then be referenced in the serviceescalation definition. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Wed Sep 14 19:31:01 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Wed, 14 Sep 2005 23:01:01 +0530 Subject: Load graph In-Reply-To: <20050914152327.82853.qmail@web53906.mail.yahoo.com> References: <20050914152327.82853.qmail@web53906.mail.yahoo.com> Message-ID: <559e3cb60509141031393b6c9d@mail.gmail.com> Hello Ravi, Have got some scripts written and i can send you the same. But only the day after since i am going to be out of office. Thanks and take care. Trevor On 9/14/05, Ravi Kumar wrote: > > I want to plot graph on load monitoring. > I'm using rrd to create graph but the graph didn't show details. > > *rrdtool create ta2-prod-load.rrd -s 60 DS:load:GAUGE:0:300:U RRA:AVERAGE: > 0.5:1:50400 RRA:AVERA* > > *E:0.5:60:43800* > > ** > > *please help what is wrong in above command,* > > *thanks* > > ** > > ------------------------------ > Yahoo! for Good > Click here to donate to the > Hurricane Katrina relief effort. > > -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org| / (/ | |_|_ \____________________________________/ _|_| An eye for an eye will soon turn the world blind - MKG -------------- next part -------------- An HTML attachment was scrubbed... URL: From izotov at list.ru Wed Sep 14 19:57:18 2005 From: izotov at list.ru (Izotov Igor) Date: Wed, 14 Sep 2005 21:57:18 +0400 Subject: cluster_check sends no notifications Message-ID: Hello, everyone! The problem is that I do not receive any notifications from CLUSTER_CHECK service. Here's conf file part define service{ host_name host service_description CLUSTER_CHECK is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 10 retry_check_interval 1 contact_groups admins notification_interval 0 notification_period 24x7 check_command check_service_cluster!"host check by oedipus and igori_virtual"!2!2!$SERVICESTATEID:host:PING_HOST_BY_IGORI_VIRTUAL$,$SERVICE STATEID:host:PING_HOST_BY_OEDIPUS$ active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 0 check_freshness 0 notifications_enabled 1 } PING_HOST_BY_IGORI_VIRTUAL (via nrpe) service and PING_HOST_BY_OEDIPUS (just straight ping) return CRITICAL states, but notifications_enabled = 0 for them. CGI interface says CLUSTER_CHECK is CRITICAL too, just as it should be, but... no notifications are sent. define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin } define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands service-notify-by-email host_notification_commands host-notify-by-email email izotov at list.ru } The strange thing is that when following service goes into CRITICAL STATE, notifications are sent! define service{ host_name igori_virtual service_description PING_MONITORING_SERVER_IGORI_VIRTUAL is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 0 notification_period 24x7 check_command check_host_alive active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 check_freshness 0 notifications_enabled 1 } Quite a strange stuff. Anyone got ideas? Thank you. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Wed Sep 14 22:16:16 2005 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 14 Sep 2005 22:16:16 +0200 Subject: Nagios plugin to copy large text files Message-ID: Hi All! I was wondering if there was a Nagios plug-in that was able to "copy" large block of text from the agent to the server. This is related to the "NRPE Character limitation" post I made, but I was thinking of a alternate solution. All we are really interested in is getting text files (i.e. /var/log/messages) from the clients to the server. For various reasons, rsync, ftp, and so forth are out of the question, so we need a different solution. The first thought was nrpe, but we have the problem of being able to only send 350 characters. If there is no plug-in, does someone have any ideas or suggestions how we can solve this problem? Any and all help is greatly appreciated. Regards, Jim Mohr ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at shakabuku.org Wed Sep 14 22:21:04 2005 From: jason at shakabuku.org (Jason Bodnar) Date: Wed, 14 Sep 2005 15:21:04 -0500 Subject: Nagios plugin to copy large text files In-Reply-To: References: Message-ID: <20050914202000.M30661@shakabuku.org> What about the check_by_ssh plugin? On Wed, 14 Sep 2005 22:16:16 +0200, Mohr James wrote > Hi All! > > I was wondering if there was a Nagios plug-in that was able to "copy" > large block of text from the agent to the server. This is related to > the "NRPE Character limitation" post I made, but I was thinking of a > alternate solution. All we are really interested in is getting text > files (i.e. /var/log/messages) from the clients to the server. For > various reasons, rsync, ftp, and so forth are out of the question, > so we need a different solution. The first thought was nrpe, but we > have the problem of being able to only send 350 characters. If there > is no plug-in, does someone have any ideas or suggestions how we can > solve this problem? Any and all help is greatly appreciated. > > Regards, > > Jim Mohr > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or > your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > ** CRM114 Whitelisted by: nagios ** -- Jason Bodnar jason at shakabuku.org http://www.shakabuku.org "You want free speech? Let's see you acknowledge a man whose words make your blood boil who is standing center stage advocating at the top of his lungs that which you would spend a lifetime opposing at the top of yours." -- President Andrew Shephard, "The American President" ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 23:14:10 2005 From: marc at ena.com (Marc Powell) Date: Wed, 14 Sep 2005 16:14:10 -0500 Subject: Nagios plugin to copy large text files Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mohr James > Sent: Wednesday, September 14, 2005 3:16 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios plugin to copy large text files > > Hi All! > > I was wondering if there was a Nagios plug-in that was able to "copy" > large block of text from the agent to the server. This is related to the > "NRPE Character limitation" post I made, but I was thinking of a > alternate solution. All we are really interested in is getting text > files (i.e. /var/log/messages) from the clients to > the server. For various reasons, rsync, ftp, and so forth are out of the > question, so we need a different solution. The first thought was nrpe, > but we have the problem of being able to only send 350 characters. If > there is no plug-in, does someone have any ideas or suggestions how we > can solve this problem? Any and all help is greatly appreciated. Nagios is not a file management application. NRPE isn't designed to copy files between hosts. Both are designed solely to execute plugins that return one line of text and exit with the proper exit code. Instead of framing your problem to us only as solutions you think might work, why don't you try to explain what you're trying to accomplish in more detail. Something like 'I am trying to use nagios to check|detect|verify|other specific words|phrases|problems in specific logs|files|other on localhost|other hosts that I can reach by ssh|snmp|nrpe|other.' The more detail the better. That way, none of us are constrained by preconceptions. If your final intent is to simply copy log files from one host to another as you state, nagios is not the solution. Remote syslog, scp, rsync, ftp, wget and possibly CFEngine are better suited to that task. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yxiao2004 at gmail.com Wed Sep 14 23:56:16 2005 From: yxiao2004 at gmail.com (Yang Xiao) Date: Wed, 14 Sep 2005 17:56:16 -0400 Subject: Acknowledgement Script Message-ID: <1cdafd0b05091414566673577e@mail.gmail.com> Hi all, Does any one have a script that can be used with sendmail so that I can send an email to the nagios server to acknowledge events? or any idea how to go about writing one? Many thanks, - Yang -------------- next part -------------- An HTML attachment was scrubbed... URL: From noyler at khimetrics.com Thu Sep 15 00:54:53 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Wed, 14 Sep 2005 15:54:53 -0700 Subject: Acknowledgement Script Message-ID: <59B15593F41BD24591D59436E7226EAD027D5C63@Khiphx2.khimetrics.com> ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Yang Xiao Sent: Wednesday, September 14, 2005 2:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Acknowledgement Script Hi all, Does any one have a script that can be used with sendmail so that I can send an email to the nagios server to acknowledge events? or any idea how to go about writing one? Many thanks, I should write one, that sounds like a good idea. Mail server on the nagios box that can accept email. So in my case make an exchange smtp forward. Send email to address at box Alias from address to |/etc/smrsh/my_perlscript.pl Parse the email with MIME::Parser, or something else. If there's a hit, write acknowledgement to command file. That's how I'd do it, but I'm new at this so eh. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davea at support.kcm.org Thu Sep 15 01:12:43 2005 From: davea at support.kcm.org (Dave Augustus) Date: Wed, 14 Sep 2005 18:12:43 -0500 Subject: How do I check for within a range? For example Humidity? Message-ID: <1126739563.28658.7.camel@kcm40202> Hello All, I am busy here trying to integrate a Netbotz appliance within Nagios. I have the temperature readings and the door alarm working. BUT, how can I create proper checks for HUMIDITY? Humidity ranges need both warning and critical values at BOTH high and low extremes. Temperatures do as well but here in Texas we don't worry too much about things being too cold. :) Here is the range: Critical: 70% and above Warning: 65%-69% OK: 31%-64% Warning: 26%-30% Critical: 25% and below Here is my check from the CL: ./check_snmp -H 130.77.1.98 -P 1 -o netBotz.30.10.2.0 -w 65,70 -c 70,100 Which works great for the UPPER extreme. How do I do the LOWER check? Thanks, Dave -- Dave Augustus ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 01:29:00 2005 From: teng at dataway.com (Tedman Eng) Date: Wed, 14 Sep 2005 16:29:00 -0700 Subject: Load graph Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2B8D@dw-mail.dataway.com> You might get more respense by mailing the appropriate list: rrd-users at list.ee.ethz.ch You may also want to include more detail in your problem description. -----Original Message----- From: Ravi Kumar [mailto:ravikmrs at yahoo.com] Sent: Wednesday, September 14, 2005 8:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Load graph I want to plot graph on load monitoring. I'm using rrd to create graph but the graph didn't show details. rrdtool create ta2-prod-load.rrd -s 60 DS:load:GAUGE:0:300:U RRA:AVERAGE:0.5:1:50400 RRA:AVERA E:0.5:60:43800 please help what is wrong in above command, thanks Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Thu Sep 15 01:41:16 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Thu, 15 Sep 2005 07:41:16 +0800 Subject: check_ftp on check_nrpe.. Message-ID: Hi all! Me again! :-) I just installed nrpe both on local nagios machine and to the remote host. I get a "CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? " with these definition: define service{ use generic-service ; Name of service template to use host_name 2 FTPTEST check_command check_nrpe!check_ftp } define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ } Then i get: Socket timeout 10sec with this definition: define service{ use generic-service ; Name of service template to use host_name 2 FTPTEST check_command check_nrpe!ftptest!21!check_ftp } define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $ARG1$ -p $ARG2$ -c $ARG3$ } could someone guide me on this one? Thanks in advance! -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. http://www.razile.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason at shakabuku.org Thu Sep 15 01:44:34 2005 From: jason at shakabuku.org (Jason Bodnar) Date: Wed, 14 Sep 2005 18:44:34 -0500 Subject: check_ftp on check_nrpe.. In-Reply-To: References: Message-ID: <20050914234354.M76520@shakabuku.org> Do you have the nrpe running on the remote host? Do you have a command defined in nrpe.cfg for check_ftp? What does it look like? On Thu, 15 Sep 2005 07:41:16 +0800, Elizar M. Palad wrote > Hi all! Me again! :-) > I just installed nrpe both on local nagios machine and > to the remote host. > I get a "CHECK_NRPE: Received 0 bytes. Are we allowed to connect to > the host? " with these definition: define service{ use generic- > service ; Name of service template to use host_name 2 FTPTEST > check_command check_nrpe!check_ftp } define command{ command_name check_nrpe > command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ > } > Then i get: Socket timeout 10sec with this definition: > define service{ > use generic-service ; Name of service template to use > host_name 2 FTPTEST > check_command check_nrpe!ftptest!21!check_ftp > } > define command{ > command_name check_nrpe > command_line /usr/local/nagios/libexec/check_nrpe -H $ARG1$ -p > $ARG2$ -c $ARG3$ } > > could someone guide me on this one? Thanks in advance! > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > http://www.razile.com -- Jason Bodnar jason at shakabuku.org http://www.shakabuku.org "You want free speech? Let's see you acknowledge a man whose words make your blood boil who is standing center stage advocating at the top of his lungs that which you would spend a lifetime opposing at the top of yours." -- President Andrew Shephard, "The American President" ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Thu Sep 15 01:53:41 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Thu, 15 Sep 2005 07:53:41 +0800 Subject: check_ftp on check_nrpe.. In-Reply-To: <20050914234354.M76520@shakabuku.org> References: <20050914234354.M76520@shakabuku.org> Message-ID: Hi Jason! Yes, i have it running in my remote host as daemon. my nrpe.cfg looks like this: server_port=5666 nrpe_user=nagios nrpe_group=nagios command_timeout=60 command[check_ftp]=/usr/local/libexec/check_ftp -H 10.160.2.1-p 21 Thanks! On 9/15/05, Jason Bodnar wrote: > > Do you have the nrpe running on the remote host? Do you have a command > defined > in nrpe.cfg for check_ftp? What does it look like? > > On Thu, 15 Sep 2005 07:41:16 +0800, Elizar M. Palad wrote > > Hi all! Me again! :-) > > I just installed nrpe both on local nagios machine and > > to the remote host. > > I get a "CHECK_NRPE: Received 0 bytes. Are we allowed to connect to > > the host? " with these definition: define service{ use generic- > > service ; Name of service template to use host_name 2 FTPTEST > > check_command check_nrpe!check_ftp } define command{ command_name > check_nrpe > > command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ > > } > > Then i get: Socket timeout 10sec with this definition: > > define service{ > > use generic-service ; Name of service template to use > > host_name 2 FTPTEST > > check_command check_nrpe!ftptest!21!check_ftp > > } > > define command{ > > command_name check_nrpe > > command_line /usr/local/nagios/libexec/check_nrpe -H $ARG1$ -p > > $ARG2$ -c $ARG3$ } > > > > could someone guide me on this one? Thanks in advance! > > > > -- > > ---- > > Don't Tell Me How Hard You Work.. > > Show Me How Much You'd Accomplished.. > > http://www.razile.com > > > -- > Jason Bodnar > jason at shakabuku.org > http://www.shakabuku.org > > "You want free speech? Let's see you acknowledge a man whose words make > your blood boil who is standing center stage advocating at the top of > his lungs that which you would spend a lifetime opposing at the top of > yours." -- President Andrew Shephard, "The American President" > > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Thu Sep 15 02:15:16 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 15 Sep 2005 10:15:16 +1000 Subject: Nagios plugin to copy large text files In-Reply-To: References: Message-ID: <4328BD14.8050107@qut.edu.au> Hi James, Mohr James wrote: > Hi All! > > I was wondering if there was a Nagios plug-in that was able to "copy" > large block of text from the agent to the server. This is related to the > "NRPE Character limitation" post I made, but I was thinking of a > alternate solution. All we are really interested in is getting text > files (i.e. /var/log/messages) from the clients to > the server. For various reasons, rsync, ftp, and so forth are out of the > question, so we need a different solution. The first thought was nrpe, > but we have the problem of being able to only send 350 characters. If > there is no plug-in, does someone have any ideas or suggestions how we > can solve this problem? Any and all help is greatly appreciated. I suggest syslog or syslog-ng, these can send a copy of the log files from host to host. You will have to wrap them through SSH or a VPN of some kind if you are passing this information across an untrusted (isn't everything?) network. -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 02:16:29 2005 From: teng at dataway.com (Tedman Eng) Date: Wed, 14 Sep 2005 17:16:29 -0700 Subject: How do I check for within a range? For example Humidity? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2B8E@dw-mail.dataway.com> check_snmp can check multiple OID's. You can even use the same OID twice. ./check_snmp -H -o netBotz.30.10.2.0,netBotz.30.10.2.0 -w 69:65,30:26 -c 100:70,25:0 -l Humidity Humidity OK - 35 35 I've reversed the range specifications in order to specify the non-OK ranges. (see "check_snmp -h" section about max:min vs min:max) > -----Original Message----- > From: Dave Augustus [mailto:davea at support.kcm.org] > Sent: Wednesday, September 14, 2005 4:13 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How do I check for within a range? For example > Humidity? > > > Hello All, > > I am busy here trying to integrate a Netbotz appliance within > Nagios. I > have the temperature readings and the door alarm working. > BUT, how can I > create proper checks for HUMIDITY? > > Humidity ranges need both warning and critical values at BOTH high and > low extremes. Temperatures do as well but here in Texas we don't worry > too much about things being too cold. :) > > Here is the range: > > > Critical: 70% and above > Warning: 65%-69% > > OK: 31%-64% > > Warning: 26%-30% > Critical: 25% and below > > Here is my check from the CL: > > ./check_snmp -H 130.77.1.98 -P 1 -o netBotz.30.10.2.0 -w > 65,70 -c 70,100 > > Which works great for the UPPER extreme. How do I do the LOWER check? > > > Thanks, > Dave > > > -- > Dave Augustus > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv > or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Thu Sep 15 02:28:45 2005 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Thu, 15 Sep 2005 01:28:45 +0100 Subject: Jason Ellmers is out of the office. Message-ID: I will be out of the office starting 14/09/2005 and will not return until 19/09/2005. Please call Glenn Turner on 07901854363 in my absence ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Sep 15 02:46:30 2005 From: td3201 at gmail.com (Terry) Date: Wed, 14 Sep 2005 19:46:30 -0500 Subject: Acknowledgement Script In-Reply-To: <59B15593F41BD24591D59436E7226EAD027D5C63@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD027D5C63@Khiphx2.khimetrics.com> Message-ID: <8ee0610105091417463f568908@mail.gmail.com> My mail servers all have mimedefang or something similar. If the mail matches a ruleset which defines a nagios command, run the such commands. Use authentication. On 9/14/05, Nathan Oyler wrote: > > > > > ________________________________ > > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Yang Xiao > Sent: Wednesday, September 14, 2005 2:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Acknowledgement Script > > > > > Hi all, > > > Does any one have a script that can be used with sendmail so that I can send > an email to the nagios server to acknowledge events? or any idea how to go > about writing one? > > > > > > Many thanks, > > > > > > > > > I should write one, that sounds like a good idea. > > > > Mail server on the nagios box that can accept email. So in my case make an > exchange smtp forward. Send email to address at box > > > > Alias from address to |/etc/smrsh/my_perlscript.pl > > > > Parse the email with MIME::Parser, or something else. If there's a hit, > write acknowledgement to command file. > > > > That's how I'd do it, but I'm new at this so eh. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Thu Sep 15 03:37:03 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Thu, 15 Sep 2005 09:37:03 +0800 Subject: check_ftp on check_nrpe.. In-Reply-To: References: <20050914234354.M76520@shakabuku.org> Message-ID: I have this in my logs in my remote host when doing a manual execution of the check_nrpe plugin.. maybe it could help you guys to help me.. :) nrpe[18621]: Host 10.160.200.4 is not allowed to talk to us! Thanks! On 9/15/05, Elizar M. Palad wrote: > > Hi Jason! > Yes, i have it running in my remote host as daemon. > my nrpe.cfg looks like this: > server_port=5666 > nrpe_user=nagios > nrpe_group=nagios > command_timeout=60 > command[check_ftp]=/usr/local/libexec/check_ftp -H 10.160.2.1-p 21 > Thanks! > > On 9/15/05, Jason Bodnar wrote: > > > > Do you have the nrpe running on the remote host? Do you have a command > > defined > > in nrpe.cfg for check_ftp? What does it look like? > > > > On Thu, 15 Sep 2005 07:41:16 +0800, Elizar M. Palad wrote > > > Hi all! Me again! :-) > > > I just installed nrpe both on local nagios machine and > > > to the remote host. > > > I get a "CHECK_NRPE: Received 0 bytes. Are we allowed to connect to > > > the host? " with these definition: define service{ use generic- > > > service ; Name of service template to use host_name 2 FTPTEST > > > check_command check_nrpe!check_ftp } define command{ command_name > > check_nrpe > > > command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ > > > } > > > Then i get: Socket timeout 10sec with this definition: > > > define service{ > > > use generic-service ; Name of service template to use > > > host_name 2 FTPTEST > > > check_command check_nrpe!ftptest!21!check_ftp > > > } > > > define command{ > > > command_name check_nrpe > > > command_line /usr/local/nagios/libexec/check_nrpe -H $ARG1$ -p > > > $ARG2$ -c $ARG3$ } > > > > > > could someone guide me on this one? Thanks in advance! > > > > > > -- > > > ---- > > > Don't Tell Me How Hard You Work.. > > > Show Me How Much You'd Accomplished.. > > > http://www.razile.com > > > > > > -- > > Jason Bodnar > > jason at shakabuku.org > > http://www.shakabuku.org > > > > "You want free speech? Let's see you acknowledge a man whose words make > > your blood boil who is standing center stage advocating at the top of > > his lungs that which you would spend a lifetime opposing at the top of > > yours." -- President Andrew Shephard, "The American President" > > > > > > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elizar.palad at gmail.com Thu Sep 15 04:48:33 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Thu, 15 Sep 2005 10:48:33 +0800 Subject: check_ftp on check_nrpe.. In-Reply-To: References: <20050914234354.M76520@shakabuku.org> Message-ID: ok, its me again, answering to my post.. for the archive for someone else.. i manage to make it work by explicity specifing the nagios pc's ip in allowed_host of nrpe.cfg. anyway, when i execute check_ftp to the remote host i get: FTP OK - 0.021 second response time on port 21 [220 ftptest FTP server (SunOS 5.8) ready.]|time= 0.021 but when i do it in my nagios host, i get: # ../libexec/check_nrpe -H ftp10 NRPE v1.9 which is the one that appears inthe brower.. I would like the other one though.. how can i do this? Same info/settings in previous emails. Thanks! On 9/15/05, Elizar M. Palad wrote: > > I have this in my logs in my remote host when doing a manual > execution of the check_nrpe plugin.. maybe it could help > you guys to help me.. :) > nrpe[18621]: Host 10.160.200.4 is not allowed to > talk to us! > Thanks! > > > On 9/15/05, Elizar M. Palad wrote: > > > > Hi Jason! > > Yes, i have it running in my remote host as daemon. > > my nrpe.cfg looks like this: > > server_port=5666 > > nrpe_user=nagios > > nrpe_group=nagios > > command_timeout=60 > > command[check_ftp]=/usr/local/libexec/check_ftp -H 10.160.2.1-p 21 > > Thanks! > > > > On 9/15/05, Jason Bodnar wrote: > > > > > > Do you have the nrpe running on the remote host? Do you have a command > > > defined > > > in nrpe.cfg for check_ftp? What does it look like? > > > > > > On Thu, 15 Sep 2005 07:41:16 +0800, Elizar M. Palad wrote > > > > Hi all! Me again! :-) > > > > I just installed nrpe both on local nagios machine and > > > > to the remote host. > > > > I get a "CHECK_NRPE: Received 0 bytes. Are we allowed to connect to > > > > the host? " with these definition: define service{ use generic- > > > > service ; Name of service template to use host_name 2 FTPTEST > > > > check_command check_nrpe!check_ftp } define command{ command_name > > > check_nrpe > > > > command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ > > > > } > > > > Then i get: Socket timeout 10sec with this definition: > > > > define service{ > > > > use generic-service ; Name of service template to use > > > > host_name 2 FTPTEST > > > > check_command check_nrpe!ftptest!21!check_ftp > > > > } > > > > define command{ > > > > command_name check_nrpe > > > > command_line /usr/local/nagios/libexec/check_nrpe -H $ARG1$ -p > > > > $ARG2$ -c $ARG3$ } > > > > > > > > could someone guide me on this one? Thanks in advance! > > > > > > > > -- > > > > ---- > > > > Don't Tell Me How Hard You Work.. > > > > Show Me How Much You'd Accomplished.. > > > > http://www.razile.com > > > > > > > > > -- > > > Jason Bodnar > > > jason at shakabuku.org > > > http://www.shakabuku.org > > > > > > "You want free speech? Let's see you acknowledge a man whose words > > > make > > > your blood boil who is standing center stage advocating at the top of > > > his lungs that which you would spend a lifetime opposing at the top of > > > > > > yours." -- President Andrew Shephard, "The American President" > > > > > > > > > > > > -- > > ---- > > Don't Tell Me How Hard You Work.. > > Show Me How Much You'd Accomplished.. > > > > > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin.shore at sktbcs.com Thu Sep 15 05:39:52 2005 From: justin.shore at sktbcs.com (Justin Shore) Date: Wed, 14 Sep 2005 22:39:52 -0500 Subject: Acknowledgement Script Message-ID: Or do it with a real user?s procmailrc. Then you could archive the acks in organized mailboxes to boot. Justin _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nathan Oyler Sent: Wednesday, September 14, 2005 5:55 PM To: yxiao2004 at gmail.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Acknowledgement Script _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Yang Xiao Sent: Wednesday, September 14, 2005 2:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Acknowledgement Script Hi all, Does any one have a script that can be used with sendmail so that I can send an email to the nagios server to acknowledge events? or any idea how to go about writing one? Many thanks, I should write one, that sounds like a good idea. Mail server on the nagios box that can accept email. So in my case make an exchange smtp forward. Send email to address at box Alias from address to |/etc/smrsh/my_perlscript.pl Parse the email with MIME::Parser, or something else. If there?s a hit, write acknowledgement to command file. That?s how I?d do it, but I?m new at this so eh. -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 9/13/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 9/13/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From elizar.palad at gmail.com Thu Sep 15 06:23:15 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Thu, 15 Sep 2005 12:23:15 +0800 Subject: Another check_ftp: Cannot map "tcp" to protocol number Message-ID: Hi again, I managed to setup check_ftp/check_nrpe to one of our ftp server.. (and the required output in browser....) Now, when i tried setting up another ftp server in solaris 9 (the other one was solaris 2.6) i have this: Cannot map "tcp" to protocol number i made sure i have the same config as before.. check permissions of /etc/protocols (644) checked tcp line in the file - ok.. checked the archives.. there is one, but not applicable to what i have here.. Any ideas? Help? Thanks! -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. http://www.razile.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mohamed.azizi at belgacom.be Thu Sep 15 08:40:47 2005 From: mohamed.azizi at belgacom.be (mohamed.azizi at belgacom.be) Date: Thu, 15 Sep 2005 08:40:47 +0200 Subject: Nagios notifications via sms Message-ID: <5F3043372274524C967EB597009D2A0E022F0CB8@AE0008.BGC.NET> Dear colleagues , I have nagios 1.2 on linux redhat and I will send the notifications via sms .can you please support me for the configuration step to send the notification to server which is risponsible to send sms to my mobile.Maybe an documentation is exsiting for that ? Thanks in advance Mohamed **** DISCLAIMER **** http://www.belgacom.be/maildisclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.gliebe at fhv.at Thu Sep 15 09:10:37 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 15 Sep 2005 09:10:37 +0200 Subject: Nagios notifications via sms In-Reply-To: <5F3043372274524C967EB597009D2A0E022F0CB8@AE0008.BGC.NET> References: <5F3043372274524C967EB597009D2A0E022F0CB8@AE0008.BGC.NET> Message-ID: <1126768238.1246.10.camel@glr-nb.dh.uclv.net> On Thu, 2005-09-15 at 08:40 +0200, mohamed.azizi at belgacom.be wrote: > > Dear colleagues , Hi, > I have nagios 1.2 on linux redhat and I will send the notifications > via sms .can you please support me for the configuration step to > send the notification to server which is risponsible to send sms to my > mobile.Maybe an documentation is exsiting for that ? > > Thanks in advance > Mohamed take a look at the online Documentation at http://nagios.sourceforge.net/docs/1_0/toc.html define the following options in the Contact Definitions for the user with want's to receive sms's. [...] service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager email @domain.com> pager [...] regards Richard ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Thu Sep 15 11:44:31 2005 From: robmossrm at aol.com (Rob Moss) Date: Thu, 15 Sep 2005 10:44:31 +0100 Subject: check_ftp on check_nrpe.. In-Reply-To: References: Message-ID: <4329427F.8030409@aol.com> Elizar M. Palad wrote: > > Hi all! Me again! :-) > > > I just installed nrpe both on local nagios machine and > to the remote host. > > I get a "CHECK_NRPE: Received 0 bytes. Are we allowed to connect to > the host? " > with these definition: > > define service{ > use generic-service ; Name > of service template to use > host_name 2 FTPTEST > check_command check_nrpe!check_ftp > } > > define command{ > command_name check_nrpe > command_line /usr/local/nagios/libexec/check_nrpe -H > $HOSTADDRESS$ > } > Here's your problem, you aren't passing the arguments to check_nrpe, only the Hostname The 'command_line' should read something like this: command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -t 30 -c $ARG1$ The check "check_ftp" must also be defined in your NRPE config file nrpe.cfg If this does not make sense to you, then you need to read the manual on how NRPE works > <>Then i get: Socket timeout 10sec with this definition: > > define service{ > use generic-service ; Name > of service template to use > host_name 2 FTPTEST > check_command check_nrpe!ftptest!21!check_ftp > } > > define command{ > command_name check_nrpe > command_line /usr/local/nagios/libexec/check_nrpe -H $ARG1$ > -p $ARG2$ -c $ARG3$ > } > > could someone guide me on this one? Thanks in advance! > This looks better but you are still sending some incorrect arguments, see above. You need to understand how the flags work such as -H and how the ! separator works with $ARGx$ arguments. rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From enediel at hotmail.com Thu Sep 15 15:16:14 2005 From: enediel at hotmail.com (enediel gonzalez) Date: Thu, 15 Sep 2005 13:16:14 +0000 Subject: nagios configuration Message-ID: Hello everyone: I have nagios running, and I need a tool for the configuration of it, I don't know if nagios brings the interface to declare hosts, services, etc, basically something writting on php, perl, and possible mysql if it's neccesary. I was trying with nagat, an others tools I found at sourceforge.net, but it seems like nobody is using the mailing lists associated to them. which is the way most used for this purposes? Thanks in advance for any answer. Regards Enediel ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SudisB at crlcorp.com Thu Sep 15 15:34:33 2005 From: SudisB at crlcorp.com (Brian Sudis) Date: Thu, 15 Sep 2005 08:34:33 -0500 Subject: Multiple Nagios processes Message-ID: <8701398F1CF52E40AD35CF730386A0B506EE9630@mailsvr.crlcorp.com> I've had Nagios 1.2 running for over a year now and have never seen this problem before. Currently running on RH ES 3 (2.4.21-32.0.1ELsmp). Sometime in during the night the web interface started reports the warning that monitoring processes may not be running. Process info page reports the process status as warning and check command output states "Nagios problem: located 4 processes, status log updated 1126790135 seconds ago" I have reviewed F0021, and F0123 and neither seem to apply. I've validated the config (nagios -v nagios.cfg) and it passes correctly. The number of located processes changes. Here is a quick look at nagios owned processes. Obviously there is more than one nagios daemon running, which is a bad thing. I've stopped, check that they stopped, and started nagios and it reverts back to this each time. It looks like a new nagios daemon is being spawned for each attempted check. Here is thee successive looks at process status. nagios 10720 1 0 08:02 ? 00:00:03 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 13898 1 0 08:20 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 13899 13898 0 08:20 ? 00:00:00 /usr/libexec/nagios/check_ping -H sassvr1.crlcorp.com -w 100.0,20% -c 500.0,60% -p 5 nagios 13900 13899 0 08:20 ? 00:00:00 /bin/ping -n -U -c 5 sassvr1.crlcorp.com Next process check. nagios 10720 1 0 08:02 ? 00:00:03 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14101 1 0 08:21 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14102 14101 0 08:21 ? 00:00:00 /usr/libexec/nagios/check_ping -H devsys.crlcorp.com -w 100.0,20% -c 500.0,60% -p 5 nagios 14103 14102 0 08:21 ? 00:00:00 /bin/ping -n -U -c 5 devsys.crlcorp.com Next process check. nagios 10720 1 0 08:02 ? 00:00:03 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14148 1 0 08:21 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14149 14148 0 08:21 ? 00:00:00 /usr/libexec/nagios/check_ping -H ghostsvr.crlcorp.com -w 100.0,20% -c 500.0,60% -p 5 nagios 14150 14149 0 08:21 ? 00:00:00 /bin/ping -n -U -c 5 ghostsvr.crlcorp.com The nagios.log file appears to be updating correctly. (At least it is updating.) One item of intrigue seems to be that on the program info page it shows program start time as 12-31-1969 18:00:00! System date and time are correct and ntp is running. Any suggestions? Thanks, Brian ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Thu Sep 15 15:38:59 2005 From: robmossrm at aol.com (Rob Moss) Date: Thu, 15 Sep 2005 14:38:59 +0100 Subject: nagios configuration In-Reply-To: References: Message-ID: <43297973.30800@aol.com> enediel gonzalez wrote: > Hello everyone: > > I have nagios running, and I need a tool for the configuration of it, > I don't know if nagios brings the interface to declare hosts, > services, etc, basically something writting on php, perl, and possible > mysql if it's neccesary. > > I was trying with nagat, an others tools I found at sourceforge.net, > but it seems like nobody is using the mailing lists associated to them. > > which is the way most used for this purposes? > > Thanks in advance for any answer. > Regards > Enediel Try Fruity http://fruity.sf.net It rocks! does everything! rob ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SudisB at crlcorp.com Thu Sep 15 16:07:03 2005 From: SudisB at crlcorp.com (Brian Sudis) Date: Thu, 15 Sep 2005 09:07:03 -0500 Subject: Multiple Nagios processes Message-ID: <8701398F1CF52E40AD35CF730386A0B506EE9633@mailsvr.crlcorp.com> Ya know .. It would probably help to check disk space to see if logs can be written ... :sigh: In the immortal words of Emily Latella ... Never mind .. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian Sudis Sent: Thursday, September 15, 2005 8:35 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Multiple Nagios processes I've had Nagios 1.2 running for over a year now and have never seen this problem before. Currently running on RH ES 3 (2.4.21-32.0.1ELsmp). Sometime in during the night the web interface started reports the warning that monitoring processes may not be running. Process info page reports the process status as warning and check command output states "Nagios problem: located 4 processes, status log updated 1126790135 seconds ago" I have reviewed F0021, and F0123 and neither seem to apply. I've validated the config (nagios -v nagios.cfg) and it passes correctly. The number of located processes changes. Here is a quick look at nagios owned processes. Obviously there is more than one nagios daemon running, which is a bad thing. I've stopped, check that they stopped, and started nagios and it reverts back to this each time. It looks like a new nagios daemon is being spawned for each attempted check. Here is thee successive looks at process status. nagios 10720 1 0 08:02 ? 00:00:03 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 13898 1 0 08:20 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 13899 13898 0 08:20 ? 00:00:00 /usr/libexec/nagios/check_ping -H sassvr1.crlcorp.com -w 100.0,20% -c 500.0,60% -p 5 nagios 13900 13899 0 08:20 ? 00:00:00 /bin/ping -n -U -c 5 sassvr1.crlcorp.com Next process check. nagios 10720 1 0 08:02 ? 00:00:03 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14101 1 0 08:21 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14102 14101 0 08:21 ? 00:00:00 /usr/libexec/nagios/check_ping -H devsys.crlcorp.com -w 100.0,20% -c 500.0,60% -p 5 nagios 14103 14102 0 08:21 ? 00:00:00 /bin/ping -n -U -c 5 devsys.crlcorp.com Next process check. nagios 10720 1 0 08:02 ? 00:00:03 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14148 1 0 08:21 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg nagios 14149 14148 0 08:21 ? 00:00:00 /usr/libexec/nagios/check_ping -H ghostsvr.crlcorp.com -w 100.0,20% -c 500.0,60% -p 5 nagios 14150 14149 0 08:21 ? 00:00:00 /bin/ping -n -U -c 5 ghostsvr.crlcorp.com The nagios.log file appears to be updating correctly. (At least it is updating.) One item of intrigue seems to be that on the program info page it shows program start time as 12-31-1969 18:00:00! System date and time are correct and ntp is running. Any suggestions? Thanks, Brian ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohamed.azizi at belgacom.be Thu Sep 15 16:06:37 2005 From: mohamed.azizi at belgacom.be (mohamed.azizi at belgacom.be) Date: Thu, 15 Sep 2005 16:06:37 +0200 Subject: Nagios notifications via sms Message-ID: <5F3043372274524C967EB597009D2A0E0231CFD7@AE0008.BGC.NET> > Dear colleagues , > > I have nagios 1.2 on linux redhat and I will send the notifications > via sms .can you please support me for the configuration step to > send the notification to server which is risponsible to send sms to my > mobile.Maybe an documentation is exsiting for that ? > Thanks in advance > Mohamed **** DISCLAIMER **** http://www.belgacom.be/maildisclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: From potus98 at yahoo.com Thu Sep 15 16:35:35 2005 From: potus98 at yahoo.com (John Christian) Date: Thu, 15 Sep 2005 07:35:35 -0700 (PDT) Subject: perfparse-log2mysql doesn't load 2 MYsql Message-ID: <20050915143536.36423.qmail@web54712.mail.yahoo.com> Hi Gurus, I'm trying to integrate nagios and perfparse using Method 1: Periodic Nagios Log Parse. (I've abandoned pipes for now.) As far as I know, MySQL, perfparsed, and Nagios are all running fine. When I try to perfparse-log2mysql the following error is recorded: foohost:/usr/local/nagios/bin # ./perfparse-log2mysql -e log2mysql.error -r foohost:/usr/local/nagios/bin # echo $? 1 foohost:/usr/local/nagios/bin # tail log2mysql.error.20050915.log 2005/09/15 10:09:41 [ storage.c:95 113 ] storage_mysql module successfully loaded 2005/09/15 10:10:32 [ dbms.c:306 113 ] INSERT INTO perfdata_registry (host,rkey, rvalue,ctime) VALUES ('dummy','pp/perfparse/version', '0.105.6', FROM_UNIXTIME(1126793381)) (Lock wait timeout exceeded; try restarting transaction) I've tried restarting services, stop/starting mysql, but the error persists. This host is not a busy box. Mysql is dedicated to perfparse. Is this a bug? Any suggestions are greatly appreciated! BTW: Does anyone have perfparse with nagios working on Solaris 9 using ANY method? Care to share your exact configs? I'm going nutty with this stuff. Nagios 2.0b4 # ./configure --with-command-group=nobody --enable-embedded-perl --with-perlcache --with-file-perfdata PerfParse v0.105.6 Solaris 9 112233-12 ################################## BACKGROUND: ################################## START DATABASE: foohost:/usr/local/nagios # /usr/local/mysql/bin/mysqld_safe & [1] 29613 foohost:/usr/local/nagios # Starting mysqld daemon with databases from /usr/local/mysql/var ################################## LOGIN TO DATABASE: foohost:/usr/local/nagios # mysql --user=perfparse -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.1.14-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> ################################## CHECK DATABASE: mysql> use perfparse Database changed mysql> show tables; +---------------------------------+ | Tables_in_perfparse | +---------------------------------+ | perfdata_bin_summary | | perfdata_bin_summary_data | | perfdata_bin_summary_del_policy | | perfdata_bin_summary_header | | perfdata_delete_policy | | perfdata_graphs | | perfdata_host | | perfdata_host_group | | perfdata_prefs | | perfdata_raw_summary | | perfdata_raw_summary_data | | perfdata_registry | | perfdata_service | | perfdata_service_bin | | perfdata_service_metric | | perfdata_service_raw | | perfdata_state | | perfdata_users | +---------------------------------+ 18 rows in set (0.00 sec) mysql> describe -> perfdata_service; +------------------------+--------------------------------+------+-----+----------+-------+ | Field | Type | Null | Key | Default | Extra | +------------------------+--------------------------------+------+-----+----------+-------+ | service_id | int(11) | | UNI | 0 | | | host_name | varchar(75) | | PRI | | | | service_description | varchar(75) | | PRI | | | | last_perfdata_raw | int(11) | YES | MUL | NULL | | | raw_delete_policy | int(11) | YES | | NULL | | | raw_delete_policy_name | varchar(20) | YES | MUL | NULL | | | raw_delete_policy_type | enum('template','user','host') | | | template | | | is_deleted | tinyint(4) | YES | | 0 | | +------------------------+--------------------------------+------+-----+----------+-------+ 8 rows in set (0.00 sec) mysql> select host_name -> from perfdata_service; Empty set (0.00 sec) ################################## START PERFPARSED: foohost:/usr/local/nagios # ./bin/perfparsed -e pperror -d foohost:/usr/local/nagios # echo $? 0 foohost:/usr/local/nagios # ps -ef | grep perfparsed root 29649 1 9 10:00:15 ? 0:09 ./bin/perfparsed -e pperror -d root 29654 28005 0 10:00:24 pts/2 0:00 grep perfparsed foohost:/usr/local/nagios # tail var/pperror.20050915.log 2005/09/15 10:00:15 [perfparsed.c:176 29649 ] Perfparsed successfully daemonized (pid=29649) 2005/09/15 10:00:15 [ storage.c:95 29649 ] storage_mysql module successfully loaded 2005/09/15 10:00:15 [ storage.c:264 29652 ] Perfparsed : periodic cleanup ################################## START NAGIOS: foohost:/usr/local/nagios # /etc/init.d/nagios start Starting network monitor: nagios foohost:/usr/local/nagios # echo $? 0 foohost:/usr/local/nagios # ps -ef | grep nagios nagios 29683 1 0 10:01:23 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 29705 28005 0 10:01:43 pts/2 0:00 grep nagios foohost:/usr/local/nagios # tail var/nagios.log [1126792883] Nagios 2.0b4 starting... (PID=29682) [1126792883] LOG VERSION: 2.0 [1126792883] Finished daemonizing... (New PID=29683) ################################## VERIFY PERFORMANCE DATA IS BEING PRODUCED: foohost:/usr/local/nagios/var # tail perfdata-service.log [SERVICEPERFDATA] 1126792913 foohost CPU Load 0.083 0.108 CPU Load 2% (15 min average) '15 min avg Load'=2%;90;98;0;100 [SERVICEPERFDATA] 1126792923 foohost Check disk via NRPE 0.082 0.048 DISK OK - free space: / 1790 MB (92%): /usr 3436 MB (70%): /var 3966 MB (86%): /tmp 19510 MB (100%): /opt 4841 MB (98%): /dev_backup 25811 MB (87%): /ora 4352 MB (11%): /export/home 1811 MB (93%): /=148MB;1744;1841;0;1938 /usr=1487MB;4429;4675;0;4922 /var=655MB;4158;4389;0;4621 /tmp=11MB;17568;18544;0;19521 /opt=82MB;4429;4675;0;4922 /dev_back [SERVICEPERFDATA] 1126792923 foohost PING 4.033 0.138 PING OK - Packet loss = 0%, RTA = 0.00 ms [SERVICEPERFDATA] 1126792933 foohost Check disk via NRPE 0.082 0.257 DISK OK - free space: / 1789 MB (92%): /usr 2682 MB (54%): /var 1371 MB (30%): /tmp 21153 MB (100%): /opt 1620 MB (33%): /export/home 1519 MB (78%): /=150MB;1744;1841;0;1938 /usr=2240MB;4429;4675;0;4922 /var=3250MB;4158;4389;0;4621 /tmp=9MB;19044;20102;0;21161 /opt=3302MB;4429;4675;0;4922 /export/home=420MB;1744;1841;0;1938 [SERVICEPERFDATA] 1126792933 foohost Check disk via NRPE 0.081 0.007 DISK OK - free space: / 1786 MB (92%): /usr 8099 MB (82%): /var 14202 MB (98%): /tmp 14617 MB (100%): /opt 12460 MB (84%): /export/home 6550 MB (67%): /=152MB;1744;1841;0;1938 /usr=1745MB;8858;9350;0;9843 /var=265MB;13019;13742;0;14466 /tmp=8MB;13162;13893;0;14625 /opt=2306MB;13289;14027;0;14766 /export/home=3294MB;8858;9350;0;9843 [SERVICEPERFDATA] 1126792943 foohost Check disk via NRPE 0.082 0.178 DISK WARNING - free space: / 1688 MB (28%): /var 1175 MB (59%): /tmp 8904 MB (96%): /dev_backup 14673 MB (43%): /backup2 3043 MB (75%): /ora 698 MB (7%): /var/mqm 3991 MB (99%): /=4360MB;5442;5744;0;6047 /var=830MB;1804;1904;0;2005 /tmp=336MB;8316;8778;0;9240 /dev_backup=19515MB;30769;32478;0;34188 /backup2=989MB;3627;3829;0;4031 /ora=9382MB;9 [SERVICEPERFDATA] 1126792943 foohost Check disk via NRPE 0.080 0.127 DISK OK - free space: / 4782 MB (97%): /usr 4580 MB (66%): /var 12334 MB (90%): /tmp 38579 MB (100%): /opt 7796 MB (99%): /export/home 3896 MB (99%): /=145MB;4434;4680;0;4927 /usr=2315MB;6205;6550;0;6895 /var=1398MB;12357;13044;0;13731 /tmp=9MB;34728;36657;0;38587 /opt=88MB;7094;7488;0;7883 /export/home=49MB;3549;3746;0;3944 [SERVICEPERFDATA] 1126792953 foohost SSH 0.045 0.076 SSH OK - OpenSSH_4.0 (protocol 2.0) [SERVICEPERFDATA] 1126792953 foohost Service-A 7.004 0.171 HTTP OK HTTP/1.1 200 OK - 6.969 second response time time=6.968852s;7.000000;15.000000;0.000000 size=1181B;;;0 [SERVICEPERFDATA] 1126792953 foohost SSH 0.047 0.026 SSH OK - OpenSSH_4.0 (protocol 2.0) ################################## So at this point, MySQL is running, perfparsed is running, and Nagios is running. Nagios is logging performance data to /usr/local/nagios/var/perfdata-service.log foohost:/usr/local/nagios # cd bin foohost:/usr/local/nagios/bin # ./perfparse-log2mysql -e log2mysql.error -r foohost:/usr/local/nagios/bin # echo $? 1 foohost:/usr/local/nagios/bin # tail log2mysql.error.20050915.log 2005/09/15 10:09:41 [ storage.c:95 113 ] storage_mysql module successfully loaded 2005/09/15 10:10:32 [ dbms.c:306 113 ] INSERT INTO perfdata_registry (host,rkey, rvalue,ctime) VALUES ('dummy','pp/perfparse/version', '0.105.6', FROM_UNIXTIME(1126793381)) (Lock wait timeout exceeded; try restarting transaction) __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Thu Sep 15 19:27:47 2005 From: mailings at good-it.com (Johan Barelds) Date: Thu, 15 Sep 2005 19:27:47 +0200 Subject: nagios configuration In-Reply-To: <43297973.30800@aol.com> References: <43297973.30800@aol.com> Message-ID: <200509151927.48072.mailings@good-it.com> Op donderdag 15 september 2005 15:38, schreef Rob Moss: > Try Fruity > > http://fruity.sf.net > > It rocks! does everything! > rob If you get it working....:-( It's using php5 which a lot of sites do not have implemented yet. Furthermore it produces a lot of errors after you installed it by the book (aodbd errors etc.). I haven't found a configuration webtool yet that worked flawless and supported all the configuration options and is easy to use.... -- Kind Regards / Met vriendelijke groet, Johan Barelds ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Thu Sep 15 20:44:35 2005 From: mailings at good-it.com (Johan Barelds) Date: Thu, 15 Sep 2005 20:44:35 +0200 Subject: Simple windows client Message-ID: <200509152044.35867.mailings@good-it.com> Hi all, I am using Nagios for a while now and i am a true believer. We do have around 200 window servers in our environment which need to be monitored and Nagios does the job quit well. Unfortunaly it's rather labour and study intensive to get a complete set of windows clients/scripts that fullfills ones monitor needs; Until now i haven't found a windows client which was: a. an out-of-the-box installation (e.g. msi file) and b. having a very simple gui in which all the configuration stuff could be done in a very intuitive matter and c. has all the needed monitor functionality in this one client (like eventlogs, perfmon counters, disk/cpu/mem usage etc.) and d. produced a single conf file which could be distributed quit easy to simular windows servers to prevent manual configuration on each server and e. has a large installed base so feedback and corrective actions on bugs/feature requests is quit good. Is it an idea to develop such a "general windows client" instead of making a lot of smaller programms, scripts by a lot of people, which needs a lot of studying/implementing/configuring etc. to get it working? Unfortunatly i am not a programmer otherwise i would have made it myself..:-) But it would be nice if there are some programmers around who are interested in starting such a project. I am very curious if i am the only one looking at it this way or if there is "a market" for such a new windows client. Please let me know your thoughts... -- Kind Regards / Met vriendelijke groet, Johan Barelds ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amen at oreilly.com Fri Sep 16 00:25:38 2005 From: amen at oreilly.com (Bob Amen) Date: Thu, 15 Sep 2005 15:25:38 -0700 Subject: Nagios notifications via sms In-Reply-To: <5F3043372274524C967EB597009D2A0E022F0CB8@AE0008.BGC.NET> References: <5F3043372274524C967EB597009D2A0E022F0CB8@AE0008.BGC.NET> Message-ID: <4329F4E2.2020407@oreilly.com> mohamed.azizi at belgacom.be wrote: > > Dear colleagues , > > I have nagios 1.2 on linux redhat and I will send the notifications > via sms .can you please support me for the configuration step to > send the notification to server which is risponsible to send sms to my > mobile.Maybe an documentation is exsiting for that ? > If you really want to send via sms (eg. your mail server or network connection is down), take a look a qpage: http://www.qpage.org/ Cheers, Bob -- Bob Amen O'Reilly Media, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Bergstroem at kunskapsskolan.se Fri Sep 16 01:05:05 2005 From: Sebastian.Bergstroem at kunskapsskolan.se (=?iso-8859-1?Q?Bergstr=F6m_Sebastian?=) Date: Fri, 16 Sep 2005 01:05:05 +0200 Subject: SV: Simple windows client Message-ID: Right on the spot! I've been thinking about this as well. There must be many people monitoring Windows hosts? Sad but true, that is all that I monitor right now, and it's all done with simple NSClient stuff so there is nothing special about that. It seems to me that the most competent Windows monitor agent today is NRPE_NT but I can't say for sure cause I haven't looked into it as deep as I need to. NRPE_NT needs some heavy scripts and configuration to do wonders as I understand. Any good scripts or ideas are welcome. One way to accomplish what you're asking for is to collect all stuff different people are using and then select the most useful stuff and finally get the stuff together in one neat Windows monitor package. This can easily be done with something as simple as a batch file. I can volonteer for the latter if you who reads this can send me your scripts and configuration. Just specify what does what and I believe I can figure out the rest. I will follow this thread with great interest. Best regards, Sebastian Bergstroem SWEDEN -----Ursprungligt meddelande----- Fr?n: Johan Barelds [mailto:mailings at good-it.com] Skickat: den 15 september 2005 20:45 Till: Nagios-users at lists.sourceforge.net ?mne: [Nagios-users] Simple windows client Hi all, I am using Nagios for a while now and i am a true believer. We do have around 200 window servers in our environment which need to be monitored and Nagios does the job quit well. Unfortunaly it's rather labour and study intensive to get a complete set of windows clients/scripts that fullfills ones monitor needs; Until now i haven't found a windows client which was: a. an out-of-the-box installation (e.g. msi file) and b. having a very simple gui in which all the configuration stuff could be done in a very intuitive matter and c. has all the needed monitor functionality in this one client (like eventlogs, perfmon counters, disk/cpu/mem usage etc.) and d. produced a single conf file which could be distributed quit easy to simular windows servers to prevent manual configuration on each server and e. has a large installed base so feedback and corrective actions on bugs/feature requests is quit good. Is it an idea to develop such a "general windows client" instead of making a lot of smaller programms, scripts by a lot of people, which needs a lot of studying/implementing/configuring etc. to get it working? Unfortunatly i am not a programmer otherwise i would have made it myself..:-) But it would be nice if there are some programmers around who are interested in starting such a project. I am very curious if i am the only one looking at it this way or if there is "a market" for such a new windows client. Please let me know your thoughts... -- Kind Regards / Met vriendelijke groet, Johan Barelds ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossz at vamos-wentworth.org Fri Sep 16 02:56:18 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Thu, 15 Sep 2005 17:56:18 -0700 Subject: nagios configuration In-Reply-To: References: Message-ID: <432A1832.9080601@vamos-wentworth.org> enediel gonzalez wrote: > I have nagios running, and I need a tool for the configuration of it, vim works well for me. :) I gave monarch a shot, but I wasn't happy with things. It seemed to overly complicate matters. Perhaps I should have spent more time with it. I've considered Fruity, but it doesn't support 1.2, so that's out of the question. -- Rossz ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossz at vamos-wentworth.org Fri Sep 16 03:00:03 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Thu, 15 Sep 2005 18:00:03 -0700 Subject: damn out of office autoreplies Message-ID: <432A1913.4050901@vamos-wentworth.org> I wish people would configure their out-of-office autoreplies to not respond to mail lists. -- Rossz ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Fri Sep 16 07:48:58 2005 From: mailings at good-it.com (Johan Barelds) Date: Fri, 16 Sep 2005 07:48:58 +0200 Subject: SV: Simple windows client In-Reply-To: References: Message-ID: <200509160748.58577.mailings@good-it.com> Op vrijdag 16 september 2005 01:05, schreef u: > Right on the spot! I've been thinking about this as well. Good to hear that i am not the only one..:-) > There must be many people monitoring Windows hosts? > Sad but true, that is all that I monitor right now, and it's all done with > simple NSClient stuff so there is nothing special about that. > > It seems to me that the most competent Windows monitor agent today is > NRPE_NT but I can't say for sure cause I haven't looked into it as deep as > I need to. NRPE_NT needs some heavy scripts and configuration to do wonders > as I understand. Quit true. > Any good scripts or ideas are welcome. There are actually some good ones on nagiosexchange. > One way to accomplish what you're asking for is to collect all stuff > different people are using and then select the most useful stuff and > finally get the stuff together in one neat Windows monitor package. This > can easily be done with something as simple as a batch file. > > I can volonteer for the latter if you who reads this can send me your > scripts and configuration. Just specify what does what and I believe I can > figure out the rest. That's also a good idea; Collect all the stuff there is and put some sort of quality/standardisation-check over it and make ou own distro. The drawback is that it is still some sort of sub-optimalisation of existing stuff. I still miss the straightforward gui, the intuitive, dummy proof configuration, the single produced config file which could be distributed quit easy etc. which one could achieve if you build the client from scratch. I suggest we keep it as an second option in case no programmer volunteers for building the new client. Maybe a forward of this thread to the Nagios developers mailinglist will help. > I will follow this thread with great interest. You'r the only one so far..:-) I hope there are some more interested folks. > Best regards, > Sebastian Bergstroem > SWEDEN Grz. Johan > > -----Ursprungligt meddelande----- > Fr?n: Johan Barelds [mailto:mailings at good-it.com] > Skickat: den 15 september 2005 20:45 > Till: Nagios-users at lists.sourceforge.net > ?mne: [Nagios-users] Simple windows client > > Hi all, > > I am using Nagios for a while now and i am a true believer. > We do have around 200 window servers in our environment which need to be > monitored and Nagios does the job quit well. Unfortunaly it's rather labour > and study intensive to get a complete set of windows clients/scripts that > fullfills ones monitor needs; > > Until now i haven't found a windows client which was: > > a. an out-of-the-box installation (e.g. msi file) and b. having a very > simple gui in which all the configuration stuff could be done in a very > intuitive matter and c. has all the needed monitor functionality in this > one client (like eventlogs, perfmon counters, disk/cpu/mem usage etc.) and > d. produced a single conf file which could be distributed quit easy to > simular windows servers to prevent manual configuration on each server and > e. has a large installed base so feedback and corrective actions on > bugs/feature requests is quit good. > > Is it an idea to develop such a "general windows client" instead of making > a lot of smaller programms, scripts by a lot of people, which needs a lot > of studying/implementing/configuring etc. to get it working? > > Unfortunatly i am not a programmer otherwise i would have made it > myself..:-) But it would be nice if there are some programmers around who > are interested in starting such a project. I am very curious if i am the > only one looking at it this way or if there is "a market" for such a new > windows client. > > Please let me know your thoughts... > > -- > Kind Regards / Met vriendelijke groet, > Johan Barelds > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Kind Regards / Met vriendelijke groet, Johan Barelds ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Fri Sep 16 11:40:14 2005 From: robmossrm at aol.com (Rob Moss) Date: Fri, 16 Sep 2005 10:40:14 +0100 Subject: SV: Simple windows client In-Reply-To: <200509160748.58577.mailings@good-it.com> References: <200509160748.58577.mailings@good-it.com> Message-ID: <432A92FE.7020701@aol.com> >>There must be many people monitoring Windows hosts? >>Sad but true, that is all that I monitor right now, and it's all done with >>simple NSClient stuff so there is nothing special about that. >> >>It seems to me that the most competent Windows monitor agent today is >>NRPE_NT but I can't say for sure cause I haven't looked into it as deep as >>I need to. NRPE_NT needs some heavy scripts and configuration to do wonders >>as I understand. >> >> >Quit true. > > Once you have NRPE_NT installed once with all relevant services, then you have the recipie to install to all your other windows boxen. You could write a simple batch file to: 1. Copy files to a standard location 2. Set up the NRPE_NT service 3. Any other post installation tasks You don't need an MSI installer to do that, it's about 8 lines of a batch file. rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cam.johnson at teqsys.com Fri Sep 16 14:17:27 2005 From: cam.johnson at teqsys.com (Cam Johnson) Date: Fri, 16 Sep 2005 07:17:27 -0500 Subject: Nagios fails to start Message-ID: <432AB7D7.7000704@teqsys.com> I'm having a problem getting nagios to start even though the -v test passes with no errors or warnings. Running nagios with strace produces the following error after it has read the nagios.cfg file. open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = -1 EACCES (Permission denied) I have changed the permissions of the nagios.cfg file to 777. Recompiling nagios with debug turned on yields the same error. I'm running nagios 2b4 Cam Johnson ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davidj at synaq.com Fri Sep 16 14:30:17 2005 From: davidj at synaq.com (David Jacobson) Date: Fri, 16 Sep 2005 14:30:17 +0200 Subject: Nagios fails to start In-Reply-To: <432AB7D7.7000704@teqsys.com> References: <432AB7D7.7000704@teqsys.com> Message-ID: <1126873817.19009.94.camel@jakes.synaq.com> Hi Cam, Check the permissions of the directory. Regards, David On Fri, 2005-09-16 at 07:17 -0500, Cam Johnson wrote: > I'm having a problem getting nagios to start even though the -v > test passes with no errors or warnings. Running nagios with > strace produces the following error after it has read the > nagios.cfg file. > > open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = -1 EACCES > (Permission denied) > > I have changed the permissions of the nagios.cfg file to 777. > > Recompiling nagios with debug turned on yields the same error. > I'm running nagios 2b4 > > Cam Johnson > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Regards, David Jacobson Technical Director SYNAQ (Pty) Ltd Tel: 011 245 5888 Direct: 011 245 5889 Fax: 011 783 9275 Cell: 083 235 0760 Mail: davidj at synaq.com Web: http://www.synaq.com Key Fingerprint 8246 FCE1 3C22 7EFB E61B 18DF 6E8B 65E8 BD50 78A1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From pla at softflare.com Fri Sep 16 14:33:40 2005 From: pla at softflare.com (Paul L. Allen) Date: Fri, 16 Sep 2005 13:33:40 +0100 Subject: Nagios fails to start In-Reply-To: <432AB7D7.7000704@teqsys.com> References: <432AB7D7.7000704@teqsys.com> Message-ID: <20050916123340.28562.qmail@mullet.softflare.net> Cam Johnson writes: > I'm having a problem getting nagios to start even though the -v test > passes with no errors or warnings. The -v test is not entirely representative of the normal running situation (mainly because it doesn't change uid/gid to nagios). The service nagios restart (or /etc/rc.d/init.d/nagios restart) does the testing as the nagios user and gives better diagnostics as to what is going wrong without having to resort to strace. Just remember that restart does a poor job of stopping nagios so in a production environment after changing configs I do a stop, then a killall to clear up the stragglers then do a restart to get a check of the config. > Running nagios with strace produces > the following error after it has read the nagios.cfg file. > > open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = -1 EACCES (Permission > denied) > > I have changed the permissions of the nagios.cfg file to 777. Ownership/permissions of parent directory? SELinux complications? -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cam.johnson at teqsys.com Fri Sep 16 14:58:27 2005 From: cam.johnson at teqsys.com (Cam Johnson) Date: Fri, 16 Sep 2005 07:58:27 -0500 Subject: Nagios fails to start In-Reply-To: <20050916123340.28562.qmail@mullet.softflare.net> References: <432AB7D7.7000704@teqsys.com> <20050916123340.28562.qmail@mullet.softflare.net> Message-ID: <432AC173.1090908@teqsys.com> Paul L. Allen wrote: > Cam Johnson writes: > >> I'm having a problem getting nagios to start even though the -v test >> passes with no errors or warnings. > > > The -v test is not entirely representative of the normal running > situation (mainly because it doesn't change uid/gid to nagios). The > service nagios restart (or /etc/rc.d/init.d/nagios restart) does the > testing as the nagios user and gives better diagnostics as to what is > going wrong without having to resort to strace. Just remember that > restart does a poor job of stopping nagios so in a production environment > after changing configs I do a stop, then a killall to clear up the > stragglers then do a restart to get a check of the config. > >> Running nagios with strace produces the following error after it has >> read the nagios.cfg file. >> open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = -1 EACCES >> (Permission denied) >> I have changed the permissions of the nagios.cfg file to 777. > > > Ownership/permissions of parent directory? SELinux complications? Thanks, The problem was directory permissions. Cam Johnson ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at buenos.com.br Fri Sep 16 15:43:02 2005 From: felipe at buenos.com.br (Felipe Bueno) Date: Fri, 16 Sep 2005 10:43:02 -0300 Subject: Nagios + Postgresql Message-ID: <432ACBE6.904@buenos.com.br> Hi to all board. Please, does anyone knows how to configure nagios with postgresql? Anything, i really dont know how to do it, may be a tutorial, a site, anything to help. Thanks in advance for all help. Felipe Bueno ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Fri Sep 16 15:58:40 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Fri, 16 Sep 2005 15:58:40 +0200 Subject: hostgroup_name valid substitute for host_name in serviceescalatio n def.? Message-ID: <6B893C5F2902D311A23F0090272854FB0575B817@litex001.lit.verwalt-berlin.de> Hello, simple question, does the directive hostgroup_name constitue a valid substitute for the host_name attribute in a serviceescalation definition? In the docs I've only seen examples or lists of valid attributes that comprise the latter of the two. But from my working service definitions I know that one can refer to a whole bunch of hosts by specifying a hostgroup_name instead. Regards Ralph ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 16 16:34:13 2005 From: marc at ena.com (Marc Powell) Date: Fri, 16 Sep 2005 09:34:13 -0500 Subject: Nagios + Postgresql Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Felipe Bueno > Sent: Friday, September 16, 2005 8:43 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios + Postgresql > > Hi to all board. Please, does anyone knows how to configure nagios with > postgresql? Anything, i really dont know how to do it, may be a > tutorial, a site, anything to help. Thanks in advance for all help. > You're not very clear on what you mean by 'configure nagios with postgresql'. If you mean to configure nagios such that it stores its check results and other run-time information in postgresql you'll need to use one of the following -- If you're using 1.x, you should follow the directions here: http://nagios.sourceforge.net/docs/1_0/xdata-db.html If you're using the beta of 2.x you'll need an additional module such as: http://sourceforge.net/projects/nagios-db If you mean that you wish for nagios to store all its configuration data in postgresql, nagios can't do this. You'll need to use a third party application such as one found here: http://www.nagiosexchange.org/Configuration.20.0.html I can't make a recommendation for a front-end as we've created our own scripts. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nlehouil at telusplanet.net Fri Sep 16 16:59:15 2005 From: nlehouil at telusplanet.net (nlehouil at telusplanet.net) Date: Fri, 16 Sep 2005 07:59:15 -0700 Subject: Problem: Distributed Monitoring "Status Information" = $OUTPUT$ Message-ID: <1126882755.432addc3ba9dc@webmail.telus.net> Hi all, I need a little help with this one. I have setup distributed monitoring within a test environment. I have one box configured as a remote sending its status checks using nsca. I also have a central monitoring box configured that accepts the remote boxes send_nsca's. The problem is that it shows the following in the central server's nagios.log: [1126844773] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;remote;PING;0;$OUTPUT$ [1126844833] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;remote;Root Partition;0;$OUTPUT$ [1126844893] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;remote;Total Processes;-1;$OUTPUT$ [1126844953] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;remote;Current Load;0;$OUTPUT$ [1126845013] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;remote;Current Users;0;$OUTPUT$ [1126845073] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;remote;PING;0;$OUTPUT$ $OUTPUT$ should be "PROCS OK: 50 processes" Here is the commands in the checkcommands.cfg: ############################################################# define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } define command{ command_name check_local_procs command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ } ############################################################# Here is the output from the submit_check_result: #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac # pipe the service check info into the send_nsca program, which # in turn transmits the data to the nsca daemon on the central # monitoring server /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca 192.168.45.76 - c /usr/local/nagios/etc/send_nsca.cfg ########################################################################## On the central server it show all the proper information except the check command output. Why? Any help is greatly appreciated..... Thanks.... Neil ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 16 17:18:26 2005 From: marc at ena.com (Marc Powell) Date: Fri, 16 Sep 2005 10:18:26 -0500 Subject: Problem: Distributed Monitoring "Status Information" = $OUTPUT$ Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of nlehouil at telusplanet.net > Sent: Friday, September 16, 2005 9:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem: Distributed Monitoring "Status > Information" = $OUTPUT$ > > Hi all, > > I need a little help with this one. I have setup distributed monitoring > within > a test environment. I have one box configured as a remote sending its > status > checks using nsca. I also have a central monitoring box configured that > accepts the remote boxes send_nsca's. > > The problem is that it shows the following in the central server's > nagios.log: > > [1126844773] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;remote;PING;0;$OUTPUT$ > [1126844833] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;remote;Root > Partition;0;$OUTPUT$ > [1126844893] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;remote;Total > Processes;-1;$OUTPUT$ > [1126844953] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;remote;Current > Load;0;$OUTPUT$ > [1126845013] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;remote;Current > Users;0;$OUTPUT$ > [1126845073] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;remote;PING;0;$OUTPUT$ > > $OUTPUT$ should be "PROCS OK: 50 processes" > > Here is the commands in the checkcommands.cfg: > ############################################################# > define command{ > command_name submit_check_result > > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' > } [snippity do dah] > > On the central server it show all the proper information except the check > command output. Why? Since everything else looks ok, I would have to guess that you're using Nagios 2.x and should be using '$SERVICEOUTPUT$'. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 16 17:43:26 2005 From: marc at ena.com (Marc Powell) Date: Fri, 16 Sep 2005 10:43:26 -0500 Subject: [OT] FW: ITNG: Re your email - RE: Nagios + Postgresql Message-ID: > -----Original Message----- > From: Inder Singh [mailto:inder.singh at itng.com.au] > Sent: Friday, September 16, 2005 9:35 AM > To: Marc Powell > Subject: ITNG: Re your email - RE: [Nagios-users] Nagios + Postgresql > > Hi Marc Powell, > > Thankyou for contacting Inder Singh of IT Next Generation. I am on leave > until the 18th of October. Please direct your query to support at itng.com.au > or call our Support Line on 02 9212 0811. > > For more information on our services please visit our website: > http://www.itng.com.au/ The fact that I am receiving one of these for every post I make to the list and will apparently continue to receive them until the 18th of October has earned you a /dev/null. That's very inconsiderate of you. http://www.ietf.org/rfc/rfc1855.txt, 3.1.1 General Guidelines for mailing lists and NetNews - Consider unsubscribing or setting a "nomail" option (when it's available) when you cannot check your mail for an extended period. - Delivery receipts, non-delivery notices, and vacation programs are neither totally standardized nor totally reliable across the range of systems connected to Internet mail. They are invasive when sent to mailing lists, and some people consider delivery receipts an invasion of privacy. In short, do not use them. > > Inder Singh [13 line .sig removed] http://www.ietf.org/rfc/rfc1855.txt, 2.1.1 For mail: - If you include a signature keep it short. Rule of thumb is no longer than 4 lines. Remember that many people pay for connectivity by the minute, and the longer your message is, the more they pay. Please, the general expectation, at least for me, is that you are technical or at least semi-technical users. When you leave the office, if you choose to or must use a vacation program, please configure it to ignore any listservs you are on or temporarily disable delivery from those listservs until you return. This seems to be a growing problem as non-netiquette aware users join the list and it would be nice if we could stop it before it becomes acceptable practice. If you have the time, a (re-)read of http://www.ietf.org/rfc/rfc1855.txt might be informative to some. It's from 1995 but it's no less valid today. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From James.P.Fuentes at boeing.com Fri Sep 16 18:48:11 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Fri, 16 Sep 2005 09:48:11 -0700 Subject: damn out of office autoreplies Message-ID: <626FC7C6A97381468FB872072AB5DDC801FF25@XCH-SW-42.sw.nos.boeing.com> I figured that goes without saying. How naive and idealistic of me... ________________________________ From: Rossz Vamos-Wentworth [mailto:rossz at vamos-wentworth.org] Sent: Thu 9/15/2005 6:00 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] damn out of office autoreplies I wish people would configure their out-of-office autoreplies to not respond to mail lists. -- Rossz ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Fri Sep 16 18:57:09 2005 From: james.mohr at elaxy.com (Mohr James) Date: Fri, 16 Sep 2005 18:57:09 +0200 Subject: AW: Nagios plugin to copy large text files Message-ID: Marc, I fully understand what the intent of NRPE is. Nagios and NRPE are open source tools with their roots in the UNIX tradition that one can often use a tool to do things other than which is was intented. Often times people who have worked with a product for a long time in real-world environments are able to get programs to do things even the developer didn't know the product could do. (My brother told me a story where he once showed Stephan Bourne something with the Bourne-Shell that Bourne himself said couldn't be done). So, for me, the fact that "NRPE isn't designed to copy files between hosts" is not the issue. (see Gene Kranz in "Apollo 13": "I am not interested in what it was designed to do. I want to know what it can do." "If it lights, it lights. I am not going to hold you personally responsible if it doesn't".) ;-) We are currently using HP OpenView, which allows the executed script/programm to send several kilobytes of data. OpenView also has an additional mechansism which enables us to send megabytes of data. (I have implemented this in a way that OpenView was "not designed to do", to the surprise of HP support. Pushing programs beyond what they are designed to do in order to accomplish the task at hand makes the difference between a good system administrator and an operator. ) We are in the process of moving to Nagios. Many of script that we currently execute via OpenView havae output many times what nrpe can send. In some cases we can cut he output to something that can fit into the 350 character limitation. We still have many scripts that deliver more information than the 350 characters. In these cases, it is not sufficient to have a messages that say "The system has a problem". We need *all* of the information. In those cases where the information we need from the application is greater than 350 characters, the only solution we currently have it to execute the command locally. Since we work in a high security environment, we have to go through at least two additional machines before we get to the machine reporting the problem. Since the information we need to collect is something that we have to pass to our customers, we would need to first connect through the various machines, execute the command and the write down the command output by hand. We cannot cut and paste the text because we are going through the Windows Terminal Server Client. Remote syslog is a possibility and has been investigated. However, the maximum line length is also below the limit that we need so we would have to send individual lines to syslog. Perhaps someone knows a way of sending several KB at once to avoid the possibility that messages are intertwined. Still, syslog isn't designed to copy files between hosts. ;-) scp, ftp, rsync, ftp, wget and CFEngine are not a viable solution for security reasons. Basically, we are not allowed to open ports through the various firewalls without permission from the customer. Several are online brokers that are obviously very security conscious. It is extremely unlikely that all of the would allow us to open additional ports *and* install the necessary applications. Since you can start only the applications that are configured in nrpe.cfg, this is an acceptable risk as the bank auditors that check the brokers servers (which we manage) can instantly identify which applications could be run on the remote system. Even if we got ftp or any of the other applications authorized for every single customer, we have the additional problem of relating the currently executed script to a specific file that we get via ftp. When we see a problem on a remote machine, we are using calling check_nrpe from a web application to execute a specific command on that machine (probably something for which check_nrpe was not designed.) One possible technically possible alternative would be to follow the same path in reverse. Rsync/ftp, etc copied to one machine, then that machine copies it to a second, then that machine copies it to a third and so on. This solution is not acceptable to my boss because of the number of machines involved and the complexity necessary to relate the data/file transfered to the application that the operator just started. We have also investigated the possibility of creating our own client-server application using perl. The only purpose would be to retrieve files from specific directories. This has a greater chance of getting approved because of the limitations we could froce on the program and auditors would be able to see the limitation for themselves. Using nrpe, we would not need to open any additional ports, as the ports has already been approved. It also allows us to restrict which applications are executed. It would also not require any additional programming on our part and there is a direct connection between the Nagios server and the client machine without any intermediaries. Regards, Jim Mohr >> -----Urspr?ngliche Nachricht----- >> Von: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag >> von Marc Powell >> Gesendet: Mittwoch, 14. September 2005 23:14 >> An: Nagios-users at lists.sourceforge.net >> Betreff: RE: [Nagios-users] Nagios plugin to copy large text files >> >> >> >> > -----Original Message----- >> > From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users- >> > admin at lists.sourceforge.net] On Behalf Of Mohr James >> > Sent: Wednesday, September 14, 2005 3:16 PM >> > To: Nagios-users at lists.sourceforge.net >> > Subject: [Nagios-users] Nagios plugin to copy large text files >> > >> > Hi All! >> > >> > I was wondering if there was a Nagios plug-in that was >> able to "copy" >> > large block of text from the agent to the server. This is >> related to >> the >> > "NRPE Character limitation" post I made, but I was thinking of a >> > alternate solution. All we are really interested in is >> getting text >> > files (i.e. /var/log/messages) from the clients to the server. For >> > various reasons, rsync, ftp, and so forth are out of >> the >> > question, so we need a different solution. The first >> thought was nrpe, >> > but we have the problem of being able to only send 350 >> characters. If >> > there is no plug-in, does someone have any ideas or >> suggestions how we >> > can solve this problem? Any and all help is greatly appreciated. >> >> Nagios is not a file management application. NRPE isn't >> designed to copy files between hosts. Both are designed >> solely to execute plugins that return one line of text and >> exit with the proper exit code. Instead of framing your >> problem to us only as solutions you think might work, why >> don't you try to explain what you're trying to accomplish in >> more detail. Something like 'I am trying to use nagios to >> check|detect|verify|other specific words|phrases|problems in specific >> logs|files|other on localhost|other hosts that I can reach by >> ssh|snmp|nrpe|other.' The more detail the better. That way, >> none of us >> are constrained by preconceptions. If your final intent is >> to simply copy log files from one host to another as you >> state, nagios is not the solution. Remote syslog, scp, >> rsync, ftp, wget and possibly CFEngine are better suited to >> that task. >> >> -- >> Marc >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: >> Tame your development challenges with Apache's Geronimo App Server. >> Download it for free - -and be entered to win a 42" plasma >> tv or your very own Sony(tm)PSP. Click here to play: >> http://sourceforge.net/geronimo.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and >> OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null >> ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Fri Sep 16 19:11:56 2005 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 16 Sep 2005 13:11:56 -0400 Subject: Nagios plugin to copy large text files In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > scp, ftp, rsync, ftp, wget and CFEngine are not a viable > solution for security reasons. Basically, we are not allowed > to open ports through the various firewalls without > permission from the customer. Several are online brokers that > are obviously very security conscious. It is extremely > unlikely that all of the would allow us to open additional > ports *and* install the necessary applications. Since you can > start only the applications that are configured in nrpe.cfg, > this is an acceptable risk as the bank auditors that check > the brokers servers (which we manage) can instantly identify > which applications could be run on the remote system. This doesn't make any sense to me. You don't need to open any incoming ports to allow the client machines to scp a file to your Nagios server. Or are you saying these server don't actually have some version of SSH installed on them so you'd have to get SSH software approved? > Even if we got ftp or any of the other applications > authorized for every single customer, we have the additional > problem of relating the currently executed script to a > specific file that we get via ftp. When we see a problem on a > remote machine, we are using calling check_nrpe from a web > application to execute a specific command on that machine > (probably something for which check_nrpe was not designed.) You'd probably need to write your own check that parses through the files that get copied over to the Nagios server. Shouldn't be a big challenge, really. Andrew ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psingh at inforelay.com Fri Sep 16 19:38:19 2005 From: psingh at inforelay.com (Paul Singh) Date: Fri, 16 Sep 2005 13:38:19 -0400 Subject: Problem Installing Plugins Message-ID: <91DC2D1A-2E6D-48AD-96F1-C58B89146036@inforelay.com> Hey all- I've got Nagios installed just fine, but now I'm trying to install the plugins. As I try to compile the plugins, it seems to get stuck on "checking for ICMP ping syntax..." forever. I know that it supposedly takes a while for it to configure itself, but I let it sit for 60 minutes with no luck. I've googled this with little luck so far. I'm hoping someone on the list has experienced this and can get some insight back to me. Thanks. Paul Singh ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at shakabuku.org Fri Sep 16 20:36:32 2005 From: jason at shakabuku.org (Jason Bodnar) Date: Fri, 16 Sep 2005 13:36:32 -0500 Subject: AW: Nagios plugin to copy large text files In-Reply-To: References: Message-ID: <20050916183105.M91994@shakabuku.org> On Fri, 16 Sep 2005 18:57:09 +0200, Mohr James wrote > scp, ftp, rsync, ftp, wget and CFEngine are not a viable solution > for security reasons. Basically, we are not allowed to open ports > through the various firewalls without permission from the customer. > Several are online brokers that are obviously very security > conscious. It is extremely unlikely that all of the would allow us > to open additional ports *and* install the necessary applications. > Since you can start only the applications that are configured in > nrpe.cfg, this is an acceptable risk as the bank auditors that check > the brokers servers (which we manage) can instantly identify which > applications could be run on the remote system. I have not used check_by_ssh but if it doesn't have the character limit you can run sshd on the nrpe port (if you can't get the ssh port opened [which is really bad]) and limit the commands that the user logging in can run. See the "AUTHORIZED_KEYS FILE FORMAT" section of the sshd man page for details. -- Jason Bodnar jason at shakabuku.org http://www.shakabuku.org "You want free speech? Let's see you acknowledge a man whose words make your blood boil who is standing center stage advocating at the top of his lungs that which you would spend a lifetime opposing at the top of yours." -- President Andrew Shephard, "The American President" ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Fri Sep 16 21:14:26 2005 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 16 Sep 2005 20:14:26 +0100 Subject: Problem Installing Plugins In-Reply-To: <91DC2D1A-2E6D-48AD-96F1-C58B89146036@inforelay.com> References: <91DC2D1A-2E6D-48AD-96F1-C58B89146036@inforelay.com> Message-ID: On 16 Sep 2005, at 18:38, Paul Singh wrote: > Hey all- > > I've got Nagios installed just fine, but now I'm trying to install > the plugins. As I try to compile the plugins, it seems to get stuck > on "checking for ICMP ping syntax..." forever. > > I know that it supposedly takes a while for it to configure itself, > but I let it sit for 60 minutes with no luck. > > I've googled this with little luck so far. I'm hoping someone on > the list has experienced this and can get some insight back to me. I haven't heard this before, but it is definitely not good. This is more of a plugin issue than a Nagios issue. Which version of the plugins? Which OS are you trying this on? Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Sep 16 21:38:14 2005 From: marc at ena.com (Marc Powell) Date: Fri, 16 Sep 2005 14:38:14 -0500 Subject: Nagios plugin to copy large text files Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mohr James > Sent: Friday, September 16, 2005 11:57 AM > To: Nagios-users at lists.sourceforge.net > Subject: AW: [Nagios-users] Nagios plugin to copy large text files > > Marc, > > I fully understand what the intent of NRPE is. Nagios and NRPE are open > source tools with their roots in the UNIX tradition that one can often use > a tool to do things other than which is was intented. Often times people > who have worked with a product for a long time in real-world environments > are able to get programs to do things even the developer didn't know the > product could do. (My brother told me a story where he once showed Stephan > Bourne something with the Bourne-Shell that Bourne himself said couldn't > be done). So, for me, the fact that "NRPE isn't designed to copy files > between hosts" is not the issue. (see Gene Kranz in "Apollo 13": "I am not > interested in what it was designed to do. I want to know what it can do." > "If it lights, it lights. I am not going to hold you personally > responsible if it doesn't".) ;-) I am one of those people who pushes programs to their limits. My response to your statements above is that they don't apply in this case. A more useful analogy is that while my mail server can talk to your mail server I can't get it to send me your /var/log/messages file no matter how hard I try. The functionality simply doesn't exist and with good reason. Being able to do something with bash that Stephan Bourne didn't know could be done is a far cry from getting NRPE to transfer files between hosts. In the former case it's a fair bet that your brother exploited existing functionality, however obscure, in the bash shell. NRPE has no code to create or manage files on either host. NRPE has no code to transfer large amounts of data in a safe manner. It's going to take more than fiddling with the value of a variable or two to achieve those objectives. In the tradition of open source, if you want that functionality you are certainly free to take the source code and add it yourself or kindly submit it as a feature request to the developer. > We are currently using HP OpenView, which allows the executed > script/programm to send several kilobytes of data. OpenView also has an > additional mechansism which enables us to send megabytes of data. ( tooting>I have implemented this in a way that OpenView was "not designed > to do", to the surprise of HP support. Pushing programs beyond what they > are designed to do in order to accomplish the task at hand makes the > difference between a good system administrator and an operator. tooting>) [opinion] All tooting aside, a good system administrator should also be able to recognize that there are good ways and bad ways of doing things, practical and impractical and when business decisions are creating an environment where good and practical are forcing you to come up with ever more obscure and difficult to maintain solutions to problems that have numerous valid and accepted solutions. A good system administrator recognizes when they are becoming a silo of information and creating an environment where they can not be replaced or are creating a system that only they can support. Will the person who replaces you know that your version of NRPE is different than the version that the rest of us are using? Will they be able to upgrade it when new functionality is added by the developer? Will they come to us for support when it doesn't work properly? Additionally, Nagios != OpenView (thank goodness) and is much more flexible. Expecting the feature sets between the two programs to be the same or similar is naive. [/opinion] [snip] > We have also investigated the possibility of creating our own client- > server application using perl. The only purpose would be to retrieve files > from specific directories. This has a greater chance of getting approved > because of the limitations we could froce on the program and auditors > would be able to see the limitation for themselves. This would be my direction given the same circumstances or create a custom plugin that does what you want. You're indicating that these same auditors might be comfortable with you _in theory_ being able to copy arbitrary files off the remote machines with NRPE IF that functionality existed in NRPE? I'd expect that a purpose built solution would be more likely to receive approval than a general solution given these circumstances. > Using nrpe, we would not need to open any additional ports, as the ports > has already been approved. It also allows us to restrict which > applications are executed. It would also not require any additional > programming on our part and there is a direct connection between the > Nagios server and the client machine without any intermediaries. As indicated above, it _will_ require additional programming. Nagios itself will as well I suspect since it's only going to expect 1 line of text + exit code from NRPE. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 16 22:01:25 2005 From: marc at ena.com (Marc Powell) Date: Fri, 16 Sep 2005 15:01:25 -0500 Subject: Problem Installing Plugins Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Paul Singh > Sent: Friday, September 16, 2005 12:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem Installing Plugins > > Hey all- > > I've got Nagios installed just fine, but now I'm trying to install > the plugins. As I try to compile the plugins, it seems to get stuck > on "checking for ICMP ping syntax..." forever. > > I know that it supposedly takes a while for it to configure itself, > but I let it sit for 60 minutes with no luck. That's certainly excessive and shouldn't take longer than a couple minutes. Some leading questions -- What does config.log indicate? Is your ping command executable as the user configure is being run as? Can you ping? What is it's output? What OS is this being done on? Do you have SELinux enabled and is it interfering with your ability to ping hosts? -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 16 22:16:52 2005 From: marc at ena.com (Marc Powell) Date: Fri, 16 Sep 2005 15:16:52 -0500 Subject: Problem Installing Plugins Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Friday, September 16, 2005 3:01 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Problem Installing Plugins > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Paul Singh > > Sent: Friday, September 16, 2005 12:38 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Problem Installing Plugins > > > > Hey all- > > > > I've got Nagios installed just fine, but now I'm trying to install > > the plugins. As I try to compile the plugins, it seems to get stuck > > on "checking for ICMP ping syntax..." forever. > > > > I know that it supposedly takes a while for it to configure itself, > > but I let it sit for 60 minutes with no luck. > > That's certainly excessive and shouldn't take longer than a couple > minutes. Some leading questions -- > > What does config.log indicate? > Is your ping command executable as the user configure is being run as? > Can you ping? This should have been 'Can you ping localhost?'. [snip] ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pfitzpatrick at netsuite.com Fri Sep 16 22:45:44 2005 From: pfitzpatrick at netsuite.com (Fitzpatrick, Paul) Date: Fri, 16 Sep 2005 13:45:44 -0700 Subject: CLI alternative to web interface Message-ID: <2BF1D777D914174DB2F6874540E3B6C704EE1348@corpmail1.svale.netledger.com> Is there a CLI method of doing such things as disabling/enabling a check, notifications, etc for a single host? That is, things the web gui allows you to do to manage service checks, but using a script instead. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Fri Sep 16 23:00:28 2005 From: james.mohr at elaxy.com (Mohr James) Date: Fri, 16 Sep 2005 23:00:28 +0200 Subject: AW: Nagios plugin to copy large text files Message-ID: >> > -----Original Message----- >> > From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users- >> > admin at lists.sourceforge.net] On Behalf Of Mohr James >> > Sent: Friday, September 16, 2005 11:57 AM >> > To: Nagios-users at lists.sourceforge.net >> > Subject: AW: [Nagios-users] Nagios plugin to copy large text files >> > >> > Marc, >> > >> > I fully understand what the intent of NRPE is. Nagios and NRPE are >> open >> > source tools with their roots in the UNIX tradition that >> one can often >> use >> > a tool to do things other than which is was intented. Often times >> people >> > who have worked with a product for a long time in real-world >> environments >> > are able to get programs to do things even the developer >> didn't know >> the >> > product could do. (My brother told me a story where he once showed >> Stephan >> > Bourne something with the Bourne-Shell that Bourne himself said >> couldn't >> > be done). So, for me, the fact that "NRPE isn't designed >> to copy files >> > between hosts" is not the issue. (see Gene Kranz in >> "Apollo 13": "I am >> not >> > interested in what it was designed to do. I want to know >> what it can >> do." >> > "If it lights, it lights. I am not going to hold you personally >> > responsible if it doesn't".) ;-) >> >> I am one of those people who pushes programs to their >> limits. My response to your statements above is that they >> don't apply in this case. >> A more useful analogy is that while my mail server can talk >> to your mail server I can't get it to send me your >> /var/log/messages file no matter how hard I try. The >> functionality simply doesn't exist and with good reason. >> Being able to do something with bash that Stephan Bourne >> didn't know could be done is a far cry from getting NRPE to >> transfer files between hosts. In the former case it's a fair >> bet that your brother exploited existing functionality, >> however obscure, in the bash shell. >> NRPE has no code to create or manage files on either host. >> NRPE has no code to transfer large amounts of data in a safe >> manner. It's going to take more than fiddling with the value >> of a variable or two to achieve those objectives. In the >> tradition of open source, if you want that functionality you >> are certainly free to take the source code and add it >> yourself or kindly submit it as a feature request to the developer. Well, Marc, if you look back at the email you sent, up to now, the only half-way relevant thing you said was: "Nagios is not a file management application. NRPE isn't designed to copy files between hosts. Both are designed solely to execute plugins that return one line of text and exit with the proper exit code." Up to now, no one has come out and said that what I am trying to accomplish is *impossible*. My original post started with: "I was wondering if there was a Nagios plug-in that was able to "copy" large block of text from the agent to the server." The OpenView programm I "pushed" not is also "not a file management application" and it "isn't designed to copy files between hosts. Both are designed solely to execute plugins that return one line of text and exit with the proper exit code." However, I did it. I am sure that the HP developers that initially told support that it can't be done, "said that functionality simply doesn't exist and with good reason." OpenView does not have the same character limitation as Nagios. OpenView found a very viable solution to the atomic write problem without having to limit the amount of data. Furthermore, the OpenView messages survive system restarts far more reliably than Nagios. If the server goes down, messages sent via send_nsca are not lost, for example. So, I am really curious as what the "good reason" was that Nagios does not implement the same level of reliability as OpenView. Nrpe **does** have code to execute commands and send the output to check_nrpe, which does have code display the output of the command that nrpe execute. The nrpe on the remote system runs "cat source_filename" and you run "check_nrpe > destination_file" completely external to Nagios. What "file management" functions are needed. On the remote side, I could run "find ./ -name filename -exec cat {} \;" and it wouldn't matter to nrpe, it simply returns the text to check_nrpe. Just so that we both know that we are talking about the same thing, what in my post did I say that led you to believe I needed "a file management application"? I would like to know so I can clarify the statement. As far, as I can find in my post, all I said was that I need a "large block of text". Where did I say that one of my "objectives" (your word) or blief that nrpe has "code to create or manage files on either host"? >> > We are currently using HP OpenView, which allows the executed >> > script/programm to send several kilobytes of data. >> OpenView also has >> an >> > additional mechansism which enables us to send megabytes of data. >> (> > tooting>I have implemented this in a way that OpenView was "not >> designed >> > to do", to the surprise of HP support. Pushing programs beyond what >> they >> > are designed to do in order to accomplish the task at hand >> makes the >> > difference between a good system administrator and an >> operator. > > tooting>) >> >> [opinion] >> All tooting aside, a good system administrator should also >> be able to recognize that there are good ways and bad ways >> of doing things, practical and impractical and when business >> decisions are creating an environment where good and >> practical are forcing you to come up with ever more obscure >> and difficult to maintain solutions to problems that have >> numerous valid and accepted solutions. There was nothing, at all, in your originaly post that said that NRPE *cannot* do what I ask. You simply stated that it was not designed for it. So, I think it is very unfair of you to imply that I am not a "good system administrator" system administrator because I cannot "recognize that there are good ways and bad ways of doing things". (Perhaps I am simply infering this) Still, up to now, neither you, nor anyone else has come flat and and said "It can't be done". There are a number of posts in the list archives that discuss the issue of the character limitation, so obviously wanting this ability is not unheard of. There are posts about changing values in various source files, but that I am not happy with that solution. >> A good system >> administrator recognizes when they are becoming a silo of >> information and creating an environment where they can not >> be replaced or are creating a system that only they can >> support. Will the person who replaces you know that your >> version of NRPE is different than the version that the rest >> of us are using? Will they be able to upgrade it when new >> functionality is added by the developer? Will they come to >> us for support when it doesn't work properly? Additionally, >> Nagios != OpenView (thank goodness) and is much more >> flexible. Expecting the feature sets between the two >> programs to be the same or similar is naive. >> [/opinion] A good system administrator documents his or her system properly so that everyone knows where/what the differences are. We are not so "naive" as to simply recompile check_nrpe (for example) and leave the name the same. By calling the programm COMPANY_NAME_check_nrpe, it is self documenting, in addition to the entries in or operations manual. We do that with basically all of our scripts and I would highly recommend this practice. (We do have some people who simply ingore this unwritten rule.) Also, I think your comment "Additionally, Nagios != OpenView (thank goodness) and is much more flexible" does not reflect reality. Although there are a few things that Nagios does do better, I have run into a number of cases where the response from the list was more or less "Nope, can't do that in Nagios. If you don't like it then stick with OpenView." Further the functionality that is built into Nagios is limited compared to what OpenView does by default. There are plugins for more wide-spread products than Nagios, they all integrate without any extra effort and when one breaks, I have one single source for support. Unlike many open source project, there are freuquently comments like "it not an official plugin, so you're on your own." Please, don't see this as an attack on the wonderful work that Nagios it. However, a "good system administrator" does not blindly stick with a product because it is open source or because it is not open source. You get what you pay for, and after working with OpenView for over five years, I can definately say it was worth the money. >> [snip] >> >> > We have also investigated the possibility of creating our >> own client- >> > server application using perl. The only purpose would be >> to retrieve >> files >> > from specific directories. This has a greater chance of getting >> approved >> > because of the limitations we could froce on the program >> and auditors >> > would be able to see the limitation for themselves. >> >> This would be my direction given the same circumstances or >> create a custom plugin that does what you want. You're >> indicating that these same auditors might be comfortable >> with you _in theory_ being able to copy arbitrary files off >> the remote machines with NRPE IF that functionality existed >> in NRPE? I'd expect that a purpose built solution would be >> more likely to receive approval than a general solution >> given these circumstances. Granted, at least in theory. However, we still need to write and maintain it. There is also a time factor here (we don't have the extra time needed to program it). >> > Using nrpe, we would not need to open any additional ports, as the >> ports >> > has already been approved. It also allows us to restrict which >> > applications are executed. It would also not require any >> additional >> > programming on our part and there is a direct connection >> between the >> > Nagios server and the client machine without any intermediaries. >> >> As indicated above, it _will_ require additional >> programming. Nagios itself will as well I suspect since it's >> only going to expect 1 line of text + exit code from NRPE. I think that changing the value on a header file is far simpler than writing a client-server application. Thus, I would not call changing a .h file to be "additional programming". ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Fri Sep 16 23:02:42 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 16 Sep 2005 16:02:42 -0500 Subject: CLI alternative to web interface In-Reply-To: <2BF1D777D914174DB2F6874540E3B6C704EE1348@corpmail1.svale.netledger.com> References: <2BF1D777D914174DB2F6874540E3B6C704EE1348@corpmail1.svale.netledger.com> Message-ID: <1126904562.15324.36.camel@chi100400> On Fri, 2005-09-16 at 13:45 -0700, Fitzpatrick, Paul wrote: > Is there a CLI method of doing such things as disabling/enabling a check, notifications, etc for a single > host? That is, things the web gui allows you to do to manage service checks, but using a script instead. absolutely. Just echo whatever would be pushed into the nagios.cmd file (manually, via a script, whatever). The easiest way (for me) to determine what you should be echoing is to make sure logging is turned on for whatever action you're trying to do. Do the action via the web interface, and watch it happen in the logs. Then mimic it. As an example, to Ack an alert: ---------- TIME="`date +%s`" host=hostname service=Ping sticky=0 notify=1 persistent_comment=0 acknowledger=Boinger comment="Paul unplugged the ethernet cable." echo "[$TIME] ACKNOWLEDGE_SVC_PROBLEM;$host;$service;$sticky;$notify; $persistent_comment;$acknowledger;$comment" > nagios_cmd ----------- > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From gdanko at gmail.com Fri Sep 16 23:17:59 2005 From: gdanko at gmail.com (Gary Danko) Date: Fri, 16 Sep 2005 14:17:59 -0700 Subject: check_http succeeds on command line but fails in nagios Message-ID: <6c5c451f050916141715cc940f@mail.gmail.com> I have a simple PHP page that checks about 1,200 Windows shares across a network. The page takes about 80-90 seconds to run in a browser. I can execute the check_http command in the terminal while logged in as the nagios user and receive positive results. [nagios at monitor1 /]$ /usr/local/nagios/libexec/check_http -I 127.0.0.1 -u "/storage_check.php" -t 300 -s "No errors." HTTP OK HTTP/1.1 200 OK - 81.907 second response time |time=81.906808s;;;0.000000 size=61452B;;;0 However, when nagios attempts to check this item, it gives me a "(Service Check Timed Out)" error. I can see nagios running the command in the process list. [root at monitor1 html]# ps auxww | grep 127.0 nagios 19727 0.0 0.2 4788 2104 ? S 13:58 0:00 /usr/local/nagios/libexec/check_http -I 127.0.0.1 -t 300 -u /storage_check.php -s No errors. Here is the Service State information: Current Status: CRITICAL Status Information: (Service Check Timed Out) Performance Data: Current Attempt: 6/6 State Type: HARD Last Check Type: ACTIVE Last Check Time: 09-16-2005 14:14:18 Status Data Age: 0d 0h 2m 31s Next Scheduled Active Check: 09-16-2005 14:18:18 Latency: 0.137 seconds Check Duration: 60.006 seconds Last State Change: 09-16-2005 13:31:04 Current State Duration: 0d 0h 45m 45s Last Service Notification: 09-16-2005 13:42:06 Current Notification Number: 1 Is This Service Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 09-16-2005 14:16:42 Any ideas what could be going wrong? I have other http-based status checks similar to this one that do not give me any hassle. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Fri Sep 16 23:32:22 2005 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 16 Sep 2005 17:32:22 -0400 Subject: check_http succeeds on command line but fails in nagios In-Reply-To: <6c5c451f050916141715cc940f@mail.gmail.com> References: <6c5c451f050916141715cc940f@mail.gmail.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > I have a simple PHP page that checks about 1,200 Windows > shares across a network. The page takes about 80-90 seconds > to run in a browser. Nagios typically only waits about 10 seconds for a plugin to return information. Any longer and it just times out. The workaround here would be to have a cron job that runs at whatever interval you're using in your check and grabs the output from that page and publishes it at another URL. Then just run your check_http command against the second URL. Andrew ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 16 23:38:32 2005 From: teng at dataway.com (Tedman Eng) Date: Fri, 16 Sep 2005 14:38:32 -0700 Subject: check_http succeeds on command line but fails in nagios Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2B91@dw-mail.dataway.com> Nagios has 2 timeout values to look at. Global service check timeout in nagios.cfg: service_check_timeout=# host_check_timeout=# Plugin's own timeout setting in checkcommands.cfg: define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ -t # } > -----Original Message----- > From: Gary Danko [mailto:gdanko at gmail.com] > Sent: Friday, September 16, 2005 2:18 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http succeeds on command line > but fails in > nagios > > > I have a simple PHP page that checks about 1,200 Windows shares across > a network. The page takes about 80-90 seconds to run in a browser. > > I can execute the check_http command in the terminal while logged in > as the nagios user and receive positive results. > > [nagios at monitor1 /]$ /usr/local/nagios/libexec/check_http -I 127.0.0.1 > -u "/storage_check.php" -t 300 -s "No errors." > HTTP OK HTTP/1.1 200 OK - 81.907 second response time > |time=81.906808s;;;0.000000 size=61452B;;;0 > > However, when nagios attempts to check this item, it gives me a > "(Service Check Timed Out)" error. I can see nagios running the > command in the process list. > > [root at monitor1 html]# ps auxww | grep 127.0 > nagios 19727 0.0 0.2 4788 2104 ? S 13:58 0:00 > /usr/local/nagios/libexec/check_http -I 127.0.0.1 -t 300 -u > /storage_check.php -s No errors. > > Here is the Service State information: > > Current Status: CRITICAL > Status Information: (Service Check Timed Out) > Performance Data: > Current Attempt: 6/6 > State Type: HARD > Last Check Type: ACTIVE > Last Check Time: 09-16-2005 14:14:18 > Status Data Age: 0d 0h 2m 31s > Next Scheduled Active Check: 09-16-2005 14:18:18 > Latency: 0.137 seconds > Check Duration: 60.006 seconds > Last State Change: 09-16-2005 13:31:04 > Current State Duration: 0d 0h 45m 45s > Last Service Notification: 09-16-2005 13:42:06 > Current Notification Number: 1 > Is This Service Flapping? N/A > Percent State Change: N/A > In Scheduled Downtime? NO > Last Update: 09-16-2005 14:16:42 > > Any ideas what could be going wrong? I have other http-based status > checks similar to this one that do not give me any hassle. > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv > or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gdanko at gmail.com Fri Sep 16 23:35:36 2005 From: gdanko at gmail.com (Gary Danko) Date: Fri, 16 Sep 2005 14:35:36 -0700 Subject: check_http succeeds on command line but fails in nagios In-Reply-To: References: <6c5c451f050916141715cc940f@mail.gmail.com> Message-ID: <6c5c451f0509161435d5691e9@mail.gmail.com> Then what is the purpose of the "-t" switch in check_http? On 9/16/05, Andrew Cruse wrote: > nagios-users-admin at lists.sourceforge.net wrote: > > I have a simple PHP page that checks about 1,200 Windows > > shares across a network. The page takes about 80-90 seconds > > to run in a browser. > > Nagios typically only waits about 10 seconds for a plugin to return > information. Any longer and it just times out. > > The workaround here would be to have a cron job that runs at whatever > interval you're using in your check and grabs the output from that page > and publishes it at another URL. Then just run your check_http command > against the second URL. > > Andrew > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Sep 17 00:42:51 2005 From: marc at ena.com (Marc Powell) Date: Fri, 16 Sep 2005 17:42:51 -0500 Subject: Nagios plugin to copy large text files Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mohr James > Sent: Friday, September 16, 2005 4:00 PM > To: Nagios-users at lists.sourceforge.net > Subject: AW: [Nagios-users] Nagios plugin to copy large text files > > >> > -----Original Message----- > >> > From: nagios-users-admin at lists.sourceforge.net > >> [mailto:nagios-users- > >> > admin at lists.sourceforge.net] On Behalf Of Mohr James > >> > Sent: Friday, September 16, 2005 11:57 AM > >> > To: Nagios-users at lists.sourceforge.net > >> > Subject: AW: [Nagios-users] Nagios plugin to copy large text [snip] > Well, Marc, if you look back at the email you sent, up to now, the > only > half-way relevant thing you said was: > > "Nagios is not a file management application. NRPE isn't designed to > copy files between hosts. Both are designed solely to execute plugins > that return one line of text and exit with the proper exit code." > > Up to now, no one has come out and said that what I am trying to > accomplish is *impossible*. My original post started with: Up to your last e-mail you hadn't explained in sufficient detail what you were trying to do and under what restrictions. My responses have reflected the amount and type of information you have supplied and in fact I specifically tried to elicit more detailed information from you in order to provide a more specific answer. > "I was wondering if there was a Nagios plug-in that was able to "copy" > large block of text from the agent to the server." Which is very different than what you ended up needing. First - "The bottom line is we want/need to return larger amounts of data. Thus, I need to find the place(s) where I should change the code, as well as the place(s) where there are problems." Then - "I was wondering if there was a Nagios plug-in that was able to "copy" large block of text from the agent to the server." Then - "All we are really interested in is getting text files (i.e. /var/log/messages) from the clients to the server." Then - "scp, ftp, rsync, ftp, wget and CFEngine are not a viable solution for security reasons. Basically, we are not allowed to open ports through the various firewalls without permission from the customer." Then - "The only purpose would be to retrieve files from specific directories. This has a greater chance of getting approved because of the limitations we could froce on the program and auditors would be able to see the limitation for themselves." This still leaves out what you intended NRPE to do with these files once it retrieved them, where to put them, etc. > the amount of data. Furthermore, the OpenView messages survive system > restarts far more reliably than Nagios. If the server goes down, > messages sent via send_nsca are not lost, for example. So, I am really > curious as what the "good reason" was that Nagios does not implement > the > same level of reliability as OpenView. Perhaps because Nagios/NRPE have one main developer with different priorities to date? > Nrpe **does** have code to execute commands and send the output to > check_nrpe, which does have code display the output of the command > that > nrpe execute. The nrpe on the remote system runs "cat source_filename" > and you run "check_nrpe > destination_file" completely external to > Nagios. What "file management" functions are needed. On the remote > side, > I could run "find ./ -name filename -exec cat {} \;" and it wouldn't > matter to nrpe, it simply returns the text to check_nrpe. So your expectation was that NRPE would pass on these large data streams to Nagios to store internally and display in the CGI's? Clearly you haven't thought that through very well. Per the plugin specs, which NRPE executes on the behalf of Nagios, it's expecting one line of output and an exit code. As you've indicated, NRPE doesn't care _what_ the plugin does, as long as it returns the expected output. Nagios is expecting the same, one line of output and an exit code. Nothing more. > Just so that we both know that we are talking about the same thing, > what > in my post did I say that led you to believe I needed "a file > management > application"? I would like to know so I can clarify the statement. As > far, as I can find in my post, all I said was that I need a "large > block > of text". Where did I say that one of my "objectives" (your word) or > blief that nrpe has "code to create or manage files on either host"? "All we are really interested in is getting text files (i.e. /var/log/messages) from the clients to the server." This is a file management task. There are tools designed specifically for this task. I don't know about yours but my /var/log/messages files are usually several megs in size or more. [chop] > neither you, nor anyone else has come flat and and said "It can't be > done". There are a number of posts in the list archives that discuss > the You have only just explained with sufficient detail what your intent was. I'm not saying it can't be done. I'm saying you can't do it _through_ NRPE. NRPE can execute a plugin on the remote host which then SCP's or otherwise pushes the files to your nagios server using some other mechanism but you cannot use it to essentially retrieve the file through the same socket connection. [chop] > Also, I think your comment "Additionally, Nagios != OpenView (thank > goodness) and is much more flexible" does not reflect reality. > Although > there are a few things that Nagios does do better, I have run into a > number of cases where the response from the list was more or less > "Nope, > can't do that in Nagios. If you don't like it then stick with > OpenView." > Further the functionality that is built into Nagios is limited > compared > to what OpenView does by default. There are plugins for more wide- > spread > products than Nagios, they all integrate without any extra effort and Apples and oranges. Different purposes, different design goals, different methods. I personally find that I'm able to do things with Nagios very easily that would have been difficult or impossible under OpenView. > when one breaks, I have one single source for support. Unlike many > open > source project, there are freuquently comments like "it not an > official > plugin, so you're on your own." I'm certainly not going to get into a discussion of the relative benefits of open/closed/proprietary programs and support. Suffice it to say that anyone using Open Source software should be well aware that they alone are responsible for the support, use and application of said software unless they contract with someone who provides support for Open Source products or the product developer provides such services. We're just here because we desire to help and expand our understanding of the products we use. > Please, don't see this as an attack on the wonderful work that Nagios > it. However, a "good system administrator" does not blindly stick with > a > product because it is open source or because it is not open source. > You > get what you pay for, and after working with OpenView for over five I concur. Proprietary and open source products each have their strong points. You choose the one that best suits your specific needs. [chop] -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Sat Sep 17 00:46:52 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Fri, 16 Sep 2005 15:46:52 -0700 Subject: Host alive checking - why do I need a service? Message-ID: <20050916224652.GG3084@think.alaya.mine.nu> If I have some hosts that I want to check with nagios to see if they are alive, why do I have to also define a service for the host, since the host stanza already provides for a ping check. Is it not redundant to have another ping check as a service? ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Sep 17 00:53:08 2005 From: marc at ena.com (Marc Powell) Date: Fri, 16 Sep 2005 17:53:08 -0500 Subject: CLI alternative to web interface Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of jeff vier > Sent: Friday, September 16, 2005 4:03 PM > To: Fitzpatrick, Paul > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] CLI alternative to web interface > > On Fri, 2005-09-16 at 13:45 -0700, Fitzpatrick, Paul wrote: > > Is there a CLI method of doing such things as disabling/enabling a > check, notifications, etc for a single > > host? That is, things the web gui allows you to do to manage > service checks, but using a script instead. > > absolutely. > > Just echo whatever would be pushed into the nagios.cmd file (manually, > via a script, whatever). > > The easiest way (for me) to determine what you should be echoing is to > make sure logging is turned on for whatever action you're trying to > do. > Do the action via the web interface, and watch it happen in the logs. > > Then mimic it. > > As an example, to Ack an alert: > ---------- > TIME="`date +%s`" > host=hostname > service=Ping > sticky=0 > notify=1 > persistent_comment=0 > acknowledger=Boinger > comment="Paul unplugged the ethernet cable." > > echo "[$TIME] ACKNOWLEDGE_SVC_PROBLEM;$host;$service;$sticky;$notify; > $persistent_comment;$acknowledger;$comment" > nagios_cmd Interestingly enough, I discovered this new documentation today. It even includes shell script examples for each external command -- http://www.nagios.org/developerinfo/externalcommands/commandlist.php I am not aware of any general use command-line interfaces to Nagios. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Sep 17 00:56:44 2005 From: marc at ena.com (Marc Powell) Date: Fri, 16 Sep 2005 17:56:44 -0500 Subject: Host alive checking - why do I need a service? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of prosolutions at gmx.net > Sent: Friday, September 16, 2005 5:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host alive checking - why do I need a service? > > > If I have some hosts that I want to check with nagios to see if they > are > alive, why do I have to also define a service for the host, since the > host stanza already provides for a ping check. Is it not redundant to > have another ping check as a service? Nagios is primarily a service monitor. Hosts are never* checked unless a service on the host fails so you must have at least one service defined for a host. Host and service check logic is also significantly different. -- Marc *Nagios 2.x introduces scheduled host checks but their use is discouraged. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Sat Sep 17 01:18:41 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Fri, 16 Sep 2005 16:18:41 -0700 Subject: Host alive checking - why do I need a service? In-Reply-To: References: Message-ID: <20050916231841.GH3084@think.alaya.mine.nu> > > > > If I have some hosts that I want to check with nagios to see if they > > are > > alive, why do I have to also define a service for the host, since the > > host stanza already provides for a ping check. Is it not redundant to > > have another ping check as a service? > > Nagios is primarily a service monitor. Hosts are never* checked unless a > service on the host fails so you must have at least one service defined > for a host. Host and service check logic is also significantly > different. > I see. I actually thought the opposite: that nagios would check the host first, and if it was not alive then it would not even bother to check the service(s) associated with it. What you are saying is the reverse. Thank you for the clarification! -- Daniel ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at shakabuku.org Sat Sep 17 02:30:12 2005 From: jason at shakabuku.org (Jason Bodnar) Date: Fri, 16 Sep 2005 19:30:12 -0500 Subject: Using a hostgroup to define another hostgroup? Message-ID: <20050917002623.M76731@shakabuku.org> I'm pretty sure this doesn't work. I've tried it and get an error, but just in case I'm missing something I thought I'd ask. I've got: define hostgroup{ hostgroup_name remote_servers alias Remote Servers members call_servers,www } call_servers is a hostgroup, www is a host. The error message I get is: Error: Could not find any host matching 'call_servers' Error: Could not expand member hosts specified in hostgroup (config file '/etc/nagios/cfg.d/hosts/remote_servers.cfg', starting on line 1) Am I defining this wrong? Or, is this just not possible? -- Jason Bodnar jason at shakabuku.org http://www.shakabuku.org "You want free speech? Let's see you acknowledge a man whose words make your blood boil who is standing center stage advocating at the top of his lungs that which you would spend a lifetime opposing at the top of yours." -- President Andrew Shephard, "The American President" ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossz at vamos-wentworth.org Sat Sep 17 04:35:03 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Fri, 16 Sep 2005 19:35:03 -0700 Subject: AW: Nagios plugin to copy large text files In-Reply-To: References: Message-ID: <432B80D7.8040805@vamos-wentworth.org> Mohr James wrote: >We are currently using HP OpenView, which allows the executed script/programm to send several kilobytes of data. OpenView also has an additional mechansism which enables us to send megabytes of data. (I have implemented this in a way that OpenView was "not designed to do", to the surprise of HP support. Pushing programs beyond what they are designed to do in order to accomplish the task at hand makes the difference between a good system administrator and an operator. ) > > If you are running passive checks, have the script that does the checks email the reports somewhere. Alternately, scp or ftp the file to a central location. Why make this more complicated that it needs to be? -- Rossz ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mklaphek at cedarpath.com Sat Sep 17 04:35:41 2005 From: mklaphek at cedarpath.com (Michael S. Klapheke) Date: Fri, 16 Sep 2005 22:35:41 -0400 Subject: Passive Check Problem with NSCA Message-ID: <000301c5bb30$83d58500$6401c80a@Mike> Hi. I spent some time looking around in the archive. While I found similar items, I couldn't find anything that matched my problem. I have installed the NSCA Client on a W2K server and configured external commands and NSCA on the Nagios server. I followed the documentation as closely as I could and also reviewed the numerous postings in various sites; however, the Service Status remains at "Pending," even though several events have been sent to it. If I look at /var/log/messages, I can see several entries (two are listed below): >From tail -f /var/log/messages: Sep 16 21:23:59 server1 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;cp-web1;Application EventLog;2;Ap plication [error] [nagioseventlog test #1]: Test message Sep 16 21:24:44 server1 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;cp-web1;Application EventLog;2;Ap plication [error] [nagioseventlog test #1]: Test message If I look at the Nagios Event Log, I see the following: [09-16-2005 21:24:44] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;cp-web1;Application EventLog;2;Application [error] [nagioseventlog test #1]: Test message [09-16-2005 21:23:59] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;cp-web1;Application EventLog;2;Application [error] [nagioseventlog test #1]: Test message cp-web1 is defined in the host definition as well as for several services. For the NSCA service definition, I have enabled Passive Checks and disabled Active Checks. >From what I can tell, the information is getting to Nagios, but it's not showing up on the Service Status page (the status shows Pending for over an hour now). Any help is appreciated. Thanks Mike Mike Klapheke Consulting Engineer Cedar Path Solutions Group, Inc. 315.437.4724 x111 315.430.4788(call) eFax: 208.728.2682 mklaphek at cedarpath.com www.cedarpath.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 5454 bytes Desc: not available URL: From rossz at vamos-wentworth.org Sat Sep 17 04:58:26 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Fri, 16 Sep 2005 19:58:26 -0700 Subject: Successful deployment of Nagios Message-ID: <432B8652.4050007@vamos-wentworth.org> I installed nagios a couple of weeks ago after I got a frantic email on a Sunday afternoon from the person who contracts me to manage his ecommerce server. The system was down and had been down for several hours. The problem was easily resolved, fortunately. However, I did not consider it up to my professional standards to have the owner contact me when there was a problem. I should have KNOWN there was a problem and dealt with it, even on a Sunday afternoon. So in goes Nagios onto my personal Linux box that sits in my closet, http://vamos-wentworth.org/rossz/?p=59. I configured it to actively monitor the http and ftp services and passively monitor disk space, cpu load, and the mysql process. I also added two other servers I am responsible for. This morning the monitored host went down at 10:00am. At 10:09am I received the alert as a text message on my cell phone. I immediately pulled up the Nagios status screen and saw it was definitely down (had to check, just in case I screwed up the configuration), verified I could not log in via ssh, and immediately contacted the hosting company. By 10:30am the system was back up and running. I emailed the owner to let him know there was a problem, and that it had been dealt with quickly. I don't need to let him know about every little glitch, but this was the first time Nagios proved its worth so I made an exception. All in all, I'm a very happy BOFH. Now all I need is a plugin that monitors windoze boxes for Internet Explorer use with an event handler that applies high voltage to the genitals of the offender. -- Rossz ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Sep 17 05:51:10 2005 From: marc at ena.com (Marc Powell) Date: Fri, 16 Sep 2005 22:51:10 -0500 Subject: check_http succeeds on command line but fails in nagios Message-ID: Plugins should have a timeout option in order to terminate themselves if they run to long and to prevent process build up. Nagios's timeout is there in the event the plugin doesn't terminate itself. Both are adjustable to your needs but the nagios timeout should be greater than the longest plugin timeout you specify. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Gary Danko > Sent: Friday, September 16, 2005 4:36 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_http succeeds on command line but fails > in nagios > > Then what is the purpose of the "-t" switch in check_http? > > On 9/16/05, Andrew Cruse wrote: > > nagios-users-admin at lists.sourceforge.net wrote: > > > I have a simple PHP page that checks about 1,200 Windows > > > shares across a network. The page takes about 80-90 seconds > > > to run in a browser. > > > > Nagios typically only waits about 10 seconds for a plugin to return > > information. Any longer and it just times out. > > > > The workaround here would be to have a cron job that runs at whatever > > interval you're using in your check and grabs the output from that page > > and publishes it at another URL. Then just run your check_http command > > against the second URL. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Sat Sep 17 22:22:20 2005 From: mailings at good-it.com (Johan Barelds) Date: Sat, 17 Sep 2005 22:22:20 +0200 Subject: System call sent warnings to stderr Message-ID: <200509172222.21204.mailings@good-it.com> Hi folks, When i use check_proc on my RHEL4 system it returns always "System call sent warnings to stderr" as first line. Can someone tell me how to get rid of this message? Thanks. -- Kind Regards / Met vriendelijke groet, Johan Barelds ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.carpenter at gmail.com Sat Sep 17 22:21:55 2005 From: jonathan.carpenter at gmail.com (Jonathan Carpenter) Date: Sat, 17 Sep 2005 15:21:55 -0500 Subject: NRPE Message-ID: I have installed nagios and configured nagios on one server to monitor several servers with the check_ping plugin. Everything works great now I have installed NRPE on one of the remote servers running Fedora 4. I have edited /etc/services and added the following nrpe 5666/tcp # NRPE and created a file in /etc/xinetd.d/ called nrpe the contents in it are # default: on # description: NRPE service nrpe { flags = REUSE socket_type = stream wait = no user = nagios server = /home/nagios/nrpe server_args = -c /home/nagios/nrpe --inetd log_on_failure += USERID disable = no only_from = 1.2.3.4 <-- ip to nagios server } When I run /etc/rc.d/init.d/xinetd restart I get these errors in /var/log/messages Sep 17 02:56:19 db1 xinetd: xinetd startup succeeded Sep 17 02:56:19 db1 xinetd[18797]: bind failed (Address already in use (errno = 98)). service = nrpe Sep 17 02:56:19 db1 xinetd[18797]: Service nrpe failed to start and is deactivated. Sep 17 02:56:19 db1 xinetd[18797]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in. Sep 17 02:56:19 db1 xinetd[18797]: Started working: 0 available services Any help would be greatly appreciated. -- Jonathan Carpenter -------------- next part -------------- An HTML attachment was scrubbed... URL: From chroot at wells.vg Sun Sep 18 00:38:26 2005 From: chroot at wells.vg (Matt Wells) Date: Sat, 17 Sep 2005 15:38:26 -0700 Subject: NRPE Message-ID: <19afca05b704b99224fe01728a0a64d9@open.wells.vg> I never got it working in xinet.d I ended up just tossing it in as a daemon because it was so much easier. /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d I'm still getting the error for SSL though.. can not complete handshake.? ----- Original Message ----- SUBJECT:?[Nagios-users] NRPE FROM: ?Jonathan Carpenter TO:?"Nagios-Users-List" DATE:?17-09-2005 13:26 I have installed nagios and configured nagios on one server to monitor several servers with the check_ping plugin. Everything works great now I have installed NRPE on one of the remote servers running Fedora 4. I have edited /etc/services and added the following nrpe???? 5666/tcp???? # NRPE and created a file in /etc/xinetd.d/ called nrpe the contents in it are ?# default: on ?# description: NRPE ?service nrpe ?{ ??????? ?flags?????????? = REUSE ???????? socket_type???? = stream??????? ??????? ?wait??????????? = no ???????? user??????????? =?nagios ?????????server????????? =?/home/nagios/nrpe ???????? server_args???? = -c?/home/nagios/nrpe --inetd ??????? ?log_on_failure? += USERID ???????? disable???????? = no ??only_from?????? =? 1.2.3.4[1] Links: ------ [1] http://1.2.3.4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jelledp at yahoo.com Sun Sep 18 01:47:43 2005 From: jelledp at yahoo.com (Jelle De Pot) Date: Sat, 17 Sep 2005 16:47:43 -0700 (PDT) Subject: premature end of script Message-ID: <20050917234744.92276.qmail@web42406.mail.yahoo.com> Hello, When I visit a nagios .cgi file on my website I get following error: [Sun Sep 18 08:26:59 2005] [error] [client 217.22.180.65] Premature end of scrip t headers: status.cgi, referer: http://jelle.maltacentral.com/nagios/side.html the nagios -v etc/nagios.cfg gives me no errors: Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check So I start nagios: nagios etc/nagios.cfg and it runs fine. When I run ./status.cfg at the bash I get this: [root at appserver3 sbin]# ./status.cgi getcgivars(): Unsupported REQUEST_METHOD -> '' I'm guessing you're trying to execute the CGI from a command line. So the permissions are right but maybe that 'error' can give someone a clue. I am really stuck on what that premature end of script error might be. Any advise would be greatly appriciated. Regards Jelle De Pot __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charskall at gmail.com Sun Sep 18 01:54:52 2005 From: charskall at gmail.com (charskall at gmail.com) Date: Sat, 17 Sep 2005 19:54:52 -0400 Subject: odd permissions problem Message-ID: <432CACCC.4000502@gmail.com> I have Nagios running fine. All of my orginal settings work fine and everything is being checked like i want. I can make adjustments to services.cfg and other cfg files and restart nagios without issue. Until I added a new host. I created thenew host and added it to the appropriate host group. The new host appears perfectly in the scheduling cue. The problem is it will not appear in host group overview and when I click on it I get the "It appears as though you do not have permission to view information for this host...". I am logging in as the only user thats been entered "nagiosadmin" and have set that user for all of the access permissions in cgi.cfg . I also made sure the nagiosadmin is listed as the contact for all host groups. I can access everything else without problems just this one newly added host. If you have any ideas let me know. Thanks ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Sep 18 05:19:00 2005 From: marc at ena.com (Marc Powell) Date: Sat, 17 Sep 2005 22:19:00 -0500 Subject: premature end of script Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jelle De Pot > Sent: Saturday, September 17, 2005 6:48 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] premature end of script > > Hello, > > When I visit a nagios .cgi file on my website I get > following error: > > [Sun Sep 18 08:26:59 2005] [error] [client > 217.22.180.65] Premature end of scrip > t headers: status.cgi, referer: > http://jelle.maltacentral.com/nagios/side.html > [chop] > > I am really stuck on what that premature end of script > error might be. Any advise would be greatly > appriciated. There could be many reasons. Your web server error_log should provide more specific information. Chances are a required library is missing or not accessible by your web server user. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From unki at netshadow.at Sun Sep 18 07:26:09 2005 From: unki at netshadow.at (Andreas Unterkircher) Date: Sun, 18 Sep 2005 07:26:09 +0200 Subject: System call sent warnings to stderr In-Reply-To: <200509172222.21204.mailings@good-it.com> References: <200509172222.21204.mailings@good-it.com> Message-ID: <432CFA71.7000705@netshadow.at> Do you compiled the nagios-plugins your self or is it a RPM? If first, take a look into the config.h file in the nagios-plugin source directory (after you have called the configure script). Seach for PS_COMMAND and I guess you will find something like #define PS_COMMAND "/bin/ps -axwo 'stat uid ppid vsz rss pcpu comm args'" but "-" in front of the ps options is deprecated (ps outputs a warning on this, so you get the "system call sent warnings to stderr" message). Remove the "-" and run make again. Then check_proc should work. Cheers Andreas Johan Barelds wrote: >Hi folks, > >When i use check_proc on my RHEL4 system it returns always "System call sent >warnings to stderr" as first line. >Can someone tell me how to get rid of this message? > >Thanks. > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Sun Sep 18 10:17:13 2005 From: mailings at good-it.com (Johan Barelds) Date: Sun, 18 Sep 2005 10:17:13 +0200 Subject: System call sent warnings to stderr In-Reply-To: <432CFA71.7000705@netshadow.at> References: <200509172222.21204.mailings@good-it.com> <432CFA71.7000705@netshadow.at> Message-ID: <200509181017.14327.mailings@good-it.com> Op zondag 18 september 2005 07:26, schreef u: > Do you compiled the nagios-plugins your self or is it a RPM? If first, > take a look into the config.h file > in the nagios-plugin source directory (after you have called the > configure script). I installed from RPM (and that's the last time i do that again..:-) > Seach for PS_COMMAND and I guess you will find something like > #define PS_COMMAND "/bin/ps -axwo 'stat uid ppid vsz rss pcpu comm args'" > but "-" in front of the ps options is deprecated (ps outputs a warning > on this, so you get the "system call > sent warnings to stderr" message). Remove the "-" and run make again. > Then check_proc should work. Right on the spot. It works again like a charm. > Cheers > Andreas Thanks Andreas! (or even better: Herzlichen Dank! ..:-)) > > Johan Barelds wrote: > >Hi folks, > > > >When i use check_proc on my RHEL4 system it returns always "System call > > sent warnings to stderr" as first line. > >Can someone tell me how to get rid of this message? > > > >Thanks. -- Kind Regards / Met vriendelijke groet, Johan Barelds Good-IT! Tel.+31(0)70-3965230 Strijplaan 320 Mob.+31(0)6-54253750 2285 HZ Rijswijk(ZH) j.barelds at good-it.com http://www.good-it.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jelledp at yahoo.com Sun Sep 18 12:21:19 2005 From: jelledp at yahoo.com (Jelle De Pot) Date: Sun, 18 Sep 2005 03:21:19 -0700 (PDT) Subject: premature end of script Message-ID: <20050918102119.16367.qmail@web42408.mail.yahoo.com> Hello all, Thanks already for your help. >There could be many reasons. Your web server error_log >should provide > more specific information. The error I stated before: "[Sun Sep 18 08:26:59 2005] [error] [client 217.22.180.65] Premature end of script headers: status.cgi, referer: http://jelle.maltacentral.com/nagios/side.html" (the same happens with all the other cgis) is found in the error_log and no more errors are shown there. maybe someone has any idea where I can find more specific information? Best regards, Jelle De Pot > -----Original Message----- > From: nagios-users-admin at li... [mailto:nagios-users- > admin at li...] On Behalf Of Jelle De Pot > Sent: Saturday, September 17, 2005 6:48 PM > To: nagios-users at li... > Subject: [Nagios-users] premature end of script > > Hello, > > When I visit a nagios .cgi file on my website I get > following error: > > [Sun Sep 18 08:26:59 2005] [error] [client > 217.22.180.65] Premature end of scrip > t headers: status.cgi, referer: > http://jelle.maltacentral.com/nagios/side.html > [chop] > > I am really stuck on what that premature end of script > error might be. Any advise would be greatly > appriciated. There could be many reasons. Your web server error_log should provide more specific information. Chances are a required library is missing or not accessible by your web server user. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jelledp at yahoo.com Sun Sep 18 15:31:48 2005 From: jelledp at yahoo.com (Jelle De Pot) Date: Sun, 18 Sep 2005 06:31:48 -0700 (PDT) Subject: premature end of script Message-ID: <20050918133149.53258.qmail@web42403.mail.yahoo.com> Hello, In case some other people strugle with the error I had. You can check the file suexec.log, if you use suexec, for more detailed info about errors. In my case it was the suexec that gave some troubles. I have my nagios up and running now. Regards Jelle De Pot ______________________________________________________ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frekoding at 9online.fr Sun Sep 18 18:14:28 2005 From: frekoding at 9online.fr (FrekoDing) Date: Sun, 18 Sep 2005 18:14:28 +0200 Subject: Nagios-users -- confirmation of subscription -- request 46985 1 In-Reply-To: <2E02C310A701D41187CF00902771989601F3EC31@romeo> References: <2E02C310A701D41187CF00902771989601F3EC31@romeo> Message-ID: test ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chandresh.suthar at gmail.com Sun Sep 18 20:47:23 2005 From: chandresh.suthar at gmail.com (Chandresh Suthar) Date: Mon, 19 Sep 2005 00:17:23 +0530 Subject: Fwd: please help me In-Reply-To: References: Message-ID: Hi, Still problem persist. Can anyone help me. ---------- Forwarded message ---------- From: Chandresh Suthar Date: Sep 7, 2005 9:52 PM Subject: please help me To: nagios-users at lists.sourceforge.net Hi, Please help me in sending notifications. I have only one configuration file for contactfgroup,hostsgroup etc. "minimal.cfg" minimal.cfg : define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } # This is a sample host notification command that can be used to send email # notifications (about host alerts) to contacts. define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email nagios at localhost } define contact{ contact_name chandresh alias Administrator service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email "personalemail id" } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios } define contactgroup{ contactgroup_name admingrp alias Administrators members chandresh } define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name webmail.com alias localhost address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admingrp } define service{ use generic-service ; Name of service template to use host_name webmail.com service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admingrp notification_interval 960 notification_period 24x7 check_command check_http } I am able to send mails to my persoanl email id by "mail" command. But notification is not going. I have configured sendmail. I am not even receiving mails on local system at nagios at localhost( I tried). I am even not getting any error messages in logs of nagios. Please help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason at shakabuku.org Sun Sep 18 21:21:20 2005 From: jason at shakabuku.org (Jason Bodnar) Date: Sun, 18 Sep 2005 14:21:20 -0500 Subject: Fwd: please help me In-Reply-To: References: Message-ID: <20050918192020.M5622@shakabuku.org> You need notification_options in your service definition. The docs says this is a required field but nagios doesn't complain about it. That's a bug to me. I posted about this to the list last week but it never went through. On Mon, 19 Sep 2005 00:17:23 +0530, Chandresh Suthar wrote > Hi, > Still problem persist. Can anyone help me. > > ---------- Forwarded message ---------- > From: Chandresh Suthar > Date: Sep 7, 2005 9:52 PM > Subject: please help me > To: nagios-users at lists.sourceforge.net > > Hi, > Please help me in sending notifications. I have only one > configuration file for contactfgroup,hostsgroup etc. "minimal.cfg" > minimal.cfg : define timeperiod{ timeperiod_name 24x7 alias 24 Hours > A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday > 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 > saturday 00:00-24:00 > } > > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } > > # This is a sample host notification command that can be used to send email > # notifications (about host alerts) to contacts. > > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: > $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $OUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host > $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } > > define contact{ > contact_name nagios > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email nagios at localhost > } > > define contact{ > contact_name chandresh > alias Administrator > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email "personalemail id" > } > > define contactgroup{ > contactgroup_name admins > alias Nagios Administrators > members nagios > } > > define contactgroup{ > contactgroup_name admingrp > alias Administrators > members chandresh > } > > define host{ > name generic-host ; The name of this host template > notifications_enabled 1 ; Host notifications are enabled > event_handler_enabled 1 ; Host event handler is enabled > flap_detection_enabled 1 ; Flap detection is enabled > failure_prediction_enabled 1 ; Failure prediction is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status information across > program restarts retain_nonstatus_information 1 ; Retain non-status > information across program restarts register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } > > define host{ > use generic-host ; Name of host template to use > host_name webmail.com > alias localhost > address 127.0.0.1 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admingrp > } > define service{ > use generic-service ; Name of service template to use > host_name webmail.com > service_description HTTP > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admingrp > notification_interval 960 > notification_period 24x7 > check_command check_http > } > > I am able to send mails to my persoanl email id by "mail" command. > But notification is not going. I have configured sendmail. I am not > even receiving mails on local system at nagios at localhost( I tried). > I am even not getting any error messages in logs of nagios. > > Please help. -- Jason Bodnar jason at shakabuku.org http://www.shakabuku.org "You want free speech? Let's see you acknowledge a man whose words make your blood boil who is standing center stage advocating at the top of his lungs that which you would spend a lifetime opposing at the top of yours." -- President Andrew Shephard, "The American President" ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christiantheilhave at gmail.com Mon Sep 19 09:39:48 2005 From: christiantheilhave at gmail.com (Christian Theil Have) Date: Mon, 19 Sep 2005 07:39:48 +0000 Subject: premature end of script In-Reply-To: <20050917234744.92276.qmail@web42406.mail.yahoo.com> References: <20050917234744.92276.qmail@web42406.mail.yahoo.com> Message-ID: <33d4ee940509190039f4eafac@mail.gmail.com> Hi Before running from the command line you need to set the REQUEST_METHOD environment variable variables: $ export REQUEST_METHOD=GET Sounds like somethings wrong either the cgi-script or it's environment. Check you file-permissions first thing. Which version of nagios are you using? Regards, Christian Theil Have On 9/17/05, Jelle De Pot wrote: > > Hello, > > When I visit a nagios .cgi file on my website I get > following error: > > [Sun Sep 18 08:26:59 2005] [error] [client > 217.22.180.65 ] Premature end of scrip > t headers: status.cgi, referer: > http://jelle.maltacentral.com/nagios/side.html > > the nagios -v etc/nagios.cfg gives me no errors: > Total Warnings: 0 > Total Errors: 0 > Things look okay - No serious problems were detected > during the pre-flight check > > So I start nagios: nagios etc/nagios.cfg and it runs > fine. > > When I run ./status.cfg at the bash I get this: > [root at appserver3 sbin]# ./status.cgi > getcgivars(): Unsupported REQUEST_METHOD -> '' > > I'm guessing you're trying to execute the CGI from a > command line. > > So the permissions are right but maybe that 'error' > can give someone a clue. > > I am really stuck on what that premature end of script > error might be. Any advise would be greatly > appriciated. > > Regards > Jelle De Pot > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: From v-alloo at ti.com Mon Sep 19 10:12:41 2005 From: v-alloo at ti.com (Alloo, Vincent) Date: Mon, 19 Sep 2005 10:12:41 +0200 Subject: NRPE Message-ID: <0AB0CB5257FF3C43A27E201CC8AADA86673CBE@dnce02.ent.ti.com> This config works on my box (RHEL3.0U2): % cat /etc/xinetd.d/nrpe # default: on # description: The rshd server is the server for the rcmd(3) routine and, \ # consequently, for the rsh(1) program. The server provides \ # remote execution facilities with authentication based on \ # privileged port numbers from trusted hosts. service nrpe { flags = REUSE disable = no socket_type = stream wait = no user = nagios log_on_failure += USERID server = /apps/nagios/nrpe/nrpe server_args = -c /db/sysadmin/nagios/nrpe.cfg --inetd } Regards, Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matt Wells Sent: Sunday, September 18, 2005 12:38 AM To: Jonathan Carpenter; Nagios-Users-List Subject: Re: [Nagios-users] NRPE I never got it working in xinet.d I ended up just tossing it in as a daemon because it was so much easier. /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d I'm still getting the error for SSL though.. can not complete handshake. ----- Original Message ----- Subject: [Nagios-users] NRPE From: Jonathan Carpenter To: "Nagios-Users-List" Date: 17-09-2005 13:26 I have installed nagios and configured nagios on one server to monitor several servers with the check_ping plugin. Everything works great now I have installed NRPE on one of the remote servers running Fedora 4. I have edited /etc/services and added the following nrpe 5666/tcp # NRPE and created a file in /etc/xinetd.d/ called nrpe the contents in it are # default: on # description: NRPE service nrpe { flags = REUSE socket_type = stream wait = no user = nagios server = /home/nagios/nrpe server_args = -c /home/nagios/nrpe --inetd log_on_failure += USERID disable = no only_from = 1.2.3.4 <-- ip to nagios server } When I run /etc/rc.d/init.d/xinetd restart I get these errors in /var/log/messages Sep 17 02:56:19 db1 xinetd: xinetd startup succeeded Sep 17 02:56:19 db1 xinetd[18797]: bind failed (Address already in use (errno = 98)). service = nrpe Sep 17 02:56:19 db1 xinetd[18797]: Service nrpe failed to start and is deactivated. Sep 17 02:56:19 db1 xinetd[18797]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in. Sep 17 02:56:19 db1 xinetd[18797]: Started working: 0 available services Any help would be greatly appreciated. -- Jonathan Carpenter -------------- next part -------------- An HTML attachment was scrubbed... URL: From juhani at aso.ee Mon Sep 19 14:45:23 2005 From: juhani at aso.ee (Juhani Tali) Date: Mon, 19 Sep 2005 15:45:23 +0300 Subject: availability report - does it include soft down or only hard down? Message-ID: <432EB2E3.6070102@aso.ee> Hi, I have a question about the availability report on nagios 2.0b, on hosts or services. Does it include all test failures (soft down) or only hard down? The difference is that if the downtime is shorter than say 4 min the service does not go to hard down, only soft down. Now I am wondering, if the 99.x % uptime that my nagios shows to my clients, is it real or not ;) Juhani ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frekoding-2oQYCbA99dVGWvitb5QawA at public.gmane.org Mon Sep 19 15:07:07 2005 From: frekoding-2oQYCbA99dVGWvitb5QawA at public.gmane.org (FrekoDing) Date: Mon, 19 Sep 2005 15:07:07 +0200 Subject: [check_ldap] Impossible to monitor Active Directory with check_ldap ! Message-ID: Hi ! I'm trying to monitor Active Directory (Windows Server 2003) with the check_ldap plugin in a domain named test.com I've always this answer when I type this command : ./check_ldap -H adressofcontroller -b "dc=test,dc=com" Impossible to find objectclasses in dc=test,dc=com I verify that ldap is running correctly like that : ldapsearch -s base -x -h addressofcontroller -b "" objectClass=* namingContexts # extended LDIF # # LDAPv3 # base <> with scope base # filter: objectClass=* # requesting: namingContexts # # dn: namingContexts: DC=test,DC=com namingContexts: CN=Configuration,DC=test,DC=com namingContexts: CN=Schema,CN=Configuration,DC=test,DC=com namingContexts: DC=DomainDnsZones,DC=test,DC=com namingContexts: DC=ForestDnsZones,DC=test,DC=com # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 Thanks for your help ! I've already looked for in many forums : nothing !! ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bimschas at phase4.de Mon Sep 19 15:37:41 2005 From: Bimschas at phase4.de (Daniel Bimschas) Date: Mon, 19 Sep 2005 15:37:41 +0200 Subject: Nagios external command file Message-ID: <2CCEB1B7A93CF444AC4FE3BAB759962CD0CBF6@p4-muc-nt5.intra.phase4.de> Hi People! I'm trying to use failover monitoring and for that i'm trying to pass commands to the external command file. i tried this for example: echo "`date +%s` 1;ENABLE_NOTIFICATIONS" >> nagios.cmd or simply: echo "ENABLE_NOTIFICATIONS" >> nagios.cmd and others, but none seem to work. Can you help me and give an example how to do it right? Daniel ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 19 16:53:25 2005 From: marc at ena.com (Marc Powell) Date: Mon, 19 Sep 2005 09:53:25 -0500 Subject: Nagios external command file Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Daniel Bimschas > Sent: Monday, September 19, 2005 8:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios external command file > > Hi People! > > I'm trying to use failover monitoring and for that i'm > trying to pass commands to the external command file. > > i tried this for example: > > echo "`date +%s` 1;ENABLE_NOTIFICATIONS" >> nagios.cmd > > or simply: > > echo "ENABLE_NOTIFICATIONS" >> nagios.cmd > > > and others, but none seem to work. > > > Can you help me and give an example how to do it right? > http://www.nagios.org/developerinfo/externalcommands/commandlist.php ENABLE_NOTIFICATIONS specifically is at http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=8 -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 19 16:55:57 2005 From: marc at ena.com (Marc Powell) Date: Mon, 19 Sep 2005 09:55:57 -0500 Subject: odd permissions problem Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of charskall at gmail.com > Sent: Saturday, September 17, 2005 6:55 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] odd permissions problem > > I have Nagios running fine. All of my orginal settings work fine and > everything is being checked like i want. I can make adjustments to > services.cfg and other cfg files and restart nagios without issue. > > Until I added a new host. I created thenew host and added it to the > appropriate host group. The new host appears perfectly in the > scheduling > cue. The problem is it will not appear in host group overview and when > I > click on it I get the "It appears as though you do not have permission > to view information for this host...". I am logging in as the only > user > thats been entered "nagiosadmin" and have set that user for all of the > access permissions in cgi.cfg . I also made sure the nagiosadmin is > listed as the contact for all host groups. I can access everything > else > without problems just this one newly added host. I'd check for configuration errors with '/path/to/nagios -v /path/to/nagios.cfg', typos and also look for permission problems on the files you edited (can your web server read all of them?). Beyond that, the appropriate host, service and hostgroup definitions will probably be needed for us to troubleshoot further. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charskall at gmail.com Mon Sep 19 19:44:22 2005 From: charskall at gmail.com (Char Skall) Date: Mon, 19 Sep 2005 13:44:22 -0400 Subject: odd permissions problem In-Reply-To: References: Message-ID: <5506e8e405091910447e258ee7@mail.gmail.com> Here's the definitions involved. # 'Cisco 1700vzw' host definition define host{ use hosts ; Name of host template to use host_name Cisco1700vzw alias Cisco 1700 VZW address 10.0.8.2 check_command check-host-alive max_check_attempts 20 contact_groups router-admins notification_interval 60 notification_period 24x7 notification_options d,u,r } # Service definition define service{ use services ; Name of service template to use host_name Cisco1700vzw service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } # 'routers' host group definition define hostgroup{ hostgroup_name routers alias Routers # contact_groups router-admins members Cisco1700,Cisco1700fdle,Cisco1700vzw } This is how everything else is setup and I can log in and access any information and execute any commands I want except when they involve the Cisco1700vzw. If you need the entire file let me know I'll attach those if needed. Thanks for your assistance On 9/19/05, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of charskall at gmail.com > > Sent: Saturday, September 17, 2005 6:55 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] odd permissions problem > > > > I have Nagios running fine. All of my orginal settings work fine and > > everything is being checked like i want. I can make adjustments to > > services.cfg and other cfg files and restart nagios without issue. > > > > Until I added a new host. I created thenew host and added it to the > > appropriate host group. The new host appears perfectly in the > > scheduling > > cue. The problem is it will not appear in host group overview and when > > I > > click on it I get the "It appears as though you do not have permission > > to view information for this host...". I am logging in as the only > > user > > thats been entered "nagiosadmin" and have set that user for all of the > > access permissions in cgi.cfg . I also made sure the nagiosadmin is > > listed as the contact for all host groups. I can access everything > > else > > without problems just this one newly added host. > > I'd check for configuration errors with '/path/to/nagios -v > /path/to/nagios.cfg', typos and also look for permission problems on the > files you edited (can your web server read all of them?). Beyond that, > the appropriate host, service and hostgroup definitions will probably be > needed for us to troubleshoot further. > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Casey.Scott at wizards.com Mon Sep 19 19:45:43 2005 From: Casey.Scott at wizards.com (Scott, Casey) Date: Mon, 19 Sep 2005 10:45:43 -0700 Subject: Plugin output discrepancy Nagios 2.0b4 (RHEL3 RPM) Message-ID: <9A072150141F5C489DC92CFCB8C0FD490503D5A2@e2ksea2.wotc.wizards.com> I am trying to use the check_temptraxe plugin. The plugin is configured as directed: services.cfg define service{ use generic-service host_name temptrax service_description Datacenter Temperature is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups datacenter-facilities notification_interval 15 notification_period 24x7 notification_options c,r check_command check_temptraxe!1!75!80 } checkcommands.cfg define command{ name check_temptraxe command_name check_temptraxe command_line $USER1$/check_temptraxe -H $HOSTADDRESS$ -p $ARG2$ -w $ARG3$ -c $ARG4$ } hosts.cfg define host { use generic-host host_name temptrax alias WotC Datacenter Temperature Probes address 10.1.1.85 max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } The output is correct for the service portion. E.g. /var/log/messages shows "Sep 19 10:25:55 TSUTIL01 nagios: SERVICE ALERT: temptrax;Datacenter Temperature;OK;HARD;1;Temp Ok: Probe 1 = 74.9 F" Plugin output in status.dat for the service{} shows ""Temp Ok: Probe 1 = 74.0 F. However, the host{} portion shows "Error: Incorrect command line arguments". The error seems to indicate that the check command is being run without any parameters when the host{} data is collected, but does run with parameters when service{} data is collected. The error is displayed for the host's "status information" in Host Detail. Does anyone have any idea why Nagios is getting 2 different results from the same plugin? Any help would be appreciated! TIA, Casey Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From czwecker at sysctl.de Mon Sep 19 19:49:24 2005 From: czwecker at sysctl.de (Christophe Zwecker) Date: Mon, 19 Sep 2005 19:49:24 +0200 Subject: Nagios Grapher rrdtool graphs only show 10 minute steps Message-ID: <432EFA24.8060602@sysctl.de> Hi, we installed it and its running nicely, only we would want to see minute steps graphs. The rrdtool updates are done by the minute. Still the graphs are shown in 10 minute blocks. how can we have finer graphs ? thx alot Christophe -- Christophe Zwecker :Sysctl Koppel 96 20099 Hamburg phon: +49 40 41263790 fax: +49 40 41263799 mail: czwecker at sysctl.de ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 19 20:10:52 2005 From: marc at ena.com (Marc Powell) Date: Mon, 19 Sep 2005 13:10:52 -0500 Subject: Plugin output discrepancy Nagios 2.0b4 (RHEL3 RPM) Message-ID: Please try to post in plain text if possible. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Scott, Casey > Sent: Monday, September 19, 2005 12:46 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugin output discrepancy Nagios 2.0b4 (RHEL3 RPM) > > I am trying to use the check_temptraxe plugin. The plugin is configured as > directed: > > services.cfg > > > > define service{ > > use generic-service > > host_name temptrax > > service_description Datacenter Temperature > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 3 > > retry_check_interval 1 > > contact_groups datacenter-facilities > > notification_interval 15 > > notification_period 24x7 > > notification_options c,r > > check_command check_temptraxe!1!75!80 > > } > > > > checkcommands.cfg > > > > define command{ > > name check_temptraxe > > command_name check_temptraxe > > command_line $USER1$/check_temptraxe -H $HOSTADDRESS$ -p $ARG2$ > -w $ARG3$ -c $ARG4$ > > } I don't use check_temptraxe but these arguments are incorrect. $ARG2$=75, $ARG3$=80 and $ARG4$ is non-existent. You probably mean $ARG1$, $ARG2$ and $ARG3$. > hosts.cfg > > > > define host { > > use generic-host > > host_name temptrax > > alias WotC Datacenter Temperature Probes > > address 10.1.1.85 > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > > > The output is correct for the service portion. > > E.g. /var/log/messages shows "Sep 19 10:25:55 TSUTIL01 nagios: SERVICE > ALERT: temptrax;Datacenter Temperature;OK;HARD;1;Temp Ok: Probe 1 = 74.9 > F" > > Plugin output in status.dat for the service{} shows ""Temp Ok: Probe 1 = > 74.0 F. Odd considering the command definition is incorrect but I'll take your word for it. > > However, the host{} portion shows "Error: Incorrect command line > arguments". The error seems to indicate that the check command is being > run without any parameters when the host{} data is collected, but does run Odd considering that you don't appear to have a host check_command specified at all so nothing can/should be run for the host check. This is what I would have expected for the service check. Are you sure the command definitions above accurately reflect your current Nagios configuration? -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Casey.Scott at wizards.com Mon Sep 19 20:29:46 2005 From: Casey.Scott at wizards.com (Scott, Casey) Date: Mon, 19 Sep 2005 11:29:46 -0700 Subject: Plugin output discrepancy Nagios 2.0b4 (RHEL3 RPM) Message-ID: <9A072150141F5C489DC92CFCB8C0FD490503D678@e2ksea2.wotc.wizards.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Monday, September 19, 2005 11:11 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plugin output discrepancy Nagios > 2.0b4 (RHEL3 RPM) > > Please try to post in plain text if possible. > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Scott, Casey > > Sent: Monday, September 19, 2005 12:46 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Plugin output discrepancy Nagios > 2.0b4 (RHEL3 > RPM) > > > > I am trying to use the check_temptraxe plugin. The plugin is > configured as > > directed: > > > > services.cfg > > > > > > > > define service{ > > > > use generic-service > > > > host_name temptrax > > > > service_description Datacenter Temperature > > > > is_volatile 0 > > > > check_period 24x7 > > > > max_check_attempts 3 > > > > normal_check_interval 3 > > > > retry_check_interval 1 > > > > contact_groups datacenter-facilities > > > > notification_interval 15 > > > > notification_period 24x7 > > > > notification_options c,r > > > > check_command check_temptraxe!1!75!80 > > > > } > > > > > > > > checkcommands.cfg > > > > > > > > define command{ > > > > name check_temptraxe > > > > command_name check_temptraxe > > > > command_line $USER1$/check_temptraxe -H $HOSTADDRESS$ -p > $ARG2$ > > -w $ARG3$ -c $ARG4$ > > > > } > > I don't use check_temptraxe but these arguments are incorrect. > $ARG2$=75, $ARG3$=80 and $ARG4$ is non-existent. You probably > mean $ARG1$, $ARG2$ and $ARG3$. > > > hosts.cfg > > > > > > > > define host { > > > > use generic-host > > > > host_name temptrax > > > > alias WotC Datacenter Temperature Probes > > > > address 10.1.1.85 > > > > max_check_attempts 10 > > > > notification_interval 120 > > > > notification_period 24x7 > > > > notification_options d,u,r > > > > } > > > > > > > > > > > > The output is correct for the service portion. > > > > E.g. /var/log/messages shows "Sep 19 10:25:55 TSUTIL01 > nagios: SERVICE > > ALERT: temptrax;Datacenter Temperature;OK;HARD;1;Temp Ok: Probe 1 = > 74.9 > > F" > > > > Plugin output in status.dat for the service{} shows ""Temp > Ok: Probe 1 > = > > 74.0 F. > > Odd considering the command definition is incorrect but I'll > take your word for it. > > > > > However, the host{} portion shows "Error: Incorrect command line > > arguments". The error seems to indicate that the check command is > being > > run without any parameters when the host{} data is > collected, but does > run > > Odd considering that you don't appear to have a host > check_command specified at all so nothing can/should be run > for the host check. This is what I would have expected for > the service check. Are you sure the command definitions above > accurately reflect your current Nagios configuration? > > -- > Marc I forgot to include the checkcommands.cfg checkcommands.cfg define command{ name check_temptraxe command_name check_temptraxe command_line $USER1$/check_temptraxe -H $HOSTADDRESS$ -p $ARG1$ -w $ARG2$ -c $ARG3$ } Casey ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 19 20:48:13 2005 From: marc at ena.com (Marc Powell) Date: Mon, 19 Sep 2005 13:48:13 -0500 Subject: Plugin output discrepancy Nagios 2.0b4 (RHEL3 RPM) Message-ID: > -----Original Message----- > From: Scott, Casey [mailto:Casey.Scott at wizards.com] > Sent: Monday, September 19, 2005 1:30 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plugin output discrepancy Nagios 2.0b4 (RHEL3 > RPM) > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Marc Powell > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Scott, Casey [chop] > > > checkcommands.cfg > > > > > > > > > > > > define command{ > > > > > > name check_temptraxe > > > > > > command_name check_temptraxe > > > > > > command_line $USER1$/check_temptraxe -H $HOSTADDRESS$ -p > > $ARG2$ > > > -w $ARG3$ -c $ARG4$ > > > > > > } > > > > I don't use check_temptraxe but these arguments are incorrect. > > $ARG2$=75, $ARG3$=80 and $ARG4$ is non-existent. You probably > > mean $ARG1$, $ARG2$ and $ARG3$. > > > > > hosts.cfg > > > > > > > > > > > > define host { > > > > > > use generic-host > > > > > > host_name temptrax > > > > > > alias WotC Datacenter Temperature Probes > > > > > > address 10.1.1.85 > > > > > > max_check_attempts 10 > > > > > > notification_interval 120 > > > > > > notification_period 24x7 > > > > > > notification_options d,u,r > > > > > > } [chop] > > > > > > However, the host{} portion shows "Error: Incorrect command line > > > arguments". The error seems to indicate that the check command is > > being > > > run without any parameters when the host{} data is > > collected, but does > > run > > > > Odd considering that you don't appear to have a host > > check_command specified at all so nothing can/should be run > > for the host check. This is what I would have expected for > > the service check. Are you sure the command definitions above > > accurately reflect your current Nagios configuration? > > > > -- > > Marc > > > I forgot to include the checkcommands.cfg > > checkcommands.cfg > > define command{ > name check_temptraxe > command_name check_temptraxe > command_line $USER1$/check_temptraxe -H $HOSTADDRESS$ -p > $ARG1$ -w $ARG2$ -c $ARG3$ > } Ok. You had included it above but I see that it's using the correct arguments now. The problem you're reporting though is that the host check_command is returning bad results yet the host definition you've pasted above doesn't specify a host check_command. Is it part of the generc-host template or possibly a hostgroup template? If so, can you send that? If you don't specify a host check_command then nagios won't attempt a host check so it must be somewhere if you're seeing bad output from it. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Casey.Scott at wizards.com Mon Sep 19 20:57:26 2005 From: Casey.Scott at wizards.com (Scott, Casey) Date: Mon, 19 Sep 2005 11:57:26 -0700 Subject: Plugin output discrepancy Nagios 2.0b4 (RHEL3 RPM) Message-ID: <9A072150141F5C489DC92CFCB8C0FD490503D6DA@e2ksea2.wotc.wizards.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Monday, September 19, 2005 11:48 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plugin output discrepancy Nagios > 2.0b4 (RHEL3 RPM) > > > > > -----Original Message----- > > From: Scott, Casey [mailto:Casey.Scott at wizards.com] > > Sent: Monday, September 19, 2005 1:30 PM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Plugin output discrepancy Nagios 2.0b4 > (RHEL3 > > RPM) > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] On > Behalf Of Marc > > > Powell > > > > > > > -----Original Message----- > > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users- > > > > admin at lists.sourceforge.net] On Behalf Of Scott, Casey > > [chop] > > > > > checkcommands.cfg > > > > > > > > > > > > > > > > define command{ > > > > > > > > name check_temptraxe > > > > > > > > command_name check_temptraxe > > > > > > > > command_line $USER1$/check_temptraxe -H $HOSTADDRESS$ > -p > > > $ARG2$ > > > > -w $ARG3$ -c $ARG4$ > > > > > > > > } > > > > > > I don't use check_temptraxe but these arguments are incorrect. > > > $ARG2$=75, $ARG3$=80 and $ARG4$ is non-existent. You > probably mean > > > $ARG1$, $ARG2$ and $ARG3$. > > > > > > > hosts.cfg > > > > > > > > > > > > > > > > define host { > > > > > > > > use generic-host > > > > > > > > host_name temptrax > > > > > > > > alias WotC Datacenter > Temperature Probes > > > > > > > > address 10.1.1.85 > > > > > > > > max_check_attempts 10 > > > > > > > > notification_interval 120 > > > > > > > > notification_period 24x7 > > > > > > > > notification_options d,u,r > > > > > > > > } > > > [chop] > > > > > > > > > However, the host{} portion shows "Error: Incorrect > command line > > > > arguments". The error seems to indicate that the check > command is > > > being > > > > run without any parameters when the host{} data is > > > collected, but does > > > run > > > > > > Odd considering that you don't appear to have a host > check_command > > > specified at all so nothing can/should be run for the host check. > > > This is what I would have expected for the service check. Are you > > > sure the command definitions above accurately reflect > your current > > > Nagios configuration? > > > > > > -- > > > Marc > > > > > > I forgot to include the checkcommands.cfg > > > > checkcommands.cfg > > > > define command{ > > name check_temptraxe > > command_name check_temptraxe > > command_line $USER1$/check_temptraxe -H $HOSTADDRESS$ -p > > $ARG1$ -w $ARG2$ -c $ARG3$ > > } > > Ok. You had included it above but I see that it's using the > correct arguments now. The problem you're reporting though is > that the host check_command is returning bad results yet the > host definition you've pasted above doesn't specify a host > check_command. Is it part of the generc-host template or > possibly a hostgroup template? If so, can you send that? If > you don't specify a host check_command then nagios won't > attempt a host check so it must be somewhere if you're seeing > bad output from it. > > -- > Marc > I don't know how the check_command was removed from the original post. This is the relevant hosts.cfg entry. Should I be assigning parameter values in there as well? E.g. check_command check_temptraxe!1!75!80 define host { use generic-host host_name temptrax alias Datacenter Temperature Probes address 10.1.1.85 check_command check_temptraxe max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Thanks, Casey ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 19 21:19:59 2005 From: marc at ena.com (Marc Powell) Date: Mon, 19 Sep 2005 14:19:59 -0500 Subject: odd permissions problem Message-ID: These look correct. It looks like you're using Nagios 2.x which introduced a config cache file that is read by the CGI's instead of the cfg_file's. Is the cache file (object_cache_file in nagios.cfg) being re-created when you restart nagios? If the nagios daemon is aware of an object via the cfg_file's, and therefore shows it in the scheduling queue, but the cgi's aren't because it doesn't appear in the object cache you might see the symptoms you're reporting. This may happen if permissions on the object cache file are such that nagios can't delete or overwrite it. I would expect nagios to fail in that situation but it may not. With 1.x I've always seen these associated with configuration problems or permissions issues but the object cache may introduce a new scenario. I'm not sure and I don't have 2.x installation to test with yet but it seems like the next logical step to me. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Char Skall > Sent: Monday, September 19, 2005 12:44 PM > To: Nagios User List > Subject: Re: [Nagios-users] odd permissions problem > > Here's the definitions involved. > > # 'Cisco 1700vzw' host definition > define host{ > use hosts ; Name of host template to use > > host_name Cisco1700vzw > alias Cisco 1700 VZW > address 10.0.8.2 > check_command check-host-alive > max_check_attempts 20 > contact_groups router-admins > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > # Service definition > define service{ > use services ; Name of service template to use > > host_name Cisco1700vzw > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups router-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > } > > # 'routers' host group definition > define hostgroup{ > hostgroup_name routers > alias Routers > # contact_groups router-admins > members Cisco1700,Cisco1700fdle,Cisco1700vzw > } > > This is how everything else is setup and I can log in and access any > information and execute any commands I want except when they involve the > Cisco1700vzw. If you need the entire file let me know I'll attach those if > needed. > > Thanks for your assistance > > > > > On 9/19/05, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of charskall at gmail.com > > Sent: Saturday, September 17, 2005 6:55 PM > > To: nagios-users at lists.sourceforge.net users at lists.sourceforge.net> > > Subject: [Nagios-users] odd permissions problem > > > > I have Nagios running fine. All of my orginal settings work fine > and > > everything is being checked like i want. I can make adjustments to > > services.cfg and other cfg files and restart nagios without issue. > > > > Until I added a new host. I created thenew host and added it to > the > > appropriate host group. The new host appears perfectly in the > > scheduling > > cue. The problem is it will not appear in host group overview and > when > > I > > click on it I get the "It appears as though you do not have > permission > > to view information for this host...". I am logging in as the only > > user > > thats been entered "nagiosadmin" and have set that user for all of > the > > access permissions in cgi.cfg . I also made sure the nagiosadmin > is > > listed as the contact for all host groups. I can access everything > > else > > without problems just this one newly added host. > > I'd check for configuration errors with '/path/to/nagios -v > /path/to/nagios.cfg', typos and also look for permission problems on > the > files you edited (can your web server read all of them?). Beyond > that, > the appropriate host, service and hostgroup definitions will > probably be > needed for us to troubleshoot further. > > -- > Marc > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 19 21:25:01 2005 From: marc at ena.com (Marc Powell) Date: Mon, 19 Sep 2005 14:25:01 -0500 Subject: Plugin output discrepancy Nagios 2.0b4 (RHEL3 RPM) Message-ID: > -----Original Message----- > From: Scott, Casey [mailto:Casey.Scott at wizards.com] > Sent: Monday, September 19, 2005 1:57 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plugin output discrepancy Nagios 2.0b4 (RHEL3 > RPM) > > > checkcommands.cfg > > > > > > define command{ > > > name check_temptraxe > > > command_name check_temptraxe > > > command_line $USER1$/check_temptraxe -H $HOSTADDRESS$ -p > > > $ARG1$ -w $ARG2$ -c $ARG3$ > > > } > > I don't know how the check_command was removed from the original post. > This is the relevant hosts.cfg entry. Should I be assigning parameter > values in there as well? E.g. check_command check_temptraxe!1!75!80 Yes since the command definition above is expecting them. Since $ARG1$, $ARG2$ and $ARG3$ are null at best, Nagios is trying to execute 'check_temptraxe -H 10.1.1.85 -p -w -c' using the definition below, which is incorrect. > > define host { > use generic-host > host_name temptrax > alias Datacenter Temperature Probes > address 10.1.1.85 > check_command check_temptraxe > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Casey.Scott at wizards.com Mon Sep 19 21:28:07 2005 From: Casey.Scott at wizards.com (Scott, Casey) Date: Mon, 19 Sep 2005 12:28:07 -0700 Subject: odd permissions problem Message-ID: <9A072150141F5C489DC92CFCB8C0FD490503D721@e2ksea2.wotc.wizards.com> It does create it when nagios starts, and the command {} entry is correct. The host{} and service {} entrys in the objects.cache are also correct. Is there any other way you can think of that Nagios could pass one set of command arguments to the service check and another to the host check? Thanks for your help, Casey > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Monday, September 19, 2005 12:20 PM > To: Nagios User List > Subject: RE: [Nagios-users] odd permissions problem > > These look correct. It looks like you're using Nagios 2.x > which introduced a config cache file that is read by the > CGI's instead of the cfg_file's. Is the cache file > (object_cache_file in nagios.cfg) being re-created when you > restart nagios? If the nagios daemon is aware of an object > via the cfg_file's, and therefore shows it in the scheduling > queue, but the cgi's aren't because it doesn't appear in the > object cache you might see the symptoms you're reporting. > This may happen if permissions on the object cache file are > such that nagios can't delete or overwrite it. I would expect > nagios to fail in that situation but it may not. With 1.x > I've always seen these associated with configuration problems > or permissions issues but the object cache may introduce a > new scenario. I'm not sure and I don't have 2.x installation > to test with yet but it seems like the next logical step to me. > > -- > Marc > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Char Skall > > Sent: Monday, September 19, 2005 12:44 PM > > To: Nagios User List > > Subject: Re: [Nagios-users] odd permissions problem > > > > Here's the definitions involved. > > > > # 'Cisco 1700vzw' host definition > > define host{ > > use hosts ; Name of host template to use > > > > host_name Cisco1700vzw > > alias Cisco 1700 VZW > > address 10.0.8.2 > > check_command check-host-alive > > max_check_attempts 20 > > contact_groups router-admins > > notification_interval 60 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > # Service definition > > define service{ > > use services ; Name of service template to > use > > > > host_name Cisco1700vzw > > service_description PING > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups router-admins > > notification_interval 240 > > notification_period 24x7 > > notification_options c,r > > check_command check_ping!100.0,20%!500.0,60% > > } > > > > # 'routers' host group definition > > define hostgroup{ > > hostgroup_name routers > > alias Routers > > # contact_groups router-admins > > members Cisco1700,Cisco1700fdle,Cisco1700vzw > > } > > > > This is how everything else is setup and I can log in and > access any > > information and execute any commands I want except when they involve > the > > Cisco1700vzw. If you need the entire file let me know I'll attach > those if > > needed. > > > > Thanks for your assistance > > > > > > > > > > On 9/19/05, Marc Powell wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > > users- > > > admin at lists.sourceforge.net] On Behalf Of charskall at gmail.com > > > Sent: Saturday, September 17, 2005 6:55 PM > > > To: nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > > Subject: [Nagios-users] odd permissions problem > > > > > > I have Nagios running fine. All of my orginal settings work > fine > > and > > > everything is being checked like i want. I can make > adjustments to > > > services.cfg and other cfg files and restart nagios without > issue. > > > > > > Until I added a new host. I created thenew host and added it > to > > the > > > appropriate host group. The new host appears perfectly in the > > > scheduling > > > cue. The problem is it will not appear in host group overview > and > > when > > > I > > > click on it I get the "It appears as though you do not have > > permission > > > to view information for this host...". I am logging in as the > only > > > user > > > thats been entered "nagiosadmin" and have set that user for > all of > > the > > > access permissions in cgi.cfg . I also made sure the > nagiosadmin > > is > > > listed as the contact for all host groups. I can access > everything > > > else > > > without problems just this one newly added host. > > > > I'd check for configuration errors with '/path/to/nagios -v > > /path/to/nagios.cfg', typos and also look for permission > problems on > > the > > files you edited (can your web server read all of > them?). Beyond > > that, > > the appropriate host, service and hostgroup definitions > will probably > > be > > needed for us to troubleshoot further. > > > > -- > > Marc > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv > or your very own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Casey.Scott at wizards.com Mon Sep 19 21:30:41 2005 From: Casey.Scott at wizards.com (Scott, Casey) Date: Mon, 19 Sep 2005 12:30:41 -0700 Subject: odd permissions problem Message-ID: <9A072150141F5C489DC92CFCB8C0FD490503D729@e2ksea2.wotc.wizards.com> Wow. Sorry for the mis-post!! Casey > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Scott, Casey > Sent: Monday, September 19, 2005 12:28 PM > To: Marc Powell; Nagios User List > Subject: RE: [Nagios-users] odd permissions problem > > It does create it when nagios starts, and the command {} > entry is correct. The host{} and service {} entrys in the > objects.cache are also correct. Is there any other way you > can think of that Nagios could pass one set of command > arguments to the service check and another to the host check? > > Thanks for your help, > Casey > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc > > Powell > > Sent: Monday, September 19, 2005 12:20 PM > > To: Nagios User List > > Subject: RE: [Nagios-users] odd permissions problem > > > > These look correct. It looks like you're using Nagios 2.x which > > introduced a config cache file that is read by the CGI's instead of > > the cfg_file's. Is the cache file (object_cache_file in nagios.cfg) > > being re-created when you restart nagios? If the nagios daemon is > > aware of an object via the cfg_file's, and therefore shows > it in the > > scheduling queue, but the cgi's aren't because it doesn't appear in > > the object cache you might see the symptoms you're reporting. > > This may happen if permissions on the object cache file are > such that > > nagios can't delete or overwrite it. I would expect nagios > to fail in > > that situation but it may not. With 1.x I've always seen these > > associated with configuration problems or permissions > issues but the > > object cache may introduce a new scenario. I'm not sure and I don't > > have 2.x installation to test with yet but it seems like the next > > logical step to me. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Char Skall > > > Sent: Monday, September 19, 2005 12:44 PM > > > To: Nagios User List > > > Subject: Re: [Nagios-users] odd permissions problem > > > > > > Here's the definitions involved. > > > > > > # 'Cisco 1700vzw' host definition > > > define host{ > > > use hosts ; Name of host template to use > > > > > > host_name Cisco1700vzw > > > alias Cisco 1700 VZW > > > address 10.0.8.2 > > > check_command check-host-alive > > > max_check_attempts 20 > > > contact_groups router-admins > > > notification_interval 60 > > > notification_period 24x7 > > > notification_options d,u,r > > > } > > > > > > # Service definition > > > define service{ > > > use services ; Name of service > template to > > use > > > > > > host_name Cisco1700vzw > > > service_description PING > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 5 > > > retry_check_interval 1 > > > contact_groups router-admins > > > notification_interval 240 > > > notification_period 24x7 > > > notification_options c,r > > > check_command check_ping!100.0,20%!500.0,60% > > > } > > > > > > # 'routers' host group definition > > > define hostgroup{ > > > hostgroup_name routers > > > alias Routers > > > # contact_groups router-admins > > > members Cisco1700,Cisco1700fdle,Cisco1700vzw > > > } > > > > > > This is how everything else is setup and I can log in and > > access any > > > information and execute any commands I want except when > they involve > > the > > > Cisco1700vzw. If you need the entire file let me know I'll attach > > those if > > > needed. > > > > > > Thanks for your assistance > > > > > > > > > > > > > > > On 9/19/05, Marc Powell wrote: > > > > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > > > users- > > > > admin at lists.sourceforge.net] On Behalf Of charskall at gmail.com > > > > Sent: Saturday, September 17, 2005 6:55 PM > > > > To: nagios-users at lists.sourceforge.net > > users at lists.sourceforge.net> > > > > Subject: [Nagios-users] odd permissions problem > > > > > > > > I have Nagios running fine. All of my orginal settings work > > fine > > > and > > > > everything is being checked like i want. I can make > > adjustments to > > > > services.cfg and other cfg files and restart nagios without > > issue. > > > > > > > > Until I added a new host. I created thenew host and added it > > to > > > the > > > > appropriate host group. The new host appears perfectly in the > > > > scheduling > > > > cue. The problem is it will not appear in host group overview > > and > > > when > > > > I > > > > click on it I get the "It appears as though you do not have > > > permission > > > > to view information for this host...". I am logging in as the > > only > > > > user > > > > thats been entered "nagiosadmin" and have set that user for > > all of > > > the > > > > access permissions in cgi.cfg . I also made sure the > > nagiosadmin > > > is > > > > listed as the contact for all host groups. I can access > > everything > > > > else > > > > without problems just this one newly added host. > > > > > > I'd check for configuration errors with '/path/to/nagios -v > > > /path/to/nagios.cfg', typos and also look for permission > > problems on > > > the > > > files you edited (can your web server read all of > > them?). Beyond > > > that, > > > the appropriate host, service and hostgroup definitions > > will probably > > > be > > > needed for us to troubleshoot further. > > > > > > -- > > > Marc > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download it for free - -and be entered to win a 42" plasma > tv or your > > very own Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv > or your very own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psingh at inforelay.com Mon Sep 19 21:36:02 2005 From: psingh at inforelay.com (Paul Singh) Date: Mon, 19 Sep 2005 15:36:02 -0400 Subject: Failover implementation help Message-ID: I'm currently trying to write a script to check to see if my primary instance of Nagios is running. That part is easy. I'm having trouble sending the appropriate commands to the external command file though. Can anyone give me the syntax they used to achieve this or maybe send me the script they wrote? Paul Singh -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmourani at privalodc.com Mon Sep 19 21:40:05 2005 From: gmourani at privalodc.com (gmourani at privalodc.com) Date: Mon, 19 Sep 2005 15:40:05 -0400 (EDT) Subject: Make Tactical Overview look like BigBrother view Message-ID: <27631.70.80.182.163.1127158805.squirrel@webmail.privalodc.com> Hello list, I'm using Nagios with success since many years now and like it a lot. Personnaly, I think it is the most complete and powerfull open source monitoring service tool available. Ok, I'm here not to just say that but because I'm wondering whatever there is or exist some framework, thechnic etc that could make the Tactical Overview (TAC) page of Nagios look like the one on Bigbrother (yes using points to represent nodes). Gerhard, ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Mon Sep 19 22:31:39 2005 From: moshesharon at gmail.com (Moshe Sharon) Date: Mon, 19 Sep 2005 20:31:39 +0000 (UTC) Subject: Make Tactical Overview look like BigBrother view References: <27631.70.80.182.163.1127158805.squirrel@webmail.privalodc.com> Message-ID: Hello you should check naupy. at http://naupy.sourceforge.net/ im pretty sure it wont work with version 2. but its easy to adjust it hope it helped Moshe Sharon ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dist-list at LEXUM.UMontreal.CA Mon Sep 19 22:54:12 2005 From: dist-list at LEXUM.UMontreal.CA (FM) Date: Mon, 19 Sep 2005 16:54:12 -0400 Subject: NRPE In-Reply-To: References: Message-ID: <432F2574.4080005@lexum.umontreal.ca> Hello, Do you have the nagios user on your remote server ? reg, Jonathan Carpenter wrote: > I have installed nagios and configured nagios on one server to monitor > several servers with the check_ping plugin. Everything works great now > I have installed NRPE on one of the remote servers running Fedora 4. I > have edited /etc/services and added the following > > nrpe 5666/tcp # NRPE > > and created a file in /etc/xinetd.d/ called nrpe the contents in it are > > # default: on > # description: NRPE > service nrpe > { > flags = REUSE > socket_type = stream > wait = no > user = nagios > server = /home/nagios/nrpe > server_args = -c /home/nagios/nrpe --inetd > log_on_failure += USERID > disable = no > only_from = 1.2.3.4 <-- ip to nagios server > } > When I run /etc/rc.d/init.d/xinetd restart I get these errors in > /var/log/messages > Sep 17 02:56:19 db1 xinetd: xinetd startup succeeded > Sep 17 02:56:19 db1 xinetd[18797]: bind failed (Address already in use > (errno = 98)). service = nrpe > Sep 17 02:56:19 db1 xinetd[18797]: Service nrpe failed to start and is > deactivated. > Sep 17 02:56:19 db1 xinetd[18797]: xinetd Version 2.3.13 started with > libwrap loadavg options compiled in. > Sep 17 02:56:19 db1 xinetd[18797]: Started working: 0 available services > > Any help would be greatly appreciated. > -- > Jonathan Carpenter ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rbrewer at ud.com Mon Sep 19 23:22:40 2005 From: rbrewer at ud.com (Robby Brewer) Date: Mon, 19 Sep 2005 16:22:40 -0500 Subject: NSClient hangs randomly Message-ID: <6CBB3FF28784714BB8826060E71339710285C0FF@exchange.corp.ud.com> I could not find any info searching the archive. Has anyone had an issue with NSClient hanging occasionally? Check_nt running against NSClient on a Windows Exchange server mostly works. Occasionally though it appears that the service hangs. All requests timeout both via the console and via the command line. I have tried increasing the timeout value to 30 and even 60 seconds, but once the service appears to hang it will not return any results. Stopping and restarting the service clears everything up until the next hang. This is occurring as frequently as a few times a day, but not every day. When NSClient is not returning anything I can telnet to port 1248: [root at nagiosconsole libexec]# ./check_nt -H corp.ud.com -p 1248 -t 60 -v USEDDISKSPACE -l C -w 80 -c 90 No data was recieved from host! [root at nagiosconsole root]# telnet corp.ud.com 1248 Trying 10.10.0.207... Connected to exchange.corp.ud.com (10.10.0.207). Escape character is '^]'. ---------------------------------------- After restarting the service ---------------------------------------- [root at nagiosconsole libexec]# ./check_nt -H exchange.corp.ud.com -p 1248 -t 30 -v USEDDISKSPACE -l C -w 80 -c 90 C:\ - total: 67.72 Gb - used: 45.63 Gb (67%) - free 22.09 Gb (33%) We have completely uninstalled and reinstalled NSClient, but get the same behavior. The windows event viewer does not show anything interesting. This occurs using both version 1.06.02 and 2.01. Any ideas? Thanks in advance. ------------------------------------------ Robby Brewer Senior Support Engineer United Devices 512-692-4126 ------------------------------------------ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Mon Sep 19 23:38:36 2005 From: td3201 at gmail.com (Terry) Date: Mon, 19 Sep 2005 16:38:36 -0500 Subject: Failover implementation help In-Reply-To: References: Message-ID: <8ee061010509191438d44f28f@mail.gmail.com> #!/bin/bash MASTER=foobar FILE="/var/log/nagios/rw/nagios.cmd" /usr/lib/nagios/plugins/check_nrpe -H $MASTER -p 3211 -c check_nagios if [ $? = "0" ];then TIME=`date +%s` echo "[$TIME] STOP_EXECUTING_SVC_CHECKS" >> $FILE TIME=`date +%s` echo "[$TIME] DISABLE_NOTIFICATIONS" >> $FILE else sleep 60 /usr/lib/nagios/plugins/check_nrpe -H $MASTER -p 3211 -c check_nagios if [ $? = "0" ];then TIME=`date +%s` echo "[$TIME] DISABLE_NOTIFICATIONS" >> $FILE else TIME=`date +%s` echo "[$TIME] START_EXECUTING_SVC_CHECKS" >> $FILE TIME=`date +%s` echo "[$TIME] ENABLE_NOTIFICATIONS" >> $FILE fi fi On 9/19/05, Paul Singh wrote: > I'm currently trying to write a script to check to see if my primary > instance of Nagios is running. That part is easy. I'm having trouble sending > the appropriate commands to the external command file though. > > Can anyone give me the syntax they used to achieve this or maybe send me the > script they wrote? > > Paul Singh > > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fruiz at netsuite.com Mon Sep 19 23:38:05 2005 From: fruiz at netsuite.com (Ruiz, Francisco) Date: Mon, 19 Sep 2005 14:38:05 -0700 Subject: notification_options Message-ID: <2BF1D777D914174DB2F6874540E3B6C70503EC1D@corpmail1.svale.netledger.com> Hi, Can someone please explain to me how I could go about setting up different notification_options for email and pagers. So in effect what I am trying to do is as follows notification_options w,u,c <-- for pager notification_options w,u,c,r <-- for email so in essence for one particular service, I get both pages, and emails. I want to disable recovery pages, however I still want to see recovery emails. Hope this makes sense. >From what I have seen in the documentation I am not too sure if this is possible. Thanks in advance! ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at stuff-done.co.uk Mon Sep 19 23:41:12 2005 From: pete at stuff-done.co.uk (Pete Dewell) Date: Mon, 19 Sep 2005 22:41:12 +0100 Subject: NSClient hangs randomly In-Reply-To: <6CBB3FF28784714BB8826060E71339710285C0FF@exchange.corp.ud.com> References: <6CBB3FF28784714BB8826060E71339710285C0FF@exchange.corp.ud.com> Message-ID: <432F3078.2080205@stuff-done.co.uk> Try changing the port on which nsclient works. This is a problem with Exchange - it tends to pinch the 1248 port. I found that changing the port to 2323 tends to stop this happening. Pete Dewell Robby Brewer wrote: > I could not find any info searching the archive. Has anyone had an issue with NSClient hanging occasionally? Check_nt running against NSClient on a Windows Exchange server mostly works. Occasionally though it appears that the service hangs. All requests timeout both via the console and via the command line. I have tried increasing the timeout value to 30 and even 60 seconds, but once the service appears to hang it will not return any results. Stopping and restarting the service clears everything up until the next hang. This is occurring as frequently as a few times a day, but not every day. When NSClient is not returning anything I can telnet to port 1248: > > [root at nagiosconsole libexec]# ./check_nt -H corp.ud.com -p 1248 -t 60 -v USEDDISKSPACE -l C -w 80 -c 90 > No data was recieved from host! > > [root at nagiosconsole root]# telnet corp.ud.com 1248 > Trying 10.10.0.207... > Connected to exchange.corp.ud.com (10.10.0.207). > Escape character is '^]'. > > ---------------------------------------- > After restarting the service > ---------------------------------------- > [root at nagiosconsole libexec]# ./check_nt -H exchange.corp.ud.com -p 1248 -t 30 -v USEDDISKSPACE -l C -w 80 -c 90 > C:\ - total: 67.72 Gb - used: 45.63 Gb (67%) - free 22.09 Gb (33%) > > We have completely uninstalled and reinstalled NSClient, but get the same behavior. The windows event viewer does not show anything interesting. This occurs using both version 1.06.02 and 2.01. Any ideas? Thanks in advance. > > > ------------------------------------------ > Robby Brewer > Senior Support Engineer > United Devices > 512-692-4126 > ------------------------------------------ > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 gridshield.net Mon Sep 19 23:47:52 2005 From: marc at gridshield.net (Marc DeTrano) Date: Mon, 19 Sep 2005 15:47:52 -0600 Subject: notification_options In-Reply-To: <2BF1D777D914174DB2F6874540E3B6C70503EC1D@corpmail1.svale.netledger.com> References: <2BF1D777D914174DB2F6874540E3B6C70503EC1D@corpmail1.svale.netledger.com> Message-ID: <432F3208.3020208@gridshield.net> To handle this, I just setup separate contacts (actually separate templates, then use those in the contact definitions). So you may have a contact called sysadmin-email, with notification_options w,u,c,r , and another called sysadmin-pager , with notification_options w,u,c. Both can be in the same contactgroups, but sysadmin-pager should not receive the recovery alerts. The notification commands for each contact also must be setup appropriately, of course. Marc Ruiz, Francisco wrote: >Hi, > >Can someone please explain to me how I could go about setting up >different notification_options for email and pagers. > >So in effect what I am trying to do is as follows > >notification_options w,u,c <-- for pager > >notification_options w,u,c,r <-- for email > >so in essence for one particular service, I get both pages, and emails. >I want to disable recovery pages, however I still want to see recovery >emails. > >Hope this makes sense. > >>From what I have seen in the documentation I am not too sure if this is >possible. > >Thanks in advance! > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. >Download it for free - -and be entered to win a 42" plasma tv or your very >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Tue Sep 20 04:12:35 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Tue, 20 Sep 2005 12:12:35 +1000 Subject: Mail messages not getting sent out Message-ID: Hi all I am having trouble getting mail messages to be sent out to my email. I have set up the correct email in the contacts file, have put the contact into a contact group, and made the group the contact group for both the host and the service. I have tested the notifications by setting up a network printer with a ping service and then unplugging the cable. Nagios notices that it is unreachable and in the Web interface it says that it is critical. Notifications are set to 1 for the service and show that they are enabled in the web interface. However the current attempt is 1/3 and did not go up at all. I changed it to have only 1 attempt and it says 1/1 but still no email. I have spent a lot of time consulting various forums and other sources before coming here as I do not wish to waste any ones time but cannot find an answer on my own. Any help would be greatly appreciated. Thanks a lot Ray La Peyre ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Tue Sep 20 05:59:48 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Tue, 20 Sep 2005 04:59:48 +0100 (BST) Subject: Mail messages not getting sent out In-Reply-To: References: Message-ID: <20050920035948.92756.qmail@web34814.mail.mud.yahoo.com> In order to enable notifications you have to clik on the link "Enable notifications for this service" for the service that you want. Thanks Joseph --- Ray La Peyre wrote: > > Hi all > > > I am having trouble getting mail messages to be sent > out to my email. I have > set up the correct email in the contacts file, have > put the contact into a > contact group, and made the group the contact group > for both the host and > the service. I have tested the notifications by > setting up a network printer > with a ping service and then unplugging the cable. > Nagios notices that it is > unreachable and in the Web interface it says that it > is critical. > Notifications are set to 1 for the service and show > that they are enabled in > the web interface. However the current attempt is > 1/3 and did not go up at > all. I changed it to have only 1 attempt and it says > 1/1 but still no email. > I have spent a lot of time consulting various forums > and other sources > before coming here as I do not wish to waste any > ones time but cannot find > an answer on my own. Any help would be greatly > appreciated. > > Thanks a lot > > Ray La Peyre > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Tue Sep 20 07:52:06 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Tue, 20 Sep 2005 15:52:06 +1000 Subject: Mail messages not getting sent out In-Reply-To: <20050920035948.92756.qmail@web34814.mail.mud.yahoo.com> References: <20050920035948.92756.qmail@web34814.mail.mud.yahoo.com> Message-ID: Thanks for the reply, I have already set up that up, Notifications are enabled already. I did a bit more troubleshooting and discovered that it will email a notification if it's a service that goes down (not a host) and only to an internal address not an external address (ie root at localhost works but something like user at mydomain.com wont) -----Original Message----- From: John Joseph [mailto:jjk_saji at yahoo.com] Sent: Tuesday, 20 September 2005 2:00 PM To: Ray La Peyre; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Mail messages not getting sent out In order to enable notifications you have to clik on the link "Enable notifications for this service" for the service that you want. Thanks Joseph --- Ray La Peyre wrote: > > Hi all > > > I am having trouble getting mail messages to be sent > out to my email. I have > set up the correct email in the contacts file, have > put the contact into a > contact group, and made the group the contact group > for both the host and > the service. I have tested the notifications by > setting up a network printer > with a ping service and then unplugging the cable. > Nagios notices that it is > unreachable and in the Web interface it says that it > is critical. > Notifications are set to 1 for the service and show > that they are enabled in > the web interface. However the current attempt is > 1/3 and did not go up at > all. I changed it to have only 1 attempt and it says > 1/1 but still no email. > I have spent a lot of time consulting various forums > and other sources > before coming here as I do not wish to waste any > ones time but cannot find > an answer on my own. Any help would be greatly > appreciated. > > Thanks a lot > > Ray La Peyre > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Tue Sep 20 07:56:00 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Tue, 20 Sep 2005 06:56:00 +0100 (BST) Subject: Mail messages not getting sent out In-Reply-To: References: Message-ID: <20050920055600.36524.qmail@web34806.mail.mud.yahoo.com> In that case you have to set up your MTA for realying --- Ray La Peyre wrote: > > Thanks for the reply, > > I have already set up that up, Notifications are > enabled already. I did a > bit more troubleshooting and discovered that it will > email a notification if > it's a service that goes down (not a host) and only > to an internal address > not an external address (ie root at localhost works but > something like > user at mydomain.com wont) > > > > -----Original Message----- > From: John Joseph [mailto:jjk_saji at yahoo.com] > Sent: Tuesday, 20 September 2005 2:00 PM > To: Ray La Peyre; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Mail messages not > getting sent out > > In order to enable notifications you have to clik on > the link "Enable notifications for this service" for > the service that you want. > Thanks > Joseph > > --- Ray La Peyre wrote: > > > > > Hi all > > > > > > I am having trouble getting mail messages to be > sent > > out to my email. I have > > set up the correct email in the contacts file, > have > > put the contact into a > > contact group, and made the group the contact > group > > for both the host and > > the service. I have tested the notifications by > > setting up a network printer > > with a ping service and then unplugging the cable. > > Nagios notices that it is > > unreachable and in the Web interface it says that > it > > is critical. > > Notifications are set to 1 for the service and > show > > that they are enabled in > > the web interface. However the current attempt is > > 1/3 and did not go up at > > all. I changed it to have only 1 attempt and it > says > > 1/1 but still no email. > > I have spent a lot of time consulting various > forums > > and other sources > > before coming here as I do not wish to waste any > > ones time but cannot find > > an answer on my own. Any help would be greatly > > appreciated. > > > > Thanks a lot > > > > Ray La Peyre > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's > > Geronimo App Server. > > Download it for free - -and be entered to win a > 42" > > plasma tv or your very > > own Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > > > > > ___________________________________________________________ > > To help you stay safe and secure online, we've > developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Tue Sep 20 08:05:01 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Tue, 20 Sep 2005 16:05:01 +1000 Subject: Mail messages not getting sent out In-Reply-To: <20050920055600.36524.qmail@web34806.mail.mud.yahoo.com> References: <20050920055600.36524.qmail@web34806.mail.mud.yahoo.com> Message-ID: I know this isnt a MTA mailing list but would you know how to set that up? I have been trying unsuccessfully to set up the mail but cant seem to do it. I am using the standard mail program for Red Hat 9 which I believe is sendmail -----Original Message----- From: John Joseph [mailto:jjk_saji at yahoo.com] Sent: Tuesday, 20 September 2005 3:56 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail messages not getting sent out In that case you have to set up your MTA for realying --- Ray La Peyre wrote: > > Thanks for the reply, > > I have already set up that up, Notifications are > enabled already. I did a > bit more troubleshooting and discovered that it will > email a notification if > it's a service that goes down (not a host) and only > to an internal address > not an external address (ie root at localhost works but > something like > user at mydomain.com wont) > > > > -----Original Message----- > From: John Joseph [mailto:jjk_saji at yahoo.com] > Sent: Tuesday, 20 September 2005 2:00 PM > To: Ray La Peyre; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Mail messages not > getting sent out > > In order to enable notifications you have to clik on > the link "Enable notifications for this service" for > the service that you want. > Thanks > Joseph > > --- Ray La Peyre wrote: > > > > > Hi all > > > > > > I am having trouble getting mail messages to be > sent > > out to my email. I have > > set up the correct email in the contacts file, > have > > put the contact into a > > contact group, and made the group the contact > group > > for both the host and > > the service. I have tested the notifications by > > setting up a network printer > > with a ping service and then unplugging the cable. > > Nagios notices that it is > > unreachable and in the Web interface it says that > it > > is critical. > > Notifications are set to 1 for the service and > show > > that they are enabled in > > the web interface. However the current attempt is > > 1/3 and did not go up at > > all. I changed it to have only 1 attempt and it > says > > 1/1 but still no email. > > I have spent a lot of time consulting various > forums > > and other sources > > before coming here as I do not wish to waste any > > ones time but cannot find > > an answer on my own. Any help would be greatly > > appreciated. > > > > Thanks a lot > > > > Ray La Peyre > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's > > Geronimo App Server. > > Download it for free - -and be entered to win a > 42" > > plasma tv or your very > > own Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > > > > > ___________________________________________________________ > > To help you stay safe and secure online, we've > developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Tue Sep 20 08:08:53 2005 From: mailings at good-it.com (Johan Barelds) Date: Tue, 20 Sep 2005 08:08:53 +0200 Subject: check_log v1.4.1 doesn't work with NRPE? Message-ID: <200509200808.53978.mailings@good-it.com> Hi all, I am using the v1.4.1. plugins on a client and Nagios 2.0.0.b4 on the server. The plugins are beeing executed via NRPE om the client. All the plugins seems to work fine exept the check_log plugin. The nrpe.cfg entry for the check_proc is: ------------------ command[check_log_notice]=/usr/local/nagios/libexec/check_log -F /var/log/messages -O /var/tmp/nagios/messages.NOTICE -q NOTIC E ------------------ when i do run the plugin from the commandline on the client it say: ------------------ Log check ok - 0 pattern matches found ------------------ When i do it from the the commandline on the Nagios server it says: ------------------ CHECK_NRPE: Error receiving data from daemon. ------------------ All other plugins work fine from both the server and the client side. Is someone aware of any bugs in this check_log plugin when it's executed via NRPE? Thanks for any reply! -- Kind Regards / Met vriendelijke groet, Johan Barelds ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at nbux.com Tue Sep 20 08:12:55 2005 From: lists at nbux.com (Christophe Yayon) Date: Tue, 20 Sep 2005 08:12:55 +0200 Subject: NagiosGrapher and multigraph Message-ID: <432FA867.10909@nbux.com> Hi all, I have just installed/configured the last NagiosGrapher dev version (1.3), and i can't get multigraph. My single graphs are ok, no problem with them, but no luck with multigraph... Perhaps is it broken ? Here is my configurations files : - ngraph.ncfg define config { pipe /var/spool/nagios/ngraph.pipe step 60 heartbeat 600 rrdpath /mnt/datas/nagios/NagiosGrapher/rrd/ tmppath /mnt/datas/nagios/NagiosGrapher/tmp/ serviceext_type MULTIPLE serviceextinfo /oppt/nagios/etc/sofinco/serviceextinfo.cfg serviceext_path /opt/nagios/etc/sofinco/serviceext url /nagios/cgi-bin/graphs.cgi nagios_config /opt/nagios/etc/nagios.cfg cgi_config /opt/nagios/etc/cgi.cfg icon_image_tag graph.png log_file /var/spool/nagios/NagiosGrapher.log log_level 1 rrd_color_background fcfcfc rrd_color_font 333333 rrd_color_arrow 000000 rrd_color_frame 333333 rrd_color_grid rrd_color_canvas ffffff fe_use_browser_all 1 fe_use_browser_for nagios,ssr fe_use_browser_url 1 } # Includes cfg_dir=/opt/nagios/contrib/NagiosGrapher/etc/ngraph.d And in ngraph.d directory : - ngraph.d/ngraph.ncfg (single graphs) : # PING define ngraph{ service_name PING graph_log_regex loss = ([0-9]*) graph_value loss graph_units % graph_legend Packet Lost (%) page Packet Lost rrd_plottype LINE2 rrd_color ff0000 } define ngraph{ service_name PING graph_log_regex RTA = ([0-9]*\.[0-9]*) graph_value rta graph_units ms graph_legend Response Time (ms) page Response Time rrd_plottype LINE2 rrd_color 00cc99 } - ngraph.d/nmgraph.ncfg : define nmgraph{ host_name Multigraph service_name PING hosts .*? services PING graph_type stack } I should get all ping graph in Multigraph hostname, it appears in the list, but no graphs... Do i miss something ? Thanks in advance ... ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Tue Sep 20 08:15:53 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Tue, 20 Sep 2005 07:15:53 +0100 (BST) Subject: Mail messages not getting sent out In-Reply-To: References: Message-ID: <20050920061553.90365.qmail@web34809.mail.mud.yahoo.com> Hi This is how I did setup for sendmail edit sendmail.cf # "Smart" relay host DSyourmailserver.com #fallback MX host O FallbackMXhost=yourmailserever.com Ray :- please do the list a favour , please try to remove auto-message of your collegue "Inder Singh " inder.singh at itng.com.au ,email id , for each mail any one sends to the mailing list , they get a auto -reply which may be annoying Thanks Joseph JOhn --- Ray La Peyre wrote: > I know this isnt a MTA mailing list but would you > know how to set that up? I > have been trying unsuccessfully to set up the mail > but cant seem to do it. I > am using the standard mail program for Red Hat 9 > which I believe is sendmail > > > -----Original Message----- > From: John Joseph [mailto:jjk_saji at yahoo.com] > Sent: Tuesday, 20 September 2005 3:56 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Mail messages not > getting sent out > > In that case you have to set up your MTA for > realying > > > --- Ray La Peyre wrote: > > > > > Thanks for the reply, > > > > I have already set up that up, Notifications are > > enabled already. I did a > > bit more troubleshooting and discovered that it > will > > email a notification if > > it's a service that goes down (not a host) and > only > > to an internal address > > not an external address (ie root at localhost works > but > > something like > > user at mydomain.com wont) > > > > > > > > -----Original Message----- > > From: John Joseph [mailto:jjk_saji at yahoo.com] > > Sent: Tuesday, 20 September 2005 2:00 PM > > To: Ray La Peyre; > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Mail messages not > > getting sent out > > > > In order to enable notifications you have to clik > on > > the link "Enable notifications for this service" > for > > the service that you want. > > Thanks > > Joseph > > > > --- Ray La Peyre wrote: > > > > > > > > Hi all > > > > > > > > > I am having trouble getting mail messages to be > > sent > > > out to my email. I have > > > set up the correct email in the contacts file, > > have > > > put the contact into a > > > contact group, and made the group the contact > > group > > > for both the host and > > > the service. I have tested the notifications by > > > setting up a network printer > > > with a ping service and then unplugging the > cable. > > > Nagios notices that it is > > > unreachable and in the Web interface it says > that > > it > > > is critical. > > > Notifications are set to 1 for the service and > > show > > > that they are enabled in > > > the web interface. However the current attempt > is > > > 1/3 and did not go up at > > > all. I changed it to have only 1 attempt and it > > says > > > 1/1 but still no email. > > > I have spent a lot of time consulting various > > forums > > > and other sources > > > before coming here as I do not wish to waste any > > > ones time but cannot find > > > an answer on my own. Any help would be greatly > > > appreciated. > > > > > > Thanks a lot > > > > > > Ray La Peyre > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's > > > Geronimo App Server. > > > Download it for free - -and be entered to win a > > 42" > > > plasma tv or your very > > > own Sony(tm)PSP. Click here to play: > > > http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin > version > > > (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk > > being > > > sent to /dev/null > > > > > > > > > > > > > > ___________________________________________________________ > > > > To help you stay safe and secure online, we've > > developed the all new Yahoo! > > Security Centre. http://uk.security.yahoo.com > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's > > Geronimo App Server. > > Download it for free - -and be entered to win a > 42" > > plasma tv or your very > > own Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting > > any issue. > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > > > > > > > > > ___________________________________________________________ > > To help you stay safe and secure online, we've > developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gliebe at fhv.at Tue Sep 20 08:22:31 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Tue, 20 Sep 2005 08:22:31 +0200 Subject: check temperature Message-ID: <1127197351.821.4.camel@glr-nb.dh.uclv.net> Hi there, I want to check the temperatures from our Cisco switches. Is it possible to do it with the plugin "check_temptraxe" ? If it is possible, where can I download it. We are running Nagios 2.0b3 on FreeBSD 5.4-STABLE. Thanks in advance. Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services Hochschulstra?e 1, A-6850 Dornbirn Telefon ++43 / (0)5572 / 20336-2207 E-Mail: richard.gliebe at fhv.at ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Tue Sep 20 08:30:16 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Tue, 20 Sep 2005 14:30:16 +0800 Subject: No Notification email Message-ID: Hello all! Guys help me. It seems that nagios is not sending notifications on most of my host/services. i have (i think) set up hosts, contacts and contactgroups.cfg correctly. here are the files: contacts.cfg define contact{ contact_name elizar alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email eli_palad at ... elizar.palad at ... } define contact{ contact_name adleo alias Au de Leon service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email adleo at p3m } contactgroups.cfg define contactgroup{ contactgroup_name admins alias Nagios Administrators members adleo, elizar } hosts.cfg define host{ use generic-host host_name 1 NFS05 address 10.160.2.5 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } services.cfg define service{ use generic-service ; host_name 2 P4FTPPROD service_description Disk Usage is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 960 notification_period 24x7 check_command check_remote_disk!rsh!ftp09!95!97 When the it triggers the warning or even the critical, no notification is sent. sending mail manually work, by the way.. commands.cfg define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** AMKOR MONITORING SERVER *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nH ost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mailx -s "** $ NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Thanks in advance! -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KleinBiesel at aol.com Tue Sep 20 08:33:29 2005 From: KleinBiesel at aol.com (KleinBiesel at aol.com) Date: Tue, 20 Sep 2005 02:33:29 -0400 Subject: premature end of script Message-ID: <5D9AAD10.1A55ECF1.3B30519B@aol.com> hi i had an compareable failure! but i got it with the help of a friend. at first check if the libgd.so.2 is known to the status.cgi with -> ldd statusmap.cgi then you should check if your gl are installed! i?ve downloaded "gd-2.0.33.tar" and recomiled my nagios. if im right then your nagios runs greatly on your mashine but isnt able to show anything on status map. just try chronometer --> On 9/17/05, Jelle De Pot wrote: Hello, When I visit a nagios .cgi file on my website I get following error: [Sun Sep 18 08:26:59 2005] [error] [client 217.22.180.65] Premature end of scrip t headers: status.cgi, referer: http://jelle.maltacentral.com/nagios/side.html the nagios -v etc/nagios.cfg gives me no errors: Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check So I start nagios: nagios etc/nagios.cfg and it runs fine. When I run ./status.cfg at the bash I get this: [root at appserver3 sbin]# ./status.cgi getcgivars(): Unsupported REQUEST_METHOD -> '' I'm guessing you're trying to execute the CGI from a command line. So the permissions are right but maybe that 'error' can give someone a clue. I am really stuck on what that premature end of script error might be. Any advise would be greatly appriciated. Regards Jelle De Pot ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ccyuen at hkcert.org Tue Sep 20 08:35:29 2005 From: ccyuen at hkcert.org (CC Yuen) Date: Tue, 20 Sep 2005 14:35:29 +0800 Subject: Questions for research Message-ID: <432FADB1.3040409@hkcert.org> Dear all expert, I am doing research for my company for nagios, some questions that I can't find on the webpage, hope can get help in here, thanks a lot!!! 1. Does it only support SNMP for the monitoring method? Or I can setup a monitor method by other ways (e.g. TCP based -- manual assign a port number, or ICMP function e.g. send hello message to some service) 2. Does it has any functions that designed for IDS machine? 3. Can I fully access it (admin, view report... etc) by web page? How about if I want to access through https? 4. Does anyone use it to monitor some IP based device (not a server or service, e.g. a KVM device which has an IP number) 5. How about the report? Can I have a real time report for all monitors? Can I assign time/dat/week/month based to get the historical report? And can I set a schedule to auto gen a historical report? 6. Besides general alert functions (email, sound and popup message), I saw it can support SMS, pager and IM to send alert. Do I need to install some additional stuffs (something like API) if I want the SMS and pager alert? if not, how to do that? 7. Can I create different user which has different access rights to access Nagios? 8. If I want to export the report, what kind of file format can be export? These questions really really make me cross, hope some expect can give me help~~ Thanks Chung ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Tue Sep 20 08:35:51 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Tue, 20 Sep 2005 16:35:51 +1000 Subject: Mail messages not getting sent out In-Reply-To: <20050920061553.90365.qmail@web34809.mail.mud.yahoo.com> References: <20050920061553.90365.qmail@web34809.mail.mud.yahoo.com> Message-ID: Thanks for the help. It still doesn't go through though. The delivery notification says: 550-Verification failed for 550-unroutable mail domain "localhost.localdomain" Do I need to set up a masquerade or something similar? I will see what I can do about the auto reply. Its annoying me too -----Original Message----- From: John Joseph [mailto:jjk_saji at yahoo.com] Sent: Tuesday, 20 September 2005 4:16 PM To: Ray La Peyre; nagios-users at lists.sourceforge.net Cc: support at itng.com.au Subject: RE: [Nagios-users] Mail messages not getting sent out Hi This is how I did setup for sendmail edit sendmail.cf # "Smart" relay host DSyourmailserver.com #fallback MX host O FallbackMXhost=yourmailserever.com Ray :- please do the list a favour , please try to remove auto-message of your collegue "Inder Singh " inder.singh at itng.com.au ,email id , for each mail any one sends to the mailing list , they get a auto -reply which may be annoying Thanks Joseph JOhn --- Ray La Peyre wrote: > I know this isnt a MTA mailing list but would you > know how to set that up? I > have been trying unsuccessfully to set up the mail > but cant seem to do it. I > am using the standard mail program for Red Hat 9 > which I believe is sendmail > > > -----Original Message----- > From: John Joseph [mailto:jjk_saji at yahoo.com] > Sent: Tuesday, 20 September 2005 3:56 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Mail messages not > getting sent out > > In that case you have to set up your MTA for > realying > > > --- Ray La Peyre wrote: > > > > > Thanks for the reply, > > > > I have already set up that up, Notifications are > > enabled already. I did a > > bit more troubleshooting and discovered that it > will > > email a notification if > > it's a service that goes down (not a host) and > only > > to an internal address > > not an external address (ie root at localhost works > but > > something like > > user at mydomain.com wont) > > > > > > > > -----Original Message----- > > From: John Joseph [mailto:jjk_saji at yahoo.com] > > Sent: Tuesday, 20 September 2005 2:00 PM > > To: Ray La Peyre; > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Mail messages not > > getting sent out > > > > In order to enable notifications you have to clik > on > > the link "Enable notifications for this service" > for > > the service that you want. > > Thanks > > Joseph > > > > --- Ray La Peyre wrote: > > > > > > > > Hi all > > > > > > > > > I am having trouble getting mail messages to be > > sent > > > out to my email. I have > > > set up the correct email in the contacts file, > > have > > > put the contact into a > > > contact group, and made the group the contact > > group > > > for both the host and > > > the service. I have tested the notifications by > > > setting up a network printer > > > with a ping service and then unplugging the > cable. > > > Nagios notices that it is > > > unreachable and in the Web interface it says > that > > it > > > is critical. > > > Notifications are set to 1 for the service and > > show > > > that they are enabled in > > > the web interface. However the current attempt > is > > > 1/3 and did not go up at > > > all. I changed it to have only 1 attempt and it > > says > > > 1/1 but still no email. > > > I have spent a lot of time consulting various > > forums > > > and other sources > > > before coming here as I do not wish to waste any > > > ones time but cannot find > > > an answer on my own. Any help would be greatly > > > appreciated. > > > > > > Thanks a lot > > > > > > Ray La Peyre > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's > > > Geronimo App Server. > > > Download it for free - -and be entered to win a > > 42" > > > plasma tv or your very > > > own Sony(tm)PSP. Click here to play: > > > http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin > version > > > (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk > > being > > > sent to /dev/null > > > > > > > > > > > > > > ___________________________________________________________ > > > > To help you stay safe and secure online, we've > > developed the all new Yahoo! > > Security Centre. http://uk.security.yahoo.com > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's > > Geronimo App Server. > > Download it for free - -and be entered to win a > 42" > > plasma tv or your very > > own Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting > > any issue. > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > > > > > > > > > ___________________________________________________________ > > To help you stay safe and secure online, we've > developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Tardy at canson.fr Tue Sep 20 09:14:21 2005 From: Daniel.Tardy at canson.fr (Daniel.Tardy at canson.fr) Date: Tue, 20 Sep 2005 09:14:21 +0200 Subject: Unix Client Plugins Message-ID: Hello everybody, I'm new in Suse and Nagios. I would like to download Unix Client plugins but I can't. The system seems to be different as usual so the result is bad. For a tar.gz, what must I use to unarchive the files, please ? Many thanks for your help. Best regards Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From ccyuen at hkcert.org Tue Sep 20 09:23:17 2005 From: ccyuen at hkcert.org (CC Yuen) Date: Tue, 20 Sep 2005 15:23:17 +0800 Subject: Some questions left..... Message-ID: <432FB8E5.2010801@hkcert.org> Hi all I still have some questions about the opertaions. 1. Does it can detect the downtime or connection performance degrade detect? 2. Does it needs a database to assist for operation (e.g. help for gen report... etc) 3. Can I specify view item in the report function? 4. Does it support auto-resume to service? Thanks for all help! Chung ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lutz.Koop.external at astrium.eads.net Tue Sep 20 09:22:40 2005 From: Lutz.Koop.external at astrium.eads.net (Koop, Lutz (external)) Date: Tue, 20 Sep 2005 09:22:40 +0200 Subject: AW: Unix Client Plugins Message-ID: <7579CAECCAF7D211B9600008C79139D80BA8C465@exdssfdh01.south.de.astrium.corp> in the system admin tool "yast", go to softwareinstallation and search for "nagios", there are the plugins tar -ztvf xxx.tar.gz --> list files in archive tar -zxf xxx.tar.gz --> extract files from archive with kind regards Lutz Koop -----Urspr?ngliche Nachricht----- Von: Daniel.Tardy at canson.fr [mailto:Daniel.Tardy at canson.fr] Gesendet: Dienstag, 20. September 2005 09:14 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Unix Client Plugins Hello everybody, I'm new in Suse and Nagios. I would like to download Unix Client plugins but I can't. The system seems to be different as usual so the result is bad. For a tar.gz, what must I use to unarchive the files, please ? Many thanks for your help. Best regards Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjk_saji at yahoo.com Tue Sep 20 09:29:22 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Tue, 20 Sep 2005 08:29:22 +0100 (BST) Subject: No Notification email In-Reply-To: References: Message-ID: <20050920072922.11958.qmail@web34809.mail.mud.yahoo.com> Hi Palad Can U try this from command mode printf "%b" "TEST TEST " | mail -s "Check Wheter U have /usr/bin/mailx " elizar.palad at gmail.com If the mail reaches your gmail id , it shows that , your command for "notify for email " is wrong , in my system , I do not have "/usr/bin/mailx" command , please check Thanks Joseph John --- "Elizar M. Palad" wrote: > Hello all! > Guys help me. > It seems that nagios is not sending notifications on > most of my > host/services. > i have (i think) set up hosts, contacts and > contactgroups.cfg > correctly. > here are the files: > contacts.cfg > define contact{ > contact_name elizar > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands > notify-by-email > host_notification_commands > host-notify-by-email > email > eli_palad at ... elizar.palad at ... > } > > > define contact{ > contact_name adleo > alias Au de Leon > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands > notify-by-email > host_notification_commands > host-notify-by-email > email adleo at p3m > } > > contactgroups.cfg > > define contactgroup{ > contactgroup_name admins > alias Nagios > Administrators > members adleo, elizar } > > > hosts.cfg > define host{ > use generic-host > host_name 1 NFS05 > address 10.160.2.5 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admins > } > > > > services.cfg > define service{ > use > generic-service ; > host_name 2 > P4FTPPROD > service_description Disk Usage > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 960 > notification_period 24x7 > check_command > check_remote_disk!rsh!ftp09!95!97 > > When the it triggers the warning or even the > critical, no notification > is sent. > > sending mail manually work, by the way.. > commands.cfg > > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** > AMKOR MONITORING > SERVER *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nH > ost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: > $LONGDATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | /usr/bin/mailx -s "** $ > NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ > is $SERVICESTATE$ > **" $CONTACTEMAIL$ > } > > > Thanks in advance! > > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Tardy at canson.fr Tue Sep 20 09:56:05 2005 From: Daniel.Tardy at canson.fr (Daniel.Tardy at canson.fr) Date: Tue, 20 Sep 2005 09:56:05 +0200 Subject: Linux and Windows file network check Message-ID: Hello Everybody, I would like to check by Nagios the arrival of a file based on another server (based on windows 2000) upon the local network via check_fileage. What syntax to use in Suse ? How to open the network before this check ? I'm too recent on Linux to know that. If anyone could answer me, thanks in advance. Best regards, Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From al at its-lehmann.de Tue Sep 20 09:51:10 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 20 Sep 2005 09:51:10 +0200 Subject: Questions for research In-Reply-To: <432FADB1.3040409@hkcert.org> References: <432FADB1.3040409@hkcert.org> Message-ID: <432FBF6E.30701@its-lehmann.de> Hello, On 20.09.2005 08:35, CC Yuen wrote: > Dear all expert, > > I am doing research for my company for nagios, some questions that I > can't find on the webpage, hope can get help in here, thanks a lot!!! After reading through your questions, I'd suggest you take a closer look to the web page. The manual explains (almost) all the things you want to know. > 1. Does it only support SNMP for the monitoring method? Or I can setup > a monitor method by other ways (e.g. TCP based -- manual assign a port > number, or ICMP function e.g. send hello message to some service) Yes. > 2. Does it has any functions that designed for IDS machine? You can do that, but you'll probably have to create your plugins yourself or tell the list which IDS you use - perhaps someone has a similar setup. > 3. Can I fully access it (admin, view report... etc) by web page? How > about if I want to access through https? You do many administrative tasks through the web fron-end, and depending on your web server setup you can access it through https. > 4. Does anyone use it to monitor some IP based device (not a server or > service, e.g. a KVM device which has an IP number) Quite definitely, though not me. > 5. How about the report? Can I have a real time report for all > monitors? Can I assign time/dat/week/month based to get the historical > report? And can I set a schedule to auto gen a historical report? Yes, but no automatically generated historical reports without some effort, I think. > 6. Besides general alert functions (email, sound and popup message), I > saw it can support SMS, pager and IM to send alert. Do I need to > install some additional stuffs (something like API) if I want the SMS > and pager alert? if not, how to do that? You need to have additional stuff for about everything nagios actually does - checks and notifications are usually plugins, or, in other words, external programs. > 7. Can I create different user which has different access rights to > access Nagios? Yes. > 8. If I want to export the report, what kind of file format can be export? That depends on the version you want to use, I believe. Of course, you can also process the log files yourself. Or, attach nagios to a database. > > These questions really really make me cross, hope some expect can give > me help~~ As I said above, your best solution would be to read the manual. Arno > Thanks > Chung > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Tue Sep 20 14:37:24 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Tue, 20 Sep 2005 14:37:24 +0200 Subject: pNSClient.exe Asynchronous Socket Timeout - Error 100543 Message-ID: <43300284.5080402@gmx.net> Hi List, can anyone give me some Information about the Subject mentioned Error? pNSClient.exe Asynchronous Socket Timeout - Error 100543 OS: Windows 2000 Server Thanks in adcance Hendrik ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joseph.Petrucci at ddiworld.com Tue Sep 20 15:38:40 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Tue, 20 Sep 2005 09:38:40 -0400 Subject: NSClient hangs randomly Message-ID: I know that everyone says Exchange will skip over port 1248 and not use it if Nagios is using it but I had the same problem and solved it by moving Nagios to another port not in the range used by Exchange. Since the client where I ran into this issue had no Oracle instances and had no plans to use Oracle I used port 1521 as my Nagios port, but I have no suggestions as to what you should use. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Robby >Brewer >Sent: Monday, September 19, 2005 5:23 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] NSClient hangs randomly > > >I could not find any info searching the archive. Has anyone >had an issue with NSClient hanging occasionally? Check_nt >running against NSClient on a Windows Exchange server mostly >works. Occasionally though it appears that the service hangs. > All requests timeout both via the console and via the command >line. I have tried increasing the timeout value to 30 and >even 60 seconds, but once the service appears to hang it will >not return any results. Stopping and restarting the service >clears everything up until the next hang. This is occurring >as frequently as a few times a day, but not every day. When >NSClient is not returning anything I can telnet to port 1248: > >[root at nagiosconsole libexec]# ./check_nt -H corp.ud.com -p >1248 -t 60 -v USEDDISKSPACE -l C -w 80 -c 90 >No data was recieved from host! > >[root at nagiosconsole root]# telnet corp.ud.com 1248 >Trying 10.10.0.207... >Connected to exchange.corp.ud.com (10.10.0.207). >Escape character is '^]'. > >---------------------------------------- >After restarting the service >---------------------------------------- >[root at nagiosconsole libexec]# ./check_nt -H >exchange.corp.ud.com -p 1248 -t 30 -v USEDDISKSPACE -l C -w 80 -c 90 >C:\ - total: 67.72 Gb - used: 45.63 Gb (67%) - free 22.09 Gb (33%) > >We have completely uninstalled and reinstalled NSClient, but >get the same behavior. The windows event viewer does not show >anything interesting. This occurs using both version 1.06.02 >and 2.01. Any ideas? Thanks in advance. > > >------------------------------------------ >Robby Brewer >Senior Support Engineer >United Devices >512-692-4126 >------------------------------------------ > > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. >Download it for free - -and be entered to win a 42" plasma tv >or your very >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabriele_d_g at yahoo.it Tue Sep 20 15:55:04 2005 From: gabriele_d_g at yahoo.it (Gabriele Di Giambelardini) Date: Tue, 20 Sep 2005 15:55:04 +0200 (CEST) Subject: probkem with multiple check_command Message-ID: <20050920135504.83119.qmail@web26510.mail.ukl.yahoo.com> Hi, to all. My name is Gabriele, i'm writing from italy. I have a problem... I have an host that offer more services, i want to check all services on this host. How could i configure it?? Es. # CONTROLLA ciccio define service { use generic-service ; Name of service template to use host_name ciccio service_description ciccio is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups mag-admin notification_interval 12 notification_period 24x7 notification_options w,u,c,r check_command check_telnet!8786 check_command check_http check_ftp check_telnet!8080 etc etc??? } thanks --------------------------------- Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bimschas at phase4.de Tue Sep 20 16:06:43 2005 From: Bimschas at phase4.de (Daniel Bimschas) Date: Tue, 20 Sep 2005 16:06:43 +0200 Subject: AW: probkem with multiple check_command Message-ID: <2CCEB1B7A93CF444AC4FE3BAB759962CCEA81D@p4-muc-nt5.intra.phase4.de> Hi Gabriele, the check_command attribute is for checking the host itself. for checking the services running on the host you need to define multiple services that are attached to this very host. theres loads of information in the documentation on how to that! greetings daniel -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Gabriele Di Giambelardini Gesendet: Dienstag, 20. September 2005 15:55 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] probkem with multiple check_command Hi, to all. My name is Gabriele, i'm writing from italy. I have a problem... I have an host that offer more services, i want to check all services on this host. How could i configure it?? Es. # CONTROLLA ciccio define service { use generic-service ; Name of service template to use host_name ciccio service_description ciccio is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval &nb sp; 3 retry_check_interval 1 contact_groups mag-admin notification_interval 12 notification_period 24x7 notification_options w,u,c,r check_command check_telnet!8786 check_command check_http check_ftp check_telnet!8080 etc etc??? } thanks _____ Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabriel at cinergycom.com Tue Sep 20 16:33:51 2005 From: gabriel at cinergycom.com (Gabriel Matthews) Date: Tue, 20 Sep 2005 09:33:51 -0500 Subject: problem after upgrade from 1.6 to 2.0b4 Message-ID: <43301DCF.1080508@cinergycom.com> I get the following, now that I've upgraded from 1.6 to 2.0b4, for my alerts: Notification Type: PROBLEM Service: disk_space Host: SAMWISE Address: 172.16.17.2 State: UNKNOWN Date/Time: $ Additional Info: $ I used most of my old config files in the upgrade, not wanting to recreate everything from scratch. The event log on the web interface shows the correct info. Has anybody seen this before? -- Gabriel Matthews Senior Network Support Technician Cinergy Communications 866.311.0938 If I denied the existance of the sun, I would find it rather difficult to be zealous in my convictions in the light of its brilliance. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Sep 20 16:38:56 2005 From: marc at ena.com (Marc Powell) Date: Tue, 20 Sep 2005 09:38:56 -0500 Subject: No Notification email Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Elizar M. Palad > Sent: Tuesday, September 20, 2005 1:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No Notification email > > Hello all! > Guys help me. > It seems that nagios is not sending notifications on most of my > host/services. > i have (i think) set up hosts, contacts and contactgroups.cfg > correctly. > here are the files: > contacts.cfg > define contact{ > contact_name elizar > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email eli_palad at ... elizar.palad at ... > } The mailx man page doesn't specifically detail this and I don't have access to it to test but does mailx properly parse multiple space separated e-mail addresses when passed on the command line? mail does so I would imagine mailx does as well since they are very similar but just in case... You might try comma separated instead. > hosts.cfg > define host{ > use generic-host > host_name 1 NFS05 > address 10.160.2.5 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admins > } You don't have notifications_enabled specified. Is it part of the generic-host template? Nagios won't send notifications without it. > services.cfg > define service{ > use generic-service ; > host_name 2 P4FTPPROD > service_description Disk Usage > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 960 > notification_period 24x7 > check_command check_remote_disk!rsh!ftp09!95!97 Same here. notifications_enabled must be specified in the definition or the template. > When the it triggers the warning or even the critical, no notification > is sent. Do you see a notification attempt in nagios.log? That'll help determine if the problem is with the host/service definitions, the notification command or your MTA. If you see a notification attempt in nagios.log, what can you find in your MTA logs? > sending mail manually work, by the way.. Since it's commonly overlooked, did you perform this test as the nagios user? That will eliminate any user specific permissions issues. > commands.cfg > > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** AMKOR MONITORING > SERVER *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nH > ost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | /usr/bin/mailx -s "** $ > NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ > **" $CONTACTEMAIL$ > } Did you perform your test using this exact command, substituting in the appropriate $...$ values? That will eliminate any possible parsing problems. Finally, if you use state retention for these hosts and services Nagios may be remembering a previous configuration when notification might have been disabled. If you did have notifications disabled at one point and have re-enabled them you may be caught by this. If that might be pertinent, see the Retention Notes at http://nagios.sourceforge.net/docs/1_0/xodtemplate.html. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Sep 20 16:43:07 2005 From: marc at ena.com (Marc Powell) Date: Tue, 20 Sep 2005 09:43:07 -0500 Subject: problem after upgrade from 1.6 to 2.0b4 Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Gabriel Matthews > Sent: Tuesday, September 20, 2005 9:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problem after upgrade from 1.6 to 2.0b4 > > I get the following, now that I've upgraded from 1.6 to 2.0b4, for my > alerts: > > Notification Type: PROBLEM > > Service: disk_space > Host: SAMWISE > Address: 172.16.17.2 > State: UNKNOWN > > Date/Time: $ > > Additional Info: > > $ > > > I used most of my old config files in the upgrade, not wanting to > recreate everything from scratch. The event log on the web interface > shows the correct info. Has anybody seen this before? There were significant changes made to almost all the macros in 2.x. You'll probably run into more -- http://nagios.sourceforge.net/docs/2_0/whatsnew.html You're probably looking for $LONGDATETIME$ and $SERVICEOUTPUT$. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Sep 20 16:49:55 2005 From: marc at ena.com (Marc Powell) Date: Tue, 20 Sep 2005 09:49:55 -0500 Subject: check temperature Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Richard Gliebe > Sent: Tuesday, September 20, 2005 1:23 AM > To: Nagios List > Subject: [Nagios-users] check temperature > > Hi there, > > I want to check the temperatures from our Cisco switches. > Is it possible to do it with the plugin "check_temptraxe" ? This plugin is specific to the temptraxe temperature monitor. If you know the OID, and it may be the same for 7200 routers, one possible solution that we employ is here -- http://article.gmane.org/gmane.network.nagios.user/33058/match=temperatu re -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabriele_d_g at yahoo.it Tue Sep 20 17:05:49 2005 From: gabriele_d_g at yahoo.it (Gabriele Di Giambelardini) Date: Tue, 20 Sep 2005 17:05:49 +0200 (CEST) Subject: probkem with multiple check_command In-Reply-To: <20050920135504.83119.qmail@web26510.mail.ukl.yahoo.com> References: <20050920135504.83119.qmail@web26510.mail.ukl.yahoo.com> Message-ID: <20050920150549.11707.qmail@web26506.mail.ukl.yahoo.com> Hi think that I wasn't able to explain my problem... I need to create an group of check_commands for one host... It's possible? and if yes, how?? thanks Gabriele Di Giambelardini ha scritto: Hi, to all. My name is Gabriele, i'm writing from italy. I have a problem... I have an host that offer more services, i want to check all services on this host. How could i configure it?? Es. # CONTROLLA ciccio define service { use generic-service ; Name of service template to use host_name ciccio service_description ciccio is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval &nb sp; 3 retry_check_interval 1 contact_groups mag-admin notification_interval 12 notification_period 24x7 notification_options w,u,c,r check_command check_telnet!8786 check_command check_http check_ftp check_telnet!8080 etc etc??? } thanks --------------------------------- Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3 --------------------------------- Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Sep 20 17:28:43 2005 From: marc at ena.com (Marc Powell) Date: Tue, 20 Sep 2005 10:28:43 -0500 Subject: probkem with multiple check_command Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Gabriele Di Giambelardini > Sent: Tuesday, September 20, 2005 10:06 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] probkem with multiple check_command > > Hi think that I wasn't able to explain my problem... > I need to create an group of check_commands for one host... > It's possible? and if yes, how?? You must create one service{} definition for each check you wish to make and associate them with the host using the host_name directive. Using your example -- # CONTROLLA ciccio define service { use generic-service host_name ciccio service_description ciccio-http is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups mag-admin notification_interval 12 notification_period 24x7 notification_options w,u,c,r check_command check_http } # CONTROLLA ciccio define service { use generic-service host_name ciccio service_description ciccio-ftp is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups mag-admin notification_interval 12 notification_period 24x7 notification_options w,u,c,r check_command check_ftp } # CONTROLLA ciccio define service { use generic-service host_name ciccio service_description ciccio-8080 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups mag-admin notification_interval 12 notification_period 24x7 notification_options w,u,c,r check_command check_telnet!8080 } # CONTROLLA ciccio define service { use generic-service host_name ciccio service_description ciccio-8786 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups mag-admin notification_interval 12 notification_period 24x7 notification_options w,u,c,r check_command check_telnet!8786 } Note that you can greatly simplify these by moving the common elements into your generic-service template define service { name generic-service other stuff already here.... is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups mag-admin notification_interval 12 notification_period 24x7 notification_options w,u,c,r register 0 } # CONTROLLA ciccio define service { use generic-service host_name ciccio service_description ciccio-http check_command check_http } # CONTROLLA ciccio define service { use generic-service host_name ciccio service_description ciccio-ftp check_command check_ftp } # CONTROLLA ciccio define service { use generic-service host_name ciccio service_description ciccio-8080 check_command check_telnet!8080 } # CONTROLLA ciccio define service { use generic-service host_name ciccio service_description ciccio-8786 check_command check_telnet!8786 } -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Sep 20 18:12:19 2005 From: td3201 at gmail.com (Terry) Date: Tue, 20 Sep 2005 11:12:19 -0500 Subject: perfdata issue - not getting any data? Message-ID: <8ee0610105092009124041dedd@mail.gmail.com> I am ultimately trying to get nagiosgrapher to work. In debugging my problems with that, I am concerned that I am not getting ANY perfdata out of the plugins. Here are some relevant configs: nagios.cfg: process_performance_data=1 service_perfdata_command=process-service-perfdata miscommands.cfg: define command { command_name process-service-perfdata command_line /bin/echo -e "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$" >> /var/log/nagios/test Here are the contents of /var/log/nagios/test: $ host PING OK 1 $ $ $ $ $ $ host PING OK 1 $ $ $ $ $ $ host MEMORY USAGE OK 1 $ $ $ $ $ $ host DISK - /tmp OK 1 $ $ $ $ $ $ host DISK - / OK 1 $ $ $ $ $ $ host SERVICE-crond OK 1 $ $ $ $ $ $ host FTP OK 1 $ $ $ $ $ $ host DISK - /var/data/prod OK 1 $ $ $ $ $ $ host PAGING FILE USAGE OK 1 $ $ $ $ $ $ host DISK - /boot OK 1 $ $ $ $ $ $ host DISK - /var/data/test/fp/share OK 1 $ $ $ $ $ $ host DISK - //billing00 OK 1 $ $ $ $ $ $ host DISK - /archiver OK 1 $ $ $ $ $ $ host PING OK 1 $ $ $ $ $ $ host LOAD OK 1 $ $ $ $ $ $ host PING OK 1 $ $ $ $ $ $ host PING OK 1 $ $ $ $ $ $ host PING OK 1 $ $ $ $ $ $ host PING OK 1 $ $ $ $ $ $ host PING OK 1 $ $ $ $ $ $ host PING OK 1 $ $ $ $ $ $ host PING OK 1 $ $ $ $ $ I have used other perfdata programs before so I don't know what the deal is here. This looks like nagios is NOT processing perfdata. What do you guys think? ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Tue Sep 20 18:35:41 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 20 Sep 2005 13:35:41 -0300 Subject: Win2k Mapping Win98-Drive check Message-ID: <1127234142.26730.12.camel@localhost> Hi, We're running nagios 1.0 for quite a long time now, and it is monitoring over 2000 hosts and about 9200 services. One of these checks, is a check_nt to find the amount of filesystem ocupation of a camera surveillance video-files storage. This storage is filled up by a win98 system, because of the video-capturing software only runs on win98. So, i have a win2k host, which mapped the storage, and i check the filesystem ocupation on this host. But, for some reason I don't understand yet (hope to find some guidance here :) I got the message: Disk Space -G UNKNOWN 09-20-2005 13:28:51 5d 19h 3m 8s 3/3 Free disk space : Invalid drive And looking for this type of checking (win98 mapped drive on win2k host) with no luck finding information about, i decide to turn to you guys, and maybe someone here had the same problem before and managed to get this check to work. Thanks in advance, PS: Is there any nagios client for win98 systems? -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Tardy at canson.fr Tue Sep 20 19:02:39 2005 From: Daniel.Tardy at canson.fr (Daniel.Tardy at canson.fr) Date: Tue, 20 Sep 2005 19:02:39 +0200 Subject: cannot execute binary file Message-ID: Hello, Finally, I knew how to download the Unix Plugins. Many thanks for the helps. Now, when I try ./check_dns -h I have this message bash: ./check_dns: cannot execute binary file. I saw the capabilities user and group, it's ok. Perhaps must I use gcc ? If yes, do you know the command syntax ? I don't know what to do. Many thanks in advance. Best regards,Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Tue Sep 20 20:08:19 2005 From: teng at dataway.com (Tedman Eng) Date: Tue, 20 Sep 2005 11:08:19 -0700 Subject: cannot execute binary file Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2B95@dw-mail.dataway.com> If you downloaded a binary file, is it the correct binary for your operating system, distribution, and version? Do you trust the person who created the binary for you? (Are you sure it's not a virus or trojan?) If you downloaded the plugins source package from the main Nagios website, did you follow instructions in the text file called "INSTALL"? Were there any error messages? -----Original Message----- From: Daniel.Tardy at canson.fr [mailto:Daniel.Tardy at canson.fr] Sent: Tuesday, September 20, 2005 10:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] cannot execute binary file Hello, Finally, I knew how to download the Unix Plugins. Many thanks for the helps. Now, when I try ./check_dns -h I have this message bash: ./check_dns: cannot execute binary file. I saw the capabilities user and group, it's ok. Perhaps must I use gcc ? If yes, do you know the command syntax ? I don't know what to do. Many thanks in advance. Best regards,Daniel ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 20 20:32:57 2005 From: teng at dataway.com (Tedman Eng) Date: Tue, 20 Sep 2005 11:32:57 -0700 Subject: Thank you for contacting Inder Singh of IT Next Generation. Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2B9A@dw-mail.dataway.com> This fellow, Inder Singh [inder.singh at itng.com.au], is auto-replying to every email that gets posted. Please call, forward, contact, support at itng.com.au [mailto:support at itng.com.au] and inform them of this inappropriate behavior. If the issue is not resolved by these means, perhaps the list admin can unsubscribe this user. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossz at vamos-wentworth.org Tue Sep 20 23:02:22 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Tue, 20 Sep 2005 14:02:22 -0700 Subject: Linux and Windows file network check In-Reply-To: References: Message-ID: <433078DE.1020405@vamos-wentworth.org> Daniel.Tardy at canson.fr wrote: > > Hello Everybody, > I would like to check by Nagios the arrival of a file > based on another server (based on windows 2000) upon the local network > via check_fileage. What syntax to use in Suse ? How to open the network > before this check ? I'm too recent on Linux to know that. If anyone > could answer me, thanks in advance. > Best regards, On the Win2k box, share out the directory that contains the file, mount the share on your SuSE system, then use check_file_age as you would normally. You'll need someone with some Linux experience to set things up, probably. -- Rossz ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Wed Sep 21 02:29:50 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Wed, 21 Sep 2005 10:29:50 +1000 Subject: Auto responder Message-ID: I have fixed up the auto responder for my colleague. I apologise for this ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Wed Sep 21 06:35:32 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Wed, 21 Sep 2005 12:35:32 +0800 Subject: No Notification email In-Reply-To: <20050920072922.11958.qmail@web34809.mail.mud.yahoo.com> References: <20050920072922.11958.qmail@web34809.mail.mud.yahoo.com> Message-ID: Im sorry, i was not clear.. :) i said most of my services or all. But i do receive notification if the host is DOWN. Just that.. ping. other services like ftp, disk usage, etc.. i don't receive any. And yes, i do have mailx as my app for sending mail. Any ideas? Thanks eli On 9/20/05, John Joseph wrote: > Hi Palad > Can U try this from command mode > printf "%b" "TEST TEST " | mail -s "Check Wheter U > have /usr/bin/mailx " elizar.palad at gmail.com > > If the mail reaches your gmail id , it shows that > , your command for "notify for email " is wrong , > in my system , I do not have "/usr/bin/mailx" > command , please check > Thanks > Joseph John > > > --- "Elizar M. Palad" wrote: > > > Hello all! > > Guys help me. > > It seems that nagios is not sending notifications on > > most of my > > host/services. > > i have (i think) set up hosts, contacts and > > contactgroups.cfg > > correctly. > > here are the files: > > contacts.cfg > > define contact{ > > contact_name elizar > > alias Nagios Admin > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,r > > service_notification_commands > > notify-by-email > > host_notification_commands > > host-notify-by-email > > email > > eli_palad at ... elizar.palad at ... > > } > > > > > > define contact{ > > contact_name adleo > > alias Au de Leon > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,r > > service_notification_commands > > notify-by-email > > host_notification_commands > > host-notify-by-email > > email adleo at p3m > > } > > > > contactgroups.cfg > > > > define contactgroup{ > > contactgroup_name admins > > alias Nagios > > Administrators > > members adleo, elizar } > > > > > > hosts.cfg > > define host{ > > use generic-host > > host_name 1 NFS05 > > address 10.160.2.5 > > check_command check-host-alive > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options d,r > > contact_groups admins > > } > > > > > > > > services.cfg > > define service{ > > use > > generic-service ; > > host_name 2 > > P4FTPPROD > > service_description Disk Usage > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 4 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups admins > > notification_interval 960 > > notification_period 24x7 > > check_command > > check_remote_disk!rsh!ftp09!95!97 > > > > When the it triggers the warning or even the > > critical, no notification > > is sent. > > > > sending mail manually work, by the way.. > > commands.cfg > > > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** > > AMKOR MONITORING > > SERVER *****\n\nNotification Type: > > $NOTIFICATIONTYPE$\n\nService: > > $SERVICEDESC$\nH > > ost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > $SERVICESTATE$\n\nDate/Time: > > $LONGDATETIME$\n\nAdditional > > Info:\n\n$OUTPUT$" | /usr/bin/mailx -s "** $ > > NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ > > is $SERVICESTATE$ > > **" $CONTACTEMAIL$ > > } > > > > > > Thanks in advance! > > > > > > -- > > ---- > > Don't Tell Me How Hard You Work.. > > Show Me How Much You'd Accomplished.. > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's > > Geronimo App Server. > > Download it for free - -and be entered to win a 42" > > plasma tv or your very > > own Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being > > sent to /dev/null > > > > > > > ___________________________________________________________ > To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Wed Sep 21 06:46:24 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Wed, 21 Sep 2005 05:46:24 +0100 (BST) Subject: No Notification email In-Reply-To: References: Message-ID: <20050921044624.8921.qmail@web34810.mail.mud.yahoo.com> I think for the other service which you are not getting the notification , you need to clik on the link "Enable notifications for this service" for the service that you want. Explanations are given at http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#retention_notes Thanks Joseph John --- "Elizar M. Palad" wrote: > Im sorry, i was not clear.. :) > i said most of my services or all. > But i do receive notification if the host is DOWN. > Just > that.. ping. > > other services like ftp, disk usage, etc.. i don't > receive any. > > And yes, i do have mailx as my app for sending mail. > > Any ideas? > > Thanks > eli > > > > On 9/20/05, John Joseph wrote: > > Hi Palad > > Can U try this from command mode > > printf "%b" "TEST TEST " | mail -s "Check Wheter U > > have /usr/bin/mailx " elizar.palad at gmail.com > > > > If the mail reaches your gmail id , it shows > that > > , your command for "notify for email " is wrong , > > in my system , I do not have "/usr/bin/mailx" > > command , please check > > Thanks > > Joseph John > > > > > > --- "Elizar M. Palad" > wrote: > > > > > Hello all! > > > Guys help me. > > > It seems that nagios is not sending > notifications on > > > most of my > > > host/services. > > > i have (i think) set up hosts, contacts and > > > contactgroups.cfg > > > correctly. > > > here are the files: > > > contacts.cfg > > > define contact{ > > > contact_name elizar > > > alias Nagios > Admin > > > service_notification_period 24x7 > > > host_notification_period 24x7 > > > service_notification_options w,u,c,r > > > host_notification_options d,r > > > service_notification_commands > > > notify-by-email > > > host_notification_commands > > > host-notify-by-email > > > email > > > eli_palad at ... elizar.palad at ... > > > } > > > > > > > > > define contact{ > > > contact_name adleo > > > alias Au de > Leon > > > service_notification_period 24x7 > > > host_notification_period 24x7 > > > service_notification_options w,u,c,r > > > host_notification_options d,r > > > service_notification_commands > > > notify-by-email > > > host_notification_commands > > > host-notify-by-email > > > email > adleo at p3m > > > } > > > > > > contactgroups.cfg > > > > > > define contactgroup{ > > > contactgroup_name admins > > > alias Nagios > > > Administrators > > > members adleo, elizar } > > > > > > > > > hosts.cfg > > > define host{ > > > use generic-host > > > host_name 1 NFS05 > > > address 10.160.2.5 > > > check_command check-host-alive > > > max_check_attempts 10 > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options d,r > > > contact_groups admins > > > } > > > > > > > > > > > > services.cfg > > > define service{ > > > use > > > generic-service ; > > > host_name 2 > > > P4FTPPROD > > > service_description Disk > Usage > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 4 > > > normal_check_interval 5 > > > retry_check_interval 1 > > > contact_groups admins > > > notification_interval 960 > > > notification_period 24x7 > > > check_command > > > check_remote_disk!rsh!ftp09!95!97 > > > > > > When the it triggers the warning or even the > > > critical, no notification > > > is sent. > > > > > > sending mail manually work, by the way.. > > > commands.cfg > > > > > > define command{ > > > command_name notify-by-email > > > command_line /usr/bin/printf "%b" > "***** > > > AMKOR MONITORING > > > SERVER *****\n\nNotification Type: > > > $NOTIFICATIONTYPE$\n\nService: > > > $SERVICEDESC$\nH > > > ost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > > $SERVICESTATE$\n\nDate/Time: > > > $LONGDATETIME$\n\nAdditional > > > Info:\n\n$OUTPUT$" | /usr/bin/mailx -s "** $ > > > NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ > > > is $SERVICESTATE$ > > > **" $CONTACTEMAIL$ > > > } > > > > > > > > > Thanks in advance! > > > > > > > > > -- > > > ---- > > > Don't Tell Me How Hard You Work.. > > > Show Me How Much You'd Accomplished.. > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's > > > Geronimo App Server. > > > Download it for free - -and be entered to win a > 42" > > > plasma tv or your very > > > own Sony(tm)PSP. Click here to play: > > > http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin > version > > > (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk > being > > > sent to /dev/null > > > > > > > > > > > > > > ___________________________________________________________ > > To help you stay safe and secure online, we've > developed the all new Yahoo! Security Centre. > http://uk.security.yahoo.com > > > > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Wed Sep 21 07:43:23 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Wed, 21 Sep 2005 15:43:23 +1000 Subject: Host notifications not being sent out Message-ID: Thanks again for the help before. My latest (and hopefully last) problem is that host notifications are not send out to me. Service notifications work fine eg check_http but if I unplug the network cable then I get no notification. The relevant contact information is: Host notification options = d,u,r Host notification commands = host_notify_by_email Notification_enabled 1 And contact_groups is set to admins (which I am a member of) admins is the contact group in the hosts.cfg. The interface notices that it is down but no notifications are sent. I also have a check_ping service on the host but as I understand it if a host is down it does not look at the service's so this would not change anything. Not sure where to go from here Any ideas will be appreciated Ray La Peyre Jnr Support Engineer IT Next Generation Suite 102, 330 Wattle Street Ultimo NSW 2007 T: 02 9212 0811 F: 02 9212 0833 M: 0410 229 216 E: ray.lapeyre at itng.com.au W: www.itng.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 8152 bytes Desc: not available URL: From ray.lapeyre at itng.com.au Wed Sep 21 08:39:42 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Wed, 21 Sep 2005 16:39:42 +1000 Subject: Host notifications not being sent out In-Reply-To: References: Message-ID: All of my settings are defined like that except for in host groups, contact_groups is not set here. I read the changes for 2.0 (which I am running) and it says that contact groups are not defined in this cfg file and if I do attempt to put it in the service will not start due to a configuration error. Everything else is the same as yours though -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Wednesday, 21 September 2005 3:50 PM To: Ray La Peyre Subject: Re: [Nagios-users] Host notifications not being sent out Use ... 1. define contact{ contact_name yourcontactname alias kapos admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email reciver at email.com } 2. define contactgroup{ contactgroup_name diskcheck alias Domino Administrators members yourcontactname } 3. define hostgroup{ hostgroup_name diskcheck alias Disk Check contact_groups diskcheck members yourserver } 4. define service{ host_name NTS02 service_description Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!D -w 80 -c 95 } Enjoy... Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Ray La Peyre" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] Host notifications not being sent out ceforge.net 2005/09/21 14:43 Thanks again for the help before. My latest (and hopefully last) problem is that host notifications are not send out to me. Service notifications work fine eg check_http but if I unplug the network cable then I get no notification. The relevant contact information is: Host notification options = d,u,r Host notification commands = host_notify_by_email Notification_enabled 1 And contact_groups is set to admins (which I am a member of) admins is the contact group in the hosts.cfg. The interface notices that it is down but no notifications are sent. I also have a check_ping service on the host but as I understand it if a host is down it does not look at the service?s so this would not change anything. Not sure where to go from here Any ideas will be appreciated (Embedded image Ray La Peyre moved to file: Jnr Support Engineer pic09741.jpg) IT Next Generation Suite 102, 330 Wattle Street Ultimo NSW 2007 T: 02 9212 0811 F: 02 9212 0833 M: 0410 229 216 E: ray.lapeyre at itng.com.au W: www.itng.com.au ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From VINAY_SHARMA at advanex.co.jp Wed Sep 21 08:46:19 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Wed, 21 Sep 2005 15:46:19 +0900 Subject: Host notifications not being sent out Message-ID: Check your MTA its working??send test mail from CLI. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Ray La Peyre" ??: , ???: cc: nagios-users-admin at lists.sour ??: RE: [Nagios-users] Host notifications not being sent out ceforge.net 2005/09/21 15:39 All of my settings are defined like that except for in host groups, contact_groups is not set here. I read the changes for 2.0 (which I am running) and it says that contact groups are not defined in this cfg file and if I do attempt to put it in the service will not start due to a configuration error. Everything else is the same as yours though -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Wednesday, 21 September 2005 3:50 PM To: Ray La Peyre Subject: Re: [Nagios-users] Host notifications not being sent out Use ... 1. define contact{ contact_name yourcontactname alias kapos admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email reciver at email.com } 2. define contactgroup{ contactgroup_name diskcheck alias Domino Administrators members yourcontactname } 3. define hostgroup{ hostgroup_name diskcheck alias Disk Check contact_groups diskcheck members yourserver } 4. define service{ host_name NTS02 service_description Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!D -w 80 -c 95 } Enjoy... Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Ray La Peyre" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] Host notifications not being sent out ceforge.net 2005/09/21 14:43 Thanks again for the help before. My latest (and hopefully last) problem is that host notifications are not send out to me. Service notifications work fine eg check_http but if I unplug the network cable then I get no notification. The relevant contact information is: Host notification options = d,u,r Host notification commands = host_notify_by_email Notification_enabled 1 And contact_groups is set to admins (which I am a member of) admins is the contact group in the hosts.cfg. The interface notices that it is down but no notifications are sent. I also have a check_ping service on the host but as I understand it if a host is down it does not look at the service?s so this would not change anything. Not sure where to go from here Any ideas will be appreciated (Embedded image Ray La Peyre moved to file: Jnr Support Engineer pic09741.jpg) IT Next Generation Suite 102, 330 Wattle Street Ultimo NSW 2007 T: 02 9212 0811 F: 02 9212 0833 M: 0410 229 216 E: ray.lapeyre at itng.com.au W: www.itng.com.au ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Wed Sep 21 08:48:01 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Wed, 21 Sep 2005 16:48:01 +1000 Subject: Host notifications not being sent out In-Reply-To: References: Message-ID: Mta works fine as I can get service notifications just not host notifications Ray La Peyre Jnr Support Engineer IT Next Generation Suite 102, 330 Wattle Street Ultimo NSW 2007 T: 02 9212 0811 F: 02 9212 0833 M: 0410 229 216 E: ray.lapeyre at itng.com.au W: www.itng.com.au -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Wednesday, 21 September 2005 4:46 PM To: Ray La Peyre Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: RE: [Nagios-users] Host notifications not being sent out Check your MTA its working??send test mail from CLI. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Ray La Peyre" ??: , ???: cc: nagios-users-admin at lists.sour ??: RE: [Nagios-users] Host notifications not being sent out ceforge.net 2005/09/21 15:39 All of my settings are defined like that except for in host groups, contact_groups is not set here. I read the changes for 2.0 (which I am running) and it says that contact groups are not defined in this cfg file and if I do attempt to put it in the service will not start due to a configuration error. Everything else is the same as yours though -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Wednesday, 21 September 2005 3:50 PM To: Ray La Peyre Subject: Re: [Nagios-users] Host notifications not being sent out Use ... 1. define contact{ contact_name yourcontactname alias kapos admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email reciver at email.com } 2. define contactgroup{ contactgroup_name diskcheck alias Domino Administrators members yourcontactname } 3. define hostgroup{ hostgroup_name diskcheck alias Disk Check contact_groups diskcheck members yourserver } 4. define service{ host_name NTS02 service_description Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!D -w 80 -c 95 } Enjoy... Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Ray La Peyre" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] Host notifications not being sent out ceforge.net 2005/09/21 14:43 Thanks again for the help before. My latest (and hopefully last) problem is that host notifications are not send out to me. Service notifications work fine eg check_http but if I unplug the network cable then I get no notification. The relevant contact information is: Host notification options = d,u,r Host notification commands = host_notify_by_email Notification_enabled 1 And contact_groups is set to admins (which I am a member of) admins is the contact group in the hosts.cfg. The interface notices that it is down but no notifications are sent. I also have a check_ping service on the host but as I understand it if a host is down it does not look at the service?s so this would not change anything. Not sure where to go from here Any ideas will be appreciated (Embedded image Ray La Peyre moved to file: Jnr Support Engineer pic09741.jpg) IT Next Generation Suite 102, 330 Wattle Street Ultimo NSW 2007 T: 02 9212 0811 F: 02 9212 0833 M: 0410 229 216 E: ray.lapeyre at itng.com.au W: www.itng.com.au ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bimschas at phase4.de Wed Sep 21 09:52:57 2005 From: Bimschas at phase4.de (Daniel Bimschas) Date: Wed, 21 Sep 2005 09:52:57 +0200 Subject: NSCA and Notifications Message-ID: <2CCEB1B7A93CF444AC4FE3BAB759962CD0CBF8@p4-muc-nt5.intra.phase4.de> Hi, i'm trying to implement passive service checks for some of our hosts. They repeatedly send status information in spec. time intervals. I get notified if a service is in a hard error state. Until here everything works fine, even notification. My problem now is the following: How can I tell Nagios to notify me if the passive check results don't come in anymore, meaning send_nsca on the host to be checked doesn't or network is down or something similar? Thanks for your help -- Daniel Bimschas Entwicklung Phase 4 Communications GmbH Bayerstra?e 85 a 80335 M?nchen Fon +49.89.30 63 21-52 Fax +49.89.30 63 21-21 ISDN +49.89.30 72 93 33 M?nchen | Z?rich | Berlin www.phase4.de ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Wed Sep 21 10:31:51 2005 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Wed, 21 Sep 2005 10:31:51 +0200 Subject: Propper definition of service escalations Message-ID: <6B893C5F2902D311A23F0090272854FB0575B81E@litex001.lit.verwalt-berlin.de> Hello list recipients, I'm still not getting a service escalation to work as I intend to. Presumably a service escalation isn't even the appropiate means for meeting this requirement. I simply want normal email notifications at the usual regular intervals to continue while additionally, only once, send out a specially formatted email to our trouble ticket management system to file a ticket whenever a monitored host isn't "pingable". To this end I defined a service group of its own that as sole member contains the email account of the TT system as a contact and the command definition required to format and send out the mail in accordance with the TT system's internal parser, referred to by service_notification_commands directive. I found the examples given in the Nagios docs' escalation chapter rather ambiguous, as they read overlapping notification boundaries (i.e. first_ and last_) and to my comprehension even redundant and thus misleading directives. Because things don't work yet with my setup I have to check with you experts whether my conception isn't downright false. This is my current very basic service escalation definition. $ cat etc/escalations.cfg define serviceescalation { host_name fiddle service_description icmp-host-alive first_notification 3 # last_notification 3 notification_interval 0 contact_groups service_center } As you can see I commented (out) (always feel the preposition "out" in this context kind of a tautology, that's why the parentheses, but I'm no English speaker) the last_notification directive because I consider it redundant since I also assigned naught to the notification_interval. The docs say that a such set notification_interval translates to, "only send out one notification". So what need would then there be for having to define last_notification? On the other hand I suspect that an undefined (i.e. left out) last_notification implicitly would initialize to 0. which according to the docs implies an infinite upper boundary, viz. never stop sending out notifications. This leaves me kind of bemused as it looks like a paradox. So if I was to define last_notification at all I would set it to the same value as first_notification because the first should also be the last notification. But then it would be redundant altogether due to the zero valued notification_interval. And it isn't working either. How is Nagios treating this all? Is there an intrinsic precedence? The more I think about this the more I get lost. Regards Ralph ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Wed Sep 21 11:33:35 2005 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Wed, 21 Sep 2005 11:33:35 +0200 Subject: NSCA and Notifications In-Reply-To: <2CCEB1B7A93CF444AC4FE3BAB759962CD0CBF8@p4-muc-nt5.intra.phase4.de> References: <2CCEB1B7A93CF444AC4FE3BAB759962CD0CBF8@p4-muc-nt5.intra.phase4.de> Message-ID: <433128EF.4070906@perso.be> Hello Daniel, have a look at the chapter about 'freshness checking' Frederik Daniel Bimschas wrote: >Hi, > >i'm trying to implement passive service checks for some of >our hosts. They repeatedly send status information in spec. >time intervals. I get notified if a service is in a hard >error state. Until here everything works fine, even >notification. > >My problem now is the following: How can I tell Nagios to >notify me if the passive check results don't come in >anymore, meaning send_nsca on the host to be checked >doesn't or network is down or something similar? > >Thanks for your help > > > >-- >Daniel Bimschas >Entwicklung > >Phase 4 >Communications GmbH > >Bayerstra?e 85 a >80335 M?nchen >Fon +49.89.30 63 21-52 >Fax +49.89.30 63 21-21 >ISDN +49.89.30 72 93 33 > >M?nchen | Z?rich | Berlin > >www.phase4.de > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. >Download it for free - -and be entered to win a 42" plasma tv or your very >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scoutts at bcs.org.uk Wed Sep 21 11:55:44 2005 From: scoutts at bcs.org.uk (Steven Coutts) Date: Wed, 21 Sep 2005 10:55:44 +0100 Subject: Unix Client Plugins In-Reply-To: References: Message-ID: <43312E20.2090700@bcs.org.uk> Daniel.Tardy at canson.fr wrote: > > Hello everybody, > I'm new in Suse and Nagios. I would like to download Unix Client > plugins but I can't. The system seems to be different as usual so the > result is bad. For a tar.gz, what must I use to unarchive the files, > please ? > Many thanks for your help. > Best regards > Daniel tar -xvzf *.tar.gz Regards -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gliebe at fhv.at Wed Sep 21 11:58:09 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 21 Sep 2005 11:58:09 +0200 Subject: Timestamp Message-ID: <1127296689.822.1.camel@glr-nb.dh.uclv.net> Hi, how can I translate the timestamps in nagios.log to a real date/time: [1127294282] Auto-save of retention data completed successfully. ^^^^^^^^^^^^ thanks in advance. Richard ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Lunt at wesleyan.co.uk Wed Sep 21 12:02:33 2005 From: Nick.Lunt at wesleyan.co.uk (Lunt, Nick) Date: Wed, 21 Sep 2005 11:02:33 +0100 Subject: Timestamp Message-ID: Hi Richard, if you have python on your system you can do it with a little python script, eg #!/usr/bin/env python import time print time.ctime(1127294282) This would print 'Wed Sep 21 10:18:02 2005' on my system. HTH, Nick . > -----Original Message----- > From: Richard Gliebe [mailto:richard.gliebe at fhv.at] > Sent: 21 September 2005 10:58 > To: Nagios List > Subject: [Nagios-users] Timestamp > > > Hi, > > how can I translate the timestamps in nagios.log to a real date/time: > > [1127294282] Auto-save of retention data completed successfully. > ^^^^^^^^^^^^ > > thanks in advance. > > Richard > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv > or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Wesleyan Administration Services Ltd registered number 5188850 and Wesleyan Unit Trust Managers Ltd registered number 2114859 ("WUTM Ltd") are wholly owned subsidiary companies of Wesleyan Assurance Society, whose registered number is ZC145. WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts Administration Centre: PO Box Basildon SS15 5WQ Telephone: 0870 601 6129 Wesleyan Assurance Society and WUTM Ltd are authorised and regulated by the Financial Services Authority. Head Office, Colmore Circus, Birmingham B4 6AR. Telephone: 0121 200 3003 Fax 0121 200 2971. Website: www.wesleyan.co.uk Telephone calls may be recorded for monitoring and training purposes. CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While every reasonable precaution to minimise this risk has been taken, we cannot accept liability for any damage that you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Wed Sep 21 12:05:59 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Wed, 21 Sep 2005 11:05:59 +0100 (BST) Subject: Unix Client Plugins In-Reply-To: <43312E20.2090700@bcs.org.uk> References: <43312E20.2090700@bcs.org.uk> Message-ID: <20050921100559.37747.qmail@web34801.mail.mud.yahoo.com> --- Steven Coutts wrote: > tar -xvzf *.tar.gz > > Regards > and in /usr/local/nagios/libexec/ or wherever you path to libexec is ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gliebe at fhv.at Wed Sep 21 12:04:41 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 21 Sep 2005 12:04:41 +0200 Subject: Timestamp In-Reply-To: <1127296689.822.1.camel@glr-nb.dh.uclv.net> References: <1127296689.822.1.camel@glr-nb.dh.uclv.net> Message-ID: <1127297081.822.4.camel@glr-nb.dh.uclv.net> On Wed, 2005-09-21 at 11:58 +0200, Richard Gliebe wrote: > Hi, > > how can I translate the timestamps in nagios.log to a real date/time: > > [1127294282] Auto-save of retention data completed successfully. > ^^^^^^^^^^^^ Ooops, I found the solution: perl -pe 's/(\d+)/localtime($1)/e' nagios.log > > thanks in advance. > > Richard ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Wed Sep 21 12:41:15 2005 From: f1216 at yahoo.com (Fred) Date: Wed, 21 Sep 2005 03:41:15 -0700 (PDT) Subject: Timestamp In-Reply-To: <1127296689.822.1.camel@glr-nb.dh.uclv.net> References: <1127296689.822.1.camel@glr-nb.dh.uclv.net> Message-ID: <20050921104115.89428.qmail@web31913.mail.mud.yahoo.com> I use the following little script which finds all the timestamps (well, things that *look* like timestamps ;-) in any of the various log files and converts them. #/usr/bin/perl use strict; use 5.008000; use Data::Dumper; sub usage { print <<'EOF'; nlog [--help] [file] Pretty print the nagios logs --help Print this message --status|-s Use the status.log, default is nagios.log EOF exit 0; } sub version { my ($r,$ver) = split / /,'$Revision: 1.5 $'; print <<"EOF"; nlog version $ver EOF exit; } my $status; { use Getopt::Long; &GetOptions( "version", \&version, "help", \&usage, "status", \$status, "s", \$status, ); } my $f; if ($status) { push(@ARGV,"/opt/hptc/nagios/var/status.log") if ($#ARGV < 0); } else { push(@ARGV,"/opt/hptc/nagios/var/nagios.log") if ($#ARGV < 0); } foreach $f (@ARGV) { open(LOG,"<$f") or die "Cannot open $f"; while () { my ($ts,$rest) = split /\s/,$_,2; if (/\=11[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/) { my ($att,$val) = split /=/; my $lt = localtime $val; s/=.*$/=$lt/; } if ($ts =~ /\[[0-9]+\]/) { $ts =~ s/\[//; $ts =~ s/\]//; my $lt = localtime $ts; print "[$lt] $rest"; } else { print; } } close LOG; } exit(0); You'll need to change the /opt/hptc/nagios/var/* file references to point to your own default locations. I call it "nl" for nagioslog but be careful as it conflicts with the real nl ;-) -FredC --- Richard Gliebe wrote: > Hi, > > how can I translate the timestamps in nagios.log to a real date/time: > > [1127294282] Auto-save of retention data completed successfully. > ^^^^^^^^^^^^ > > thanks in advance. > > Richard > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JLaack at alegent.org Wed Sep 21 14:00:40 2005 From: JLaack at alegent.org (Jacob Laack) Date: Wed, 21 Sep 2005 07:00:40 -0500 Subject: Fwd: saw your posting on Nagios Message-ID: Nagios-Users Admins- I received this e-mail yesterday. Apparently this "Veronica" is using this mailing list as a marketing tool instead of its original purpose. I think it'd be appropriate to remove her from the list. -Jake >>> "Veronica Proksch" 9/20/2005 3:25:19 PM >>> Hi Jacob, Reliable Response has a partnership with Nagios. Our integration offers out-of-the-box notification: * Though Nagios offers escalation, all configuration must be done by the administrator and is time consuming and error-prone. * Nagios only offers reporting on alerts - not for number of notifications or on the response-time of your IT team. Reliable Response delivers clean reporting and color charts to evaluate the work-load and responsiveness of the IT team. * Only Reliable Response Notification allows the IT staff to respond and check the status of alerts from their mobile devices (example: Stuck in traffic? You can see who is working on the solution). I'm interested in your feedback. I'll follow up with a call. Thank you for your time. Best, Veronica Proksch Sales Executive Reliable Response, LLC O: 303 542 1989 C: 303 725 4634 veronica at reliableresponse.net ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scoutts at bcs.org.uk Wed Sep 21 15:40:58 2005 From: scoutts at bcs.org.uk (Steven Coutts) Date: Wed, 21 Sep 2005 14:40:58 +0100 Subject: Nagios 2.0b4 Last Check Error Message-ID: <433162EA.1020108@bcs.org.uk> I am using Nagios 2.0b4. If I go to 'Service Detail' the 'Last Check' column correctly displays the date and time the host was last checked, however, if I go to 'Host Detail' the 'Last Check' column does not display the same date and times. Is this a bug or is it meant to do this and I am missing something very simple! :-) Regards -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scoutts at bcs.org.uk Wed Sep 21 15:48:14 2005 From: scoutts at bcs.org.uk (Steven Coutts) Date: Wed, 21 Sep 2005 14:48:14 +0100 Subject: Nagios 2.0b4 Last Check Error In-Reply-To: <433162EA.1020108@bcs.org.uk> References: <433162EA.1020108@bcs.org.uk> Message-ID: <4331649E.5020309@bcs.org.uk> Steven Coutts wrote: > I am using Nagios 2.0b4. > > If I go to 'Service Detail' the 'Last Check' column correctly displays > the date and time the host was last checked, however, if I go to 'Host > Detail' the 'Last Check' column does not display the same date and times. > > Is this a bug or is it meant to do this and I am missing something > very simple! :-) > > Regards > Ah, the check is enable for the services not the hosts, ignore me!! -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmourani at privalodc.com Wed Sep 21 15:39:04 2005 From: gmourani at privalodc.com (gmourani at privalodc.com) Date: Wed, 21 Sep 2005 09:39:04 -0400 (EDT) Subject: Make Tactical Overview look like BigBrother view In-Reply-To: References: <27631.70.80.182.163.1127158805.squirrel@webmail.privalodc.com> Message-ID: <27650.70.80.182.163.1127309944.squirrel@webmail.privalodc.com> Hello Moshe, Thanks a lot, that's exactly what I'm looking for. Gerhard, > Hello > > you should check naupy. at http://naupy.sourceforge.net/ > im pretty sure it wont work with version 2. but its easy to adjust it > > hope it helped > > Moshe Sharon > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From potus98 at yahoo.com Wed Sep 21 16:37:53 2005 From: potus98 at yahoo.com (John Christian) Date: Wed, 21 Sep 2005 07:37:53 -0700 (PDT) Subject: NTP jitter (not parsed) breaks check_ntp? Message-ID: <20050921143753.95432.qmail@web54709.mail.yahoo.com> Hello, My, ummm, friend's data center lost power this weekend. All servers came back up, but now it seems that check_ntp is not working properly. The NTP service detail for some hosts is fine (green) but most NTP services are state pending (grey). They have remained state pending for 3+ days. Running check_ntp manually reveals: foo:/usr/local/nagios/libexec # ./check_ntp -H hostgreen NTP OK: Offset -0.000513 secs, jitter 1.74 msec, peer is stratum 3|offset=-0.000513, jitter=0.00174,peer_stratum=3 foo:/usr/local/nagios/libexec # ./check_ntp -H hostgrey Argument "(not parsed)" isn't numeric in abs at ./check_ntp line 401. NTP OK: Offset -0.000141 secs, jitter (not parsed) msec, peer is stratum 2|offset=-0.000141, jitter=0,peer_stratum=2 check_ntp (nagios-plugins 1.4.1) 1.29 Nagios 2.0b4 Solaris 9 The NTP daemons are running on all hosts and are in sync. I suspect the problem is related to the check_ntp script not handling the "jitter (not parsed)" feedback properly. I've tried restarting the ntp daemons and restarting nagios, but it didn't help. BTW: For the NTP services that are in the grey pending state, it appears they become ignored because the next scheduled service check never changes. I can force a manual check -which updates the next scheduled check- but it stays grey and no additional checks are auto-scheduled. How do I get my NTP clients to parse some jitter? Or, how else should I fix this problem? TIA! -John __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From safarj at kancelarskestroje.cz Wed Sep 21 17:08:49 2005 From: safarj at kancelarskestroje.cz (Jakub Safar) Date: Wed, 21 Sep 2005 17:08:49 +0200 Subject: return code lost during sending check result Message-ID: <1127315329.11924.42.camel@jsa> Hello, exit return codes of check_ping is lost by Nagios while sending results through NSCA to other Nagios server. Command "submit_check_result" is defined like this: submit_check_result_via_nsca $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' submit_check_result_via_nsca includes: cmdline="$1;$2;$3;$4" $echocmd "$1\t$2\t$3\t$4\n" | $NscaBin $NagiosHost -p $NagiosHostPort -c $NscaCfg Both servers run their active checks ok, connection through NSCA works like a bliss (ok as well:). Nagios harvesting passive checks throuh NSCA logically gets: Sep 21 15:34:22 ns nsca[7264]: SERVICE CHECK -> Host Name: 'blade-kvm', Service Description: 'PING', Return Code: '0', Output: 'CRITICAL - Plugin timed out after 10 seconds' Sep 21 15:34:22 ns nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;blade-kvm;PING;0;CRITICAL - Plugin timed out after 10 seconds Versions of Nagios installed on the gathering server is: nagios-1.2-2.2.el4.rf nagios-nsca-2.4-2.2.el4.rf nagios-plugins-1.4-2.2.el4.rf Jakub ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scoutts at bcs.org.uk Wed Sep 21 17:37:10 2005 From: scoutts at bcs.org.uk (Steven Coutts) Date: Wed, 21 Sep 2005 16:37:10 +0100 Subject: Status Notifications Message-ID: <200509211637.12599.scoutts@bcs.org.uk> Nagios 2.0b4 I am not getting e-mail notfications of services or hosts going down. I am using this host template -: define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 active_checks_enabled 1 passive_checks_enabled 1 register 0 } And an example host -: define host{ use generic-host host_name switch alias Master Switch address ************ check_command check-host-alive max_check_attempts 5 process_perf_data 0 retain_nonstatus_information 0 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } This is the service template I am using -: define service{ name switch active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } And an example service -: define service{ use switch host_name ************ service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 300 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } If I do acknowledge a service error I do get an email confirming that, but get none saying a service or host has gone down or came back up. Anyone any ideas where I could be going wrong? Regards -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key http://stevec.couttsnet.com/scoutts.asc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From td3201 at gmail.com Wed Sep 21 17:57:43 2005 From: td3201 at gmail.com (Terry) Date: Wed, 21 Sep 2005 10:57:43 -0500 Subject: perfdata issue - not getting any data? In-Reply-To: <8ee0610105092009124041dedd@mail.gmail.com> References: <8ee0610105092009124041dedd@mail.gmail.com> Message-ID: <8ee06101050921085738ab7eca@mail.gmail.com> Anyone have thoughts on this? I am stuck. On 9/20/05, Terry wrote: > I am ultimately trying to get nagiosgrapher to work. In debugging my > problems with that, I am concerned that I am not getting ANY perfdata > out of the plugins. Here are some relevant configs: > > nagios.cfg: > process_performance_data=1 > service_perfdata_command=process-service-perfdata > > miscommands.cfg: > define command { > command_name process-service-perfdata > command_line /bin/echo -e > "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$" > >> /var/log/nagios/test > > Here are the contents of /var/log/nagios/test: > > $ host PING OK 1 $ $ $ $ $ > $ host PING OK 1 $ $ $ $ $ > $ host MEMORY USAGE OK 1 $ $ $ > $ $ > $ host DISK - /tmp OK 1 $ $ $ > $ $ > $ host DISK - / OK 1 $ $ $ > $ $ > $ host SERVICE-crond OK 1 $ $ $ > $ $ > $ host FTP OK 1 $ $ $ $ $ > $ host DISK - /var/data/prod OK 1 $ $ > $ $ $ > $ host PAGING FILE USAGE OK 1 $ $ > $ $ $ > $ host DISK - /boot OK 1 $ $ $ > $ $ > $ host DISK - /var/data/test/fp/share OK 1 $ > $ $ $ $ > $ host DISK - //billing00 OK 1 $ > $ $ $ $ > $ host DISK - /archiver OK 1 $ $ > $ $ $ > $ host PING OK 1 $ $ $ $ $ > $ host LOAD OK 1 $ $ $ $ $ > $ host PING OK 1 $ $ $ $ $ > $ host PING OK 1 $ $ $ $ $ > $ host PING OK 1 $ $ $ $ $ > $ host PING OK 1 $ $ $ $ $ > $ host PING OK 1 $ $ $ $ $ > $ host PING OK 1 $ $ $ $ $ > $ host PING OK 1 $ $ $ $ $ > > > I have used other perfdata programs before so I don't know what the > deal is here. This looks like nagios is NOT processing perfdata. > What do you guys think? > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Wed Sep 21 17:57:41 2005 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 21 Sep 2005 17:57:41 +0200 Subject: Nagios 3.0 Message-ID: Hi All! I read the "wishlist" for Nagios 3.0 and the entry "Multi-Line Plugin Output" caught my eye. I have a couple of questions about this. Does this enhancement change the number of characters permitted or is simply allow plugins to send multiple lines, but there will still be the 350 character limit? Although we would appreciate increasing the amount of data plug-ins can send, the ability to accept multiple lines is useful. Is this just a wish? Is it actively being worked on? What is the timeline for Nagios 3.0? Any info is greatly appreaciated. Regards, Jim Mohr ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Wed Sep 21 18:41:05 2005 From: bench at silentmedia.com (Ben) Date: Wed, 21 Sep 2005 09:41:05 -0700 Subject: Nagios 3.0 In-Reply-To: References: Message-ID: <43318D21.4050609@silentmedia.com> I suspect Nagios 3 won't really come out any time soon, given that Nagios 2 is still in beta..... Mohr James wrote: >Hi All! > >I read the "wishlist" for Nagios 3.0 and the entry "Multi-Line Plugin >Output" caught my eye. I have a couple of questions about this. Does >this enhancement change the number of characters permitted or is simply >allow plugins to send multiple lines, but there will still be the 350 >character limit? > >Although we would appreciate increasing the amount of data plug-ins can >send, the ability to accept multiple lines is useful. Is this just a >wish? Is it actively being worked on? > >What is the timeline for Nagios 3.0? > >Any info is greatly appreaciated. > >Regards, > >Jim Mohr > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. >Download it for free - -and be entered to win a 42" plasma tv or your very >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 18:47:16 2005 From: marc at ena.com (Marc Powell) Date: Wed, 21 Sep 2005 11:47:16 -0500 Subject: return code lost during sending check result Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jakub Safar > Sent: Wednesday, September 21, 2005 10:09 AM > To: nagios-users > Subject: [Nagios-users] return code lost during sending check result > > Hello, > > exit return codes of check_ping is lost by Nagios while sending results > through NSCA to other Nagios server. > > Command "submit_check_result" is defined like this: > submit_check_result_via_nsca $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ > '$OUTPUT$' > > submit_check_result_via_nsca includes: > cmdline="$1;$2;$3;$4" > $echocmd "$1\t$2\t$3\t$4\n" | $NscaBin $NagiosHost -p $NagiosHostPort -c > $NscaCfg > If $3 == $SERVICESTATE$ you need to do some additional processing as nsca/nagios on the far side are expecting a numerical value. You'll need to translate $SERVICESTATE$ into the proper exit code before passing it on to NSCA. See the example submit_check_result code at http://nagios.sourceforge.net/docs/1_0/distributed.html and verify that your script performs that translation. Additionally, verify that the SERVICESTATE variable is being passed to submit_check_result properly. It's very likely that it is but to be on the safe side, try echoing the cmdline to a tmp file somewhere and make sure that $3 == CRITICAL or OK or whatever the state is before the translation. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 19:12:44 2005 From: marc at ena.com (Marc Powell) Date: Wed, 21 Sep 2005 12:12:44 -0500 Subject: Fwd: saw your posting on Nagios Message-ID: I received a similar message from her on 4/20/2005. I responded indicating that it was bad behavior to troll technical mailing lists for business leads. It seems they don't agree. I doubt they have any kind of 'partnership with Nagios'. Her earlier description to me is probably more accurate -- "We're a software notification company configured to work with Nagios monitoring package." I had suggested that they ask Ethan to be listed on http://www.nagios.org/products/notification/. I take the lack of them being listed there as further evidence that they don't have such a partnership. Regardless, using this mailing list to gather leads is still wrong and they should be removed from the list if they are on it. They'll still be able to gather the addresses but they'll have to work harder to do it. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jacob Laack > Sent: Wednesday, September 21, 2005 7:01 AM > To: nagios-users at lists.sourceforge.net > Cc: veronica at reliableresponse.net > Subject: [Nagios-users] Fwd: saw your posting on Nagios > > Nagios-Users Admins- > I received this e-mail yesterday. Apparently this "Veronica" is using > this mailing list as a marketing tool instead of its original purpose. I > think it'd be appropriate to remove her from the list. > -Jake > > >>> "Veronica Proksch" 9/20/2005 3:25:19 > PM >>> > Hi Jacob, > > Reliable Response has a partnership with Nagios. Our integration offers > out-of-the-box notification: > > * Though Nagios offers escalation, all configuration must be done > by the administrator and is time consuming and error-prone. > > * Nagios only offers reporting on alerts - not for number of > notifications or on the response-time of your IT team. Reliable Response > delivers clean reporting and color charts to evaluate the work-load and > responsiveness of the IT team. > > * Only Reliable Response Notification allows the IT staff to > respond and check the status of alerts from their mobile devices > (example: Stuck in traffic? You can see who is working on the solution). > > > I'm interested in your feedback. I'll follow up with a call. Thank you > for your time. > > Best, > > Veronica Proksch > Sales Executive > Reliable Response, LLC > O: 303 542 1989 > C: 303 725 4634 > veronica at reliableresponse.net > > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjn at umn.edu Wed Sep 21 19:51:20 2005 From: tjn at umn.edu (Travis J. Noll) Date: Wed, 21 Sep 2005 12:51:20 -0500 Subject: perfdata issue - not getting any data? In-Reply-To: <8ee06101050921085738ab7eca@mail.gmail.com> References: <8ee0610105092009124041dedd@mail.gmail.com> <8ee06101050921085738ab7eca@mail.gmail.com> Message-ID: <43319D98.9080200@umn.edu> Did you compile your binary using the --with-default-perfdata argument to the configure script? -Travis Terry wrote: > Anyone have thoughts on this? I am stuck. > > On 9/20/05, Terry wrote: > >>I am ultimately trying to get nagiosgrapher to work. In debugging my >>problems with that, I am concerned that I am not getting ANY perfdata >>out of the plugins. Here are some relevant configs: >> >>nagios.cfg: >>process_performance_data=1 >>service_perfdata_command=process-service-perfdata >> >>miscommands.cfg: >>define command { >> command_name process-service-perfdata >> command_line /bin/echo -e >>"$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$" >> >>>>/var/log/nagios/test >> >>Here are the contents of /var/log/nagios/test: >> >>$ host PING OK 1 $ $ $ $ $ >>$ host PING OK 1 $ $ $ $ $ >>$ host MEMORY USAGE OK 1 $ $ $ >> $ $ >>$ host DISK - /tmp OK 1 $ $ $ >> $ $ >>$ host DISK - / OK 1 $ $ $ >> $ $ >>$ host SERVICE-crond OK 1 $ $ $ >> $ $ >>$ host FTP OK 1 $ $ $ $ $ >>$ host DISK - /var/data/prod OK 1 $ $ >> $ $ $ >>$ host PAGING FILE USAGE OK 1 $ $ >> $ $ $ >>$ host DISK - /boot OK 1 $ $ $ >> $ $ >>$ host DISK - /var/data/test/fp/share OK 1 $ >> $ $ $ $ >>$ host DISK - //billing00 OK 1 $ >>$ $ $ $ >>$ host DISK - /archiver OK 1 $ $ >> $ $ $ >>$ host PING OK 1 $ $ $ $ $ >>$ host LOAD OK 1 $ $ $ $ $ >>$ host PING OK 1 $ $ $ $ $ >>$ host PING OK 1 $ $ $ $ $ >>$ host PING OK 1 $ $ $ $ $ >>$ host PING OK 1 $ $ $ $ $ >>$ host PING OK 1 $ $ $ $ $ >>$ host PING OK 1 $ $ $ $ $ >>$ host PING OK 1 $ $ $ $ $ >> >> >>I have used other perfdata programs before so I don't know what the >>deal is here. This looks like nagios is NOT processing perfdata. >>What do you guys think? >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Wed Sep 21 20:22:42 2005 From: td3201 at gmail.com (Terry) Date: Wed, 21 Sep 2005 13:22:42 -0500 Subject: perfdata issue - not getting any data? In-Reply-To: <43319D98.9080200@umn.edu> References: <8ee0610105092009124041dedd@mail.gmail.com> <8ee06101050921085738ab7eca@mail.gmail.com> <43319D98.9080200@umn.edu> Message-ID: <8ee061010509211122440bf21c@mail.gmail.com> I did think of this. I installed the plugins via RPM. I looked @ the spec file that was used and did not see anything regarding perfdata. However, I looked at theconfigure script for the source and also did not see anything regarding perfdata. Perhaps I missed it somewhere. On 9/21/05, Travis J. Noll wrote: > Did you compile your binary using the --with-default-perfdata argument > to the configure script? > > -Travis > > Terry wrote: > > Anyone have thoughts on this? I am stuck. > > > > On 9/20/05, Terry wrote: > > > >>I am ultimately trying to get nagiosgrapher to work. In debugging my > >>problems with that, I am concerned that I am not getting ANY perfdata > >>out of the plugins. Here are some relevant configs: > >> > >>nagios.cfg: > >>process_performance_data=1 > >>service_perfdata_command=process-service-perfdata > >> > >>miscommands.cfg: > >>define command { > >> command_name process-service-perfdata > >> command_line /bin/echo -e > >>"$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$" > >> > >>>>/var/log/nagios/test > >> > >>Here are the contents of /var/log/nagios/test: > >> > >>$ host PING OK 1 $ $ $ $ $ > >>$ host PING OK 1 $ $ $ $ $ > >>$ host MEMORY USAGE OK 1 $ $ $ > >> $ $ > >>$ host DISK - /tmp OK 1 $ $ $ > >> $ $ > >>$ host DISK - / OK 1 $ $ $ > >> $ $ > >>$ host SERVICE-crond OK 1 $ $ $ > >> $ $ > >>$ host FTP OK 1 $ $ $ $ $ > >>$ host DISK - /var/data/prod OK 1 $ $ > >> $ $ $ > >>$ host PAGING FILE USAGE OK 1 $ $ > >> $ $ $ > >>$ host DISK - /boot OK 1 $ $ $ > >> $ $ > >>$ host DISK - /var/data/test/fp/share OK 1 $ > >> $ $ $ $ > >>$ host DISK - //billing00 OK 1 $ > >>$ $ $ $ > >>$ host DISK - /archiver OK 1 $ $ > >> $ $ $ > >>$ host PING OK 1 $ $ $ $ $ > >>$ host LOAD OK 1 $ $ $ $ $ > >>$ host PING OK 1 $ $ $ $ $ > >>$ host PING OK 1 $ $ $ $ $ > >>$ host PING OK 1 $ $ $ $ $ > >>$ host PING OK 1 $ $ $ $ $ > >>$ host PING OK 1 $ $ $ $ $ > >>$ host PING OK 1 $ $ $ $ $ > >>$ host PING OK 1 $ $ $ $ $ > >> > >> > >>I have used other perfdata programs before so I don't know what the > >>deal is here. This looks like nagios is NOT processing perfdata. > >>What do you guys think? > >> > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download it for free - -and be entered to win a 42" plasma tv or your very > > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjn at umn.edu Wed Sep 21 21:18:15 2005 From: tjn at umn.edu (Travis J. Noll) Date: Wed, 21 Sep 2005 14:18:15 -0500 Subject: perfdata issue - not getting any data? In-Reply-To: <8ee061010509211122440bf21c@mail.gmail.com> References: <8ee0610105092009124041dedd@mail.gmail.com> <8ee06101050921085738ab7eca@mail.gmail.com> <43319D98.9080200@umn.edu> <8ee061010509211122440bf21c@mail.gmail.com> Message-ID: <4331B1F7.90207@umn.edu> It's not my interpretation that your lack of perfdata has anything to do with the plugins, but rather the compilation and configuration of your nagios binary. To me your configuration looks accurate. I'd download the source and build the binary with the --with-default-perfdata argument, rather than use the nagios rpm. -Travis Terry wrote: > I did think of this. I installed the plugins via RPM. I looked @ the > spec file that was used and did not see anything regarding perfdata. > However, I looked at theconfigure script for the source and also did > not see anything regarding perfdata. Perhaps I missed it somewhere. > > On 9/21/05, Travis J. Noll wrote: > >>Did you compile your binary using the --with-default-perfdata argument >>to the configure script? >> >>-Travis >> >>Terry wrote: >> >>>Anyone have thoughts on this? I am stuck. >>> >>>On 9/20/05, Terry wrote: >>> >>> >>>>I am ultimately trying to get nagiosgrapher to work. In debugging my >>>>problems with that, I am concerned that I am not getting ANY perfdata >>>>out of the plugins. Here are some relevant configs: >>>> >>>>nagios.cfg: >>>>process_performance_data=1 >>>>service_perfdata_command=process-service-perfdata >>>> >>>>miscommands.cfg: >>>>define command { >>>> command_name process-service-perfdata >>>> command_line /bin/echo -e >>>>"$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$" >>>> >>>> >>>>>>/var/log/nagios/test >>>> >>>>Here are the contents of /var/log/nagios/test: >>>> >>>>$ host PING OK 1 $ $ $ $ $ >>>>$ host PING OK 1 $ $ $ $ $ >>>>$ host MEMORY USAGE OK 1 $ $ $ >>>> $ $ >>>>$ host DISK - /tmp OK 1 $ $ $ >>>> $ $ >>>>$ host DISK - / OK 1 $ $ $ >>>> $ $ >>>>$ host SERVICE-crond OK 1 $ $ $ >>>> $ $ >>>>$ host FTP OK 1 $ $ $ $ $ >>>>$ host DISK - /var/data/prod OK 1 $ $ >>>> $ $ $ >>>>$ host PAGING FILE USAGE OK 1 $ $ >>>> $ $ $ >>>>$ host DISK - /boot OK 1 $ $ $ >>>> $ $ >>>>$ host DISK - /var/data/test/fp/share OK 1 $ >>>> $ $ $ $ >>>>$ host DISK - //billing00 OK 1 $ >>>>$ $ $ $ >>>>$ host DISK - /archiver OK 1 $ $ >>>> $ $ $ >>>>$ host PING OK 1 $ $ $ $ $ >>>>$ host LOAD OK 1 $ $ $ $ $ >>>>$ host PING OK 1 $ $ $ $ $ >>>>$ host PING OK 1 $ $ $ $ $ >>>>$ host PING OK 1 $ $ $ $ $ >>>>$ host PING OK 1 $ $ $ $ $ >>>>$ host PING OK 1 $ $ $ $ $ >>>>$ host PING OK 1 $ $ $ $ $ >>>>$ host PING OK 1 $ $ $ $ $ >>>> >>>> >>>>I have used other perfdata programs before so I don't know what the >>>>deal is here. This looks like nagios is NOT processing perfdata. >>>>What do you guys think? >>>> >>> >>> >>> >>>------------------------------------------------------- >>>SF.Net email is sponsored by: >>>Tame your development challenges with Apache's Geronimo App Server. >>>Download it for free - -and be entered to win a 42" plasma tv or your very >>>own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 21:26:25 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 21 Sep 2005 21:26:25 +0200 Subject: probkem with multiple check_command In-Reply-To: References: Message-ID: <4331B3E1.1060409@op5.se> Marc Powell wrote: > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Gabriele Di Giambelardini >>Sent: Tuesday, September 20, 2005 10:06 AM >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] probkem with multiple check_command >> >>Hi think that I wasn't able to explain my problem... >>I need to create an group of check_commands for one host... >>It's possible? and if yes, how?? > > > You must create one service{} definition for each check you wish to make > and associate them with the host using the host_name directive. You can, however, associate the same service definition with several hosts (or even several hostgroups). I suggest a deep dive into the manual, as the subject is far too tiresome to explain with my right thumb in a cast. [ excellent explanation with examples cut ] -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 21:30:54 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 21 Sep 2005 21:30:54 +0200 Subject: Timestamp In-Reply-To: <1127296689.822.1.camel@glr-nb.dh.uclv.net> References: <1127296689.822.1.camel@glr-nb.dh.uclv.net> Message-ID: <4331B4EE.3010100@op5.se> Richard Gliebe wrote: > Hi, > > how can I translate the timestamps in nagios.log to a real date/time: > > [1127294282] Auto-save of retention data completed successfully. > ^^^^^^^^^^^^ > There's a very small C-program at http://oss.op5.se/nagios/naglog.c that does this for you. You can either pipe the log to it or give it one or more filenames to parse. The output format is in european style, so it looks like this; 2005-09-21 21:30:41 -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 21:44:14 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 21 Sep 2005 21:44:14 +0200 Subject: Nagios 3.0 In-Reply-To: References: Message-ID: <4331B80E.30909@op5.se> Mohr James wrote: > Hi All! > > I read the "wishlist" for Nagios 3.0 and the entry "Multi-Line Plugin > Output" caught my eye. I have a couple of questions about this. Does > this enhancement change the number of characters permitted or is simply > allow plugins to send multiple lines, but there will still be the 350 > character limit? > (the answers really come in a bad order here, so read below) There won't be a 350-char limit. At least not permanently. > Although we would appreciate increasing the amount of data plug-ins can > send, the ability to accept multiple lines is useful. Is this just a > wish? Yes. It's not a planned feature, so it'd be a wish. > Is it actively being worked on? > Yes. The runcmd framework discussed for the plugins is seeing some heavy modifications currently, and is being adapted for daemon use. On my FC3 laptop (1.6 Ghz or some such, 1GB RAM) I can successfully run 510 plugins in 2 seconds, provided none take longer than 0.5 seconds (average plugin execution time on our system) to complete. This includes reading output of any length or numbers of lines on both stdout and stderr. The limit is (sysconf(_SC_OPEN_MAX) - 5) / 2, which means most systems will be able to run at least 250 checks in parallell. Linux has a higher "hard roof" for this particular resource, so performance shouldn't be a problem, and it'll get rid of the FIFO bottleneck. As for how to store the output I'm a bit uncertain. The easiest way is probably to use the backslash continuation and leave it at that. > What is the timeline for Nagios 3.0? > No-one knows for sure, but given the current lack of development in Nagios (which is slow but ok, since everything seems to be working just fine), I'd say it'll be a while. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Law at thomson.com Wed Sep 21 22:12:39 2005 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Wed, 21 Sep 2005 16:12:39 -0400 Subject: Socket Timeout After 10 secs Message-ID: We have 359 active monitoring on one Nagios server. We get about 2000 "Socket Timeout After 10 seconds" messages per day. Has anyone else had similar problems? If so, what was the problem? Thanks, Mark ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From safarj at kancelarskestroje.cz Wed Sep 21 22:13:42 2005 From: safarj at kancelarskestroje.cz (Jakub Safar) Date: Wed, 21 Sep 2005 22:13:42 +0200 Subject: return code lost during sending check result In-Reply-To: References: Message-ID: <1127333622.11915.71.camel@jsa> Marc, thank you! Done&Works. Im sorry ... Ich bin ein Nagios newbie. Jakub p.s. here are those working files: define command{ command_name submit_check_result command_line /usr/lib/nagios/plugins/eventhandlers/distributed-monitoring/submit_check_result_via_nsca $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' "misccommands.cfg" submit_check_result_via_nsca: case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac printfcmd="/usr/bin/printf" NscaBin="/usr/sbin/send_nsca" NscaCfg="/etc/nagios/send_nsca.cfg" NagiosHost="XXX.XXX.XXX.XXX" $printfcmd "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | $NscaBin $NagiosHost -c $NscaCfg keywords: nagios, passive, nsca, ok, service, host, status, critical . On Wed, 2005-09-21 at 11:47 -0500, Marc Powell wrote: > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Jakub Safar > > Sent: Wednesday, September 21, 2005 10:09 AM > > To: nagios-users > > Subject: [Nagios-users] return code lost during sending check result > > > > Hello, > > > > exit return codes of check_ping is lost by Nagios while sending > results > > through NSCA to other Nagios server. > > > > Command "submit_check_result" is defined like this: > > submit_check_result_via_nsca $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ > > '$OUTPUT$' > > > > submit_check_result_via_nsca includes: > > cmdline="$1;$2;$3;$4" > > $echocmd "$1\t$2\t$3\t$4\n" | $NscaBin $NagiosHost -p $NagiosHostPort > -c > > $NscaCfg > > > > If $3 == $SERVICESTATE$ you need to do some additional processing as > nsca/nagios on the far side are expecting a numerical value. You'll need > to translate $SERVICESTATE$ into the proper exit code before passing it > on to NSCA. See the example submit_check_result code at > http://nagios.sourceforge.net/docs/1_0/distributed.html and verify that > your script performs that translation. > > Additionally, verify that the SERVICESTATE variable is being passed to > submit_check_result properly. It's very likely that it is but to be on > the safe side, try echoing the cmdline to a tmp file somewhere and make > sure that $3 == CRITICAL or OK or whatever the state is before the > translation. > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 22:31:56 2005 From: marc at ena.com (Marc Powell) Date: Wed, 21 Sep 2005 15:31:56 -0500 Subject: Socket Timeout After 10 secs Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mark.Law at thomson.com > Sent: Wednesday, September 21, 2005 3:13 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Socket Timeout After 10 secs > > We have 359 active monitoring on one Nagios server. We get about 2000 > "Socket Timeout After 10 seconds" messages per day. > > Has anyone else had similar problems? If so, what was the problem? 1238 services monitored here on my busiest collector (dual PIII 800) and I've not seen those when I didn't expect them. I generally allow a 30 second execution time for most plugins as a buffer though. Are your services that you're monitoring taking longer than 10 seconds to respond to the plugin? If so, you can adjust your plugin timeout and nagios timeouts appropriately. Are you allowing a sufficient amount of time for what you've told the plugin to do? For example, if you tell check_ping to send 10 packets, that's ten second right there just for the packets to go out. Then you add onto that startup time, response time from the remote host and evaluation. Could there be network problems contributing to slow response times? Incompatible speed/duplex settings, errors, full pipes, etc? How loaded is the Nagios server? If it's overloaded the plugin may be forced to sleep longer than it otherwise would and the execution time would be longer as a result. Hth, -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JF.Leblond at SAQ.qc.ca Wed Sep 21 23:04:55 2005 From: JF.Leblond at SAQ.qc.ca (=?iso-8859-1?Q?Leblond=2C_Jean-Fran=E7ois?=) Date: Wed, 21 Sep 2005 17:04:55 -0400 Subject: check_disk question Message-ID: Hi, I'm currently writing a new check_disk in perl in order to support the inodes and the -p and -x flags. I would like to know what means the values 2534 and 2675 given by perfstat in the following example. root at sxdadm0041:/usr/local/nagios/libexec# ./check_disk -w 10% -c 5% -p /usr DISK OK - free space: /usr 481 MB (17%);| /usr=2336MB;2534;2675;0;2816 root at sxdadm0041:/usr/local/nagios/libexec# df -k /usr Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd2 2883584 492524 83% 61786 9% /usr root at sxdadm0041:/usr/local/nagios/libexec# Thanks in advance Jean-Fran?ois Leblond -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailings at good-it.com Wed Sep 21 23:15:27 2005 From: mailings at good-it.com (Johan Barelds) Date: Wed, 21 Sep 2005 23:15:27 +0200 Subject: check_log v1.4.1 doesn't work with NRPE? In-Reply-To: <200509200808.53978.mailings@good-it.com> References: <200509200808.53978.mailings@good-it.com> Message-ID: <200509212315.27461.mailings@good-it.com> Anyone any clues about this problem? Thanks for any reply! Grz. Johan Op dinsdag 20 september 2005 08:08, schreef Johan Barelds: > Hi all, > > I am using the v1.4.1. plugins on a client and Nagios 2.0.0.b4 on the > server. The plugins are beeing executed via NRPE om the client. > All the plugins seems to work fine exept the check_log plugin. > > The nrpe.cfg entry for the check_proc is: > ------------------ > command[check_log_notice]=/usr/local/nagios/libexec/check_log > -F /var/log/messages -O /var/tmp/nagios/messages.NOTICE -q NOTIC > E > ------------------ > when i do run the plugin from the commandline on the client it say: > ------------------ > Log check ok - 0 pattern matches found > ------------------ > > When i do it from the the commandline on the Nagios server it says: > ------------------ > CHECK_NRPE: Error receiving data from daemon. > ------------------ > > All other plugins work fine from both the server and the client side. > Is someone aware of any bugs in this check_log plugin when it's executed > via NRPE? > > Thanks for any reply! -- Kind Regards / Met vriendelijke groet, Johan Barelds Good-IT! Tel.+31(0)70-3965230 Strijplaan 320 Mob.+31(0)6-54253750 2285 HZ Rijswijk(ZH) j.barelds at good-it.com http://www.good-it.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 23:24:50 2005 From: marc at ena.com (Marc Powell) Date: Wed, 21 Sep 2005 16:24:50 -0500 Subject: check_log v1.4.1 doesn't work with NRPE? Message-ID: You did only ask if anyone was aware of any bugs in check_log via NRPE ;) I personally am not. Did you run your test as the user that NRPE is running as on the remote machine? Can that user read /var/log/messages? That would be my guess as to the problem. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Johan Barelds > Sent: Wednesday, September 21, 2005 4:15 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_log v1.4.1 doesn't work with NRPE? > > Anyone any clues about this problem? > Thanks for any reply! > > Grz. Johan > > Op dinsdag 20 september 2005 08:08, schreef Johan Barelds: > > Hi all, > > > > I am using the v1.4.1. plugins on a client and Nagios 2.0.0.b4 on the > > server. The plugins are beeing executed via NRPE om the client. > > All the plugins seems to work fine exept the check_log plugin. > > > > The nrpe.cfg entry for the check_proc is: > > ------------------ > > command[check_log_notice]=/usr/local/nagios/libexec/check_log > > -F /var/log/messages -O /var/tmp/nagios/messages.NOTICE -q NOTIC > > E > > ------------------ > > when i do run the plugin from the commandline on the client it say: > > ------------------ > > Log check ok - 0 pattern matches found > > ------------------ > > > > When i do it from the the commandline on the Nagios server it says: > > ------------------ > > CHECK_NRPE: Error receiving data from daemon. > > ------------------ > > > > All other plugins work fine from both the server and the client side. > > Is someone aware of any bugs in this check_log plugin when it's executed > > via NRPE? ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prosolutions at gmx.net Wed Sep 21 23:28:48 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Wed, 21 Sep 2005 14:28:48 -0700 Subject: Possible to schedule downtime for hostgroup? Message-ID: <20050921212848.GE3095@think.alaya.mine.nu> I am trying to schedule downtime for a hostgroup but it always gives an error that I am not authorized to run command. If I schedule downtime for individual hosts it works fine. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 23:54:53 2005 From: marc at ena.com (Marc Powell) Date: Wed, 21 Sep 2005 16:54:53 -0500 Subject: check_disk question Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Leblond, Jean-Fran?ois > Sent: Wednesday, September 21, 2005 4:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_disk question > > Hi, > > I'm currently writing a new check_disk in perl in order to support the > inodes and the -p and -x flags. > > I would like to know what means the values 2534 and 2675 given by perfstat > in the following example. > > root at sxdadm0041:/usr/local/nagios/libexec# ./check_disk -w 10% -c 5% -p > /usr > > DISK OK - free space: /usr 481 MB (17%);| /usr=2336MB;2534;2675;0;2816 Through experimentation it looks to be the warning and critical thresholds expressed as MB -- [root at gemini plugins]# ./check_disk -w 10% -c 5% -p / DISK OK - free space: / 2414 MB (33%);| /=4987MB;6660;7030;0;7400 7400*0.9=6660, 7400*0.95=7030 [root at gemini plugins]# ./check_disk -w 20% -c 10% -p / DISK OK - free space: / 2414 MB (33%);| /=4987MB;5920;6660;0;7400 [root at gemini plugins]# ./check_disk -w 40% -c 30% -p / DISK WARNING - free space: / 2414 MB (33%);| /=4987MB;4440;5180;0;7400 [root at gemini plugins]# ./check_disk -w 50% -c 40% -p / DISK CRITICAL - free space: / 2414 MB (33%);| /=4987MB;3700;4440;0;7400 -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Thu Sep 22 00:02:23 2005 From: mailings at good-it.com (Johan Barelds) Date: Thu, 22 Sep 2005 00:02:23 +0200 Subject: check_log v1.4.1 doesn't work with NRPE? In-Reply-To: References: Message-ID: <200509220002.23700.mailings@good-it.com> Op woensdag 21 september 2005 23:24, schreef Marc Powell: > You did only ask if anyone was aware of any bugs in check_log via NRPE > ;) I personally am not. That's true..:-) > Did you run your test as the user that NRPE is running as on the remote > machine? Can that user read /var/log/messages? That would be my guess as > to the problem. That true to..:-) I did the tests as root. After setting the right permissions on the files for user Nagios the problem was solved. Thanks! > > -- > Marc > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Johan Barelds > > Sent: Wednesday, September 21, 2005 4:15 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_log v1.4.1 doesn't work with NRPE? > > > > Anyone any clues about this problem? > > Thanks for any reply! > > > > Grz. Johan > > > > Op dinsdag 20 september 2005 08:08, schreef Johan Barelds: > > > Hi all, > > > > > > I am using the v1.4.1. plugins on a client and Nagios 2.0.0.b4 on > > the > > > > server. The plugins are beeing executed via NRPE om the client. > > > All the plugins seems to work fine exept the check_log plugin. > > > > > > The nrpe.cfg entry for the check_proc is: > > > ------------------ > > > command[check_log_notice]=/usr/local/nagios/libexec/check_log > > > -F /var/log/messages -O /var/tmp/nagios/messages.NOTICE -q NOTIC > > > E > > > ------------------ > > > when i do run the plugin from the commandline on the client it say: > > > ------------------ > > > Log check ok - 0 pattern matches found > > > ------------------ > > > > > > When i do it from the the commandline on the Nagios server it says: > > > ------------------ > > > CHECK_NRPE: Error receiving data from daemon. > > > ------------------ > > > > > > All other plugins work fine from both the server and the client > > side. > > > > Is someone aware of any bugs in this check_log plugin when it's > > executed > > > > via NRPE? > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Kind Regards / Met vriendelijke groet, Johan Barelds Good-IT! Tel.+31(0)70-3965230 Strijplaan 320 Mob.+31(0)6-54253750 2285 HZ Rijswijk(ZH) j.barelds at good-it.com http://www.good-it.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fruiz at netsuite.com Thu Sep 22 00:19:36 2005 From: fruiz at netsuite.com (Ruiz, Francisco) Date: Wed, 21 Sep 2005 15:19:36 -0700 Subject: Disable notifications Message-ID: <2BF1D777D914174DB2F6874540E3B6C7035D8E@corpmail1.svale.netledger.com> Hi, Does anyone know if there a way within nagios to temporarily disable notifications for all hosts? i.e. I have 100 hosts that went down temporarily due to a network outage. The hosts came back up after 5 minutes. I know they are all back online, and I really don't care about the recovery pages at this point. So I want to ensure that I don't get those pages for a specified amount of time. How would I go about doing this? Thanks! ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Thu Sep 22 01:27:03 2005 From: drussell at mpifix.com (Danny Russell) Date: Wed, 21 Sep 2005 17:27:03 -0600 Subject: Disable notifications Message-ID: <028B223BB24E5443A9784BBE1CC5EBE054C1E7@Lisa.mpifix.com> You can do it in the Nagios.cfg file. # NOTIFICATIONS OPTION # This determines whether or not Nagios will sent out any host or # service notifications when it is initially (re)started. # Values: 1 = enable notifications, 0 = disable notifications enable_notifications=1 :D -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ruiz, Francisco Sent: Wednesday, September 21, 2005 4:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Disable notifications Hi, Does anyone know if there a way within nagios to temporarily disable notifications for all hosts? i.e. I have 100 hosts that went down temporarily due to a network outage. The hosts came back up after 5 minutes. I know they are all back online, and I really don't care about the recovery pages at this point. So I want to ensure that I don't get those pages for a specified amount of time. How would I go about doing this? Thanks! ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcoaurelio153 at yahoo.com.br Thu Sep 22 02:19:53 2005 From: marcoaurelio153 at yahoo.com.br (=?iso-8859-1?q?Marco=20Aur=E9lio=20Miranda=20Pereira?=) Date: Wed, 21 Sep 2005 21:19:53 -0300 (ART) Subject: NRPE Message-ID: <20050922001953.86121.qmail@web30911.mail.mud.yahoo.com> Algu?m tem um tutorial, um guia que ensine a instalar o nrpe, pois n?o estou achando muita coisa e precisa de alguma fonte para pesquisar. Agrade?o desde j?! Marco Aur?lio --------------------------------- Novo Yahoo! Messenger com voz: liga??es, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Thu Sep 22 02:54:56 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 22 Sep 2005 10:54:56 +1000 Subject: probkem with multiple check_command In-Reply-To: <4331B3E1.1060409@op5.se> References: <4331B3E1.1060409@op5.se> Message-ID: <433200E0.1050902@qut.edu.au> OK I'm sorry, but I just have to ask: Andreas Ericsson wrote: > You can, however, associate the same service definition with several > hosts (or even several hostgroups). I suggest a deep dive into the > manual, as the subject is far too tiresome to explain with my right > thumb in a cast. Why is your right thumb in a cast??? :) Quell my wild theories and spin a suitably heroic story, please! -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ladams at cloudmark.com Thu Sep 22 02:58:49 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 21 Sep 2005 17:58:49 -0700 Subject: Disable notifications Message-ID: I wouldn't necessarily trust enable_notifications=1 in the nagios.cfg file to fix your problem. Instead go to "Process Info" and click on "Disable Notifications" in the UI. or http://nagios/cgi-bin/cmd.cgi?cmd_typ=11 -Lori > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Danny Russell > Sent: Wednesday, September 21, 2005 4:27 PM > To: Ruiz, Francisco; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Disable notifications > > You can do it in the Nagios.cfg file. > > > # NOTIFICATIONS OPTION > # This determines whether or not Nagios will sent out any host or > # service notifications when it is initially (re)started. > # Values: 1 = enable notifications, 0 = disable notifications > > enable_notifications=1 > > :D > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ruiz, > Francisco > Sent: Wednesday, September 21, 2005 4:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Disable notifications > > Hi, > > Does anyone know if there a way within nagios to temporarily disable > notifications for all hosts? > > i.e. > > I have 100 hosts that went down temporarily due to a network outage. The > hosts came back up after 5 minutes. I know they are all back online, and > I really don't care about the recovery pages at this point. So I want to > ensure that I don't get those pages for a specified amount of time. How > would I go about doing this? > > Thanks! > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your > very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Thu Sep 22 03:23:59 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 22 Sep 2005 11:23:59 +1000 Subject: Timestamp In-Reply-To: <4331B4EE.3010100@op5.se> References: <1127296689.822.1.camel@glr-nb.dh.uclv.net> <4331B4EE.3010100@op5.se> Message-ID: <433207AF.8020803@qut.edu.au> Andreas, Andreas Ericsson wrote: > Richard Gliebe wrote: > >> Hi, >> >> how can I translate the timestamps in nagios.log to a real date/time: >> >> [1127294282] Auto-save of retention data completed successfully. >> ^^^^^^^^^^^^ >> > > There's a very small C-program at http://oss.op5.se/nagios/naglog.c that I'm getting a: Not Found The requested URL /nagios/naglog.c was not found on this server. And I can't see anything like it on http://oss.op5.se/nagios - is the script in another location? > does this for you. You can either pipe the log to it or give it one or > more filenames to parse. The output format is in european style, so it > looks like this; 2005-09-21 21:30:41 Thank god! Who mixes up the order of significance (i.e. yy-dd-mm) in dates anyway??? :p -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossz at vamos-wentworth.org Thu Sep 22 04:04:38 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Wed, 21 Sep 2005 19:04:38 -0700 Subject: Disable notifications In-Reply-To: <2BF1D777D914174DB2F6874540E3B6C7035D8E@corpmail1.svale.netledger.com> References: <2BF1D777D914174DB2F6874540E3B6C7035D8E@corpmail1.svale.netledger.com> Message-ID: <43321136.9070700@vamos-wentworth.org> Ruiz, Francisco wrote: >I have 100 hosts that went down temporarily due to a network outage. The hosts came back up after 5 minutes. I know they are all back online, and I really don't care about the recovery pages at this point. So I want to ensure that I don't get those pages for a specified amount of time. How would I go about doing this? > > Looks like you made the same mistake I made in your configuration, but multiplied by a considerable amount. I have 3 remote systems being monitored. I have one host I call "router" (even though it really isn't) that has a single service, it makes sure the internet connection is working. All of my remote systems are configured as children of "router". If I lose my internet connection the remote tests are skipped and I don't get a mess of unneeded alerts. You don't want a single point of failure causing hundreds of alerts. -- Rossz God kills a kitten every time someone uses Internet Explorer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Thu Sep 22 06:22:05 2005 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 21 Sep 2005 23:22:05 -0500 Subject: Fwd: saw your posting on Nagios In-Reply-To: References: Message-ID: <4331EB1D.1256.A38E4A@nagios.nagios.org> Jacob, Marc, et al - I was not aware that this was happening, but I would like to thank you for shedding light on this issue. I have been in talks with RR regarding a potential partnership, but nothing has been finalized as of yet. To say that there is currently a partnership of some kind is simply not true. I have contacted RR regarding this matter and have received assurances that this type of solicitation will not occur in the future. FYI, if anyone receives similar inquiries from other companies or individuals as a result of their postings on the Nagios mailing lists, please let me know and I will do my best to resolve the issue ASAP. In my opinion, it is unacceptable for companies to solicit potential customers by trolling the lists. It damages the integrity of not only the lists, but of the company in question as well. Sorry for any trouble this may have caused you and/or others. Again, thank you for bringing this matter to my attention. On 21 Sep 2005 at 12:12, Marc Powell wrote: > I received a similar message from her on 4/20/2005. I responded > indicating that it was bad behavior to troll technical mailing lists > for business leads. It seems they don't agree. > > I doubt they have any kind of 'partnership with Nagios'. Her earlier > description to me is probably more accurate -- > > "We're a software notification company configured to work with Nagios > monitoring package." > > I had suggested that they ask Ethan to be listed on > http://www.nagios.org/products/notification/. I take the lack of them > being listed there as further evidence that they don't have such a > partnership. Regardless, using this mailing list to gather leads is > still wrong and they should be removed from the list if they are on > it. They'll still be able to gather the addresses but they'll have to > work harder to do it. > > -- > Marc > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Jacob Laack Sent: > > Wednesday, September 21, 2005 7:01 AM To: > > nagios-users at lists.sourceforge.net Cc: veronica at reliableresponse.net > > Subject: [Nagios-users] Fwd: saw your posting on Nagios > > > > Nagios-Users Admins- > > I received this e-mail yesterday. Apparently this "Veronica" is > > using this mailing list as a marketing tool instead of its original > > purpose. > I > > think it'd be appropriate to remove her from the list. > > -Jake > > > > >>> "Veronica Proksch" 9/20/2005 > 3:25:19 > > PM >>> > > Hi Jacob, > > > > Reliable Response has a partnership with Nagios. Our integration > offers > > out-of-the-box notification: > > > > * Though Nagios offers escalation, all configuration must be done by > > the administrator and is time consuming and error-prone. > > > > * Nagios only offers reporting on alerts - not for number of > > notifications or on the response-time of your IT team. Reliable > Response > > delivers clean reporting and color charts to evaluate the work-load > and > > responsiveness of the IT team. > > > > * Only Reliable Response Notification allows the IT staff to > > respond and check the status of alerts from their mobile devices > > (example: Stuck in traffic? You can see who is working on the > solution). > > > > > > I'm interested in your feedback. I'll follow up with a call. Thank > > you for your time. > > > > Best, > > > > Veronica Proksch > > Sales Executive > > Reliable Response, LLC > > O: 303 542 1989 > > C: 303 725 4634 > > veronica at reliableresponse.net > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download it for free - -and be entered to win a 42" plasma tv or > > your > very > > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your > very own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Thu Sep 22 07:39:54 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Thu, 22 Sep 2005 13:39:54 +0800 Subject: check_procs question.. Message-ID: Hi list! I think the check_procs is not working on my solaris box. (or im just using it wrongly :) everytime i add a service, i always execute it manually on the local machine first, nrpe second. but when i do it locally, ie. ./check_procs -m PROCS -w 1:1 -c 1:1 -s RDS -C cron i get: PROCS CRITICAL: 0 processes with STATE = RDS, command name 'cron' # ps -ef | grep cron root 219 1 0 Sep 20 ? 0:00 /usr/sbin/cron why is that? any help will be appreciated. Thanks! -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 22 09:13:04 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 22 Sep 2005 09:13:04 +0200 Subject: Timestamp In-Reply-To: <433207AF.8020803@qut.edu.au> References: <1127296689.822.1.camel@glr-nb.dh.uclv.net> <4331B4EE.3010100@op5.se> <433207AF.8020803@qut.edu.au> Message-ID: <43325980.8080900@op5.se> Greg Vickers wrote: > Andreas, > > Andreas Ericsson wrote: > >> Richard Gliebe wrote: >> >>> Hi, >>> >>> how can I translate the timestamps in nagios.log to a real date/time: >>> >>> [1127294282] Auto-save of retention data completed successfully. >>> ^^^^^^^^^^^^ >>> >> >> There's a very small C-program at http://oss.op5.se/nagios/naglog.c that > > > I'm getting a: > > Not Found > The requested URL /nagios/naglog.c was not found on this server. > > And I can't see anything like it on http://oss.op5.se/nagios - is the > script in another location? > True. It seems I haven't actually bothered to upload it, though I thought I had. It'll be there in 15 minutes or so. >> does this for you. You can either pipe the log to it or give it one or >> more filenames to parse. The output format is in european style, so it >> looks like this; 2005-09-21 21:30:41 > > > Thank god! Who mixes up the order of significance (i.e. yy-dd-mm) in > dates anyway??? :p > The british, the US folks, aussies and some other backwards people. The logical thing to do with any form of numerals is to write out the field incremented most often last. It's how we count, so it should be how we write as well. It also sorts nicely. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 22 09:16:13 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 22 Sep 2005 09:16:13 +0200 Subject: probkem with multiple check_command In-Reply-To: <433200E0.1050902@qut.edu.au> References: <4331B3E1.1060409@op5.se> <433200E0.1050902@qut.edu.au> Message-ID: <43325A3D.3080002@op5.se> Greg Vickers wrote: > OK I'm sorry, but I just have to ask: > > Andreas Ericsson wrote: > >> You can, however, associate the same service definition with several >> hosts (or even several hostgroups). I suggest a deep dive into the >> manual, as the subject is far too tiresome to explain with my right >> thumb in a cast. > > > Why is your right thumb in a cast??? :) Quell my wild theories and spin > a suitably heroic story, please! > I did something stupid involving a bar, some strong liquor and a wet bathroom floor. It appears an enactment of "Singing in the rain" on a wet bathroom floor isn't exactly ideal at 5:30 am when one's having trouble enough standing up straight without dancing with an imaginary cane. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bimschas at phase4.de Thu Sep 22 09:31:57 2005 From: Bimschas at phase4.de (Daniel Bimschas) Date: Thu, 22 Sep 2005 09:31:57 +0200 Subject: Compilation Errors in perfparse Message-ID: <2CCEB1B7A93CF444AC4FE3BAB759962CD0CBFA@p4-muc-nt5.intra.phase4.de> Hi people! i'm trying to compile the perfparse plugin on a debian 3.0 (woody) os with glib12 installed. i always get configure or compiling errors. if i try to compile with glib2 theres even more compilation errors. here's the configure output, below you'll find the make output: ./configure --prefix=/home/watchdog/perfparse --with-glib12=/usr/lib gives me the following messages: ***************************************************** Configuration options: Prefix: /home/watchdog/perfparse Perfparse: Selected DB tools: Selected CGI: Selected HTTP path for images: /nagios/images Installation path for images: ${datadir}/perfparse/images Installation path for CGIs: ${exec_prefix}/sbin Using glib1.2: 1.2.10 Database support: mysql ***************************************************** WARNING WARNING WARNING WARNING WARNING WARNING WARNING Perfparse CGI is now perfparse.cgi. If you have upgrading, the development team suggests that you remove your old perfgraph.cgi to avoid any confusion. ***************************************************** WARNING WARNING WARNING WARNING WARNING WARNING WARNING Be sure to install libpp_storage_*.so files in a directory that ld.so knows (/etc/ld.so.conf, run ldconfig if needed, or $LD_LIBRARY_PATH) ***************************************************** maybe the error is this output: configure: WARNING: Could not find gdlib-config. The compiler and linker assume that you specify the options manually in CFLAGS and LDFLAGS when running make make then, does the following error output: gcc -g -O2 -Wall -o .libs/perfparsed perfparsed-perfparsed.o perfparsed-perfparse-common.o perfparsed-server_parser.o perfparsed-log_reader.o perfparsed-storage.o perfparsed-storage_history.o -L/home/watchdog/inst/src/perfparse-0.105.6/libpp_common /home/watchdog/inst/src/perfparse- 0.105.6/libpp_common/.libs/libpp_common.so -lz -L/home/watchdog/inst/src/perfparse-0.105.6/libnagios_perfdata_parser /home/watchdog/inst/src/perfparse- 0.105.6/libnagios_perfdata_parser/.libs/libnagios_perfdata_parser.so -L/usr/lib /usr/lib/libglib.so -ldl -lm -Wl,--rpath - Wl,/home/watchdog/perfparse/lib perfparsed-storage.o: In function `storage_periodic_cleanup': /home/watchdog/inst/src/perfparse-0.105.6/perfparse/storage.c:269: undefined reference to `g_path_get_basename' collect2: ld returned 1 exit status make[2]: *** [perfparsed] Fehler 1 I would really appreciate if somebody could help me by telling where the problem is, or maybe if i'm missing some library. p.s. if i do configure without "--with-glib12=" i'll get even more make errors for drawing functions that are not found. thanks! -- Daniel Bimschas Entwicklung Phase 4 Communications GmbH Bayerstra?e 85 a 80335 M?nchen Fon +49.89.30 63 21-52 Fax +49.89.30 63 21-21 ISDN +49.89.30 72 93 33 M?nchen | Z?rich | Berlin www.phase4.de ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bimschas at phase4.de Thu Sep 22 10:09:37 2005 From: Bimschas at phase4.de (Daniel Bimschas) Date: Thu, 22 Sep 2005 10:09:37 +0200 Subject: Compilation Errors in perfparse Message-ID: <2CCEB1B7A93CF444AC4FE3BAB759962CCEA831@p4-muc-nt5.intra.phase4.de> compiling with glib2 gives me the following make output: /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o perfchart.png perfchart_png-perfchart.o perfchart_png-cgi.o -L../libpp_mysql -lpp_mysql -L'/usr/lib' -lmysqlclient -lz -lcrypt -lnsl -lm -L../libpp_common -lpp_common -lglib-2.0 -ldl -lm gcc -g -O2 -Wall -o .libs/perfchart.png perfchart_png-perfchart.o perfchart_png-cgi.o -L/home/watchdog/inst/src/perfparse-0.105.6/libpp_mysql /home/watchdog/inst/src/perfparse-0.105.6/libpp_mysql/.libs/libpp_mysql.so -L/usr/lib /usr/lib/libmysqlclient.so -lcrypt -lnsl -L/home/watchdog/inst/src/perfparse-0.105.6/libpp_common /home/watchdog/inst/src/perfparse-0.105.6/libpp_common/.libs/libpp_common.so -lz /usr/lib/libglib-2.0.so -ldl -lm -Wl,--rpath -Wl,/home/watchdog/perfparse/lib perfchart_png-perfchart.o: In function `main': /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:277: undefined reference to `gdImageRectangle' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:278: undefined reference to `gdImageRectangle' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:281: undefined reference to `gdImageFilledRectangle' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:282: undefined reference to `gdImageFilledRectangle' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:295: undefined reference to `gdImagePng' perfchart_png-perfchart.o: In function `initChartGraphics': /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:464: undefined reference to `gdImageCreate' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:468: undefined reference to `gdImageColorAllocate' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:469: undefined reference to `gdImageColorAllocate' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:470: undefined reference to `gdImageColorAllocate' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:471: undefined reference to `gdImageColorAllocate' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:472: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o:/home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:473: more undefined references to `gdImageColorAllocate' follow perfchart_png-perfchart.o: In function `drawHeadings': /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:571: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:571: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:572: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:573: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:577: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:577: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:578: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:579: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:583: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:583: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:584: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:585: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:589: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:589: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:590: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:591: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:595: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:595: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:596: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:597: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:600: undefined reference to `gdImageRectangle' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:605: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:605: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:621: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:621: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:632: undefined reference to `gdFontMediumBold' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:632: undefined reference to `gdImageString' perfchart_png-perfchart.o: In function `drawAverage': /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:691: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:696: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:707: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:715: undefined reference to `gdImageLine' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:743: undefined reference to `gdImageLine' perfchart_png-perfchart.o:/home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:809: more undefined references to `gdImageLine' follow perfchart_png-perfchart.o: In function `drawYScalePercent': /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1002: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1002: undefined reference to `gdImageString' perfchart_png-perfchart.o: In function `drawYScale': /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1065: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1065: undefined reference to `gdImageString' perfchart_png-perfchart.o: In function `drawXScale': /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1087: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1087: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1123: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1123: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1129: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1129: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1131: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1131: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1182: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1182: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1236: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1236: undefined reference to `gdImageString' perfchart_png-perfchart.o: In function `print_failure_html': /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1606: undefined reference to `gdImageFilledRectangle' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1608: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1608: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1609: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1609: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1612: undefined reference to `gdImagePng' perfchart_png-perfchart.o: In function `print_sql_failure_image': /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1738: undefined reference to `gdImageFilledRectangle' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1740: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1740: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1741: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1741: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1743: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1743: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1744: undefined reference to `gdFontSmall' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1744: undefined reference to `gdImageString' /home/watchdog/inst/src/perfparse-0.105.6/cgi/perfchart.c:1751: undefined reference to `gdImagePng' collect2: ld returned 1 exit status make[2]: *** [perfchart.png] Fehler 1 make[2]: Leaving directory `/home/watchdog/inst/src/perfparse-0.105.6/cgi' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/watchdog/inst/src/perfparse-0.105.6' make: *** [all] Fehler 2 maybe this could help?! -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Daniel Bimschas Gesendet: Donnerstag, 22. September 2005 09:32 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Compilation Errors in perfparse Hi people! i'm trying to compile the perfparse plugin on a debian 3.0 (woody) os with glib12 installed. i always get configure or compiling errors. if i try to compile with glib2 theres even more compilation errors. here's the configure output, below you'll find the make output: ./configure --prefix=/home/watchdog/perfparse --with-glib12=/usr/lib gives me the following messages: ***************************************************** Configuration options: Prefix: /home/watchdog/perfparse Perfparse: Selected DB tools: Selected CGI: Selected HTTP path for images: /nagios/images Installation path for images: ${datadir}/perfparse/images Installation path for CGIs: ${exec_prefix}/sbin Using glib1.2: 1.2.10 Database support: mysql ***************************************************** WARNING WARNING WARNING WARNING WARNING WARNING WARNING Perfparse CGI is now perfparse.cgi. If you have upgrading, the development team suggests that you remove your old perfgraph.cgi to avoid any confusion. ***************************************************** WARNING WARNING WARNING WARNING WARNING WARNING WARNING Be sure to install libpp_storage_*.so files in a directory that ld.so knows (/etc/ld.so.conf, run ldconfig if needed, or $LD_LIBRARY_PATH) ***************************************************** maybe the error is this output: configure: WARNING: Could not find gdlib-config. The compiler and linker assume that you specify the options manually in CFLAGS and LDFLAGS when running make make then, does the following error output: gcc -g -O2 -Wall -o .libs/perfparsed perfparsed-perfparsed.o perfparsed-perfparse-common.o perfparsed-server_parser.o perfparsed-log_reader.o perfparsed-storage.o perfparsed-storage_history.o -L/home/watchdog/inst/src/perfparse-0.105.6/libpp_common /home/watchdog/inst/src/perfparse- 0.105.6/libpp_common/.libs/libpp_common.so -lz -L/home/watchdog/inst/src/perfparse-0.105.6/libnagios_perfdata_parser /home/watchdog/inst/src/perfparse- 0.105.6/libnagios_perfdata_parser/.libs/libnagios_perfdata_parser.so -L/usr/lib /usr/lib/libglib.so -ldl -lm -Wl,--rpath - Wl,/home/watchdog/perfparse/lib perfparsed-storage.o: In function `storage_periodic_cleanup': /home/watchdog/inst/src/perfparse-0.105.6/perfparse/storage.c:269: undefined reference to `g_path_get_basename' collect2: ld returned 1 exit status make[2]: *** [perfparsed] Fehler 1 I would really appreciate if somebody could help me by telling where the problem is, or maybe if i'm missing some library. p.s. if i do configure without "--with-glib12=" i'll get even more make errors for drawing functions that are not found. thanks! -- Daniel Bimschas Entwicklung Phase 4 Communications GmbH Bayerstra?e 85 a 80335 M?nchen Fon +49.89.30 63 21-52 Fax +49.89.30 63 21-21 ISDN +49.89.30 72 93 33 M?nchen | Z?rich | Berlin www.phase4.de ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shaikh.m.a at gmail.com Thu Sep 22 10:43:28 2005 From: shaikh.m.a at gmail.com (M.Saeed Shaikh) Date: Thu, 22 Sep 2005 14:13:28 +0530 Subject: Yahoo alert Message-ID: <9e66c57d05092201436df5eaac@mail.gmail.com> How can I implement yahoo,SMS alert for nagios ? -- M.A.Shaikh Linux System Administrator -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjk_saji at yahoo.com Thu Sep 22 10:59:30 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Thu, 22 Sep 2005 09:59:30 +0100 (BST) Subject: Yahoo alert In-Reply-To: <9e66c57d05092201436df5eaac@mail.gmail.com> References: <9e66c57d05092201436df5eaac@mail.gmail.com> Message-ID: <20050922085930.62061.qmail@web34809.mail.mud.yahoo.com> http://nagios.sourceforge.net/docs/1_0/notifications.html and check for Helpful Resources I had configured nagios to send SMS , by using some service provider , we do send notification to a mail id , Which in turn the contents are send as SMS by the provider --- "M.Saeed Shaikh" wrote: > How can I implement yahoo,SMS alert for nagios ? > > -- > M.A.Shaikh > Linux System Administrator > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabriele_d_g at yahoo.it Thu Sep 22 14:30:12 2005 From: gabriele_d_g at yahoo.it (Gabriele Di Giambelardini) Date: Thu, 22 Sep 2005 14:30:12 +0200 (CEST) Subject: citrix and samba Message-ID: <20050922123012.46575.qmail@web26503.mail.ukl.yahoo.com> Hi, somebody know a check for citrix and for samba??' --------------------------------- Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From eohimor at ipnxnigeria.net Thu Sep 22 14:59:58 2005 From: eohimor at ipnxnigeria.net (Efe Ohimor) Date: Thu, 22 Sep 2005 13:59:58 +0100 Subject: No notification on web interface Message-ID: <00c101c5bf75$89a44450$e603320a@ns7> Hello, Can any help me I have my nagios running before now but presently I can't access any thing on the web interface of my Nagios.All I get is "There doesn't appear to be any service status information in the status log...Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files." I don't know what is wrong meanwhile I have the "enable notification= 1" set in my nagios.cfg file Also whenever I reload nagios it does not complain of any error.Can anyone help me out ? Thanks Efe Ohimor ipNX Nigeria Limited, 4,Balarabe Musa Crescent, Victoria Island, Lagos. Tel :4619943-6 ext 1216 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gdanko at gmail.com Thu Sep 22 15:22:13 2005 From: gdanko at gmail.com (Gary Danko) Date: Thu, 22 Sep 2005 06:22:13 -0700 Subject: Hierarchical view? Message-ID: <6c5c451f0509220622cfe6e6d@mail.gmail.com> Hi, I am using 2.0b2 and monitor about 950 services on 150 hosts. I usually have open the Service Status page. Is there any way I can have a more hierarchical view in the Service Status page? Something like this: host1 |__service1 |__service2 | host2 |__service1 |__service2 It would be neat if hosts w/o problems could be collapsed by default. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at buenos.com.br Thu Sep 22 13:00:29 2005 From: felipe at buenos.com.br (Felipe Bueno) Date: Thu, 22 Sep 2005 08:00:29 -0300 Subject: Problem with nagios In-Reply-To: <4331A38C.6010100@buenos.com.br> References: <4331A38C.6010100@buenos.com.br> Message-ID: <43328ECD.1020203@buenos.com.br> >Hi to all board. When I start nagios the logs shows this: > > >Log Messages: > >Sep 21 15:07:21 leviathan nagios: Nagios 1.2 starting... (PID=12289) >Sep 21 15:07:21 leviathan nagios: Finished daemonizing... (New PID=12290) >Sep 21 15:07:21 leviathan nagios: Error: Could not read program >retention data from table programretention >Sep 21 15:07:21 leviathan nagios: Error: Could not read host retention >data from table hostretention >Sep 21 15:07:21 leviathan nagios: Error: Could not read service >retention data from table serviceretention >Sep 21 15:07:21 leviathan nagios: Error: Could not lock status data >tables in database '' >Sep 21 15:07:28 leviathan sshd(pam_unix)[9429]: session closed for user >allan >Sep 21 15:07:36 leviathan nagios: Error: Could not lock status data >tables in database '' >Sep 21 15:07:51 leviathan nagios: Error: Could not lock status data >tables in database '' >Sep 21 15:08:04 leviathan rc-scripts: ERROR: must be root to run init >scripts >Sep 21 15:08:06 leviathan su(pam_unix)[12316]: session opened for user >foo by (uid=1000) >Sep 21 15:08:06 leviathan nagios: Error: Could not lock status data >tables in database '' >Sep 21 15:08:13 leviathan nagios: Caught SIGTERM, shutting down... >Sep 21 15:08:13 leviathan nagios: Error: Could not insert row for >program retention data in table 'programretention' > >Log nagios.log: > >[1127326041] Finished daemonizing... (New PID=12290) >[1127326041] Error: Could not read program retention data from table >programretention >[1127326041] Error: Could not read host retention data from table >hostretention >[1127326041] Error: Could not read service retention data from table >serviceretention >[1127326041] Error: Could not lock status data tables in database '' >[1127326056] Error: Could not lock status data tables in database '' >[1127326071] Error: Could not lock status data tables in database '' >[1127326086] Error: Could not lock status data tables in database '' >[1127326093] Caught SIGTERM, shutting down... >[1127326093] Error: Could not insert row for program retention data in >table 'programretention' > >I don't knows what happens. Anything, i really dont know how to do it, >may be >a tutorial, a site, anything to help. Thanks in advance for all help. > >Felipe Bueno > > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Thu Sep 22 16:19:45 2005 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 22 Sep 2005 15:19:45 +0100 Subject: Who is maintaining NRPE? Message-ID: Hi! Just wondering who is currently maintaining NRPE? I've dropped an email to Ethan Galstad but haven't received a reply. I seem to recall that NRPE was split off to a separate team some time ago. We've made a few tweaks to the configure script so that NRPE 2.0 now compiles on Tru64 and Irix "out of the box". The patch is below. It requires autoconf to regenerate the new configure script. We've posted a version of the patched NRPE at our website at http:// www.altinity.org/ if anyone wants a version ready to compile. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- A non-text attachment was scrubbed... Name: nrpe2.patch Type: application/octet-stream Size: 4601 bytes Desc: not available URL: -------------- next part -------------- From marc at ena.com Thu Sep 22 16:35:41 2005 From: marc at ena.com (Marc Powell) Date: Thu, 22 Sep 2005 09:35:41 -0500 Subject: Hierarchical view? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Gary Danko > Sent: Thursday, September 22, 2005 8:22 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Hierarchical view? > > Hi, > I am using 2.0b2 and monitor about 950 services on 150 hosts. I > usually have open the Service Status page. Is there any way I can have > a more hierarchical view in the Service Status page? Something like > this: > > host1 > |__service1 > |__service2 > | > host2 > |__service1 > |__service2 > > It would be neat if hosts w/o problems could be collapsed by default. Not with the current CGI's. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 16:34:55 2005 From: marc at ena.com (Marc Powell) Date: Thu, 22 Sep 2005 09:34:55 -0500 Subject: Problem with nagios Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Felipe Bueno > Sent: Thursday, September 22, 2005 6:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Problem with nagios > > > >Hi to all board. When I start nagios the logs shows this: [chop] > >Log nagios.log: > > > >[1127326041] Finished daemonizing... (New PID=12290) > >[1127326041] Error: Could not read program retention data from table > >programretention > >[1127326041] Error: Could not read host retention data from table > >hostretention > >[1127326041] Error: Could not read service retention data from table > >serviceretention > >[1127326041] Error: Could not lock status data tables in database '' > >[1127326056] Error: Could not lock status data tables in database '' > >[1127326071] Error: Could not lock status data tables in database '' > >[1127326086] Error: Could not lock status data tables in database '' > >[1127326093] Caught SIGTERM, shutting down... > >[1127326093] Error: Could not insert row for program retention data in > >table 'programretention' > > > >I don't knows what happens. Anything, i really dont know how to do it, > >may be > >a tutorial, a site, anything to help. Thanks in advance for all help. It looks like you didn't follow these instructions -- http://nagios.sourceforge.net/docs/1_0/xdata-db.html -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 16:40:54 2005 From: marc at ena.com (Marc Powell) Date: Thu, 22 Sep 2005 09:40:54 -0500 Subject: No notification on web interface Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Efe Ohimor > Sent: Thursday, September 22, 2005 8:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No notification on web interface > > Hello, > > Can any help me I have my nagios running before now but presently I can't > access any thing on the web interface of my Nagios.All I get is "There > doesn't appear to be any service status information in the status > log...Make > sure that Nagios is running and that you have specified the location of > you > status log correctly in the configuration files." Can nagios create the status log? Does the status log exist (status_file in nagios.cfg)? Does it have information in it? Is nagios running? Are you out of disk space maybe? > I don't know what is wrong meanwhile I have the "enable notification= 1" > set > in my nagios.cfg file Why do you think this is related/pertinent? It should also be 'enable_notifications=1'. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 16:46:14 2005 From: marc at ena.com (Marc Powell) Date: Thu, 22 Sep 2005 09:46:14 -0500 Subject: citrix and samba Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Gabriele Di Giambelardini > Sent: Thursday, September 22, 2005 7:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] citrix and samba > > Hi, > somebody know a check for citrix and for samba??' Not too hard to find... Citrix --- plugins contrib. -- check_ica_master_browser.pl check_ica_metaframe_pub_apps.pl check_ica_program_neigbourhood.pl samba --- plugins contrib. -- check_smb.sh -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From db at nipsi.de Thu Sep 22 17:21:03 2005 From: db at nipsi.de (Dennis Berger) Date: Thu, 22 Sep 2005 17:21:03 +0200 Subject: nagios-grapher: display graph a bit smother Message-ID: <1127402463.640.15.camel@blackbox.home.net> Hi List, I have a problem with my nagios grapher i configured nagios that it polls service LOAD on every server once per minute. My graph didn't change so far. I still have these big bar every 10 minutes instead of a smother graph painted or updated every minute. Is there a way to configure nagiosgrapher that i paints smoother graphs? I adjusted the $step variable in ngraph.ncfg but that changed nothing. It doesn't have to be a curve, bars are ok but with smaller steps would be the best. Any hints how to do that? regards, -Dennis ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cguo at at-sd.com Thu Sep 22 18:51:51 2005 From: cguo at at-sd.com (Chris Guo) Date: Thu, 22 Sep 2005 09:51:51 -0700 Subject: Question about check_http plugin Message-ID: <001401c5bf95$ede669a0$df03a8c0@archnet2.atgsd.com> Dear all, We are using nagios 1.2 as the network monitoring system in our company, and we need to check the http service on some hosts in the network. I noticed that nagios shows us the "HTTP WARNING: HTTP/1.1 401 Authorization Required" status while we use check_http plugin to check the http service. I wonder if we can disable this "warning" function by using some arguments so it can show us "OK" status". Any help will be highly appreciated. Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.mohr at elaxy.com Thu Sep 22 18:55:09 2005 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 22 Sep 2005 18:55:09 +0200 Subject: AW: Nagios 3.0 Message-ID: Thank you very much for answer! >> -----Urspr?ngliche Nachricht----- >> Von: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag >> von Andreas Ericsson >> Gesendet: Mittwoch, 21. September 2005 21:44 >> An: Nagios-users at lists.sourceforge.net >> Betreff: Re: [Nagios-users] Nagios 3.0 >> >> Mohr James wrote: >> > Hi All! >> > >> > I read the "wishlist" for Nagios 3.0 and the entry >> "Multi-Line Plugin >> > Output" caught my eye. I have a couple of questions about >> this. Does >> > this enhancement change the number of characters permitted or is >> > simply allow plugins to send multiple lines, but there >> will still be >> > the 350 character limit? >> > >> >> (the answers really come in a bad order here, so read below) >> There won't be a 350-char limit. At least not permanently. >> >> > Although we would appreciate increasing the amount of data >> plug-ins >> > can send, the ability to accept multiple lines is useful. >> Is this just >> > a wish? >> >> >> Yes. It's not a planned feature, so it'd be a wish. >> >> > Is it actively being worked on? >> > >> >> Yes. The runcmd framework discussed for the plugins is >> seeing some heavy modifications currently, and is being >> adapted for daemon use. On my FC3 laptop (1.6 Ghz or some >> such, 1GB RAM) I can successfully run 510 plugins in 2 >> seconds, provided none take longer than 0.5 seconds (average >> plugin execution time on our system) to complete. This >> includes reading output of any length or numbers of lines on >> both stdout and stderr. The limit is (sysconf(_SC_OPEN_MAX) >> - 5) / 2, which means most systems will be able to run at >> least 250 checks in parallell. Linux has a higher "hard >> roof" for this particular resource, so performance shouldn't >> be a problem, and it'll get rid of the FIFO bottleneck. >> >> As for how to store the output I'm a bit uncertain. The >> easiest way is probably to use the backslash continuation >> and leave it at that. >> >> >> > What is the timeline for Nagios 3.0? >> > >> >> No-one knows for sure, but given the current lack of development in >> Nagios (which is slow but ok, since everything seems to be >> working just >> fine), I'd say it'll be a while. >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Lead Developer >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: >> Tame your development challenges with Apache's Geronimo App Server. >> Download it for free - -and be entered to win a 42" plasma >> tv or your very >> own Sony(tm)PSP. Click here to play: >> http://sourceforge.net/geronimo.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and >> OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null >> ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joseph.Petrucci at ddiworld.com Thu Sep 22 19:02:12 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Thu, 22 Sep 2005 13:02:12 -0400 Subject: Question about check_http plugin Message-ID: CAn you use the "-a" parameter? I have used it insome instances where is is the web-server doing the authentication. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Chris Guo Sent: Thursday, September 22, 2005 12:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question about check_http plugin Dear all, We are using nagios 1.2 as the network monitoring system in our company, and we need to check the http service on some hosts in the network. I noticed that nagios shows us the "HTTP WARNING: HTTP/1.1 401 Authorization Required" status while we use check_http plugin to check the http service. I wonder if we can disable this "warning" function by using some arguments so it can show us "OK" status". Any help will be highly appreciated. Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete at stuff-done.co.uk Thu Sep 22 19:04:05 2005 From: pete at stuff-done.co.uk (Pete Dewell) Date: Thu, 22 Sep 2005 18:04:05 +0100 Subject: Question about check_http plugin In-Reply-To: <001401c5bf95$ede669a0$df03a8c0@archnet2.atgsd.com> References: <001401c5bf95$ede669a0$df03a8c0@archnet2.atgsd.com> Message-ID: <4332E405.5080105@stuff-done.co.uk> Try using the -a option on the plugin. I have a check-http-auth command defined as define command { command_name check-http-auth command_line $USER1$/check_http $HOSTADDRESS$ -a ARG1$ -p $ARG2$ } then the check_command is check-http-auth!username:password!80 If you want to, you ca hide the username and password in the resource.cfg file, as $USER$ variables, so that the check_command becomes check-http-auth!$USER5$:$USER6$!80 Works pretty well when you need to have authentication on a website. Pete Dewell Chris Guo wrote: > Dear all, > > > > We are using nagios 1.2 as the network monitoring system in our company, > and we need to check the http service on some hosts in the network. I > noticed that nagios shows us the ?HTTP WARNING: HTTP/1.1 401 > Authorization Required? status while we use check_http plugin to check > the http service. I wonder if we can disable this ?warning? function by > using some arguments so it can show us ?OK? status?. > > Any help will be highly appreciated. > > > > Chris > -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RNathan at baxglobal.com Thu Sep 22 19:09:08 2005 From: RNathan at baxglobal.com (Ranga Nathan) Date: Thu, 22 Sep 2005 17:09:08 +0000 (UTC) Subject: NRPE In-Reply-To: <0AB0CB5257FF3C43A27E201CC8AADA86673CBE@dnce02.ent.ti.com> References: <0AB0CB5257FF3C43A27E201CC8AADA86673CBE@dnce02.ent.ti.com> Message-ID: <200509221704.j8MH4d58011367@csgsendmail.baxglobal.com> When I have problems with nrpe (say in a new install), I debug it using this command running on the nagios server. /usr/local/nagios/libexec/check_nrpep -H 172.24.6.115 -c check_services -t 500 -d -f /etc/nagios/check_nrpep.cfg __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 "Alloo, Vincent" "Matt Wells" , "Jonathan Carpenter" Sent by: , nagios-users- "Nagios-Users-List" admin at lists.s t cc Subject 09/19/2005 RE: [Nagios-users] NRPE 01:12 AM This config works on my box (RHEL3.0U2): % cat /etc/xinetd.d/nrpe # default: on # description: The rshd server is the server for the rcmd(3) routine and, \ # consequently, for the rsh(1) program. The server provides \ # remote execution facilities with authentication based on \ # privileged port numbers from trusted hosts. service nrpe { flags = REUSE disable = no socket_type = stream wait = no user = nagios log_on_failure += USERID server = /apps/nagios/nrpe/nrpe server_args = -c /db/sysadmin/nagios/nrpe.cfg --inetd } Regards, Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matt Wells Sent: Sunday, September 18, 2005 12:38 AM To: Jonathan Carpenter; Nagios-Users-List Subject: Re: [Nagios-users] NRPE I never got it working in xinet.d I ended up just tossing it in as a daemon because it was so much easier. /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d I'm still getting the error for SSL though.. can not complete handshake. ----- Original Message ----- Subject: [Nagios-users] NRPE From: Jonathan Carpenter To: "Nagios-Users-List" Date: 17-09-2005 13:26 I have installed nagios and configured nagios on one server to monitor several servers with the check_ping plugin. Everything works great now I have installed NRPE on one of the remote servers running Fedora 4. I have edited /etc/services and added the following nrpe 5666/tcp # NRPE and created a file in /etc/xinetd.d/ called nrpe the contents in it are # default: on # description: NRPE service nrpe { flags = REUSE socket_type = stream wait = no user = nagios server = /home/nagios/nrpe server_args = -c /home/nagios/nrpe --inetd log_on_failure += USERID disable = no only_from = 1.2.3.4 <-- ip to nagios server } When I run /etc/rc.d/init.d/xinetd restart I get these errors in /var/log/messages Sep 17 02:56:19 db1 xinetd: xinetd startup succeeded Sep 17 02:56:19 db1 xinetd[18797]: bind failed (Address already in use (errno = 98)). service = nrpe Sep 17 02:56:19 db1 xinetd[18797]: Service nrpe failed to start and is deactivated. Sep 17 02:56:19 db1 xinetd[18797]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in. Sep 17 02:56:19 db1 xinetd[18797]: Started working: 0 available services Any help would be greatly appreciated. -- Jonathan Carpenter ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ygonzales at medassets.com Thu Sep 22 19:51:27 2005 From: ygonzales at medassets.com (Gonzales, Youn) Date: Thu, 22 Sep 2005 12:51:27 -0500 Subject: Status map refresh bug Message-ID: <99CF04974931C548B2BF20CD898FCBA7C4A6F4@uscpgmedexch01.medassets.com> When viewing the status map, if I choose a different layout than the default, when the page refreshes it switches back to the default layout. I can change the default layout, but shouldn't the status map page refresh to the current layout? Thanks Youn Gonzales Network Engineer MedAssets Supply Chain Systems 280 S Mount Auburn Rd Cape Girardeau, MO 63703 (573) 332-2285 Phone (573) 332-2300 Fax ygonzales at medassets.com "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers" ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eohimor at ipnxnigeria.net Thu Sep 22 21:00:49 2005 From: eohimor at ipnxnigeria.net (Efe Ohimor) Date: Thu, 22 Sep 2005 20:00:49 +0100 Subject: Fw: No notification on web interface Message-ID: <000b01c5bfa7$f2690660$e603320a@ns7> Hello Forum, I found the solution to the problem,My disk space was full. I deleted some file and freed up some disk space and restarted nagios. Efe Ohimor ipNX Nigeria Limited, 4,Balarabe Musa Crescent, Victoria Island, Lagos. Tel :4619943-6 ext 1216 ----- Original Message ----- From: "Efe Ohimor" To: Sent: Thursday, September 22, 2005 1:59 PM Subject: No notification on web interface > Hello, > > Can any help me I have my nagios running before now but presently I can't > access any thing on the web interface of my Nagios.All I get is "There > doesn't appear to be any service status information in the status log...Make > sure that Nagios is running and that you have specified the location of you > status log correctly in the configuration files." > I don't know what is wrong meanwhile I have the "enable notification= 1" set > in my nagios.cfg file > Also whenever I reload nagios it does not complain of any error.Can anyone > help me out ? > Thanks > Efe Ohimor > ipNX Nigeria Limited, > 4,Balarabe Musa Crescent, > Victoria Island, > Lagos. > Tel :4619943-6 ext 1216 > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjn at umn.edu Thu Sep 22 21:44:09 2005 From: tjn at umn.edu (Travis J. Noll) Date: Thu, 22 Sep 2005 14:44:09 -0500 Subject: nagios-grapher: display graph a bit smother In-Reply-To: <1127402463.640.15.camel@blackbox.home.net> References: <1127402463.640.15.camel@blackbox.home.net> Message-ID: <43330989.5040400@umn.edu> RRDTool was probably configured to consolidate your data into longer periods within your RRD archive. Try moving your .rrd file out of the way so your plugin creates a new file with your new configuration. -Travis Dennis Berger wrote: > Hi List, > I have a problem with my nagios grapher i configured nagios that it > polls service LOAD on every server once per minute. My graph didn't > change so far. I still have these big bar every 10 minutes instead of > a smother graph painted or updated every minute. Is there a way to > configure nagiosgrapher that i paints smoother graphs? I adjusted the > $step variable in ngraph.ncfg but that changed nothing. > It doesn't have to be a curve, bars are ok but with smaller steps would > be the best. > > Any hints how to do that? > regards, > -Dennis > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Sep 22 22:41:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 22 Sep 2005 22:41:50 +0200 Subject: Who is maintaining NRPE? In-Reply-To: References: Message-ID: <4333170E.6020709@op5.se> Ton Voon wrote: > Hi! > > Just wondering who is currently maintaining NRPE? That'd be me. I'm not doing a very good job of advertising the releases, but 2.2 is available (whenever my ISP isn't doing something incompetent) at http://oss.op5.se/nagios. I haven't had time to do much other than making it a fair bit portable yet, although I'm working on it. > I've dropped an email > to Ethan Galstad but haven't received a reply. I seem to recall that > NRPE was split off to a separate team some time ago. > > We've made a few tweaks to the configure script so that NRPE 2.0 now > compiles on Tru64 and Irix "out of the box". The patch is below. It > requires autoconf to regenerate the new configure script. > It would be very helpful if you could make the patch apply cleanly to the 2.2 sources, unless one of the portability fixes I've already made sorts it out. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enediel at hotmail.com Thu Sep 22 22:52:00 2005 From: enediel at hotmail.com (enediel gonzalez) Date: Thu, 22 Sep 2005 20:52:00 +0000 Subject: changing language dinamically Message-ID: Hello everyone: ?Is it possible to change dinamically the language used into the web pages on nagios? Thanks in advance for any answer Regards Enediel SCJP 1.5 ( Sun Certified Java Programmer) Linux user 398956 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garys at autowc.com Thu Sep 22 23:35:20 2005 From: garys at autowc.com (Gary Spechko) Date: Thu, 22 Sep 2005 14:35:20 -0700 Subject: Problem with cgi auth with apache2 and nagios2 Message-ID: <5558314F80A55441A467CEA8B0B85B11015E80C4@HOGWARTS.autowc.com> Until yesterday, I had a bare-bones nagios 2 working fine on apache 1.3 - the .htaccess file was working, no problems - I tried to access a cgi, it asked for the uid/pwd, I provided them, and away we went. Yesterday I installed Nagios 2 on a system (SuSe 9.0) with apache2. I made all the appropriate changes to the httpd.conf file, added an .htaccess file to /usr/local/nagios/sbin and used htpasswd2 to create the authuserfile. When I try to access any of the CGI's I get 403:Forbidden - it never bothers to ask me for a uid/pwd pair. I've spent hours scouring the web for a solution (finding quite a few other people with the same problem, but no replies), I've spent hours in the apache IRC channel asking there... and now I'm coming to you. /var/log/apache2/access_log reports 403 1016 (I assume 1016's the error code for the 403 denied message) /var/log/apache2/error_log reports: client denied by server configuration: /user, referer: http://blah/side.htm (where blah is my server) -------------- next part -------------- An HTML attachment was scrubbed... URL: From db at nipsi.de Thu Sep 22 23:37:19 2005 From: db at nipsi.de (Dennis Berger) Date: Thu, 22 Sep 2005 23:37:19 +0200 Subject: nagios-grapher: display graph a bit smother In-Reply-To: <43330989.5040400@umn.edu> References: <1127402463.640.15.camel@blackbox.home.net> <43330989.5040400@umn.edu> Message-ID: <1127425039.640.23.camel@blackbox.home.net> everytime i changed something in the config i removed all .rrd files first. this doesn't help :-/ On Thu, 2005-09-22 at 14:44 -0500, Travis J. Noll wrote: > RRDTool was probably configured to consolidate your data into longer > periods within your RRD archive. Try moving your .rrd file out of the > way so your plugin creates a new file with your new configuration. > > -Travis > > Dennis Berger wrote: > > Hi List, > > I have a problem with my nagios grapher i configured nagios that it > > polls service LOAD on every server once per minute. My graph didn't > > change so far. I still have these big bar every 10 minutes instead of > > a smother graph painted or updated every minute. Is there a way to > > configure nagiosgrapher that i paints smoother graphs? I adjusted the > > $step variable in ngraph.ncfg but that changed nothing. > > It doesn't have to be a curve, bars are ok but with smaller steps would > > be the best. > > > > Any hints how to do that? > > regards, > > -Dennis > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download it for free - -and be entered to win a 42" plasma tv or your very > > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Fri Sep 23 00:25:57 2005 From: pla at softflare.com (Paul L. Allen) Date: Thu, 22 Sep 2005 23:25:57 +0100 Subject: Yahoo alert In-Reply-To: <9e66c57d05092201436df5eaac@mail.gmail.com> References: <9e66c57d05092201436df5eaac@mail.gmail.com> Message-ID: <20050922222557.2471.qmail@mullet.softflare.net> M.Saeed Shaikh writes: > How can I implement yahoo, The Nagios documentation points you at some perl modules for that. The developer stopped working on them quite a while ago. Yahoo has since twice changed the authentication mechanism. Nobody has fixed the perl module. > SMS alert for nagios ? Most mobile phone companies provide and e-mail or web gateway for sending SMS. You'll have to read the documentation they provide. Alternatively get a Nokia SMS modem and drive it with something like smstools. -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Fri Sep 23 01:21:12 2005 From: pla at softflare.com (Paul L. Allen) Date: Fri, 23 Sep 2005 00:21:12 +0100 Subject: Timestamp In-Reply-To: <43325980.8080900@op5.se> References: <1127296689.822.1.camel@glr-nb.dh.uclv.net> <4331B4EE.3010100@op5.se> <433207AF.8020803@qut.edu.au> <43325980.8080900@op5.se> Message-ID: <20050922232112.11164.qmail@mullet.softflare.net> Andreas Ericsson writes: > Greg Vickers wrote: > >> Andreas Ericsson wrote: >> >>> Richard Gliebe wrote: >>> does this for you. You can either pipe the log to it or give it one or >>> more filenames to parse. The output format is in european style, so it >>> looks like this; 2005-09-21 21:30:41 For some values of "European." 21/09/2005 21:30:41 is normal in some parts of Europe. That output format is a slightly-mangled ISO date/time format which (as far as I know) was not an ordering in common use in Europe until ISO came up with it (and probably still isn't commonly used outside of some of the IT industry). >> Thank god! Who mixes up the order of significance (i.e. yy-dd-mm) in >> dates anyway??? :p >> > > The british, the US folks, aussies and some other backwards people. It's more complex than that. Most of the US uses mm/dd/yyyy but the US military uses dd/mm/yyyy. > The logical thing to do with any form of numerals is to write out the > field incremented most often last. So mm-yyyy-dd would be logical? The logical thing to do is to keep the fields in the order in which they change, whether that's dd/mm/yyyy or yyyy/mm/dd. Which was probably what you meant, but not what you said. > It's how we count, In some cultures. Others reverse that order, and with some justification. If I write 314159265358979 you have to count digits, or read the number in reverse, to find the order of magnitude. Whereas in a culture which writes 979855356295413 you know it is nine plus seventy plus nine-hundred plus eight-thousand plus fifty thousand plus... three-hundred (US) trillion. In those "reversed" cultures reading out the number one digit at a time also gives you the magnitude of the final digit whereas in the "non-reversed" cultures extra steps are involved. It is only convention that has some cultures say "seventy-one" (or, in some languages, "seventy and one") rather than "one seventy" or "one and seventy." Prior to the invention of the decimal point there was more justification for "one and seventy" than "seventy and one" (and still is, because most people encounter more integers than decimals). > It also sorts nicely. That is a bonus. It might even be the reason ISO adopted that ordering although I suspect their main, if not only, justification was that it could not be confused with any other commonly-used ordering (where the year is never the first item). -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Fri Sep 23 01:36:26 2005 From: chris at aidworld.org (Chris Wilson) Date: Fri, 23 Sep 2005 00:36:26 +0100 Subject: Possible bug in NSCA Message-ID: <1127432185.32051.12.camel@localhost> Hi all, I think I may have found a bug in NSCA. I don't know where to report it, but the copyright appears to be Ethan Galstad, so I hope someone here can help me. I just dicovered that NSCA on our main nagios server has been spinning and eating CPU for the last week. Strace shows this, over and over: > rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 > close(4) = -1 EBADF (Bad file descriptor) > accept(4, 0, NULL) = -1 EBADF (Bad file descriptor) > time([1127431587]) = 1127431587 > rt_sigaction(SIGPIPE, {0xa21aa0, [], SA_RESTORER, 0x990f48}, {SIG_DFL}, 8) = 0 > send(5, "<27>Sep 23 00:26:27 nsca[4425]: Network server accept failure (9: Bad file descriptor)", 86, 0 lsof shows that fd 4 is not open. Looking back in the logs, I can see when this started: > Sep 15 23:52:11 dev nsca[4425]: Network server accept failure (10: No child processes) > Sep 15 23:52:11 dev nsca[4425]: Network server accept failure (9: Bad file descriptor) > Sep 15 23:52:41 dev last message repeated 1299103 times I can't see any other suspicious messages in the logs around that time. I have no idea what caused the first error (no child processes), but the result seems inappropriate. It appears that nsca handles this error as follows, in accept_connection(): > /* wait for a connection request */ > while(1){ > new_sd=accept(sock,0,0); > ... > } > > if(new_sd<0){ > ... > syslog(LOG_ERR,"Network server accept failure (%d: %s)",errno,strerror(errno)); > > /* close socket prior to exiting */ > close(sock); > return; > } But nsca does not exit: accept_connection is called in an infinite loop, and keeps trying to accept() on a socket that's now closed. This seems to be bad behaviour, but I'm not sure what the correct behaviour would be. Any ideas? Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Fri Sep 23 01:57:45 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 23 Sep 2005 09:57:45 +1000 Subject: Timestamp In-Reply-To: <20050922232112.11164.qmail@mullet.softflare.net> References: <1127296689.822.1.camel@glr-nb.dh.uclv.net> <4331B4EE.3010100@op5.se> <433207AF.8020803@qut.edu.au> <43325980.8080900@op5.se> <20050922232112.11164.qmail@mullet.softflare.net> Message-ID: <433344F9.9090601@qut.edu.au> Paul L. Allen wrote: > Andreas Ericsson writes: >> Greg Vickers wrote: >>> Andreas Ericsson wrote: >>>> Richard Gliebe wrote: > > It's more complex than that. Most of the US uses mm/dd/yyyy but the US > military uses dd/mm/yyyy. God, you're kidding?? Surely that makes things a leetle confusing at times... > In some cultures. Others reverse that order, and with some justification. > If I write 314159265358979 you have to count digits, or read the number > in reverse, to find the order of magnitude. Whereas in a culture which > writes 979855356295413 you know it is nine plus seventy plus nine-hundred > plus eight-thousand plus fifty thousand plus... three-hundred (US) > trillion. In those "reversed" cultures reading out the number one digit > at a time also gives you the magnitude of the final digit whereas in the > "non-reversed" cultures extra steps are involved. > It is only convention that has some cultures say "seventy-one" (or, in > some languages, "seventy and one") rather than "one seventy" or "one and > seventy." Prior to the invention of the decimal point there was more > justification for "one and seventy" than "seventy and one" (and still is, > because most people encounter more integers than decimals). > >> It also sorts nicely. > > That is a bonus. It might even be the reason ISO adopted that ordering > although I suspect their main, if not only, justification was that it > could not be confused with any other commonly-used ordering (where the year > is never the first item). Thanks for posting the script Andreas, and thanks Paul for some insightful statements about number counting, there's some things I hadn't thought of before :) -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Fri Sep 23 03:11:12 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 23 Sep 2005 11:11:12 +1000 Subject: Problem with cgi auth with apache2 and nagios2 In-Reply-To: <5558314F80A55441A467CEA8B0B85B11015E80C4@HOGWARTS.autowc.com> References: <5558314F80A55441A467CEA8B0B85B11015E80C4@HOGWARTS.autowc.com> Message-ID: <43335630.8070609@qut.edu.au> Hi Gary, Gary Spechko wrote: > Until yesterday, I had a bare-bones nagios 2 working fine on apache 1.3 > - the .htaccess file was working, no problems - I tried to access a cgi, > it asked for the uid/pwd, I provided them, and away we went. > > Yesterday I installed Nagios 2 on a system (SuSe 9.0) with apache2. I > made all the appropriate changes to the httpd.conf file, added an > .htaccess file to /usr/local/nagios/sbin and used htpasswd2 to create > the authuserfile. When I try to access any of the CGI's I get > 403:Forbidden - it never bothers to ask me for a uid/pwd pair. If you are using the same username on these two servers but different passwords, then the browser may be using the credentials from the first instance. This may be too simple an observation, but I don't know. You could also try removing all saved credentials in your browser. > I've spent hours scouring the web for a solution (finding quite a few > other people with the same problem, but no replies), I've spent hours in > the apache IRC channel asking there? and now I'm coming to you. > > /var/log/apache2/access_log reports 403 1016 (I assume 1016's the error > code for the 403 denied message) > /var/log/apache2/error_log reports: client denied by server > configuration: /user, referer: _http://blah/side.htm_ (where blah is my > server) HTH, -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Fri Sep 23 04:47:14 2005 From: pla at softflare.com (Paul L. Allen) Date: Fri, 23 Sep 2005 03:47:14 +0100 Subject: Timestamp In-Reply-To: <433344F9.9090601@qut.edu.au> References: <1127296689.822.1.camel@glr-nb.dh.uclv.net> <4331B4EE.3010100@op5.se> <433207AF.8020803@qut.edu.au> <43325980.8080900@op5.se> <20050922232112.11164.qmail@mullet.softflare.net> <433344F9.9090601@qut.edu.au> Message-ID: <20050923024714.31719.qmail@mullet.softflare.net> Greg Vickers writes: > Paul L. Allen wrote: >> It's more complex than that. Most of the US uses mm/dd/yyyy but the US >> military uses dd/mm/yyyy. > > God, you're kidding?? Nope. While trying to find a reference to the US military usage (it's probably in MIL-STD-00001 or something like that) I found this: which shows the situation is far worse than I thought. US Federal government often uses dd/mm/yyyy (and, since the US Military is part of the Federal government you can deduce that they use it too). Canada uses BOTH. Most European countries use dd/mm/yyyy. The UK started with dd/mm/yyyy, switched to mm/dd/yyyy for a while then reverted to dd/mm/yyyy around 1900. Sweden uses dd/mm-yyyy and yyyy-mm-dd (the only European country in the list on that page to use yyyy-mm-dd). And there are plenty of other oddities, especially the US military one near the end, where 5102 would be the 102nd day of 2005. > Surely that makes things a leetle confusing at times... Only when soldiers write letters home, I suppose. It's not much of a problem if you use the name of the month (or an abbreviation of it). It's when you see 01/02/03 that you really have problems. Is that 2001 or 2003? Which way around are the day and month? The ISO format resolves the ambiguities. Then again, the struct returned by localtime or gmtime has its members in the opposite order and that works quite well too. :) -- Paul Allen Softflare Support ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cwfox at us.fujitsu.com Fri Sep 23 05:00:16 2005 From: cwfox at us.fujitsu.com (Camron W. Fox) Date: Thu, 22 Sep 2005 17:00:16 -1000 Subject: Timestamp In-Reply-To: <20050923024714.31719.qmail@mullet.softflare.net> References: <1127296689.822.1.camel@glr-nb.dh.uclv.net> <4331B4EE.3010100@op5.se> <433207AF.8020803@qut.edu.au> <43325980.8080900@op5.se> <20050922232112.11164.qmail@mullet.softflare.net> <433344F9.9090601@qut.edu.au> <20050923024714.31719.qmail@mullet.softflare.net> Message-ID: <43336FC0.5010905@us.fujitsu.com> Paul L. Allen wrote: > Greg Vickers writes: > >> Paul L. Allen wrote: > > >>> It's more complex than that. Most of the US uses mm/dd/yyyy but the US >>> military uses dd/mm/yyyy. >> >> >> God, you're kidding?? > > > Nope. While trying to find a reference to the US military usage (it's > probably in MIL-STD-00001 or something like that) I found this: http://en.wikipedia.org/wiki/Calendar_date > which shows the situation > is far worse than I thought. US Federal government often uses dd/mm/yyyy > (and, since the US Military is part of the Federal government you can > deduce that they use it too). Canada uses BOTH. Most European countries > use dd/mm/yyyy. The UK started with dd/mm/yyyy, switched to mm/dd/yyyy > for a while then reverted to dd/mm/yyyy around 1900. Sweden uses > dd/mm-yyyy and yyyy-mm-dd (the only European country in the list on that > page to use yyyy-mm-dd). And there are plenty of other oddities, > especially the US military one near the end, where 5102 would be the > 102nd day of 2005. > Gents, Actually, this is misleading. Currently, the U.S. Military either uses yy/mm/dd or Julian date, depending on the context (operations, reporting, etc.). This, however, doesn't make it any less confusing for "civilians". Best Regards, Camron -- Camron W. Fox Hilo Office High Performance Computing Group Fujitsu America, INC. E-mail: cwfox at us.fujitsu.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Fri Sep 23 05:45:13 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Fri, 23 Sep 2005 13:45:13 +1000 Subject: Check Disk Command Message-ID: Hi I would like to know if it is possible to check the disk space of a particular folder (eg Exchange Mailboxes) on a Windows machine. I have setup the NSClient and have gotten check disk to work but would like to monitor a particular folder. Thanks Ray La Peyre ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossz at vamos-wentworth.org Fri Sep 23 07:56:50 2005 From: rossz at vamos-wentworth.org (Rossz Vamos-Wentworth) Date: Thu, 22 Sep 2005 22:56:50 -0700 Subject: Fw: No notification on web interface In-Reply-To: <000b01c5bfa7$f2690660$e603320a@ns7> References: <000b01c5bfa7$f2690660$e603320a@ns7> Message-ID: <43339922.8090608@vamos-wentworth.org> Efe Ohimor wrote: >I found the solution to the problem,My disk space was full. >I deleted some file and freed up some disk space and restarted nagios. > > Perhaps monitoring disk space is in order. -- Rossz God kills a kitten each time someone uses Internet Explorer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Fri Sep 23 08:09:56 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Fri, 23 Sep 2005 14:09:56 +0800 Subject: hosts.cfg contact_groups and services.cfg contact_groups Message-ID: hi list! Im still having problem with notifications tru email. im receiving notification if a particular host is down or off (ping) but when a service is critical (according to nagios web interface) no notifiacation is sent out! Why is that? I ran out of ideas.. :) i set the same contact_groups on both hosts.cfg and services.cfg/ Thanks! -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Fri Sep 23 08:13:44 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Fri, 23 Sep 2005 16:13:44 +1000 Subject: hosts.cfg contact_groups and services.cfg contact_groups In-Reply-To: References: Message-ID: Check in the services.cfg that: 1 - notifications are set to 1 2 - notification_options are w,u,c,r Ray La Peyre Jnr Support Engineer IT Next Generation Suite 102, 330 Wattle Street Ultimo NSW 2007 T: 02 9212 0811 F: 02 9212 0833 M: 0410 229 216 E: ray.lapeyre at itng.com.au W: www.itng.com.au -----Original Message----- From: Elizar M. Palad [mailto:elizar.palad at gmail.com] Sent: Friday, 23 September 2005 4:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hosts.cfg contact_groups and services.cfg contact_groups hi list! Im still having problem with notifications tru email. im receiving notification if a particular host is down or off (ping) but when a service is critical (according to nagios web interface) no notifiacation is sent out! Why is that? I ran out of ideas.. :) i set the same contact_groups on both hosts.cfg and services.cfg/ Thanks! -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Fri Sep 23 08:18:35 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Fri, 23 Sep 2005 14:18:35 +0800 Subject: hosts.cfg contact_groups and services.cfg contact_groups In-Reply-To: References: Message-ID: Hi Ray! Yes, in my services.cfg, generic/template service's notification_enabled is set to 1.. each service defined in services.cfg have: notification_interval 960 notification_period 24x7 and each contacts in contacts.cfg have: service_notification_options w,u,c,r host_notification_options d,r .... i wonder what else do i need to check? thanks! On 9/23/05, Ray La Peyre wrote: > Check in the services.cfg that: > > 1 - notifications are set to 1 > 2 - notification_options are w,u,c,r > > Ray La Peyre > Jnr Support Engineer > IT Next Generation > Suite 102, 330 Wattle Street > Ultimo NSW 2007 > T: 02 9212 0811 > F: 02 9212 0833 > M: 0410 229 216 > E: ray.lapeyre at itng.com.au > W: www.itng.com.au > > -----Original Message----- > From: Elizar M. Palad [mailto:elizar.palad at gmail.com] > Sent: Friday, 23 September 2005 4:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hosts.cfg contact_groups and services.cfg > contact_groups > > hi list! > Im still having problem with notifications tru email. > > im receiving notification if a particular host is down or off (ping) > but when a service is critical (according to nagios web interface) > no notifiacation is sent out! > > Why is that? I ran out of ideas.. :) > i set the same contact_groups on both hosts.cfg and services.cfg/ > > Thanks! > > -- > ---- > Don't Tell Me How Hard You Work.. > Show Me How Much You'd Accomplished.. > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 09:08:37 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 23 Sep 2005 09:08:37 +0200 Subject: Possible bug in NSCA In-Reply-To: <1127432185.32051.12.camel@localhost> References: <1127432185.32051.12.camel@localhost> Message-ID: <4333A9F5.8050506@op5.se> Chris Wilson wrote: > Hi all, > > I think I may have found a bug in NSCA. I don't know where to report it, > but the copyright appears to be Ethan Galstad, so I hope someone here > can help me. > > I just dicovered that NSCA on our main nagios server has been spinning > and eating CPU for the last week. Strace shows this, over and over: > > >>rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 >>close(4) = -1 EBADF (Bad file descriptor) >>accept(4, 0, NULL) = -1 EBADF (Bad file descriptor) >>time([1127431587]) = 1127431587 >>rt_sigaction(SIGPIPE, {0xa21aa0, [], SA_RESTORER, 0x990f48}, {SIG_DFL}, 8) = 0 >>send(5, "<27>Sep 23 00:26:27 nsca[4425]: Network server accept failure (9: Bad file descriptor)", 86, 0 > > > lsof shows that fd 4 is not open. > > Looking back in the logs, I can see when this started: > > >>Sep 15 23:52:11 dev nsca[4425]: Network server accept failure (10: No child processes) >>Sep 15 23:52:11 dev nsca[4425]: Network server accept failure (9: Bad file descriptor) >>Sep 15 23:52:41 dev last message repeated 1299103 times > > > I can't see any other suspicious messages in the logs around that time. > > I have no idea what caused the first error (no child processes), but the > result seems inappropriate. It appears that nsca handles this error as > follows, in accept_connection(): > > >> /* wait for a connection request */ >> while(1){ >> new_sd=accept(sock,0,0); >> ... >> } >> >> if(new_sd<0){ >> ... >> syslog(LOG_ERR,"Network server accept failure (%d: %s)",errno,strerror(errno)); >> >> /* close socket prior to exiting */ >> close(sock); >> return; >> } > > > But nsca does not exit: accept_connection is called in an infinite loop, > and keeps trying to accept() on a socket that's now closed. > > This seems to be bad behaviour, but I'm not sure what the correct > behaviour would be. Any ideas? After new_sd = accept(sock, 0, 0) you should add if(new_sd == -1 && errno == EBADF) { sock = setup_socket(); } Where setup_socket() is an imaginary function that calls socket(), possibly setsockopt(), bind() and listen(), in that order. A cleaner solution is to have nsca exit if it can't obtain the socket, since there's no real reason to think it should be able to obtain one later. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 09:10:42 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 23 Sep 2005 09:10:42 +0200 Subject: hosts.cfg contact_groups and services.cfg contact_groups In-Reply-To: References: Message-ID: <4333AA72.5050308@op5.se> Elizar M. Palad wrote: > Hi Ray! > > Yes, in my services.cfg, generic/template service's > notification_enabled is set to 1.. > > each service defined in services.cfg have: > > notification_interval 960 > notification_period 24x7 > > and each contacts in contacts.cfg have: > > service_notification_options w,u,c,r > host_notification_options d,r > .... > > i wonder what else do i need to check? You need to check that each service has a contactgroup assigned to it. They don't carry over from hosts. nagios -v nagios.cfg will give a warning for each service without a contactgroup assigned to it (at least with 2.04b), but it will start running anyways. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gebhardt at hrz.uni-marburg.de Fri Sep 23 09:56:01 2005 From: gebhardt at hrz.uni-marburg.de (Gebhardt Thomas) Date: Fri, 23 Sep 2005 09:56:01 +0200 Subject: sending service notifications on a per host(group) basis? Message-ID: <200509230956.02021.gebhardt@hrz.uni-marburg.de> Hi, is there an easy way to send service notifications for the same service to different contact groups depending on the host on which that service is running? I may have web servers, database servers, mail servers running on linux, solaris, and windows servers. I have defined architecture-specific contact groups "linux_admins, solaris_admins, .." and service-specific cantact groups "webmasters, database_admins, .." When a database server on a solaris machine goes down, I want to send a message to solaris_admins and database_admins. I know that I can define a service for each combination of hostgroups and services, e.g. define service { use database-service-template hostgroup_name Solaris-Server contact_groups solaris_admins,database_admins .... } Is there an easier way to do this? Thanks, Thomas ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Fri Sep 23 10:11:59 2005 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Fri, 23 Sep 2005 16:11:59 +0800 Subject: hosts.cfg contact_groups and services.cfg contact_groups In-Reply-To: <4333AA72.5050308@op5.se> References: <4333AA72.5050308@op5.se> Message-ID: Thanks Andreas, i got the notification for service working (thanks to Ray) the next problem was 'Info' part in the notification was null, nothing in it.. but thanks to Gebhardt's example, i changed the $OUTPUT$ macro to $SERVICEOUTPUT$ macro in my notify-by-email command definition... its working now! Thanks everyone! Next is to use gnokii for sms notification! God Bless!! On 9/23/05, Andreas Ericsson wrote: > Elizar M. Palad wrote: > > Hi Ray! > > > > Yes, in my services.cfg, generic/template service's > > notification_enabled is set to 1.. > > > > each service defined in services.cfg have: > > > > notification_interval 960 > > notification_period 24x7 > > > > and each contacts in contacts.cfg have: > > > > service_notification_options w,u,c,r > > host_notification_options d,r > > .... > > > > i wonder what else do i need to check? > > > You need to check that each service has a contactgroup assigned to it. > They don't carry over from hosts. nagios -v nagios.cfg will give a > warning for each service without a contactgroup assigned to it (at least > with 2.04b), but it will start running anyways. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sivan.deray at net-aptitude.fr Fri Sep 23 10:33:55 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Fri, 23 Sep 2005 10:33:55 +0200 Subject: Windows event log Message-ID: <4E13BD0442DACA4D9606CAD98924F09A45D653@srv-nap-atlas-1.net-aptitude.fr> Hi, I have a question about Windows event & NSCA Event log a trunked, i mean i do not get the full log message ... Is there a parameter to increase, does $OUTPUT$ paramter used in the mail notification command may be modified ? Any help would be appreciated Regards, Sivan DERAY IT Security Engineer. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Fri Sep 23 12:01:10 2005 From: chris at aidworld.org (Chris Wilson) Date: Fri, 23 Sep 2005 11:01:10 +0100 Subject: Possible bug in NSCA In-Reply-To: <4333A9F5.8050506@op5.se> References: <1127432185.32051.12.camel@localhost> <4333A9F5.8050506@op5.se> Message-ID: <1127469670.5735.9.camel@localhost> Hi Andreas, > > I have no idea what caused the first error (no child processes), but the > > result seems inappropriate. It appears that nsca handles this error as > > follows, in accept_connection(): > > > > > >> /* wait for a connection request */ > >> while(1){ > >> new_sd=accept(sock,0,0); > >> ... > >> } > >> > >> if(new_sd<0){ > >> ... > >> syslog(LOG_ERR,"Network server accept failure (%d: %s)",errno,strerror(errno)); > >> > >> /* close socket prior to exiting */ > >> close(sock); > >> return; > >> } > > > > > > But nsca does not exit: accept_connection is called in an infinite loop, > > and keeps trying to accept() on a socket that's now closed. > > > > This seems to be bad behaviour, but I'm not sure what the correct > > behaviour would be. Any ideas? > > After > new_sd = accept(sock, 0, 0) > you should add > if(new_sd == -1 && errno == EBADF) { > sock = setup_socket(); > } > > Where setup_socket() is an imaginary function that calls socket(), > possibly setsockopt(), bind() and listen(), in that order. > > A cleaner solution is to have nsca exit if it can't obtain the socket, > since there's no real reason to think it should be able to obtain one later. Thanks for your comments. Your first solution looks like it might be the best one, but also the most complex to implement, and I don't feel that I know nsca well enough to do that. The second solution is not ideal for me. I think that exiting nsca is perhaps an overreaction to failure to accept a network connection. True, it might never be possible to accept one under some circumstances, but from what happened to me, it seems that random death of nsca might happen instead. In my view, nsca did get a listening socket that should work (as long as errno is not EBADF, which is nsca's own fault for closing the socket). Replacing close(sock) with sleep(1) would be a more robust solution in my view, but I'm not sure that it works for every code path through nsca. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabriele_d_g at yahoo.it Fri Sep 23 15:29:19 2005 From: gabriele_d_g at yahoo.it (Gabriele Di Giambelardini) Date: Fri, 23 Sep 2005 15:29:19 +0200 (CEST) Subject: nagios check manual Message-ID: <20050923132919.48660.qmail@web26507.mail.ukl.yahoo.com> hi, I would like make a check of services when i want. how can I do it?? --------------------------------- Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Sep 23 15:58:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 23 Sep 2005 15:58:50 +0200 Subject: nagios check manual In-Reply-To: <20050923132919.48660.qmail@web26507.mail.ukl.yahoo.com> References: <20050923132919.48660.qmail@web26507.mail.ukl.yahoo.com> Message-ID: <43340A1A.8040402@op5.se> Gabriele Di Giambelardini wrote: > hi, > I would like make a check of services when i want. > how can I do it?? > Read the manual and follow the instructions. You can also offer to pay someone on this list to tell you everything you want to know. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossella-i8gKn8CeHAaFhjwBz98joA at public.gmane.org Fri Sep 23 18:33:02 2005 From: rossella-i8gKn8CeHAaFhjwBz98joA at public.gmane.org (Rossella Mariotti-Jones) Date: Fri, 23 Sep 2005 09:33:02 -0700 Subject: send a test page Message-ID: <4C7800EB52CF054BB0B4FF50968C1B66252AA3@cccmail2.chemeketa.network> Hi all, does anybody how to send test pages to pagers from within Nagios? I refuse to think that the only way to do it is setup a test group and unplug a box, there's gotta be another way! Thanks in advance. Rossella Mariotti-Jones Network Systems Analyst, CCNA Chemeketa Community College Information Technology T 503 589 7775 F 503 399 4898 E rossella-i8gKn8CeHAaFhjwBz98joA at public.gmane.org www.chemeketa.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3534 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3517 bytes Desc: not available URL: From noyler-og2rzx1VYAjuufBYgWm87A at public.gmane.org Fri Sep 23 18:41:38 2005 From: noyler-og2rzx1VYAjuufBYgWm87A at public.gmane.org (Nathan Oyler) Date: Fri, 23 Sep 2005 09:41:38 -0700 Subject: [Nagios-users] send a test page Message-ID: <59B15593F41BD24591D59436E7226EAD028610C6@Khiphx2.khimetrics.com> Unplug a box? Why not just make a fake host to a nonexistent ip, with a single ping check? ________________________________ From: nagios-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org [mailto:nagios-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] On Behalf Of Rossella Mariotti-Jones Sent: Friday, September 23, 2005 9:33 AM To: nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org; nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: [Nagios-users] send a test page Hi all, does anybody how to send test pages to pagers from within Nagios? I refuse to think that the only way to do it is setup a test group and unplug a box, there's gotta be another way! Thanks in advance. Rossella Mariotti-Jones Network Systems Analyst, CCNA Information Technology T 503 589 7775 F 503 399 4898 E rossella-i8gKn8CeHAaFhjwBz98joA at public.gmane.org www.chemeketa.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3534 bytes Desc: image001.jpg URL: From james.mohr at elaxy.com Fri Sep 23 19:09:17 2005 From: james.mohr at elaxy.com (Mohr James) Date: Fri, 23 Sep 2005 19:09:17 +0200 Subject: nrpe meta-character arguments Message-ID: Hi All! We are using Nagios 2.0b3 and would like to send specific metacharacters using check_nrpe and have run into the limitation that certain characters are listed as "bad". Particulary we would like to send URL through check_nrpe to a remote machine which then checks the URL using check_http. (the Nagios machine does not have direct access to the machine in questions). In the URL we are passing variables to a CGI script and it contains a couple of ampersands (&). I saw a discussion in the list archive from last year, where this issues was discussed, but the state of things is unclear. I looked at the 2.0 nrpe.c and see that ampersands are still listed as "nasty characters". While it would be fairly easy to modify the code and recompile it for Linux so that ampersands are allowed, nrpe is running on a Windows machine, which makes things a fair bit more complex. In addition, my boss would prefer not to change the code unless there was absolutely no choice. One thing I looked at was encoding the query string and then sending it to a wrapper first, which then decoded it and called check_http. Alternatively, we could send the parts of the query string as seperate arguments and the combine them at the other end. However, my boss is not happy with "crutches" like this that have wrappers around other programs to give it functionality that was not built into it. So I was wondering if there is another solution? Is there anything available or even planned? Thanks in advance for any help. Regards, Jim Mohr ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eohimor at ipnxnigeria.net Fri Sep 23 19:39:56 2005 From: eohimor at ipnxnigeria.net (Efe Ohimor) Date: Fri, 23 Sep 2005 18:39:56 +0100 Subject: I am not getting notified Message-ID: <001301c5c065$d0086c50$e603320a@ns7> Hello Forum, When I set up nagios at first I used to get mail notifications but now I don't.I checked the server logs and discovered the following messages Sep 22 19:55:34 nagios nagios: SERVICE NOTIFICATION: Efe;ipnxtwo;HTTP;CRITICAL;notify-by-email;Connection refused I have the following config in my misccommands.cfg # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } contacts.cfg define contact{ contact_name Efe alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r # service_notification_commands notify-by-email, notify-by-epager # host_notification_commands host-notify-by-email, host-notify-by-epager service_notification_commands notify-by-email host_notification_commands host-notify-by-email email eohimor at ipnxnigeria.net # pager 08028364123 } hosts.cfg define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } ################################################################################ ############# RODOPI_SERVER definition ######################## define host{ use generic-host ; Name of host template to use host_name ipnxtwo alias Rodopi Server #1 parents email-Switch address 62.17.54.90 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Can anyone help me ? Efe Ohimor ipNX Nigeria Limited, 4,Balarabe Musa Crescent, Victoria Island, Lagos. Tel :4619943-6 ext 1216 -------------- next part -------------- An HTML attachment was scrubbed... URL: From James.P.Fuentes at boeing.com Fri Sep 23 19:33:36 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Fri, 23 Sep 2005 10:33:36 -0700 Subject: send a test page Message-ID: <626FC7C6A97381468FB872072AB5DDC801FF2E@XCH-SW-42.sw.nos.boeing.com> You can simulate the scenario which meets notification criteria from the command line by using the "snmptrap" command. -Jim ________________________________ From: Rossella Mariotti-Jones [mailto:rossella at chemeketa.edu] Sent: Fri 9/23/2005 9:33 AM To: nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] send a test page Hi all, does anybody how to send test pages to pagers from within Nagios? I refuse to think that the only way to do it is setup a test group and unplug a box, there's gotta be another way! Thanks in advance. Rossella Mariotti-Jones Network Systems Analyst, CCNA Chemeketa Community College Information Technology T 503 589 7775 F 503 399 4898 E rossella at chemeketa.edu www.chemeketa.edu ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff-Yz0aFSiLL/0HAsZgQFR3CUEOCMrvLtNR at public.gmane.org Fri Sep 23 19:53:21 2005 From: jeff-Yz0aFSiLL/0HAsZgQFR3CUEOCMrvLtNR at public.gmane.org (Jeff Davis) Date: Fri, 23 Sep 2005 12:53:21 -0500 Subject: [Nagios-users] send a test page In-Reply-To: <59B15593F41BD24591D59436E7226EAD028610C6-mGLQqkYCjFeiDavPHVVgCO658FiBabzs@public.gmane.org> References: <59B15593F41BD24591D59436E7226EAD028610C6@Khiphx2.khimetrics.com> Message-ID: <43344111.1040101@dynamictelecard.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Also, if it's a check that requires arguments, you can pass arguments that will fall outside of the response boundaries. - -Jeff Nathan Oyler wrote: > Unplug a box? Why not just make a fake host to a nonexistent ip, with a > single ping check? > > > > ________________________________ > > From: nagios-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > [mailto:nagios-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] On Behalf Of Rossella > Mariotti-Jones > Sent: Friday, September 23, 2005 9:33 AM > To: nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org; > nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > Subject: [Nagios-users] send a test page > > > > Hi all, does anybody how to send test pages to pagers from within > Nagios? I refuse to think that the only way to do it is setup a test > group and unplug a box, there's gotta be another way! Thanks in advance. > > > > Rossella Mariotti-Jones > > Network Systems Analyst, CCNA > > > > > > Information Technology > > T 503 589 7775 > > F 503 399 4898 > > E rossella-i8gKn8CeHAaFhjwBz98joA at public.gmane.org > > www.chemeketa.edu > > > > -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.2 (Build 2424) iQEVAwUBQzRBKAklcebTe3bmAQj0pwf/ZxDVJBiGAh+zffGfqDHgvhlP4Ejy5+9h jcN/SGWaeqpC3E9FWmlmDl2tuStjeVfkL297cYdPBmyDKCcMGuryOfRvi4rYxJvW le6UL7S8ib9iRZjKzD+0kmoC4l0BiWetjU6FEuRcIYRIyH348TD9dnQm8iVJPTo3 oZt5avIQ29XzwHuAoJAPzV59Lx3jnsbetNqEyXRFA2LccO+mZezP7utouWZFjrGN iMH84o74DRIBNnJGLmipTzOgqBzHidSMKaIKYoChBmwNOFYcPhsQEvYMbDafehlW HkSKg3bZGsbdHWOA9ajSEmq/G7+jetMhUP3AGD1Wj2Uh8DutNSF9Kw== =griL -----END PGP SIGNATURE----- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rossella at chemeketa.edu Fri Sep 23 20:08:08 2005 From: rossella at chemeketa.edu (Rossella Mariotti-Jones) Date: Fri, 23 Sep 2005 11:08:08 -0700 Subject: send a test page Message-ID: <4C7800EB52CF054BB0B4FF50968C1B66252AB2@cccmail2.chemeketa.network> Thank you, how do I use the snmptrap command to do this, can you point me to some documentation? Rossella Mariotti-Jones Network Systems Analyst, CCNA Chemeketa Community College Information Technology T 503 589 7775 F 503 399 4898 E rossella at chemeketa.edu www.chemeketa.edu -----Original Message----- From: EXT-Fuentes, James P [mailto:James.P.Fuentes at boeing.com] Sent: Friday, September 23, 2005 10:34 AM To: Rossella Mariotti-Jones; nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: RE: [Nagios-users] send a test page You can simulate the scenario which meets notification criteria from the command line by using the "snmptrap" command. -Jim ________________________________ From: Rossella Mariotti-Jones [mailto:rossella at chemeketa.edu] Sent: Fri 9/23/2005 9:33 AM To: nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] send a test page Hi all, does anybody how to send test pages to pagers from within Nagios? I refuse to think that the only way to do it is setup a test group and unplug a box, there's gotta be another way! Thanks in advance. Rossella Mariotti-Jones Network Systems Analyst, CCNA Chemeketa Community College Information Technology T 503 589 7775 F 503 399 4898 E rossella at chemeketa.edu www.chemeketa.edu -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3517 bytes Desc: not available URL: From James.P.Fuentes at boeing.com Fri Sep 23 20:21:09 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Fri, 23 Sep 2005 11:21:09 -0700 Subject: send a test page Message-ID: <626FC7C6A97381468FB872072AB5DDC801FF30@XCH-SW-42.sw.nos.boeing.com> Nathan makes a good point. This is much much easier if you're not already setup to accept traps and you're not familiar with the snmptrap command. I am and I'm currently testing so I have snmptrap on the brain right now. -Jim ________________________________ From: Nathan Oyler [mailto:noyler at khimetrics.com] Sent: Fri 9/23/2005 9:41 AM To: Rossella Mariotti-Jones; nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: RE: [Nagios-users] send a test page Unplug a box? Why not just make a fake host to a nonexistent ip, with a single ping check? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rossella Mariotti-Jones Sent: Friday, September 23, 2005 9:33 AM To: nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] send a test page Hi all, does anybody how to send test pages to pagers from within Nagios? I refuse to think that the only way to do it is setup a test group and unplug a box, there's gotta be another way! Thanks in advance. Rossella Mariotti-Jones Network Systems Analyst, CCNA Information Technology T 503 589 7775 F 503 399 4898 E rossella at chemeketa.edu www.chemeketa.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3534 bytes Desc: image001.jpg URL: From ladams at cloudmark.com Fri Sep 23 20:54:54 2005 From: ladams at cloudmark.com (Lori Adams) Date: Fri, 23 Sep 2005 11:54:54 -0700 Subject: send a test page Message-ID: If you have the plugins, find one and set up a check that fails. For example: check_mysql. Give it a host name that doesn't exist, or set it to a host that does exist but doesn't have mysql. or check_http: ./check_http -H blah -u http://blah . Good luck. -Lori ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of EXT-Fuentes, James P Sent: Friday, September 23, 2005 11:21 AM To: Rossella Mariotti-Jones; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] send a test page Nathan makes a good point. This is much much easier if you're not already setup to accept traps and you're not familiar with the snmptrap command. I am and I'm currently testing so I have snmptrap on the brain right now. -Jim ________________________________ From: Nathan Oyler [mailto:noyler at khimetrics.com] Sent: Fri 9/23/2005 9:41 AM To: Rossella Mariotti-Jones; nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: RE: [Nagios-users] send a test page Unplug a box? Why not just make a fake host to a nonexistent ip, with a single ping check? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rossella Mariotti-Jones Sent: Friday, September 23, 2005 9:33 AM To: nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] send a test page Hi all, does anybody how to send test pages to pagers from within Nagios? I refuse to think that the only way to do it is setup a test group and unplug a box, there's gotta be another way! Thanks in advance. Rossella Mariotti-Jones Network Systems Analyst, CCNA Information Technology T 503 589 7775 F 503 399 4898 E rossella at chemeketa.edu www.chemeketa.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3534 bytes Desc: image001.jpg URL: From marc at ena.com Fri Sep 23 21:07:48 2005 From: marc at ena.com (Marc Powell) Date: Fri, 23 Sep 2005 14:07:48 -0500 Subject: send a test page Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rossella Mariotti-Jones > Sent: Friday, September 23, 2005 11:33 AM > To: nagios-users at lists.sourceforge.net; nagiosplug- > help at lists.sourceforge.net > Subject: [Nagios-users] send a test page > > Hi all, does anybody how to send test pages to pagers from within Nagios? > I refuse to think that the only way to do it is setup a test group and > unplug a box, there's gotta be another way! Thanks in advance. Sorry, there's no built-in mechanism to test notifications without manipulating the check data for a host or service. You could always run the notification command from the command line but that's not exactly the same and not really a valid test all the way through. My suggestion would be to set up a test host and service with active checks disabled and check_commands that will return CRITICAL when executed (check_dummy for example). Set the contact groups appropriately for the notifications that you want to test. When you want to activate the test, use the web interface to enable checks of that host/service. When the test is done, use the web interface to disable checks of that host/service. This would actually be a more accurate test than hitting a 'Test Notifications' link in the GUI IMHO. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 23 21:11:00 2005 From: marc at ena.com (Marc Powell) Date: Fri, 23 Sep 2005 14:11:00 -0500 Subject: changing language dinamically Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of enediel gonzalez > Sent: Thursday, September 22, 2005 3:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] changing language dinamically > > Hello everyone: > > ?Is it possible to change dinamically the language used into the web pages > on nagios? If you've been able to find any translations for the web interface you should consider yourself lucky. ;) Nagios does not include translations nor does it have the ability to switch between translations. All strings are hard-coded within the source. I would suspect that if you've found one then it was done by manual editing of the source code. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Laden at tudor.com Fri Sep 23 21:26:28 2005 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Fri, 23 Sep 2005 15:26:28 -0400 Subject: send a test page Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA01AA189D@tudor.com> Submit a passive check result for the service? You need to allow passive checks, and your max retry should be set to 1. Else you may need to do it multiple times. _____ From: Rossella Mariotti-Jones [mailto:rossella at chemeketa.edu] Sent: Friday, September 23, 2005 12:33 PM To: nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] send a test page Hi all, does anybody how to send test pages to pagers from within Nagios? I refuse to think that the only way to do it is setup a test group and unplug a box, there's gotta be another way! Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From guy at extragalactic.net Fri Sep 23 21:29:13 2005 From: guy at extragalactic.net (Guy B. Purcell) Date: Fri, 23 Sep 2005 12:29:13 -0700 Subject: send a test page In-Reply-To: <4C7800EB52CF054BB0B4FF50968C1B66252AA3@cccmail2.chemeketa.network> References: <4C7800EB52CF054BB0B4FF50968C1B66252AA3@cccmail2.chemeketa.network> Message-ID: <3D8E6E61-776F-4615-8E30-F2864945518A@extragalactic.net> On Sep 23, 2005, at 09:33, Rossella Mariotti-Jones wrote: > Hi all, does anybody how to send test pages to pagers from within > Nagios? I refuse to think that the only way to do it is setup a > test group and unplug a box, there?s gotta be another way! > Unplugging a box is, of course, unacceptable. I'd argue that creating a dummy monitor with a 24 hr notification interval is, too (it's gross hackery, at best: you'll always have that one monitor in a critical state--ick). I think a better way is to make a cron job on your Nagios server that tells Nagios to send out a notification (I think this would be via the external commands file, but I can't be sure right now). -Guy ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guy at extragalactic.net Fri Sep 23 21:44:34 2005 From: guy at extragalactic.net (Guy B. Purcell) Date: Fri, 23 Sep 2005 12:44:34 -0700 Subject: nrpe meta-character arguments In-Reply-To: References: Message-ID: <6E40D979-3B00-4E1E-A00B-9790ED716525@extragalactic.net> On Sep 23, 2005, at 10:09, Mohr James wrote: > We are using Nagios 2.0b3 and would like to send specific > metacharacters > using check_nrpe and have run into the limitation that certain > characters are listed as "bad". Particulary we would like to send URL > through check_nrpe to a remote machine which then checks the URL using > check_http. (the Nagios machine does not have direct access to the > machine in questions). In the URL we are passing variables to a CGI > script and it contains a couple of ampersands (&). [...archive notes about ampersand badness & suggested ways to overcome it] > So I was wondering if there is another solution? Is there anything > available or even planned? Perhaps this is too obvious, but why not just define your own check command for this service on the NRPE server & call that from the Nagios server? -Guy ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forums at emat.be Fri Sep 23 22:15:18 2005 From: forums at emat.be (js) Date: Fri, 23 Sep 2005 22:15:18 +0200 Subject: excessive "member of" information in service detail Message-ID: <43346256.2060700@emat.be> Hi all, I'm using nagios Version 2.0b2. When I click on a service which shows me the details of that service I notice that there are too many member off groups shown. Let's say a host has 10 services and 5 services belong to servicegroupA en 5 services belong to servicegroup B. When I click on 1 of those 10 services there I can see in the "member off"-part 5 times servicegroupA and 5 times servicegroupB. Service blablabla On Host blablabla Member of servicegroupA,servicegroupA,servicegroupA,servicegroupA, servicegroupA,servicegroupB,servicegroupB,servicegroupB,servicegroupB servicegroupB Why is this? How can I prevent this, it has no use, and clutters the whole screen. Thanks, Jelle ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Pavleck at capella.edu Fri Sep 23 22:33:11 2005 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy D.) Date: Fri, 23 Sep 2005 15:33:11 -0500 Subject: Missing trends.cgi & histogram.cgi Message-ID: <0F1A5F3993566D4883C596CB56E59B9A04E5DF7F@mspmail02.int.capella.lan> Just curious as to what is suggested. Nagios 2.0b4 on Solaris 9. We've recompiled it from the source several times. No errors, everything works great - except there's no trends.cgi or histogram.cgi. Anyone have any ideas on why? Or where we can get this pre-compiled for Sun? ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 23 22:43:35 2005 From: marc at ena.com (Marc Powell) Date: Fri, 23 Sep 2005 15:43:35 -0500 Subject: I am not getting notified Message-ID: Sending these directly to me isn't necessary/appropriate. > -----Original Message----- > From: Efe Ohimor [mailto:eohimor at ipnxnigeria.net] > Sent: Friday, September 23, 2005 12:40 PM > To: nagios-users at lists.sourceforge.net > Cc: Marc Powell > Subject: I am not getting notified > > Hello Forum, > > When I set up nagios at first I used to get mail notifications but now I > don't.I checked the server logs and discovered the following messages > > Sep 22 19:55:34 nagios nagios: SERVICE NOTIFICATION: > Efe;ipnxtwo;HTTP;CRITICAL;notify-by-email;Connection refused That's a good thing and shows that Nagios is at least trying to execute your notification command. Do you see a corresponding entry in your mail logs? Is your MTA running and processing its queue? Are your disks full again perhaps? > I have the following config in my > > misccommands.cfg > > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: > $DATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" > $CONTACTEMAIL$ > } The above notification attempt is a service notification, not a host notification. The host-notify-by-email command above isn't used in this case. What does your notify-by-email command look like? That's what you've specified in the contact definition below for service_notification_commands. Make sure you can run it from the command line exactly as it's defined, as nagios, substituting in appropriate values for the macros. > contacts.cfg > > define contact{ > contact_name Efe > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > # service_notification_commands notify-by-email, notify-by-epager > # host_notification_commands host-notify-by-email, host- > notify-by-epager > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email eohimor at ipnxnigeria.net > > # pager 08028364123 > } > > > hosts.cfg > > define host{ [chop host definitions] Host definitions aren't pertinent in this case since it's a service you're not receiving a notification for. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 23 22:47:44 2005 From: marc at ena.com (Marc Powell) Date: Fri, 23 Sep 2005 15:47:44 -0500 Subject: Missing trends.cgi & histogram.cgi Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Pavleck, Jeremy D. > Sent: Friday, September 23, 2005 3:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Missing trends.cgi & histogram.cgi > > Just curious as to what is suggested. Nagios 2.0b4 on Solaris 9. We've > recompiled it from the source several times. No errors, everything works > great - except there's no trends.cgi or histogram.cgi. Anyone have any > ideas on why? Or where we can get this pre-compiled for Sun? Have you seen this FAQ? -- http://www.nagios.org/faqs/viewfaq.php?faq_id=55&expand=false&showdesc=f alse -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Pavleck at capella.edu Fri Sep 23 22:50:24 2005 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy D.) Date: Fri, 23 Sep 2005 15:50:24 -0500 Subject: Missing trends.cgi & histogram.cgi Message-ID: <0F1A5F3993566D4883C596CB56E59B9A04E5DF80@mspmail02.int.capella.lan> Ah, got it. I'm a moron. I'll pass the link along. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, September 23, 2005 3:48 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Missing trends.cgi & histogram.cgi > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Pavleck, Jeremy D. > Sent: Friday, September 23, 2005 3:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Missing trends.cgi & histogram.cgi > > Just curious as to what is suggested. Nagios 2.0b4 on Solaris 9. We've > recompiled it from the source several times. No errors, everything works > great - except there's no trends.cgi or histogram.cgi. Anyone have any > ideas on why? Or where we can get this pre-compiled for Sun? Have you seen this FAQ? -- http://www.nagios.org/faqs/viewfaq.php?faq_id=55&expand=false&showdesc=f alse -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 23 22:55:56 2005 From: marc at ena.com (Marc Powell) Date: Fri, 23 Sep 2005 15:55:56 -0500 Subject: Missing trends.cgi & histogram.cgi Message-ID: Nah. It wouldn't be an FAQ if it were obvious ;) -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Pavleck, Jeremy D. > Sent: Friday, September 23, 2005 3:50 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Missing trends.cgi & histogram.cgi > > Ah, got it. I'm a moron. I'll pass the link along. > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc > Powell > Sent: Friday, September 23, 2005 3:48 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Missing trends.cgi & histogram.cgi > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Pavleck, Jeremy D. > > Sent: Friday, September 23, 2005 3:33 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Missing trends.cgi & histogram.cgi > > > > Just curious as to what is suggested. Nagios 2.0b4 on Solaris 9. We've > > > recompiled it from the source several times. No errors, everything > works > > great - except there's no trends.cgi or histogram.cgi. Anyone have any > > > ideas on why? Or where we can get this pre-compiled for Sun? > > Have you seen this FAQ? -- > http://www.nagios.org/faqs/viewfaq.php?faq_id=55&expand=false&showdesc=f > alse > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your > very own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kyle_Narum at eLoyalty.com Fri Sep 23 23:01:13 2005 From: Kyle_Narum at eLoyalty.com (Narum, Kyle) Date: Fri, 23 Sep 2005 16:01:13 -0500 Subject: Remote Web Server Message-ID: <037594FB5AFC354FA38653EB3FF3242105CC4A8B@elhqex01.eloyaltyco.com> Has anyone out there setup Nagios to serve the UI via a seperate/remote web server (rather than the Nagios host itself). Just wondering if this is possible from a security standpoint. Thanks ________________________________________________________________________ ______________ Kyle Narum | eLoyalty Corporation | 7800 Equitable Drive, Suite 100 | Eden Prairie, MN | 55344 | USA | o - 952.908.8134 | m - 612.309.2054 | f - 952.908.8001 | kyle_narum at eLoyalty.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason at shakabuku.org Fri Sep 23 23:05:31 2005 From: jason at shakabuku.org (Jason Bodnar) Date: Fri, 23 Sep 2005 16:05:31 -0500 Subject: Remote Web Server In-Reply-To: <037594FB5AFC354FA38653EB3FF3242105CC4A8B@elhqex01.eloyaltyco.com> References: <037594FB5AFC354FA38653EB3FF3242105CC4A8B@elhqex01.eloyaltyco.com> Message-ID: <20050923210448.M33250@shakabuku.org> The easiest thing to do would be to proxy it to another server but that's not a solution if your real problem is NOT running a web server on the nagios host. On Fri, 23 Sep 2005 16:01:13 -0500, Narum, Kyle wrote > Has anyone out there setup Nagios to serve the UI via a seperate/remote > web server (rather than the Nagios host itself). Just wondering if this > is possible from a security standpoint. > > Thanks > > ________________________________________________________________________ > ______________ > Kyle Narum | eLoyalty Corporation | 7800 Equitable Drive, Suite 100 | > Eden Prairie, MN | 55344 | USA > | o - 952.908.8134 | m - 612.309.2054 | f - 952.908.8001 | > kyle_narum at eLoyalty.com -- Jason Bodnar jason at shakabuku.org http://www.shakabuku.org "You want free speech? Let's see you acknowledge a man whose words make your blood boil who is standing center stage advocating at the top of his lungs that which you would spend a lifetime opposing at the top of yours." -- President Andrew Shephard, "The American President" ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chenfang at sonic.net Fri Sep 23 23:16:01 2005 From: chenfang at sonic.net (chenfang at sonic.net) Date: Fri, 23 Sep 2005 14:16:01 -0700 (PDT) Subject: nagios Web interface installation, http://mymachinename/nagios failed. Message-ID: <14479.129.42.184.35.1127510161.squirrel@webmail.sonic.net> Hi, Please help. Everything seems to be fine when I go through the setting up the web interface (I have been using all the default as suggested in the doc). I have my httpd.conf as follows: ...//cgi-setting omitted. Alias /nagios "/usr/local/nagios/share" # SSLRequireSSL Options None AllowOverride AuthConfig Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 But when I point my web browser at http://mymachine/nagios/ and try to get the web interface for Nagios, it fails with 404. I tried without the last '/', it also fails. Then I looked back at all the scripts that I am running since the start of installation, I noticed when I run the configure script, I have --with-htmurl=/nagios rather then --with-htmurl=/nagios/ as suggested. Does this make any difference? If it does, how can I change it back? If not, why my page is not up? BTW, my apache runs good, I can access the base apache default page. Thanks lot for help. chenfang ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Sep 23 23:24:37 2005 From: marc at ena.com (Marc Powell) Date: Fri, 23 Sep 2005 16:24:37 -0500 Subject: Remote Web Server Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Narum, Kyle > Sent: Friday, September 23, 2005 4:01 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Remote Web Server > > Has anyone out there setup Nagios to serve the UI via a seperate/remote > web server (rather than the Nagios host itself). Just wondering if this > is possible from a security standpoint. Yes, I've NFS shared /usr/local/nagios to another machine and run the GUI from there. Note that you _will not_ be able to issue commands to Nagios via the remote GUI so at best it's a read-only view. Nagios uses a named pipe to receive external commands and those aren't supported over NFS implementations I'm familiar with. The commands fail silently for me. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shaikh.m.a at gmail.com Sat Sep 24 12:26:22 2005 From: shaikh.m.a at gmail.com (M.Saeed Shaikh) Date: Sat, 24 Sep 2005 15:56:22 +0530 Subject: statusmap.cgi not avilable Message-ID: <9e66c57d05092403261d61b41f@mail.gmail.com> I am not able to see status map. It gives below error. The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. I also check the file at path file is not there. If any one know then please let me know how to install this cgi. -- M.A.Shaikh Linux System Administrator ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From netcatinn at gmail.com Sat Sep 24 12:53:44 2005 From: netcatinn at gmail.com (Pradeep C Raghavan) Date: Sat, 24 Sep 2005 14:53:44 +0400 Subject: Monitoring router with check_snmp Message-ID: Hi all, This is a newbee question ,so please bear with me . I would like to monitor my router to find out whether it is up or not.Cananyone help me with an example of the command.Browsing through the list I found that something has to be done with the OID's.What is this OID all about?I use webmin to congfiure Nagios and the SNMP MIB walk prints out a lot info which I cant just digest.Please help me on this. ../cheers, -------------- next part -------------- An HTML attachment was scrubbed... URL: From al at its-lehmann.de Sat Sep 24 20:16:55 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Sat, 24 Sep 2005 20:16:55 +0200 Subject: statusmap.cgi not avilable In-Reply-To: <9e66c57d05092403261d61b41f@mail.gmail.com> References: <9e66c57d05092403261d61b41f@mail.gmail.com> Message-ID: <43359817.5040603@its-lehmann.de> Hi, On 24.09.2005 12:26, M.Saeed Shaikh wrote: > I am not able to see status map. > > It gives below error. > > The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. > > I also check the file at path file is not there. If any one know then > please let me know how to install this cgi. If the web front-end works, it's likely that the build process didn't find the necessary gd library and headers. Usually, during configure / make a warning to that effect is printed, and it's also mentioned in the manual. See http://www.nagios.org/faqs/viewfaq.php?faq_id=55 for more information. Arno > > -- > M.A.Shaikh > Linux System Administrator > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From potus98 at yahoo.com Sat Sep 24 21:04:25 2005 From: potus98 at yahoo.com (John Christian) Date: Sat, 24 Sep 2005 12:04:25 -0700 (PDT) Subject: NTP jitter (not parsed) breaks check_ntp? Message-ID: <20050924190425.11221.qmail@web54703.mail.yahoo.com> It seems this problem was related to the nagios or perl files on the monitoring server itself and not NTP. Maybe they were corrupted as a result of the power outage. I can't say I found a solution to the problem, but I was able to make the problem go away. With patience getting short, I changed 3 things at once while troubleshooting. As a result, I don't know excatly which change eliminated my problem. I upgraded to the latest perl distribution and recompiled nagios without using the embedded perl option. Now everything works like normal again. -John Original message: Hello, My, ummm, friend's data center lost power this weekend. All servers came back up, but now it seems that check_ntp is not working properly. The NTP service detail for some hosts is fine (green) but most NTP services are state pending (grey). They have remained state pending for 3+ days. Running check_ntp manually reveals: foo:/usr/local/nagios/libexec # ./check_ntp -H hostgreen NTP OK: Offset -0.000513 secs, jitter 1.74 msec, peer is stratum 3|offset=-0.000513, jitter=0.00174,peer_stratum=3 foo:/usr/local/nagios/libexec # ./check_ntp -H hostgrey Argument "(not parsed)" isn't numeric in abs at ./check_ntp line 401. NTP OK: Offset -0.000141 secs, jitter (not parsed) msec, peer is stratum 2|offset=-0.000141, jitter=0,peer_stratum=2 check_ntp (nagios-plugins 1.4.1) 1.29 Nagios 2.0b4 Solaris 9 The NTP daemons are running on all hosts and are in sync. I suspect the problem is related to the check_ntp script not handling the "jitter (not parsed)" feedback properly. I've tried restarting the ntp daemons and restarting nagios, but it didn't help. BTW: For the NTP services that are in the grey pending state, it appears they become ignored because the next scheduled service check never changes. I can force a manual check -which updates the next scheduled check- but it stays grey and no additional checks are auto-scheduled. How do I get my NTP clients to parse some jitter? Or, how else should I fix this problem? TIA! -John __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Sun Sep 25 09:43:22 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Sun, 25 Sep 2005 08:43:22 +0100 (BST) Subject: Monitoring router with check_snmp In-Reply-To: References: Message-ID: <20050925074322.33440.qmail@web34814.mail.mud.yahoo.com> OID is Object Identifier All devices are denoted by OID by SNMP for eg OID .1.3.6.1.2.1.2 represents 1 => ISO 3 => org 6 => dod 1 => internet 2 => mgmt 1 => mib-2 2 = > interfaces another eg in text representation , we can represent the operational status of an interface as iso_org_dod_internet_mgmt_mib-2_interfaces_iftable_ifEntry_ifOperStatus is 1.3.6.1.2.1.2.2.1.8 U can walk through OID using the command snmpwalk 192.168.1.32 -c public Please note , to use the SNMP plugins at http://www.manubulon.com/nagios/ no need to know about OID , if u follow the eg, u can do it Thanks Joseph John --- Pradeep C Raghavan wrote: > Hi all, > This is a newbee question ,so please bear with me . > I would like to monitor my router to find out > whether it is up or > not.Cananyone help me with an example of the > command.Browsing through the list I found that > something has to be done with > the OID's.What is this OID all about?I use webmin to > congfiure Nagios and > the SNMP MIB walk prints out a lot info which I cant > just digest.Please help > me on this. > > ../cheers, > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chroot at wells.vg Sun Sep 25 09:53:06 2005 From: chroot at wells.vg (Matt Wells) Date: Sun, 25 Sep 2005 00:53:06 -0700 Subject: Monitoring router with check_snmp Message-ID: Anyone know of any other way to monitor a Cisco router/* without the use of SNMP?? ----- Original Message ----- SUBJECT:?Re: [Nagios-users] Monitoring router with check_snmp FROM: ?John Joseph TO:?"Pradeep C Raghavan" ,nagios-users at lists.sourceforge.net DATE:?25-09-2005 0:48 OID is Object Identifier All devices are denoted by OID by SNMP for eg OID .1.3.6.1.2.1.2 represents 1 => ISO 3 => org 6 => dod 1 => internet 2 => mgmt 1 => mib-2 2 = > interfaces another eg in text representation , we can represent the operational status of an interface as iso_org_dod_internet_mgmt_mib-2_interfaces_iftable_ifEntry_ifOperStatus is 1.3.6.1.2.1.2.2.1.8 U can walk through OID using the command snmpwalk 192.168.1.32 -c public Please note , to use the SNMP plugins at http://www.manubulon.com/nagios/ no need to know about OID , if u follow the eg, u can do it Thanks Joseph John --- Pradeep C Raghavan wrote: > Hi all, > This is a newbee question ,so please bear with me . > I would like to monitor my router to find out > whether it is up or > not.Cananyone help me with an example of the > command.Browsing through the list I found that > something has to be done with > the OID's.What is this OID all about?I use webmin to > congfiure Nagios and > the SNMP MIB walk prints out a lot info which I cant > just digest.Please help > me on this. > > ../cheers, > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From marled3 at hotmail.com Sun Sep 25 15:19:39 2005 From: marled3 at hotmail.com (Martin Leduc) Date: Sun, 25 Sep 2005 09:19:39 -0400 Subject: Found how to compile statusmap.cgi on slackware Message-ID: Hi folks, I have found a possible trouble in the Nagios make file. For who having read the FAQ, having all the required libs and having a functionnal statuswrl.cgi module, you can try this: Go into the /usr/local/src/nagios-2xxx/cgi Try make statusmap.cgi If the make is succed, copy the statusmap.cgi into the sbin directory of your nagios final installation use chown to give statusmap.cgi the correct owner Launch the Nagios web front-end Enjoy Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From joeregular at gov.nl.ca Sun Sep 25 17:14:56 2005 From: joeregular at gov.nl.ca (Joe Regular) Date: Sun, 25 Sep 2005 12:44:56 -0230 Subject: Nagios website and contact groups? Message-ID: Is it possible to configure Nagios so that people listed in my contactgroups.cfg file can only see their group when accessing the http://servername/nagios/ website? By this I mean, my Linux-Admins and only view Linux servers, Novell-Admins can only view Novell servers, NT-Admins can only view Windows servers, Switch-Admins can only view switches, and Helpdesk can only view printers. Thanks in advance, Joe ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Sun Sep 25 19:48:52 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Sun, 25 Sep 2005 19:48:52 +0200 Subject: Nagios website and contact groups? In-Reply-To: References: Message-ID: <4336E304.6040805@gmx.net> Hi Joe, did you try it before posting or read the manual? :-) Yes, of course it is possible: For Version 2.x: http://nagios.sourceforge.net/docs/2_0/cgiauth.html For Version 1.x: http://nagios.sourceforge.net/docs/1_0/cgiauth.html Joe Regular schrieb: >Is it possible to configure Nagios so that people listed in my contactgroups.cfg file can only see their group when accessing the http://servername/nagios/ website? > >By this I mean, my Linux-Admins and only view Linux servers, Novell-Admins can only view Novell servers, NT-Admins can only view Windows servers, Switch-Admins can only view switches, and Helpdesk can only view printers. > >Thanks in advance, >Joe > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. >Download it for free - -and be entered to win a 42" plasma tv or your very >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Sun Sep 25 19:50:13 2005 From: td3201 at gmail.com (Terry) Date: Sun, 25 Sep 2005 12:50:13 -0500 Subject: Monitoring router with check_snmp In-Reply-To: References: Message-ID: <8ee0610105092510506fa0b947@mail.gmail.com> Well, check_ping will determine if it is "up". On 9/25/05, Matt Wells wrote: > Anyone know of any other way to monitor a Cisco router/* without the use of > SNMP?? > > ----- Original Message ----- > Subject: Re: [Nagios-users] Monitoring router with check_snmp > From: John Joseph > To: "Pradeep C Raghavan" > ,nagios-users at lists.sourceforge.net > Date: 25-09-2005 0:48 > > > OID > is Object Identifier > All devices are denoted by OID by SNMP > for eg OID > .1.3.6.1.2.1.2 > represents > 1 => ISO > 3 => org > 6 => dod > 1 => internet > 2 => mgmt > 1 => mib-2 > 2 = > interfaces > > another eg > in text representation , we can represent the > operational status of an interface as > > iso_org_dod_internet_mgmt_mib-2_interfaces_iftable_ifEntry_ifOperStatus > is > 1.3.6.1.2.1.2.2.1.8 > > U can walk through OID using the command > snmpwalk 192.168.1.32 -c public > > Please note , to use the SNMP plugins at > http://www.manubulon.com/nagios/ > no need to know about OID , if u follow the > eg, u can do it > Thanks > > Joseph John > > > > --- Pradeep C Raghavan wrote: > > > Hi all, > > This is a newbee question ,so please bear with me . > > I would like to monitor my router to find out > > whether it is up or > > not.Cananyone help me with an example of the > > command.Browsing through the list I found that > > something has to be done with > > the OID's.What is this OID all about?I use webmin to > > congfiure Nagios and > > the SNMP MIB walk prints out a lot info which I cant > > just digest.Please help > > me on this. > > > > ../cheers, > > > > > > > ___________________________________________________________ > To help you stay safe and secure online, we've developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Sun Sep 25 19:54:18 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Sun, 25 Sep 2005 19:54:18 +0200 Subject: Monitoring router with check_snmp In-Reply-To: References: Message-ID: <4336E44A.7050402@gmx.net> Hi Matt, SNMP is the best way, I think. Other examples may: check_icmp to check the routers IP adress and/or their sub interfaces. check_tcp to check if the telnet / ssh / web port is open and answering write or look for a perl script, that can telnet the router, give some commands to the router and check the output if the output is what you want to see. Beware of the last option, you have to work with the login of your router. Don't know how you're thinking about security. Best wishes Hendrik Matt Wells schrieb: > Anyone know of any other way to monitor a Cisco router/* without the > use of SNMP?? > > ----- Original Message ----- > *Subject: *Re: [Nagios-users] Monitoring router with check_snmp > *From: *John Joseph > *To: *"Pradeep C Raghavan" > ,nagios-users at lists.sourceforge.net > *Date: *25-09-2005 0:48 > > > OID > is Object Identifier > All devices are denoted by OID by SNMP > for eg OID > .1.3.6.1.2.1.2 > represents > 1 => ISO > 3 => org > 6 => dod > 1 => internet > 2 => mgmt > 1 => mib-2 > 2 = > interfaces > > another eg > in text representation , we can represent the > operational status of an interface as > > iso_org_dod_internet_mgmt_mib-2_interfaces_iftable_ifEntry_ifOperStatus > is > 1.3.6.1.2.1.2.2.1.8 > > U can walk through OID using the command > snmpwalk 192.168.1.32 -c public > > Please note , to use the SNMP plugins at > http://www.manubulon.com/nagios/ > no need to know about OID , if u follow the > eg, u can do it > Thanks > > Joseph John > > > > --- Pradeep C Raghavan wrote: > > > Hi all, > > This is a newbee question ,so please bear with me . > > I would like to monitor my router to find out > > whether it is up or > > not.Cananyone help me with an example of the > > command.Browsing through the list I found that > > something has to be done with > > the OID's.What is this OID all about?I use webmin to > > congfiure Nagios and > > the SNMP MIB walk prints out a lot info which I cant > > just digest.Please help > > me on this. > > > > ../cheers, > > > > > > > ___________________________________________________________ > To help you stay safe and secure online, we've developed the all > new Yahoo! Security Centre. http://uk.security.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or > your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Sun Sep 25 20:00:00 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Sun, 25 Sep 2005 20:00:00 +0200 Subject: nagios Web interface installation, http://mymachinename/nagios failed. In-Reply-To: <14479.129.42.184.35.1127510161.squirrel@webmail.sonic.net> References: <14479.129.42.184.35.1127510161.squirrel@webmail.sonic.net> Message-ID: <4336E5A0.4020201@gmx.net> Hi, did you check if the nagios web files are realy in "/usr/local/nagios/share" ? Try to: echo "Testpage" > /usr/local/nagios/share/testpage.htm http://your.host.org/nagios/testpage.htm Can you see your testpage? What are the apache logs telling you if you try to get the Nagios UI? Greets Hendrik chenfang at sonic.net schrieb: >Hi, > >Please help. > >Everything seems to be fine when I go through the setting up the web >interface (I have been using all the default as suggested in the doc). > >I have my httpd.conf as follows: > >...//cgi-setting omitted. > >Alias /nagios "/usr/local/nagios/share" > ># SSLRequireSSL > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all ># Order deny,allow ># Deny from all ># Allow from 127.0.0.1 > > >But when I point my web browser at http://mymachine/nagios/ and try to get >the web interface for Nagios, it fails with 404. I tried without the last >'/', it also fails. Then I looked back at all the scripts that I am running >since the start of installation, I noticed when I run the configure script, >I have --with-htmurl=/nagios rather then --with-htmurl=/nagios/ as >suggested. Does this make any difference? If it does, how can I change it >back? If not, why my page is not up? > >BTW, my apache runs good, I can access the base apache default page. > >Thanks lot for help. > >chenfang > > > > > > > > > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. >Download it for free - -and be entered to win a 42" plasma tv or your very >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wgking at shaw.ca Mon Sep 26 00:46:37 2005 From: wgking at shaw.ca (Greg King) Date: Sun, 25 Sep 2005 16:46:37 -0600 Subject: send a test page Message-ID: <1b9e8381b9ec89.1b9ec891b9e838@shaw.ca> > From: Rossella Mariotti-Jones [mailto:rossella at chemeketa.edu] > Sent: Friday, September 23, 2005 12:33 PM > To: nagios-users at lists.sourceforge.net; > nagiosplug-help at lists.sourceforge.net > Subject: [Nagios-users] send a test page > > > > Hi all, does anybody how to send test pages to pagers from within > Nagios? I refuse to think that the only way to do it is setup a test > group and unplug > a box, there's gotta be another way! Thanks in advance. > > Here is a manual way the test any command, as follows: 1. log into nagios web interface as an admin, and "View config", commands. 2. Find the command you want to test, and select all the code, and right click "copy" 3. ssh into the nagios server. Log in with the id that Nagios runs as, or issue "su - " command after login as root. 4. enter command "vi testcmd.sh", go to insert mode and paste command to be tested. Remove all trailing "$" from the Nagios macros, and save command. Removing these training $ is only necessary for email or pager ids but it pretties up the test results (they will have trailing $ if you don't which will be ok for most things, except for email ids or pager #). 5. Set environment variables for each of the Nagios macros - ie SERVICEDESC=Myservice, NOTIFICATIONTYPE=Alert, etc. 6. >chmod +x testcmd.sh 7. >. testcmd.sh - this will run the command as Nagios would. Be sure to source the command to keep environment variables (ie >source testcmd.sh or >. testcmd.sh) While this is not strictly "within Nagios" I have used it a few times to debug flakey Nagios commands. Good luck! Regards, Greg ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Mon Sep 26 00:51:55 2005 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Mon, 26 Sep 2005 08:51:55 +1000 Subject: Check Disk Message-ID: Hi I would like to know if it is possible to check the disk space of a particular folder (eg Exchange Mailboxes) on a Windows machine. I have setup the NSClient and have gotten check disk to work but would like to monitor a particular folder. Thanks Ray La Peyre ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Amir.El-Raddaf at seagate.com Mon Sep 26 06:11:43 2005 From: Amir.El-Raddaf at seagate.com (Amir.El-Raddaf at seagate.com) Date: Sun, 25 Sep 2005 21:11:43 -0700 Subject: Amir El-Raddaf is out of the office. Message-ID: I will be out of the office starting 09/25/2005 and will not return until 10/04/2005. I do not have e-mail or phone access while I'm away. I will reply to you as soon as I get back. If you need to reach someone, please contact GFO members and - or Steve Lentz. Best Regards, Amir.. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Mon Sep 26 06:48:36 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Mon, 26 Sep 2005 05:48:36 +0100 (BST) Subject: Monitoring router with check_snmp In-Reply-To: <4336E44A.7050402@gmx.net> References: <4336E44A.7050402@gmx.net> Message-ID: <20050926044837.39714.qmail@web34806.mail.mud.yahoo.com> Hi Pradeep , while you check_icmp,check_tcp,telnet helps to find the router is up , the snmp way of checking , u can check the interfaces also , even traffic , it is not that difficult Thanks Joseph John --- Hendrik Baecker wrote: > Hi Matt, > > SNMP is the best way, I think. > > Other examples may: > > check_icmp to check the routers IP adress and/or > their sub interfaces. > check_tcp to check if the telnet / ssh / web port is > open and answering > write or look for a perl script, that can telnet the > router, give some > commands to the router and check the output if the > output is what you > want to see. > > Beware of the last option, you have to work with the > login of your > router. Don't know how you're thinking about > security. > > Best wishes > Hendrik > > Matt Wells schrieb: > > > Anyone know of any other way to monitor a Cisco > router/* without the > > use of SNMP?? > > > > ----- Original Message ----- > > *Subject: *Re: [Nagios-users] Monitoring > router with check_snmp > > *From: *John Joseph > > *To: *"Pradeep C Raghavan" > > > ,nagios-users at lists.sourceforge.net > > *Date: *25-09-2005 0:48 > > > > > > OID > > is Object Identifier > > All devices are denoted by OID by SNMP > > for eg OID > > .1.3.6.1.2.1.2 > > represents > > 1 => ISO > > 3 => org > > 6 => dod > > 1 => internet > > 2 => mgmt > > 1 => mib-2 > > 2 = > interfaces > > > > another eg > > in text representation , we can represent the > > operational status of an interface as > > > > > iso_org_dod_internet_mgmt_mib-2_interfaces_iftable_ifEntry_ifOperStatus > > is > > 1.3.6.1.2.1.2.2.1.8 > > > > U can walk through OID using the command > > snmpwalk 192.168.1.32 -c public > > > > Please note , to use the SNMP plugins at > > http://www.manubulon.com/nagios/ > > no need to know about OID , if u follow the > > eg, u can do it > > Thanks > > > > Joseph John > > > > > > > > --- Pradeep C Raghavan > wrote: > > > > > Hi all, > > > This is a newbee question ,so please bear > with me . > > > I would like to monitor my router to find > out > > > whether it is up or > > > not.Cananyone help me with an example of the > > > command.Browsing through the list I found > that > > > something has to be done with > > > the OID's.What is this OID all about?I use > webmin to > > > congfiure Nagios and > > > the SNMP MIB walk prints out a lot info > which I cant > > > just digest.Please help > > > me on this. > > > > > > ../cheers, > > > > > > > > > > > > > > ___________________________________________________________ > > To help you stay safe and secure online, we've > developed the all > > new Yahoo! Security Centre. > http://uk.security.yahoo.com > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's > Geronimo App Server. > > Download it for free - -and be entered to win > a 42" plasma tv or > > your very > > own Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin > version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Mon Sep 26 10:51:59 2005 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 26 Sep 2005 09:51:59 +0100 Subject: Who is maintaining NRPE? In-Reply-To: <4333170E.6020709@op5.se> References: <4333170E.6020709@op5.se> Message-ID: On 22 Sep 2005, at 21:41, Andreas Ericsson wrote: > Ton Voon wrote: > >> Hi! >> Just wondering who is currently maintaining NRPE? >> > > That'd be me. I'm not doing a very good job of advertising the > releases, but 2.2 is available (whenever my ISP isn't doing > something incompetent) at http://oss.op5.se/nagios. I haven't had > time to do much other than making it a fair bit portable yet, > although I'm working on it. Thanks. You should do more promotion so that it becomes the "default" version, rather than the 2.0 one. However, am I right in saying that the CVS repository for NRPE 2.2 is on your own servers? If so, I don't think this is in the spirit of openess. Can I suggest that you use Sourceforge to host the NRPE code? This way the changes made are clear to the community. In fact, I notice there is a NRPE project on SF: http:// sourceforge.net/projects/nrpe. Looks like it was setup by Ethan and includes yourself as a developer. Maybe this is the best place to house the main code. >> I've dropped an email to Ethan Galstad but haven't received a >> reply. I seem to recall that NRPE was split off to a separate >> team some time ago. >> We've made a few tweaks to the configure script so that NRPE 2.0 >> now compiles on Tru64 and Irix "out of the box". The patch is >> below. It requires autoconf to regenerate the new configure script. >> > > It would be very helpful if you could make the patch apply cleanly > to the 2.2 sources, unless one of the portability fixes I've > already made sorts it out. Initial configure on Irix and Tru64 fails. I'll look into it and get back to you. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Mon Sep 26 11:23:03 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 26 Sep 2005 11:23:03 +0200 Subject: Who is maintaining NRPE? In-Reply-To: References: <4333170E.6020709@op5.se> Message-ID: <4337BDF7.2010407@op5.se> Ton Voon wrote: > > On 22 Sep 2005, at 21:41, Andreas Ericsson wrote: > >> Ton Voon wrote: >> >>> Hi! >>> Just wondering who is currently maintaining NRPE? >>> >> >> That'd be me. I'm not doing a very good job of advertising the >> releases, but 2.2 is available (whenever my ISP isn't doing something >> incompetent) at http://oss.op5.se/nagios. I haven't had time to do >> much other than making it a fair bit portable yet, although I'm >> working on it. > > > Thanks. You should do more promotion so that it becomes the "default" > version, rather than the 2.0 one. > > However, am I right in saying that the CVS repository for NRPE 2.2 is > on your own servers? Yes. > If so, I don't think this is in the spirit of > openess. Can I suggest that you use Sourceforge to host the NRPE code? You can suggest it, but it won't happen. The sourceforge CVS is near enough impossible to work with from sweden, due to a 400ms latency. I can set them up for public access on oss.op5.se though. > This way the changes made are clear to the community. > > In fact, I notice there is a NRPE project on SF: http:// > sourceforge.net/projects/nrpe. Looks like it was setup by Ethan and > includes yourself as a developer. Maybe this is the best place to house > the main code. > > >>> I've dropped an email to Ethan Galstad but haven't received a >>> reply. I seem to recall that NRPE was split off to a separate team >>> some time ago. >>> We've made a few tweaks to the configure script so that NRPE 2.0 >>> now compiles on Tru64 and Irix "out of the box". The patch is >>> below. It requires autoconf to regenerate the new configure script. >>> >> >> It would be very helpful if you could make the patch apply cleanly to >> the 2.2 sources, unless one of the portability fixes I've already >> made sorts it out. > > > Initial configure on Irix and Tru64 fails. I'll look into it and get > back to you. > If openssl isn't installed, it requires the --disable-ssl switch. I'm not too good with autoconf stuff, but I'll try and fix it as soon as I get some spare time on my hands. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ccyuen at hkcert.org Mon Sep 26 11:33:24 2005 From: ccyuen at hkcert.org (CC Yuen) Date: Mon, 26 Sep 2005 17:33:24 +0800 Subject: Is me again, basic question for Nagios... thanks 4 all reply..... In-Reply-To: <20050926044837.39714.qmail@web34806.mail.mud.yahoo.com> References: <20050926044837.39714.qmail@web34806.mail.mud.yahoo.com> Message-ID: <4337C064.50800@hkcert.org> Hi list, Because the time is very rush, so I hope some expert can help me here about the Nagios. 1. What language does it use to write the web interface (asp, php or pl?) 2. What is the full name of MIB? As I know this is something like a language pack deisgn for some device. Does it has some packs for cisco product? Where can I find this package? 3. According to last answer, how to export the log/static records the database? Can I setup something that make it export automatically? What kind of database can be use (MySQL, M$SQL....)? If it can export auto, where to find the script? 4. For the external plug-in, what kind of the pulg-in files? 5. Does the SMS alert sending through Internet or by modem or my mobile or? Does Nagios has already included this modules? If the alert is sending by modem, does the telecom provider need to support SMS too? 6. For the user/profiles setting, what kind or user rights can be set? (e.g. User A can read static, report.... cannot access real time static screen... User B can access all functions except the hardware monitoring... something like that) Hope the list expert can give me help!! Thanks a lot!! Chung ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Mon Sep 26 12:25:49 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Mon, 26 Sep 2005 11:25:49 +0100 (BST) Subject: To disable the "Host UP" notification Message-ID: <20050926102549.26400.qmail@web34811.mail.mud.yahoo.com> Hi Friends I am getting notification on "Host UP" , I would like to do something to do with this notification , I need to stop this notification only Which parameter I have to check Will disabling the stlaking option , will help in this aim Thanks Joseph JOhn ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabriele_d_g at yahoo.it Mon Sep 26 12:41:35 2005 From: gabriele_d_g at yahoo.it (Gabriele Di Giambelardini) Date: Mon, 26 Sep 2005 12:41:35 +0200 (CEST) Subject: chek manually the service Message-ID: <20050926104135.63639.qmail@web26509.mail.ukl.yahoo.com> hi, somebody know how i can check manually all my service, without wait the period for nagios 's check?? ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From engelenh at gmail.com Mon Sep 26 12:46:49 2005 From: engelenh at gmail.com (Hans Engelen) Date: Mon, 26 Sep 2005 12:46:49 +0200 Subject: To disable the "Host UP" notification In-Reply-To: <20050926102549.26400.qmail@web34811.mail.mud.yahoo.com> References: <20050926102549.26400.qmail@web34811.mail.mud.yahoo.com> Message-ID: <5383c62b0509260346247e2a58@mail.gmail.com> On 9/26/05, John Joseph wrote: > Hi Friends > I am getting notification on "Host UP" , I would > like to do something to do with this notification , I > need to stop this notification only > Which parameter I have to check > Will disabling the stlaking option , will help in > this aim Sounds like you need to tweak your contact settings (contacts.cfg or whatever file you define your contacts in). Specifically these 2 lines : service_notification_options w,u,c,r host_notification_options d,u,r From the manual : *host_notification_options*: This directive is used to define the host states for which notifications can be sent out to this contact. Valid options are a combination of one or more of the following: *d* = notify on DOWN host states, *u* = notify on UNREACHABLE host states, *r* = notify on host recoveries (UP states), and *f* = notify when the host starts and stops flapping. If you specify *n* (none) as an option, the contact will not receive any type of host notifications. *service_notification_options*: This directive is used to define the service states for which notifications can be sent out to this contact. Valid options are a combination of one or more of the following: *w* = notify on WARNING service states, *u* = notify on UNKNOWN service states, *c* = notify on CRITICAL service states, *r* = notify on service recoveries (OK states), and *f* = notify when the servuce starts and stops flapping. If you specify *n* (none) as an option, the contact will not receive any type of service notifications. Unless I misunderstand your question removing the 'r' option in host_notification_options should stop you from getting host up messages. Cheers, Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From JoeRegular at gov.nl.ca Mon Sep 26 13:19:53 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Mon, 26 Sep 2005 08:49:53 -0230 Subject: Nagios website and contact groups? Message-ID: Thanks Hendrik. This appears to be exact what I am looking for. Joe >>> Hendrik Baecker 2005-09-25 3:18 PM >>> Hi Joe, did you try it before posting or read the manual? :-) Yes, of course it is possible: For Version 2.x: http://nagios.sourceforge.net/docs/2_0/cgiauth.html For Version 1.x: http://nagios.sourceforge.net/docs/1_0/cgiauth.html Joe Regular schrieb: >Is it possible to configure Nagios so that people listed in my contactgroups.cfg file can only see their group when accessing the http://servername/nagios/ website? > >By this I mean, my Linux-Admins and only view Linux servers, Novell-Admins can only view Novell servers, NT-Admins can only view Windows servers, Switch-Admins can only view switches, and Helpdesk can only view printers. > >Thanks in advance, >Joe > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. >Download it for free - -and be entered to win a 42" plasma tv or your very >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcoaurelio153 at yahoo.com.br Mon Sep 26 14:26:35 2005 From: marcoaurelio153 at yahoo.com.br (=?iso-8859-1?q?Marco=20Aur=E9lio=20Miranda=20Pereira?=) Date: Mon, 26 Sep 2005 09:26:35 -0300 (ART) Subject: Sobre NRPE_NT Message-ID: <20050926122635.17859.qmail@web30912.mail.mud.yahoo.com> Peguei um tutorial na Net sobre o NRPE_NT e na hora de instalar ele na na m?quina(S.O Win XP Pro SP2) de u um erro. 1- C:/nrpe_nt/bin>nrpe_nt -c nrpe.cfg -i NRPE_NT service sucessfully installer! Esse deu OK e na hora de iniciar o servi?o d? um erro c:/nrpe_nt/bin>net start nrpe_nt falhou. Algu?m sabe o que pode ter acontecido levando em cosnidera??o que segui o caminho do tutorial passo a passo! Agrade?o desde j? Marco __________________________________________________ Fa?a liga??es para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Mon Sep 26 16:10:36 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 26 Sep 2005 09:10:36 -0500 Subject: Sobre NRPE_NT In-Reply-To: <20050926122635.17859.qmail@web30912.mail.mud.yahoo.com> References: <20050926122635.17859.qmail@web30912.mail.mud.yahoo.com> Message-ID: <1127743836.6138.2.camel@chi101100.int.tt.local> Dies ist eine englische Mailingliste. Und wir moechten, dass es so bleibt. Vielen Dank fuer Ihr Verstaendnis. C'est une liste anglaise d'exp?dition. Et nous la pr?f?rons pour rester de cette fa?on. Merci de la compr?hension. Ci? ? una lista inglese spedire. E la preferiamo per rimanere quel senso. Grazie per capire. Esta ? uma lista cujo o idioma ingl?s ? obrigat?rio, e preferimos manter desta maneira. Grato pela vossa compreens?o. Esto es una lista inglesa el enviar. Y la preferimos para permanecer esa manera. Gracias por entender. ????????????????????????? ???????????????? ????????????? ???? ??? ?? ?? ?? ??. ??? ? ??? ?? ?? ??? ??? ??? ????. ??? ?? ?? ?? ????. ???????????????????????? ? ???? This is an English mailing list. And we prefer it to stay that way. Thank you for understanding. On Mon, 2005-09-26 at 09:26 -0300, Marco Aur?lio Miranda Pereira wrote: > Peguei um tutorial na Net sobre o NRPE_NT e na hora de > instalar ele na na m?quina(S.O Win XP Pro SP2) de u um > erro. > > 1- C:/nrpe_nt/bin>nrpe_nt -c nrpe.cfg -i > NRPE_NT service sucessfully installer! Esse deu OK > > e na hora de iniciar o servi?o d? um erro > c:/nrpe_nt/bin>net start nrpe_nt > falhou. > > Algu?m sabe o que pode ter acontecido levando em > cosnidera??o que segui o caminho do tutorial passo a > passo! > > Agrade?o desde j? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From wm at cofman.com Mon Sep 26 16:16:33 2005 From: wm at cofman.com (William Miles) Date: Mon, 26 Sep 2005 16:16:33 +0200 Subject: No perfdata collected Message-ID: Hi List I am running Nagios 1.2 on a Suse 9.1. I have installed groundwork's monarch to manage/configure nagios, enabled perfdata in the nagios config, specified a perfdata command(for testing purposes): /usr/bin/printf "$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$PERFDATA$\n" >> /tmp/host-perfdata-test.txt , compiled nagios with --with-default-perfdata. I have done everything as described on http://nagios.sourceforge.net/docs/1_0/xpddefault.html, but nagios is simply not collecting any performance data. I want to use nagios_grapher to display perfomance graphs. Any feedback will be greatly appreaciated! Cheers William ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Mon Sep 26 16:16:22 2005 From: td3201 at gmail.com (Terry) Date: Mon, 26 Sep 2005 09:16:22 -0500 Subject: send a test page In-Reply-To: <1b9e8381b9ec89.1b9ec891b9e838@shaw.ca> References: <1b9e8381b9ec89.1b9ec891b9e838@shaw.ca> Message-ID: <8ee06101050926071647471bd3@mail.gmail.com> I monitor the webmin service and write a script to take it down for 5 minutes and bring it back up. This is a real test of the whole system. I also have links in the side bar to test both warning and critical notifications: #!/bin/bash hostname=plaut01 output=TEST state=$1 echo "Content-type: text/html" echo "" echo "" echo "" echo "" echo "" echo "" if /usr/lib/nagios/plugins/eventhandlers/submit_check_result $hostname "Test Notification" $state $output;then echo -n "Test notification sent!
" echo -n "Check it out" else echo -n "Something wrong happened, try again" fi /usr/lib/nagios/plugins/eventhandlers/submit_check_result $hostname "Test Notification" 0 $output echo "" It's pretty ugly but it works. On 9/25/05, Greg King wrote: > > From: Rossella Mariotti-Jones [mailto:rossella at chemeketa.edu] > > Sent: Friday, September 23, 2005 12:33 PM > > To: nagios-users at lists.sourceforge.net; > > nagiosplug-help at lists.sourceforge.net > > Subject: [Nagios-users] send a test page > > > > > > > > Hi all, does anybody how to send test pages to pagers from within > > Nagios? I refuse to think that the only way to do it is setup a test > > group and unplug > > a box, there's gotta be another way! Thanks in advance. > > > > > Here is a manual way the test any command, as follows: > > 1. log into nagios web interface as an admin, and "View config", commands. > 2. Find the command you want to test, and select all the code, and right click "copy" 3. ssh into the nagios server. Log in with the id that Nagios runs as, or issue "su - " command after login as root. > 4. enter command "vi testcmd.sh", go to insert mode and paste command to be tested. Remove all trailing "$" from the Nagios macros, and save command. Removing these training $ is only necessary for email or pager ids but it pretties up the test results (they will have trailing $ if you don't which will be ok for most things, except for email ids or pager #). > 5. Set environment variables for each of the Nagios macros - ie SERVICEDESC=Myservice, NOTIFICATIONTYPE=Alert, etc. > 6. >chmod +x testcmd.sh > 7. >. testcmd.sh - this will run the command as Nagios would. Be sure to source the command to keep environment variables (ie >source testcmd.sh or >. testcmd.sh) > > While this is not strictly "within Nagios" I have used it a few times to debug flakey Nagios commands. > > Good luck! > > Regards, Greg > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 26 17:09:30 2005 From: marc at ena.com (Marc Powell) Date: Mon, 26 Sep 2005 10:09:30 -0500 Subject: Is me again, basic question for Nagios... thanks 4 all reply..... Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of CC Yuen > Sent: Monday, September 26, 2005 4:33 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Is me again, basic question for Nagios... thanks 4 > all reply..... > > Hi list, > > Because the time is very rush, so I hope some expert can help me here > about the Nagios. ... > 1. What language does it use to write the web interface (asp, php or pl?) > C - http://cvs.sourceforge.net/viewcvs.py/nagios/nagios/cgi/ > 2. What is the full name of MIB? As I know this is something like a > language pack deisgn for some device. Does it has some packs for cisco > product? Where can I find this package? This is unclear. Nagios doesn't directly use MIBs necessarily. If you're looking for more information on MIBs in general then a google search for SNMP would probably be in order or a peek at http://www.mibdepot.com. There is a project to develop a Nagios specific MIB and it may be what you're looking for. It can be found here - http://sourceforge.net/project/showfiles.php?group_id=29880&package_id=1 53315 > 3. According to last answer, how to export the log/static records the > database? Can I setup something that make it export automatically? > What kind of database can be use (MySQL, M$SQL....)? If it can export > auto, where to find the script? Nagios versions 1.x can natively store _current_ host/service/program data in either postgres or mysql. Nagios 2.x requires the nagios-db addon module for similar functionality. Nagios will always store historical data in flat files. http://nagios.sourceforge.net/docs/1_0/xdata-db.html http://nagios.sourceforge.net/docs/2_0/whatsnew.html, #14 http://sourceforge.net/projects/nagios-db > 4. For the external plug-in, what kind of the pulg-in files? Unclear. There are many kinds of plugins written in many different languages (shell, perl, C, python, etc). You can always download them and look for yourself from http://www.nagios.org/download/ or http://nagiosplug.sf.net. > 5. Does the SMS alert sending through Internet or by modem or my However you configure it. You have great flexibility in this regard. > mobile or? Does Nagios has already included this modules? If the alert Nagios relies on external programs for all notification delivery. If you can send an SMS from the command line in a non-interactive manner then Nagios can likely do so using that program. Some FAQs that might be useful to you -- http://www.nagios.org/faqs/viewfaq.php?faq_id=65 http://www.nagios.org/faqs/viewfaq.php?faq_id=279 http://www.nagios.org/faqs/viewfaq.php?faq_id=220 > 6. For the user/profiles setting, what kind or user rights can be set? > (e.g. User A can read static, report.... cannot access real time > static screen... User B can access all functions except the hardware > monitoring... something like that) Users by default can view and control hosts and services for which they are an authorized contact. You can grant additional permissions to specific users to view config files, see/control all hosts, etc. Nagios does not implement function specfic ACLs. http://nagios.sourceforge.net/docs/1_0/cgiauth.html There is no read-only view but it can be emulated by disabling external commands (affects everyone) or by using .htaccess to limit access to cmd.cgi to specific users. There's information in the archives on how to do this. HTH, -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcoaurelio153 at yahoo.com.br Mon Sep 26 17:42:45 2005 From: marcoaurelio153 at yahoo.com.br (=?iso-8859-1?q?Marco=20Aur=E9lio=20Miranda=20Pereira?=) Date: Mon, 26 Sep 2005 12:42:45 -0300 (ART) Subject: Comandos externos do nagios Message-ID: <20050926154246.83687.qmail@web30908.mail.mud.yahoo.com> Estou com problemas na hora de realizar um comando externo pela interface web, e aparece esse mensagem abaixo. J? experimentei alerar permiss?es e nada resolveu. Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. se algu?m puder me ajudar agrade?o desde j?! Marco Aur?lio _______________________________________________________ Novo Yahoo! Messenger com voz: liga??es, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! www.yahoo.com.br/messenger/ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Mon Sep 26 17:50:14 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 26 Sep 2005 10:50:14 -0500 Subject: Comandos externos do nagios In-Reply-To: <20050926154246.83687.qmail@web30908.mail.mud.yahoo.com> References: <20050926154246.83687.qmail@web30908.mail.mud.yahoo.com> Message-ID: <1127749814.6138.8.camel@chi101100.int.tt.local> Dies ist eine englische Mailingliste. Und wir moechten, dass es so bleibt. Vielen Dank fuer Ihr Verstaendnis. C'est une liste anglaise d'exp?dition. Et nous la pr?f?rons pour rester de cette fa?on. Merci de la compr?hension. Ci? ? una lista inglese spedire. E la preferiamo per rimanere quel senso. Grazie per capire. Esta ? uma lista cujo o idioma ingl?s ? obrigat?rio, e preferimos manter desta maneira. Grato pela vossa compreens?o. Esto es una lista inglesa el enviar. Y la preferimos para permanecer esa manera. Gracias por entender. ????????????????????????? ???????????????? ????????????? ???? ??? ?? ?? ?? ??. ??? ? ??? ?? ?? ??? ??? ??? ????. ??? ?? ?? ?? ????. ???????????????????????? ? ???? This is an English mailing list. And we prefer it to stay that way. Thank you for understanding. On Mon, 2005-09-26 at 12:42 -0300, Marco Aur?lio Miranda Pereira wrote: > Estou com problemas na hora de realizar um comando > externo pela interface web, e aparece esse mensagem > abaixo. J? experimentei alerar permiss?es e nada > resolveu. > > Error: Could not stat() command file > '/usr/local/nagios/var/rw/nagios.cmd'! > > The external command file may be missing, Nagios may > not be running, and/or Nagios may not be checking > external commands. > > An error occurred while attempting to commit your > command for processing. > > se algu?m puder me ajudar agrade?o desde j?! > > Marco Aur?lio -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From eohimor at ipnxnigeria.net Mon Sep 26 18:27:11 2005 From: eohimor at ipnxnigeria.net (Efe Ohimor) Date: Mon, 26 Sep 2005 17:27:11 +0100 Subject: What I am doing wrong with version 2.01b Message-ID: <006e01c5c2b7$2589f8d0$e603320a@ns7> Hello Forum, I tried to run Nagios for the first time using the command below [root at nms etc]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg but got the following error Nagios 2.0b1 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 12-15-2005 License: GPL Reading configuration data... Error: Invalid hostgroup object directive 'contact_groups'. Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 5. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. My hostgroup.cfg file is shown below # 'novell-servers' host group definition define hostgroup{ hostgroup_name database-servers alias Novell Servers contact_groups datacenter-admins members excellence } Can anyone tell me what I am doing wrong? Efe Ohimor ipNX Nigeria Limited, 4,Balarabe Musa Crescent, Victoria Island, Lagos. Tel :4619943-6 ext 1216 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Sep 26 19:06:17 2005 From: marc at ena.com (Marc Powell) Date: Mon, 26 Sep 2005 12:06:17 -0500 Subject: What I am doing wrong with version 2.01b Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Efe Ohimor > Sent: Monday, September 26, 2005 11:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] What I am doing wrong with version 2.01b > > Hello Forum, > I tried to run Nagios for the first time using the command below > > [root at nms etc]# /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg -v is just to verify your config files and then exit. To run in daemon mode you need to use -d or the init script. Running -v to check your config files is good practice however and will catch configuration errors like the one below. > but got the following error > > Nagios 2.0b1 > Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org > ) > Last Modified: 12-15-2005 > License: GPL > > Reading configuration data... > > Error: Invalid hostgroup object directive 'contact_groups'. > Error: Could not add object property in file > '/usr/local/nagios/etc/hostgroups.cfg' on line 5. > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some > variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > > My hostgroup.cfg file is shown below > > # 'novell-servers' host group definition > define hostgroup{ > hostgroup_name database-servers > alias Novell Servers > contact_groups datacenter-admins > members excellence > } > Can anyone tell me what I am doing wrong? The contact_groups directive is no longer supported in a hostgroup definition. http://nagios.sourceforge.net/docs/2_0/whatsnew.html, #2 http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host >From previous posts it appears that you may be upgrading from 1.2 to 2.x. If that is the case there are several other things you'll probably want to look at detailed in the changelog. Also, 2.0b1 is old. If you're going to run the beta you should use the latest (2.0b4). -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bbateman at nps.k12.va.us Mon Sep 26 19:06:54 2005 From: bbateman at nps.k12.va.us (Bryan Bateman) Date: Mon, 26 Sep 2005 13:06:54 -0400 Subject: How does Nagios determine system time Message-ID: I have an test install of Nagios running in Eastern Daylight Time, but the time reported by Nagios is Pacific Daylight time. Is there a configuration setting to enable the correct time zone???? ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 26 19:31:58 2005 From: marc at ena.com (Marc Powell) Date: Mon, 26 Sep 2005 12:31:58 -0500 Subject: How does Nagios determine system time Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Bryan Bateman > Sent: Monday, September 26, 2005 12:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How does Nagios determine system time > > I have an test install of Nagios running in Eastern Daylight Time, but > the time reported by Nagios is Pacific Daylight time. Is there a > configuration setting to enable the correct time zone???? Not within Nagios. It uses the localtime() C function to convert time_t (seconds since the epoch) adjusting for the local time zone the server is configured for. I'll bet if you run the following script it'll show the same time information as Nagios -- perl -e 'print scalar(localtime()) . "\n";' If you're using linux you can change your timezone from the command line by following these instructions -- http://www.linuxforum.com/linux_tutorials/68/1.php If you're using a GUI or other OS you'll need to consult their documentation. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmwalker at itgroundwork.com Mon Sep 26 19:38:46 2005 From: jmwalker at itgroundwork.com (John Mark Walker) Date: Mon, 26 Sep 2005 10:38:46 -0700 Subject: Web seminar on GroundWork Foundation Message-ID: <200509261038.47393.jmwalker@itgroundwork.com> Just wanted to send a quick note to let you know that we're hosting a web seminar tomorrow on using GroundWork Foundation. Foundation is a GPL'd, java-based data abstraction layer that we've designed to work with Nagios. You can customize it to work with any tool from which you need data, but it works with Nagios "out of the box". The seminar will take place Tuesday, 9/27, 11am PST. It will be archived for those of you unable to attend at that time. Here's Foundation's SF.net project page: http://sf.net/projects/gw-foundation/ Here's documentation: http://www.itgroundwork.com/products/gwf-doc.html And here's where you can register for the seminar: https://itgroundworkevents.webex.com/itgroundworkevents/onstage/g.php?d=772009400&t=a For those of you, like me, who can't use Webex, I'm going to arrange for some IRC-based chats in the future. Thanks, John Mark Walker GroundWork Open Source Solutions ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmwalker at itgroundwork.com Mon Sep 26 19:41:35 2005 From: jmwalker at itgroundwork.com (John Mark Walker) Date: Mon, 26 Sep 2005 10:41:35 -0700 Subject: Web seminar on GroundWork Foundation In-Reply-To: <200509261038.47393.jmwalker@itgroundwork.com> References: <200509261038.47393.jmwalker@itgroundwork.com> Message-ID: <200509261041.36954.jmwalker@itgroundwork.com> On Monday 26 September 2005 10:38 am, John Mark Walker wrote: > > Here's Foundation's SF.net project page: > http://sf.net/projects/gw-foundation/ > I'm really sorry for responding to my own post, but that URL should be http://sf.net/projects/gwfoundation/ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Mon Sep 26 21:38:07 2005 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 26 Sep 2005 16:38:07 -0300 Subject: Comandos externos do nagios In-Reply-To: <20050926154246.83687.qmail@web30908.mail.mud.yahoo.com> References: <20050926154246.83687.qmail@web30908.mail.mud.yahoo.com> Message-ID: <1127763487.4563.25.camel@localhost> On Mon, 2005-09-26 at 12:42 -0300, Marco Aur?lio Miranda Pereira wrote: > Estou com problemas na hora de realizar um comando > externo pela interface web, e aparece esse mensagem > abaixo. J? experimentei alerar permiss?es e nada > resolveu. Apache must be executed with the same user that runs nagios (usually nagios:nagios :). Otherwise, it would not be able to place commands to Nagios. (I think you should RTFM ;) Cheers :PS::PortugueSe: O apache deve ser executado pelo mesmo usu?rio que executa o Nagios, sen?o nada feito. Como est?o as permiss?es? Vc sabe pra que serve o arquivo nagios.cmd? Leu a documenta??o? http://nagios.sourceforge.net/docs/1_0/toc.html Qual vers?o do Nagios? http://nagios.sourceforge.net/docs/2_0/toc.html Esse erro, ocorre quando o nagios n?o encontra o arquivo nagios.cmd Esse arquivo ? utilizado para enviar comandos para o nagios: http://www.nagios.org/developerinfo/externalcommands/commandlist.php -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Mon Sep 26 22:32:43 2005 From: gardealuis at gmail.com (Luis Gardea) Date: Mon, 26 Sep 2005 13:32:43 -0700 Subject: Problemas con check_dchp Message-ID: <44f056cc05092613327c94b3c7@mail.gmail.com> Hola alguien ha esta trabajando con check_dhcp ya que siempre me aparece un error del DHCPOFFERS Les agradeceria sus comenterios. FC3 Nagios 2.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Mon Sep 26 22:49:35 2005 From: teng at dataway.com (Tedman Eng) Date: Mon, 26 Sep 2005 13:49:35 -0700 Subject: Problemas con check_dchp Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2BAC@dw-mail.dataway.com> I'm not sure what your question says, but here's a guess at the answer. DHCP is a local network protocol. If the DHCP server you're trying to check is on a different network from your nagios server, you either need to have an intermediate server/router that provides DHCP relay, or execute the check_dhcp from a machine in the same network as the DHCP server. -----Original Message----- From: Luis Gardea [mailto:gardealuis at gmail.com] Sent: Monday, September 26, 2005 1:33 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problemas con check_dchp Hola alguien ha esta trabajando con check_dhcp ya que siempre me aparece un error del DHCPOFFERS Les agradeceria sus comenterios. FC3 Nagios 2.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Sep 26 22:52:16 2005 From: marc at ena.com (Marc Powell) Date: Mon, 26 Sep 2005 15:52:16 -0500 Subject: Problemas con check_dchp Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Luis Gardea > Sent: Monday, September 26, 2005 3:33 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problemas con check_dchp > > Hola alguien ha esta trabajando con check_dhcp ya que siempre me aparece > un error del DHCPOFFERS > Les agradeceria sus comenterios. > > FC3 > Nagios 2.0 > Did Nagios just get press on some Spanish language site? Esto es una lista inglesa el enviar. Y la preferimos para permanecer esa manera. Gracias por entender. What error are you seeing? check_dhcp must be run on the same subnet as your DHCP server. Are you doing so? What do your host, service and command definitions look like? -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Sep 26 23:57:06 2005 From: marc at ena.com (Marc Powell) Date: Mon, 26 Sep 2005 16:57:06 -0500 Subject: Problemas con check_dchp Message-ID: Please respond on-list at all times so that others may learn from your experience in the future by searching the archives. > -----Original Message----- > From: Luis Gardea [mailto:gardealuis at gmail.com] > Sent: Monday, September 26, 2005 4:07 PM > To: Marc Powell > Subject: Re: [Nagios-users] Problemas con check_dchp > > Hi > > My problem is that I want to put in my nagios server the server of DCHP, > But when I try monitoring I get allway the next error. > > [tlacuilo at netids libexec]# ./check_dhcp -s netdns > DHCP problem: No DHCPOFFERs were received. -s is expecting an IP address, not a name -- Usage: check_dhcp [-s serverip] [-r requestedip] [-t timeout] [-i interface] [-v] -s, --serverip=IPADDRESS IP address of DHCP server that we must hear from Also try adding a -v flag for more verbose output. That may provide interesting information for further troubleshooting. > > I don't know if the problem are the firewall or toher thing. Neither do we really. Can another machine on the same subnet obtain an IP address from the DHCP server? Are you running a firewall on the machine running check_dhcp that might be preventing DHCP from working? Do you see entries in your firewall logs indicating that it's being blocked? Does your DHCP server specifically ignore requests from that machine? [chop] -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at staff.esc.net.au Tue Sep 27 06:30:26 2005 From: andrew at staff.esc.net.au (Andrew Xenides) Date: Tue, 27 Sep 2005 14:00:26 +0930 Subject: notify-by-pager / check_disk problem Message-ID: <20050927043408.1167F61F1BF@sr-gw.esc.net.au> Hi, Im using nagios (duh) to send alerts via sms when my servers disks get full, my problem is that the output from the check_disk command is greater than the maximum allowed characters (160) hence my $OUTPUT$ variable is over 160 chars hence the message being sent to the sms gateway is way over 160 chars. Is there anyway to manipulate this $OUTPUT$ before sending it to the gateway? Thanks andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From oliver.steenbuck at lhsystems.com Tue Sep 27 09:37:23 2005 From: oliver.steenbuck at lhsystems.com (oliver.steenbuck at lhsystems.com) Date: Tue, 27 Sep 2005 09:37:23 +0200 Subject: Migrating from 1.0 to 2.x Message-ID: <79BF0B53C4A28446A097D6170CF4C69955EE10@xw2k3-hammbx-03.ads.dlh.de> A quick lookover in the direction of the docs and the FAQ looked like I could just transfer service (and other) configurations from Version 1.2 to 2.x Am I right or is there a hidden danger lurking under the friendly look ? Kind Regards Hexren -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue Sep 27 11:37:48 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 27 Sep 2005 11:37:48 +0200 Subject: Migrating from 1.0 to 2.x In-Reply-To: <79BF0B53C4A28446A097D6170CF4C69955EE10@xw2k3-hammbx-03.ads.dlh.de> References: <79BF0B53C4A28446A097D6170CF4C69955EE10@xw2k3-hammbx-03.ads.dlh.de> Message-ID: <433912EC.4040800@op5.se> oliver.steenbuck at lhsystems.com wrote: > A quick lookover in the direction of the docs and the FAQ looked like > I could just transfer service (and other) configurations from Version 1.2 to 2.x > Am I right or is there a hidden danger lurking under the friendly look > ? > It seems you didn't read the WHAT'S NEW section. Notably, macros have changed, as well as the location of contact_groups for host objects. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From georg.borgstrom at forsakringskassan.se Tue Sep 27 11:40:45 2005 From: georg.borgstrom at forsakringskassan.se (=?iso-8859-1?Q?Borgstr=F6m_Georg?=) Date: Tue, 27 Sep 2005 11:40:45 +0200 Subject: Force check_nrpe to use a particular interface Message-ID: Hi, Our Nagios server has multiple interfaces. Is it possible to force check_nrpe to use a particular interface when contacting the nrpe daemon on clients? /Georg ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Tue Sep 27 12:32:58 2005 From: chris at aidworld.org (Chris Wilson) Date: Tue, 27 Sep 2005 11:32:58 +0100 Subject: Problemas con check_dchp In-Reply-To: References: Message-ID: <1127817178.6891.21.camel@localhost> Hi Marc and Luis, On Mon, 2005-09-26 at 22:57, Marc Powell wrote: > > From: Luis Gardea [mailto:gardealuis at gmail.com] [...] > > My problem is that I want to put in my nagios server the server of > DCHP, > > But when I try monitoring I get allway the next error. > > > > [tlacuilo at netids libexec]# ./check_dhcp -s netdns > > DHCP problem: No DHCPOFFERs were received. [...] > > I don't know if the problem are the firewall or toher thing. > > Neither do we really. Can another machine on the same subnet obtain an > IP address from the DHCP server? Are you running a firewall on the > machine running check_dhcp that might be preventing DHCP from working? > Do you see entries in your firewall logs indicating that it's being > blocked? Does your DHCP server specifically ignore requests from that > machine? There is an "issue" with ISC DHCPD (by design I think) which makes it almost impossible to run a client on the DHCP server - something to do with listening on the loopback interface and the address space bound to that interface. I heard that others were able to make it work with some black magic, but I never succeeded. The short answer is that you can't check DHCP from the same machine - or at least expect problems if you do. How about using check_by_ssh or check_nrpe to execute the DHCP check on another machine? Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Sep 27 13:33:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 27 Sep 2005 13:33:21 +0200 Subject: Force check_nrpe to use a particular interface In-Reply-To: References: Message-ID: <43392E01.6050200@op5.se> Borgstr?m Georg wrote: > Hi, > Our Nagios server has multiple interfaces. Is it possible to force check_nrpe > to use a particular interface when contacting the nrpe daemon on clients? No. The interface is selected based on the routing tables you've set up in the linux kernel. If your traffic is sent on wrong interface you've done something wrong when configuring the various routes and/or networks+netmasks. man 8 ip man 8 route It *is* ofcourse possible to force outgoing traffic to go via a particular interface (portably, traffic can be sent from a particular address assigned to one of the network interfaces - man 2 bind for details). This is usually considered terribly bad practice, since the same effect can be achieved through proper routing on the box initiating the connection. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Tue Sep 27 12:08:18 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Tue, 27 Sep 2005 11:08:18 +0100 (BST) Subject: =?iso-8859-1?q?=93check=5Fprocs=20=93=20giving=20the=20same=20waring=20an?= =?iso-8859-1?q?d=20critical=20numbers=20for=20different=20PC?= Message-ID: <20050927100818.76389.qmail@web34808.mail.mud.yahoo.com> Hi all I had observer that , I am getting the same , warning and critical numbers but different no of processes for different host checked The command definition I have # 'check_procs_CPU' command definition 37 define command{ command_name check_procs_CPU command_line $USER1$/check_procs -w 10 -c 20 --metric=CPU } # 'check_procs_morethank' command definition 38 define command{ command_name check_procs_morethank command_line $USER1$/check_procs -w 50000 -c 100000 --metric=VSZ } I get 3 crit, 2 warn out for all the Machines checked so far , ??but with different no of ?process? ?? since this command does not have option of specifying the host , I assume the host detail parameter is passed on by the nagios Thanks Joseph John ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Sep 27 14:41:36 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 27 Sep 2005 14:41:36 +0200 Subject: =?windows-1252?Q?=93check=5Fprocs_=93_giv?= =?windows-1252?Q?ing_the_same_waring_and_critical_numbers_?= =?windows-1252?Q?for_different_PC?= In-Reply-To: <20050927100818.76389.qmail@web34808.mail.mud.yahoo.com> References: <20050927100818.76389.qmail@web34808.mail.mud.yahoo.com> Message-ID: <43393E00.6050804@op5.se> John Joseph wrote: > Hi all > I had observer that , I am getting the same , > warning and critical numbers but different no of > processes for different host checked > The command definition I have > # 'check_procs_CPU' command definition 37 > define command{ > command_name > check_procs_CPU > command_line > $USER1$/check_procs -w 10 -c 20 --metric=CPU > } > > # 'check_procs_morethank' command definition 38 > define command{ > command_name > check_procs_morethank > command_line > $USER1$/check_procs -w 50000 -c 100000 --metric=VSZ > } > > I get 3 crit, 2 warn out for all the Machines > checked so far , ??but with different no of ?process? > ?? First off, I believe check_procs report the number of processes matching the various different criteria. --metric=VSZ reports the virtual size of a process (physical ram + swap memory used). --metric=CPU measures cpu time (I think), so that would be another set of processes. Second off (??), processes aren't usually constant. Each login over ssh, for instance, generally spawns at least two new processes (one instance of sshd, one instance of the shell). > since this command does not have option of > specifying the host , I assume the host detail > parameter is passed on by the nagios You assume too much. The "local" plugins (check_disk, check_users, check_procs, check_load and friends) need to reside on the host you want to monitor. There are several methods of executing the checks on the remote host; NRPE, SSH, NSCA or any of a plethora of other methods. This also explains why you're seeing a different number of processes. Nagios fires up quite a lot of them in its normal course. It'd be weird if the measurements stayed the same for any extended period of time. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sivan.deray at net-aptitude.fr Tue Sep 27 14:45:44 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Tue, 27 Sep 2005 14:45:44 +0200 Subject: - Remote Log file with NSCA \ Syslog Message-ID: <4E13BD0442DACA4D9606CAD98924F09A45D6C5@srv-nap-atlas-1.net-aptitude.fr> Hi, Does anybody uses Syslog or Syslog-ng with nsca to send message to Nagios ? Otherwise, is there a way to analyse Remote linux\unix like log with nagios ? Thanks in advance Sivan DERAY IT Security Engineer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjk_saji at yahoo.com Tue Sep 27 12:52:04 2005 From: jjk_saji at yahoo.com (John Joseph) Date: Tue, 27 Sep 2005 11:52:04 +0100 (BST) Subject: To disable the "Host UP" notification In-Reply-To: <5383c62b0509260346247e2a58@mail.gmail.com> References: <5383c62b0509260346247e2a58@mail.gmail.com> Message-ID: <20050927105204.39016.qmail@web34803.mail.mud.yahoo.com> Hi Hans ThanksFor the mail I did the changes in the contacts.cfg file , my contacts.cfg file is as below ############################################ # 'aliasJose' contact definition 0 # #Alias Mail define contact{ contact_name aliasJose alias aliasJoseph host_notification_period 24x7 host_notification_options d,u host_notification_commands notify-by-email service_notification_period 24x7 service_notification_options w,u,c service_notification_commands notify-by-email email joseph at nagios.test.ae } What I had observed is that , I gets this Host UP notification for the services which are critical or down , not for all the services , ie it has something to do with services.cfg file , there also I had removed the ?r? options my services.cfg has the following # 'procs-CPU-10%-20%' service definition 67 # # #service_id 414 define service{ service_description procs-CPU-10%-20% host_name Appsprd check_command check_procs_CPU max_check_attempts 20 normal_check_interval 3 retry_check_interval 20 active_checks_enabled 1 check_period 24x7 freshness_threshold 0 low_flap_threshold 0 high_flap_threshold 0 notification_interval 20 notification_period 24x7 notification_options w,u,c notifications_enabled 1 contact_groups IT-Support stalking_options o,w,u,c } # 'procs-CPU-10%-20%' service definition 68 # # #service_id 415 define service{ service_description procs-CPU-10%-20% host_name AppsPrdDb check_command check_procs_CPU max_check_attempts 20 normal_check_interval 3 retry_check_interval 20 active_checks_enabled 1 check_period 24x7 freshness_threshold 0 low_flap_threshold 0 high_flap_threshold 0 notification_interval 20 notification_period 24x7 notification_options w,u,c notifications_enabled 1 contact_groups IT-Support stalking_options o,w,u,c } # 'procs-CPU-10%-20%' service definition 69 # # #service_id 416 define service{ service_description procs-CPU-10%-20% host_name AppsTest check_command check_procs_CPU max_check_attempts 20 normal_check_interval 3 retry_check_interval 20 active_checks_enabled 1 check_period 24x7 freshness_threshold 0 low_flap_threshold 0 high_flap_threshold 0 notification_interval 20 notification_period 24x7 notification_options w,u,c notifications_enabled 1 contact_groups IT-Support stalking_options o,w,u,c } Thanks Joseph --- Hans Engelen wrote: > On 9/26/05, John Joseph wrote: > > > Hi Friends > > I am getting notification on "Host UP" , I would > > like to do something to do with this notification > , I > > need to stop this notification only > > Which parameter I have to check > > Will disabling the stlaking option , will help in > > this aim > > Sounds like you need to tweak your contact settings > (contacts.cfg or > whatever file you define your contacts in). > Specifically these 2 lines : > service_notification_options w,u,c,r > host_notification_options d,u,r > From the manual : > *host_notification_options*: This directive is > used to define the host > states for which notifications can be sent out to > this contact. Valid > options are a combination of one or more of the > following: *d* = notify on > DOWN host states, *u* = notify on UNREACHABLE host > states, *r* = notify on > host recoveries (UP states), and *f* = notify when > the host starts and stops > flapping. If you specify *n* (none) as an option, > the contact will not > receive any type of host notifications. > *service_notification_options*: This > directive is used to define the service states for > which notifications can > be sent out to this contact. Valid options are a > combination of one or more > of the following: *w* = notify on WARNING service > states, *u* = notify on > UNKNOWN service states, *c* = notify on CRITICAL > service states, *r* = > notify on service recoveries (OK states), and *f* = > notify when the servuce > starts and stops flapping. If you specify *n* (none) > as an option, the > contact will not receive any type of service > notifications. > Unless I misunderstand your question removing the > 'r' option in > host_notification_options should stop you from > getting host up messages. > Cheers, > Hans > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Tue Sep 27 15:25:08 2005 From: f1216 at yahoo.com (Fred) Date: Tue, 27 Sep 2005 06:25:08 -0700 (PDT) Subject: - Remote Log file with NSCA \ Syslog In-Reply-To: <4E13BD0442DACA4D9606CAD98924F09A45D6C5@srv-nap-atlas-1.net-aptitude.fr> References: <4E13BD0442DACA4D9606CAD98924F09A45D6C5@srv-nap-atlas-1.net-aptitude.fr> Message-ID: <20050927132508.82352.qmail@web31905.mail.mud.yahoo.com> We use syslog-ng as an aggregator with syslogd's configured on multiple nodes to forward messages to a consolidated log file. We then use a custom plug-in to match rules against the consolidated log to generate alerts and create an HTML log of interesting happenings for each individual node. I avoid NRPE and NSCA as using NRPE too often on a network causes a huge performance skew on MPI jobs. It is fine for occassional use, but if you are using it more then once every few minutes it can disrupt large jobs that have small MPI synchronization windows. Our single biggest performance issue across our cluster was NRPE. We were using NRPE for 3 plug-ins, 1 at 1 minute intervals and 2 at 5 minutes from our headnode to each compute node. At 8 nodes that is 24 invocations. At 128 nodes that is 384 calls which Nagios attempts to spread out. If you do not have these kinds of requirements NRPE is a perfectly reasonable and well behaved, however, I would not suggest its use for something like logging especially if you are doing SSL connections. NSCA with high volume might get you into trouble with the nagios FIFO. If you don't configure nagios to read the FIFO aggressively (default is 15s) then you can easily fill the FIFO and cause NSCA to block and hang and therefore pend all jobs across the system that are writing to it. Most filesystems have a 4k block size so your FIFO will block pretty quickly if nagios only polls it every 15 seconds. If you are using distributed monitoring, nagios can spawn many ocsp commands very quickly all of which create a connection to NSCA which in turn forks many children all backed up writing to the FIFO. (this assumes your submit script for ocsp calls send_nsca). You could always configure it to use a separate file/fifo and avoid these issues, but it would be easier to just use syslog-ng as you get the filtering capability as a bonus. The simplest thing to do might be to just configure syslogd to forward a class of messages to another syslogd if that is all you need. -FredC --- Sivan DERAY wrote: > > Hi, > > Does anybody uses Syslog or Syslog-ng with nsca to send message to > Nagios ? > > Otherwise, is there a way to analyse Remote linux\unix like log with > nagios ? > > Thanks in advance > > > > Sivan DERAY > IT Security Engineer > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gliebe at fhv.at Tue Sep 27 15:36:13 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Tue, 27 Sep 2005 15:36:13 +0200 Subject: check_disk SunOS 5.9 Message-ID: <1127828173.838.40.camel@glr-nb.dh.uclv.net> Hi, I've downloaded and installed the nagios plugins from http://non-gnu.uvt.nl/pub/nrpe/solaris/solaris9/ for SunOS 5.9 While running check_disk, I've got the following Error: # ./check_disk -w 10% -c 5% -p / Disk "/" not mounted or nonexistant Has anyone a running check_disk plugin for SunOS 5.9 (Sol9) because my plugin runs the 'df' command as followed: # strings check_disk | grep df /usr/local/bin/df -Pk # which df /usr/bin/df # df -Pk / df: unknown option: P Usage: df [-F FSType] [-abeghklntVv] [-o FSType-specific_options] [directory | block_device | resource] Thanks in Adcance. Richard ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Sep 27 15:44:56 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 27 Sep 2005 15:44:56 +0200 Subject: check_disk SunOS 5.9 In-Reply-To: <1127828173.838.40.camel@glr-nb.dh.uclv.net> References: <1127828173.838.40.camel@glr-nb.dh.uclv.net> Message-ID: <43394CD8.7010308@op5.se> Richard Gliebe wrote: > Hi, > > I've downloaded and installed the nagios plugins from > http://non-gnu.uvt.nl/pub/nrpe/solaris/solaris9/ for SunOS 5.9 > > While running check_disk, I've got the following Error: > > # ./check_disk -w 10% -c 5% -p / > Disk "/" not mounted or nonexistant > > Has anyone a running check_disk plugin for SunOS 5.9 (Sol9) > because my plugin runs the 'df' command as followed: > > # strings check_disk | grep df > /usr/local/bin/df -Pk > > # which df > /usr/bin/df > > # df -Pk / > df: unknown option: P > Usage: df [-F FSType] [-abeghklntVv] [-o FSType-specific_options] > [directory | block_device | resource] > The -P is supposed to force POSIX behaviour. I don't know if it's required by POSIX, but practically all df's implement it (even if only ignoring it) for that very reason. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sivan.deray at net-aptitude.fr Tue Sep 27 16:05:52 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Tue, 27 Sep 2005 16:05:52 +0200 Subject: - Remote Log file with NSCA \ Syslog Message-ID: <4E13BD0442DACA4D9606CAD98924F09A45D6CD@srv-nap-atlas-1.net-aptitude.fr> Thanks for your excellent response !! Thank you for the time you spent answering !! The best thing would be for us to be able to foward specific log (ex : error on a service stopped) to a specific pipe or log file , and then let a demon catch the "new message" so to send it to Nagios's log already configured to be injected in the nagios webinterface (as i'm already doing for Windows event log "thanks to steve shipway) and then to notify us that an error has occured ... Hope i'm explicit enough Sivan D -----Message d'origine----- De : Fred [mailto:f1216 at yahoo.com] Envoy? : mardi 27 septembre 2005 15:25 ? : Sivan DERAY; Nagios User Objet : Re: [Nagios-users] - Remote Log file with NSCA \ Syslog We use syslog-ng as an aggregator with syslogd's configured on multiple nodes to forward messages to a consolidated log file. We then use a custom plug-in to match rules against the consolidated log to generate alerts and create an HTML log of interesting happenings for each individual node. I avoid NRPE and NSCA as using NRPE too often on a network causes a huge performance skew on MPI jobs. It is fine for occassional use, but if you are using it more then once every few minutes it can disrupt large jobs that have small MPI synchronization windows. Our single biggest performance issue across our cluster was NRPE. We were using NRPE for 3 plug-ins, 1 at 1 minute intervals and 2 at 5 minutes from our headnode to each compute node. At 8 nodes that is 24 invocations. At 128 nodes that is 384 calls which Nagios attempts to spread out. If you do not have these kinds of requirements NRPE is a perfectly reasonable and well behaved, however, I would not suggest its use for something like logging especially if you are doing SSL connections. NSCA with high volume might get you into trouble with the nagios FIFO. If you don't configure nagios to read the FIFO aggressively (default is 15s) then you can easily fill the FIFO and cause NSCA to block and hang and therefore pend all jobs across the system that are writing to it. Most filesystems have a 4k block size so your FIFO will block pretty quickly if nagios only polls it every 15 seconds. If you are using distributed monitoring, nagios can spawn many ocsp commands very quickly all of which create a connection to NSCA which in turn forks many children all backed up writing to the FIFO. (this assumes your submit script for ocsp calls send_nsca). You could always configure it to use a separate file/fifo and avoid these issues, but it would be easier to just use syslog-ng as you get the filtering capability as a bonus. The simplest thing to do might be to just configure syslogd to forward a class of messages to another syslogd if that is all you need. -FredC --- Sivan DERAY wrote: > > Hi, > > Does anybody uses Syslog or Syslog-ng with nsca to send message to > Nagios ? > > Otherwise, is there a way to analyse Remote linux\unix like log with > nagios ? > > Thanks in advance > > > > Sivan DERAY > IT Security Engineer > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your > very own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From potus98 at yahoo.com Tue Sep 27 16:16:10 2005 From: potus98 at yahoo.com (John Christian) Date: Tue, 27 Sep 2005 07:16:10 -0700 (PDT) Subject: check_disk SunOS 5.9 In-Reply-To: <43394CD8.7010308@op5.se> References: <43394CD8.7010308@op5.se> Message-ID: <20050927141610.10038.qmail@web54712.mail.yahoo.com> check_disk works fine for me under Solaris 9, although my outputs are a little different than yours: # ./check_disk -w 10% -c 5% -p / DISK OK - free space: / 4449 MB (90%);| /=478MB;4434;4680;0;4927 # # strings check_disk | grep df # [nothing returned] # # which df /usr/bin/df # df -Pk / df: unknown option: P Usage: df [-F FSType] [-abeghklntVv] [-o FSType-specific_options] [directory | block_device | resource] # I get the same complaint about -P from df on my Solaris 8 host as well. If practically all df's implement the -P, it looks like Sun has overlooked it. I did find a /usr/xpg4/bin/df that handles the -P on my Solaris 9 host: /usr/xpg4/bin/df -Pk / Filesystem 1024-blocks Used Available Capacity Mounted on /dev/md/dsk/d0 5046030 439574 4555996 9% / HTH, -John --- Andreas Ericsson wrote: > Richard Gliebe wrote: > > Hi, > > > > I've downloaded and installed the nagios plugins > from > > http://non-gnu.uvt.nl/pub/nrpe/solaris/solaris9/ > for SunOS 5.9 > > > > While running check_disk, I've got the following > Error: > > > > # ./check_disk -w 10% -c 5% -p / > > Disk "/" not mounted or nonexistant > > > > Has anyone a running check_disk plugin for SunOS > 5.9 (Sol9) > > because my plugin runs the 'df' command as > followed: > > > > # strings check_disk | grep df > > /usr/local/bin/df -Pk > > > > # which df > > /usr/bin/df > > > > # df -Pk / > > df: unknown option: P > > Usage: df [-F FSType] [-abeghklntVv] [-o > FSType-specific_options] > > [directory | block_device | resource] > > > > The -P is supposed to force POSIX behaviour. I don't > know if it's > required by POSIX, but practically all df's > implement it (even if only > ignoring it) for that very reason. > > -- > Andreas Ericsson > andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ______________________________________________________ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Sep 27 16:31:13 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 27 Sep 2005 16:31:13 +0200 Subject: check_disk SunOS 5.9 In-Reply-To: <20050927141610.10038.qmail@web54712.mail.yahoo.com> References: <20050927141610.10038.qmail@web54712.mail.yahoo.com> Message-ID: <433957B1.6020205@op5.se> John Christian wrote: > check_disk works fine for me under Solaris 9, although > my outputs are a little different than yours: > > # ./check_disk -w 10% -c 5% -p / > DISK OK - free space: / 4449 MB (90%);| > /=478MB;4434;4680;0;4927 > # > # strings check_disk | grep df > # > [nothing returned] > > # > # which df > /usr/bin/df > # df -Pk / > df: unknown option: P > Usage: df [-F FSType] [-abeghklntVv] [-o > FSType-specific_options] [directory | block_device | > resource] > # > > I get the same complaint about -P from df on my > Solaris 8 host as well. If practically all df's > implement the -P, it looks like Sun has overlooked it. > > I did find a /usr/xpg4/bin/df that handles the -P on > my Solaris 9 host: > > /usr/xpg4/bin/df -Pk / > Filesystem 1024-blocks Used > Available Capacity Mounted on > /dev/md/dsk/d0 5046030 439574 > 4555996 9% / > xpg4 is a sort of trademark of the Open Group (handling the Single Unix Specification). The short answer to fix the problems is thus to symlink the original df to the xpg one. Should work a treat. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Sep 27 16:41:46 2005 From: marc at ena.com (Marc Powell) Date: Tue, 27 Sep 2005 09:41:46 -0500 Subject: notify-by-pager / check_disk problem Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andrew Xenides > Sent: Monday, September 26, 2005 11:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notify-by-pager / check_disk problem > > Hi, > > > > Im using nagios (duh) to send alerts via sms when my servers disks get > full, my problem is that the output from the check_disk command is greater > than the maximum allowed characters (160) hence my $OUTPUT$ variable is > over 160 chars hence the message being sent to the sms gateway is way over > 160 chars. > > > > Is there anyway to manipulate this $OUTPUT$ before sending it to the > gateway? Sure, but not within Nagios. Since your notification command can be any script you want, write a short one that takes the appropriate macros on the command line, manipulate them any way you want then call your sms notification program with the munged information. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Sep 27 17:19:21 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 27 Sep 2005 11:19:21 -0400 (EDT) Subject: - Remote Log file with NSCA \ Syslog In-Reply-To: <4E13BD0442DACA4D9606CAD98924F09A45D6CD@srv-nap-atlas-1.net-aptitude.fr> References: <4E13BD0442DACA4D9606CAD98924F09A45D6CD@srv-nap-atlas-1.net-aptitude.fr> Message-ID: http://www.samag.com/documents/s=9559/sam0503g/ Take a look at SEC filters on syslog... On Tue, 27 Sep 2005, Sivan DERAY wrote: > Thanks for your excellent response !! > Thank you for the time you spent answering !! > > The best thing would be for us to be able to foward specific log (ex : error on a service stopped) to a specific pipe or log file , and then let a demon catch the "new message" so to send it to Nagios's log already configured to be injected in the nagios webinterface (as i'm already doing for Windows event log "thanks to steve shipway) and then to notify us that an error has occured ... > > Hope i'm explicit enough > > Sivan D > > > -----Message d'origine----- > De : Fred [mailto:f1216 at yahoo.com] > Envoy? : mardi 27 septembre 2005 15:25 > ? : Sivan DERAY; Nagios User > Objet : Re: [Nagios-users] - Remote Log file with NSCA \ Syslog > > > We use syslog-ng as an aggregator with syslogd's configured on multiple nodes to forward messages to a consolidated log file. We then use a custom plug-in to match rules against the consolidated log to generate alerts and create an HTML log of interesting happenings for each individual node. > > I avoid NRPE and NSCA as using NRPE too often on a network causes a huge performance skew on MPI jobs. It is fine for occassional use, but if you are using it more then once every few minutes it can disrupt large jobs that have small MPI synchronization windows. Our single biggest performance issue > across our cluster was NRPE. We were using NRPE for 3 plug-ins, 1 at 1 minute > intervals and 2 at 5 minutes from our headnode to each compute node. At 8 nodes that is 24 invocations. At 128 nodes that is 384 calls which Nagios attempts to spread out. If you do not have these kinds of requirements NRPE is a perfectly reasonable and well behaved, however, I would not suggest its use for something like logging especially if you are doing SSL connections. > > NSCA with high volume might get you into trouble with the nagios FIFO. If you don't configure nagios to read the FIFO aggressively (default is 15s) then you can easily fill the FIFO and cause NSCA to block and hang and therefore pend all jobs across the system that are writing to it. Most filesystems have a 4k block size so your FIFO will block pretty quickly if nagios only polls > it every 15 seconds. If you are using distributed monitoring, nagios can > spawn many ocsp commands very quickly all of which create a connection to NSCA which in turn forks many children all backed up writing to the FIFO. (this > assumes your submit script for ocsp calls send_nsca). You could always > configure it to use a separate file/fifo and avoid these issues, but it would be easier to just use syslog-ng as you get the filtering capability as a bonus. > > The simplest thing to do might be to just configure syslogd to forward a class of messages to another syslogd if that is all you need. > > -FredC > > --- Sivan DERAY wrote: > >> >> Hi, >> >> Does anybody uses Syslog or Syslog-ng with nsca to send message to >> Nagios ? >> >> Otherwise, is there a way to analyse Remote linux\unix like log with >> nagios ? >> >> Thanks in advance >> >> >> >> Sivan DERAY >> IT Security Engineer >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: >> Tame your development challenges with Apache's Geronimo App Server. >> Download it for free - -and be entered to win a 42" plasma tv or your >> very own Sony(tm)PSP. Click here to play: >> http://sourceforge.net/geronimo.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- From guy at extragalactic.net Tue Sep 27 19:14:29 2005 From: guy at extragalactic.net (Guy B. Purcell) Date: Tue, 27 Sep 2005 10:14:29 -0700 Subject: =?ISO-8859-1?Q?Re:_[Nagios-users]_=93check=5Fprocs_=93_giving_th?= =?ISO-8859-1?Q?e_same_waring_and_critical_numbers_for_different_?= =?ISO-8859-1?Q?PC?= In-Reply-To: <20050927100818.76389.qmail@web34808.mail.mud.yahoo.com> References: <20050927100818.76389.qmail@web34808.mail.mud.yahoo.com> Message-ID: <99E5DCC5-F89B-4B74-B814-B66447258C75@extragalactic.net> On Sep 27, 2005, at 03:08, John Joseph wrote: > Hi all > I had observer that , I am getting the same , > warning and critical numbers but different no of > processes for different host checked [...and so on...] > since this command does not have option of > specifying the host , I assume the host detail > parameter is passed on by the nagios It's more complicated than that: you need to use NRPE if you're going to monitor internal services of remote hosts (i.e. hosts other than the Nagios server itself). Check the online docs about it. -Guy ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wgking at shaw.ca Tue Sep 27 20:31:11 2005 From: wgking at shaw.ca (Greg King) Date: Tue, 27 Sep 2005 12:31:11 -0600 Subject: Cisco check_by_ssh ? Message-ID: <1e03e321e05d68.1e05d681e03e32@shaw.ca> Has anyone figured out how to log into a Cisco router with ssh and run a command using the check_by_ssh plugin? The documentation says to setup a secure connection with gpg keys, but since I'm not a Cisco expert, I'm not sure this is even possible if the ssh target is a Cisco router. Links to how to do this would be greatly appreciated. Regards, Greg King -------------- next part -------------- An embedded message was scrubbed... From: nagios-users-request at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #2823 - 27 msgs Date: Mon, 26 Sep 2005 20:25:29 -0700 Size: 69350 URL: From sghosh at sghosh.org Tue Sep 27 21:04:57 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 27 Sep 2005 15:04:57 -0400 (EDT) Subject: Cisco check_by_ssh ? In-Reply-To: <1e03e321e05d68.1e05d681e03e32@shaw.ca> References: <1e03e321e05d68.1e05d681e03e32@shaw.ca> Message-ID: On Tue, 27 Sep 2005, Greg King wrote: > Has anyone figured out how to log into a Cisco router with ssh and run a > command using the check_by_ssh plugin? The documentation says to setup > a secure connection with gpg keys, but since I'm not a Cisco expert, I'm > not sure this is even possible if the ssh target is a Cisco router. > Links to how to do this would be greatly appreciated. > > Regards, > Greg King > > I don't think you can generate a per user key on the router. That is what is needed by check_by_ssh to work. If you want to do ssh in scripts try using the "clogin" utility that is part of the "RANCID" toolset at http://www.shrunbbery.net/rancid/ I've used clogin in various scripts for good effect. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joseph.Petrucci at ddiworld.com Tue Sep 27 21:35:16 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Tue, 27 Sep 2005 15:35:16 -0400 Subject: Cisco check_by_ssh ? Message-ID: I used this as a base for how to do this. ssh implements the RSA authentication protocol automatically. The user creates his/her RSA key pair by running ssh-keygen(1). This stores the private key in $HOME/.ssh/identity and the public key in $HOME/.ssh/identity.pub in the user?s home directory. The user should then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her home directory on the remote machine (the authorized_keys file corresponds to the conventional $HOME/.rhosts file, and has one key per line, though the lines can be very long). After this, the user can log in without giving the password. RSA authentication is much more secure than rhosts authen- tication. >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Greg King >Sent: Tuesday, September 27, 2005 2:31 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Cisco check_by_ssh ? > > >Has anyone figured out how to log into a Cisco router with ssh >and run a command using the check_by_ssh plugin? The >documentation says to setup a secure connection with gpg keys, >but since I'm not a Cisco expert, I'm not sure this is even >possible if the ssh target is a Cisco router. Links to how to >do this would be greatly appreciated. > >Regards, >Greg King > > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludwig.Pummer at Copart.Com Tue Sep 27 22:39:36 2005 From: Ludwig.Pummer at Copart.Com (Ludwig Pummer) Date: Tue, 27 Sep 2005 13:39:36 -0700 Subject: Passive checks greatly delaying active checks Message-ID: Hello folks, I'm experimenting with a distributed monitoring + failover configuration between 2 nagios servers, each actively monitoring its own group of hosts unless the other nagios server fails. Nagios server #1 is a dual Xeon 2.4GHz (hyperthreading off) w/ 1.5GB RAM running RHES 3. Nagios server #2 is a dual Xeon 3.2GHz (hyperthreading on) w/ 3.0GB RAM running RHES 3 in 64-bit mode. Both are running Nagios 1.2. They are running idential Nagios configurautions with the exception of active/passive services. My nagios init script sends DISABLE_HOST_SVC_CHECKS, DISABLE_HOST_SVC_NOTIFICATIONS, and DISABLE_HOST_NOTIFICATIONS commands at nagios startup for those hosts which that particular nagios server is not supposed to actively monitor. I've got 472 hosts and 1487 services total. Server #1 has 686 active and 801 passive service checks. Server #2 has 805 active and 682 passive service checks. Both machines have an ocsp_command set up which will send_nsca to the other nagios server the results of any active checks. The issue I'm having is that when I have nsca running to receive passive checks from the other host, active checks are delayed a lot (from under 30 seconds without nsca to 15-25 minutes with nsca running). My command_check_interval is set to -1. I have log_passive_service_checks set to 1 for testing, so I can see the nsca results coming in. I don't see why receiving passive checks is causing such large delays in my active checks. Below are numbers from the top two tables on the Performance Info page. I start off nagios with the nsca daemon not running. Everything works fine, except all the passive checks on both machines keep reporting "pending". This is the performance info after an hour or so of steady operation: Server #1: Time Frame Checks Completed <= 1 minute: 294 (42.9%) <= 5 minutes: 686 (100.0%) <= 15 minutes: 686 (100.0%) <= 1 hour: 686 (100.0%) Since program start: 686 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 8 sec 1.819 sec Check Latency: < 1 sec 11 sec 1.010 sec Percent State Change: 0.00% 8.95% 0.01% Server #2: Time Frame Checks Completed <= 1 minute: 446 (55.4%) <= 5 minutes: 805 (100.0%) <= 15 minutes: 805 (100.0%) <= 1 hour: 805 (100.0%) Since program start: 805 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 16 sec 2.933 sec Check Latency: < 1 sec 17 sec 1.102 sec Percent State Change: 0.00% A minute after the above numbers were taken, I started up the nsca daemon on both machines (single-process daemon mode). 10 minutes later, the numbers look like this: Server #1: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 90 (13.1%) <= 15 minutes: 686 (100.0%) <= 1 hour: 686 (100.0%) Since program start: 686 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 8 sec 1.840 sec Check Latency: < 1 sec 277 sec 125.098 sec Percent State Change: 0.00% 11.32% 0.02% Server #2: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 187 (23.3%) <= 15 minutes: 803 (100.0%) <= 1 hour: 803 (100.0%) Since program start: 803 (100.0%) About 18 hours later, they look like this: Server #1: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 126 (18.4%) <= 15 minutes: 522 (76.2%) <= 1 hour: 685 (100.0%) Since program start: 685 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 8 sec 1.858 sec Check Latency: 502 sec 955 sec 774.826 sec Percent State Change: 0.00% 0.00% 0.00% Server #2: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 227 (28.2%) <= 15 minutes: 601 (74.8%) <= 1 hour: 804 (100.0%) Since program start: 804 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 16 sec 2.960 sec Check Latency: 23 sec 1084 sec 517.776 sec Percent State Change: 0.00% 4.14% 0.01% If I kill the nsca daemon, 10 minutes later the numbers look like this: Server #1: Time Frame Checks Completed <= 1 minute: 2 (0.3%) <= 5 minutes: 686 (100.0%) <= 15 minutes: 686 (100.0%) <= 1 hour: 686 (100.0%) Since program start: 686 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 8 sec 1.838 sec Check Latency: < 1 sec 19 sec 2.646 sec Percent State Change: 0.00% 5.99% 0.01% Server #2: Time Frame Checks Completed <= 1 minute: 2 (0.2%) <= 5 minutes: 805 (100.0%) <= 15 minutes: 805 (100.0%) <= 1 hour: 805 (100.0%) Since program start: 805 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 16 sec 2.934 sec Check Latency: < 1 sec 38 sec 2.376 sec Percent State Change: 0.00% 12.37% 0.04% And about 20 minutes after killing nsca, they look like this: Server #1: Time Frame Checks Completed <= 1 minute: 101 (14.7%) <= 5 minutes: 686 (100.0%) <= 15 minutes: 686 (100.0%) <= 1 hour: 686 (100.0%) Since program start: 686 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 8 sec 1.821 sec Check Latency: < 1 sec 18 sec 3.213 sec Percent State Change: 0.00% 5.46% 0.01% Server #2: Time Frame Checks Completed <= 1 minute: 2 (0.2%) <= 5 minutes: 805 (100.0%) <= 15 minutes: 805 (100.0%) <= 1 hour: 805 (100.0%) Since program start: 805 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 16 sec 2.937 sec Check Latency: < 1 sec 27 sec 0.840 sec Percent State Change: 0.00% 29.67% 0.12% Any ideas? --Ludwig Pummer ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p_santos at psantos.no-ip.org Wed Sep 28 01:07:23 2005 From: p_santos at psantos.no-ip.org (Pavel Santos) Date: Tue, 27 Sep 2005 19:07:23 -0400 Subject: Monitoring Windows Servers with Nagios Message-ID: <2C377FE90617434CA42DAC0A4AF052F02104@exchange.home.net> Hello list, I'm running Nagios 2.0b4 on FC4. What is the best way to monitor Windows Server for Disk, Memory and CPU usage? Thanks, Pavel -------------- next part -------------- An HTML attachment was scrubbed... URL: From jose.munoz at proyectosbiz.com Wed Sep 28 02:20:51 2005 From: jose.munoz at proyectosbiz.com (Jose Orlando Muñoz B) Date: Tue, 27 Sep 2005 19:20:51 -0500 Subject: Monitoring Hpux 10.01 And old versions of Solaris and AIX Message-ID: Hello to all I?m needing to monitorin some old systems, like HPUX B.10.01 HPUX B.9.01 AIX 4.2.1.0 SUN OS 5.4 and 4.1.4 I?m looking for some plugins but i have problems with all, NRPE, Netsain_statd, etc. I need any sggestion about monitoring this machines. I have a Good Linux Box running Nagios, my problem is on the target servers because I can not get some plugin for. Thanks a lot for any suggestions Jose Orlando. -- ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ccyuen at hkcert.org Wed Sep 28 02:53:07 2005 From: ccyuen at hkcert.org (CC Yuen) Date: Wed, 28 Sep 2005 08:53:07 +0800 Subject: Machine locating advise.... Message-ID: <4339E973.6080401@hkcert.org> Dear all, Does anyone setup a separate machine to receive the report/log and manage from the poller machine? Like that: _______________ ______________ _________________ | | | | | | |Monitor viewing|--------|Poller machine|-------|Monitored machine| |Machine | | | | | |_______________| |______________| |_________________| Thanks Chung ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Wed Sep 28 03:05:07 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 28 Sep 2005 11:05:07 +1000 Subject: Monitoring Windows Servers with Nagios In-Reply-To: <2C377FE90617434CA42DAC0A4AF052F02104@exchange.home.net> References: <2C377FE90617434CA42DAC0A4AF052F02104@exchange.home.net> Message-ID: <4339EC43.2060003@qut.edu.au> Hi Pavel, Pavel Santos wrote: > Hello list, > > I?m running Nagios 2.0b4 on FC4. What is the best way to monitor > Windows Server for Disk, Memory and CPU usage? Well, 'best' is variable depending on your situation/infrastructure: Are the servers on a trusted network? i.e. do you need to encrypt the information between your Nagios server and the Windows servers? Visit www.nagiosexchange.com for any of a number of ways of monitoring the attributes you speak of. I can see SNMP, Cygwin ports, NC_Net, NRPE_NT and NSClient/++. SNMP - you will need SNMP installed on your Windows hosts Cygwin ports - you will need a communications channel like SSH and the Cygwin .dll on the Windows hosts NC_Net - I haven't used it NRPE_NT - I haven't used it NSClient - client that resides on your Windows hosts NSCLient/++ - I haven't used it Read and learn and decide which method is best for your security/situation/budget/experience etc etc -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Wed Sep 28 04:11:08 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 28 Sep 2005 12:11:08 +1000 Subject: Monitoring Windows Servers with Nagios In-Reply-To: <2C377FE90617434CA42DAC0A4AF052F02105@exchange.home.net> References: <2C377FE90617434CA42DAC0A4AF052F02105@exchange.home.net> Message-ID: <4339FBBC.4060901@qut.edu.au> Hi Pavel, Please respond to the list so everyone can see the goodies :) Pavel Santos wrote: > Greg, > > They're on a trusted network, no encryption needed for the nagios > related traffic. If so, then you have a bit of a free hand to choose whatever method is going to be quickest/easiest for you. i.e. if SNMP is already installed on the Windows boxes and you know which OIDs to talk to, then you're off. Or you could drop in NSClient and retrieve the information that way. It's really up to you. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Greg > Vickers > Sent: Tuesday, September 27, 2005 9:05 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Windows Servers with Nagios > > Hi Pavel, > > Pavel Santos wrote: > >>Hello list, >> >>I'm running Nagios 2.0b4 on FC4. What is the best way to monitor >>Windows Server for Disk, Memory and CPU usage? > > > Well, 'best' is variable depending on your situation/infrastructure: > > Are the servers on a trusted network? i.e. do you need to encrypt the > information between your Nagios server and the Windows servers? > > Visit www.nagiosexchange.com for any of a number of ways of monitoring > the attributes you speak of. I can see SNMP, Cygwin ports, NC_Net, > NRPE_NT and NSClient/++. > > SNMP - you will need SNMP installed on your Windows hosts > Cygwin ports - you will need a communications channel like SSH and the > Cygwin .dll on the Windows hosts > NC_Net - I haven't used it > NRPE_NT - I haven't used it > NSClient - client that resides on your Windows hosts > NSCLient/++ - I haven't used it > > Read and learn and decide which method is best for your > security/situation/budget/experience etc etc > -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 04:18:40 2005 From: hmann at itgroundwork.com (Harper Mann) Date: Tue, 27 Sep 2005 19:18:40 -0700 Subject: Monitoring Windows Servers with Nagios In-Reply-To: <4339FBBC.4060901@qut.edu.au> References: <2C377FE90617434CA42DAC0A4AF052F02105@exchange.home.net> <4339FBBC.4060901@qut.edu.au> Message-ID: <4339FD80.6070403@itgroundwork.com> I've used nc_net. It works well and seems more stable than nsclient. It also gives WMI objects if you compile up the check_nt version from nc_net. It also works fine with check_nt from nagiosplug. Good luck, - Harper Greg Vickers wrote: > Hi Pavel, > > Please respond to the list so everyone can see the goodies :) > > Pavel Santos wrote: > >> Greg, >> They're on a trusted network, no encryption needed for the nagios >> related traffic. > > > If so, then you have a bit of a free hand to choose whatever method is > going to be quickest/easiest for you. i.e. if SNMP is already > installed on the Windows boxes and you know which OIDs to talk to, > then you're off. > > Or you could drop in NSClient and retrieve the information that way. > > It's really up to you. > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Greg >> Vickers >> Sent: Tuesday, September 27, 2005 9:05 PM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Monitoring Windows Servers with Nagios >> >> Hi Pavel, >> >> Pavel Santos wrote: >> >>> Hello list, >>> >>> I'm running Nagios 2.0b4 on FC4. What is the best way to monitor >>> Windows Server for Disk, Memory and CPU usage? >> >> >> >> Well, 'best' is variable depending on your situation/infrastructure: >> >> Are the servers on a trusted network? i.e. do you need to encrypt the >> information between your Nagios server and the Windows servers? >> >> Visit www.nagiosexchange.com for any of a number of ways of >> monitoring the attributes you speak of. I can see SNMP, Cygwin ports, >> NC_Net, NRPE_NT and NSClient/++. >> >> SNMP - you will need SNMP installed on your Windows hosts >> Cygwin ports - you will need a communications channel like SSH and >> the Cygwin .dll on the Windows hosts >> NC_Net - I haven't used it >> NRPE_NT - I haven't used it >> NSClient - client that resides on your Windows hosts >> NSCLient/++ - I haven't used it >> >> Read and learn and decide which method is best for your >> security/situation/budget/experience etc etc >> > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jendries at pragmeta.com Wed Sep 28 05:02:40 2005 From: jendries at pragmeta.com (Josh Endries) Date: Tue, 27 Sep 2005 23:02:40 -0400 Subject: When to use passive vs. active checks? Message-ID: <433A07D0.5060909@pragmeta.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm reinstalling my Nagios server with v2.0 and it's going well so far, but I'm curious why people use passive vs. active checks? I thought about it while setting up check_disk and _load etc., which are currently active, but seem like that may be better suited to be passive checks, since they're "internal", that is they don't provide a network service that needs to be connected to, I guess. I know the guide says passive checks are for sporadic things, and really it could be almost anything, but does anyone follow guidelines or anything? I figure performance would be saved by making them passive, maybe this is a usual way of setting these sorts of tests up? Just curious. Thanks, Josh -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDOgfQV/+PyAj2L+IRAkBAAJwIev1v8zKPIqo7e71d/VlvzleMhwCgkXeS IWkPj7ZvnpsTpBKpUz0tKQE= =bZvz -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Wed Sep 28 05:23:29 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 28 Sep 2005 13:23:29 +1000 Subject: When to use passive vs. active checks? In-Reply-To: <433A07D0.5060909@pragmeta.com> References: <433A07D0.5060909@pragmeta.com> Message-ID: <433A0CB1.2010306@qut.edu.au> Hi Josh, Josh Endries wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > I'm reinstalling my Nagios server with v2.0 and it's going well so > far, but I'm curious why people use passive vs. active checks? I > thought about it while setting up check_disk and _load etc., which > are currently active, but seem like that may be better suited to be > passive checks, since they're "internal", that is they don't provide > a network service that needs to be connected to, I guess. We use passive checks here to get startup/logon/logoff(reboot) information from our lab hosts - a group policy is run at these times and that runs send_nsca compiled under Cygwin in the Win32 environment. At the time, this was the easiest/best way of getting this information. I haven't used passive checks in any other situations, but the manual states usages like getting information from a severely firewalled host, for example. > I know the guide says passive checks are for sporadic things, and > really it could be almost anything, but does anyone follow guidelines > or anything? I figure performance would be saved by making them > passive, maybe this is a usual way of setting these sorts of tests up? Passive checks can be used for just about anything, if you really want/need to. When setting up a passive check, some trigger has to run a script or executable that will send information to the Nagios server, rather than the Nagios server actively scheduling a check of a service and starting a process to get that information. Performance on the Nagios host can be saved, for example if a plugin used a large amount of CPU to process results before sending the information back to Nagios, you could move this processing overhead to another host. But you don't avoid having to do the processing, you just move it somewhere else :) Food for thought. HTH, -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gliebe at fhv.at Wed Sep 28 07:25:22 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 28 Sep 2005 07:25:22 +0200 Subject: check_disk SunOS 5.9 In-Reply-To: <433957B1.6020205@op5.se> References: <20050927141610.10038.qmail@web54712.mail.yahoo.com> <433957B1.6020205@op5.se> Message-ID: <1127885122.843.6.camel@glr-nb.dh.uclv.net> On Tue, 2005-09-27 at 16:31 +0200, Andreas Ericsson wrote: Hi, > xpg4 is a sort of trademark of the Open Group (handling the Single Unix > Specification). The short answer to fix the problems is thus to symlink > the original df to the xpg one. Should work a treat. > thanks, now it works: bash-2.05# cd /usr/local/bin bash-2.05# ls -l df df: No such file or directory bash-2.05# ln -s /usr/xpg4/bin/df bash-2.05# pwd /usr/local/bin bash-2.05# ./df -Pk / Filesystem 1024-blocks Used Available Capacity Mounted on /dev/md/dsk/d0 10080200 1135758 8843640 12% / bash-2.05# /usr/local/lib/nagios/plugins/check_disk -w 10% -c5% -p / DISK OK [8843640 kB (88%) free on /dev/md/dsk/d0] Regards Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services Hochschulstra?e 1, A-6850 Dornbirn Telefon ++43 / (0)5572 / 20336-2207 E-Mail: richard.gliebe at fhv.at ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 08:59:56 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 28 Sep 2005 08:59:56 +0200 Subject: Passive checks greatly delaying active checks In-Reply-To: References: Message-ID: <433A3F6C.3080007@op5.se> Ludwig Pummer wrote: > Hello folks, > > I'm experimenting with a distributed monitoring + failover configuration > between 2 nagios servers, each actively monitoring its own group of > hosts unless the other nagios server fails. > > Nagios server #1 is a dual Xeon 2.4GHz (hyperthreading off) w/ 1.5GB RAM > running RHES 3. Nagios server #2 is a dual Xeon 3.2GHz (hyperthreading > on) w/ 3.0GB RAM running RHES 3 in 64-bit mode. > > Both are running Nagios 1.2. They are running idential Nagios > configurautions with the exception of active/passive services. My nagios > init script sends DISABLE_HOST_SVC_CHECKS, > DISABLE_HOST_SVC_NOTIFICATIONS, and DISABLE_HOST_NOTIFICATIONS commands > at nagios startup for those hosts which that particular nagios server is > not supposed to actively monitor. I've got 472 hosts and 1487 services > total. Server #1 has 686 active and 801 passive service checks. Server > #2 has 805 active and 682 passive service checks. Both machines have an > ocsp_command set up which will send_nsca to the other nagios server the > results of any active checks. > > The issue I'm having is that when I have nsca running to receive passive > checks from the other host, active checks are delayed a lot (from under > 30 seconds without nsca to 15-25 minutes with nsca running). My > command_check_interval is set to -1. I have log_passive_service_checks > set to 1 for testing, so I can see the nsca results coming in. I don't > see why receiving passive checks is causing such large delays in my > active checks. > It's because the FIFO becomes a bottleneck if you're doing more than just a few passive service checks. Try lowering the (something)_reaper_frequency in nagios.cfg. It might fix it, or at least help up the situation a bit. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bimschas at phase4.de Wed Sep 28 10:52:48 2005 From: Bimschas at phase4.de (Daniel Bimschas) Date: Wed, 28 Sep 2005 10:52:48 +0200 Subject: Problem with scheduling after nagios config-reload or restart Message-ID: <2CCEB1B7A93CF444AC4FE3BAB759962CCEA852@p4-muc-nt5.intra.phase4.de> hi there! whenever i restart the nagios daemon or simply reload the config (/etc/init.d/nagios reload) scheduling gets totally mixed up. a service check that is scheduled to be run every 5 mins will then maybe be next executed after 20 minutes or more. after some time nagios is running (>1 hour maybe?) scheduling works fine again. do you know why it is like that, nagios forgetting the schedule? or why nagios schedules new when reloading but with wrong timeperiods? greets daniel ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charles at bueche.ch Wed Sep 28 11:33:13 2005 From: charles at bueche.ch (Charles Bueche) Date: Wed, 28 Sep 2005 11:33:13 +0200 Subject: Cisco check_by_ssh ? In-Reply-To: <1e03e321e05d68.1e05d681e03e32@shaw.ca> References: <1e03e321e05d68.1e05d681e03e32@shaw.ca> Message-ID: <1127899993.14281.14.camel@bluez.bueche.ch> Hi, I have done some work in this area (5'000 Cisco device config backup in Perl). Basically, Cisco's ssh implementation is limited, depends on your IOS version, and cripple any remote execution attempt you may have. Some stuff I have seen : - sometimes only ssh V1, so only one command per session - poor support for keys - used a TACACS level 15 account so I can "write t" and get the config without using "enable" - "show running-config" unwelcome, have to use "write terminal" In short : be prepared to sweat. If you have any way to use SNMP instead, go for it without hesitating. Cisco hasn't understood what we system guys need with their ssh. Charles On mar, 2005-09-27 at 12:31 -0600, Greg King wrote: > Has anyone figured out how to log into a Cisco router with ssh and run a command using the check_by_ssh plugin? The documentation says to setup a secure connection with gpg keys, but since I'm not a Cisco expert, I'm not sure this is even possible if the ssh target is a Cisco router. Links to how to do this would be greatly appreciated. > > Regards, > Greg King > > email message attachment > On mar, 2005-09-27 at 12:31 -0600, Greg King wrote: > > Send Nagios-users mailing list submissions to > > nagios-users at lists.sourceforge.net > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > or, via email, send a message with subject or body 'help' to > > nagios-users-request at lists.sourceforge.net > > > > You can reach the person managing the list at > > nagios-users-admin at lists.sourceforge.net > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Nagios-users digest..." > > > > > > Today's Topics: > > > > 1. Amir El-Raddaf is out of the office. (Amir.El-Raddaf at seagate.com) > > 2. Re: Monitoring router with check_snmp (John Joseph) > > 3. Re: Who is maintaining NRPE? (Ton Voon) > > 4. Re: Who is maintaining NRPE? (Andreas Ericsson) > > 5. Is me again, basic question for Nagios... thanks 4 all reply..... (CC Yuen) > > 6. To disable the "Host UP" notification (John Joseph) > > 7. chek manually the service (Gabriele Di Giambelardini) > > 8. Re: To disable the "Host UP" notification (Hans Engelen) > > 9. Re: Nagios website and contact groups? (Joe Regular) > > 10. Sobre NRPE_NT (=?iso-8859-1?q?Marco=20Aur=E9lio=20Miranda=20Pereira?=) > > 11. Re: Sobre NRPE_NT (jeff vier) > > 12. No perfdata collected (William Miles) > > 13. Re: Re: send a test page (Terry) > > 14. RE: Is me again, basic question for Nagios... thanks 4 all reply..... (Marc Powell) > > 15. Comandos externos do nagios (=?iso-8859-1?q?Marco=20Aur=E9lio=20Miranda=20Pereira?=) > > 16. Re: Comandos externos do nagios (jeff vier) > > 17. What I am doing wrong with version 2.01b (Efe Ohimor) > > 18. RE: What I am doing wrong with version 2.01b (Marc Powell) > > 19. How does Nagios determine system time (Bryan Bateman) > > 20. RE: How does Nagios determine system time (Marc Powell) > > 21. Web seminar on GroundWork Foundation (John Mark Walker) > > 22. Re: Web seminar on GroundWork Foundation (John Mark Walker) > > 23. Re: Comandos externos do nagios (Marcel Mitsuto Fucatu Sugano) > > 24. Problemas con check_dchp (Luis Gardea) > > 25. RE: Problemas con check_dchp (Tedman Eng) > > 26. RE: Problemas con check_dchp (Marc Powell) > > 27. RE: Problemas con check_dchp (Marc Powell) > > > > --__--__-- > > > > Message: 1 > > From: Amir.El-Raddaf at seagate.com > > To: nagios-users at lists.sourceforge.net > > Date: Sun, 25 Sep 2005 21:11:43 -0700 > > Subject: [Nagios-users] Amir El-Raddaf is out of the office. > > > > I will be out of the office starting 09/25/2005 and will not return until > > 10/04/2005. > > > > I do not have e-mail or phone access while I'm away. I will reply to you > > as soon as I get back. If you need to reach someone, please contact GFO > > members and - or Steve Lentz. > > > > Best Regards, > > Amir.. > > > > > > > > --__--__-- > > > > Message: 2 > > Date: Mon, 26 Sep 2005 05:48:36 +0100 (BST) > > From: John Joseph > > Subject: Re: [Nagios-users] Monitoring router with check_snmp > > To: "nagios-users at lists.sourceforge.net" > > > > Hi Pradeep , > > while you check_icmp,check_tcp,telnet helps to find > > the router is up , > > the snmp way of checking , u can check the > > interfaces also , even traffic , it is not that > > difficult > > Thanks > > Joseph John > > > > > > --- Hendrik Baecker wrote: > > > > > Hi Matt, > > > > > > SNMP is the best way, I think. > > > > > > Other examples may: > > > > > > check_icmp to check the routers IP adress and/or > > > their sub interfaces. > > > check_tcp to check if the telnet / ssh / web port is > > > open and answering > > > write or look for a perl script, that can telnet the > > > router, give some > > > commands to the router and check the output if the > > > output is what you > > > want to see. > > > > > > Beware of the last option, you have to work with the > > > login of your > > > router. Don't know how you're thinking about > > > security. > > > > > > Best wishes > > > Hendrik > > > > > > Matt Wells schrieb: > > > > > > > Anyone know of any other way to monitor a Cisco > > > router/* without the > > > > use of SNMP?? > > > > > > > > ----- Original Message ----- > > > > *Subject: *Re: [Nagios-users] Monitoring > > > router with check_snmp > > > > *From: *John Joseph > > > > *To: *"Pradeep C Raghavan" > > > > > > > > > ,nagios-users at lists.sourceforge.net > > > > *Date: *25-09-2005 0:48 > > > > > > > > > > > > OID > > > > is Object Identifier > > > > All devices are denoted by OID by SNMP > > > > for eg OID > > > > .1.3.6.1.2.1.2 > > > > represents > > > > 1 => ISO > > > > 3 => org > > > > 6 => dod > > > > 1 => internet > > > > 2 => mgmt > > > > 1 => mib-2 > > > > 2 = > interfaces > > > > > > > > another eg > > > > in text representation , we can represent the > > > > operational status of an interface as > > > > > > > > > > > > > iso_org_dod_internet_mgmt_mib-2_interfaces_iftable_ifEntry_ifOperStatus > > > > is > > > > 1.3.6.1.2.1.2.2.1.8 > > > > > > > > U can walk through OID using the command > > > > snmpwalk 192.168.1.32 -c public > > > > > > > > Please note , to use the SNMP plugins at > > > > http://www.manubulon.com/nagios/ > > > > no need to know about OID , if u follow the > > > > eg, u can do it > > > > Thanks > > > > > > > > Joseph John > > > > > > > > > > > > > > > > --- Pradeep C Raghavan > > > wrote: > > > > > > > > > Hi all, > > > > > This is a newbee question ,so please bear > > > with me . > > > > > I would like to monitor my router to find > > > out > > > > > whether it is up or > > > > > not.Cananyone help me with an example of the > > > > > command.Browsing through the list I found > > > that > > > > > something has to be done with > > > > > the OID's.What is this OID all about?I use > > > webmin to > > > > > congfiure Nagios and > > > > > the SNMP MIB walk prints out a lot info > > > which I cant > > > > > just digest.Please help > > > > > me on this. > > > > > > > > > > ../cheers, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > To help you stay safe and secure online, we've > > > developed the all > > > > new Yahoo! Security Centre. > > > http://uk.security.yahoo.com > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is sponsored by: > > > > Tame your development challenges with Apache's > > > Geronimo App Server. > > > > Download it for free - -and be entered to win > > > a 42" plasma tv or > > > > your very > > > > own Sony(tm)PSP. Click here to play: > > > > http://sourceforge.net/geronimo.php > > > > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin > > > version (-v) and OS when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk > > > being sent to /dev/null > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's > > > Geronimo App Server. > > > Download it for free - -and be entered to win a 42" > > > plasma tv or your very > > > own Sony(tm)PSP. Click here to play: > > > http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version > > > (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being > > > sent to /dev/null > > > > > > > > > > > > > ___________________________________________________________ > > How much free photo storage do you get? Store your holiday > > snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com > > > > > > --__--__-- > > > > Message: 3 > > Cc: NAGIOS > > From: Ton Voon > > Subject: Re: [Nagios-users] Who is maintaining NRPE? > > Date: Mon, 26 Sep 2005 09:51:59 +0100 > > To: Andreas Ericsson > > > > > > --Apple-Mail-32--906335295 > > Content-Transfer-Encoding: 7bit > > Content-Type: text/plain; > > charset=US-ASCII; > > delsp=yes; > > format=flowed > > > > > > On 22 Sep 2005, at 21:41, Andreas Ericsson wrote: > > > > > Ton Voon wrote: > > > > > >> Hi! > > >> Just wondering who is currently maintaining NRPE? > > >> > > > > > > That'd be me. I'm not doing a very good job of advertising the > > > releases, but 2.2 is available (whenever my ISP isn't doing > > > something incompetent) at http://oss.op5.se/nagios. I haven't had > > > time to do much other than making it a fair bit portable yet, > > > although I'm working on it. > > > > Thanks. You should do more promotion so that it becomes the "default" > > version, rather than the 2.0 one. > > > > However, am I right in saying that the CVS repository for NRPE 2.2 is > > on your own servers? If so, I don't think this is in the spirit of > > openess. Can I suggest that you use Sourceforge to host the NRPE > > code? This way the changes made are clear to the community. > > > > In fact, I notice there is a NRPE project on SF: http:// > > sourceforge.net/projects/nrpe. Looks like it was setup by Ethan and > > includes yourself as a developer. Maybe this is the best place to > > house the main code. > > > > > > >> I've dropped an email to Ethan Galstad but haven't received a > > >> reply. I seem to recall that NRPE was split off to a separate > > >> team some time ago. > > >> We've made a few tweaks to the configure script so that NRPE 2.0 > > >> now compiles on Tru64 and Irix "out of the box". The patch is > > >> below. It requires autoconf to regenerate the new configure script. > > >> > > > > > > It would be very helpful if you could make the patch apply cleanly > > > to the 2.2 sources, unless one of the portability fixes I've > > > already made sorts it out. > > > > Initial configure on Irix and Tru64 fails. I'll look into it and get > > back to you. > > > > Ton > > > > > > http://www.altinity.com > > T: +44 (0)870 787 9243 > > F: +44 (0)845 280 1725 > > Skype: tonvoon > > > > > > > > --Apple-Mail-32--906335295 > > Content-Transfer-Encoding: quoted-printable > > Content-Type: text/html; > > charset=ISO-8859-1 > > > > > -khtml-line-break: after-white-space; ">
On 22 Sep 2005, at = > > 21:41, Andreas Ericsson wrote:

> class=3D"Apple-interchange-newline">
> style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = > > margin-left: 0px; ">Ton Voon wrote:

> type=3D"cite">
> margin-bottom: 0px; margin-left: 0px; ">Hi!
> 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Just = > > wondering who is currently maintaining NRPE?

> style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = > > margin-left: 0px; min-height: 14px; ">
> 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">That'd = > > be me. I'm not doing a very good job of advertising the releases, but = > > 2.2 is available (whenever my ISP isn't doing something incompetent) at = > > http://oss.op5.se/nagios. I = > > haven't had time to do much other than making it a fair bit portable = > > yet, although I'm working on it.

> class=3D"khtml-block-placeholder">
Thanks. You should do more = > > promotion so that it becomes the "default" version, rather than the 2.0 = > > one.

However, = > > am I right in saying that the CVS repository for NRPE 2.2 is on your own = > > servers? If so, I don't think this is in the spirit of openess. Can I = > > suggest that you use Sourceforge to host the NRPE code? This way = > > the=A0changes=A0made are clear to the community.

> class=3D"khtml-block-placeholder">
In fact, I notice there is = > > a NRPE project on SF:=A0 > href=3D"http://sourceforge.net/projects/nrpe">http://sourceforge.net/proje= > > cts/nrpe. Looks like it was setup by Ethan and includes yourself as = > > a developer. Maybe this is the best place to house the main = > > code.

> class=3D"khtml-block-placeholder">

> type=3D"cite">
> margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I've dropped = > > an=A0 email to Ethan = > > Galstad but haven't received a reply. I seem to recall > class=3D"Apple-converted-space">=A0 that NRPE was split off to a = > > separate team some time ago.
> margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">We've made a = > > few tweaks to the configure script so that NRPE 2.0 now > class=3D"Apple-converted-space">=A0 compiles on Tru64 and Irix = > > "out of the box". The patch is below. It > class=3D"Apple-converted-space">=A0 requires autoconf to = > > regenerate the new configure script.

> style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = > > margin-left: 0px; min-height: 14px; ">
> 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">It would = > > be very helpful if you could make the patch apply cleanly to the 2.2 = > > sources, unless one of the portability fixes I've already made sorts it = > > out.
> style=3D"border-collapse: separate; border-spacing: 0px 0px; color: = > > rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = > > normal; font-variant: normal; font-weight: normal; letter-spacing: = > > normal; line-height: normal; text-align: auto; = > > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > > white-space: normal; widows: 2; word-spacing: 0px; "> > class=3D"Apple-style-span" style=3D"border-collapse: separate; = > > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = > > font-size: 12px; font-style: normal; font-variant: normal; font-weight: = > > normal; letter-spacing: normal; line-height: normal; text-align: auto; = > > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > > white-space: normal; widows: 2; word-spacing: 0px; "> > class=3D"Apple-style-span" style=3D"border-collapse: separate; = > > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = > > font-size: 12px; font-style: normal; font-variant: normal; font-weight: = > > normal; letter-spacing: normal; line-height: normal; text-align: auto; = > > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > > white-space: normal; widows: 2; word-spacing: 0px; "> > class=3D"Apple-style-span" style=3D"border-collapse: separate; = > > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = > > font-size: 12px; font-style: normal; font-variant: normal; font-weight: = > > normal; letter-spacing: normal; line-height: normal; text-align: auto; = > > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > > white-space: normal; widows: 2; word-spacing: 0px; "> > class=3D"Apple-style-span" style=3D"border-collapse: separate; = > > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = > > font-size: 12px; font-style: normal; font-variant: normal; font-weight: = > > normal; letter-spacing: normal; line-height: normal; text-align: auto; = > > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > > white-space: normal; widows: 2; word-spacing: 0px; "> > class=3D"Apple-style-span" style=3D"border-collapse: separate; = > > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = > > font-size: 12px; font-style: normal; font-variant: normal; font-weight: = > > normal; letter-spacing: normal; line-height: normal; text-align: auto; = > > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > > white-space: normal; widows: 2; word-spacing: 0px; ">

> class=3D"khtml-block-placeholder">
> class=3D"Apple-style-span" color=3D"#0000DD">Initial configure on Irix = > > and Tru64 fails. I'll look into it and get back to = > > you.
> color=3D"#0000DD">
> class=3D"khtml-block-placeholder">
> class=3D"Apple-style-span" color=3D"#0000DD">Ton
> class=3D"Apple-style-span" color=3D"#0000DD">
> class=3D"khtml-block-placeholder">

> class=3D"khtml-block-placeholder">
T: = > > +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: = > > tonvoon

> class=3D"Apple-interchange-newline">

= > > > > --Apple-Mail-32--906335295-- > > > > > > --__--__-- > > > > Message: 4 > > Date: Mon, 26 Sep 2005 11:23:03 +0200 > > From: Andreas Ericsson > > To: NAGIOS > > Subject: Re: [Nagios-users] Who is maintaining NRPE? > > > > Ton Voon wrote: > > > > > > On 22 Sep 2005, at 21:41, Andreas Ericsson wrote: > > > > > >> Ton Voon wrote: > > >> > > >>> Hi! > > >>> Just wondering who is currently maintaining NRPE? > > >>> > > >> > > >> That'd be me. I'm not doing a very good job of advertising the > > >> releases, but 2.2 is available (whenever my ISP isn't doing something > > >> incompetent) at http://oss.op5.se/nagios. I haven't had time to do > > >> much other than making it a fair bit portable yet, although I'm > > >> working on it. > > > > > > > > > Thanks. You should do more promotion so that it becomes the "default" > > > version, rather than the 2.0 one. > > > > > > However, am I right in saying that the CVS repository for NRPE 2.2 is > > > on your own servers? > > > > Yes. > > > > > If so, I don't think this is in the spirit of > > > openess. Can I suggest that you use Sourceforge to host the NRPE code? > > > > You can suggest it, but it won't happen. The sourceforge CVS is near > > enough impossible to work with from sweden, due to a 400ms latency. > > > > I can set them up for public access on oss.op5.se though. > > > > > This way the changes made are clear to the community. > > > > > > In fact, I notice there is a NRPE project on SF: http:// > > > sourceforge.net/projects/nrpe. Looks like it was setup by Ethan and > > > includes yourself as a developer. Maybe this is the best place to house > > > the main code. > > > > > > > > >>> I've dropped an email to Ethan Galstad but haven't received a > > >>> reply. I seem to recall that NRPE was split off to a separate team > > >>> some time ago. > > >>> We've made a few tweaks to the configure script so that NRPE 2.0 > > >>> now compiles on Tru64 and Irix "out of the box". The patch is > > >>> below. It requires autoconf to regenerate the new configure script. > > >>> > > >> > > >> It would be very helpful if you could make the patch apply cleanly to > > >> the 2.2 sources, unless one of the portability fixes I've already > > >> made sorts it out. > > > > > > > > > Initial configure on Irix and Tru64 fails. I'll look into it and get > > > back to you. > > > > > > > If openssl isn't installed, it requires the --disable-ssl switch. I'm > > not too good with autoconf stuff, but I'll try and fix it as soon as I > > get some spare time on my hands. > > > > -- > > Andreas Ericsson andreas.ericsson at op5.se > > OP5 AB www.op5.se > > Lead Developer > > > > > > --__--__-- > > > > Message: 5 > > Date: Mon, 26 Sep 2005 17:33:24 +0800 > > From: CC Yuen > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Is me again, basic question for Nagios... thanks 4 all reply..... > > > > Hi list, > > > > Because the time is very rush, so I hope some expert can help me here > > about the Nagios. > > > > 1. What language does it use to write the web interface (asp, php or pl?) > > > > 2. What is the full name of MIB? As I know this is something like a > > language pack deisgn for some device. Does it has some packs for cisco > > product? Where can I find this package? > > > > 3. According to last answer, how to export the log/static records the > > database? Can I setup something that make it export automatically? > > What kind of database can be use (MySQL, M$SQL....)? If it can export > > auto, where to find the script? > > > > 4. For the external plug-in, what kind of the pulg-in files? > > > > 5. Does the SMS alert sending through Internet or by modem or my > > mobile or? Does Nagios has already included this modules? If the alert > > is sending by modem, does the telecom provider need to support SMS too? > > > > 6. For the user/profiles setting, what kind or user rights can be set? > > (e.g. User A can read static, report.... cannot access real time > > static screen... User B can access all functions except the hardware > > monitoring... something like that) > > > > Hope the list expert can give me help!! > > > > Thanks a lot!! > > Chung > > > > > > > > --__--__-- > > > > Message: 6 > > Date: Mon, 26 Sep 2005 11:25:49 +0100 (BST) > > From: John Joseph > > To: Nagios User > > Subject: [Nagios-users] To disable the "Host UP" notification > > > > Hi Friends > > I am getting notification on "Host UP" , I would > > like to do something to do with this notification , I > > need to stop this notification only > > Which parameter I have to check > > Will disabling the stlaking option , will help in > > this aim > > > > Thanks > > Joseph JOhn > > > > > > > > ___________________________________________________________ > > How much free photo storage do you get? Store your holiday > > snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com > > > > > > --__--__-- > > > > Message: 7 > > Date: Mon, 26 Sep 2005 12:41:35 +0200 (CEST) > > From: Gabriele Di Giambelardini > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] chek manually the service > > > > hi, somebody know how i can check manually all my > > service, without wait the period for nagios 's check?? > > > > > > > > > > > > > > ___________________________________ > > Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB > > http://mail.yahoo.it > > > > > > --__--__-- > > > > Message: 8 > > Date: Mon, 26 Sep 2005 12:46:49 +0200 > > From: Hans Engelen > > Reply-To: Hans Engelen > > To: Nagios User > > Subject: Re: [Nagios-users] To disable the "Host UP" notification > > > > ------=_Part_7251_11372818.1127731609716 > > Content-Type: text/plain; charset=ISO-8859-1 > > Content-Transfer-Encoding: quoted-printable > > Content-Disposition: inline > > > > On 9/26/05, John Joseph wrote: > > > > > Hi Friends > > > I am getting notification on "Host UP" , I would > > > like to do something to do with this notification , I > > > need to stop this notification only > > > Which parameter I have to check > > > Will disabling the stlaking option , will help in > > > this aim > > > > Sounds like you need to tweak your contact settings (contacts.cfg or > > whatever file you define your contacts in). > > Specifically these 2 lines : > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > From the manual : > > *host_notification_options*: This directive is used to define the host > > states for which notifications can be sent out to this contact. Valid > > options are a combination of one or more of the following: *d* =3D notify o= > > n > > DOWN host states, *u* =3D notify on UNREACHABLE host states, *r* =3D notify= > > on > > host recoveries (UP states), and *f* =3D notify when the host starts and st= > > ops > > flapping. If you specify *n* (none) as an option, the contact will not > > receive any type of host notifications. *service_notification_options*: Th= > > is > > directive is used to define the service states for which notifications can > > be sent out to this contact. Valid options are a combination of one or more > > of the following: *w* =3D notify on WARNING service states, *u* =3D notify = > > on > > UNKNOWN service states, *c* =3D notify on CRITICAL service states, *r* =3D > > notify on service recoveries (OK states), and *f* =3D notify when the servu= > > ce > > starts and stops flapping. If you specify *n* (none) as an option, the > > contact will not receive any type of service notifications. > > Unless I misunderstand your question removing the 'r' option in > > host_notification_options should stop you from getting host up messages. > > Cheers, > > Hans > > > > ------=_Part_7251_11372818.1127731609716 > > Content-Type: text/html; charset=ISO-8859-1 > > Content-Transfer-Encoding: quoted-printable > > Content-Disposition: inline > > > >

> >
On 9/26/05, = > > John Joseph <jjk_saji at yahoo.co= > > m> wrote:
> >
> px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Friends
   = > >  I  am getting notification on "Host UP" , I would= > >
like to do something to do with this notification , I > >
need to stop this notification only
     &n= > > bsp;Which  parameter I have to check
Will disabling the stlaki= > > ng option , will help in
this aim
> >
 
> >
Sounds like you need to tweak your contact settings (contacts.cfg or w= > > hatever file you define your contacts in).
> >
 
> >
Specifically these 2 lines :
> >
 
> >
service_notification_options    w,u,c,r
host_notific= > > ation_options       d,u,r
 
> >
From the manual :
> >
> > > > > > > > > > > > > > > >
host_notification_options:This directive is used to define the host states for which notification= > > s can be sent out to this contact. Valid options are a combination of one o= > > r more of the following: d =3D notify on DOWN host states, u > > =3D notify on UNREACHABLE host states, r =3D notify on host recover= > > ies (UP states), and f =3D notify when the host starts and stops fla= > > pping. If you specify n (none) as an option, the contact will not re= > > ceive any type of host notifications.=20 > >
service_notification_options:This directive is used to define the service states for which notificat= > > ions can be sent out to this contact. Valid options are a combination of on= > > e or more of the following: w =3D notify on WARNING service states,= > > =20 > > u =3D notify on UNKNOWN service states, c =3D notify on CRITI= > > CAL service states, r =3D notify on service recoveries (OK states), = > > and f =3D notify when the servuce starts and stops flapping. If you = > > specify=20 > > n (none) as an option, the contact will not receive any type of serv= > > ice notifications.
> >
 
> >
Unless I misunderstand your question removing the 'r' option in host_n= > > otification_options should stop you from getting host up messages.
> >
 
> >
Cheers,
> >
Hans
> >
 
> > > > ------=_Part_7251_11372818.1127731609716-- > > > > > > --__--__-- > > > > Message: 9 > > Date: Mon, 26 Sep 2005 08:49:53 -0230 > > From: "Joe Regular" > > To: > > Cc: > > Subject: Re: [Nagios-users] Nagios website and contact groups? > > > > Thanks Hendrik. > > > > This appears to be exact what I am looking for. > > > > Joe > > > > >>> Hendrik Baecker 2005-09-25 3:18 PM >>> > > Hi Joe, > > > > did you try it before posting or read the manual? :-) > > > > Yes, of course it is possible: > > > > For Version 2.x: > > http://nagios.sourceforge.net/docs/2_0/cgiauth.html=20 > > > > For Version 1.x: > > http://nagios.sourceforge.net/docs/1_0/cgiauth.html=20 > > > > > > > > Joe Regular schrieb: > > > > >Is it possible to configure Nagios so that people listed in my contactgrou= > > ps.cfg file can only see their group when accessing the http://servername/n= > > agios/ website? > > > > > >By this I mean, my Linux-Admins and only view Linux servers, Novell-Admins= > > can only view Novell servers, NT-Admins can only view Windows servers, = > > Switch-Admins can only view switches, and Helpdesk can only view printers. > > > > > >Thanks in advance, > > >Joe > > > > > > > > >------------------------------------------------------- > > >SF.Net email is sponsored by: > > >Tame your development challenges with Apache's Geronimo App Server.=20 > > >Download it for free - -and be entered to win a 42" plasma tv or your = > > very > > >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php= > > =20 > > >_______________________________________________ > > >Nagios-users mailing list > > >Nagios-users at lists.sourceforge.net=20 > > >https://lists.sourceforge.net/lists/listinfo/nagios-users=20 > > >::: Please include Nagios version, plugin version (-v) and OS when = > > reporting any issue.=20 > > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > =20 > > > > > > > > > > > > > > > --__--__-- > > > > Message: 10 > > Date: Mon, 26 Sep 2005 09:26:35 -0300 (ART) > > From: =?iso-8859-1?q?Marco=20Aur=E9lio=20Miranda=20Pereira?= > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Sobre NRPE_NT > > > > Peguei um tutorial na Net sobre o NRPE_NT e na hora de > > instalar ele na na m?quina(S.O Win XP Pro SP2) de u um > > erro. > > > > 1- C:/nrpe_nt/bin>nrpe_nt -c nrpe.cfg -i > > NRPE_NT service sucessfully installer! Esse deu OK > > > > e na hora de iniciar o servi?o d? um erro > > c:/nrpe_nt/bin>net start nrpe_nt > > falhou. > > > > Algu?m sabe o que pode ter acontecido levando em > > cosnidera??o que segui o caminho do tutorial passo a > > passo! > > > > Agrade?o desde j? > > > > Marco > > > > __________________________________________________ > > Fa?a liga??es para outros computadores com o novo Yahoo! Messenger > > http://br.beta.messenger.yahoo.com/ > > > > > > --__--__-- > > > > Message: 11 > > Subject: Re: [Nagios-users] Sobre NRPE_NT > > From: jeff vier > > Reply-To: boinger at tradingtechnologies.com > > To: Marco =?ISO-8859-1?Q?Aur=E9lio?= Miranda Pereira > > Cc: nagios-users at lists.sourceforge.net > > Organization: TT > > Date: Mon, 26 Sep 2005 09:10:36 -0500 > > > > > > --=-BcPl7UWB/pPkKcgU1OAR > > Content-Type: text/plain; charset=UTF-8 > > Content-Transfer-Encoding: base64 > > > > DQpEaWVzIGlzdCBlaW5lIGVuZ2xpc2NoZSBNYWlsaW5nbGlzdGUuIFVuZCB3aXIgbW9lY2h0ZW4s > > IGRhc3MgZXMgc28NCmJsZWlidC4NClZpZWxlbiBEYW5rIGZ1ZXIgSWhyIFZlcnN0YWVuZG5pcy4N > > Cg0KQydlc3QgdW5lIGxpc3RlIGFuZ2xhaXNlIGQnZXhww6lkaXRpb24uICBFdCBub3VzIGxhIHBy > > w6lmw6lyb25zIHBvdXIgcmVzdGVyIGRlIGNldHRlIGZhw6dvbi4NCk1lcmNpIGRlIGxhIGNvbXBy > > w6loZW5zaW9uLg0KDQpDacOyIMOoIHVuYSBsaXN0YSBpbmdsZXNlIHNwZWRpcmUuICBFIGxhIHBy > > ZWZlcmlhbW8gcGVyIHJpbWFuZXJlIHF1ZWwgc2Vuc28uDQpHcmF6aWUgcGVyIGNhcGlyZS4NCg0K > > RXN0YSDDqSB1bWEgbGlzdGEgY3VqbyBvIGlkaW9tYSBpbmdsw6pzIMOpIG9icmlnYXTDs3Jpbywg > > ZSBwcmVmZXJpbW9zIG1hbnRlciBkZXN0YSBtYW5laXJhLg0KR3JhdG8gcGVsYSB2b3NzYSBjb21w > > cmVlbnPDo28uIA0KDQpFc3RvIGVzIHVuYSBsaXN0YSBpbmdsZXNhIGVsIGVudmlhci4gIFkgbGEg > > cHJlZmVyaW1vcyBwYXJhIHBlcm1hbmVjZXIgZXNhIG1hbmVyYS4NCkdyYWNpYXMgcG9yIGVudGVu > > ZGVyLg0KDQrjgZPjgozjga/oi7Hlm73jga7pg7XpgIHjga7jg6rjgrnjg4jjgafjgYLjgovjgILj > > gZ3jgZfjgabjgZ3jgYbjgYTjgYbpoqjjgasg44Go44Gp44G+44KL44Gf44KB44Gr56eB6YGU44Gv > > 44Gd44KM44KS5aW944KA44CCDQrnkIbop6Pjga7jgZ/jgoHjgavjgYLjgarjgZ/jgavmhJ/orJ3j > > gZcg44Gq44GV44GE44CCDQoNCuydtOqyg+ydgCDsmIHqta0g7Jqw7IahIOuqheu2gCDsnbTri6Qu > > ICDqt7jrpqzqs6Ag7KCAIOuwqeuyleydhCDssrTsnqwg7ZWY6riwIOychO2VmOyXrCDsmrDrpqzr > > ipQg6re46rKD7J2EIOyii+yVhO2VnOuLpC4NCuydtO2VtOulvCDsnITtlbQg64SI66W8IOqwkOyC > > rCDtlZjsi63si5zsmpQuDQoNCui/meaYr+S4gOW8oOiLseWbvemCruWvhOWQjeWNleOAguW5tuS4 > > lOaIkeS7rOabtOWWnOasouWug+eVmeS4i+mCo+agt+OAgg0K6LCiIOiwouS6huino+OAgg0KDQpU > > aGlzIGlzIGFuIEVuZ2xpc2ggbWFpbGluZyBsaXN0LiAgQW5kIHdlIHByZWZlciBpdCB0byBzdGF5 > > IHRoYXQgd2F5Lg0KVGhhbmsgeW91IGZvciB1bmRlcnN0YW5kaW5nLg0KDQpPbiBNb24sIDIwMDUt > > MDktMjYgYXQgMDk6MjYgLTAzMDAsIE1hcmNvIEF1csOpbGlvIE1pcmFuZGEgUGVyZWlyYSB3cm90 > > ZToNCj4gUGVndWVpIHVtIHR1dG9yaWFsIG5hIE5ldCBzb2JyZSBvIE5SUEVfTlQgZSBuYSBob3Jh > > IGRlDQo+IGluc3RhbGFyIGVsZSBuYSBuYSBtw6FxdWluYShTLk8gV2luIFhQIFBybyBTUDIpIGRl > > IHUgdW0NCj4gZXJyby4NCj4gDQo+IDEtIEM6L25ycGVfbnQvYmluPm5ycGVfbnQgLWMgbnJwZS5j > > ZmcgLWkNCj4gTlJQRV9OVCBzZXJ2aWNlIHN1Y2Vzc2Z1bGx5IGluc3RhbGxlciEgRXNzZSBkZXUg > > T0sNCj4gDQo+IGUgbmEgaG9yYSBkZSBpbmljaWFyIG8gc2VydmnDp28gZMOhIHVtIGVycm8NCj4g > > YzovbnJwZV9udC9iaW4+bmV0IHN0YXJ0IG5ycGVfbnQNCj4gZmFsaG91Lg0KPiANCj4gQWxndcOp > > bSBzYWJlIG8gcXVlIHBvZGUgdGVyIGFjb250ZWNpZG8gbGV2YW5kbyBlbQ0KPiBjb3NuaWRlcmHD > > p8OjbyBxdWUgc2VndWkgbyBjYW1pbmhvIGRvIHR1dG9yaWFsIHBhc3NvIGENCj4gcGFzc28hDQo+ > > IA0KPiBBZ3JhZGXDp28gZGVzZGUgasOhDQoNCg== > > > > > > --=-BcPl7UWB/pPkKcgU1OAR > > Content-Type: application/pgp-signature; name=signature.asc > > Content-Description: This is a digitally signed message part > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.2 (GNU/Linux) > > > > iD8DBQBDOAFc2Lh5h/NRnWwRAo5wAJ9RUqqJ7BSE9Bgb8tv4f6HKHrHcRwCfSqqV > > O2m4f24ACCJQjkqQjAv14wM= > > =EpXp > > -----END PGP SIGNATURE----- > > > > --=-BcPl7UWB/pPkKcgU1OAR-- > > > > > > > > --__--__-- > > > > Message: 12 > > Date: Mon, 26 Sep 2005 16:16:33 +0200 > > To: nagios-users at lists.sourceforge.net > > From: "William Miles" > > Subject: [Nagios-users] No perfdata collected > > > > Hi List > > > > I am running Nagios 1.2 on a Suse 9.1. I have installed groundwork's monarch to manage/configure nagios, enabled perfdata in the nagios config, specified a perfdata > > command(for testing purposes): > > > > /usr/bin/printf "$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$PERFDATA$\n" >> /tmp/host-perfdata-test.txt > > > > , compiled nagios with --with-default-perfdata. I have done everything as described on http://nagios.sourceforge.net/docs/1_0/xpddefault.html, but nagios is simply not > > collecting any performance data. I want to use nagios_grapher to display perfomance graphs. > > > > Any feedback will be greatly appreaciated! > > > > Cheers > > William > > > > > > > > > > --__--__-- > > > > Message: 13 > > Date: Mon, 26 Sep 2005 09:16:22 -0500 > > From: Terry > > Reply-To: Terry > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Re: send a test page > > > > I monitor the webmin service and write a script to take it down for 5 > > minutes and bring it back up. This is a real test of the whole > > system. I also have links in the side bar to test both warning and > > critical notifications: > > > > #!/bin/bash > > > > hostname=3Dplaut01 > > output=3DTEST > > state=3D$1 > > > > echo "Content-type: text/html" > > echo "" > > echo "" > > echo "" > > echo "" > > echo "" > > echo "" > > > > if /usr/lib/nagios/plugins/eventhandlers/submit_check_result $hostname > > "Test Notification" $state $output;then > > echo -n "Test notification sent!
" > > echo -n " > href=3D/nagios/cgi-bin/status.cgi?hostgroup=3Dall>Check it out" > > else > > echo -n "Something wrong happened, try again" > > fi > > > > /usr/lib/nagios/plugins/eventhandlers/submit_check_result $hostname > > "Test Notification" 0 $output > > echo "" > > > > > > It's pretty ugly but it works. > > > > On 9/25/05, Greg King wrote: > > > > From: Rossella Mariotti-Jones [mailto:rossella at chemeketa.edu] > > > > Sent: Friday, September 23, 2005 12:33 PM > > > > To: nagios-users at lists.sourceforge.net; > > > > nagiosplug-help at lists.sourceforge.net > > > > Subject: [Nagios-users] send a test page > > > > > > > > > > > > > > > > Hi all, does anybody how to send test pages to pagers from within > > > > Nagios? I refuse to think that the only way to do it is setup a test > > > > group and unplug > > > > a box, there's gotta be another way! Thanks in advance. > > > > > > > > > > > Here is a manual way the test any command, as follows: > > > > > > 1. log into nagios web interface as an admin, and "View config", commands= > > . > > > 2. Find the command you want to test, and select all the code, and right = > > click "copy" 3. ssh into the nagios server. Log in with the id that Nagios = > > runs as, or issue "su - " command after login as root. > > > 4. enter command "vi testcmd.sh", go to insert mode and paste command to = > > be tested. Remove all trailing "$" from the Nagios macros, and save command= > > . Removing these training $ is only necessary for email or pager ids but it= > > pretties up the test results (they will have trailing $ if you don't which= > > will be ok for most things, except for email ids or pager #). > > > 5. Set environment variables for each of the Nagios macros - ie SERVICEDE= > > SC=3DMyservice, NOTIFICATIONTYPE=3DAlert, etc. > > > 6. >chmod +x testcmd.sh > > > 7. >. testcmd.sh - this will run the command as Nagios would. Be sure to= > > source the command to keep environment variables (ie >source testcmd.sh or= > > >. testcmd.sh) > > > > > > While this is not strictly "within Nagios" I have used it a few times to = > > debug flakey Nagios commands. > > > > > > Good luck! > > > > > > Regards, Greg > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's Geronimo App Server. > > > Download it for free - -and be entered to win a 42" plasma tv or your ver= > > y > > > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when report= > > ing any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > --__--__-- > > > > Message: 14 > > Subject: RE: [Nagios-users] Is me again, basic question for Nagios... thanks 4 all reply..... > > Date: Mon, 26 Sep 2005 10:09:30 -0500 > > From: "Marc Powell" > > To: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of CC Yuen > > > Sent: Monday, September 26, 2005 4:33 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Is me again, basic question for Nagios... > > thanks 4 > > > all reply..... > > >=20 > > > Hi list, > > >=20 > > > Because the time is very rush, so I hope some expert can help me here > > > about the Nagios. > > > > ... > > > > > 1. What language does it use to write the web interface (asp, php or > > pl?) > > >=20 > > > > C - http://cvs.sourceforge.net/viewcvs.py/nagios/nagios/cgi/ > > > > > 2. What is the full name of MIB? As I know this is something like a > > > language pack deisgn for some device. Does it has some packs for cisco > > > product? Where can I find this package? > > > > This is unclear. Nagios doesn't directly use MIBs necessarily. If you're > > looking for more information on MIBs in general then a google search for > > SNMP would probably be in order or a peek at http://www.mibdepot.com. > > There is a project to develop a Nagios specific MIB and it may be what > > you're looking for. It can be found here - > > http://sourceforge.net/project/showfiles.php?group_id=3D29880&package_id=3D= > > 1 > > 53315 > > =20 > > > 3. According to last answer, how to export the log/static records the > > > database? Can I setup something that make it export automatically? > > > What kind of database can be use (MySQL, M$SQL....)? If it can export > > > auto, where to find the script? > > > > Nagios versions 1.x can natively store _current_ host/service/program > > data in either postgres or mysql. Nagios 2.x requires the nagios-db > > addon module for similar functionality. Nagios will always store > > historical data in flat files.=20 > > =20 > > http://nagios.sourceforge.net/docs/1_0/xdata-db.html > > http://nagios.sourceforge.net/docs/2_0/whatsnew.html, #14 > > http://sourceforge.net/projects/nagios-db > > > > > 4. For the external plug-in, what kind of the pulg-in files? > > > > Unclear. There are many kinds of plugins written in many different > > languages (shell, perl, C, python, etc). You can always download them > > and look for yourself from http://www.nagios.org/download/ or > > http://nagiosplug.sf.net. > > =20 > > > 5. Does the SMS alert sending through Internet or by modem or my > > > > However you configure it. You have great flexibility in this regard. > > > > > mobile or? Does Nagios has already included this modules? If the alert > > > > Nagios relies on external programs for all notification delivery. If you > > can send an SMS from the command line in a non-interactive manner then > > Nagios can likely do so using that program. Some FAQs that might be > > useful to you -- > > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=3D65 > > http://www.nagios.org/faqs/viewfaq.php?faq_id=3D279 > > http://www.nagios.org/faqs/viewfaq.php?faq_id=3D220 > > > > > 6. For the user/profiles setting, what kind or user rights can be set? > > > (e.g. User A can read static, report.... cannot access real time > > > static screen... User B can access all functions except the hardware > > > monitoring... something like that) > > > > Users by default can view and control hosts and services for which they > > are an authorized contact. You can grant additional permissions to > > specific users to view config files, see/control all hosts, etc. Nagios > > does not implement function specfic ACLs. > > > > http://nagios.sourceforge.net/docs/1_0/cgiauth.html > > > > There is no read-only view but it can be emulated by disabling external > > commands (affects everyone) or by using .htaccess to limit access to > > cmd.cgi to specific users. There's information in the archives on how to > > do this. > > > > HTH, > > > > -- > > Marc > > > > > > --__--__-- > > > > Message: 15 > > Date: Mon, 26 Sep 2005 12:42:45 -0300 (ART) > > From: =?iso-8859-1?q?Marco=20Aur=E9lio=20Miranda=20Pereira?= > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Comandos externos do nagios > > > > Estou com problemas na hora de realizar um comando > > externo pela interface web, e aparece esse mensagem > > abaixo. J? experimentei alerar permiss?es e nada > > resolveu. > > > > Error: Could not stat() command file > > '/usr/local/nagios/var/rw/nagios.cmd'! > > > > The external command file may be missing, Nagios may > > not be running, and/or Nagios may not be checking > > external commands. > > > > An error occurred while attempting to commit your > > command for processing. > > > > se algu?m puder me ajudar agrade?o desde j?! > > > > Marco Aur?lio > > > > > > > > > > > > > > > > _______________________________________________________ > > Novo Yahoo! Messenger com voz: liga??es, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! > > www.yahoo.com.br/messenger/ > > > > > > --__--__-- > > > > Message: 16 > > Subject: Re: [Nagios-users] Comandos externos do nagios > > From: jeff vier > > Reply-To: boinger at tradingtechnologies.com > > To: Marco =?ISO-8859-1?Q?Aur=E9lio?= Miranda Pereira > > Cc: nagios-users at lists.sourceforge.net > > Organization: TT > > Date: Mon, 26 Sep 2005 10:50:14 -0500 > > > > > > --=-isXVpCI4nTZBD+tDPSE0 > > Content-Type: text/plain; charset=UTF-8 > > Content-Transfer-Encoding: base64 > > > > DQpEaWVzIGlzdCBlaW5lIGVuZ2xpc2NoZSBNYWlsaW5nbGlzdGUuIFVuZCB3aXIgbW9lY2h0ZW4s > > IGRhc3MgZXMgc28NCmJsZWlidC4NClZpZWxlbiBEYW5rIGZ1ZXIgSWhyIFZlcnN0YWVuZG5pcy4N > > Cg0KQydlc3QgdW5lIGxpc3RlIGFuZ2xhaXNlIGQnZXhww6lkaXRpb24uICBFdCBub3VzIGxhIHBy > > w6lmw6lyb25zIHBvdXIgcmVzdGVyIGRlIGNldHRlIGZhw6dvbi4NCk1lcmNpIGRlIGxhIGNvbXBy > > w6loZW5zaW9uLg0KDQpDacOyIMOoIHVuYSBsaXN0YSBpbmdsZXNlIHNwZWRpcmUuICBFIGxhIHBy > > ZWZlcmlhbW8gcGVyIHJpbWFuZXJlIHF1ZWwgc2Vuc28uDQpHcmF6aWUgcGVyIGNhcGlyZS4NCg0K > > RXN0YSDDqSB1bWEgbGlzdGEgY3VqbyBvIGlkaW9tYSBpbmdsw6pzIMOpIG9icmlnYXTDs3Jpbywg > > ZSBwcmVmZXJpbW9zIG1hbnRlciBkZXN0YSBtYW5laXJhLg0KR3JhdG8gcGVsYSB2b3NzYSBjb21w > > cmVlbnPDo28uIA0KDQpFc3RvIGVzIHVuYSBsaXN0YSBpbmdsZXNhIGVsIGVudmlhci4gIFkgbGEg > > cHJlZmVyaW1vcyBwYXJhIHBlcm1hbmVjZXIgZXNhIG1hbmVyYS4NCkdyYWNpYXMgcG9yIGVudGVu > > ZGVyLg0KDQrjgZPjgozjga/oi7Hlm73jga7pg7XpgIHjga7jg6rjgrnjg4jjgafjgYLjgovjgILj > > gZ3jgZfjgabjgZ3jgYbjgYTjgYbpoqjjgasg44Go44Gp44G+44KL44Gf44KB44Gr56eB6YGU44Gv > > 44Gd44KM44KS5aW944KA44CCDQrnkIbop6Pjga7jgZ/jgoHjgavjgYLjgarjgZ/jgavmhJ/orJ3j > > gZcg44Gq44GV44GE44CCDQoNCuydtOqyg+ydgCDsmIHqta0g7Jqw7IahIOuqheu2gCDsnbTri6Qu > > ICDqt7jrpqzqs6Ag7KCAIOuwqeuyleydhCDssrTsnqwg7ZWY6riwIOychO2VmOyXrCDsmrDrpqzr > > ipQg6re46rKD7J2EIOyii+yVhO2VnOuLpC4NCuydtO2VtOulvCDsnITtlbQg64SI66W8IOqwkOyC > > rCDtlZjsi63si5zsmpQuDQoNCui/meaYr+S4gOW8oOiLseWbvemCruWvhOWQjeWNleOAguW5tuS4 > > lOaIkeS7rOabtOWWnOasouWug+eVmeS4i+mCo+agt+OAgg0K6LCiIOiwouS6huino+OAgg0KDQpU > > aGlzIGlzIGFuIEVuZ2xpc2ggbWFpbGluZyBsaXN0LiAgQW5kIHdlIHByZWZlciBpdCB0byBzdGF5 > > IHRoYXQgd2F5Lg0KVGhhbmsgeW91IGZvciB1bmRlcnN0YW5kaW5nLg0KDQpPbiBNb24sIDIwMDUt > > MDktMjYgYXQgMTI6NDIgLTAzMDAsIE1hcmNvIEF1csOpbGlvIE1pcmFuZGEgUGVyZWlyYSB3cm90 > > ZToNCj4gRXN0b3UgY29tIHByb2JsZW1hcyBuYSBob3JhIGRlIHJlYWxpemFyIHVtIGNvbWFuZG8N > > Cj4gZXh0ZXJubyBwZWxhIGludGVyZmFjZSB3ZWIsIGUgYXBhcmVjZSBlc3NlIG1lbnNhZ2VtDQo+ > > IGFiYWl4by4gSsOhIGV4cGVyaW1lbnRlaSBhbGVyYXIgcGVybWlzc8O1ZXMgZSBuYWRhDQo+IHJl > > c29sdmV1LiANCj4gDQo+IEVycm9yOiBDb3VsZCBub3Qgc3RhdCgpIGNvbW1hbmQgZmlsZQ0KPiAn > > L3Vzci9sb2NhbC9uYWdpb3MvdmFyL3J3L25hZ2lvcy5jbWQnIQ0KPiANCj4gVGhlIGV4dGVybmFs > > IGNvbW1hbmQgZmlsZSBtYXkgYmUgbWlzc2luZywgTmFnaW9zIG1heQ0KPiBub3QgYmUgcnVubmlu > > ZywgYW5kL29yIE5hZ2lvcyBtYXkgbm90IGJlIGNoZWNraW5nDQo+IGV4dGVybmFsIGNvbW1hbmRz > > Lg0KPiANCj4gQW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgYXR0ZW1wdGluZyB0byBjb21taXQgeW91 > > cg0KPiBjb21tYW5kIGZvciBwcm9jZXNzaW5nLg0KPiANCj4gc2UgYWxndcOpbSBwdWRlciBtZSBh > > anVkYXIgYWdyYWRlw6dvIGRlc2RlIGrDoSENCj4gDQo+IE1hcmNvIEF1csOpbGlvDQoNCg== > > > > > > --=-isXVpCI4nTZBD+tDPSE0 > > Content-Type: application/pgp-signature; name=signature.asc > > Content-Description: This is a digitally signed message part > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.2 (GNU/Linux) > > > > iD8DBQBDOBi22Lh5h/NRnWwRAgumAKCuBGVOU4ObadFVqULTdpwkRhRv9ACeNfQl > > YeFgGaVjBH7XbMNF0WKK0eo= > > =9Zls > > -----END PGP SIGNATURE----- > > > > --=-isXVpCI4nTZBD+tDPSE0-- > > > > > > > > --__--__-- > > > > Message: 17 > > From: "Efe Ohimor" > > To: > > Date: Mon, 26 Sep 2005 17:27:11 +0100 > > Subject: [Nagios-users] What I am doing wrong with version 2.01b > > > > This is a multi-part message in MIME format. > > > > ------=_NextPart_000_006B_01C5C2BF.872CF620 > > Content-Type: text/plain; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > Hello Forum, > > I tried to run Nagios for the first time using the command below > > > > [root at nms etc]# /usr/local/nagios/bin/nagios -v = > > /usr/local/nagios/etc/nagios.cfg > > > > but got the following error=20 > > > > Nagios 2.0b1 > > Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) > > Last Modified: 12-15-2005 > > License: GPL > > > > Reading configuration data... > > > > Error: Invalid hostgroup object directive 'contact_groups'. > > Error: Could not add object property in file = > > '/usr/local/nagios/etc/hostgroups.cfg' on line 5. > > > > ***> One or more problems was encountered while processing the config = > > files... > > > > Check your configuration file(s) to ensure that they contain valid > > directives and data defintions. If you are upgrading from a = > > previous > > version of Nagios, you should be aware that some = > > variables/definitions > > may have been removed or modified in this version. Make sure to = > > read > > the HTML documentation regarding the config files, as well as the > > 'Whats New' section to find out what has changed. > > > > > > My hostgroup.cfg file is shown below=20 > > > > # 'novell-servers' host group definition > > define hostgroup{ > > hostgroup_name database-servers > > alias Novell Servers > > contact_groups datacenter-admins > > members excellence > > } > > > > > > > > > > > > Can anyone tell me what I am doing wrong? > > > > Efe Ohimor > > ipNX Nigeria Limited, > > 4,Balarabe Musa Crescent, > > Victoria Island, > > Lagos. > > Tel :4619943-6 ext 1216 > > > > ------=_NextPart_000_006B_01C5C2BF.872CF620 > > Content-Type: text/html; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > charset=3Diso-8859-1"> > > > > > > > > > >
Hello Forum,
> >
I tried to run Nagios for the first = > > time using the=20 > > command below
> >
 
> >
[root at nms etc]#=20 > > /usr/local/nagios/bin/nagios -v=20 > > /usr/local/nagios/etc/nagios.cfg
> >
 
> >
but got the following error = > >
> >
 
> >
Nagios 2.0b1
Copyright (c) 1999-2004 = > > Ethan=20 > > Galstad (
> color=3D#000000 size=3D2>nagios at nagios.org > size=3D2>)
Last Modified: 12-15-2005
License: GPL
> >
 
> >
Reading configuration = > > data...
> >
 
> >
Error: Invalid = > > hostgroup object=20 > > directive 'contact_groups'.
Error: Could not add object property in = > > file=20 > > '/usr/local/nagios/etc/hostgroups.cfg' on line 5.
> >
 
> >
***> One or more problems was = > > encountered while=20 > > processing the config files...
> >
 
> >
     Check your = > > configuration=20 > > file(s) to ensure that they contain valid
     = > > directives=20 > > and data defintions.  If you are upgrading from a=20 > > previous
     version of Nagios, you should be = > > aware that=20 > > some variables/definitions
     may have been = > > removed or=20 > > modified in this version.  Make sure to = > > read
    =20 > > the HTML documentation regarding the config files, as well as=20 > > the
     'Whats New' section to find out what has = > > > > changed.
> >
 
> >
My hostgroup.cfg file is shown below = > >
> >
 
> >
# 'novell-servers' host group=20 > > definition
define = > > hostgroup{
       =20 > > hostgroup_name =20 > > database-servers
       =20 > > alias           Novell = > > > > Servers
        = > > contact_groups =20 > > datacenter-admins
       =20 > > members        =20 > > excellence
       =20 > > }
> >
 
> >
 
> >
 
> >
 
> >
Can anyone tell me what I am doing=20 > > wrong?
> >
 
> >
Efe Ohimor
ipNX Nigeria = > > Limited,
4,Balarabe=20 > > Musa Crescent,
Victoria Island,
Lagos.
Tel :4619943-6 ext=20 > > 1216
> > > > ------=_NextPart_000_006B_01C5C2BF.872CF620-- > > > > > > > > --__--__-- > > > > Message: 18 > > Subject: RE: [Nagios-users] What I am doing wrong with version 2.01b > > Date: Mon, 26 Sep 2005 12:06:17 -0500 > > From: "Marc Powell" > > To: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Efe Ohimor > > > Sent: Monday, September 26, 2005 11:27 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] What I am doing wrong with version 2.01b > > >=20 > > > Hello Forum, > > > I tried to run Nagios for the first time using the command below > > >=20 > > > [root at nms etc]# /usr/local/nagios/bin/nagios -v > > > /usr/local/nagios/etc/nagios.cfg > > > > -v is just to verify your config files and then exit. To run in daemon > > mode you need to use -d or the init script. Running -v to check your > > config files is good practice however and will catch configuration > > errors like the one below. > > =20 > > > but got the following error > > >=20 > > > Nagios 2.0b1 > > > Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org > > > ) > > > Last Modified: 12-15-2005 > > > License: GPL > > >=20 > > > Reading configuration data... > > >=20 > > > Error: Invalid hostgroup object directive 'contact_groups'. > > > Error: Could not add object property in file > > > '/usr/local/nagios/etc/hostgroups.cfg' on line 5. > > >=20 > > > ***> One or more problems was encountered while processing the config > > > files... > > >=20 > > > Check your configuration file(s) to ensure that they contain > > valid > > > directives and data defintions. If you are upgrading from a > > previous > > > version of Nagios, you should be aware that some > > > variables/definitions > > > may have been removed or modified in this version. Make sure to > > read > > > the HTML documentation regarding the config files, as well as the > > > 'Whats New' section to find out what has changed. > > >=20 > > >=20 > > > My hostgroup.cfg file is shown below > > >=20 > > > # 'novell-servers' host group definition > > > define hostgroup{ > > > hostgroup_name database-servers > > > alias Novell Servers > > > contact_groups datacenter-admins > > > members excellence > > > } > > > > > > > Can anyone tell me what I am doing wrong? > > > > The contact_groups directive is no longer supported in a hostgroup > > definition. > > > > http://nagios.sourceforge.net/docs/2_0/whatsnew.html, #2 > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host > > > > From previous posts it appears that you may be upgrading from 1.2 to > > 2.x. If that is the case there are several other things you'll probably > > want to look at detailed in the changelog. Also, 2.0b1 is old. If you're > > going to run the beta you should use the latest (2.0b4). > > > > -- > > Marc > > > > > > --__--__-- > > > > Message: 19 > > Date: Mon, 26 Sep 2005 13:06:54 -0400 > > From: "Bryan Bateman" > > To: > > Subject: [Nagios-users] How does Nagios determine system time > > > > I have an test install of Nagios running in Eastern Daylight Time, but > > the time reported by Nagios is Pacific Daylight time. Is there a > > configuration setting to enable the correct time zone???? > > > > > > --__--__-- > > > > Message: 20 > > Subject: RE: [Nagios-users] How does Nagios determine system time > > Date: Mon, 26 Sep 2005 12:31:58 -0500 > > From: "Marc Powell" > > To: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Bryan Bateman > > > Sent: Monday, September 26, 2005 12:07 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] How does Nagios determine system time > > >=20 > > > I have an test install of Nagios running in Eastern Daylight Time, but > > > the time reported by Nagios is Pacific Daylight time. Is there a > > > configuration setting to enable the correct time zone???? > > > > Not within Nagios. It uses the localtime() C function to convert time_t > > (seconds since the epoch) adjusting for the local time zone the server > > is configured for. > > > > I'll bet if you run the following script it'll show the same time > > information as Nagios -- > > > > perl -e 'print scalar(localtime()) . "\n";' > > > > If you're using linux you can change your timezone from the command line > > by following these instructions -- > > > > http://www.linuxforum.com/linux_tutorials/68/1.php > > > > If you're using a GUI or other OS you'll need to consult their > > documentation. > > > > -- > > Marc > > > > > > --__--__-- > > > > Message: 21 > > From: John Mark Walker > > Organization: GroundWork Open Source Solutions > > To: nagios-users at lists.sourceforge.net > > Date: Mon, 26 Sep 2005 10:38:46 -0700 > > Subject: [Nagios-users] Web seminar on GroundWork Foundation > > > > Just wanted to send a quick note to let you know that we're hosting a > > web seminar tomorrow on using GroundWork Foundation. Foundation is a > > GPL'd, java-based data abstraction layer that we've designed to work > > with Nagios. You can customize it to work with any tool from which you > > need data, but it works with Nagios "out of the box". > > > > The seminar will take place Tuesday, 9/27, 11am PST. It will be archived > > for those of you unable to attend at that time. > > > > Here's Foundation's SF.net project page: > > http://sf.net/projects/gw-foundation/ > > > > Here's documentation: http://www.itgroundwork.com/products/gwf-doc.html > > > > And here's where you can register for the seminar: > > https://itgroundworkevents.webex.com/itgroundworkevents/onstage/g.php?d=772009400&t=a > > > > For those of you, like me, who can't use Webex, I'm going to arrange for > > some IRC-based chats in the future. > > > > Thanks, > > John Mark Walker > > GroundWork Open Source Solutions > > > > > > --__--__-- > > > > Message: 22 > > From: John Mark Walker > > Organization: GroundWork Open Source Solutions > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Web seminar on GroundWork Foundation > > Date: Mon, 26 Sep 2005 10:41:35 -0700 > > > > On Monday 26 September 2005 10:38 am, John Mark Walker wrote: > > > > > > Here's Foundation's SF.net project page: > > > http://sf.net/projects/gw-foundation/ > > > > > > > I'm really sorry for responding to my own post, but that URL should be > > http://sf.net/projects/gwfoundation/ > > > > > > --__--__-- > > > > Message: 23 > > Subject: Re: [Nagios-users] Comandos externos do nagios > > From: Marcel Mitsuto Fucatu Sugano > > To: Marco =?ISO-8859-1?Q?Aur=E9lio?= Miranda Pereira > > Cc: nagios-users at lists.sourceforge.net > > Organization: Universo Online S.A. > > Date: Mon, 26 Sep 2005 16:38:07 -0300 > > > > On Mon, 2005-09-26 at 12:42 -0300, Marco Aur=E9lio Miranda Pereira wrote: > > > Estou com problemas na hora de realizar um comando > > > externo pela interface web, e aparece esse mensagem > > > abaixo. J=E1 experimentei alerar permiss=F5es e nada > > > resolveu. > > Apache must be executed with the same user that runs nagios (usually > > nagios:nagios :). Otherwise, it would not be able to place commands to > > Nagios. (I think you should RTFM ;) > > > > Cheers > > > > :PS::PortugueSe: > > O apache deve ser executado pelo mesmo usu=E1rio que executa o Nagios, > > sen=E3o nada feito. > > > > Como est=E3o as permiss=F5es? Vc sabe pra que serve o arquivo nagios.cmd? > > Leu a documenta=E7=E3o? http://nagios.sourceforge.net/docs/1_0/toc.html > > Qual vers=E3o do Nagios? http://nagios.sourceforge.net/docs/2_0/toc.html > > > > Esse erro, ocorre quando o nagios n=E3o encontra o arquivo nagios.cmd > > Esse arquivo =E9 utilizado para enviar comandos para o nagios: > > http://www.nagios.org/developerinfo/externalcommands/commandlist.php > > > > --=20 > > Marcel Mitsuto Fucatu Sugano > > Universo Online S.A. > > > > > > --__--__-- > > > > Message: 24 > > Date: Mon, 26 Sep 2005 13:32:43 -0700 > > From: Luis Gardea > > Reply-To: Luis Gardea > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Problemas con check_dchp > > > > ------=_Part_29160_18563809.1127766763342 > > Content-Type: text/plain; charset=ISO-8859-1 > > Content-Transfer-Encoding: quoted-printable > > Content-Disposition: inline > > > > Hola alguien ha esta trabajando con check_dhcp ya que siempre me aparece un > > error del DHCPOFFERS > > Les agradeceria sus comenterios. > > FC3 > > Nagios 2.0 > > > > ------=_Part_29160_18563809.1127766763342 > > Content-Type: text/html; charset=ISO-8859-1 > > Content-Transfer-Encoding: quoted-printable > > Content-Disposition: inline > > > >
Hola alguien ha esta trabajando con check_dhcp ya que siempre me apare= > > ce un error del DHCPOFFERS
> >
Les agradeceria sus comenterios.
> >
 
> >
FC3
> >
Nagios 2.0
> >
 
> > > > ------=_Part_29160_18563809.1127766763342-- > > > > > > --__--__-- > > > > Message: 25 > > From: Tedman Eng > > To: 'Luis Gardea' , > > Nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Problemas con check_dchp > > Date: Mon, 26 Sep 2005 13:49:35 -0700 > > > > This message is in MIME format. Since your mail reader does not understand > > this format, some or all of this message may not be legible. > > > > ------_=_NextPart_001_01C5C2DB.CDF85EC0 > > Content-Type: text/plain; > > charset="iso-8859-1" > > > > I'm not sure what your question says, but here's a guess at the answer. > > > > DHCP is a local network protocol. If the DHCP server you're trying to check > > is on a different network from your nagios server, you either need to have > > an intermediate server/router that provides DHCP relay, or execute the > > check_dhcp from a machine in the same network as the DHCP server. > > > > -----Original Message----- > > From: Luis Gardea [mailto:gardealuis at gmail.com] > > Sent: Monday, September 26, 2005 1:33 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Problemas con check_dchp > > > > > > Hola alguien ha esta trabajando con check_dhcp ya que siempre me aparece un > > error del DHCPOFFERS > > Les agradeceria sus comenterios. > > > > FC3 > > Nagios 2.0 > > > > > > > > ------_=_NextPart_001_01C5C2DB.CDF85EC0 > > Content-Type: text/html; > > charset="iso-8859-1" > > > > > > > > > > > > > > > > > >
I'm > > not sure what your question says, but here's a guess at the > > answer.
> >
> size=2> 
> >
DHCP > > is a local network protocol.  If the DHCP server you're trying to check is > > on a different network from your nagios server, you either need to have an > > intermediate server/router that provides DHCP relay, or execute the > > check_dhcp from a machine in the same network as the DHCP > > server.
> >
> style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"> > >
> size=2>-----Original Message-----
From: Luis Gardea > > [mailto:gardealuis at gmail.com]
Sent: Monday, September 26, 2005 1:33 > > PM
To: Nagios-users at lists.sourceforge.net
Subject: > > [Nagios-users] Problemas con check_dchp

> >
Hola alguien ha esta trabajando con check_dhcp ya que siempre me aparece > > un error del DHCPOFFERS
> >
Les agradeceria sus comenterios.
> >
 
> >
FC3
> >
Nagios 2.0
> >
 
> > > > ------_=_NextPart_001_01C5C2DB.CDF85EC0-- > > > > > > --__--__-- > > > > Message: 26 > > Subject: RE: [Nagios-users] Problemas con check_dchp > > Date: Mon, 26 Sep 2005 15:52:16 -0500 > > From: "Marc Powell" > > To: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Luis Gardea > > > Sent: Monday, September 26, 2005 3:33 PM > > > To: Nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Problemas con check_dchp > > >=20 > > > Hola alguien ha esta trabajando con check_dhcp ya que siempre me > > aparece > > > un error del DHCPOFFERS > > > Les agradeceria sus comenterios. > > >=20 > > > FC3 > > > Nagios 2.0 > > >=20 > > > > Did Nagios just get press on some Spanish language site? > > > > Esto es una lista inglesa el enviar. Y la preferimos para permanecer > > esa manera. Gracias por entender. > > > > What error are you seeing? check_dhcp must be run on the same subnet as > > your DHCP server. Are you doing so? What do your host, service and > > command definitions look like? > > > > -- > > Marc > > > > > > --__--__-- > > > > Message: 27 > > Subject: RE: [Nagios-users] Problemas con check_dchp > > Date: Mon, 26 Sep 2005 16:57:06 -0500 > > From: "Marc Powell" > > To: > > > > Please respond on-list at all times so that others may learn from your > > experience in the future by searching the archives. > > > > > -----Original Message----- > > > From: Luis Gardea [mailto:gardealuis at gmail.com] > > > Sent: Monday, September 26, 2005 4:07 PM > > > To: Marc Powell > > > Subject: Re: [Nagios-users] Problemas con check_dchp > > >=20 > > > Hi > > >=20 > > > My problem is that I want to put in my nagios server the server of > > DCHP, > > > But when I try monitoring I get allway the next error. > > >=20 > > > [tlacuilo at netids libexec]# ./check_dhcp -s netdns > > > DHCP problem: No DHCPOFFERs were received. > > > > -s is expecting an IP address, not a name -- > > > > Usage: check_dhcp [-s serverip] [-r requestedip] [-t timeout] [-i > > interface] > > [-v]=20 > > -s, --serverip=3DIPADDRESS > > IP address of DHCP server that we must hear from > > > > Also try adding a -v flag for more verbose output. That may provide > > interesting information for further troubleshooting. > > > > >=20 > > > I don't know if the problem are the firewall or toher thing. > > > > Neither do we really. Can another machine on the same subnet obtain an > > IP address from the DHCP server? Are you running a firewall on the > > machine running check_dhcp that might be preventing DHCP from working? > > Do you see entries in your firewall logs indicating that it's being > > blocked? Does your DHCP server specifically ignore requests from that > > machine? > > > > [chop] > > > > -- > > Marc=20 > > > > > > > > > > --__--__-- > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > End of Nagios-users Digest -- Charles Bueche sand, snow, wave, wind and net -surfer ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bimschas at phase4.de Wed Sep 28 11:54:32 2005 From: Bimschas at phase4.de (Daniel Bimschas) Date: Wed, 28 Sep 2005 11:54:32 +0200 Subject: WG: Problem with scheduling after nagios config-reload or restart Message-ID: <2CCEB1B7A93CF444AC4FE3BAB759962CCEA854@p4-muc-nt5.intra.phase4.de> btw.. i'm using nagios 2.0b4 thanks in advance! -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Daniel Bimschas Gesendet: Mittwoch, 28. September 2005 10:53 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Problem with scheduling after nagios config-reload or restart hi there! whenever i restart the nagios daemon or simply reload the config (/etc/init.d/nagios reload) scheduling gets totally mixed up. a service check that is scheduled to be run every 5 mins will then maybe be next executed after 20 minutes or more. after some time nagios is running (>1 hour maybe?) scheduling works fine again. do you know why it is like that, nagios forgetting the schedule? or why nagios schedules new when reloading but with wrong timeperiods? greets daniel ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Wed Sep 28 12:29:54 2005 From: chris at aidworld.org (Chris Wilson) Date: Wed, 28 Sep 2005 11:29:54 +0100 Subject: Problemas con check_dchp In-Reply-To: <44f056cc0509271944556da16e@mail.gmail.com> References: <1127817178.6891.21.camel@localhost> <44f056cc0509271944556da16e@mail.gmail.com> Message-ID: <1127903394.16968.23.camel@localhost> Hi Luis, First of all, please always copy the list so that others can find your question in future, and the answer to it. Secondly, I already told you you can't run check_dhcp on the DHCP server. It needs to run on another machine. Test that and make sure it works, then use NRPE to run it on another machine. Cheers, Chris. On Wed, 2005-09-28 at 03:44, Luis Gardea wrote: > Hi > > I have a DHCP server running in windows 2003 in the subnet 20, > and Nagios is running in other server with Fedora C ethier in the > subnet 20, But In my fedora server I have two ethernet NIC's one in > the subnet 20 (eth0) another in subnet 15(eth1). > > I try with this options > > [tlacuilo at netids libexec]# ./check_dhcp -s 147.215.20.12 > DHCP problem: No DHCPOFFERs were received > > [tlacuilo at netids libexec]# ./check_dhcp -s 147.215.20.12 -r > 147.215.20.64 > DHCP problem: No DHCPOFFERs were received > > [tlacuilo at netids libexec]# ./check_dhcp -s 147.215.20.12 -r > 147.215.20.64 -t 10 -i eth0 > DHCP problem: No DHCPOFFERs were received > > [tlacuilo at netids libexec]# ./check_dhcp -s 147.215.20.12 -r > 147.215.20.64 -t 10 -t 10 -i eth0 -v > DHCP problem: No DHCPOFFERs were received > > I the page the nagios.org say that: > > You can monitor DHCP services on your network by using the check_dhcp > plugin included in the contrib/ subdirectory of the main plugin > distribution. The plugin will probably *not* work with DHCP relays and > older BOOTP servers, but you are welcomed to give it a try. > > While in the contrib/ subdirectory, type 'make check_dhcp' to compile > the plugin. > > Note that the plugin *must* best installed suid root in order to run, > as it binds to a privileged port (UDP 67) in order to listen to > DHCPOFFER packets > > > I installed check_dchp with root privilege and in my firewall I'll > open the port 64:udp, but still not working. > > I'm lost, :< > > > On 9/27/05, Chris Wilson wrote: > Hi Marc and Luis, > > On Mon, 2005-09-26 at 22:57, Marc Powell wrote: > > > > From: Luis Gardea [mailto: gardealuis at gmail.com] > [...] > > > My problem is that I want to put in my nagios server the > server of > > DCHP, > > > But when I try monitoring I get allway the next error. > > > > > > [tlacuilo at netids libexec]# ./check_dhcp -s netdns > > > DHCP problem: No DHCPOFFERs were received. > [...] > > > I don't know if the problem are the firewall or toher > thing. > > > > Neither do we really. Can another machine on the same subnet > obtain an > > IP address from the DHCP server? Are you running a firewall > on the > > machine running check_dhcp that might be preventing DHCP > from working? > > Do you see entries in your firewall logs indicating that > it's being > > blocked? Does your DHCP server specifically ignore requests > from that > > machine? > > There is an "issue" with ISC DHCPD (by design I think) which > makes it > almost impossible to run a client on the DHCP server - > something to do > with listening on the loopback interface and the address space > bound to > that interface. I heard that others were able to make it work > with some > black magic, but I never succeeded. The short answer is that > you can't > check DHCP from the same machine - or at least expect problems > if you > do. > > How about using check_by_ssh or check_nrpe to execute the DHCP > check on > another machine? > > Cheers, Chris. > -- > (aidworld) chris wilson | chief engineer (chris at aidworld.org) > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App > Server. > Download it for free - -and be entered to win a 42" plasma tv > or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > !DSPAM:433a037e25841145378599! -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sivan.deray at net-aptitude.fr Wed Sep 28 13:48:22 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Wed, 28 Sep 2005 13:48:22 +0200 Subject: check_by_ssh - Usage Message-ID: <4E13BD0442DACA4D9606CAD98924F09A45D6FE@srv-nap-atlas-1.net-aptitude.fr> Hi everybody, the check_by_ssh command ask for a password in command line (./check_by_ssh ...) What is needed so not to ask for ? So to use this command with nagios... thanks -----Message d'origine----- De : Koop, Lutz (external) [mailto:Lutz.Koop.external at astrium.eads.net] Envoy? : mardi 23 ao?t 2005 15:53 ? : nagios-users at lists.sourceforge.net Objet : WG: [Nagios-users] check_by_ssh - Usage check_by_ssh --help be sure, you have installed a public key in .ssh/authorized_keys before Lutz -----Urspr?ngliche Nachricht----- Von: Tom Brown [mailto:tom.brown at goodtechnology.com] Gesendet: Dienstag, 23. August 2005 15:48 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] check_by_ssh - Usage Hi I have a host and on this i have to parse a log file for errors etc. Normally i would do this by nrpe however i do not have xinet.d available to me so i _think_ i can use check_by_ssh Is there any info on usage of this plugin? As i'm having trouble with its use. Also is this a plugin that will do what i want? thanks ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joseph.Petrucci at ddiworld.com Wed Sep 28 13:57:30 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Wed, 28 Sep 2005 07:57:30 -0400 Subject: check_by_ssh - Usage Message-ID: on A UNIX/Linux machine "man ssh" and it will explain how to setup the session so it will not require a password. Joseph A. Petrucci E Systems DBA ------------------------------------------------ Desk: 412-220-2646 Cell: 412-916-2867 Text message (e-mail) 4129162867 at mobile.att.net e-mail joseph.petrucci at ddiworld.com Personal Cell: 724-462-0443 Personal e-mail: japetrucci at hotmail.com ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of Sivan DERAY Sent: Wed 9/28/2005 7:48 AM To: Koop, Lutz (external); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_by_ssh - Usage Hi everybody, the check_by_ssh command ask for a password in command line (./check_by_ssh ...) What is needed so not to ask for ? So to use this command with nagios... thanks -----Message d'origine----- De : Koop, Lutz (external) [mailto:Lutz.Koop.external at astrium.eads.net] Envoy? : mardi 23 ao?t 2005 15:53 ? : nagios-users at lists.sourceforge.net Objet : WG: [Nagios-users] check_by_ssh - Usage check_by_ssh --help be sure, you have installed a public key in .ssh/authorized_keys before Lutz -----Urspr?ngliche Nachricht----- Von: Tom Brown [mailto:tom.brown at goodtechnology.com] Gesendet: Dienstag, 23. August 2005 15:48 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] check_by_ssh - Usage Hi I have a host and on this i have to parse a log file for errors etc. Normally i would do this by nrpe however i do not have xinet.d available to me so i _think_ i can use check_by_ssh Is there any info on usage of this plugin? As i'm having trouble with its use. Also is this a plugin that will do what i want? thanks ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.gliebe at fhv.at Wed Sep 28 14:05:46 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 28 Sep 2005 14:05:46 +0200 Subject: PROCS CRITICAL Message-ID: <1127909146.843.34.camel@glr-nb.dh.uclv.net> Hi, every night, we get PROCS CRITICAL warnings from one of our FreeBSD Servers. [...] 09-27-2005 00:04:11 Service Alert Zombi Processes CRITICAL HARD PROCS CRITICAL: 24 processes with STATE = Z [...] Is it possible to ask Nagios which processes are going into this state 'Z' (Zombies) We are running Nagios Version 2.0b3 on FreeBSD 5.4-STABLE. thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services Hochschulstra?e 1, A-6850 Dornbirn Telefon ++43 / (0)5572 / 20336-2207 E-Mail: richard.gliebe at fhv.at ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhopp at GOCSC.com Wed Sep 28 15:32:55 2005 From: dhopp at GOCSC.com (Dennis Hopp) Date: Wed, 28 Sep 2005 08:32:55 -0500 Subject: Monitoring Windows Servers with Nagios Message-ID: <395D09D0C949AF40B9DDFEE9C93A47FF04AA430E@hudson.gocsc.com> You can use SNMP to get everything but physical memory usage (you can get virtual memory usage from snmp). ---------------------------------- Dennis B. Hopp Senior Technical Administrator Communications Supply Corporation Voice: (630) 221-6557 Fax: (630) 221-6558 Email: dhopp at gocsc.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Pavel Santos Sent: Tuesday, September 27, 2005 6:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Windows Servers with Nagios Hello list, I'm running Nagios 2.0b4 on FC4. What is the best way to monitor Windows Server for Disk, Memory and CPU usage? Thanks, Pavel -------------- next part -------------- An HTML attachment was scrubbed... URL: From charles at bueche.ch Wed Sep 28 15:47:36 2005 From: charles at bueche.ch (Charles Bueche) Date: Wed, 28 Sep 2005 15:47:36 +0200 Subject: NTP jitter (not parsed) breaks check_ntp? In-Reply-To: <20050921143753.95432.qmail@web54709.mail.yahoo.com> References: <20050921143753.95432.qmail@web54709.mail.yahoo.com> Message-ID: <1127915256.14254.40.camel@bluez.bueche.ch> Hi, [speaking about check_ntp of plugins V 1.4.2] My servers are Sun/Solaris 9/stock ntpd. I have seen the same problem here, and I suspect that there is a bug around lines 296-313. If the "ntpq -pn" command return +server_line_1 *server_line_2 (synced on the last server) all is OK. If the result is the opposite : *server_line_1 +server_line_2 it means that we are syncing OK, but on the 1st server. Even if the candidate 1 match and would mean a sync is possible, we come in the "else" situation in line 296, as the big regex would fail (last line begin with +, so no match, so we come to the "$jitter = '(not parsed)';" situation. I'm not sure how to fix it in the correct way. I have enhanced the regex to if (/^(\+|\*|o)(......... bit it is probably not what the author wanted at the first place. Would it not make more sense to stop parsing and break the loop when we have a "*" match ? Charles On mer, 2005-09-21 at 07:37 -0700, John Christian wrote: > Hello, > > My, ummm, friend's data center lost power this > weekend. All servers came back up, but now it seems > that check_ntp is not working properly. The NTP > service detail for some hosts is fine (green) but most > NTP services are state pending (grey). They have > remained state pending for 3+ days. > > Running check_ntp manually reveals: > > foo:/usr/local/nagios/libexec # ./check_ntp -H > hostgreen NTP OK: Offset -0.000513 secs, jitter 1.74 > msec, peer is stratum 3|offset=-0.000513, > jitter=0.00174,peer_stratum=3 > > foo:/usr/local/nagios/libexec # ./check_ntp -H > hostgrey > Argument "(not parsed)" isn't numeric in abs at > ./check_ntp line 401. > NTP OK: Offset -0.000141 secs, jitter (not parsed) > msec, peer is stratum 2|offset=-0.000141, > jitter=0,peer_stratum=2 > > check_ntp (nagios-plugins 1.4.1) 1.29 > Nagios 2.0b4 > Solaris 9 > > The NTP daemons are running on all hosts and are in > sync. I suspect the problem is related to the > check_ntp script not handling the "jitter (not > parsed)" feedback properly. > > I've tried restarting the ntp daemons and restarting > nagios, but it didn't help. > > BTW: For the NTP services that are in the grey pending > state, it appears they become ignored because the next > scheduled service check never changes. I can force a > manual check -which updates the next scheduled check- > but it stays grey and no additional checks are > auto-scheduled. > > How do I get my NTP clients to parse some jitter? Or, > how else should I fix this problem? TIA! > -John > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Charles Bueche sand, snow, wave, wind and net -surfer ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Wed Sep 28 16:09:17 2005 From: f1216 at yahoo.com (Fred) Date: Wed, 28 Sep 2005 07:09:17 -0700 (PDT) Subject: Passive checks greatly delaying active checks In-Reply-To: References: Message-ID: <20050928140917.75175.qmail@web31902.mail.mud.yahoo.com> Ludwig, Look back through the archives at a few of my posts, we are having the same problems. I found that removing the hostcheck solved the problem, but that might have been just putting the number of active checks below some threshold. I have not been able to find the time to trace this down yet, if anyone has any ideas they would be greatly appreciated. I also found that if I mess with the interservice delay and the service check scheduling values from "s" to "n", you get different results, but you are absolutly correct in your observations around the number of passive vs active checks. I find it somewhere around 5000 or so service definitions is where things stop getting scheduled. -FredC --- Ludwig Pummer wrote: > Hello folks, > > I'm experimenting with a distributed monitoring + failover configuration > between 2 nagios servers, each actively monitoring its own group of > hosts unless the other nagios server fails. > > Nagios server #1 is a dual Xeon 2.4GHz (hyperthreading off) w/ 1.5GB RAM > running RHES 3. Nagios server #2 is a dual Xeon 3.2GHz (hyperthreading > on) w/ 3.0GB RAM running RHES 3 in 64-bit mode. > > Both are running Nagios 1.2. They are running idential Nagios > configurautions with the exception of active/passive services. My nagios > init script sends DISABLE_HOST_SVC_CHECKS, > DISABLE_HOST_SVC_NOTIFICATIONS, and DISABLE_HOST_NOTIFICATIONS commands > at nagios startup for those hosts which that particular nagios server is > not supposed to actively monitor. I've got 472 hosts and 1487 services > total. Server #1 has 686 active and 801 passive service checks. Server > #2 has 805 active and 682 passive service checks. Both machines have an > ocsp_command set up which will send_nsca to the other nagios server the > results of any active checks. > > The issue I'm having is that when I have nsca running to receive passive > checks from the other host, active checks are delayed a lot (from under > 30 seconds without nsca to 15-25 minutes with nsca running). My > command_check_interval is set to -1. I have log_passive_service_checks > set to 1 for testing, so I can see the nsca results coming in. I don't > see why receiving passive checks is causing such large delays in my > active checks. > > Below are numbers from the top two tables on the Performance Info page. > > I start off nagios with the nsca daemon not running. Everything works > fine, except all the passive checks on both machines keep reporting > "pending". > > This is the performance info after an hour or so of steady operation: > Server #1: > Time Frame Checks Completed > <= 1 minute: 294 (42.9%) > <= 5 minutes: 686 (100.0%) > <= 15 minutes: 686 (100.0%) > <= 1 hour: 686 (100.0%) > Since program start: 686 (100.0%) > > Metric Min. Max. Average > Check Execution Time: < 1 sec 8 sec 1.819 sec > Check Latency: < 1 sec 11 sec 1.010 sec > Percent State Change: 0.00% 8.95% 0.01% > > Server #2: > Time Frame Checks Completed > <= 1 minute: 446 (55.4%) > <= 5 minutes: 805 (100.0%) > <= 15 minutes: 805 (100.0%) > <= 1 hour: 805 (100.0%) > Since program start: 805 (100.0%) > > Metric Min. Max. Average > Check Execution Time: < 1 sec 16 sec 2.933 sec > Check Latency: < 1 sec 17 sec 1.102 sec > Percent State Change: 0.00% > > A minute after the above numbers were taken, I started up the nsca > daemon on both machines (single-process daemon mode). > > 10 minutes later, the numbers look like this: > Server #1: > Time Frame Checks Completed > <= 1 minute: 0 (0.0%) > <= 5 minutes: 90 (13.1%) > <= 15 minutes: 686 (100.0%) > <= 1 hour: 686 (100.0%) > Since program start: 686 (100.0%) > > Metric Min. Max. Average > Check Execution Time: < 1 sec 8 sec 1.840 sec > Check Latency: < 1 sec 277 sec 125.098 sec > Percent State Change: 0.00% 11.32% 0.02% > > Server #2: > Time Frame Checks Completed > <= 1 minute: 0 (0.0%) > <= 5 minutes: 187 (23.3%) > <= 15 minutes: 803 (100.0%) > <= 1 hour: 803 (100.0%) > Since program start: 803 (100.0%) > > About 18 hours later, they look like this: > > Server #1: > Time Frame Checks Completed > <= 1 minute: 0 (0.0%) > <= 5 minutes: 126 (18.4%) > <= 15 minutes: 522 (76.2%) > <= 1 hour: 685 (100.0%) > Since program start: 685 (100.0%) > > Metric Min. Max. Average > Check Execution Time: < 1 sec 8 sec 1.858 sec > Check Latency: 502 sec 955 sec 774.826 sec > Percent State Change: 0.00% 0.00% 0.00% > > Server #2: > Time Frame Checks Completed > <= 1 minute: 0 (0.0%) > <= 5 minutes: 227 (28.2%) > <= 15 minutes: 601 (74.8%) > <= 1 hour: 804 (100.0%) > Since program start: 804 (100.0%) > > Metric Min. Max. Average > Check Execution Time: < 1 sec 16 sec 2.960 sec > Check Latency: 23 sec 1084 sec 517.776 sec > Percent State Change: 0.00% 4.14% 0.01% > > If I kill the nsca daemon, 10 minutes later the numbers look like this: > > Server #1: > Time Frame Checks Completed > <= 1 minute: 2 (0.3%) > <= 5 minutes: 686 (100.0%) > <= 15 minutes: 686 (100.0%) > <= 1 hour: 686 (100.0%) > Since program start: 686 (100.0%) > > Metric Min. Max. Average > Check Execution Time: < 1 sec 8 sec 1.838 sec > Check Latency: < 1 sec 19 sec 2.646 sec > Percent State Change: 0.00% 5.99% 0.01% > > Server #2: > Time Frame Checks Completed > <= 1 minute: 2 (0.2%) > <= 5 minutes: 805 (100.0%) > <= 15 minutes: 805 (100.0%) > <= 1 hour: 805 (100.0%) > Since program start: 805 (100.0%) > > Metric Min. Max. Average > Check Execution Time: < 1 sec 16 sec 2.934 sec > Check Latency: < 1 sec 38 sec 2.376 sec > Percent State Change: 0.00% 12.37% 0.04% > > And about 20 minutes after killing nsca, they look like this: > > Server #1: > Time Frame Checks Completed > <= 1 minute: 101 (14.7%) > <= 5 minutes: 686 (100.0%) > <= 15 minutes: 686 (100.0%) > <= 1 hour: 686 (100.0%) > Since program start: 686 (100.0%) > > Metric Min. Max. Average > Check Execution Time: < 1 sec 8 sec 1.821 sec > Check Latency: < 1 sec 18 sec 3.213 sec > Percent State Change: 0.00% 5.46% 0.01% > > Server #2: > Time Frame Checks Completed > <= 1 minute: 2 (0.2%) > <= 5 minutes: 805 (100.0%) > <= 15 minutes: 805 (100.0%) > <= 1 hour: 805 (100.0%) > Since program start: 805 (100.0%) > > Metric Min. Max. Average > Check Execution Time: < 1 sec 16 sec 2.937 sec > Check Latency: < 1 sec 27 sec 0.840 sec > Percent State Change: 0.00% 29.67% 0.12% > > Any ideas? > > --Ludwig Pummer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Wed Sep 28 16:12:55 2005 From: f1216 at yahoo.com (Fred) Date: Wed, 28 Sep 2005 07:12:55 -0700 (PDT) Subject: Passive checks greatly delaying active checks In-Reply-To: <433A3F6C.3080007@op5.se> References: <433A3F6C.3080007@op5.se> Message-ID: <20050928141255.60821.qmail@web31907.mail.mud.yahoo.com> Andreas, That is a good suggestion, I have previously found that it helps a bit, but it doesn't solve the problem. When this problem occurs all scheduling of service checks appear to stop. Even if you use the web interface to schedule it immediately, they don't execute. It is almost like the queue of what to execute next is either way in the future or is corrupt (this is just speculation). Thanks. -FredC --- Andreas Ericsson wrote: > Ludwig Pummer wrote: > > Hello folks, > > > > I'm experimenting with a distributed monitoring + failover configuration > > between 2 nagios servers, each actively monitoring its own group of > > hosts unless the other nagios server fails. > > > > Nagios server #1 is a dual Xeon 2.4GHz (hyperthreading off) w/ 1.5GB RAM > > running RHES 3. Nagios server #2 is a dual Xeon 3.2GHz (hyperthreading > > on) w/ 3.0GB RAM running RHES 3 in 64-bit mode. > > > > Both are running Nagios 1.2. They are running idential Nagios > > configurautions with the exception of active/passive services. My nagios > > init script sends DISABLE_HOST_SVC_CHECKS, > > DISABLE_HOST_SVC_NOTIFICATIONS, and DISABLE_HOST_NOTIFICATIONS commands > > at nagios startup for those hosts which that particular nagios server is > > not supposed to actively monitor. I've got 472 hosts and 1487 services > > total. Server #1 has 686 active and 801 passive service checks. Server > > #2 has 805 active and 682 passive service checks. Both machines have an > > ocsp_command set up which will send_nsca to the other nagios server the > > results of any active checks. > > > > The issue I'm having is that when I have nsca running to receive passive > > checks from the other host, active checks are delayed a lot (from under > > 30 seconds without nsca to 15-25 minutes with nsca running). My > > command_check_interval is set to -1. I have log_passive_service_checks > > set to 1 for testing, so I can see the nsca results coming in. I don't > > see why receiving passive checks is causing such large delays in my > > active checks. > > > > It's because the FIFO becomes a bottleneck if you're doing more than > just a few passive service checks. Try lowering the > (something)_reaper_frequency in nagios.cfg. It might fix it, or at least > help up the situation a bit. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:34:36 2005 From: marc at ena.com (Marc Powell) Date: Wed, 28 Sep 2005 09:34:36 -0500 Subject: PROCS CRITICAL Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Richard Gliebe > Sent: Wednesday, September 28, 2005 7:06 AM > To: Nagios List > Subject: [Nagios-users] PROCS CRITICAL > > Hi, > > every night, we get PROCS CRITICAL warnings from one of our FreeBSD > Servers. > [...] > 09-27-2005 00:04:11 > Service Alert > Zombi Processes > CRITICAL HARD > PROCS CRITICAL: 24 processes with STATE = Z > [...] > > Is it possible to ask Nagios which processes are going into this state > 'Z' (Zombies) > > We are running Nagios Version 2.0b3 on FreeBSD 5.4-STABLE. I'd suggest creating an event-handler that will run '/bin/ps auxwww >> /tmp/process_list' when the check goes critical. You can then inspect the file the next morning. http://nagios.sourceforge.net/docs/2_0/eventhandlers.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:51:12 2005 From: marc at ena.com (Marc Powell) Date: Wed, 28 Sep 2005 09:51:12 -0500 Subject: Problem with scheduling after nagios config-reload or restart Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Daniel Bimschas > Sent: Wednesday, September 28, 2005 3:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem with scheduling after nagios config-reload > or restart > > hi there! > > whenever i restart the nagios daemon or simply reload the config > (/etc/init.d/nagios reload) scheduling gets totally mixed up. > > a service check that is scheduled to be run every 5 mins will then maybe > be next executed > after 20 minutes or more. This is probably related to inter_check_delay_method and max_concurrent_checks. When you restart Nagios, it will attempt to be smart about scheduling initial checks so as not to kill machines with overly aggressive checking. You can run '/path/to/nagios -s /path/to/nagios.cfg' to get an idea of how nagios is going to spread the checks out and a recommended value for max_concurrrent_checks based on your nagios.cfg options. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Wed Sep 28 17:18:21 2005 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 28 Sep 2005 08:18:21 -0700 Subject: Fruity 1.0 Beta 2 Patchlevel 1 Released! Message-ID: <3d2eb72a05092808185c2a45f1@mail.gmail.com> Fruity, your favorite Nagios configuration editor, has been updated. Fruity 1.0 Beta 2 Patchlevel 1 has been released! CHANGELOG SINCE BETA2: - Lots of bugfixes. - Thanks to Craig Hancock for making this patchlevel release. http://fruity.sf.net Take a look! Taylor ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Wed Sep 28 17:28:29 2005 From: chris at aidworld.org (Chris Wilson) Date: Wed, 28 Sep 2005 16:28:29 +0100 Subject: Problemas con check_dchp In-Reply-To: <44f056cc050928082317a30e51@mail.gmail.com> References: <1127817178.6891.21.camel@localhost> <44f056cc0509271944556da16e@mail.gmail.com> <1127903394.16968.23.camel@localhost> <44f056cc050928082317a30e51@mail.gmail.com> Message-ID: <1127921309.16968.50.camel@localhost> Hi Luis, > I'm running the DHCP server in windows 2003 and I check the DHCP in > other server, not in the same windows 2003. I run check_dchp in FC3 > with IP address 147.215.20.14 and my DHCP server have 147.215.20.12. > You can see that both are in the same subnet and aren't the same > machines. I'm sorry maybe I don't understand your advices. Sorry, my fault, I misread your message last time. DHCP uses UDP port 67, not 64. You can eliminate the firewall as a potential issue with the command "iptables -I INPUT ACCEPT" on the FC3 machine (but disconnect the machine from the Internet before doing that, otherwise you will be wide open to attack). Try running "tcpdump -n -i eth0" at the same time as you run check_dhcp, and tell us what the output is. > In addition, I don't know how copy the list so that others can find my > questions and the answer to its. But I'm looking for how do it. Add nagios-users at lists.sourceforge.net to the CC: line when sending emails, or just use the "reply to all" feature of your email program. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at aidworld.org Wed Sep 28 17:34:21 2005 From: chris at aidworld.org (Chris Wilson) Date: Wed, 28 Sep 2005 16:34:21 +0100 Subject: Problemas con check_dchp In-Reply-To: <1127921309.16968.50.camel@localhost> References: <1127817178.6891.21.camel@localhost> <44f056cc0509271944556da16e@mail.gmail.com> <1127903394.16968.23.camel@localhost> <44f056cc050928082317a30e51@mail.gmail.com> <1127921309.16968.50.camel@localhost> Message-ID: <1127921661.16968.54.camel@localhost> Hi Luis, > DHCP uses UDP port 67, not 64. I also forgot that the server uses port 67, but the client uses port 68. Try this: "iptables -I INPUT -p udp --dport 68 -j ACCEPT". Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From James.P.Fuentes at boeing.com Wed Sep 28 18:40:37 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Wed, 28 Sep 2005 09:40:37 -0700 Subject: Monitoring Hpux 10.01 And old versions of Solaris and AIX Message-ID: <626FC7C6A97381468FB872072AB5DDC801FF35@XCH-SW-42.sw.nos.boeing.com> I have a couple of old HPUX and Tru64 boxes I monitor using my own plugins. They're just shell scripts. I use SNMP for some of it and rsh to get vmstat and sar data. I'm in an isolated area so I don't have to worry about security. -Jim ________________________________ From: Jose Orlando Mu?oz B [mailto:jose.munoz at proyectosbiz.com] Sent: Tue 9/27/2005 5:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Hpux 10.01 And old versions of Solaris and AIX Hello to all I?m needing to monitorin some old systems, like HPUX B.10.01 HPUX B.9.01 AIX 4.2.1.0 SUN OS 5.4 and 4.1.4 I?m looking for some plugins but i have problems with all, NRPE, Netsain_statd, etc. I need any sggestion about monitoring this machines. I have a Good Linux Box running Nagios, my problem is on the target servers because I can not get some plugin for. Thanks a lot for any suggestions Jose Orlando. -- ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailings at good-it.com Wed Sep 28 19:10:43 2005 From: mailings at good-it.com (Johan Barelds) Date: Wed, 28 Sep 2005 19:10:43 +0200 Subject: check Exchange mailbox performance with Nagios? Message-ID: <200509281910.43951.mailings@good-it.com> Hi Folks, Does anyone know if/how to check the MAPI Mailbox performance on an Exchange server with Nagios? The issue is that Outlook users complain about these timeout boxes when retrieving emails or other outlook stuff from an exchange server. Besides the fact that we are trying to solve this performance issue i am also interested how i can monitor these delays. Any one any ideas? Thanks! -- Kind Regards / Met vriendelijke groet, Johan Barelds ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Wed Sep 28 19:20:25 2005 From: gardealuis at gmail.com (Luis Gardea) Date: Wed, 28 Sep 2005 11:20:25 -0600 Subject: Problemas con check_dchp In-Reply-To: <1127921661.16968.54.camel@localhost> References: <1127817178.6891.21.camel@localhost> <44f056cc0509271944556da16e@mail.gmail.com> <1127903394.16968.23.camel@localhost> <44f056cc050928082317a30e51@mail.gmail.com> <1127921309.16968.50.camel@localhost> <1127921661.16968.54.camel@localhost> Message-ID: <44f056cc05092810202aac40b1@mail.gmail.com> Hi Chris, I put disable my iptables, stoped the services [tlacuilo at netids libexec]# /etc/init.d/./iptables stop [tlacuilo at netids libexec]# ./check_dhcp 148.210.20.5 -i eth0 DHCP problem: No DHCPOFFERs were received. [tlacuilo at netids redes]# ./tcpdump -n -i eth0 > /home/redes/traffic-eth0 This is the file 11:02:29.130588 IP 147.215.20.12.netbios-dgm > 147.215.20.255.netbios-dgm: NBT UDP PACKET(138) 11:02:29.146548 arp reply 147.215.20.14 is-at 00:0d:56:71:c3:c3 11:02:29.176727 IP 147.215.20.14.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:0d:56:71:c3:c3, length: 548 11:02:31.879021 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:0d:56:71:c3:92, length: 300 ** The Ip address are fake 147.215.20.14 (FC3) and 147.215.20.12 (DHCP server) I dont put iptables -I INPUT -p udp --dport 67 -j ACCEPT iptables -I INPUT -p udp --dport 68 -j ACCEPT ; I just disable iptables Best ragards. On 9/28/05, Chris Wilson wrote: > Hi Luis, > > > DHCP uses UDP port 67, not 64. > > I also forgot that the server uses port 67, but the client uses port 68. > Try this: ptables -I INPUT -p udp --dport 68 - "iptables -I INPUT -p udp --dport 68 -j ACCEPT". > > Cheers, Chris. > -- > (aidworld) chris wilson | chief engineer (chris at aidworld.org) > > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jose.munoz at proyectosbiz.com Wed Sep 28 21:35:29 2005 From: jose.munoz at proyectosbiz.com (Jose Orlando Muñoz B) Date: Wed, 28 Sep 2005 14:35:29 -0500 Subject: Monitoring Hpux 10.01 And old versions of Solaris and AIX Message-ID: My situation is a quite different, because the security is the most important, in adition I can reach the servers using a NAT IP address and passing trhougt a couple of firewalls. I gonna try using ssh and check_by_ssh. but I hope someone give me a new posibility. Thanks for your help. > I have a couple of old HPUX and Tru64 boxes I monitor using my own plugins. They're just shell scripts. I use SNMP for some of it and rsh to get vmstat and sar data. I'm in an isolated area so I don't have to worry about security. > -Jim > > ________________________________ > > From: Jose Orlando Mu?oz B [mailto:jose.munoz at proyectosbiz.com] > Sent: Tue 9/27/2005 5:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring Hpux 10.01 And old versions of Solaris and AIX > > > > > Hello to all > > I?m needing to monitorin some old systems, like > HPUX B.10.01 > HPUX B.9.01 > AIX 4.2.1.0 > SUN OS 5.4 and 4.1.4 > > I?m looking for some plugins but i have problems with all, NRPE, > Netsain_statd, etc. > > I need any sggestion about monitoring this machines. > > I have a Good Linux Box running Nagios, my problem is on the target > servers because I can not get some plugin for. > > Thanks a lot for any suggestions > > Jose Orlando. > > -- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 21:38:36 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 28 Sep 2005 21:38:36 +0200 Subject: Problemas con check_dchp In-Reply-To: <44f056cc05092810202aac40b1@mail.gmail.com> References: <1127817178.6891.21.camel@localhost> <44f056cc0509271944556da16e@mail.gmail.com> <1127903394.16968.23.camel@localhost> <44f056cc050928082317a30e51@mail.gmail.com> <1127921309.16968.50.camel@localhost> <1127921661.16968.54.camel@localhost> <44f056cc05092810202aac40b1@mail.gmail.com> Message-ID: <433AF13C.5070005@op5.se> Luis Gardea wrote: > Hi Chris, > > I put disable my iptables, stoped the services > [tlacuilo at netids libexec]# /etc/init.d/./iptables stop > > [tlacuilo at netids libexec]# ./check_dhcp 148.210.20.5 -i eth0 > DHCP problem: No DHCPOFFERs were received. > > [tlacuilo at netids redes]# ./tcpdump -n -i eth0 > /home/redes/traffic-eth0 > > This is the file > > 11:02:29.130588 IP 147.215.20.12.netbios-dgm > > 147.215.20.255.netbios-dgm: NBT UDP PACKET(138) > > 11:02:29.146548 arp reply 147.215.20.14 is-at 00:0d:56:71:c3:c3 > > 11:02:29.176727 IP 147.215.20.14.bootpc > 255.255.255.255.bootps: > BOOTP/DHCP, Request from 00:0d:56:71:c3:c3, length: 548 > > 11:02:31.879021 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: > BOOTP/DHCP, Request from 00:0d:56:71:c3:92, length: 300 > The dhcp-server doesn't respond. Is it using MAC-address based assigning of IP-addresses? If so, is the nagios server among the nodes that can obtain one? If that checks out, run ethereal or some such at the windows host to make sure it receives the packets and sends something back on the wire. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Pavleck at capella.edu Wed Sep 28 22:37:32 2005 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy D.) Date: Wed, 28 Sep 2005 15:37:32 -0500 Subject: Variables with NRPE? Message-ID: <0F1A5F3993566D4883C596CB56E59B9A04E5E21D@mspmail02.int.capella.lan> Greetings all, Before I go through all the trouble of actually testing this, can someone tell me if it's possible to send variables with your check_nrpe command? Something along the lines of command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c my_check $ARG1$ $ARG2$? It would simplify things here for me greatly. Thanks. Jeremy D. Pavleck Network Engineer System Management Direct Line: 612-977-5881 Toll Free: 1-888-CAPELLA ext. 5881 Fax: 612-977-5060 E-mail: jeremy.pavleck at capella.edu Capella University 225 South 6th Street, 9th Floor Minneapolis, MN 55402 www.capella.edu ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 22:58:30 2005 From: marc at ena.com (Marc Powell) Date: Wed, 28 Sep 2005 15:58:30 -0500 Subject: Variables with NRPE? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Pavleck, Jeremy D. > Sent: Wednesday, September 28, 2005 3:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Variables with NRPE? > > Greetings all, > Before I go through all the trouble of actually testing this, can > someone tell me if it's possible to send variables with your check_nrpe > command? Something along the lines of command_line $USER1$/check_nrpe > -H $HOSTADDRESS$ -c my_check $ARG1$ $ARG2$? It would simplify things > here for me greatly. Thanks. About two minutes of research answers the question. ************** NRPE Changelog ************** 2.0 - 09/08/2003 ---------------- - Added support for passing arguments to command I'm sure you were going to but be certain to read the SECURITY file. It has a number of instructions specifically about this. -- marc ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p_santos at psantos.no-ip.org Wed Sep 28 23:10:58 2005 From: p_santos at psantos.no-ip.org (Pavel Santos) Date: Wed, 28 Sep 2005 17:10:58 -0400 Subject: NSClient install problem Message-ID: <2C377FE90617434CA42DAC0A4AF052F0210A@exchange.home.net> Hello list, I'm running Nagios 2.0b4 on FC4. I'm having problem getting NSClient to work right. I installed the nsclient in one of my windows work but I can't get the scripts to work. As described in the instructions, I copied the file 'check_nt' under the libexec folder of Nagios but can not add lines below to the commands.cfg file: command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ I don't have just one commands.cfg file, I have a few that execute the ping and swap commands (which are the only two checks currently working). My question is, given that I don't have a single command.cfg file, how do I manage to get all the new check_nt commands above on my configuration? Thanks in advance for your help. Pavel -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Sep 28 23:17:14 2005 From: marc at ena.com (Marc Powell) Date: Wed, 28 Sep 2005 16:17:14 -0500 Subject: Monitoring Hpux 10.01 And old versions of Solaris and AIX Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jose Orlando Mu?oz B > Sent: Tuesday, September 27, 2005 7:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring Hpux 10.01 And old versions of Solaris > and AIX > > > Hello to all > > I?m needing to monitorin some old systems, like > HPUX B.10.01 > HPUX B.9.01 > AIX 4.2.1.0 > SUN OS 5.4 and 4.1.4 > > I?m looking for some plugins but i have problems with all, NRPE, > Netsain_statd, etc. > > I need any sggestion about monitoring this machines. These might be useful -- http://www.nagiosexchange.org/HP-UX.81.0.html http://www.nagiosexchange.org/Solaris.50.0.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From VINAY_SHARMA at advanex.co.jp Thu Sep 29 02:11:12 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Thu, 29 Sep 2005 09:11:12 +0900 Subject: NSClient install problem Message-ID: HI, Just add and commands.cfg and services.cfg file below scripts... in commands.cfg define command{ command_name check_nt_cpuload command_line $USER1$/check_nt -H $HOSTADDRESS$ -t 5 -p 1248 -v CPULOAD -l $ARG1$ } define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } define command{ command_name check_nt_memuse command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ } in services.cfg # SMTP define service{ host_name NTS02 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Domino notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_smtp!100.0,20%! 500.0,60% } #Disk Space define service{ host_name NTS02 service_description NTS01 C: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!C!85%!90% } define service{ host_name NTS02 service_description NTS01 D: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!D!85%!90% } #Memory define service{ host_name NTS02 service_description NTS01 MEMORY USAGE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_memuse!80%!90% } #CPU Load define service{ host_name NTS02 service_description CPU Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Domino notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_cpuload!60,80,90,90,80,90 } Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Pavel Santos" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] NSClient install problem ceforge.net 2005/09/29 06:10 Hello list, I?m running Nagios 2.0b4 on FC4. I?m having problem getting NSClient to work right. I installed the nsclient in one of my windows work but I can?t get the scripts to work. As described in the instructions, I copied the file 'check_nt' under the libexec folder of Nagios but can not add lines below to the commands.cfg file: command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE ?l $ARG1$ -w $ARG2$ -c $ARG3$ I don?t have just one commands.cfg file, I have a few that execute the ping and swap commands (which are the only two checks currently working). My question is, given that I don?t have a single command.cfg file, how do I manage to get all the new check_nt commands above on my configuration? Thanks in advance for your help. Pavel ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p_santos at psantos.no-ip.org Thu Sep 29 03:25:38 2005 From: p_santos at psantos.no-ip.org (Pavel Santos) Date: Wed, 28 Sep 2005 21:25:38 -0400 Subject: NSClient install problem Message-ID: <2C377FE90617434CA42DAC0A4AF052F0E394@exchange.home.net> VINAY, I added the cpu load in both command and service cfg files but I'm getting an error. "connection refused by host" could it be because I'm still running NRPE. Pavel -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Wed 9/28/2005 8:11 PM To: Pavel Santos Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient install problem HI, Just add and commands.cfg and services.cfg file below scripts... in commands.cfg define command{ command_name check_nt_cpuload command_line $USER1$/check_nt -H $HOSTADDRESS$ -t 5 -p 1248 -v CPULOAD -l $ARG1$ } define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } define command{ command_name check_nt_memuse command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ } in services.cfg # SMTP define service{ host_name NTS02 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Domino notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_smtp!100.0,20%! 500.0,60% } #Disk Space define service{ host_name NTS02 service_description NTS01 C: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!C!85%!90% } define service{ host_name NTS02 service_description NTS01 D: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!D!85%!90% } #Memory define service{ host_name NTS02 service_description NTS01 MEMORY USAGE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_memuse!80%!90% } #CPU Load define service{ host_name NTS02 service_description CPU Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Domino notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_cpuload!60,80,90,90,80,90 } Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Pavel Santos" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] NSClient install problem ceforge.net 2005/09/29 06:10 Hello list, I'm running Nagios 2.0b4 on FC4. I'm having problem getting NSClient to work right. I installed the nsclient in one of my windows work but I can't get the scripts to work. As described in the instructions, I copied the file 'check_nt' under the libexec folder of Nagios but can not add lines below to the commands.cfg file: command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ I don't have just one commands.cfg file, I have a few that execute the ping and swap commands (which are the only two checks currently working). My question is, given that I don't have a single command.cfg file, how do I manage to get all the new check_nt commands above on my configuration? Thanks in advance for your help. Pavel -------------- next part -------------- An HTML attachment was scrubbed... URL: From VINAY_SHARMA at advanex.co.jp Thu Sep 29 03:30:10 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Thu, 29 Sep 2005 10:30:10 +0900 Subject: NSClient install problem Message-ID: Hi Pavel, Is there Firewall in between Nagios Server and Your windows client.if not then you can install NSClient on windows client machine after it will work.i am using same here. works fantastic.. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Pavel Santos" ??: ???: cc: , nagios-users-admin at lists.sour ceforge.net ??: RE: [Nagios-users] NSClient install problem 2005/09/29 10:25 VINAY, I added the cpu load in both command and service cfg files but I'm getting an error. "connection refused by host" could it be because I'm still running NRPE. Pavel -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Wed 9/28/2005 8:11 PM To: Pavel Santos Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient install problem HI, Just add and commands.cfg and services.cfg file below scripts... in commands.cfg define command{ command_name check_nt_cpuload command_line $USER1$/check_nt -H $HOSTADDRESS$ -t 5 -p 1248 -v CPULOAD -l $ARG1$ } define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } define command{ command_name check_nt_memuse command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ } in services.cfg # SMTP define service{ host_name NTS02 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Domino notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_smtp!100.0,20%! 500.0,60% } #Disk Space define service{ host_name NTS02 service_description NTS01 C: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!C!85%!90% } define service{ host_name NTS02 service_description NTS01 D: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!D!85%!90% } #Memory define service{ host_name NTS02 service_description NTS01 MEMORY USAGE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_memuse!80%!90% } #CPU Load define service{ host_name NTS02 service_description CPU Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Domino notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_cpuload!60,80,90,90,80,90 } Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Pavel Santos" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] NSClient install problem ceforge.net 2005/09/29 06:10 Hello list, I'm running Nagios 2.0b4 on FC4. I'm having problem getting NSClient to work right. I installed the nsclient in one of my windows work but I can't get the scripts to work. As described in the instructions, I copied the file 'check_nt' under the libexec folder of Nagios but can not add lines below to the commands.cfg file: command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ I don't have just one commands.cfg file, I have a few that execute the ping and swap commands (which are the only two checks currently working). My question is, given that I don't have a single command.cfg file, how do I manage to get all the new check_nt commands above on my configuration? Thanks in advance for your help. Pavel ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p_santos at psantos.no-ip.org Thu Sep 29 04:00:48 2005 From: p_santos at psantos.no-ip.org (Pavel Santos) Date: Wed, 28 Sep 2005 22:00:48 -0400 Subject: NSClient install problem Message-ID: <2C377FE90617434CA42DAC0A4AF052F0210B@exchange.home.net> VINAY, There is not firewall between the nagios server and the windows clients. NSClient is installed in the client and the service is running. The only things that I did not install was the Jedi Code Library Win32 Api from Marcel. Do I really need these for it to work? See requirements in the documentation. Requirements Windows NT 4, Windows 2000 or Windows XP For compilation: Jedi Code Library (http://www.delphi-jedi.org) Full Win32 Api from Marcel van Brakel (http://www.delphi-jedi.org) These must downloaded, extracted and added to your Delphi library path. Pavel ----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Wednesday, September 28, 2005 9:30 PM To: Pavel Santos Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: RE: [Nagios-users] NSClient install problem Hi Pavel, Is there Firewall in between Nagios Server and Your windows client.if not then you can install NSClient on windows client machine after it will work.i am using same here. works fantastic.. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Pavel Santos" ??: ???: cc: , nagios-users-admin at lists.sour ceforge.net ??: RE: [Nagios-users] NSClient install problem 2005/09/29 10:25 VINAY, I added the cpu load in both command and service cfg files but I'm getting an error. "connection refused by host" could it be because I'm still running NRPE. Pavel -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Wed 9/28/2005 8:11 PM To: Pavel Santos Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient install problem HI, Just add and commands.cfg and services.cfg file below scripts... in commands.cfg define command{ command_name check_nt_cpuload command_line $USER1$/check_nt -H $HOSTADDRESS$ -t 5 -p 1248 -v CPULOAD -l $ARG1$ } define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } define command{ command_name check_nt_memuse command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ } in services.cfg # SMTP define service{ host_name NTS02 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Domino notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_smtp!100.0,20%! 500.0,60% } #Disk Space define service{ host_name NTS02 service_description NTS01 C: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!C!85%!90% } define service{ host_name NTS02 service_description NTS01 D: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!D!85%!90% } #Memory define service{ host_name NTS02 service_description NTS01 MEMORY USAGE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_memuse!80%!90% } #CPU Load define service{ host_name NTS02 service_description CPU Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Domino notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_cpuload!60,80,90,90,80,90 } Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Pavel Santos" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] NSClient install problem ceforge.net 2005/09/29 06:10 Hello list, I'm running Nagios 2.0b4 on FC4. I'm having problem getting NSClient to work right. I installed the nsclient in one of my windows work but I can't get the scripts to work. As described in the instructions, I copied the file 'check_nt' under the libexec folder of Nagios but can not add lines below to the commands.cfg file: command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ I don't have just one commands.cfg file, I have a few that execute the ping and swap commands (which are the only two checks currently working). My question is, given that I don't have a single command.cfg file, how do I manage to get all the new check_nt commands above on my configuration? Thanks in advance for your help. Pavel -------------- next part -------------- An HTML attachment was scrubbed... URL: From VINAY_SHARMA at advanex.co.jp Thu Sep 29 04:06:04 2005 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Thu, 29 Sep 2005 11:06:04 +0900 Subject: NSClient install problem Message-ID: Pavel, Check on libexec directory for nagios plugin check_nt??if its not then you have t install nagios plugin. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Pavel Santos" .no-ip.org> cc: , 2005/09/29 11:00 ??: RE: [Nagios-users] NSClient install problem VINAY, There is not firewall between the nagios server and the windows clients. NSClient is installed in the client and the service is running. The only things that I did not install was the Jedi Code Library Win32 Api from Marcel. Do I really need these for it to work? See requirements in the documentation. Requirements Windows NT 4, Windows 2000 or Windows XP For compilation: Jedi Code Library (http://www.delphi-jedi.org) Full Win32 Api from Marcel van Brakel (http://www.delphi-jedi.org) These must downloaded, extracted and added to your Delphi library path. Pavel ----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Wednesday, September 28, 2005 9:30 PM To: Pavel Santos Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: RE: [Nagios-users] NSClient install problem Hi Pavel, Is there Firewall in between Nagios Server and Your windows client.if not then you can install NSClient on windows client machine after it will work.i am using same here. works fantastic.. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Pavel Santos" ??: ???: cc: , nagios-users-admin at lists.sour ceforge.net ??: RE: [Nagios-users] NSClient install problem 2005/09/29 10:25 VINAY, I added the cpu load in both command and service cfg files but I'm getting an error. "connection refused by host" could it be because I'm still running NRPE. Pavel -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Wed 9/28/2005 8:11 PM To: Pavel Santos Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient install problem HI, Just add and commands.cfg and services.cfg file below scripts... in commands.cfg define command{ command_name check_nt_cpuload command_line $USER1$/check_nt -H $HOSTADDRESS$ -t 5 -p 1248 -v CPULOAD -l $ARG1$ } define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } define command{ command_name check_nt_memuse command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ } in services.cfg # SMTP define service{ host_name NTS02 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Domino notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_smtp!100.0,20%! 500.0,60% } #Disk Space define service{ host_name NTS02 service_description NTS01 C: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!C!85%!90% } define service{ host_name NTS02 service_description NTS01 D: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!D!85%!90% } #Memory define service{ host_name NTS02 service_description NTS01 MEMORY USAGE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_memuse!80%!90% } #CPU Load define service{ host_name NTS02 service_description CPU Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Domino notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_cpuload!60,80,90,90,80,90 } Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Phone : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Pavel Santos" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] NSClient install problem ceforge.net 2005/09/29 06:10 Hello list, I'm running Nagios 2.0b4 on FC4. I'm having problem getting NSClient to work right. I installed the nsclient in one of my windows work but I can't get the scripts to work. As described in the instructions, I copied the file 'check_nt' under the libexec folder of Nagios but can not add lines below to the commands.cfg file: command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ I don't have just one commands.cfg file, I have a few that execute the ping and swap commands (which are the only two checks currently working). My question is, given that I don't have a single command.cfg file, how do I manage to get all the new check_nt commands above on my configuration? Thanks in advance for your help. Pavel ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim.wootton at emea.moneyline.com Thu Sep 29 10:42:42 2005 From: tim.wootton at emea.moneyline.com (Tim Wootton) Date: Thu, 29 Sep 2005 08:42:42 +0000 (UTC) Subject: check bunching after outage Message-ID: Does anyone else notice/have a work arround for tests remaining very bunched in the schedule after a multiple test outage? ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scoutts at bcs.org.uk Thu Sep 29 11:23:33 2005 From: scoutts at bcs.org.uk (Steven Coutts) Date: Thu, 29 Sep 2005 10:23:33 +0100 Subject: Simple Question, UNREACHABLE vs DOWN Message-ID: <433BB295.5020208@bcs.org.uk> What is the difference between a host being unreachable and a host being down? Regards -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sem at ciam.ru Thu Sep 29 13:11:19 2005 From: sem at ciam.ru (Sergey Matveychuk) Date: Thu, 29 Sep 2005 15:11:19 +0400 Subject: no info, no date/time Message-ID: <433BCBD7.20904@ciam.ru> Why I've got '$' signs in Info and Date/Time fields instead real values in nagios reports? ***** Nagios ***** Notification Type: RECOVERY Host: web State: UP Address: 172.16.1.21 Info: $ Date/Time: $ PS. Nagios 2.0.b4 -- Sem. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gliebe at fhv.at Thu Sep 29 13:43:27 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 29 Sep 2005 13:43:27 +0200 Subject: no info, no date/time In-Reply-To: <433BCBD7.20904@ciam.ru> References: <433BCBD7.20904@ciam.ru> Message-ID: <1127994207.768.5.camel@glr-nb.dh.uclv.net> On Thu, 2005-09-29 at 15:11 +0400, Sergey Matveychuk wrote: > Why I've got '$' signs in Info and Date/Time fields instead real values > in nagios reports? > > ***** Nagios ***** > > Notification Type: RECOVERY > Host: web > State: UP > Address: 172.16.1.21 > Info: $ > > Date/Time: $ > > PS. Nagios 2.0.b4 Hi take a look into misccommands.cfg. Maybe Nagios can't interpret: $SERVICEOUTPUT$ for Info and $LONGDATETIME$ for Date/Time. Richard ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Thu Sep 29 13:47:49 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 29 Sep 2005 13:47:49 +0200 Subject: no info, no date/time In-Reply-To: <433BCBD7.20904@ciam.ru> References: <433BCBD7.20904@ciam.ru> Message-ID: <433BD465.5000108@its-lehmann.de> Hello, On 29.09.2005 13:11, Sergey Matveychuk wrote: > Why I've got '$' signs in Info and Date/Time fields instead real values > in nagios reports? Because you've got the wrong macros in your command definitions. You probably upgraded from 1.x to 2.0b and didn't notice these changes. As far as I know, it's mentioned in one of the README or CHANGES files, and the correct macro names are definitely to be found in the manual. Arno > ***** Nagios ***** > > Notification Type: RECOVERY > Host: web > State: UP > Address: 172.16.1.21 > Info: $ > > Date/Time: $ > > PS. Nagios 2.0.b4 -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Thu Sep 29 14:29:10 2005 From: robmossrm at aol.com (Rob Moss) Date: Thu, 29 Sep 2005 13:29:10 +0100 Subject: Simple Question, UNREACHABLE vs DOWN In-Reply-To: <433BB295.5020208@bcs.org.uk> References: <433BB295.5020208@bcs.org.uk> Message-ID: <433BDE16.8060703@aol.com> Steven Coutts wrote: > What is the difference between a host being unreachable and a host > being down? > > Regards Someone correct me if i'm wrong but my understanding is: Unreachable is the first single ping check when nagios is started up.. Down is a hard state, after checking X many times (usually 10, defined in nagios.cfg) it's flagged as down. Cheers rob. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at stuff-done.co.uk Thu Sep 29 14:36:25 2005 From: pete at stuff-done.co.uk (Pete Dewell) Date: Thu, 29 Sep 2005 13:36:25 +0100 Subject: Simple Question, UNREACHABLE vs DOWN In-Reply-To: <433BDE16.8060703@aol.com> References: <433BB295.5020208@bcs.org.uk> <433BDE16.8060703@aol.com> Message-ID: <433BDFC9.2080402@stuff-done.co.uk> I agree with the down definition, but I've always thought of unreachable as : Unreachable is when the parent of a host is down. e.g. if host1 is down, then any hosts that have host1 as a parent will be marked as unreachable, since Nagios cannot connect to those hosts to check them. Pete Dewell Rob Moss wrote: > Steven Coutts wrote: > >> What is the difference between a host being unreachable and a host >> being down? >> >> Regards > > > Someone correct me if i'm wrong but my understanding is: > > Unreachable is the first single ping check when nagios is started up.. > > Down is a hard state, after checking X many times (usually 10, defined > in nagios.cfg) it's flagged as down. > > Cheers > rob. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at neuwied.de Thu Sep 29 14:40:41 2005 From: dtuecks at neuwied.de (Daniel Tuecks) Date: Thu, 29 Sep 2005 14:40:41 +0200 Subject: Antw: no info, no date/time In-Reply-To: 05F13.CNM333D69B7 References: 05F13.CNM333D69B7 Message-ID: <433BFCE9.BD33.00DC.0@neuwied.de> >>> Sergey Matveychuk schrieb am Donnerstag, 29. September 2005 um 13:11 in Nachricht 05F13.CNM333D69B7: > Why I've got '$' signs in Info and Date/Time fields instead real values > in nagios reports? > > ***** Nagios ***** > > Notification Type: RECOVERY > Host: web > State: UP > Address: 172.16.1.21 > Info: $ > > Date/Time: $ > > PS. Nagios 2.0.b4 Did you update your nagios lately? I had the same problems with my reports until I realized that the macros changed slightly.. Take a look here: http://nagios.sourceforge.net/docs/2_0/macros.html (Date Macros) Maybe this will solve you problem :) Daniel -- --- Stadtverwaltung Neuwied Daniel T?cks - EDV - Tel.: 02631 / 802 410 Fax: 02631 / 802 850 email: dtuecks at neuwied.de ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scoutts at bcs.org.uk Thu Sep 29 15:49:37 2005 From: scoutts at bcs.org.uk (Steven Coutts) Date: Thu, 29 Sep 2005 14:49:37 +0100 Subject: Simple Question, UNREACHABLE vs DOWN In-Reply-To: <433BDFC9.2080402@stuff-done.co.uk> References: <433BB295.5020208@bcs.org.uk> <433BDE16.8060703@aol.com> <433BDFC9.2080402@stuff-done.co.uk> Message-ID: <433BF0F1.2060900@bcs.org.uk> (Top posting error corrected!) Rob Moss wrote: >> >> Someone correct me if i'm wrong but my understanding is: >> >> Unreachable is the first single ping check when nagios is started up.. >> >> Down is a hard state, after checking X many times (usually 10, >> defined in nagios.cfg) it's flagged as down. >> >> Cheers >> rob. >> Pete Dewell wrote: > I agree with the down definition, but I've always thought of > unreachable as : > > Unreachable is when the parent of a host is down. e.g. if host1 is > down, then any hosts that have host1 as a parent will be marked as > unreachable, since Nagios cannot connect to those hosts to check them. > > Pete Dewell Ah I see, pretty obvious really! Makes sense from my stats, expect one anomaly. One of my switches went down, this switch has three other switches hanging off it (all three have the correct parent set in my config) but only two have been marked as being unreachable for that period!! Thanks -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at stuff-done.co.uk Thu Sep 29 16:55:26 2005 From: pete at stuff-done.co.uk (Pete Dewell) Date: Thu, 29 Sep 2005 15:55:26 +0100 Subject: Simple Question, UNREACHABLE vs DOWN In-Reply-To: <433BF0F1.2060900@bcs.org.uk> References: <433BB295.5020208@bcs.org.uk> <433BDE16.8060703@aol.com> <433BDFC9.2080402@stuff-done.co.uk> <433BF0F1.2060900@bcs.org.uk> Message-ID: <433C005E.6090506@stuff-done.co.uk> Fair point. Are all the switches on the same subnet mask, and accessible directly from the Nagios server? If this is the case, then Nagios can still reach the hosts that maybe *should* be marked as unreachable, so will check the hosts directly. I was thinking more of (as in my case) a router with hosts behind it on a different network - no direct connection from Nagios to the unreachable host(s) *except* through the parent. Pete Dewell. Steven Coutts wrote: >> Unreachable is when the parent of a host is down. e.g. if host1 is >> down, then any hosts that have host1 as a parent will be marked as >> unreachable, since Nagios cannot connect to those hosts to check them. >> >> Pete Dewell > > Ah I see, pretty obvious really! > > Makes sense from my stats, expect one anomaly. One of my switches went > down, this switch has three other switches hanging off it (all three > have the correct parent set in my config) but only two have been marked > as being unreachable for that period!! > > Thanks > -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 17:03:42 2005 From: marc at ena.com (Marc Powell) Date: Thu, 29 Sep 2005 10:03:42 -0500 Subject: Simple Question, UNREACHABLE vs DOWN Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Steven Coutts > Sent: Thursday, September 29, 2005 8:50 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Simple Question, UNREACHABLE vs DOWN > > (Top posting error corrected!) > > Rob Moss wrote: > >> > >> Someone correct me if i'm wrong but my understanding is: > >> > >> Unreachable is the first single ping check when nagios is started up.. > >> > >> Down is a hard state, after checking X many times (usually 10, > >> defined in nagios.cfg) it's flagged as down. > >> > >> Cheers > >> rob. > >> > Pete Dewell wrote: > > I agree with the down definition, but I've always thought of > > unreachable as : > > > > Unreachable is when the parent of a host is down. e.g. if host1 is > > down, then any hosts that have host1 as a parent will be marked as > > unreachable, since Nagios cannot connect to those hosts to check them. > > > > Pete Dewell > Ah I see, pretty obvious really! > > Makes sense from my stats, expect one anomaly. One of my switches went > down, this switch has three other switches hanging off it (all three > have the correct parent set in my config) but only two have been marked > as being unreachable for that period!! Then I would hazard that either the parents directive is incorrect for that host or it hasn't been checked yet. A link to the documentation may prove informative -- http://nagios.sourceforge.net/docs/1_0/networkreachability.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deborah.martin at WhiteCross.com Thu Sep 29 17:33:13 2005 From: deborah.martin at WhiteCross.com (Deborah Martin) Date: Thu, 29 Sep 2005 16:33:13 +0100 Subject: Fruity 1.0 Beta 2 Patchlevel 1 Released! In-Reply-To: <3d2eb72a05092808185c2a45f1@mail.gmail.com> References: <3d2eb72a05092808185c2a45f1@mail.gmail.com> Message-ID: Hi, Just tried to setup and use fruity as below and I get the following error from my browser : - Parse error: parse error, unexpected T_OBJECT_OPERATOR in /srv/www/htdocs/fruity/output/output.php on line 314 How do i fix this ? regards, deborah -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Taylor Dondich Sent: 28 September 2005 16:18 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Fruity 1.0 Beta 2 Patchlevel 1 Released! Fruity, your favorite Nagios configuration editor, has been updated. Fruity 1.0 Beta 2 Patchlevel 1 has been released! CHANGELOG SINCE BETA2: - Lots of bugfixes. - Thanks to Craig Hancock for making this patchlevel release. http://fruity.sf.net Take a look! Taylor ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null __________________________________________________ Virus checked by MessageLabs Virus Control Centre. __________________________________________________ Virus checked by MessageLabs Virus Control Centre. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Thu Sep 29 18:02:07 2005 From: gardealuis at gmail.com (Luis Gardea) Date: Thu, 29 Sep 2005 09:02:07 -0700 Subject: Problem with check_oracle Message-ID: <44f056cc05092909022728d156@mail.gmail.com> Hi I want see the service oracle in my nagios server, but I get the next error. [root at netids libexec]# ./check_oracle -tns 10.0.0.1 Cannot determine ORACLE_HOME for sid 10.0.0.1 Could someone help me? ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christophe.suire at adelux.fr Thu Sep 29 18:03:08 2005 From: christophe.suire at adelux.fr (Christophe SUIRE) Date: Thu, 29 Sep 2005 18:03:08 +0200 Subject: Fruity 1.0 Beta 2 Patchlevel 1 Released! In-Reply-To: References: Message-ID: <1DA77E14-9FE8-4405-811A-B1152014F744@adelux.fr> Hi, Someone have some screenshots of Fruity ?? Thanks. -- Christophe Suire Le 29 sept. 05 ? 17:33, Deborah Martin a ?crit : > Hi, > > Just tried to setup and use fruity as below and I get the following > error > from my browser : - > > Parse error: parse error, unexpected T_OBJECT_OPERATOR in > /srv/www/htdocs/fruity/output/output.php on line 314 > > How do i fix this ? > > regards, > deborah > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Taylor > Dondich > Sent: 28 September 2005 16:18 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Fruity 1.0 Beta 2 Patchlevel 1 Released! > > > Fruity, your favorite Nagios configuration editor, has been updated. > > Fruity 1.0 Beta 2 Patchlevel 1 has been released! > > CHANGELOG SINCE BETA2: > - Lots of bugfixes. > - Thanks to Craig Hancock for making this patchlevel release. > > http://fruity.sf.net > > Take a look! > > Taylor > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > __________________________________________________ > Virus checked by MessageLabs Virus Control Centre. > > > __________________________________________________ > Virus checked by MessageLabs Virus Control Centre. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jehster.net Thu Sep 29 19:31:40 2005 From: nagios at jehster.net (Roy Kidder) Date: Thu, 29 Sep 2005 13:31:40 -0400 (EDT) Subject: log rotation Message-ID: <36181.206.131.211.142.1128015100.squirrel@206.131.211.142> I'm having a problem with log rotation. Nameley, it isn't working. I have the following in my nagios.cfg file: log_file=/var/log/nagios.log log_rotation_method=d log_archive_path=/var/log/nagios-archives The /var/log/nagios.log never gets rotated, however. The directory /var/log/nagios-archives has 755 permissions and is owned by nagios:nagios, but /var/log/nagios.log never gets rotated into it. Anyone have suggestions? Thanks in advance, Roy ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-list at dale.us Thu Sep 29 19:53:24 2005 From: nagios-list at dale.us (Dale Blount) Date: Thu, 29 Sep 2005 13:53:24 -0400 Subject: check_ping oddities Message-ID: <1128016404.13676.21.camel@dale.velocity.net> Hi, My check_ping is defined like this: define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 6 -t 20 } Yet I get output at times like: PING WARNING - Packet loss = 71%, RTA = 89.44 ms (warn is 60%, crit is 80%, so WARNING is correct). and PING WARNING - Packet loss = 25%, RTA = 17.44 ms (warn is 20% and crit is 40%, so WARNING is correct). And now to the question. How can 71% or 25% be a result when 6 packets are sent? Thanks, Dale ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scoutts at bcs.org.uk Thu Sep 29 19:04:12 2005 From: scoutts at bcs.org.uk (Steven Coutts) Date: Thu, 29 Sep 2005 18:04:12 +0100 Subject: Simple Question, UNREACHABLE vs DOWN In-Reply-To: <433C005E.6090506@stuff-done.co.uk> References: <433BB295.5020208@bcs.org.uk> <433BF0F1.2060900@bcs.org.uk> <433C005E.6090506@stuff-done.co.uk> Message-ID: <200509291900.21042.scoutts@bcs.org.uk> On Thursday 29 September 2005 15:55, Pete Dewell wrote: > Fair point. > Are all the switches on the same subnet mask, and accessible directly > from the Nagios server? If this is the case, then Nagios can still reach > the hosts that maybe *should* be marked as unreachable, so will check > the hosts directly. > > I was thinking more of (as in my case) a router with hosts behind it on > a different network - no direct connection from Nagios to the > unreachable host(s) *except* through the parent. > > Pete Dewell. > > Steven Coutts wrote: > >> Unreachable is when the parent of a host is down. e.g. if host1 is > >> down, then any hosts that have host1 as a parent will be marked as > >> unreachable, since Nagios cannot connect to those hosts to check them. > >> > >> Pete Dewell > > > > Ah I see, pretty obvious really! > > > > Makes sense from my stats, expect one anomaly. One of my switches went > > down, this switch has three other switches hanging off it (all three > > have the correct parent set in my config) but only two have been marked > > as being unreachable for that period!! > > > > Thanks The switches are being monitored on a completely different vlan/subnet to what the Nagios server is sitting on. There is no possible way it could have contacted this switch when it's parent went down. Double checked the parent directive and it is set correctly. I will test this when I can, but my network is such that any downtime for any part of it results in a complete bollocking!! Regards -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key http://stevec.couttsnet.com/scoutts.asc -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Erwin.Mascardo at intelsat.com Thu Sep 29 21:35:19 2005 From: Erwin.Mascardo at intelsat.com (Mascardo, Erwin) Date: Thu, 29 Sep 2005 15:35:19 -0400 Subject: check_ping oddities Message-ID: >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of >Dale Blount >Sent: Thursday, 29 September, 2005 13:53 >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] check_ping oddities > > >Hi, > >My check_ping is defined like this: > >define command{ > command_name check_ping > command_line $USER1$/check_ping -H >$HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 6 -t 20 >} > >Yet I get output at times like: > >PING WARNING - Packet loss = 71%, RTA = 89.44 ms >(warn is 60%, crit is 80%, so WARNING is correct). > >and > >PING WARNING - Packet loss = 25%, RTA = 17.44 ms >(warn is 20% and crit is 40%, so WARNING is correct). > > >And now to the question. How can 71% or 25% be a result when 6 packets >are sent? > >Thanks, > >Dale I've seen this happen on some of our WAN hosts. Near as I can tell, check_ping (we use check_icmp, but I saw it happen in the check_ping days as well) bases its success rate on the number of replies -- if you use 5 packets as your standard, then it waits to hear the response from packet #4 before reporting its result. And it sends out packets until it gets that specified reply. (I know, I could read the source to get a definitive answer...just feeling too lazy at the moment.) In my situation, over an 800 ms WAN link, there was usually time to send 6 packets while waiting for the result on the 5th, so I'd get packet losses of 16% when things were otherwise okay. What's puzzling me in your situation is your latency -- what happened to me shouldn't be happening to you with those kind of ping times. --Erwin ############################################################ Intelsat is a global communications provider offering flexible and secure services to customers in over 220 countries and territories. Intelsat has maintained a leadership position for over 40 years by distributing video, voice, and data for television and content providers, government and military entities, major corporations, telecommunications carriers, and Internet service providers. Intelsat's reach, power and expanding solutions portfolio deliver information reliably and quickly to every corner of the globe. For more information, visit www.intelsat.com. ############################################################ This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Intelsat, Ltd. and its subsidiaries. ############################################################ ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Thu Sep 29 22:08:47 2005 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 29 Sep 2005 22:08:47 +0200 Subject: good working GSM terminal to use with nagios? Message-ID: hi I'm looking for a good GSM terminal to use with Nagios to send alerts to GSM phones. Connectivity should be serial/RS-232 and I don't need too much apart from stability. Any ideas? roy ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-list at dale.us Thu Sep 29 22:50:38 2005 From: nagios-list at dale.us (Dale Blount) Date: Thu, 29 Sep 2005 16:50:38 -0400 Subject: check_ping oddities In-Reply-To: References: Message-ID: <1128027039.13676.35.camel@dale.velocity.net> > >Hi, > > > >My check_ping is defined like this: > > > >define command{ > > command_name check_ping > > command_line $USER1$/check_ping -H > >$HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 6 -t 20 > >} > > > >Yet I get output at times like: > > > >PING WARNING - Packet loss = 71%, RTA = 89.44 ms > >(warn is 60%, crit is 80%, so WARNING is correct). > > > >and > > > >PING WARNING - Packet loss = 25%, RTA = 17.44 ms > >(warn is 20% and crit is 40%, so WARNING is correct). > > > > > >And now to the question. How can 71% or 25% be a result when 6 packets > >are sent? > > > >Thanks, > > > >Dale > > I've seen this happen on some of our WAN hosts. Near as I can tell, > check_ping (we use check_icmp, but I saw it happen in the check_ping > days as well) bases its success rate on the number of replies -- if you > use 5 packets as your standard, then it waits to hear the response from > packet #4 before reporting its result. And it sends out packets until it > gets that specified reply. (I know, I could read the source to get a > definitive answer...just feeling too lazy at the moment.) > > In my situation, over an 800 ms WAN link, there was usually time to send > 6 packets while waiting for the result on the 5th, so I'd get packet > losses of 16% when things were otherwise okay. What's puzzling me in > your situation is your latency -- what happened to me shouldn't be > happening to you with those kind of ping times. > Both of those links are small capacity and latency jumps with usage. Sometimes they loose 100% if they're full enough. I'm not concerned with that now - I'm just curious why the math seems odd. check_ping --help says: -p, --packets=INTEGER number of ICMP ECHO packets to send (Default: 5) so it seems to me that if I change -p to 6, a 25% or 71% would never be possible unless it sends enough packets to get 6 back, then divides 6 by that to get a percentage. In that case, the usage text is wrong. Dale ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Erwin.Mascardo at intelsat.com Thu Sep 29 23:03:16 2005 From: Erwin.Mascardo at intelsat.com (Mascardo, Erwin) Date: Thu, 29 Sep 2005 17:03:16 -0400 Subject: check_ping oddities Message-ID: >-----Original Message----- >From: Dale Blount [mailto:nagios-list at dale.us] >Sent: Thursday, 29 September, 2005 16:51 >To: Mascardo, Erwin >Cc: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] check_ping oddities > > >> >Hi, >> > >> >My check_ping is defined like this: >> > >> >define command{ >> > command_name check_ping >> > command_line $USER1$/check_ping -H >> >$HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 6 -t 20 >> >} >> > >> >Yet I get output at times like: >> > >> >PING WARNING - Packet loss = 71%, RTA = 89.44 ms >> >(warn is 60%, crit is 80%, so WARNING is correct). >> > >> >and >> > >> >PING WARNING - Packet loss = 25%, RTA = 17.44 ms >> >(warn is 20% and crit is 40%, so WARNING is correct). >> > >> > >> >And now to the question. How can 71% or 25% be a result >when 6 packets >> >are sent? >> > >> >Thanks, >> > >> >Dale >> >> I've seen this happen on some of our WAN hosts. Near as I can tell, >> check_ping (we use check_icmp, but I saw it happen in the check_ping >> days as well) bases its success rate on the number of >replies -- if you >> use 5 packets as your standard, then it waits to hear the >response from >> packet #4 before reporting its result. And it sends out >packets until it >> gets that specified reply. (I know, I could read the source to get a >> definitive answer...just feeling too lazy at the moment.) >> >> In my situation, over an 800 ms WAN link, there was usually >time to send >> 6 packets while waiting for the result on the 5th, so I'd get packet >> losses of 16% when things were otherwise okay. What's puzzling me in >> your situation is your latency -- what happened to me shouldn't be >> happening to you with those kind of ping times. >> Both of those links are small capacity and latency jumps with usage. > >Sometimes they loose 100% if they're full enough. I'm not concerned >with that now - I'm just curious why the math seems odd. check_ping >--help says: > >-p, --packets=INTEGER > number of ICMP ECHO packets to send (Default: 5) > >so it seems to me that if I change -p to 6, a 25% or 71% would never be >possible unless it sends enough packets to get 6 back, then >divides 6 by >that to get a percentage. In that case, the usage text is wrong. Right, that's what was happening with me, and seems to be happening with you. In my case, I was getting 5 packets back, but 6 had been sent, so 5/6 resulted in 84% success or 16% loss. What's happening with you is that you're getting 2 back for 7 sent (giving your 71% -- you have "real" drops in there), or 6 back for 8 sent (getting the 25% result). Looking at the source, there doesn't seem to be anything wrong with the logic -- the loop which sends the packets runs for the number of times specified on the command line, and the result of the check doesn't come into play. Maybe I'm not reading it correctly, though. On a different note, you may want to make sure that your monitored hosts aren't source-quenching your checks. We had that problem here when we first switched to check_icmp. --Erwin ############################################################ Intelsat is a global communications provider offering flexible and secure services to customers in over 220 countries and territories. Intelsat has maintained a leadership position for over 40 years by distributing video, voice, and data for television and content providers, government and military entities, major corporations, telecommunications carriers, and Internet service providers. Intelsat's reach, power and expanding solutions portfolio deliver information reliably and quickly to every corner of the globe. For more information, visit www.intelsat.com. ############################################################ This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Intelsat, Ltd. and its subsidiaries. ############################################################ ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christophe.suire at adelux.fr Thu Sep 29 23:01:51 2005 From: christophe.suire at adelux.fr (Christophe SUIRE) Date: Thu, 29 Sep 2005 23:01:51 +0200 Subject: good working GSM terminal to use with nagios? In-Reply-To: References: Message-ID: <7A0D1EBA-9EA8-4262-AE92-74F537691D5C@adelux.fr> Hi, Falcom Twist, is a good terminal. I have some customers using it with smslink. http://www.falcom.de http://smslink.sf.net Bye. Le 29 sept. 05 ? 22:08, Roy Sigurd Karlsbakk a ?crit : > hi > > I'm looking for a good GSM terminal to use with Nagios to send > alerts to GSM phones. Connectivity should be serial/RS-232 and I > don't need too much apart from stability. > > Any ideas? > > roy > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ladams at cloudmark.com Fri Sep 30 00:26:29 2005 From: ladams at cloudmark.com (Lori Adams) Date: Thu, 29 Sep 2005 15:26:29 -0700 Subject: Who is maintaining NRPE? Message-ID: I can't seem to get to your site. http://oss.op5.se/nagios. I am trying to find the latest package or sources for nrpe on solaris. Would your site have the most recent ones? Everything else I find says nrpe.1_9 for solaris. -Lori > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson > Sent: Monday, September 26, 2005 2:23 AM > To: NAGIOS > Subject: Re: [Nagios-users] Who is maintaining NRPE? > > Ton Voon wrote: > > > > On 22 Sep 2005, at 21:41, Andreas Ericsson wrote: > > > >> Ton Voon wrote: > >> > >>> Hi! > >>> Just wondering who is currently maintaining NRPE? > >>> > >> > >> That'd be me. I'm not doing a very good job of advertising the > >> releases, but 2.2 is available (whenever my ISP isn't doing something > >> incompetent) at http://oss.op5.se/nagios. I haven't had time to do > >> much other than making it a fair bit portable yet, although I'm > >> working on it. > > > > > > Thanks. You should do more promotion so that it becomes the "default" > > version, rather than the 2.0 one. > > > > However, am I right in saying that the CVS repository for NRPE 2.2 is > > on your own servers? > > Yes. > > > If so, I don't think this is in the spirit of > > openess. Can I suggest that you use Sourceforge to host the NRPE code? > > You can suggest it, but it won't happen. The sourceforge CVS is near > enough impossible to work with from sweden, due to a 400ms latency. > > I can set them up for public access on oss.op5.se though. > > > This way the changes made are clear to the community. > > > > In fact, I notice there is a NRPE project on SF: http:// > > sourceforge.net/projects/nrpe. Looks like it was setup by Ethan and > > includes yourself as a developer. Maybe this is the best place to house > > the main code. > > > > > >>> I've dropped an email to Ethan Galstad but haven't received a > >>> reply. I seem to recall that NRPE was split off to a separate team > >>> some time ago. > >>> We've made a few tweaks to the configure script so that NRPE 2.0 > >>> now compiles on Tru64 and Irix "out of the box". The patch is > >>> below. It requires autoconf to regenerate the new configure script. > >>> > >> > >> It would be very helpful if you could make the patch apply cleanly to > >> the 2.2 sources, unless one of the portability fixes I've already > >> made sorts it out. > > > > > > Initial configure on Irix and Tru64 fails. I'll look into it and get > > back to you. > > > > If openssl isn't installed, it requires the --disable-ssl switch. I'm > not too good with autoconf stuff, but I'll try and fix it as soon as I > get some spare time on my hands. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dewath at yahoo.com Fri Sep 30 01:05:59 2005 From: dewath at yahoo.com (Richard DeWath) Date: Thu, 29 Sep 2005 16:05:59 -0700 (PDT) Subject: NRPE - daemon versus xinetd - pros and cons Message-ID: <20050929230559.52674.qmail@web30506.mail.mud.yahoo.com> I am interested in hearing from anyone who has insight on to whether running the daemon is more efficient than xinetd for nagios (I mean real difference not minor overhead differences); Is there more security with xinetd and wrappers in this case? Anyone who has tried both, I would be interested in your feedback. I have been using xinted/inetd without real problems (some nrpe timeouts), but there are people who want to use the daemon option. I can do this, but hate to start if it will not improve the overhead or security. Cheers, Richard __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Fri Sep 30 02:32:00 2005 From: az at whoever.org (Az) Date: Fri, 30 Sep 2005 10:32:00 +1000 Subject: good working GSM terminal to use with nagios? In-Reply-To: References: Message-ID: <433C8780.7040705@whoever.org> Roy Sigurd Karlsbakk wrote: > I'm looking for a good GSM terminal to use with Nagios to send alerts > to GSM phones. Connectivity should be serial/RS-232 and I don't need > too much apart from stability. We've a pair of Siemens M20s that have been going strong for around two or three years. The M20 model has been replaced by the M35 I believe. Were using SMS Server Tools to talk to them. http://smstools.meinemullemaus.de/ ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p_santos at psantos.no-ip.org Fri Sep 30 03:47:38 2005 From: p_santos at psantos.no-ip.org (Pavel Santos) Date: Thu, 29 Sep 2005 21:47:38 -0400 Subject: Monitoring hosts in remote office Message-ID: <2C377FE90617434CA42DAC0A4AF052F0210F@exchange.home.net> Hello list, How can I monitor hosts in a remote location? What ports does a nagios server use to check its hosts? Thanks in advance Pavel -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Fri Sep 30 04:03:06 2005 From: jhmartin at toger.us (Jason Martin) Date: Thu, 29 Sep 2005 19:03:06 -0700 Subject: NRPE - daemon versus xinetd - pros and cons In-Reply-To: <20050929230559.52674.qmail@web30506.mail.mud.yahoo.com> References: <20050929230559.52674.qmail@web30506.mail.mud.yahoo.com> Message-ID: <20050930020305.GB25938@zippy.toger.us> On Thu, Sep 29, 2005 at 04:05:59PM -0700, Richard DeWath wrote: > I am interested in hearing from anyone who has insight > on to whether running the daemon is more efficient I found it easier to reconfigure it if it ran out of inetd, no having to worry about restarting it. Note that having xinetd configured to log userid on success and failure adds a ton of overhead. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jhmartin at toger.us Fri Sep 30 04:04:26 2005 From: jhmartin at toger.us (Jason Martin) Date: Thu, 29 Sep 2005 19:04:26 -0700 Subject: Variables with NRPE? In-Reply-To: <0F1A5F3993566D4883C596CB56E59B9A04E5E21D@mspmail02.int.capella.lan> References: <0F1A5F3993566D4883C596CB56E59B9A04E5E21D@mspmail02.int.capella.lan> Message-ID: <20050930020426.GC25938@zippy.toger.us> On Wed, Sep 28, 2005 at 03:37:32PM -0500, Pavleck, Jeremy D. wrote: > Before I go through all the trouble of actually testing this, can > someone tell me if it's possible to send variables with your check_nrpe > command? Yes. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From g.vickers at qut.edu.au Fri Sep 30 07:25:53 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 30 Sep 2005 15:25:53 +1000 Subject: Monitoring hosts in remote office In-Reply-To: <2C377FE90617434CA42DAC0A4AF052F0210F@exchange.home.net> References: <2C377FE90617434CA42DAC0A4AF052F0210F@exchange.home.net> Message-ID: <433CCC61.6090607@qut.edu.au> Hi Pavel, Pavel Santos wrote: > Hello list, > > How can I monitor hosts in a remote location? What ports does a nagios > server use to check its hosts? Hmm, you've posted on this message board a couple of times, so I'm *assuming* a passing familiarity with Nagios... You don't provide any information on what kind of monitoring you want to do to your 'remote location', or what kind of remote location it is. Is it an office connected via a VPN or other tunnel? Is it a web/database server in a co-lo? Is it a pigeon on top of the Empire State building?? Do you understand that if Nagios does a HTTP check of a remote site that there will probably be a port 80 connection from the Nagios server to the target host?? To extend this metaphor, if you want to use NSClient to check your remote host, RTFM for NSClient and note which port NSClient uses... Please reply to the list. -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gliebe at fhv.at Fri Sep 30 07:44:54 2005 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Fri, 30 Sep 2005 07:44:54 +0200 Subject: Problem with check_oracle In-Reply-To: <44f056cc05092909022728d156@mail.gmail.com> References: <44f056cc05092909022728d156@mail.gmail.com> Message-ID: <1128059094.844.4.camel@glr-nb.dh.uclv.net> On Thu, 2005-09-29 at 09:02 -0700, Luis Gardea wrote: > Hi > > I want see the service oracle in my nagios server, but I get the next error. > > [root at netids libexec]# ./check_oracle -tns 10.0.0.1 > Cannot determine ORACLE_HOME for sid 10.0.0.1 > > Could someone help me? Hi, try to use the $ORACLE_SID instead of the Hostname/IP address [...] Usage: check_oracle --tns [...] Richard ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brettcarr at ripe.net Fri Sep 30 11:04:30 2005 From: brettcarr at ripe.net (Brett Carr) Date: Fri, 30 Sep 2005 11:04:30 +0200 Subject: ceiba In-Reply-To: <547C738A-915A-492E-8DF6-604136DB815E@ripe.net> References: <547C738A-915A-492E-8DF6-604136DB815E@ripe.net> Message-ID: <200509300904.j8U94UgL022467@birch.ripe.net> > -----Original Message----- > From: Ruben van Staveren [mailto:ruben at ripe.net] > Sent: 30 September 2005 10:48 > To: Brett Carr > Cc: Emil Gorter > Subject: Re: ceiba > > > On 30 Sep 2005, at 10:28, Brett Carr wrote: > > > I am getting a nagios alert for /export/ttfs35/ being full. > This looks > > like it only contains old data to me. Does this alert require any > > action? > > > > Nope, probably caused by a nagios restart ? > If there are full filesystems on servers which do not require any action I would like to suggest we remove them from monitoring. Along with anything else that does not require action when it alerts. This should be part of the push for less false positives in Nagios. Basically nagios should have ZERO red alarms in it during normal operation. Brett -- Brett Carr RIPE Network Coordination Centre Systems Engineer -- Operations Group Amsterdam, Netherlands GPG Key fingerprint = F20D B2A7 C91D E370 44CF F244 B6A1 EF48 E743 F7D8 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Fri Sep 30 12:49:08 2005 From: robmossrm at aol.com (Rob Moss) Date: Fri, 30 Sep 2005 11:49:08 +0100 Subject: NRPE - daemon versus xinetd - pros and cons In-Reply-To: <20050929230559.52674.qmail@web30506.mail.mud.yahoo.com> References: <20050929230559.52674.qmail@web30506.mail.mud.yahoo.com> Message-ID: <433D1824.7020407@aol.com> Richard DeWath wrote: >I am interested in hearing from anyone who has insight >on to whether running the daemon is more efficient >than xinetd for nagios (I mean real difference not >minor overhead differences); Is there more security >with xinetd and wrappers in this case? Anyone who has >tried both, I would be interested in your feedback. I >have been using xinted/inetd without real problems >(some nrpe timeouts), but there are people who want to >use the daemon option. I can do this, but hate to >start if it will not improve the overhead or security. > > Two things to consider here: - Are your servers openly internet contactable, or firewalled? - Is security your main concern, or is ease of use/functionality? If you are security concious/concerned and don't mind a minor overhead then you should use inetd/xinetd with tcpwrappers to control access.. If you want ease of use/functionality and don't want the overhead and can live with using NRPE's builtin ACL then use the daemon. I went for the second option. I'm running NRPE as a daemon on all of the internal Sun servers. The environment is essentially a software testing/development environment in private address space. I don't run inetd and didn't want the added layer of potential problems through inetd. In production, it would be a different story, hardware firewalls to restrict the port to a few IP's and using tcpwrappers to again ensure the right IP's were allowed through and the rest are blocked. The inetd/xinetd services add many features, such as logging and security through tcpwrappers, however it's not something that needs to be installed on the servers I am monitoring. Cheers rob. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p_santos at psantos.no-ip.org Fri Sep 30 13:09:00 2005 From: p_santos at psantos.no-ip.org (Pavel Santos) Date: Fri, 30 Sep 2005 07:09:00 -0400 Subject: Monitoring hosts in remote office Message-ID: <2C377FE90617434CA42DAC0A4AF052F02111@exchange.home.net> Greg, I'm trying to monitor a W2K server connected over a VPN tunnel for Memory, CPU and Disk usage. I got everything working on the LAN. Pavel -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Greg Vickers Sent: Friday, September 30, 2005 1:26 AM To: NAGIOS Subject: Re: [Nagios-users] Monitoring hosts in remote office Hi Pavel, Pavel Santos wrote: > Hello list, > > How can I monitor hosts in a remote location? What ports does a nagios > server use to check its hosts? Hmm, you've posted on this message board a couple of times, so I'm *assuming* a passing familiarity with Nagios... You don't provide any information on what kind of monitoring you want to do to your 'remote location', or what kind of remote location it is. Is it an office connected via a VPN or other tunnel? Is it a web/database server in a co-lo? Is it a pigeon on top of the Empire State building?? Do you understand that if Nagios does a HTTP check of a remote site that there will probably be a port 80 connection from the Nagios server to the target host?? To extend this metaphor, if you want to use NSClient to check your remote host, RTFM for NSClient and note which port NSClient uses... Please reply to the list. -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deborah.martin at WhiteCross.com Fri Sep 30 13:35:34 2005 From: deborah.martin at WhiteCross.com (Deborah Martin) Date: Fri, 30 Sep 2005 12:35:34 +0100 Subject: Monitoring clustered hosts Message-ID: Hi, What would be the best way approach the following : 10 Blades running Linux (so each blade has its own IP address) Together they are one database server a) I want to monitor each blade to ensure they are up. If down I need Nagios to tell me specifically which blade is down. I've played with the hosts.cfg file and put in multiple IP addresses but if one goes down, the info returned to Nagios isn't telling me anything specific (or do I need to tweak this myself ?) I'm using check_ssh rather than ping as there is a firewall between Nagios and the blades which doesn't allow ping through. Any help would be appreciated! regards, deborah __________________________________________________ Virus checked by MessageLabs Virus Control Centre. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Sep 30 13:43:47 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 30 Sep 2005 13:43:47 +0200 Subject: Who is maintaining NRPE? In-Reply-To: References: Message-ID: <433D24F3.5020708@op5.se> Lori Adams wrote: > I can't seem to get to your site. http://oss.op5.se/nagios. I am > trying to find the latest package or sources for nrpe on solaris. Would > your site have the most recent ones? Yes. My ISP is however thoroughly stubborn about their stupidity. I have dual static IP's at home, and they only seem to be capable of serving one at the time. I didn't even know about it until people started complaining about not being able to reach oss.op5.se (obviously, it works from the inside). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jehster.net Fri Sep 30 13:56:22 2005 From: nagios at jehster.net (Roy Kidder) Date: Fri, 30 Sep 2005 07:56:22 -0400 (EDT) Subject: Monitoring clustered hosts Message-ID: <35637.192.168.1.105.1128081382.squirrel@192.168.1.105> Depending on which blade server you're using (my company has a couple of first generation IBM blade boxes), there may not only be IPs assigned to the individual boxes, but also to the chassis itself, and possibly to the network interface (the IBMs have an integrated switch). If so, you might want to think about those variables as well. Again, depending on the manufacturer, SNMP and tcp/80,442 might be options. As for the cluster of servers, if they each have a seperate IP, I would approach it as 10 different boxes, each with their own services (mysql, oracle, ssh, etc) and then wrap them all in a single service group. Hope that helps, Roy Deborah Martin said: > Hi, > > What would be the best way approach the following : > > 10 Blades running Linux (so each blade has its own IP address) > Together they are one database server > > a) I want to monitor each blade to ensure they are up. If down I need Nagios > to tell me specifically which blade is down. > > I've played with the hosts.cfg file and put in multiple IP addresses but if > one goes down, the info returned to Nagios isn't telling me > anything specific (or do I need to tweak this myself ?) > > I'm using check_ssh rather than ping as there is a firewall between Nagios and the blades which doesn't allow ping through. > > Any help would be appreciated! > > > regards, > deborah > > > __________________________________________________ > Virus checked by MessageLabs Virus Control Centre. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robmossrm at aol.com Fri Sep 30 14:08:52 2005 From: robmossrm at aol.com (Rob Moss) Date: Fri, 30 Sep 2005 13:08:52 +0100 Subject: Monitoring clustered hosts In-Reply-To: References: Message-ID: <433D2AD4.5070607@aol.com> Deborah Martin wrote: > Hi, > > What would be the best way approach the following : > > 10 Blades running Linux (so each blade has its own IP address) > Together they are one database server > > a) I want to monitor each blade to ensure they are up. If down I need > Nagios to tell me specifically which blade is down. > > I've played with the hosts.cfg file and put in multiple IP addresses > but if one goes down, the info returned to Nagios isn't telling me > anything specific (or do I need to tweak this myself ?) > > I'm using check_ssh rather than ping as there is a firewall between > Nagios and the blades which doesn't allow ping through. > > Any help would be appreciated! Hi.. So each individual server of the cluster has its own IP address? Then you can, in the nagios hosts.cfg file define a human readable name for each host as follows: define host { use generic-host name server1.cluster alias Server1 in blah Satabase Server Cluster address ip.address / host.name.com } This may be of help also http://nagios.sourceforge.net/docs/2_0/clusters.html I forgot the page which defines all of the configuration options for the hosts, but it should be easy to find rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From engelenh at gmail.com Fri Sep 30 15:12:28 2005 From: engelenh at gmail.com (Hans Engelen) Date: Fri, 30 Sep 2005 15:12:28 +0200 Subject: Problem with check_oracle In-Reply-To: <5383c62b0509300611l1abe7f96x91822552cad14afb@mail.gmail.com> References: <44f056cc05092909022728d156@mail.gmail.com> <5383c62b0509300611l1abe7f96x91822552cad14afb@mail.gmail.com> Message-ID: <5383c62b0509300612q2660033dlb21cd6f99fd8613a@mail.gmail.com> On 9/29/05, Luis Gardea wrote: > > Hi > > I want see the service oracle in my nagios server, but I get the next > error. > > [root at netids libexec]# ./check_oracle -tns 10.0.0.1 > Cannot determine ORACLE_HOME for sid 10.0.0.1 > > Could someone help me? I think you are getting the wrong idea about how the plugin works, and for that matter how the underlying oracle layer works. Let me roughly explain it. check_oracle uses the standard oracle client as available freely (although not in open source) from oracle.com . In effect it uses the sqlplus client executable and captures the output (last time i checked). As such you need to have the oracle client installed and properly set up. This means having also set up the TNS names for the databases you are going to use in the tnsnames.ora file. This last file is located in the $ORACLE_HOME/network/admin directory. A sample file is provided upon install of the oracle client but some affinity and knowledge will be needed still. Then again you need a similar file on all your normal oracle clients anyway, wether server or workstation. So it has to be available in your environment somewhere or nobody could communicate with the Oracle DB. Also needed are a number of environment variables. And this is where the plot thickens, substantially. One of the environments you need is $ORACLE_HOME, the value for this is simple since it points to your directory where you installed the Oracle Client. Others you might need are $ORACLE_USER and $ORACLE_SID. The first is the owner (who has to be non-root as requested by the oracle installer) of the oracle client. Usually oracle (although I had to take apache for my nagios install, I had some serious permission problems post client install and decided in the end to abuse the apache user for that and work around the problems I had). The second parameter is the SID of your default Oracla Database. This does not prevent you from using other databases but just gives you a default setting to fall back to if you do not explicitly define it. My advice is to definitly set these variables up by default in your /etc/profile or ~/.bash_profile at the very least. But your problems do not end there, although at this point running the check manually from the console should work. The biggest problem I have had with check_oracle however is when it is run by the Nagios process. I have found this bit to be extremely cumbersome on my setup. I kept getting errormessages about the client not being able to set up the NLS environment which ... quite frankly proved to be a serious problem to tackle. Best I can figure it has something to do with the NLS_LANG (or was it LANG) environment variable and others not being properly setup (in fact I suspect no environment variables get set) when run via Nagios. I never did find a clear answer to it and it is just sheer luck that I managed to fix it (just don't ask me how it was a 3 day session of trial and error). What I couldn't figure out is all the references on the web regarding this issue seem to point toward mod_perl2. I am talking here about the infamous : ERROR OCIEnvNlsCreate (check ORACLE_HOME and NLS settings etc.). Cheers, Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Sep 30 16:01:26 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 30 Sep 2005 16:01:26 +0200 Subject: Problem with check_oracle In-Reply-To: <5383c62b0509300612q2660033dlb21cd6f99fd8613a@mail.gmail.com> References: <44f056cc05092909022728d156@mail.gmail.com> <5383c62b0509300611l1abe7f96x91822552cad14afb@mail.gmail.com> <5383c62b0509300612q2660033dlb21cd6f99fd8613a@mail.gmail.com> Message-ID: <433D4536.5030101@op5.se> Hans Engelen wrote: ---[ Highly detailed and very useful help cut ]--- > The biggest problem I have had with check_oracle however is when it is run > by the Nagios process. I have found this bit to be extremely cumbersome on > my setup. I kept getting errormessages about the client not being able to > set up the NLS environment which ... quite frankly proved to be a serious > problem to tackle. Best I can figure it has something to do with the > NLS_LANG (or was it LANG) environment variable and others not being properly > setup (in fact I suspect no environment variables get set) when run via > Nagios. It's the LANG environment variable. NLS_LANG has no special meaning. Nagios uses the library wrapper popen() to execute other programs (for now, anyways). popen()'ed children inherit the environment from the parent (but doesn't read any of the profile or rc-files; sh -c is called in to execute the program in question). At least on Linux and *BSD, although I can't imagine those systems going through the extra trouble of copying the environment data unless it was in POSIX. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From engelenh at gmail.com Fri Sep 30 16:29:15 2005 From: engelenh at gmail.com (Hans Engelen) Date: Fri, 30 Sep 2005 16:29:15 +0200 Subject: Problem with check_oracle In-Reply-To: <433D4536.5030101@op5.se> References: <44f056cc05092909022728d156@mail.gmail.com> <5383c62b0509300611l1abe7f96x91822552cad14afb@mail.gmail.com> <5383c62b0509300612q2660033dlb21cd6f99fd8613a@mail.gmail.com> <433D4536.5030101@op5.se> Message-ID: <5383c62b0509300729h739b7d64k1fa6c2df339e7a61@mail.gmail.com> On 9/30/05, Andreas Ericsson wrote: > > > The biggest problem I have had with check_oracle however is when it is > run > > by the Nagios process. I have found this bit to be extremely cumbersome > on > > my setup. I kept getting errormessages about the client not being able > to > > set up the NLS environment which ... quite frankly proved to be a > serious > > problem to tackle. Best I can figure it has something to do with the > > NLS_LANG (or was it LANG) environment variable and others not being > properly > > setup (in fact I suspect no environment variables get set) when run via > > Nagios. > > > It's the LANG environment variable. NLS_LANG has no special meaning. > > Nagios uses the library wrapper popen() to execute other programs (for > now, anyways). popen()'ed children inherit the environment from the > parent (but doesn't read any of the profile or rc-files; sh -c is called > in to execute the program in question). At least on Linux and *BSD, > although I can't imagine those systems going through the extra trouble > of copying the environment data unless it was in POSIX. That sorta fits in then with what was going on. Depending on the client version you have installed (and I took the version 10 client of course, grumble) those variables have to be set though or your check_nagios goes horribly wrong. I think I even went sofar as to try setting them from withing check_nagios itself at one point before getting to the sqlclient part but ... Is there any ... ehm ... approved solution for that ? Cheers, Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at aidworld.org Fri Sep 30 16:39:15 2005 From: chris at aidworld.org (Chris Wilson) Date: Fri, 30 Sep 2005 15:39:15 +0100 Subject: good working GSM terminal to use with nagios? In-Reply-To: References: Message-ID: <1128091155.9158.3.camel@localhost> Hi Roy, > I'm looking for a good GSM terminal to use with Nagios to send alerts > to GSM phones. Connectivity should be serial/RS-232 and I don't need > too much apart from stability. A much cheaper option might be to use Kapow's SMS service to send SMS messages for alerts (assuming your Internet access isn't down). I have a script for that if you're interested. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From engelenh at gmail.com Fri Sep 30 17:01:08 2005 From: engelenh at gmail.com (Hans Engelen) Date: Fri, 30 Sep 2005 17:01:08 +0200 Subject: good working GSM terminal to use with nagios? In-Reply-To: <1128091155.9158.3.camel@localhost> References: <1128091155.9158.3.camel@localhost> Message-ID: <5383c62b0509300801x31e3e0ffha64204ba8c328b9@mail.gmail.com> On 9/30/05, Chris Wilson wrote: > > Hi Roy, > > > I'm looking for a good GSM terminal to use with Nagios to send alerts > > to GSM phones. Connectivity should be serial/RS-232 and I don't need > > too much apart from stability. > > A much cheaper option might be to use Kapow's SMS service to send SMS > messages for alerts (assuming your Internet access isn't down). I have a > script for that if you're interested. Personally I use smsbox.be , either way these providers can be found in abundance right now, I use smssend for it with a small config script I wrote myself. Works fairly well, biggest issue I have is making sure he (nagios) does not send me 100 messages an hour :). That would be kind of expensive. Cheers, Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastian.schubert at sskm.de Fri Sep 30 18:40:39 2005 From: sebastian.schubert at sskm.de (Sebastian Schubert) Date: Fri, 30 Sep 2005 18:40:39 +0200 Subject: good working GSM terminal to use with nagios? In-Reply-To: References: Message-ID: <1128098439.6438.17.camel@lnx024071100.vz.intra.sskm.de> hi roy, we use the falcom samba usb gsm modem (http://www.falcom.de/?id=198 page is in english) together with smstools (http://smstools.meinemullemaus.de page is in english ;) the only problem is, that the samba device is not supported by any kernel module (either 2.4/2.6) i wrote an own module and will supply a patch for the mainstream kernel ftdi_sio module s00n, so the modem can work right out of the box ;) cheers sebastian On Thu, 2005-09-29 at 22:08 +0200, Roy Sigurd Karlsbakk wrote: > hi > > I'm looking for a good GSM terminal to use with Nagios to send alerts > to GSM phones. Connectivity should be serial/RS-232 and I don't need > too much apart from stability. > > Any ideas? > > roy -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 -- Sebastian Schubert - RHCE Stadtsparkasse M?nchen Netzwerk und Sicherheit -------------------------- sebastian.schubert at sskm.de Tel. (089) 2167-6399 Fax. (089) 2167-86399 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From JoeRegular at gov.nl.ca Fri Sep 30 18:44:57 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Fri, 30 Sep 2005 14:14:57 -0230 Subject: Anyone Using QPage? Message-ID: I've just installed QPage but cannot figure out how to get it to load upon system startup as a deamon. Does anyone have a startup script that they can send me? Thank you, Joe ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dveldhuisen at bartlesville.oilfield.slb.com Fri Sep 30 18:55:12 2005 From: dveldhuisen at bartlesville.oilfield.slb.com (Doug Veldhuisen) Date: Fri, 30 Sep 2005 11:55:12 -0500 Subject: Anyone Using QPage? In-Reply-To: References: Message-ID: <6.1.1.1.2.20050930115312.0313dc18@pop.nam.slb.com> Joe: If your talking about QuickPage then all you need to do is in your /etc/rc.d/rc.local file just add a line like this: /usr/local/bin/qpage -q 7 the -q 7 was to search the queue every 7 seconds, qpage -h gives all the options. Doug At 11:44 AM 9/30/2005, Joe Regular wrote: >I've just installed QPage but cannot figure out how to get it to load upon >system startup as a deamon. Does anyone have a startup script that they >can send me? > >Thank you, >Joe > > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Power Architecture Resource Center: Free content, downloads, discussions, >and more. http://solutions.newsforge.com/ibmarch.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Fri Sep 30 20:23:40 2005 From: benny at bennyvision.com (C. Bensend) Date: Fri, 30 Sep 2005 13:23:40 -0500 (CDT) Subject: Anyone Using QPage? In-Reply-To: References: Message-ID: <1563.134.244.169.17.1128104620.squirrel@webmail.stinkweasel.net> > I've just installed QPage but cannot figure out how to get it to load upon > system startup as a deamon. Does anyone have a startup script that they > can send me? Uh... Pretty simple. I don't have a "startup script" persay, since I'm running this on OpenBSD, but this is all it takes: # Qpage daemon if [ -x /usr/local/bin/qpage ]; then echo -n ' qpage'; /usr/local/bin/qpage -q 30 fi So, just a '/usr/local/bin/qpage -q 30' would do fine for you in an init script. Benny -- "Now, that next spring you find in your garage a creature that looks like a cross-bred badger and anaconda. A badgerconda." -- bash.org ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Laden at tudor.com Fri Sep 30 21:17:30 2005 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Fri, 30 Sep 2005 15:17:30 -0400 Subject: Regex in host escalations not working. Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA01AA19AC@tudor.com> Nagios 2.0b4 On Linux. I am trying to use hostescalations. Using a wildcard. It doesn't like it. Any idea why? I have the following. (with line numbers) 9 define hostescalation{ 10 host_name * 11 contact_groups sysops-helpdesk 12 first_notification 2 13 last_notification 2 14 notification_interval 30 15 } When I run nagios -v I get the following.. ---------------- # ./nagios -v /usr/local/nagios/etc_new/nagios-new.cfg Nagios 2.0b4 Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org ) Last Modified: 08-02-2005 License: GPL Reading configuration data... Error: Could not find any host matching '*' Error: Could not expand hostgroups and/or hosts specified in host escalation (config file '/usr/local/nagios/etc_new/host-escalations.cfg', starting on line 9) ------------------ In my nagios config use_regexp_matching=1 use_true_regexp_matching=0 Thanks -Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From enediel at hotmail.com Fri Sep 30 20:21:43 2005 From: enediel at hotmail.com (enediel gonzalez) Date: Fri, 30 Sep 2005 18:21:43 +0000 Subject: refreshing too fast Message-ID: Hello I installed nagios over debian 3.1, is working, but when I refres the page of Status Grid For All Host Groups, sometimes eveything seem to be fine (green), and a few seconds after, some services take the unknown status. where I can control this effect? Thanks in advance for any answer Enediel ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pavel.santos at cyberlockconsulting.com Fri Sep 30 21:48:52 2005 From: pavel.santos at cyberlockconsulting.com (Pavel Santos) Date: Fri, 30 Sep 2005 15:48:52 -0400 Subject: Unable to check disk utilization on Windows Servers Message-ID: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C18E3@EPI-EXB2.epidirect.epi> Hello List, I'm having a weird problem trying to check disk utilization on Windows Servers. Whenever I add the scrip to my commads.cfg file nagios stops working (services will not restart). Below is what I'm adding to my commands and services.cfg files. define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } define service{ host_name host service_description C: Drive Disk Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups diskcheck notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!C!85%!90% } Thanks in advance, Pavel ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enediel at hotmail.com Fri Sep 30 21:50:09 2005 From: enediel at hotmail.com (enediel gonzalez) Date: Fri, 30 Sep 2005 19:50:09 +0000 Subject: more details about the service status interfaces Message-ID: hello: Refreshing every 5 seconds the web page for the service status, sometimes only a few hosts appear, sometimes everything look fine ( all host and services), and sometimes some services take the unknow status, I don't understand why it's happening when nagios check the services every 3 minutes. thanks in advance for any answer Enediel Linux user 398956 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jawale_prashant at extenprise.net Thu Sep 29 17:41:08 2005 From: jawale_prashant at extenprise.net (Prashant Jawale) Date: 29 Sep 2005 10:41:08 -0500 Subject: How to configure nagios2.0b4 with nagios-db..... Message-ID: <1128008467.3265.16.camel@localhost.localdomain> Hello to all board, I want to configure nagios with postgresql such that nagios stores it's check results and runtime information in postgresql. I am using "nagios2.0b4" and additional module "nagios-db". I really can't figure out how to use nagios-db to get work done. Please does anyone knows how to use nagios-db with nagios. May be any tutorial, any site, any help.... Thanks in advance for all help, it's really urgent... -Prash -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null