From phildobbin at gmail.com Sun Apr 1 12:18:20 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Sun, 01 Apr 2012 11:18:20 +0100 Subject: Permissions problem Message-ID: <4F782B6C.7070004@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, all. I've just installed Nagios 3.2.1-2 on GNU/Linux Debian Squeeze 6.0.4 & it's running fine but I have a permissions problem when trying to authenticate as the `nagios` user in order in the first instance to read the docs on the web interface (I get a 403). I've tried su'ing to root then su'ing to nagios but no luck as I've no idea what nagio's password is (I set the nagiosadmin password during installation & that works fine for the web interface but for nothing else). The only thing I can think of is chown'ing nagios's group to root but am wary of the consequences. Any help appreciated. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPeCtoAAoJEKpMeDHWT5ADhy0IALAYm4/lX5wLTxhVr7O6WQdk m25suWLCg/0+D5zGpO6x1dqL9yTqJrVSDtfbN7yeznLi9GAv/fRr1xo7ihP48Je9 eGfckD72pGgALos0epM4Qr2brPU3pyoZTawpg1GUnCmjR7chROGJujKsMWIEzOPZ jRKwi61Etl0qVloanX/4ExzRQ9yQ3udi2T/Rh2c1fRtB6QjL3qI6OZZ7aSw6/bKI uyrCSsMar2D3OzqXZRhLpMmBhhfVgRBKpNdGK/vJSBVel93R/b6BDek0L52Q7ozu 1Uc2HkZgdkfTFTj8do7z8VpeRNZwnzl0rohalaZTqqa3CPIsZkJFLjnAimHkzDU= =Hn9p -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Sun Apr 1 12:52:34 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Sun, 1 Apr 2012 12:52:34 +0200 (CEST) Subject: Permissions problem In-Reply-To: <4F782B6C.7070004@gmail.com> References: <4F782B6C.7070004@gmail.com> Message-ID: <8cc33fff8954cea9c675546d076b8cb7.squirrel@picard.linux.it> Hi, as user root you can su to any other user without being requested for any passwords. Anyway, if the nagios user has no valid shells in /etc/passwd, you won't be able to su to it even though you are root. Check the /etc/passwd, it's format is: user:1020:1025:,,,:/home/user:/bin/bash Look for user nagios and look and check for the last field, if it's anything else thane /bin/bash or /bin/sh, change to one of these values. Then, try to su to nagios again. Giorgio > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, all. > > I've just installed Nagios 3.2.1-2 on GNU/Linux Debian Squeeze 6.0.4 & > it's running fine but I have a permissions problem when trying to > authenticate as the `nagios` user in order in the first instance to read > the docs on the web interface (I get a 403). > > I've tried su'ing to root then su'ing to nagios but no luck as I've no > idea what nagio's password is (I set the nagiosadmin password during > installation & that works fine for the web interface but for nothing > else). > > The only thing I can think of is chown'ing nagios's group to root but am > wary of the consequences. > > Any help appreciated. > > Cheers, > > Phil... > > - -- > But masters, remember that I am an ass. > Though it be not written down, > yet forget not that I am an ass. > > Wm. Shakespeare - Much Ado About Nothing > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJPeCtoAAoJEKpMeDHWT5ADhy0IALAYm4/lX5wLTxhVr7O6WQdk > m25suWLCg/0+D5zGpO6x1dqL9yTqJrVSDtfbN7yeznLi9GAv/fRr1xo7ihP48Je9 > eGfckD72pGgALos0epM4Qr2brPU3pyoZTawpg1GUnCmjR7chROGJujKsMWIEzOPZ > jRKwi61Etl0qVloanX/4ExzRQ9yQ3udi2T/Rh2c1fRtB6QjL3qI6OZZ7aSw6/bKI > uyrCSsMar2D3OzqXZRhLpMmBhhfVgRBKpNdGK/vJSBVel93R/b6BDek0L52Q7ozu > 1Uc2HkZgdkfTFTj8do7z8VpeRNZwnzl0rohalaZTqqa3CPIsZkJFLjnAimHkzDU= > =Hn9p > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phildobbin at gmail.com Sun Apr 1 13:09:52 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Sun, 01 Apr 2012 12:09:52 +0100 Subject: Permissions problem In-Reply-To: <8cc33fff8954cea9c675546d076b8cb7.squirrel@picard.linux.it> References: <4F782B6C.7070004@gmail.com> <8cc33fff8954cea9c675546d076b8cb7.squirrel@picard.linux.it> Message-ID: <4F783780.5000605@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/04/2012 11:52, Giorgio Zarrelli wrote: > as user root you can su to any other user without being requested for any > passwords. > > Anyway, if the nagios user has no valid shells in /etc/passwd, you won't > be able to su to it even though you are root. > > Check the /etc/passwd, it's format is: > > > user:1020:1025:,,,:/home/user:/bin/bash > > Look for user nagios and look and check for the last field, if it's > anything else thane /bin/bash or /bin/sh, change to one of these values. > > Then, try to su to nagios again. Hi, Giorgio. That worked. It was set at /bin/false Thank you, Cheers, Phil... > > Hi, all. > > I've just installed Nagios 3.2.1-2 on GNU/Linux Debian Squeeze 6.0.4 & > it's running fine but I have a permissions problem when trying to > authenticate as the `nagios` user in order in the first instance to read > the docs on the web interface (I get a 403). > > I've tried su'ing to root then su'ing to nagios but no luck as I've no > idea what nagio's password is (I set the nagiosadmin password during > installation & that works fine for the web interface but for nothing > else). > > The only thing I can think of is chown'ing nagios's group to root but am > wary of the consequences. - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPeDd8AAoJEKpMeDHWT5AD9qYH/A6NBzDicN2vlzfqaqdEyd3E EQpPKsIM3JggWRArq8Bk0CFdQWsHpD2MtzHqckwCI+tSh1Tc/xku4w+aAXR8X+bq Ul4/Ka+nSNhc+2nvhtnWe09BInM+WZQQBS4DKqTLtf9nyMggId8NVEuLpyCNyBGG ALGGGK7DBb+rmwoMSE6oRe2psLPsQP6XWH97oJKSI8wVND9zMVcP4450GKPOP0w1 W5pPDt0W9QIuTeNXWkRnqYB7qTYDtH5a5ajMuEXMShb6IEB2Vy3XmZlisfLtgx1w XveebcyCFQoseKBj2KGBD5rIWpavYTc25Vb6UgG9K9zUDgdnFyaDn14ZBZ0153Q= =/d6/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esteban at nuevaeralatam.com Sun Apr 1 14:09:10 2012 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Sun, 1 Apr 2012 07:09:10 -0500 Subject: The router - two providers - only one can be up In-Reply-To: <-1538102824333263743@unknownmsgid> References: <4F75D801.1090405@nagios.com> <-1538102824333263743@unknownmsgid> Message-ID: > Looked at check_cluster? > > -Seth > > Sent from my mobile device, please forgive the typos. Hello Seth, thanks for you help... I can use Nagios BPI... > > On Mar 30, 2012, at 11:58 AM, Mike Guthrie wrote: > >> You could monitor this using Nagios BPI. You can create a business >> process out of these two hosts and then monitor the business process so >> that you only get alerted if both hosts are down. >> http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-%28BPI%29/details >> >> It could be a little overkill if you only have to do this once, but if >> you have multiple scenarios like this it could come in handy. >> >> >> On 3/30/2012 9:25 AM, Esteban Monge wrote: >>> Hi folks: >>> >>> I have the following scenario: >>> One router with two interfaces, each interfaces have one different >>> internet provider. >>> >>> When the primary link is up, the secundary link is down, when the >>> primary >>> internet provider fails, the secundary link up and waiting to solve the >>> problem of the primary link. >>> >>> I have configured this scenario with two hosts differents: >>> fuck_router_provider1 >>> fuck_router_provider2 >>> >>> But always I have one host down... the quick and dirty solution is >>> disable >>> notifications for secundary link and check with ping manually after but >>> not practical. >>> >>> Can I tell to Nagios that if primary link if up, not alert me about the >>> secundary link? How? With host dependency? >>> >>> Thanks for your help... >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF email is sponsosred by: >>> Try Windows Azure free for 90 days Click Here >>> http://p.sf.net/sfu/sfd2d-msazure >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> -- >> >> >> Mike Guthrie >> Technical Team >> ___ >> Nagios Enterprises, LLC >> Email: mguthrie at nagios.com >> Web: www.nagios.com >> >> >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esteban at nuevaeralatam.com Sun Apr 1 14:11:29 2012 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Sun, 1 Apr 2012 07:11:29 -0500 Subject: The router - two providers - only one can be up In-Reply-To: <4F75D801.1090405@nagios.com> References: <4F75D801.1090405@nagios.com> Message-ID: > You could monitor this using Nagios BPI. You can create a business > process out of these two hosts and then monitor the business process so > that you only get alerted if both hosts are down. > http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-%28BPI%29/details > > It could be a little overkill if you only have to do this once, but if > you have multiple scenarios like this it could come in handy. > > Hello Mike... great alternative, casually I has installed Nagios BPI, works great!!! I has write a little spanish manual with this scenario, I can share with you for documentantion... also can translate to english. > On 3/30/2012 9:25 AM, Esteban Monge wrote: >> Hi folks: >> >> I have the following scenario: >> One router with two interfaces, each interfaces have one different >> internet provider. >> >> When the primary link is up, the secundary link is down, when the >> primary >> internet provider fails, the secundary link up and waiting to solve the >> problem of the primary link. >> >> I have configured this scenario with two hosts differents: >> fuck_router_provider1 >> fuck_router_provider2 >> >> But always I have one host down... the quick and dirty solution is >> disable >> notifications for secundary link and check with ping manually after but >> not practical. >> >> Can I tell to Nagios that if primary link if up, not alert me about the >> secundary link? How? With host dependency? >> >> Thanks for your help... >> >> >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > -- > > > Mike Guthrie > Technical Team > ___ > Nagios Enterprises, LLC > Email: mguthrie at nagios.com > Web: www.nagios.com > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kognitio.com Mon Apr 2 10:42:06 2012 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Mon, 2 Apr 2012 01:42:06 -0700 Subject: Flexible downtime not working In-Reply-To: References: Message-ID: Hi, We use Nagios 3.2.0 on SLES 10 SP2 to monitor a few hundred services. Yesterday, we put a particular service into flexible downtime from around 7am to 2pm. However, it seems to still be stuck in flexible downtime so any alerts after 2pm haven't been sent out. I'm not entirely sure why this is happening as I've used this before and never had any problems. Has anyone come across this before ? Is there a way to kick this service back into normal monitoring ? Thanks, Deborah This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Mon Apr 2 11:28:42 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 2 Apr 2012 11:28:42 +0200 Subject: Flexible downtime not working In-Reply-To: References: Message-ID: Hello Deborah, If you use Flexible Downtimes, don't forget to select "Flexible" from the Select-Menu (Type). Otherwise the fixed dates are taken (Start Date, End Date). To remove a host or service from a scheduled downtime, click on "Downtime" in the left navigation. There you can delete the wanted entry. cheers On Mon, Apr 2, 2012 at 10:42 AM, Deborah Martin wrote: > Hi, **** > > ** ** > > We use Nagios 3.2.0 on SLES 10 SP2 to monitor a few hundred services. **** > > ** ** > > Yesterday, we put a particular service into flexible downtime from around > 7am to 2pm. However, it seems to still be stuck in flexible downtime so any > alerts after 2pm haven?t been sent out. **** > > ** ** > > I?m not entirely sure why this is happening as I?ve used this before and > never had any problems. Has anyone come across this before ? Is there a way > to kick this service back into normal monitoring ? **** > > ** ** > > Thanks,**** > > Deborah **** > > ** ** > > ** > > This e-mail and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you are not the intended recipient, please delete this e-mail > immediately. Any unauthorised distribution or copying is strictly > prohibited. > > Whilst Kognitio endeavours to prevent the transmission of viruses via > e-mail, we cannot guarantee that any e-mail or attachment is free from > computer viruses and you are strongly advised to undertake your own > anti-virus precautions. Kognitio grants no warranties regarding > performance, use or quality of any e-mail or attachment and undertakes no > liability for loss or damage, howsoever caused. > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at kognitio.com Mon Apr 2 14:54:05 2012 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Mon, 2 Apr 2012 05:54:05 -0700 Subject: Flexible downtime not working In-Reply-To: References: Message-ID: Hi Claudio, Thanks for info. But I'm a little puzzled. I clarified the steps that were taken. It turns out that he didn't use Flexible but instead used fixed. However, he's sure that the dates were set to 1st April for the start and end date. So, surely once the date changed to the 2nd April, at the very least, normal monitoring should have resumed or is that not correct ? In fact I took your advice and removed the fixed downtime manually. These are the nagios log entries I see for this service :- 04-01-2012 00:00:00 04-01-2012 06:00:00 0d 6h 0m 0s SERVICE OK (HARD) 60 rows in dsa.mdf_reservation in last 10 minutes 04-01-2012 06:00:00 04-01-2012 06:46:11 0d 0h 46m 11s SERVICE DOWNTIME START Start of scheduled downtime 04-01-2012 06:46:11 04-01-2012 14:00:10 0d 7h 13m 59s SERVICE CRITICAL (HARD) 0 rows in dsa.mdf_reservation in last 10 minutes 04-01-2012 14:00:10 04-02-2012 11:26:18 0d 21h 26m 8s SERVICE OK (HARD) 331 rows in dsa.mdf_reservation in last 10 minutes 04-02-2012 11:26:18 04-02-2012 11:47:16 0d 0h 20m 58s+ SERVICE DOWNTIME END End of scheduled downtime The last entry is when I manually put the service back to normal monitoring. Regards, Deborah From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: 02 April 2012 10:29 To: Nagios Users List Subject: Re: [Nagios-users] Flexible downtime not working Hello Deborah, If you use Flexible Downtimes, don't forget to select "Flexible" from the Select-Menu (Type). Otherwise the fixed dates are taken (Start Date, End Date). To remove a host or service from a scheduled downtime, click on "Downtime" in the left navigation. There you can delete the wanted entry. cheers On Mon, Apr 2, 2012 at 10:42 AM, Deborah Martin > wrote: Hi, We use Nagios 3.2.0 on SLES 10 SP2 to monitor a few hundred services. Yesterday, we put a particular service into flexible downtime from around 7am to 2pm. However, it seems to still be stuck in flexible downtime so any alerts after 2pm haven't been sent out. I'm not entirely sure why this is happening as I've used this before and never had any problems. Has anyone come across this before ? Is there a way to kick this service back into normal monitoring ? Thanks, Deborah This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Mon Apr 2 15:38:27 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 2 Apr 2012 15:38:27 +0200 Subject: Flexible downtime not working In-Reply-To: References: Message-ID: Well without blaming anyone, the easiest reason for this to cause would be a human mistake in interpreting the schedule downtime form (often happens with fixed/flexible) and by setting a wrong end date. When you were in the Downtime overview, did you take a look at the specified End Time column? What was written there before you clicked the delete icon? I suggest you go to your var/archives folder and check the logfile of April 1st for the external command, sth like this: [1333358804] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;hostname;NTP;1333358695;1333365895;0;0;3600;Nagios Admin;test flexible [1333373670] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;hostname;SSH;1333373648;1333384448;1;0;7200;Nagios Admin;test fixed These timestamps tell you WHEN the external command was launched, when the downtime starts and when the downtime ends. Also, note the 0 and 1 behind the end timestamp. Integer 0 indicates a flexible downtime, a 1 indicates a fixed scheduled downtime. To answer your question: Yes, after the end of the scheduled downtime, normal monitoring should have resumed. On Mon, Apr 2, 2012 at 2:54 PM, Deborah Martin wrote: > Hi Claudio, **** > > ** ** > > Thanks for info. But I?m a little puzzled. **** > > ** ** > > I clarified the steps that were taken. It turns out that he didn?t use > Flexible but instead used fixed. However, he?s sure that the dates were set > to 1st April for the start and end date. **** > > So, surely once the date changed to the 2nd April, at the very least, > normal monitoring should have resumed or is that not correct ? **** > > ** ** > > In fact I took your advice and removed the fixed downtime manually. **** > > ** ** > > ** ** > > These are the nagios log entries I see for this service :-**** > > ** ** > > 04-01-2012 00:00:00**** > > 04-01-2012 06:00:00**** > > 0d 6h 0m 0s**** > > SERVICE OK (HARD)**** > > 60 rows in dsa.mdf_reservation in last 10 minutes**** > > 04-01-2012 06:00:00**** > > 04-01-2012 06:46:11**** > > 0d 0h 46m 11s**** > > SERVICE DOWNTIME START**** > > Start of scheduled downtime**** > > 04-01-2012 06:46:11**** > > 04-01-2012 14:00:10**** > > 0d 7h 13m 59s**** > > SERVICE CRITICAL (HARD)**** > > 0 rows in dsa.mdf_reservation in last 10 minutes**** > > 04-01-2012 14:00:10**** > > 04-02-2012 11:26:18**** > > 0d 21h 26m 8s**** > > SERVICE OK (HARD)**** > > 331 rows in dsa.mdf_reservation in last 10 minutes**** > > 04-02-2012 11:26:18**** > > 04-02-2012 11:47:16**** > > 0d 0h 20m 58s+**** > > SERVICE DOWNTIME END**** > > End of scheduled downtime**** > > ** ** > > The last entry is when I manually put the service back to normal > monitoring. **** > > ** ** > > Regards,**** > > Deborah **** > > ** ** > > ** ** > > *From:* Claudio Kuenzler [mailto:ck at claudiokuenzler.com] > *Sent:* 02 April 2012 10:29 > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Flexible downtime not working**** > > ** ** > > Hello Deborah, > > If you use Flexible Downtimes, don't forget to select "Flexible" from the > Select-Menu (Type). Otherwise the fixed dates are taken (Start Date, End > Date). > > To remove a host or service from a scheduled downtime, click on "Downtime" > in the left navigation. There you can delete the wanted entry. > > cheers**** > > On Mon, Apr 2, 2012 at 10:42 AM, Deborah Martin < > Deborah.Martin at kognitio.com> wrote:**** > > Hi, **** > > **** > > We use Nagios 3.2.0 on SLES 10 SP2 to monitor a few hundred services. **** > > **** > > Yesterday, we put a particular service into flexible downtime from around > 7am to 2pm. However, it seems to still be stuck in flexible downtime so any > alerts after 2pm haven?t been sent out. **** > > **** > > I?m not entirely sure why this is happening as I?ve used this before and > never had any problems. Has anyone come across this before ? Is there a way > to kick this service back into normal monitoring ? **** > > **** > > Thanks,**** > > Deborah **** > > **** > > > **** > > This e-mail and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you are not the intended recipient, please delete this e-mail > immediately. Any unauthorised distribution or copying is strictly > prohibited. > > Whilst Kognitio endeavours to prevent the transmission of viruses via > e-mail, we cannot guarantee that any e-mail or attachment is free from > computer viruses and you are strongly advised to undertake your own > anti-virus precautions. Kognitio grants no warranties regarding > performance, use or quality of any e-mail or attachment and undertakes no > liability for loss or damage, howsoever caused.**** > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 e-mail and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you are not the intended recipient, please delete this e-mail > immediately. Any unauthorised distribution or copying is strictly > prohibited. > > Whilst Kognitio endeavours to prevent the transmission of viruses via > e-mail, we cannot guarantee that any e-mail or attachment is free from > computer viruses and you are strongly advised to undertake your own > anti-virus precautions. Kognitio grants no warranties regarding > performance, use or quality of any e-mail or attachment and undertakes no > liability for loss or damage, howsoever caused. > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Mon Apr 2 17:44:49 2012 From: terry at cnysupport.com (Terry Carmen) Date: Mon, 02 Apr 2012 11:44:49 -0400 Subject: Fix for battery state "Learning" in check_perc.pl from Matt Stanford Message-ID: <4F79C971.8020702@cnysupport.com> I have no idea if anybody else is using this plugin or not, but I've been using it quite successfully on a bunch of older Dell machines, and it's been doing great, except for throwing a critical error when the Battery state is "Learning". I updated the code to handle the "Learning" state, but can't seem to find the author to submit the patch. If anybody us using the plugin and would find the updated version useful, it's on my website at: https://www.cnysupport.com/download/check_perc/check_perc.pl Terry ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mikhail_Parkman at cable.comcast.com Mon Apr 2 19:59:12 2012 From: Mikhail_Parkman at cable.comcast.com (Parkman, Mikhail) Date: Mon, 2 Apr 2012 17:59:12 +0000 Subject: nagios message broker experience Message-ID: Did somebody have experience with the setup of Nagios message broker from http://snippets.syabru.ch/nagios-msg-broker/ Thanks. Mikhail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Manish_Kmr at mahindrasatyam.com Tue Apr 3 07:03:07 2012 From: Manish_Kmr at mahindrasatyam.com (Manish_Kmr) Date: Tue, 3 Apr 2012 05:03:07 +0000 Subject: how to detect even a fraction of downtime for the URL or underlying Jboss service on a production server Message-ID: Hi List, Hope you doing fine... I have a very critical web application (URL) hosted on a production server on the Jboss service. As now I am monitoring the URL availability and the production server availability using nagios. But as I am polling to check these on an interval of 5 mints and also there is check latency often on my nagios server because of high load, I am not able to detect even a seconds downtime of this url or server. An idea which I am thinking of, is monitoring the log files of jboss for this service availability using log monitoring (the passive way) with freshness threshold set to very low. Will it work ? what are your suggestions ? Thanks, Manish Kumar Open Source Tools Team, IMS, Mahindra Satyam Mob: +919035435306 ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc.maignan at winxpert.com Tue Apr 3 18:15:36 2012 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Tue, 03 Apr 2012 18:15:36 +0200 Subject: Check_ntp_time problem Message-ID: <4F7B2228.4000509@winxpert.com> Hi, on a server 1, the plugin works well by specifying its own address : /usr/lib/nagios/plugins/check_ntp_time -H 192.168.50.7 -v sending request to peer 0 response from peer 0: offset -0,0005108481273 sending request to peer 0 response from peer 0: offset -6,853620289e-05 sending request to peer 0 response from peer 0: offset -2,743146615e-05 sending request to peer 0 response from peer 0: offset -2,787803533e-05 overall average offset: -0,0005108481273 NTP OK: D?calage -0,0005108481273 secs|offset=-0,000511s;60,000000;120,000000; on a second, it doesn't work : /usr/lib64/nagios/plugins/check_ntp_time -H 192.168.50.2 -v sending request to peer 0 re-sending request to peer 0 re-sending request to peer 0 re-sending request to peer 0 re-sending request to peer 0 re-sending request to peer 0 re-sending request to peer 0 NTP CRITICAL: No response from NTP server But a request on localhost seems to work : /usr/lib64/nagios/plugins/check_ntp_time -H localhost -v sending request to peer 0 response from peer 0: offset -4,291534424e-06 sending request to peer 0 response from peer 0: offset -2,002716064e-05 sending request to peer 0 response from peer 0: offset -2,062320709e-05 sending request to peer 0 response from peer 0: offset -1,752376556e-05 sending request to peer 1 re-sending request to peer 1 re-sending request to peer 1 re-sending request to peer 1 re-sending request to peer 1 re-sending request to peer 1 re-sending request to peer 1 discarding peer 1: stratum=0 overall average offset: -4,291534424e-06 NTP OK: D?calage -4,291534424e-06 secs|offset=-0,000004s;60,000000;120,000000; The configuration of ntpd daemon are strictly the same on both servers. Has anyone an idea to help me ? Best regards ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lftsy at leurent.eu Tue Apr 3 18:25:08 2012 From: lftsy at leurent.eu (Marc Leurent) Date: Tue, 3 Apr 2012 18:25:08 +0200 Subject: [Nagios] Set a warning range with negative value (function parse_range_string) Message-ID: <201204031825.08464.lftsy@leurent.eu> Good evening, I have been trying to set a warning range -20:20 in the output of a ./check_snmp -H ab.cd.34.ef -C default -P 1 -o 1.3.6.1.4.1.9.10.24.1.1.4.1.3.2 --rate -w -20:20 without success I have seen in http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT that is was possible to set -INFINITY as start range, but what about simple negative value? Can you pinpoint me on the syntax to use Thank you ./check_snmp -H ab.cd.34.ef -C default -P 1 -o 1.3.6.1.4.1.9.10.24.1.1.4.1.3.2 --rate -w -20:20 SNMP RATE WARNING - *0* | iso.3.6.1.4.1.9.10.24.1.1.4.1.3.2=0 ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlgibbs at utica.edu Tue Apr 3 19:25:57 2012 From: jlgibbs at utica.edu (Jeremy Gibbs) Date: Tue, 03 Apr 2012 13:25:57 -0400 Subject: Nagios plugin for external viewing Message-ID: Is there a plugin for viewing a condensed nagios page on a screen with multiple items. We have ordered a few TVs and we are splitting the screen into 3rd's. Each portion of the screen will display some useful info, one of them will be nagios. If there is a plugin or a way to get a page that reloads (and doesn't reload back to the home screen), I would like to know. Thanks -- Jeremy L. Gibbs Systems Administrator Utica College Integrated Information Technology Services (315) 223-2383 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Tue Apr 3 20:03:17 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 3 Apr 2012 20:03:17 +0200 Subject: Check_ntp_time problem In-Reply-To: <4F7B2228.4000509@winxpert.com> References: <4F7B2228.4000509@winxpert.com> Message-ID: Why are you using different NTP servers? On server 1 you use: /usr/lib/nagios/plugins/check_ntp_time -H 192.168.50.7 -v On server 2 you use: /usr/lib64/nagios/plugins/check_ntp_time -H 192.168.50.2 -v Localhost always works as this is the emergency fail-back for ntp. On Tue, Apr 3, 2012 at 6:15 PM, Luc MAIGNAN wrote: > Hi, > > on a server 1, the plugin works well by specifying its own address : > > /usr/lib/nagios/plugins/check_ntp_time -H 192.168.50.7 -v > sending request to peer 0 > response from peer 0: offset -0,0005108481273 > sending request to peer 0 > response from peer 0: offset -6,853620289e-05 > sending request to peer 0 > response from peer 0: offset -2,743146615e-05 > sending request to peer 0 > response from peer 0: offset -2,787803533e-05 > overall average offset: -0,0005108481273 > NTP OK: D?calage -0,0005108481273 > secs|offset=-0,000511s;60,000000;120,000000; > > > on a second, it doesn't work : > > /usr/lib64/nagios/plugins/check_ntp_time -H 192.168.50.2 -v > sending request to peer 0 > re-sending request to peer 0 > re-sending request to peer 0 > re-sending request to peer 0 > re-sending request to peer 0 > re-sending request to peer 0 > re-sending request to peer 0 > NTP CRITICAL: No response from NTP server > > > But a request on localhost seems to work : > > /usr/lib64/nagios/plugins/check_ntp_time -H localhost -v > sending request to peer 0 > response from peer 0: offset -4,291534424e-06 > sending request to peer 0 > response from peer 0: offset -2,002716064e-05 > sending request to peer 0 > response from peer 0: offset -2,062320709e-05 > sending request to peer 0 > response from peer 0: offset -1,752376556e-05 > sending request to peer 1 > re-sending request to peer 1 > re-sending request to peer 1 > re-sending request to peer 1 > re-sending request to peer 1 > re-sending request to peer 1 > re-sending request to peer 1 > discarding peer 1: stratum=0 > overall average offset: -4,291534424e-06 > NTP OK: D?calage -4,291534424e-06 > secs|offset=-0,000004s;60,000000;120,000000; > > > > The configuration of ntpd daemon are strictly the same on both servers. > > Has anyone an idea to help me ? > > Best regards > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnilsson at uci.edu Wed Apr 4 00:13:12 2012 From: jnilsson at uci.edu (Jonathan Nilsson) Date: Tue, 3 Apr 2012 15:13:12 -0700 Subject: Nagios plugin for external viewing In-Reply-To: References: Message-ID: > > Is there a plugin for viewing a condensed nagios page on a screen with > multiple items. Hmm, I don't know about a plugin... I use the "Services" page for showing everything on screen at once (scrolling is required). > > We have ordered a few TVs and we are splitting the screen into 3rd's. > Each portion of the screen will display some useful info, one of them will > be nagios. If there is a plugin or a way to get a page that reloads (and > doesn't reload back to the home screen), I would like to know. > I definitely agree that it is frustrating to refresh and then be taken back to the frameset home page. The workaround I use is to just bookmarked this URL directly (so I don't use the side-bar frameset at all): http://server.domain.com/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail And it does refresh automatically whenever there are new service checks performed. -- Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roger at firedrake.org Wed Apr 4 01:01:01 2012 From: roger at firedrake.org (Roger Burton West) Date: Wed, 4 Apr 2012 00:01:01 +0100 Subject: Nagios plugin for external viewing In-Reply-To: References: Message-ID: <20120403230101.GA8694@firedrake.org> On Tue, Apr 03, 2012 at 03:13:12PM -0700, Jonathan Nilsson wrote: >I definitely agree that it is frustrating to refresh and then be taken back >to the frameset home page. The workaround I use is to just bookmarked this >URL directly (so I don't use the side-bar frameset at all): >http://server.domain.com/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail The three I find useful (and bookmark) are: status.cgi?hostgroup=all&style=grid (overall status, condensed) status.cgi?servicestatustypes=29&hoststatustypes=15 (all services that aren't OK) status.cgi (list of everything) ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at iphh.net Wed Apr 4 14:54:18 2012 From: ck at iphh.net (Christoph Kluenter) Date: Wed, 4 Apr 2012 14:54:18 +0200 Subject: plugin for checking file permissions Message-ID: <20120404125418.GB21242@iphh.net> Hi, i tried to search for "nagios plugin file permission" but obviously got lots of wrong results :) I need a plugin that ensures that files in a given directory all belong to one user/group. Has anybody here ever seen a script for this purpose ? Cheers, christoph -- Christoph Kluenter E-Mail: support at iphh.net Technik Tel: +49 (0)40 374919-10 IPHH Internet Port Hamburg GmbH Fax: +49 (0)40 374919-29 Wendenstrasse 408 AG Hamburg, HRB 76071 D-20537 Hamburg Geschaeftsfuehrung: Axel G. Kroeger ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 16:46:29 2012 From: m.borsani at it.net (Marco Borsani) Date: Wed, 4 Apr 2012 16:46:29 +0200 Subject: use_large_installation_tweaks Message-ID: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> Hi all Does anyone has configured it ? Is it really a good way to follow to reduce memory usage ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Apr 4 17:18:28 2012 From: benny at bennyvision.com (C. Bensend) Date: Wed, 4 Apr 2012 10:18:28 -0500 Subject: use_large_installation_tweaks In-Reply-To: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> Message-ID: <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> > Does anyone has configured it ? > > Is it really a good way to follow to reduce memory usage ? For me, it was a good way to reduce memory and CPU, and it helped with check latencies. Although, the absolute best way to reduce check latencies for me has been to dump NDOUtils. Good lord, that was awful, had to restart Nagios three times a week. Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed Apr 4 17:43:00 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 4 Apr 2012 17:43:00 +0200 Subject: use_large_installation_tweaks In-Reply-To: <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> Message-ID: <4E16741D-3B84-4916-BAEF-677C6A13B0BA@linux.it> Ndoutils have a low performance, they shoukd be trashed. Ciao, Giorgio Il giorno 04/apr/2012, alle ore 17:18, "C. Bensend" ha scritto: > >> Does anyone has configured it ? >> >> Is it really a good way to follow to reduce memory usage ? > > For me, it was a good way to reduce memory and CPU, and it helped > with check latencies. > > Although, the absolute best way to reduce check latencies for me > has been to dump NDOUtils. Good lord, that was awful, had to restart > Nagios three times a week. > > Benny > > > -- > "The problem with quotes on the internet is that it's very hard to > verify their authenticity." -- Abraham Lincoln > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed Apr 4 17:27:14 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 4 Apr 2012 17:27:14 +0200 Subject: use_large_installation_tweaks In-Reply-To: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> Message-ID: <9640C98F-E39E-43E5-8A5D-680F5098BD50@linux.it> I do not Like it. There are better strategies to reduce load. Try nrdp or nsca to distribute the load. Ciao, Giorgio Il giorno 04/apr/2012, alle ore 16:46, "Marco Borsani" ha scritto: > Hi all > > Does anyone has configured it ? > Is it really a good way to follow to reduce memory usage ? > > Regards > > Marco Borsani > Unix and Monitoring Sysadmin > Technical Operations Dpt. > tel: +39 010 4310115 > fax: +39 02 30130311 > cell: +39 329 5953944 > ITnet Srl > Societ? con socio unico > Direzione e Coordinamento di Libero S.r.l. > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Wed Apr 4 18:43:01 2012 From: werner.flamme at ufz.de (Werner Flamme) Date: Wed, 04 Apr 2012 18:43:01 +0200 Subject: unsubscribe In-Reply-To: <7DBDA8EE3EAF164D8B338603ADA87695782273CD@ITF-DR-VEX1.itforce.local> References: <7DBDA8EE3EAF164D8B338603ADA87695782273CD@ITF-DR-VEX1.itforce.local> Message-ID: <4F7C7A15.8080805@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Please consider re-reading the mail. Or any mail in the mailing list. In the headers, you will find: - ---snip--- List-Unsubscribe: , - ---pins--- So please, send another mail to the correct address. Thank you. Werner Conor Shovlin [04.04.2012 18:08]: > unsubscribe > > ________________________________ > > > Any views given in this message are the sender's own, and do not > represent the views of IT Force except where the sender > specifically states them to be the views of IT Force. This e-mail > should only be read by those persons to whom it is addressed. > Accordingly, we disclaim all responsibility and accept no liability > (including in negligence) for the consequences of any person other > than the intended recipients acting, or refraining from acting, on > such information. If you have received this e-mail in error, please > accept our apologies and we simply request that you delete this > document. If you have received Spam that you believe has originated > in some way from IT Force, please send a complaint including the > unsolicited email, to info at itforce.ie. Any form of reproduction, > dissemination, copying, disclosure, modification, distribution > and/or publication of this e-mail is strictly prohibited. IT Force > Limited is registered in Ireland No. 310902. Registered office, > Molyneux House, Bride Street, Dublin 8. > > > > > > ------------------------------------------------------------------------------ > > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > > > > _______________________________________________ Nagios-users > mailing list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: > Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk98ehAACgkQk33Krq8b42OYqACdEEl3vhN1RoLWUBJc6bz9kuXo NeoAn0yj/voMtkSEMYvlGA1SKjvYzSWm =86tG -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apgm17 at wp.pl Tue Apr 3 11:43:47 2012 From: apgm17 at wp.pl (apgm17 at wp.pl) Date: Tue, 03 Apr 2012 11:43:47 +0200 Subject: availability report Message-ID: <4f7ac6532a4805.41917880@wp.pl> My questions is: what is show in the availability report different "durations" time? the service is configure to queried 10 min. Last Check Time: 04-03-2012 11:26:43 Next Scheduled Check: 04-03-2012 11:36:44 reports show a different time durations exaple 3d 12h 22m 3s 7d 0h 0m 0s 1d 11h 31m 22s 0d 0h 0m 18s why is show different time? 03-04-2012 00:00:00 03-07-2012 12:22:03 3d 12h 22m 3s SERVICE OK (HARD) DISK OK - free space: /tmp 920 MB (98% inode=99%): 03-07-2012 12:22:03 03-07-2012 12:22:03 0d 0h 0m 0s PROGRAM (RE)START Program restart 03-07-2012 12:22:03 03-07-2012 12:22:10 0d 0h 0m 7s PROGRAM (RE)START Program start 03-07-2012 12:22:10 03-11-2012 00:00:00 3d 11h 37m 50s SERVICE OK (HARD) DISK OK - free space: /tmp 920 MB (98% inode=99%): 03-11-2012 00:00:00 03-18-2012 00:00:00 7d 0h 0m 0s SERVICE OK (HARD) DISK OK - free space: /tmp 920 MB (98% inode=99%): 03-18-2012 00:00:00 03-25-2012 00:00:00 7d 0h 0m 0s SERVICE OK (HARD) DISK OK - free space: /tmp 920 MB (98% inode=99%): 03-25-2012 00:00:00 03-26-2012 12:31:22 1d 11h 31m 22s SERVICE OK (HARD) DISK OK - free space: /tmp 920 MB (98% inode=99%): 03-26-2012 12:31:22 03-26-2012 12:31:22 0d 0h 0m 0s PROGRAM (RE)START Program restart 03-26-2012 12:31:22 03-26-2012 12:31:29 0d 0h 0m 7s PROGRAM (RE)START Program start 03-26-2012 12:31:29 03-26-2012 12:31:47 0d 0h 0m 18s SERVICE OK (HARD) DISK OK - free space: /tmp 920 MB (98% inode=99%): 03-26-2012 12:31:47 03-26-2012 12:31:47 0d 0h 0m 0s PROGRAM (RE)START Program restart 03-26-2012 12:31:47 03-26-2012 12:31:53 0d 0h 0m 6s PROGRAM (RE)START Program start 03-26-2012 12:31:53 03-27-2012 12:00:59 0d 23h 29m 6s+ SERVICE OK (HARD) DISK OK - free space: /tmp 920 MB (98% inode=99%): regards Arek ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theo.bogatsu at mascom.bw Wed Apr 4 11:45:34 2012 From: theo.bogatsu at mascom.bw (Theo Bogatsu) Date: Wed, 4 Apr 2012 11:45:34 +0200 Subject: MOnitor disk space on Sun Solaris Message-ID: <921DB9817E505F41B17603267FBDDA840AAE8993D5@SRV-GBEXCCR01.mascom.bw> Hi I'm trying to monitor disk space on my Sun solaris server, I want it to give me a warning when it reaches 80% usage and critical when over 90%. I have used the below plugin: check_disk with these arguments: --w 20% -c 10% -p /opt/ But on the status information I get a: DISK OK - free space: / 128187 MB (93% inode=98%) I'm expecting to see output similar to the output of df -kh (when run on the server) which currently is: Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s5 19G 6.8G 12G 36% /opt So in essence I think there should be like 64% free disk space?? Please HELP. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Wed Apr 4 22:47:21 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 4 Apr 2012 20:47:21 +0000 Subject: use_large_installation_tweaks In-Reply-To: <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> Message-ID: <4288A518A157EC4C8873FEE74F778BF0173F0D@WPSDGQHH.OPR.STATEFARM.ORG> We did the same, too much over from NDO to justify any benefit. Dan -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: Wednesday, April 04, 2012 10:18 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] use_large_installation_tweaks > Does anyone has configured it ? > > Is it really a good way to follow to reduce memory usage ? For me, it was a good way to reduce memory and CPU, and it helped with check latencies. Although, the absolute best way to reduce check latencies for me has been to dump NDOUtils. Good lord, that was awful, had to restart Nagios three times a week. Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Apr 5 02:25:22 2012 From: jpratt at norwich.edu (James Pratt) Date: Thu, 5 Apr 2012 00:25:22 +0000 Subject: MOnitor disk space on Sun Solaris In-Reply-To: <921DB9817E505F41B17603267FBDDA840AAE8993D5@SRV-GBEXCCR01.mascom.bw> References: <921DB9817E505F41B17603267FBDDA840AAE8993D5@SRV-GBEXCCR01.mascom.bw> Message-ID: <838D552D6FE6A942A53134195C53C2DE09B34FD5@NUEXCH1.norwich.edu> Weird... http://pissedoffadmins.com/?p=400 maybe? Cheers, James From: Theo Bogatsu [mailto:theo.bogatsu at mascom.bw] Sent: Wednesday, April 04, 2012 5:46 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] MOnitor disk space on Sun Solaris Hi I'm trying to monitor disk space on my Sun solaris server, I want it to give me a warning when it reaches 80% usage and critical when over 90%. I have used the below plugin: check_disk with these arguments: --w 20% -c 10% -p /opt/ But on the status information I get a: DISK OK - free space: / 128187 MB (93% inode=98%) I'm expecting to see output similar to the output of df -kh (when run on the server) which currently is: Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s5 19G 6.8G 12G 36% /opt So in essence I think there should be like 64% free disk space?? Please HELP. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Apr 5 02:28:16 2012 From: jpratt at norwich.edu (James Pratt) Date: Thu, 5 Apr 2012 00:28:16 +0000 Subject: MOnitor disk space on Sun Solaris In-Reply-To: <921DB9817E505F41B17603267FBDDA840AAE8993D5@SRV-GBEXCCR01.mascom.bw> References: <921DB9817E505F41B17603267FBDDA840AAE8993D5@SRV-GBEXCCR01.mascom.bw> Message-ID: <838D552D6FE6A942A53134195C53C2DE09B34FE8@NUEXCH1.norwich.edu> There is always this too - I use these plugins extensively (alas, I'm out of solaris boxes for a few years now sorry)!, as snmp checks need minimal client setup compared to nrpe etc etc http://nagios.manubulon.com/snmp_storage.html From: Theo Bogatsu [mailto:theo.bogatsu at mascom.bw] Sent: Wednesday, April 04, 2012 5:46 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] MOnitor disk space on Sun Solaris Hi I'm trying to monitor disk space on my Sun solaris server, I want it to give me a warning when it reaches 80% usage and critical when over 90%. I have used the below plugin: check_disk with these arguments: --w 20% -c 10% -p /opt/ But on the status information I get a: DISK OK - free space: / 128187 MB (93% inode=98%) I'm expecting to see output similar to the output of df -kh (when run on the server) which currently is: Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s5 19G 6.8G 12G 36% /opt So in essence I think there should be like 64% free disk space?? Please HELP. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Thu Apr 5 07:31:24 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 05 Apr 2012 14:31:24 +0900 Subject: Any upcoming release? Message-ID: <201204050531.AA05201@S2007337.jp.fujitsu.com> Hi all! I would like to know if there are any plans for the nagios v 3.4.x. It has been a while since the last release so I was very curious about it. It would helpful if the nagios team can share the information. Thanks, Yu Watanabe ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eliezer at ngtech.co.il Thu Apr 5 08:27:42 2012 From: eliezer at ngtech.co.il (Eliezer Croitoru) Date: Thu, 05 Apr 2012 09:27:42 +0300 Subject: plugin for checking file permissions In-Reply-To: <20120404125418.GB21242@iphh.net> References: <20120404125418.GB21242@iphh.net> Message-ID: <4F7D3B5E.70408@ngtech.co.il> On 04/04/2012 15:54, Christoph Kluenter wrote: > Hi, > > i tried to search for "nagios plugin file permission" but obviously got lots of > wrong results :) > > I need a plugin that ensures that files in a given directory all belong to one user/group. > Has anybody here ever seen a script for this purpose ? > do you have any specific about one directory? or a recursive lookup? if you will use the commands: ls -l| awk '{ print $3 }' ls -l| awk '{ print $4 }' will give you the owner(3) and the group (4) of all files in a directory. also you can use the stat command on specific file: stat -c %U /full_file/path stat -c %G /full_file/path so you can try to do a "for" or "while" loop on all the results and in a case you find different owner then expected change a variable. you can also use a "xargs" with a nested if that will make sure that $1 is the same as you want to check. pretty simple to write cause it's a either every file is owned by the same owner or not so it's OK or CRITICAL. in case you need more help i will have sometime next week. Regards, Eliezer > > Cheers, > christoph > -- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer ngtech.co.il ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Thu Apr 5 08:53:07 2012 From: mad at b-care.net (MAD) Date: Thu, 05 Apr 2012 08:53:07 +0200 Subject: use_large_installation_tweaks In-Reply-To: <4288A518A157EC4C8873FEE74F778BF0173F0D@WPSDGQHH.OPR.STATEFARM.ORG> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <4288A518A157EC4C8873FEE74F778BF0173F0D@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <4F7D4153.60609@b-care.net> On 04/04/2012 10:47 PM, Daniel Wittenberg wrote: > We did the same, too much over from NDO to justify any benefit. > > Dan > > -----Original Message----- > From: C. Bensend [mailto:benny at bennyvision.com] > Sent: Wednesday, April 04, 2012 10:18 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] use_large_installation_tweaks > > >> Does anyone has configured it ? >> >> Is it really a good way to follow to reduce memory usage ? > For me, it was a good way to reduce memory and CPU, and it helped > with check latencies. > > Although, the absolute best way to reduce check latencies for me > has been to dump NDOUtils. Good lord, that was awful, had to restart > Nagios three times a week. > > Benny > > We use the Gearman module (http://labs.consol.de/lang/en/nagios/mod-gearman/) to distribute the load over several servers, and we still use NDOUtils for now but we had to tune the MySQL database and we stopped dumping some of the data that are useless to us. Marc-Andr? ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Thu Apr 5 09:43:25 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 5 Apr 2012 09:43:25 +0200 Subject: use_large_installation_tweaks In-Reply-To: <4F7D4153.60609@b-care.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <4288A518A157EC4C8873FEE74F778BF0173F0D@WPSDGQHH.OPR.STATEFARM.ORG> <4F7D4153.60609@b-care.net> Message-ID: I usa gearman as well, nice stuff. But it lacks of authentication so it's fairly unsecure. You can use mklivestatus as a broker to notify nagios status check to 3rd part applications. Ciao, Giorgio Il giorno 05/apr/2012, alle ore 08:53, MAD ha scritto: > On 04/04/2012 10:47 PM, Daniel Wittenberg wrote: >> We did the same, too much over from NDO to justify any benefit. >> >> Dan >> >> -----Original Message----- >> From: C. Bensend [mailto:benny at bennyvision.com] >> Sent: Wednesday, April 04, 2012 10:18 AM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] use_large_installation_tweaks >> >> >>> Does anyone has configured it ? >>> >>> Is it really a good way to follow to reduce memory usage ? >> For me, it was a good way to reduce memory and CPU, and it helped >> with check latencies. >> >> Although, the absolute best way to reduce check latencies for me >> has been to dump NDOUtils. Good lord, that was awful, had to restart >> Nagios three times a week. >> >> Benny >> >> > We use the Gearman module > (http://labs.consol.de/lang/en/nagios/mod-gearman/) to distribute the > load over several servers, and we still use NDOUtils for now but we had > to tune the MySQL database and we stopped dumping some of the data that > are useless to us. > > Marc-Andr? > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gantz.alex at gmail.com Thu Apr 5 10:10:14 2012 From: gantz.alex at gmail.com (Gantz Alex) Date: Thu, 5 Apr 2012 12:10:14 +0400 Subject: status.cgi 500 error Message-ID: Hello guys! We have problems with nagios classic web interface. Often there is an error 500 when accessing status.cgi. FreeBSD 8.2-RELEASE-p6 amd64 nagios-3.3.1 In the server logs: Premature end of script headers: status.cgi In dmesg: pid PIDN (status.cgi), uid 80: exited on signal 11 gdb provides the following information: Core was generated by `status.cgi'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 mmap_fgets (temp_mmapfile=0x800a12820) at ../common/shared.c:181 181 ../common/shared.c: No such file or directory. in ../common/shared.c (gdb) bt #0 mmap_fgets (temp_mmapfile=0x800a12820) at ../common/shared.c:181 Cannot access memory at address 0x7fffffffe608 (gdb) p *temp_mmapfile $1 = {path = 0x800a12850 "/var/spool/nagios/rw/objects.cache", mode = 0, fd = 3, file_size = 16177628, current_position = 9226716, current_line = 343025, mmap_buf = 0x800c00000} The file objects.cache is updated quite frequently, because we often (10-20 times everyday) change config. The file is located on the ramdisk. The size of the disk is much higher than the file size. Is there any patch that prevents mapping of the objects.cache file in the memory? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Apr 5 10:18:40 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 5 Apr 2012 10:18:40 +0200 Subject: R: use_large_installation_tweaks In-Reply-To: <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> Message-ID: <007801cd1304$bb51a760$31f4f620$@it.net> We don't use NDOutils. We have two kind of performance problem: 1) day-by-day - some Nagios servers have many services configured that can be heavy for the HW 2) trouble with main Nagios server - the other Nagios servers that send to the main the passive results (via nsca) , due to the stop of the main server become very slow Marco -----Messaggio originale----- Da: C. Bensend [mailto:benny at bennyvision.com] Inviato: mercoled? 4 aprile 2012 17:18 A: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] use_large_installation_tweaks > Does anyone has configured it ? > > Is it really a good way to follow to reduce memory usage ? For me, it was a good way to reduce memory and CPU, and it helped with check latencies. Although, the absolute best way to reduce check latencies for me has been to dump NDOUtils. Good lord, that was awful, had to restart Nagios three times a week. Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ---------------------------------------------------------------------------- -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 10:34:16 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 05 Apr 2012 10:34:16 +0200 Subject: Any upcoming release? In-Reply-To: <201204050531.AA05201@S2007337.jp.fujitsu.com> References: <201204050531.AA05201@S2007337.jp.fujitsu.com> Message-ID: <4F7D5908.7040306@op5.se> On 04/05/2012 07:31 AM, Yu Watanabe wrote: > Hi all! > > I would like to know if there are any plans for the nagios v 3.4.x. > It has been a while since the last release so I was very curious about it. > > It would helpful if the nagios team can share the information. > There is. Nagios 3.4 will be a single-threaded and event-driven application that sports an I/O-broker and vastly improved check performance. In essence, we've removed 2 fork() calls, 4 disk searches, 2 filewrites and 2 filereads from each check being performed. There's also a fixed usage of the current scheduling queue implementation which turns scheduling new checks from its current O(n) behaviour to O(1). This will provide a huge benefit for large installations, and combined with the worker process code we're currently seeing a 12-fold increase in the amount of checks Nagios can execute, but it's still too early to tell what other things are affected. The external command pipe might be a bottleneck if one uses large amounts of passive checks, for example. It's currently in late alpha, so beta releases should be available in a month or so. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 10:38:11 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 05 Apr 2012 10:38:11 +0200 Subject: R: use_large_installation_tweaks In-Reply-To: <007801cd1304$bb51a760$31f4f620$@it.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <007801cd1304$bb51a760$31f4f620$@it.net> Message-ID: <4F7D59F3.5080401@op5.se> On 04/05/2012 10:18 AM, Marco Borsani wrote: > We don't use NDOutils. > > We have two kind of performance problem: > 1) day-by-day - some Nagios servers have many services configured that can > be heavy for the HW > 2) trouble with main Nagios server - the other Nagios servers that send to > the main the passive results (via nsca) , due to the stop of the main server > become very slow > Try out merlin instead of NSCA. It's far more efficient at passing checks between servers than NSCA. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 11:10:27 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 05 Apr 2012 11:10:27 +0200 Subject: use_large_installation_tweaks In-Reply-To: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> Message-ID: <4F7D6183.1000500@op5.se> On 04/04/2012 04:46 PM, Marco Borsani wrote: > Hi all > > > > Does anyone has configured it ? > Yes. > Is it really a good way to follow to reduce memory usage ? > Not really, but it's a good way to reduce cpu usage and complexity of the active codepath, since it makes Nagios leave a lot of cleaning up to the kernel, and it removes a lot of work that has to be done prior to each check. For memory usage, large_installation_tweaks does very little. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Apr 5 16:20:49 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 5 Apr 2012 16:20:49 +0200 Subject: R: use_large_installation_tweaks In-Reply-To: <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> Message-ID: <00bd01cd1337$52a645d0$f7f2d170$@it.net> I am testing it on 3 different nagios systems. It seems very good regarding latency, nothing change in execution_time. I wonder if configuring " use_large_installation_tweaks=1" I can find problems in other part of the monitoring... Regards -----Messaggio originale----- Da: C. Bensend [mailto:benny at bennyvision.com] Inviato: mercoled? 4 aprile 2012 17:18 A: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] use_large_installation_tweaks > Does anyone has configured it ? > > Is it really a good way to follow to reduce memory usage ? For me, it was a good way to reduce memory and CPU, and it helped with check latencies. Although, the absolute best way to reduce check latencies for me has been to dump NDOUtils. Good lord, that was awful, had to restart Nagios three times a week. Benny -- "The problem with quotes on the internet is that it's very hard to verify their authenticity." -- Abraham Lincoln ---------------------------------------------------------------------------- -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Thu Apr 5 16:42:07 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Thu, 05 Apr 2012 16:42:07 +0200 Subject: use_large_installation_tweaks In-Reply-To: References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <4288A518A157EC4C8873FEE74F778BF0173F0D@WPSDGQHH.OPR.STATEFARM.ORG> <4F7D4153.60609@b-care.net> Message-ID: <4F7DAF3F.4000705@consol.de> On 05.04.2012 09:43, Giorgio Zarrelli wrote: > I usa gearman as well, nice stuff. But it lacks of authentication so it's fairly unsecure. 1. It's up to you to use ssh or iptables or whatever solution you prefer to make it secure. 2. Mod-Gearman uses encrypted communication, if thats not enough, see 1. Sven ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Thu Apr 5 17:03:12 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Thu, 5 Apr 2012 15:03:12 +0000 Subject: Monitor disk space on Sun Solaris Message-ID: I use the command check disk command this way. I check against the filesystem and not the mount point. The way it will show me the percent free also, I have listed this blelow. Ed /apps/nrpe/2.0/libexec/check_disk -w 8% -c 5% -p /dev/vx/dsk/t31-ess/apps DISK OK [6257755 kB (23%) free on /dev/vx/dsk/t31-ess/apps] tsts31 @ /apps/nrpe/2.0/libexec > df -k /apps Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/t31-ess/apps 27238400 20709575 6257755 77% /apps From: James Pratt [mailto:jpratt at norwich.edu] Sent: Wednesday, April 04, 2012 7:28 PM To: Nagios Users List Subject: Re: [Nagios-users] MOnitor disk space on Sun Solaris There is always this too - I use these plugins extensively (alas, I'm out of solaris boxes for a few years now sorry)!, as snmp checks need minimal client setup compared to nrpe etc etc http://nagios.manubulon.com/snmp_storage.html From: Theo Bogatsu [mailto:theo.bogatsu at mascom.bw] Sent: Wednesday, April 04, 2012 5:46 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] MOnitor disk space on Sun Solaris Hi I'm trying to monitor disk space on my Sun solaris server, I want it to give me a warning when it reaches 80% usage and critical when over 90%. I have used the below plugin: check_disk with these arguments: --w 20% -c 10% -p /opt/ But on the status information I get a: DISK OK - free space: / 128187 MB (93% inode=98%) I'm expecting to see output similar to the output of df -kh (when run on the server) which currently is: Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s5 19G 6.8G 12G 36% /opt So in essence I think there should be like 64% free disk space?? Please HELP. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 5 16:57:50 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 05 Apr 2012 16:57:50 +0200 Subject: R: use_large_installation_tweaks In-Reply-To: <00bd01cd1337$52a645d0$f7f2d170$@it.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <00bd01cd1337$52a645d0$f7f2d170$@it.net> Message-ID: <4F7DB2EE.2040800@op5.se> On 04/05/2012 04:20 PM, Marco Borsani wrote: > I am testing it on 3 different nagios systems. > > It seems very good regarding latency, nothing change in execution_time. > It's not supposed to change anything in execution time. What happens in the plugins is not for Nagios core to control, even if we could. > I wonder if configuring " use_large_installation_tweaks=1" I can find > problems in other part of the monitoring... > Maybe, but I doubt it. It will give Nagios a little less to do, so that you can give it a little more to do and still stay the same, or so that the hardware can cope with the load you're throwing at it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Thu Apr 5 17:54:09 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 5 Apr 2012 17:54:09 +0200 Subject: use_large_installation_tweaks In-Reply-To: <4F7DAF3F.4000705@consol.de> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <4288A518A157EC4C8873FEE74F778BF0173F0D@WPSDGQHH.OPR.STATEFARM.ORG> <4F7D4153.60609@b-care.net> <4F7DAF3F.4000705@consol.de> Message-ID: <8CD91A9E-7990-4318-B355-E74461440751@linux.it> Hi, that's right. My words were just an advice. Ciao, Giorgio Il giorno 05/apr/2012, alle ore 16:42, Sven Nierlein ha scritto: > On 05.04.2012 09:43, Giorgio Zarrelli wrote: >> I usa gearman as well, nice stuff. But it lacks of authentication so it's fairly unsecure. > > 1. It's up to you to use ssh or iptables or whatever solution you prefer to make it secure. > 2. Mod-Gearman uses encrypted communication, if thats not enough, see 1. > > Sven > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mikhail_Parkman at cable.comcast.com Thu Apr 5 18:56:43 2012 From: Mikhail_Parkman at cable.comcast.com (Parkman, Mikhail) Date: Thu, 5 Apr 2012 16:56:43 +0000 Subject: server log plugin Message-ID: I need to perform the following tasks: * Demonstrated that Nagios alert is fired when certain messages are logged in the application log file on the target (remote) host * Nagios "info message" is fired when error condition is cleared. I found out "logwarn" plugin but I didn't find detailed configuration instructions for this plugin. http://exchange.nagios.org/directory/Plugins/Log-Files/check_logwarn/details And another one - "check_logfiles" - this one is described better in my opinion but referring to something called OPSVIEW that I don't have any idea about. http://www.osupport.net/2011/log-files-monitoring-with-nagios-opsview/ Did somebody have experience with well documented "check log" plugin, and could recommend one so that the functionality of the recommended plugin matches bulleted tasks in the beginning of this email that I have to accomplish? Thanks. Mikhail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edgarosy at gmail.com Thu Apr 5 19:26:09 2012 From: edgarosy at gmail.com (Miguel Lanz) Date: Thu, 5 Apr 2012 11:26:09 -0600 Subject: Nagios checks for failed login attempts on tomcat web-applications Message-ID: Here is my question. I have nagios setup and running on a Ubuntu Server. Kernel version is: 2.6.31-22-generic i686 system. I've noticed on the access_logs several failed log in attempts from a foreign ip address to one of our web-applications. How can I make nagios do a check for failed log in attempts to my applications and send me an e-mail notification if there are more than 5 consecutive ones? Thanks for your help. Miguel. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Thu Apr 5 21:18:03 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 5 Apr 2012 21:18:03 +0200 Subject: server log plugin In-Reply-To: References: Message-ID: This one is probably the best one: http://labs.consol.de/lang/en/nagios/check_logfiles/ On Thu, Apr 5, 2012 at 6:56 PM, Parkman, Mikhail < Mikhail_Parkman at cable.comcast.com> wrote: > I need to perform the following tasks:**** > > ** ** > > ? Demonstrated that Nagios alert is fired when certain messages are > logged in the application log file on the target (remote) host**** > > ? Nagios "info message" is fired when error condition is cleared.**** > > ** ** > > I found out ?logwarn? plugin but I didn?t find detailed configuration > instructions for this plugin.**** > > ** ** > > > http://exchange.nagios.org/directory/Plugins/Log-Files/check_logwarn/details > **** > > ** ** > > And another one ? ?check_logfiles? ? this one is described better in my > opinion but referring to something called OPSVIEW that I don?t have any > idea about.**** > > ** ** > > http://www.osupport.net/2011/log-files-monitoring-with-nagios-opsview/**** > > ** ** > > ** ** > > Did somebody have experience with well documented ?check log? plugin, and > could recommend one so that the functionality of the recommended plugin > matches bulleted tasks in the beginning of this email that I have to > accomplish?**** > > ** ** > > Thanks.**** > > Mikhail.**** > > ** ** > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edgarosy at gmail.com Thu Apr 5 21:24:50 2012 From: edgarosy at gmail.com (Edgarosy) Date: Thu, 5 Apr 2012 13:24:50 -0600 Subject: server log plugin In-Reply-To: References: Message-ID: <6D63384D-3BB1-40D4-94F4-F2319A0FA2AA@gmail.com> Thank you Claudio. CONFIDENTIALITY NOTICE: This message and any attachment(s) are solely for the use of the intended recipient(s) identified above and may contain information that is proprietary, privileged, or confidential. If you are not an intended recipient, you may not review, retransmit, or otherwise use this message or any attachment. If you have received this message in error, please immediately notify the sender by reply e-mail and delete this message. On Apr 5, 2012, at 1:18 PM, Claudio Kuenzler wrote: > This one is probably the best one: > http://labs.consol.de/lang/en/nagios/check_logfiles/ > > On Thu, Apr 5, 2012 at 6:56 PM, Parkman, Mikhail wrote: > I need to perform the following tasks: > > > > ? Demonstrated that Nagios alert is fired when certain messages are logged in the application log file on the target (remote) host > > ? Nagios "info message" is fired when error condition is cleared. > > > > I found out ?logwarn? plugin but I didn?t find detailed configuration instructions for this plugin. > > > > http://exchange.nagios.org/directory/Plugins/Log-Files/check_logwarn/details > > > > And another one ? ?check_logfiles? ? this one is described better in my opinion but referring to something called OPSVIEW that I don?t have any idea about. > > > > http://www.osupport.net/2011/log-files-monitoring-with-nagios-opsview/ > > > > > > Did somebody have experience with well documented ?check log? plugin, and could recommend one so that the functionality of the recommended plugin matches bulleted tasks in the beginning of this email that I have to accomplish? > > > > Thanks. > > Mikhail. > > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mikhail_Parkman at cable.comcast.com Fri Apr 6 23:55:28 2012 From: Mikhail_Parkman at cable.comcast.com (Parkman, Mikhail) Date: Fri, 6 Apr 2012 21:55:28 +0000 Subject: server log plugin In-Reply-To: References: Message-ID: Thank you, Claudio, It was simple to setup, and it works. I have one question. Here is my command in the /usr/local/nagios/etc/nrpe.cfg on the target host: command[check_server_log]=/usr/local/nagios/libexec/check_logfiles --logfile=/opt/cvs-jboss7/standalone/log/server.log --criticalpattern="ERROR" --noprotocol Default output message is "ok - no errors or warnings" Since I am checking for errors only, this message is somehow misleading in my case. Does somebody know how to change it to "ok - no errors " Thanks. Mikhail. From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Thursday, April 05, 2012 12:18 PM To: Nagios Users List Subject: Re: [Nagios-users] server log plugin This one is probably the best one: http://labs.consol.de/lang/en/nagios/check_logfiles/ On Thu, Apr 5, 2012 at 6:56 PM, Parkman, Mikhail > wrote: I need to perform the following tasks: * Demonstrated that Nagios alert is fired when certain messages are logged in the application log file on the target (remote) host * Nagios "info message" is fired when error condition is cleared. I found out "logwarn" plugin but I didn't find detailed configuration instructions for this plugin. http://exchange.nagios.org/directory/Plugins/Log-Files/check_logwarn/details And another one - "check_logfiles" - this one is described better in my opinion but referring to something called OPSVIEW that I don't have any idea about. http://www.osupport.net/2011/log-files-monitoring-with-nagios-opsview/ Did somebody have experience with well documented "check log" plugin, and could recommend one so that the functionality of the recommended plugin matches bulleted tasks in the beginning of this email that I have to accomplish? Thanks. Mikhail. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roger at firedrake.org Sat Apr 7 16:05:37 2012 From: roger at firedrake.org (Roger Burton West) Date: Sat, 7 Apr 2012 15:05:37 +0100 Subject: SSL and multiple disk checker plugins Message-ID: <20120407140537.GA20651@firedrake.org> I have uploaded a couple of nagios plugins I've found useful on my own network. check_ssl-cert is a generic SSL checker - for cases where you're running a non-standard protocol behind SSL, or where you want a more detailed certificate chain report. It'll give WARNING and CRITICAL messages about expiry time for all certificates in the chain, and it'll handle STARTTLS (in-band SSL initiation as opposed to a dedicated port) correctly for SMTP, POP3 and IMAP. check_alldisks_ide_smart is a wrapper for checkdisk_ide_smart that'll run the latter plugin against all disks in a system (handy for mdraid boxes, or newer Linux machines where you can't be sure of a disk's device path). http://firedrake.org/cgi-bin/gitweb.cgi?p=nagios-plugins.git ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esteban at nuevaeralatam.com Sat Apr 7 17:57:00 2012 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Sat, 7 Apr 2012 10:57:00 -0500 Subject: R: use_large_installation_tweaks In-Reply-To: <4F7D59F3.5080401@op5.se> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <007801cd1304$bb51a760$31f4f620$@it.net> <4F7D59F3.5080401@op5.se> Message-ID: <31a4da7eb19815b54f0dd5cbcad5829e.squirrel@www.nuevaeralatam.com> > > Try out merlin instead of NSCA. It's far more efficient at passing checks > between servers than NSCA. > Hello Andreas. I have one server with NSCA, for accepting passive checks from 80 hosts more or less. The next step is replicate the same configuration in another server, for example for the access of datacenters operators aroud Central America, if the server is attacked, only crash a mirror and no the original server. My question is... I use send_nsca and nsclient++, Can Merlin accept packages from these clients? Or a can only install Merlin from send the package of checks from the original server to the mirror? Thanks for the help and sorry my bad english... ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From infos at opendoc.net Sat Apr 7 18:49:50 2012 From: infos at opendoc.net (Alexandre Bray) Date: Sat, 07 Apr 2012 18:49:50 +0200 Subject: use_large_installation_tweaks In-Reply-To: <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> Message-ID: <4F80702E.10002@opendoc.net> hello, Here are some tests with the option use_large_installation_tweaks. There are no graphics for the memory but the CPU load and scheduling. If this little help you ... http://www.opendoc.net/solutions/comment-ameliorer-performances-nagios Alexandre On 04/04/2012 17:18, C. Bensend wrote: > >> Does anyone has configured it ? >> >> Is it really a good way to follow to reduce memory usage ? > > For me, it was a good way to reduce memory and CPU, and it helped > with check latencies. > > Although, the absolute best way to reduce check latencies for me > has been to dump NDOUtils. Good lord, that was awful, had to restart > Nagios three times a week. > > Benny > > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Apr 8 01:26:18 2012 From: ae at op5.se (Andreas Ericsson) Date: Sun, 08 Apr 2012 01:26:18 +0200 Subject: R: use_large_installation_tweaks In-Reply-To: <31a4da7eb19815b54f0dd5cbcad5829e.squirrel@www.nuevaeralatam.com> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <007801cd1304$bb51a760$31f4f620$@it.net> <4F7D59F3.5080401@op5.se> <31a4da7eb19815b54f0dd5cbcad5829e.squirrel@www.nuevaeralatam.com> Message-ID: <4F80CD1A.3000306@op5.se> On 04/07/2012 05:57 PM, Esteban Monge wrote: > >> >> Try out merlin instead of NSCA. It's far more efficient at passing checks >> between servers than NSCA. >> > > Hello Andreas. > > I have one server with NSCA, for accepting passive checks from 80 hosts > more or less. > > The next step is replicate the same configuration in another server, for > example for the access of datacenters operators aroud Central America, if > the server is attacked, only crash a mirror and no the original server. > > My question is... I use send_nsca and nsclient++, Can Merlin accept > packages from these clients? Or a can only install Merlin from send the > package of checks from the original server to the mirror? > It cannot. Merlin replaces both send_nsca and nsca. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asmith at dms.cat Sun Apr 8 17:28:31 2012 From: asmith at dms.cat (asmith at dms.cat) Date: Sun, 08 Apr 2012 17:28:31 +0200 Subject: performance data configuration doubts Message-ID: <20120408172831.98536at5auam0fxb@webmail.dms.cat> Hi, I'd like to be able to log performance data from Nagios but I have a couple of doubts. First and most fundamental, will I be able to use the normal Nagios perfdata support with passive NSCA clients? Secondly, I have been reading the documentation, ie http://nagios.manubulon.com/traduction/docs14en/perfdata.html And it says that a plugin must return additional data after a pipe "|" sign for Nagios to accept any perforamnce data from that plugin. I was having a look at the standard plugins and they don't seem to have any support for performance data, ie: # ./check_ping check_ping: Could not parse arguments Usage: check_ping -H -w ,% -c ,% [-p packets] [-t timeout] [-4|-6] There is no option to enable performance data in the plugin output. Am I getting this wrong or do none of the standard plugins allow any performance data capture? thanks in advance! Andy. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Sun Apr 8 18:14:47 2012 From: dey.ranjib at gmail.com (ranjib dey) Date: Sun, 8 Apr 2012 21:44:47 +0530 Subject: performance data configuration doubts In-Reply-To: <20120408172831.98536at5auam0fxb@webmail.dms.cat> References: <20120408172831.98536at5auam0fxb@webmail.dms.cat> Message-ID: hi andy , passive check submissions via nsca can include perf data, theres no restriction on that. Though most of the plugins supports perf data, some of them dont. The example you have mentioned, do return perf data. /usr/lib/nagios/plugins/check_ping -H 8.8.8.8 -w 15,2% -c 20,5% PING OK - Packet loss = 0%, RTA = 12.28 ms|rta=12.284000ms;15.000000;20.000000;0.000000 pl=0%;2;5;0 however this one dont have explicit flags for disabling/enabling perf data, it always returns perfdata (which is fine i think). But some of the plugins do support additional flags to enable/disable perfdata output. most of the standard plugins(except few) do support perfdata, they can ignore it, as its not mandatory. For more on the perfdata format http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201 hope this help, regards ranjib On Sun, Apr 8, 2012 at 8:58 PM, wrote: > Hi, > > I'd like to be able to log performance data from Nagios but I have > a couple of doubts. > > First and most fundamental, will I be able to use the normal Nagios > perfdata support with passive NSCA clients? > > Secondly, I have been reading the documentation, ie > http://nagios.manubulon.com/traduction/docs14en/perfdata.html > > And it says that a plugin must return additional data after a pipe "|" > sign for Nagios to accept any perforamnce data from that plugin. I was > having a look at the standard plugins and they don't seem to have any > support for performance data, ie: > > # ./check_ping > check_ping: Could not parse arguments > Usage: > check_ping -H -w ,% -c ,% > [-p packets] [-t timeout] [-4|-6] > > There is no option to enable performance data in the plugin output. Am > I getting this wrong or do none of the standard plugins allow any > performance data capture? > > thanks in advance! Andy. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Sun Apr 8 18:16:59 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Sun, 8 Apr 2012 18:16:59 +0200 Subject: performance data configuration doubts In-Reply-To: <20120408172831.98536at5auam0fxb@webmail.dms.cat> References: <20120408172831.98536at5auam0fxb@webmail.dms.cat> Message-ID: The performance data can be found in the output of the plugin, if the plugin supports it. There are two types of output actually. The first part before the pipe is handled as "output", this will be shown in your Nagios UI and in notifications. The second part behind the pipe is handled as "performance data". With this data you'll be able to generate graphs. See here for an example with check_ping: # ./check_ping -H google.com -w 20,50% -c 50,70% PING OK - Packet loss = 0%, RTA = 15.99 ms|rta=15.987000ms;20.000000;50.000000;0.000000 pl=0%;50;70;0 Everything behind the pipe is performance data. On Sun, Apr 8, 2012 at 5:28 PM, wrote: > Hi, > > I'd like to be able to log performance data from Nagios but I have > a couple of doubts. > > First and most fundamental, will I be able to use the normal Nagios > perfdata support with passive NSCA clients? > > Secondly, I have been reading the documentation, ie > http://nagios.manubulon.com/traduction/docs14en/perfdata.html > > And it says that a plugin must return additional data after a pipe "|" > sign for Nagios to accept any perforamnce data from that plugin. I was > having a look at the standard plugins and they don't seem to have any > support for performance data, ie: > > # ./check_ping > check_ping: Could not parse arguments > Usage: > check_ping -H -w ,% -c ,% > [-p packets] [-t timeout] [-4|-6] > > There is no option to enable performance data in the plugin output. Am > I getting this wrong or do none of the standard plugins allow any > performance data capture? > > thanks in advance! Andy. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asmith at dms.cat Mon Apr 9 00:21:37 2012 From: asmith at dms.cat (asmith at dms.cat) Date: Mon, 09 Apr 2012 00:21:37 +0200 Subject: performance data configuration doubts In-Reply-To: <20120408172831.98536at5auam0fxb@webmail.dms.cat> References: <20120408172831.98536at5auam0fxb@webmail.dms.cat> Message-ID: <20120409002137.10423qywil0wcn01@webmail.dms.cat> Thanks Ranjib and Claudio, I am indeed seeing performance data from my NSCA clients :). I am attempting to setup nagios2cacti and had some issues with that config and then I started having doubts about the more basic bits as per my questions to the list. Im still struggling with nagios2cacti! But its half working now :/ thanks, Andy. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Mon Apr 9 04:06:19 2012 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 09 Apr 2012 11:06:19 +0900 Subject: Any upcoming release? In-Reply-To: <4F7D5908.7040306@op5.se> References: <4F7D5908.7040306@op5.se> Message-ID: <201204090206.AA05219@S2007337.jp.fujitsu.com> Andreas Thank you for the reply. Sounds very exciting. I'd like to look forward for the release. Thanks, Yu Andreas Ericsson ????????: >On 04/05/2012 07:31 AM, Yu Watanabe wrote: >> Hi all! >> >> I would like to know if there are any plans for the nagios v 3.4.x. >> It has been a while since the last release so I was very curious about it. >> >> It would helpful if the nagios team can share the information. >> > >There is. Nagios 3.4 will be a single-threaded and event-driven application >that sports an I/O-broker and vastly improved check performance. In essence, >we've removed 2 fork() calls, 4 disk searches, 2 filewrites and 2 filereads >from each check being performed. There's also a fixed usage of the current >scheduling queue implementation which turns scheduling new checks from its >current O(n) behaviour to O(1). This will provide a huge benefit for large >installations, and combined with the worker process code we're currently >seeing a 12-fold increase in the amount of checks Nagios can execute, but >it's still too early to tell what other things are affected. The external >command pipe might be a bottleneck if one uses large amounts of passive >checks, for example. > >It's currently in late alpha, so beta releases should be available in a >month or so. > >-- >Andreas Ericsson andreas.ericsson at op5.se >OP5 AB www.op5.se >Tel: +46 8-230225 Fax: +46 8-230231 > >Considering the successes of the wars on alcohol, poverty, drugs and >terror, I think we should give some serious thought to declaring war >on peace. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Mon Apr 9 16:46:23 2012 From: agriffin at nagios.com (Alex Griffin) Date: Mon, 09 Apr 2012 09:46:23 -0500 Subject: SSL and multiple disk checker plugins In-Reply-To: <20120407140537.GA20651@firedrake.org> References: <20120407140537.GA20651@firedrake.org> Message-ID: <4F82F63F.5020308@nagios.com> Thanks for sharing this! I'm sure other people will find these plugins useful as well. Please consider submitting them to Nagios Exchange (exchange.nagios.org) for better exposure. Alex Griffin --- Tech Team agriffin at nagios.com Roger Burton West wrote: > I have uploaded a couple of nagios plugins I've found useful on my own > network. > > check_ssl-cert is a generic SSL checker - for cases where you're running > a non-standard protocol behind SSL, or where you want a more detailed > certificate chain report. It'll give WARNING and CRITICAL messages about > expiry time for all certificates in the chain, and it'll handle STARTTLS > (in-band SSL initiation as opposed to a dedicated port) correctly for > SMTP, POP3 and IMAP. > > check_alldisks_ide_smart is a wrapper for checkdisk_ide_smart that'll > run the latter plugin against all disks in a system (handy for mdraid > boxes, or newer Linux machines where you can't be sure of a disk's > device path). > > http://firedrake.org/cgi-bin/gitweb.cgi?p=nagios-plugins.git > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Timothy.Boyer at opm.gov Tue Apr 10 02:02:33 2012 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Mon, 9 Apr 2012 20:02:33 -0400 Subject: check_disk '/sys not accessable' SOLVED In-Reply-To: <632DAB77DEC92645BB9AD18656CF59DE0735B214@EXCH03CL60.ww-intern.de> References: <0F3D91EA70124C468301FF70A8ED16D40306564C31@BOYV7EXVS1.opm.gov><4F59209C.7040107@maniladev.com><0F3D91EA70124C468301FF70A8ED16D40306564C51@BOYV7EXVS1.opm.gov><0F3D91EA70124C468301FF70A8ED16D40306564CCC@BOYV7EXVS1.opm.gov> <0F3D91EA70124C468301FF70A8ED16D40306564CDB@BOYV7EXVS1.opm.gov> <632DAB77DEC92645BB9AD18656CF59DE0735B214@EXCH03CL60.ww-intern.de> Message-ID: <0F3D91EA70124C468301FF70A8ED16D4030F6AA97B@BOYV7EXVS1.opm.gov> ... and I've been ignoring this post for a month, because I just know I'm not running selinux anywhere, right? Wrong. Out of 300-some servers, four had selinux turned back on somehow. But it took me this long to find it. Thanks much, Michael - you had the answer all along. Tim -----Original Message----- From: Wenig, Michael (IT/I4Z) [mailto:michael.wenig at ww-informatik.de] Sent: Tuesday, March 13, 2012 4:04 AM To: Nagios Users List Subject: Re: [Nagios-users] check_disk '/sys not accessable' We had some similar issues which were originated in missing policies for SELinux. -----Urspr?ngliche Nachricht----- Von: Boyer, Timothy A. [mailto:Timothy.Boyer at opm.gov] Gesendet: Montag, 12. M?rz 2012 20:57 An: Nagios Users List Betreff: Re: [Nagios-users] check_disk '/sys not accessable' Works fine on all of the other RHEL6 systems. # su - nagios -bash-4.1$ /usr/lib64/nagios/plugins/check_nrpe -H system3 -c check_all_disk 20 10 DISK OK - free space: / 24673 MB (98% inode=99%); /dev/shm 12007 MB (100% inode=99%); /boot 154 MB (65% inode=99%); ... with nothing at all in sudoers. -----Original Message----- From: davor grgicevic [mailto:dgrgicevic at gmail.com] Sent: Monday, March 12, 2012 1:32 PM To: Nagios Users List Subject: Re: [Nagios-users] check_disk '/sys not accessable' Hi Timothy localy u r workiong as root.. if you try as user Nagios, it wont work .. u have to run sudo for this "DISK CRITICAL - /dev/pts is not accessible: Permission denied" davor On Mon, Mar 12, 2012 at 6:17 PM, Boyer, Timothy A. wrote: > $ ./check_disk -w 10% -c 5% -p /sys > > DISK UNKNOWN - free space:| > > > > is the result on both servers. > > > > But that?s running locally, which works.? The problem is when running > via nrpe. > > > > Running check_nrpe with ?x /sys in the command line returns: > > > > DISK CRITICAL - /dev/pts is not accessible: Permission denied > > > > Doing the next obvious thing and including /dev in the excludes works, > and is a workaround. > > > > Thanks much? > > > > > > From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] > Sent: Friday, March 09, 2012 7:46 AM > To: Nagios Users List > > > Subject: Re: [Nagios-users] check_disk '/sys not accessable' > > > > Nagios 3.3.1.? Two identical RHEL6.1 systems, and all I?m trying to do > is get a total disk space reading. > > > Well the systems are not identical as the manually launched plugin > output of yours shows: > > [nagios at server1 ~)$ /usr/lib/nagios/plugins/check_disk -w20% -c10% > > DISK OK - free space: / 24673 MB (98% inode=99%); /dev/shm 12007 MB > (100% inode=99%); /boot 154 MB (65% inode=99%); /home 7507 MB (98% > inode=99%); > > > > [nagios at server2 /]$ /usr/lib/nagios/plugins/check_disk -w20% -c10% > DISK OK - free space: / 22004 MB (77% inode=96%); /dev/shm 498 MB > (100% inode=99%); /boot 387 MB (84% inode=99%); > > > Note the /home mount point. > > Have you checked the servers for the different mount points? It looks > like on server2 /sys is seen as a partition or mount point while on > server1 the check seems to "ignore" it successfully? Any idea why > server2 thinks /sys is a partition or mount point? > > Can you try to launch it specifically on /sys and output the results > (on both servers)? > > ./check_disk -w 10% -c 5% -p /sys > > Then try to exclude /sys from the check: > > ./check_disk -w 10% -c 5% -x /sys > > By the way the error you're seeing seems to be triggered from this > code (at the bottom of the source file): > > void > stat_path (struct parameter_list *p) > { > ? /* Stat entry to check that dir exists and is accessible */ > ? if (verbose >= 3) > ??? printf("calling stat on %s\n", p->name); > ? if (stat (p->name, &stat_buf[0])) { > ??? if (verbose >= 3) > ????? printf("stat failed on %s\n", p->name); > ??? printf("DISK %s - ", _("CRITICAL")); > ??? die (STATE_CRITICAL, _("%s %s: %s\n"), p->name, _("is not > accessible"), strerror(errno)); > ? } > } > > > > On Fri, Mar 9, 2012 at 1:16 PM, Boyer, Timothy A. > > wrote: > > It's Permissive, so that can't be it. ?Thanks... > > > -----Original Message----- > From: Sigmund Brandstaetter [mailto:sb at maniladev.com] > Sent: Thursday, March 08, 2012 4:12 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_disk '/sys not accessable' > > Tim, > > How about SELinux, is it maybe on only on the one that is making the > problem? > > Cheers > Sigmund > > > > On 3/9/2012 00:49, Boyer, Timothy A. wrote: >> Nagios 3.3.1. Two identical RHEL6.1 systems, and all I'm trying to do >> is get a total disk space reading. So nrpe is running on both, with >> the identical command in nrpe.cfg: >> command[check_all_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ >> -c $ARG2$ command[check_all_disk]=/usr/lib/nagios/plugins/check_disk >> -w $ARG1$ -c $ARG2$ Running as user nagios from the central server. >> One works fine: >> -sh-4.1$ /usr/lib/nagios/plugins/check_nrpe -H server1 -c >> check_all_disk -a 20% 10% DISK OK - free space: / 24673 MB (98% >> inode=99%); /dev/shm 12007 MB (100% inode=99%); /boot 154 MB (65% >> inode=99%); /home 7507 MB (98% inode=99%); the other gives me this: >> -sh-4.1$ /usr/lib/nagios/plugins/check_nrpe -H server2 -c >> check_all_disk -a 20% 10% DISK CRITICAL - /sys is not accessible: >> Permission denied Identical versions of nrpe (2.12); a diff on >> check_disk shows they're both identical; both commands work correctly >> locally run as user Nagios: >> [nagios at server1 ~)$ /usr/lib/nagios/plugins/check_disk -w20% -c10% >> DISK OK - free space: / 24673 MB (98% inode=99%); /dev/shm 12007 MB >> (100% inode=99%); /boot 154 MB (65% inode=99%); /home 7507 MB (98% >> inode=99%); >> [nagios at server2 /]$ /usr/lib/nagios/plugins/check_disk -w20% -c10% >> DISK OK - free space: / 22004 MB (77% inode=96%); /dev/shm 498 MB >> (100% inode=99%); /boot 387 MB (84% inode=99%); Multiple other nrpe >> commands running on both; this is the only thing they're having >> problems with. >> /sys is user-readable in both. Logs show nothing. > >> I've run out of ideas. Pointers in the right direction appreciated... > >> Tim >> >> >> >> --------------------------------------------------------------------- >> --------- Virtualization& ?Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null > > > -- > --------------------- > Sigmund Brandstaetter > Check my Blog > Live from Manila > http://maniladev.com > --------------------- > > > ---------------------------------------------------------------------- > -------- Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also > focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ---------------------------------------------------------------------- > -------- Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing also > focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ---------------------------------------------------------------------- > -------- Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft > developers is just $99.99! Visual Studio, SharePoint, SQL - plus > HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ******************************************************************************* Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. This email may contain confidential and/or privileged information. If you are not the intended recipient (or have received this email in error) please notify the sender immediately and destroy this email. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden. ******************************************************************************* ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Apr 10 09:24:34 2012 From: m.borsani at it.net (Marco Borsani) Date: Tue, 10 Apr 2012 09:24:34 +0200 Subject: R: use_large_installation_tweaks In-Reply-To: <4F80702E.10002@opendoc.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <4F80702E.10002@opendoc.net> Message-ID: <005901cd16eb$00c839a0$0258ace0$@it.net> Very interesting. I don't understand french a lot.... are there the steps to follow for the optimization ? Regards Marco -----Messaggio originale----- Da: Alexandre Bray [mailto:infos at opendoc.net] Inviato: sabato 7 aprile 2012 18:50 A: Nagios Users List Oggetto: Re: [Nagios-users] use_large_installation_tweaks hello, Here are some tests with the option use_large_installation_tweaks. There are no graphics for the memory but the CPU load and scheduling. If this little help you ... http://www.opendoc.net/solutions/comment-ameliorer-performances-nagios Alexandre On 04/04/2012 17:18, C. Bensend wrote: > >> Does anyone has configured it ? >> >> Is it really a good way to follow to reduce memory usage ? > > For me, it was a good way to reduce memory and CPU, and it helped with > check latencies. > > Although, the absolute best way to reduce check latencies for me has > been to dump NDOUtils. Good lord, that was awful, had to restart > Nagios three times a week. > > Benny > > ---------------------------------------------------------------------------- -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Manish_Kmr at mahindrasatyam.com Wed Apr 11 15:42:16 2012 From: Manish_Kmr at mahindrasatyam.com (Manish_Kmr) Date: Wed, 11 Apr 2012 13:42:16 +0000 Subject: Nagios and SNMP traps.. Message-ID: Dear Team, I am trying to integrate Nagios and SNMP traps for monitoring network devices with trap facility for immediate information of any issue on these critical devices. I have followed the document from NagiosXI to do the same and have already installed net-snmp and snmptt to handle the traps. As I was testing and sending test trap from one another unix server using snmptrap utility, I am able to see it in [root at mmkndnag networks]# tail -f /var/log/snmptt/snmptthandler.debug as below:- SNMPTTHANDLER started: Wed Apr 11 18:50:11 2012 s = 1334150411, usec = 272432 s_pad = 1334150411, usec_pad = 272432 Data received: UDP: [10.2.202.57]:33911 .1.3.6.1.2.1.1.3.0 10:3:34:28.65 .1.3.6.1.6.3.1.1.4.1.0 .1.3.6.1.4.1.2021.13.990.0.17 .1.3.6.1.2.1.1.6.0 Here .1.3.6.1.6.3.18.1.3.0 x.x.x.x .1.3.6.1.6.3.18.1.4.0 "community-string" .1.3.6.1.6.3.1.1.4.3.0 .1.3.6.1.4.1.2021.13.990 Also I am sending test trap from another unix machine as below:- snmptrap -v 1 -c public nagios-server-ip UCD-TRAP-TEST-MIB::demotraps "" 6 17 "" SNMPv2-MIB::sysLocation.0 s "Here" Also when I tested tcpdump on port 162 on nagios server I found that trap coming perfectly fine as below tcpdump -i eth0 port 162 18:52:52.092229 IP trap-sending-ip.54276 > nagxi-server-name.snmptrap: Trap(50) E:2021.13.990 trap-sending-ip enterpriseSpecific s=17 87703152 [|snmp] But as described in the document its not coming in the tail -f /var/log/snmptt/snmpttunknown.log Also there is no UCD-TRAP-TEST-MIB.txt file in /usr/share/snmp/mibs on nagiosxi server as described in that document, so it should come in the snmpttunknown.log I have checked these config files of snmptt and everything looks fine ... vim /etc/snmp/snmptt.ini vim /etc/snmp/snmptt.conf Also no test traps are showing up in but i am able to see other traps. tail -f /var/log/snmptt/snmptt.log I am not able to see any test trap related info in this file. tail -f /var/log/snmptt/snmptt.debug What can be the issue... Any suggestion Thanks Manish Kumar Open Source Tools Team, IMS, Mahindra Satyam Electronics City, Bangalore, India http://in.linkedin.com/in/manishkumar85 ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew.ford at wellsfargo.com Wed Apr 11 20:57:59 2012 From: andrew.ford at wellsfargo.com (andrew.ford at wellsfargo.com) Date: Wed, 11 Apr 2012 14:57:59 -0400 Subject: nagiostats failure Message-ID: <92F840F61CBA7641ABC9FBC87ABE86EB5C1ECD685C@MSGCMSIL1011.ent.wfb.bank.corp> I'm running two instances of nagios (for distributed monitoring testing) on one server and nagiostats works well for the main instance installed under /usr/local/nagios. For the polling instance, located under /usr/local/nagios-collector, nagiostats fails to deliver. Is there another way to get the service latency besides nagiostats? nagios2 at 96:/usr/local/nagios-collector/etc> /usr/local/nagios-collector/bin/nagiostats --config=/usr/local/nagios-collector/etc/nagios.cfg --statsfile=/usr/local/nagios-collector/var/status.dat Nagios Stats 3.3.1 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 07-25-2011 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /usr/local/nagios-collector/var/status.dat Status File Age: 0d 0h 0m 14s Status File Version: (null) Program Running Time: 0d 0h 20m 21s Nagios PID: 21596 Used/High/Total Command Buffers: 0 / 0 / 4096 Total Services: 0 Services Checked: 0 Services Scheduled: 0 Services Actively Checked: 0 Services Passively Checked: 0 Total Service State Change: 0.000 / 0.000 / 0.000 % Active Service Latency: 0.000 / 0.000 / 0.000 sec Active Service Execution Time: 0.000 / 0.000 / 0.000 sec Active Service State Change: 0.000 / 0.000 / 0.000 % Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Passive Service Latency: 0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 0 / 0 / 0 / 0 Services Flapping: 0 Services In Downtime: 0 Total Hosts: 0 Hosts Checked: 0 Hosts Scheduled: 0 Hosts Actively Checked: 0 Host Passively Checked: 0 Total Host State Change: 0.000 / 0.000 / 0.000 % Active Host Latency: 0.000 / 0.000 / 0.000 sec 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 Latency: 0.000 / 0.000 / 0.000 sec 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: 0 / 0 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 53 / 259 / 770 Scheduled: 14 / 61 / 171 On-demand: 39 / 198 / 599 Parallel: 25 / 107 / 329 Serial: 0 / 0 / 0 Cached: 27 / 151 / 441 Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 Active Service Checks Last 1/5/15 min: 322 / 1204 / 3872 Scheduled: 322 / 1204 / 3872 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 Andy Ford Network Security Engineer | Wells Fargo Bank - Information Security Technology 314-348-4937 andrew.ford at wellsfargo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nscott at nagios.com Wed Apr 11 20:48:47 2012 From: nscott at nagios.com (Nicholas Scott) Date: Wed, 11 Apr 2012 13:48:47 -0500 Subject: Nagios and SNMP traps.. In-Reply-To: References: Message-ID: <4F85D20F.7060206@nagios.com> Manish, Keep in mind when referring to MIBs the filename is rather inconsequential as long as the actual MIB is defined SOMEWHERE in the file. The filenames are more for logical grouping. Did you restart the whole snmpd, snmptrapd and snmptt works after chaning the .ini file to log unknown traps? Manish_Kmr wrote: > > > Dear Team, > > I am trying to integrate Nagios and SNMP traps for monitoring network > devices with trap facility for immediate information of any issue on > these critical devices. I have followed the document from NagiosXI to do > the same and have already installed net-snmp and snmptt to handle the > traps. > > As I was testing and sending test trap from one another unix server > using snmptrap utility, I am able to see it in > > [root at mmkndnag networks]# tail -f /var/log/snmptt/snmptthandler.debug as > below:- > > SNMPTTHANDLER started: Wed Apr 11 18:50:11 2012 > > s = 1334150411, usec = 272432 > s_pad = 1334150411, usec_pad = 272432 > > Data received: > > > > UDP: [10.2.202.57]:33911 > > .1.3.6.1.2.1.1.3.0 10:3:34:28.65 > > .1.3.6.1.6.3.1.1.4.1.0 .1.3.6.1.4.1.2021.13.990.0.17 > > .1.3.6.1.2.1.1.6.0 Here > > .1.3.6.1.6.3.18.1.3.0 x.x.x.x > > .1.3.6.1.6.3.18.1.4.0 "community-string" > > .1.3.6.1.6.3.1.1.4.3.0 .1.3.6.1.4.1.2021.13.990 > > Also I am sending test trap from another unix machine as below:- > > snmptrap -v 1 -c public nagios-server-ip UCD-TRAP-TEST-MIB::demotraps "" > 6 17 "" SNMPv2-MIB::sysLocation.0 s "Here" > > Also when I tested tcpdump on port 162 on nagios server I found that > trap coming perfectly fine as below > tcpdump -i eth0 port 162 > > 18:52:52.092229 IP trap-sending-ip.54276 > nagxi-server-name.snmptrap: > Trap(50) E:2021.13.990 trap-sending-ip enterpriseSpecific s=17 87703152 > [|snmp] > > But as described in the document its not coming in the > tail -f /var/log/snmptt/snmpttunknown.log > > Also there is no UCD-TRAP-TEST-MIB.txt file in /usr/share/snmp/mibs on > nagiosxi server as described in that document, so it should come in the > snmpttunknown.log > > I have checked these config files of snmptt and everything looks fine ... > vim /etc/snmp/snmptt.ini > vim /etc/snmp/snmptt.conf > > Also no test traps are showing up in but i am able to see other traps. > tail -f /var/log/snmptt/snmptt.log > > I am not able to see any test trap related info in this file. > tail -f /var/log/snmptt/snmptt.debug > > What can be the issue... Any suggestion > > > > > > Thanks > Manish Kumar > Open Source Tools Team, IMS, Mahindra Satyam > Electronics City, Bangalore, India > http://in.linkedin.com/in/manishkumar85 > > > > > ------------------------------------------------------------------------ > > DISCLAIMER: > This email (including any attachments) is intended for the sole use of > the intended recipient/s and may contain material that is CONFIDENTIAL > AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or > copying or distribution or forwarding of any or all of the contents in > this message is STRICTLY PROHIBITED. If you are not the intended > recipient, please contact the sender by email and delete all copies; > your cooperation in this regard is appreciated. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Erik_Larkin at gap.com Wed Apr 11 22:29:31 2012 From: Erik_Larkin at gap.com (Erik Larkin) Date: Wed, 11 Apr 2012 20:29:31 +0000 Subject: empty hostgroups only for service defs? Message-ID: >From the nagios changelog and my own testing it seems like the empty hostgroup option added in 3.3.1 is valid only for service definitions, and not service dependencies. Can anyone confirm that? TIA, Erik Larkin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Wed Apr 11 22:57:50 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 11 Apr 2012 20:57:50 +0000 Subject: empty hostgroups only for service defs? In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF017B795@WPSDGQHH.OPR.STATEFARM.ORG> I would imagine that's the case, since I had to patch our version to deal with the depenencies too. Dan From: Erik Larkin [mailto:Erik_Larkin at gap.com] Sent: Wednesday, April 11, 2012 3:30 PM To: nagios-users at lists.sourceforge.net Cc: Erik Larkin Subject: [Nagios-users] empty hostgroups only for service defs? >From the nagios changelog and my own testing it seems like the empty hostgroup option added in 3.3.1 is valid only for service definitions, and not service dependencies. Can anyone confirm that? TIA, Erik Larkin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at bsrsoftware.com Thu Apr 12 00:15:19 2012 From: jeff at bsrsoftware.com (Jeff Leyser) Date: Wed, 11 Apr 2012 15:15:19 -0700 Subject: Proper use of escalation_options Message-ID: Greetings! Nagios 3.2.3, running on CentOS. I have two service escalations setup: define serviceescalation{ servicegroup_name noncritical first_notification 1 last_notification 0 notification_interval 10 escalation_options w,r contactgroups Group1 } define serviceescalation{ servicegroup_name noncritical first_notification 1 last_notification 0 notification_interval 10 escalation_options c,u,r contactgroups Group2 } What I want to do is have all WARNINGS and associated RECOVERYs go to Group1, while all CRITICAL and UNKNOWNs and associated RECOVERYs go to group2. For the problem alerts, works great, each group only gets what is defined. But both Group1 and Group2 get all RECOVERY notifications, even for problem notifications they don't. Is there a way to achieve what I want? Many Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu Apr 12 11:02:55 2012 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 12 Apr 2012 10:02:55 +0100 Subject: Proper use of escalation_options In-Reply-To: References: Message-ID: <4F869A3F.40402@flatto.net> On 11/04/12 23:15, Jeff Leyser wrote: > Greetings! > > Nagios 3.2.3, running on CentOS. I have two service escalations setup: > > define serviceescalation{ > servicegroup_name noncritical > first_notification 1 > last_notification 0 > notification_interval 10 > escalation_options w,r > contactgroups Group1 > } > > define serviceescalation{ > servicegroup_name noncritical > first_notification 1 > last_notification 0 > notification_interval 10 > escalation_options c,u,r > contactgroups Group2 > } > > What I want to do is have all WARNINGS and associated RECOVERYs go to > Group1, while all CRITICAL and UNKNOWNs and associated RECOVERYs go to > group2. > > For the problem alerts, works great, each group only gets what is > defined. But both Group1 and Group2 get all RECOVERY notifications, > even for problem notifications they don't. > > Is there a way to achieve what I want? > > Many Thanks! > > As is written in the documentation , recoveries will be send to those that have all ready been notified about the issue regardless of it's current status. So if the status went from OK to Warning then to Critical , those in Warning and Critical groups will get the recovery notification. http://nagios.sourceforge.net/docs/nagioscore/3/en/escalations.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 12 11:21:20 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 12 Apr 2012 11:21:20 +0200 Subject: empty hostgroups only for service defs? In-Reply-To: <4288A518A157EC4C8873FEE74F778BF017B795@WPSDGQHH.OPR.STATEFARM.ORG> References: <4288A518A157EC4C8873FEE74F778BF017B795@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <4F869E90.7050606@op5.se> On 04/11/2012 10:57 PM, Daniel Wittenberg wrote: > I would imagine that's the case, since I had to patch our version to deal with the depenencies too. > If possible, I'd like to get that patch so we can make things consistent (without me having to work for it; Yay!). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at bsrsoftware.com Thu Apr 12 14:56:57 2012 From: jeff at bsrsoftware.com (Jeff Leyser) Date: Thu, 12 Apr 2012 05:56:57 -0700 Subject: Proper use of escalation_options In-Reply-To: <4F869A3F.40402@flatto.net> References: <4F869A3F.40402@flatto.net> Message-ID: Agreed that's what the documentation says, but that's not what's happening. A single WARNING is sent to Group1. The RECOVERY from that WARNING is being sent to Group1 and Group2. -Jeff On Thu, Apr 12, 2012 at 2:02 AM, Assaf Flatto wrote: > ** > On 11/04/12 23:15, Jeff Leyser wrote: > > Greetings! > > Nagios 3.2.3, running on CentOS. I have two service escalations setup: > > define serviceescalation{ > servicegroup_name noncritical > first_notification 1 > last_notification 0 > notification_interval 10 > escalation_options w,r > contactgroups Group1 > } > > define serviceescalation{ > servicegroup_name noncritical > first_notification 1 > last_notification 0 > notification_interval 10 > escalation_options c,u,r > contactgroups Group2 > } > > What I want to do is have all WARNINGS and associated RECOVERYs go to > Group1, while all CRITICAL and UNKNOWNs and associated RECOVERYs go to > group2. > > For the problem alerts, works great, each group only gets what is > defined. But both Group1 and Group2 get all RECOVERY notifications, even > for problem notifications they don't. > > Is there a way to achieve what I want? > > Many Thanks! > > As is written in the documentation , recoveries will be send to those > that have all ready been notified about the issue regardless of it's > current status. > > So if the status went from OK to Warning then to Critical , those in > Warning and Critical groups will get the recovery notification. > > http://nagios.sourceforge.net/docs/nagioscore/3/en/escalations.html > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at leyser.org Wed Apr 11 21:09:28 2012 From: jeff at leyser.org (Jeff Leyser) Date: Wed, 11 Apr 2012 12:09:28 -0700 Subject: escalation_options usage Message-ID: Greetings! Nagios 3.2.3, running on CentOS. I have two service escalations setup: define serviceescalation{ servicegroup_name noncritical first_notification 1 last_notification 0 notification_interval 10 escalation_options w,r contactgroups Group1 } define serviceescalation{ servicegroup_name noncritical first_notification 1 last_notification 0 notification_interval 10 escalation_options c,u,r contactgroups Group2 } What I want to do is have all WARNINGS and associated RECOVERYs go to Group1, while all CRITICAL and UNKNOWNs and associated RECOVERYs go to group2. For the problem alerts, works great, each group only gets what is defined. But both Group1 and Group2 get all RECOVERY notifications, even for problem notifications they don't. Is there a way to achieve what I want? Many Thanks! Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Thu Apr 12 12:07:21 2012 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 12 Apr 2012 12:07:21 +0200 Subject: empty hostgroups only for service defs? In-Reply-To: <4F869E90.7050606@op5.se> References: <4288A518A157EC4C8873FEE74F778BF017B795@WPSDGQHH.OPR.STATEFARM.ORG> <4F869E90.7050606@op5.se> Message-ID: <4F86A959.2010409@univie.ac.at> On 12.04.2012 11:21, Andreas Ericsson wrote: > On 04/11/2012 10:57 PM, Daniel Wittenberg wrote: >> I would imagine that's the case, since I had to patch our version to deal with the depenencies too. >> > > If possible, I'd like to get that patch so we can make things > consistent (without me having to work for it; Yay!). afaik this was already committed to svn. [--SNIP--] Revision: 1858 http://nagios.svn.sourceforge.net/nagios/?rev=1858&view=rev Author: estanley375 Date: 2012-01-06 18:39:54 +0000 (Fri, 06 Jan 2012) Log Message: ----------- Patched to allow empty host groups in service and host dependencies if allow_empty_hostgroup_assignment flag is set (Daniel Wittenberg) Modified Paths: -------------- nagioscore/trunk/Changelog nagioscore/trunk/xdata/xodtemplate.c [--SNIP--] > > -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Lead Icinga Core Developer http://www.icinga.org ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.snyder at gocruisers.org Wed Apr 11 19:27:17 2012 From: chris.snyder at gocruisers.org (Chris Snyder) Date: Wed, 11 Apr 2012 13:27:17 -0400 Subject: Nagios Uptime Error Message-ID: Good morning, I am using Nagios Core for monitoring our servers. I am monitoring 35 Windows servers (mostly 2003, we have about five 2008 servers) using the nsclient++ plugin. I have one server showing a timeout error when checking the uptime (External command error: Timeout: No response from xxx.xxx.xxx.xxx). It is the only server showing this error and the only error on the server. I copied the nsc.ini file between the servers so they are all the same. Do you know what could be causing this error on this one server? -- Chris Snyder Technology Coordinator Groveport Madison Schools -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kfir.y at rrsat.com Thu Apr 12 14:36:22 2012 From: kfir.y at rrsat.com (Kfir Yogev (RRsat)) Date: Thu, 12 Apr 2012 15:36:22 +0300 Subject: Check_SNMP Plugin Problem Message-ID: <0DE86FFCAFF343469D0382F45A37D4BC696C4935B4@hercules.rrsat.local> Dear Nagios Team, I am a new user with Nagios. I am monitoring on of my switches, by using the Check_SNMP Plugin. As explained on your tutorial, the "-r" in the command "check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB" refers to the port state on my switch. the problem is, that although nothing is connected to the port, the Nagios shows that the port connectivity is OK. It identifies the port state (1,2,3) but the nagios doesn't show something is wrong. See below: [cid:image002.png at 01CD18C1.0CEBD7F0] On the configuration file I configured: # Monitor Ports status via SNMP define service{ use generic-service ; Inherit values from a template host_name LAB-C Switch service_description Port 1 Link Status check_command check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB } define service{ use generic-service ; Inherit values from a template host_name LAB-C Switch service_description Port 15 Link Status check_command check_snmp!-C public -o ifOperStatus.15 -r 1 -m RFC1213-MIB as I understand from the plugin explanations, the Nagios should identify that any reply that is other than "1" should indicate an alarm. I am using: Nagios Core 3.3.1 Plugins pack 1.4.15 CentOS Linux Net-SNMP and Net-SNMP-Utils are installed. Your assistance is highly appreciated. Thanks, Kfir Yogev, LES 711 Engineering and Support - Mobile Satellite Services - Station 711 RRsat - Global Communications Network Ltd. (NASDAQ RRST) www.rrsat.com I www.station711.com Mailto: Kfir.y at rrsat.com [cid:image001.png at 01CD18BC.DE292890] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 15594 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 17906 bytes Desc: image002.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Manish_Kmr at mahindrasatyam.com Fri Apr 13 06:32:33 2012 From: Manish_Kmr at mahindrasatyam.com (Manish_Kmr) Date: Fri, 13 Apr 2012 04:32:33 +0000 Subject: http://support.nagios.com not working Message-ID: FYI... Thanks, Manish Kumar Tools Team, IMS, Mahindra Satyam Mob: +919035435306 ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bluethundr at jokefire.com Fri Apr 13 04:11:16 2012 From: bluethundr at jokefire.com (Tim Dunphy) Date: Fri, 13 Apr 2012 02:11:16 -0000 (UTC) Subject: monitoring oracle grid Message-ID: <411fd475-0dfa-4070-af6b-5b040947b77d@li289-212> hello list, We've been monitoring our Oracle Database using a plugin called 'check_oracle'. It's proven quite handy in getting the sizes of tablespaces and alerting based on percentages of space used. However the DBAs point out that the database is very dynamic and that tablespaces are always being added and removed. It seems like they don't want to notify us each time this happens. Keeping on top of them to do this is a pain. They've just installed Oracle Grid and suggested we use nagios to monitor that instead. I've never seen or used Oracle Grid so I was hoping someone out there with a little more knowledge than me on the topic might have some suggestions on how to accomplish this. Are there any plugins already out there that are written to take information from the oracle grid and parse that for use in nagios? Thanks Tim ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Fri Apr 13 08:36:02 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Fri, 13 Apr 2012 08:36:02 +0200 Subject: monitoring oracle grid In-Reply-To: <411fd475-0dfa-4070-af6b-5b040947b77d@li289-212> References: <411fd475-0dfa-4070-af6b-5b040947b77d@li289-212> Message-ID: Don't know about Oracle Grid, but I have another suggestion. If I understood correctly, your issue is to monitor the tablespaces which where added by the DBA's? If so, you should try the plugin check_oracle_health which has an option to monitor ALL tablespaces (not just the utilization of one given tablespace): --mode tablespace-usage If wanted you can also monitor a single tablespace by using: --mode tablespace-usage --tablespace MYTABLE http://labs.consol.de/lang/en/nagios/check_oracle_health/ On Fri, Apr 13, 2012 at 4:11 AM, Tim Dunphy wrote: > hello list, > > We've been monitoring our Oracle Database using a plugin called > 'check_oracle'. It's proven quite handy in getting the sizes of tablespaces > and alerting based on percentages of space used. > > However the DBAs point out that the database is very dynamic and that > tablespaces are always being added and removed. It seems like they don't > want to notify us each time this happens. Keeping on top of them to do this > is a pain. > > They've just installed Oracle Grid and suggested we use nagios to monitor > that instead. I've never seen or used Oracle Grid so I was hoping someone > out there with a little more knowledge than me on the topic might have some > suggestions on how to accomplish this. > > Are there any plugins already out there that are written to take > information from the oracle grid and parse that for use in nagios? > > Thanks > Tim > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ollie.Campbell at bbh.co.uk Fri Apr 13 10:06:30 2012 From: Ollie.Campbell at bbh.co.uk (Ollie Campbell) Date: Fri, 13 Apr 2012 09:06:30 +0100 Subject: Nagios Uptime Error In-Reply-To: References: Message-ID: Have you tried manually running the NSClient with the /test switch (from a command line) on that server to see if there are issues? On 11 April 2012 18:27, Chris Snyder wrote: > Good morning, > > I am using Nagios Core for monitoring our servers. I am monitoring 35 > Windows servers (mostly 2003, we have about five 2008 servers) using the > nsclient++ plugin. I have one server showing a timeout error when checking > the uptime (External command error: Timeout: No response from > xxx.xxx.xxx.xxx). It is the only server showing this error and the only > error on the server. I copied the nsc.ini file between the servers so they > are all the same. Do you know what could be causing this error on this one > server? > > -- > Chris Snyder > Technology Coordinator > Groveport Madison Schools > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Ollie Campbell Service Delivery Manager * 60 Kingly Street, London, W1B 5DS* D: +44 20 7453 4930 M: +44 7584 518539 www.bartleboglehegarty.com -- This transmission is from BBH Partners LLP, it is confidential and intended solely for the person or organisation to whom it is addressed. This transmission may contain confidential information within its content or any attachment. You should not copy, use or distribute in any way any of the information contained within this transmission other than in accordance with the prior written permission of an authorised BBH representative. Partnership Information: Registered name: BBH Partners LLP Registered office: 60 Kingly Street London W1B 5DS Place of registration: England and Wales Registered number: OC355051 Although all messages/file attachments passing through this gateway are scanned for viruses we cannot guarantee that any file is 100% virus-free. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Fri Apr 13 10:51:10 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Fri, 13 Apr 2012 09:51:10 +0100 Subject: Nagios Uptime Error In-Reply-To: References: Message-ID: <003f01cd1952$93a48da0$baeda8e0$@gmail.com> I had this on a particular 2008 server. The other 86 servers were fine just not this one. I had to rebuild the performance counter indexes. Try running: lodctr /R from a cmd prompt and then reboot the server and see if that sorts. From: Ollie Campbell [mailto:Ollie.Campbell at bbh.co.uk] Sent: 13 April 2012 09:07 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Uptime Error Have you tried manually running the NSClient with the /test switch (from a command line) on that server to see if there are issues? On 11 April 2012 18:27, Chris Snyder wrote: Good morning, I am using Nagios Core for monitoring our servers. I am monitoring 35 Windows servers (mostly 2003, we have about five 2008 servers) using the nsclient++ plugin. I have one server showing a timeout error when checking the uptime (External command error: Timeout: No response from xxx.xxx.xxx.xxx). It is the only server showing this error and the only error on the server. I copied the nsc.ini file between the servers so they are all the same. Do you know what could be causing this error on this one server? -- Chris Snyder Technology Coordinator Groveport Madison Schools ---------------------------------------------------------------------------- -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Ollie Campbell Service Delivery Manager 60 Kingly Street, London, W1B 5DS D: +44 20 7453 4930 M: +44 7584 518539 www.bartleboglehegarty.com Description: Image removed by sender. This transmission is from BBH Partners LLP, it is confidential and intended solely for the person or organisation to whom it is addressed. This transmission may contain confidential information within its content or any attachment. You should not copy, use or distribute in any way any of the information contained within this transmission other than in accordance with the prior written permission of an authorised BBH representative. Partnership Information: Registered name: BBH Partners LLP Registered office: 60 Kingly Street London W1B 5DS Place of registration: England and Wales Registered number: OC355051 Although all messages/file attachments passing through this gateway are scanned for viruses we cannot guarantee that any file is 100% virus-free. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardo at lbasolutions.com Fri Apr 13 21:33:29 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Fri, 13 Apr 2012 16:33:29 -0300 Subject: Warning alert isn't working Message-ID: Hi everybody! I'm using check_openmanage plugin in nagios to monitoring the temperature of my dell servers. It's working, however, the warning and critical alerts that I configure are not working. [root at monitor:/etc/openmanage]# /usr/lib/nagios/plugins/check_openmanage -w 25 -c 30 -H 10.11.12.1 -C Test--only temp TEMPERATURES OK - 1 temperature probes checked:
Temperature Probe 0 [System Board Ambient Temp] reads 30 C (min=8/3, max=42/47) The temperature is 30 and the check should appear WARNING because I used -w 25. Can you help me, please ? many thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Sat Apr 14 01:37:23 2012 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Sat, 14 Apr 2012 01:37:23 +0200 Subject: Warning alert isn't working In-Reply-To: (Leonardo Bacha Abrantes's message of "Fri, 13 Apr 2012 16:33:29 -0300") References: Message-ID: <15t4nsnkxu4.fsf@tux.uio.no> Leonardo Bacha Abrantes writes: > Hi everybody! > > I'm using check_openmanage plugin in nagios to monitoring the temperature of my > dell servers. > It's working, however, the warning and critical alerts that I configure are not > working. > > [root at monitor:/etc/openmanage]# /usr/lib/nagios/plugins/check_openmanage -w 25 > -c 30 -H 10.11.12.1 -C Test--only temp > TEMPERATURES OK - 1 temperature probes checked:
Temperature Probe 0 [System > Board Ambient Temp] reads 30 C (min=8/3, max=42/47) > > The temperature is 30 and the check should appear WARNING because I used -w 25. Hello Leonardo, The syntax you're using with the '-w' and '-c' options is wrong. From the manual page: -w, --warning STRING or FILE Override the machine-default temperature warning thresholds. Syntax is "id1=max[/min],id2=max[/min],...". The following example sets warning limits to max 50C for probe 0, and max 45C and min 10C for probe 1: check_openmanage -w 0=50,1=45/10 The minimum limit can be omitted, if desired. Most often, you are only interested in setting the maximum thresholds. This parameter can be either a string with the limits, or a file containing the limits string. The option can be specified multiple times. NOTE: This option should only be used to narrow the field of OK temperatures wrt. the OMSA defaults. To expand the field of OK temperatures, increase the OMSA thresholds. See the plugin web page for more information. -c, --critical STRING or FILE Override the machine-default temperature critical thresholds. Syntax and behaviour is the same as for warning thresholds described above. The reason that you need to specify the ID of the temperature probes is that there may be more than one, each with its own thresholds. In your case there is only one probe and its ID is 0, so replace your command above with: check_openmanage -w 0=25 -c 0=30 -H 10.11.12.1 -C Test --only temp That should do the trick. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mysqlstudent at gmail.com Mon Apr 16 05:19:26 2012 From: mysqlstudent at gmail.com (Alex) Date: Sun, 15 Apr 2012 23:19:26 -0400 Subject: Timeouts often false alarms and how to fix Message-ID: Hi, I have a few fc16 boxes and often times alerts are generated for timeouts while connecting to a remote service on a client such as clamd or smtpd: PROCS CRITICAL: 0 processes with command name 'smtpd', UID = 89 (postfix) Why is it that this happens? It doesn't happen all the time. I know there are processes running with this command name, so not sure why this alert would be generated. It most often happens for me with smtpd and clamd. Is there a way to extend the timeout, or enable some further debugging to troubleshoot this? Thanks,. Alex ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Jones at health.wa.gov.au Mon Apr 16 05:23:19 2012 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Mon, 16 Apr 2012 11:23:19 +0800 Subject: Check_SNMP Plugin Problem In-Reply-To: <0DE86FFCAFF343469D0382F45A37D4BC696C4935B4@hercules.rrsat.local> References: <0DE86FFCAFF343469D0382F45A37D4BC696C4935B4@hercules.rrsat.local> Message-ID: Hello Kfir, Here is an extract from my setting: check_command check_snmp!-C public -o ifOperStatus.5 -r 1 -m RFC1213-MIB ; 1 is up, 2 is down, 3 is testing, 4 is unknown, 5 is dormant Note the sensor states [1 - 5]. I would suggest you use a MIB browser like iReasoning and check the states - status prior to locking down your Nagios config file. Cheers, Stuart ________________________________ From: Kfir Yogev (RRsat) [mailto:kfir.y at rrsat.com] Sent: Thursday, 12 April 2012 8:36 PM To: nagios-users at lists.sourceforge.net; nagiosplug-devel at lists.sourceforge.net Subject: [Nagios-users] Check_SNMP Plugin Problem Dear Nagios Team, I am a new user with Nagios. I am monitoring on of my switches, by using the Check_SNMP Plugin. As explained on your tutorial, the "-r" in the command "check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB" refers to the port state on my switch. the problem is, that although nothing is connected to the port, the Nagios shows that the port connectivity is OK. It identifies the port state (1,2,3) but the nagios doesn't show something is wrong. See below: On the configuration file I configured: # Monitor Ports status via SNMP define service{ use generic-service ; Inherit values from a template host_name LAB-C Switch service_description Port 1 Link Status check_command check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB } define service{ use generic-service ; Inherit values from a template host_name LAB-C Switch service_description Port 15 Link Status check_command check_snmp!-C public -o ifOperStatus.15 -r 1 -m RFC1213-MIB as I understand from the plugin explanations, the Nagios should identify that any reply that is other than "1" should indicate an alarm. I am using: Nagios Core 3.3.1 Plugins pack 1.4.15 CentOS Linux Net-SNMP and Net-SNMP-Utils are installed. Your assistance is highly appreciated. Thanks, Kfir Yogev, LES 711 Engineering and Support - Mobile Satellite Services - Station 711 RRsat - Global Communications Network Ltd. (NASDAQ RRST) www.rrsat.com I www.station711.com Mailto: Kfir.y at rrsat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 23982 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.gif Type: image/gif Size: 2749 bytes Desc: image004.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victorbrunoparente at gmail.com Mon Apr 16 15:20:03 2012 From: victorbrunoparente at gmail.com (=?ISO-8859-1?Q?V=EDctor_Bruno_Parente?=) Date: Mon, 16 Apr 2012 10:20:03 -0300 Subject: Host Log Entries Message-ID: I'm new using nagios, and i have to generate reports on host's network states. I'd like to know how to set the table "Host Log Entries" to show lines by day, cause it's showing lines divided by events. Does anyone knows how to solve this? Host Log Entries: 20-02-2012 17:26:04 23-02-2012 11:32:35 2d 18h 6m 31s HOST DOWN (HARD) CRITICAL - Time to live exceeded (IP) 27-02-2012 16:20:07 27-02-2012 19:19:27 0d 2h 59m 20s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 12.00 ms 27-02-2012 19:19:27 27-02-2012 19:50:27 0d 0h 31m 0s HOST DOWN (HARD) CRITICAL - Time to live exceeded (IP) 27-02-2012 19:50:27 10-03-2012 09:20:03 11d 13h 29m 36s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 12.32 ms 10-03-2012 09:20:03 10-03-2012 13:31:13 0d 4h 11m 10s HOST DOWN (HARD) CRITICAL - Time to live exceeded (IP) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardo at lbasolutions.com Mon Apr 16 15:42:46 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Mon, 16 Apr 2012 10:42:46 -0300 Subject: Warning alert isn't working In-Reply-To: <15t4nsnkxu4.fsf@tux.uio.no> References: <15t4nsnkxu4.fsf@tux.uio.no> Message-ID: Hi Trond, Thank you so much! it worked very well. On Fri, Apr 13, 2012 at 20:37, Trond Hasle Amundsen < t.h.amundsen at usit.uio.no> wrote: > Leonardo Bacha Abrantes writes: > > > Hi everybody! > > > > I'm using check_openmanage plugin in nagios to monitoring the > temperature of my > > dell servers. > > It's working, however, the warning and critical alerts that I configure > are not > > working. > > > > [root at monitor:/etc/openmanage]# > /usr/lib/nagios/plugins/check_openmanage -w 25 > > -c 30 -H 10.11.12.1 -C Test--only temp > > TEMPERATURES OK - 1 temperature probes checked:
Temperature Probe 0 > [System > > Board Ambient Temp] reads 30 C (min=8/3, max=42/47) > > > > The temperature is 30 and the check should appear WARNING because I used > -w 25. > > Hello Leonardo, > > The syntax you're using with the '-w' and '-c' options is wrong. From > the manual page: > > -w, --warning STRING or FILE > Override the machine-default temperature warning > thresholds. Syntax is "id1=max[/min],id2=max[/min],...". The > following example sets warning limits to max 50C for probe 0, > and max 45C and min 10C for probe 1: > > check_openmanage -w 0=50,1=45/10 > > The minimum limit can be omitted, if desired. Most often, you > are only interested in setting the maximum thresholds. > > This parameter can be either a string with the limits, or a > file containing the limits string. The option can be > specified multiple times. > > NOTE: This option should only be used to narrow the field of > OK temperatures wrt. the OMSA defaults. To expand the field > of OK temperatures, increase the OMSA thresholds. See the > plugin web page for more information. > > -c, --critical STRING or FILE > Override the machine-default temperature critical > thresholds. Syntax and behaviour is the same as for warning > thresholds described above. > > The reason that you need to specify the ID of the temperature probes is > that there may be more than one, each with its own thresholds. In your > case there is only one probe and its ID is 0, so replace your command > above with: > > check_openmanage -w 0=25 -c 0=30 -H 10.11.12.1 -C Test --only temp > > That should do the trick. > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victorbrunoparente at gmail.com Mon Apr 16 16:43:04 2012 From: victorbrunoparente at gmail.com (=?ISO-8859-1?Q?V=EDctor_Bruno_Parente?=) Date: Mon, 16 Apr 2012 11:43:04 -0300 Subject: Host Log Entries In-Reply-To: References: Message-ID: I'm new using nagios, and i have to generate reports on host's network states. I'd like to know how to set the table "Host Log Entries" to show lines by day, cause it's showing lines divided by events. Does anyone knows how to solve this? Host Log Entries: 20-02-2012 17:26:04 23-02-2012 11:32:35 2d 18h 6m 31s HOST DOWN (HARD) CRITICAL - Time to live exceeded (IP) 27-02-2012 16:20:07 27-02-2012 19:19:27 0d 2h 59m 20s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 12.00 ms 27-02-2012 19:19:27 27-02-2012 19:50:27 0d 0h 31m 0s HOST DOWN (HARD) CRITICAL - Time to live exceeded (IP) 27-02-2012 19:50:27 10-03-2012 09:20:03 11d 13h 29m 36s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 12.32 ms 10-03-2012 09:20:03 10-03-2012 13:31:13 0d 4h 11m 10s HOST DOWN (HARD) CRITICAL - Time to live exceeded (IP) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edgarosy at gmail.com Mon Apr 16 16:45:07 2012 From: edgarosy at gmail.com (Miguel Lanz) Date: Mon, 16 Apr 2012 08:45:07 -0600 Subject: server log plugin In-Reply-To: <6D63384D-3BB1-40D4-94F4-F2319A0FA2AA@gmail.com> References: <6D63384D-3BB1-40D4-94F4-F2319A0FA2AA@gmail.com> Message-ID: I am just starting with nagios and so far I have learned quite a bit and have successfully setup multiple nagios checks on several servers and all of them are working as expected. I've been trying to setup the check_logfiles plugin to check for a pattern like this: where someone attempted to login to one of my applications several times within milliseconds. is there a way that I can configure the nagios check_logfiles plugin to parse multiple login attempts as shown below within seconds and send me an alert? of would it be better to write a custom script to do that? Thanks for your help. 77.221.134.186 - - [05/Apr/2012:08:06:23 -0600] "GET /sms/login/emailpwd?uname=bossman2040&email= HTTP/1.1" 200 5608 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" 176.9.53.41 - - [05/Apr/2012:08:06:25 -0600] "GET /sms/login/emailpwd?uname=u002422&email= HTTP/1.1" 200 5608 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" 176.9.53.41 - - [05/Apr/2012:08:06:25 -0600] "GET /sms/login/emailpwd?uname=suzzie&email= HTTP/1.1" 200 5608 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" 176.9.53.41 - - [05/Apr/2012:08:06:26 -0600] "GET /sms/login/emailpwd?uname=BlackBox&email= HTTP/1.1" 200 5608 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" 176.9.53.41 - - [05/Apr/2012:08:06:27 -0600] "GET /sms/login/emailpwd?uname=Bigboss83&email= HTTP/1.1" 200 5608 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" 176.9.53.41 - - [05/Apr/2012:08:06:28 -0600] "GET /sms/login/emailpwd?uname=copcarsonline&email= HTTP/1.1" 200 5608 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" 176.9.53.41 - - [05/Apr/2012:08:06:28 -0600] "GET /sms/login/emailpwd?uname=u002422&email= HTTP/1.1" 200 5608 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" 176.9.53.41 - - [05/Apr/2012:08:06:29 -0600] "GET /sms/login/emailpwd?uname=juanyromo&email= HTTP/1.1" 200 5608 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" 176.9.53.41 On Thu, Apr 5, 2012 at 1:24 PM, Edgarosy wrote: > Thank you Claudio. > > CONFIDENTIALITY NOTICE: This message and any attachment(s) are solely for > the use of the intended recipient(s) identified above and may contain > information that is proprietary, privileged, or confidential. If you are > not an intended recipient, you may not review, retransmit, or otherwise use > this message or any attachment. If you have received this message in error, > please immediately notify the sender by reply e-mail and delete this > message. > > > > On Apr 5, 2012, at 1:18 PM, Claudio Kuenzler > wrote: > > This one is probably the best one: > http://labs.consol.de/lang/en/nagios/check_logfiles/ > > On Thu, Apr 5, 2012 at 6:56 PM, Parkman, Mikhail < > Mikhail_Parkman at cable.comcast.com> wrote: > >> I need to perform the following tasks:**** >> >> ** ** >> >> ? Demonstrated that Nagios alert is fired when certain messages are >> logged in the application log file on the target (remote) host**** >> >> ? Nagios "info message" is fired when error condition is cleared.**** >> >> ** ** >> >> I found out ?logwarn? plugin but I didn?t find detailed configuration >> instructions for this plugin.**** >> >> ** ** >> >> >> http://exchange.nagios.org/directory/Plugins/Log-Files/check_logwarn/details >> **** >> >> ** ** >> >> And another one ? ?check_logfiles? ? this one is described better in my >> opinion but referring to something called OPSVIEW that I don?t have any >> idea about.**** >> >> ** ** >> >> http://www.osupport.net/2011/log-files-monitoring-with-nagios-opsview/*** >> * >> >> ** ** >> >> ** ** >> >> Did somebody have experience with well documented ?check log? plugin, and >> could recommend one so that the functionality of the recommended plugin >> matches bulleted tasks in the beginning of this email that I have to >> accomplish?**** >> >> ** ** >> >> Thanks.**** >> >> Mikhail.**** >> >> ** ** >> >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Edgar Lanz "If nobody is perfect I must be nobody" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edgarosy at gmail.com Mon Apr 16 16:48:53 2012 From: edgarosy at gmail.com (Miguel Lanz) Date: Mon, 16 Apr 2012 08:48:53 -0600 Subject: server log plugin In-Reply-To: References: <6D63384D-3BB1-40D4-94F4-F2319A0FA2AA@gmail.com> Message-ID: I am using Ubuntu server 10.x version, Nagios 3.0.6 version. and check_logfiles plugin 3.4.7.1 version. Thanks for your help. On Mon, Apr 16, 2012 at 8:45 AM, Miguel Lanz wrote: > I am just starting with nagios and so far I have learned quite a bit and > have successfully setup multiple nagios checks on several servers and all > of them are working as expected. > > I've been trying to setup the check_logfiles plugin to check for a pattern > like this: where someone attempted to login to one of my applications > several times within milliseconds. is there a way that I can configure the > nagios check_logfiles plugin to parse multiple login attempts as shown > below within seconds and send me an alert? of would it be better to write a > custom script to do that? > > Thanks for your help. > > > 77.221.134.186 - - [05/Apr/2012:08:06:23 -0600] "GET > /sms/login/emailpwd?uname=bossman2040&email= HTTP/1.1" 200 5608 "-" > "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" > 176.9.53.41 - - [05/Apr/2012:08:06:25 -0600] "GET > /sms/login/emailpwd?uname=u002422&email= HTTP/1.1" 200 5608 "-" > "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" > 176.9.53.41 - - [05/Apr/2012:08:06:25 -0600] "GET > /sms/login/emailpwd?uname=suzzie&email= HTTP/1.1" 200 5608 "-" "Mozilla/4.0 > (compatible; MSIE 7.0; Windows NT 5.1)" "-" > 176.9.53.41 - - [05/Apr/2012:08:06:26 -0600] "GET > /sms/login/emailpwd?uname=BlackBox&email= HTTP/1.1" 200 5608 "-" > "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" > 176.9.53.41 - - [05/Apr/2012:08:06:27 -0600] "GET > /sms/login/emailpwd?uname=Bigboss83&email= HTTP/1.1" 200 5608 "-" > "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" > 176.9.53.41 - - [05/Apr/2012:08:06:28 -0600] "GET > /sms/login/emailpwd?uname=copcarsonline&email= HTTP/1.1" 200 5608 "-" > "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" > 176.9.53.41 - - [05/Apr/2012:08:06:28 -0600] "GET > /sms/login/emailpwd?uname=u002422&email= HTTP/1.1" 200 5608 "-" > "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" > 176.9.53.41 - - [05/Apr/2012:08:06:29 -0600] "GET > /sms/login/emailpwd?uname=juanyromo&email= HTTP/1.1" 200 5608 "-" > "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-" > 176.9.53.41 > > > On Thu, Apr 5, 2012 at 1:24 PM, Edgarosy wrote: > >> Thank you Claudio. >> >> CONFIDENTIALITY NOTICE: This message and any attachment(s) are solely for >> the use of the intended recipient(s) identified above and may contain >> information that is proprietary, privileged, or confidential. If you are >> not an intended recipient, you may not review, retransmit, or otherwise use >> this message or any attachment. If you have received this message in error, >> please immediately notify the sender by reply e-mail and delete this >> message. >> >> >> >> On Apr 5, 2012, at 1:18 PM, Claudio Kuenzler >> wrote: >> >> This one is probably the best one: >> http://labs.consol.de/lang/en/nagios/check_logfiles/ >> >> On Thu, Apr 5, 2012 at 6:56 PM, Parkman, Mikhail < >> Mikhail_Parkman at cable.comcast.com> wrote: >> >>> I need to perform the following tasks:**** >>> >>> ** ** >>> >>> ? Demonstrated that Nagios alert is fired when certain messages are >>> logged in the application log file on the target (remote) host**** >>> >>> ? Nagios "info message" is fired when error condition is cleared.**** >>> >>> ** ** >>> >>> I found out ?logwarn? plugin but I didn?t find detailed configuration >>> instructions for this plugin.**** >>> >>> ** ** >>> >>> >>> http://exchange.nagios.org/directory/Plugins/Log-Files/check_logwarn/details >>> **** >>> >>> ** ** >>> >>> And another one ? ?check_logfiles? ? this one is described better in my >>> opinion but referring to something called OPSVIEW that I don?t have any >>> idea about.**** >>> >>> ** ** >>> >>> http://www.osupport.net/2011/log-files-monitoring-with-nagios-opsview/** >>> ** >>> >>> ** ** >>> >>> ** ** >>> >>> Did somebody have experience with well documented ?check log? plugin, >>> and could recommend one so that the functionality of the recommended plugin >>> matches bulleted tasks in the beginning of this email that I have to >>> accomplish?**** >>> >>> ** ** >>> >>> Thanks.**** >>> >>> Mikhail.**** >>> >>> ** ** >>> >>> >>> ------------------------------------------------------------------------------ >>> Better than sec? Nothing is better than sec when it comes to >>> monitoring Big Data applications. Try Boundary one-second >>> resolution app monitoring today. Free. >>> http://p.sf.net/sfu/Boundary-dev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > -- > Edgar Lanz > > "If nobody is perfect I must be nobody" > -- Edgar Lanz "If nobody is perfect I must be nobody" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Mon Apr 16 16:56:03 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 16 Apr 2012 16:56:03 +0200 Subject: Host Log Entries In-Reply-To: References: Message-ID: > > > I'm new using nagios, and i have to generate reports on host's network > states. > I'd like to know how to set the table "Host Log Entries" to show lines by > day, cause it's showing lines divided by events. > Does anyone knows how to solve this? > Why invent the wheel again? Why don't you use the availability report? Is there a particular reason? > > > Host Log Entries: > > 20-02-2012 17:26:04 23-02-2012 11:32:35 2d 18h 6m 31s HOST > DOWN (HARD) CRITICAL - Time to live exceeded (IP) > 27-02-2012 16:20:07 27-02-2012 19:19:27 0d 2h 59m 20s HOST UP > (HARD) PING OK - Packet loss = 0%, RTA = 12.00 ms > 27-02-2012 19:19:27 27-02-2012 19:50:27 0d 0h 31m 0s HOST > DOWN (HARD) CRITICAL - Time to live exceeded (IP) > 27-02-2012 19:50:27 10-03-2012 09:20:03 11d 13h 29m 36s HOST UP > (HARD) PING OK - Packet loss = 0%, RTA = 12.32 ms > 10-03-2012 09:20:03 10-03-2012 13:31:13 0d 4h 11m 10s HOST > DOWN (HARD) CRITICAL - Time to live exceeded (IP) > > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victorbrunoparente at gmail.com Mon Apr 16 20:03:04 2012 From: victorbrunoparente at gmail.com (=?ISO-8859-1?Q?V=EDctor_Bruno_Parente?=) Date: Mon, 16 Apr 2012 15:03:04 -0300 Subject: Host Log Entries In-Reply-To: References: Message-ID: Nope, sorry for that, i've found the reason why it isnt working. It was a prob with log rotation. I've found the solution. Thank you. V?ctor Bruno R. Parente Eng. de Computa??o, IFCE 2012/4/16 Claudio Kuenzler > >> I'm new using nagios, and i have to generate reports on host's network >> states. >> I'd like to know how to set the table "Host Log Entries" to show lines >> by day, cause it's showing lines divided by events. >> Does anyone knows how to solve this? >> > > Why invent the wheel again? Why don't you use the availability report? Is > there a particular reason? > > >> >> >> Host Log Entries: >> >> 20-02-2012 17:26:04 23-02-2012 11:32:35 2d 18h 6m 31s HOST >> DOWN (HARD) CRITICAL - Time to live exceeded (IP) >> 27-02-2012 16:20:07 27-02-2012 19:19:27 0d 2h 59m 20s HOST UP >> (HARD) PING OK - Packet loss = 0%, RTA = 12.00 ms >> 27-02-2012 19:19:27 27-02-2012 19:50:27 0d 0h 31m 0s HOST >> DOWN (HARD) CRITICAL - Time to live exceeded (IP) >> 27-02-2012 19:50:27 10-03-2012 09:20:03 11d 13h 29m 36s HOST UP >> (HARD) PING OK - Packet loss = 0%, RTA = 12.32 ms >> 10-03-2012 09:20:03 10-03-2012 13:31:13 0d 4h 11m 10s HOST >> DOWN (HARD) CRITICAL - Time to live exceeded (IP) >> >> >> >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giovanni.bucci at email.it Mon Apr 16 18:58:30 2012 From: giovanni.bucci at email.it (Giovanni.bucci) Date: Mon, 16 Apr 2012 18:58:30 +0200 Subject: Information about check_mysql_query plugin Message-ID: Goodmorning, I need some informatio to use the check_mysql_query Lunux plugin. 1) First of all I need to download and install this plugin in a Linux server where Nagios is runnung. 2) Some detail regarding how to install this plugin 3) To configure the environment to define a new service. 4) How to restart the daemons without damage the services/connections already present. More exactly I find this plugin useful for my needs because I need to connect to Oracle and run the simple query select count(*). The numeric value returned need to be check for alerrt or ok for this service. Any help or suggestion wil be well appreciated. Thanks in advance for your kind cooperation and support. Regards,     Giovanni -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it: http://www.email.it/f Sponsor: Conto Corrente Arancio. Carta di credito e prelievi gratis. Scopri i vantaggi! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12245&d=20120416 -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: Conto Corrente Arancio. Carta di credito e prelievi gratis. Scopri i vantaggi! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12245&d=16-4 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Mon Apr 16 22:25:29 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 16 Apr 2012 22:25:29 +0200 Subject: Information about check_mysql_query plugin In-Reply-To: References: Message-ID: <4258A100-FADF-4965-A2BA-F9ADC386F2B4@linux.it> Well Giovanni, If you don't know so much about Nagios, this is an hard plugin to start with. Start configuring freetds. Ciao, Giorgio Il giorno 16/apr/2012, alle ore 18:58, "Giovanni.bucci" ha scritto: > Goodmorning, > I need some informatio to use the check_mysql_query Lunux plugin. > > 1) First of all I need to download and install this plugin in a Linux server where Nagios is runnung. > > 2) Some detail regarding how to install this plugin > > 3) To configure the environment to define a new service. > > 4) How to restart the daemons without damage the services/connections already present. > > More exactly I find this plugin useful for my needs because I need to connect to Oracle and run the simple query select count(*). The numeric value returned need to be check for alerrt or ok for this service. > > Any help or suggestion wil be well appreciated. > > Thanks in advance for your kind cooperation and support. > > Regards, > > Giovanni > ---- > Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it > > Sponsor: > Conto Corrente Arancio. Carta di credito e prelievi gratis. Scopri i vantaggi! > Clicca qui > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BChan at Shawcor.com Mon Apr 16 22:26:39 2012 From: BChan at Shawcor.com (Brian Chan) Date: Mon, 16 Apr 2012 16:26:39 -0400 Subject: AUTO: Chan, Brian is away from the office on Business (returning 19/04/2012) Message-ID: I am out of the office until 19/04/2012. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--:> mailto:itrequest at shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an automated response to your message "Nagios-users Digest, Vol 71, Issue 8" sent on 04/16/2012 16:25:43. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Serge.Dukic at orionhealth.com Tue Apr 17 01:25:07 2012 From: Serge.Dukic at orionhealth.com (Serge Dukic) Date: Tue, 17 Apr 2012 11:25:07 +1200 (NZST) Subject: Plugins to monitor HTTP latency, page load times In-Reply-To: <28112496.278.1334618433017.JavaMail.serged@serged-mbpro.orion.internal> References: <28112496.278.1334618433017.JavaMail.serged@serged-mbpro.orion.internal> Message-ID: <5677955.358.1334618705055.JavaMail.serged@serged-mbpro.orion.internal> Hi, I'm looking for a Nagios plugin to be able to monitor the "latency" of a web page i.e. how long from when the HTTP request is sent, until the first response is received As well as a plugin for measuring "page load" times. i.e. how long from when the first HTTP response is received until the page is fully loaded. The application we're trying to monitor also doesn't make use of basic HTTP Auth, but rather a HTTP form and the page we're trying to measure requires authentication. Would anyone know of a plugin which could "tie-in" with the other two plugins mentioned above to enable us to monitor these metrics? Thank you Serge -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Corcoran at flair4it.co.uk Tue Apr 17 12:42:48 2012 From: Corcoran at flair4it.co.uk (Corcoran Smith) Date: Tue, 17 Apr 2012 10:42:48 +0000 Subject: Soft fail alerts in web interface Message-ID: Hi, Deeply irritating is that we can't disable or acknowledge notifications on the web interface when we're getting soft fails for services - so have to wait till the service is checked 3 times before being able to acknowledge the issue. How can we manage this better?! Flair4IT 0845 299 0811 www.flair4it.co.uk support at flair4it.co.uk Fact: All of our technical staff are Microsoft Certified Please click here view our disclaimer online -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Tue Apr 17 16:26:06 2012 From: work at paul.dubuc.org (Paul Dubuc) Date: Tue, 17 Apr 2012 10:26:06 -0400 Subject: Soft fail alerts in web interface In-Reply-To: References: Message-ID: <4F8D7D7E.7010105@paul.dubuc.org> Corcoran Smith wrote: > > > Hi, > > Deeply irritating is that we can't disable or acknowledge notifications on the > web interface when we're getting soft fails for services - so have to wait > till the service is checked 3 times before being able to acknowledge the issue. > > How can we manage this better?! You can disable notifications any time. You can't acknowledge a problem when there hasn't been a notification yet. The acknowledgement sends its own notification which might be confusing to those who weren't notified of a problem in the first place. Paul Dubuc ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 17 21:58:38 2012 From: jmckeon at telaurus.com (McKeon, Jeff) Date: Tue, 17 Apr 2012 15:58:38 -0400 Subject: Nagios 3 audible alert Message-ID: <30ED555BA1546D4A939DC27E2118AC270B5C91048E@portia.gsi.globecommsystems.com> Anyone else having issues getting Nagios 3 to play audible alerts? I've got the files in the /usr/share/nagios/media/ director and if I enter http://nagios.server/nagios/media/critical.wav it will play however it won't when a system or service goes critical. Best Regards, Jeff McKeon ____________________________________________________________ This e-mail (including attached documents) may contain confidential or proprietary information intended only for use by the named recipient(s). Use by persons other than the named recipient(s), further dissemination, or copying of this email is prohibited unless authorized by the sender. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 17 22:32:30 2012 From: jmckeon at telaurus.com (McKeon, Jeff) Date: Tue, 17 Apr 2012 16:32:30 -0400 Subject: Nagios 3 audible alert In-Reply-To: <30ED555BA1546D4A939DC27E2118AC270B5C91048E@portia.gsi.globecommsystems.com> References: <30ED555BA1546D4A939DC27E2118AC270B5C91048E@portia.gsi.globecommsystems.com> Message-ID: <30ED555BA1546D4A939DC27E2118AC270B5C91048F@portia.gsi.globecommsystems.com> Running version 3.0.6 where this bug was supposed to be fixed.. Best Regards, Jeff McKeon -----Original Message----- From: McKeon, Jeff [mailto:jmckeon at telaurus.com] Sent: Tuesday, April 17, 2012 3:59 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios 3 audible alert Anyone else having issues getting Nagios 3 to play audible alerts? I've got the files in the /usr/share/nagios/media/ director and if I enter http://nagios.server/nagios/media/critical.wav it will play however it won't when a system or service goes critical. Best Regards, Jeff McKeon ____________________________________________________________ This e-mail (including attached documents) may contain confidential or proprietary information intended only for use by the named recipient(s). Use by persons other than the named recipient(s), further dissemination, or copying of this email is prohibited unless authorized by the sender. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail (including attached documents) may contain confidential or proprietary information intended only for use by the named recipient(s). Use by persons other than the named recipient(s), further dissemination, or copying of this email is prohibited unless authorized by the sender. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RWerner at pomwonderful.com Tue Apr 17 23:23:48 2012 From: RWerner at pomwonderful.com (Werner, Robert) Date: Tue, 17 Apr 2012 21:23:48 +0000 Subject: Nagios 3 audible alert In-Reply-To: <30ED555BA1546D4A939DC27E2118AC270B5C91048F@portia.gsi.globecommsystems.com> References: <30ED555BA1546D4A939DC27E2118AC270B5C91048E@portia.gsi.globecommsystems.com> <30ED555BA1546D4A939DC27E2118AC270B5C91048F@portia.gsi.globecommsystems.com> Message-ID: <3D480E2907FD164191FE65820A669FFF4F22C003@POM-LA-MBX01.pomwonderful.com> I'm running Firefox on Linux and when I dug into this, the helper app that actually is supposed to play the wav file was getting a permission denied because it didn't use the cookie that the browser has setup to authenticate the user. I think the easiest way for me to fix this is to move the files to some non secured directory but after a brief look I didn't see a place where I could change this to a non secured directory in the config. -- Robert G. Werner Oracle Apps Systems Administrator rwerner at pomwonderful.com 559.521.5089 -----Original Message----- From: McKeon, Jeff [mailto:jmckeon at telaurus.com] Sent: Tuesday, April 17, 2012 1:33 PM To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios 3 audible alert Running version 3.0.6 where this bug was supposed to be fixed.. Best Regards, Jeff McKeon -----Original Message----- From: McKeon, Jeff [mailto:jmckeon at telaurus.com] Sent: Tuesday, April 17, 2012 3:59 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios 3 audible alert Anyone else having issues getting Nagios 3 to play audible alerts? I've got the files in the /usr/share/nagios/media/ director and if I enter http://nagios.server/nagios/media/critical.wav it will play however it won't when a system or service goes critical. Best Regards, Jeff McKeon ____________________________________________________________ This e-mail (including attached documents) may contain confidential or proprietary information intended only for use by the named recipient(s). Use by persons other than the named recipient(s), further dissemination, or copying of this email is prohibited unless authorized by the sender. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail (including attached documents) may contain confidential or proprietary information intended only for use by the named recipient(s). Use by persons other than the named recipient(s), further dissemination, or copying of this email is prohibited unless authorized by the sender. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From low at modog.com Wed Apr 18 14:24:02 2012 From: low at modog.com (Seth Low) Date: Wed, 18 Apr 2012 08:24:02 -0400 Subject: A plugin to act as a reminder based on date Message-ID: I have a lot of third party software licenses to manage that expire on specific dates. Instead of trying to write or find plugins that don't exist to check when these licenses will expire, I think it would be nice to have a plugin that take a specific date in the future and takes a warning critical value based a number of days out (as well as a note field - The xxxxx license on this server will expire on xx/xx/xx). I have looked around but am not finding anything. Has anyone run into this kind of issue before and do they/you have any suggestions? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmckeon at telaurus.com Wed Apr 18 15:39:36 2012 From: jmckeon at telaurus.com (McKeon, Jeff) Date: Wed, 18 Apr 2012 09:39:36 -0400 Subject: Nagios 3 audible alert In-Reply-To: <3D480E2907FD164191FE65820A669FFF4F22C003@POM-LA-MBX01.pomwonderful.com> References: <30ED555BA1546D4A939DC27E2118AC270B5C91048E@portia.gsi.globecommsystems.com> <30ED555BA1546D4A939DC27E2118AC270B5C91048F@portia.gsi.globecommsystems.com> <3D480E2907FD164191FE65820A669FFF4F22C003@POM-LA-MBX01.pomwonderful.com> Message-ID: <30ED555BA1546D4A939DC27E2118AC270B5C910495@portia.gsi.globecommsystems.com> I notice that IE does nothing but on firefox the quicktime plugin actually crashes. Anyone have any solution for this? Best Regards, Jeff McKeon -----Original Message----- From: Werner, Robert [mailto:RWerner at pomwonderful.com] Sent: Tuesday, April 17, 2012 5:24 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios 3 audible alert I'm running Firefox on Linux and when I dug into this, the helper app that actually is supposed to play the wav file was getting a permission denied because it didn't use the cookie that the browser has setup to authenticate the user. I think the easiest way for me to fix this is to move the files to some non secured directory but after a brief look I didn't see a place where I could change this to a non secured directory in the config. -- Robert G. Werner Oracle Apps Systems Administrator rwerner at pomwonderful.com 559.521.5089 -----Original Message----- From: McKeon, Jeff [mailto:jmckeon at telaurus.com] Sent: Tuesday, April 17, 2012 1:33 PM To: 'Nagios Users List' Subject: Re: [Nagios-users] Nagios 3 audible alert Running version 3.0.6 where this bug was supposed to be fixed.. Best Regards, Jeff McKeon -----Original Message----- From: McKeon, Jeff [mailto:jmckeon at telaurus.com] Sent: Tuesday, April 17, 2012 3:59 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios 3 audible alert Anyone else having issues getting Nagios 3 to play audible alerts? I've got the files in the /usr/share/nagios/media/ director and if I enter http://nagios.server/nagios/media/critical.wav it will play however it won't when a system or service goes critical. Best Regards, Jeff McKeon ____________________________________________________________ This e-mail (including attached documents) may contain confidential or proprietary information intended only for use by the named recipient(s). Use by persons other than the named recipient(s), further dissemination, or copying of this email is prohibited unless authorized by the sender. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail (including attached documents) may contain confidential or proprietary information intended only for use by the named recipient(s). Use by persons other than the named recipient(s), further dissemination, or copying of this email is prohibited unless authorized by the sender. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail (including attached documents) may contain confidential or proprietary information intended only for use by the named recipient(s). Use by persons other than the named recipient(s), further dissemination, or copying of this email is prohibited unless authorized by the sender. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Apr 18 21:10:59 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 18 Apr 2012 14:10:59 -0500 Subject: Plugins to monitor HTTP latency, page load times In-Reply-To: <5677955.358.1334618705055.JavaMail.serged@serged-mbpro.orion.internal> References: <5677955.358.1334618705055.JavaMail.serged@serged-mbpro.orion.internal> Message-ID: <4F8F11C3.6010006@nagios.com> Hey Serge, I use Smokeping for checking network latency, integrated with Nagios using check_smokeping. It do everything you're asking for like browser rendering times or authentication, though. It's likely that you'll need to use something significantly more powerful for something like that, like selenium. Alex Griffin --- Tech Team agriffin at nagios.com Serge Dukic wrote: > Hi, > > I'm looking for a Nagios plugin to be able to monitor the "latency" of a > web page i.e. how long from when the HTTP request is sent, until the > first response is received > > As well as a plugin for measuring "page load" times. i.e. how long from > when the first HTTP response is received until the page is fully loaded. > > The application we're trying to monitor also doesn't make use of basic > HTTP Auth, but rather a HTTP form and the page we're trying to measure > requires authentication. Would anyone know of a plugin which could > "tie-in" with the other two plugins mentioned above to enable us to > monitor these metrics? > > Thank you > Serge > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Apr 18 21:15:15 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 18 Apr 2012 14:15:15 -0500 Subject: A plugin to act as a reminder based on date In-Reply-To: References: Message-ID: <4F8F12C3.1090708@nagios.com> Try using check_doomsday for this! http://exchange.nagios.org/directory/Plugins/Others/Doomsday-Check/details Alex Griffin --- Tech Team agriffin at nagios.com Seth Low wrote: > I have a lot of third party software licenses to manage that expire on > specific dates. Instead of trying to write or find plugins that don't > exist to check when these licenses will expire, I think it would be nice > to have a plugin that take a specific date in the future and takes a > warning critical value based a number of days out (as well as a note > field - The xxxxx license on this server will expire on xx/xx/xx). I > have looked around but am not finding anything. Has anyone run into this > kind of issue before and do they/you have any suggestions? Thanks, > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From low at modog.com Wed Apr 18 21:18:56 2012 From: low at modog.com (Seth Low) Date: Wed, 18 Apr 2012 15:18:56 -0400 Subject: A plugin to act as a reminder based on date In-Reply-To: <4F8F12C3.1090708@nagios.com> References: <4F8F12C3.1090708@nagios.com> Message-ID: Perfect. Thank you. -Seth On Wed, Apr 18, 2012 at 3:15 PM, Alex Griffin wrote: > Try using check_doomsday for this! > > http://exchange.nagios.org/directory/Plugins/Others/Doomsday-Check/details > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > Seth Low wrote: > > I have a lot of third party software licenses to manage that expire on > > specific dates. Instead of trying to write or find plugins that don't > > exist to check when these licenses will expire, I think it would be nice > > to have a plugin that take a specific date in the future and takes a > > warning critical value based a number of days out (as well as a note > > field - The xxxxx license on this server will expire on xx/xx/xx). I > > have looked around but am not finding anything. Has anyone run into this > > kind of issue before and do they/you have any suggestions? Thanks, > > > > > > > > > ------------------------------------------------------------------------------ > > Better than sec? Nothing is better than sec when it comes to > > monitoring Big Data applications. Try Boundary one-second > > resolution app monitoring today. Free. > > http://p.sf.net/sfu/Boundary-dev2dev > > > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Wed Apr 18 21:32:27 2012 From: gevery at gmail.com (Gary Every) Date: Wed, 18 Apr 2012 12:32:27 -0700 Subject: Plugins to monitor HTTP latency, page load times In-Reply-To: <4F8F11C3.6010006@nagios.com> References: <5677955.358.1334618705055.JavaMail.serged@serged-mbpro.orion.internal> <4F8F11C3.6010006@nagios.com> Message-ID: you can use your nagios users .netrc file to overcome basic auth. On Wed, Apr 18, 2012 at 12:10 PM, Alex Griffin wrote: > Hey Serge, > > I use Smokeping for checking network latency, integrated with Nagios > using check_smokeping. It do everything you're asking for like browser > rendering times or authentication, though. It's likely that you'll need > to use something significantly more powerful for something like that, > like selenium. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > Serge Dukic wrote: > > Hi, > > > > I'm looking for a Nagios plugin to be able to monitor the "latency" of a > > web page i.e. how long from when the HTTP request is sent, until the > > first response is received > > > > As well as a plugin for measuring "page load" times. i.e. how long from > > when the first HTTP response is received until the page is fully loaded. > > > > The application we're trying to monitor also doesn't make use of basic > > HTTP Auth, but rather a HTTP form and the page we're trying to measure > > requires authentication. Would anyone know of a plugin which could > > "tie-in" with the other two plugins mentioned above to enable us to > > monitor these metrics? > > > > Thank you > > Serge > > > > > > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Apr 18 22:00:00 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 18 Apr 2012 15:00:00 -0500 Subject: Plugins to monitor HTTP latency, page load times In-Reply-To: References: <5677955.358.1334618705055.JavaMail.serged@serged-mbpro.orion.internal> <4F8F11C3.6010006@nagios.com> Message-ID: <4F8F1D40.7090605@nagios.com> As far as I know, netrc doesn't help with cookie-based authentication, which is what he was asking for. I'm sure there are plugins out there which handle cookies fine, but he'll need something like selenium for measuring browser rendering times. And if he's already using selenium he might as well use it for the authentication too. (Also, I meant to say "It *can't* do" in my last email, rather than "It do") Alex Griffin --- Tech Team agriffin at nagios.com Gary Every wrote: > you can use your nagios users .netrc file to overcome basic auth. > > > > On Wed, Apr 18, 2012 at 12:10 PM, Alex Griffin > wrote: > > Hey Serge, > > I use Smokeping for checking network latency, integrated with Nagios > using check_smokeping. It do everything you're asking for like browser > rendering times or authentication, though. It's likely that you'll need > to use something significantly more powerful for something like that, > like selenium. > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > > Serge Dukic wrote: > > Hi, > > > > I'm looking for a Nagios plugin to be able to monitor the > "latency" of a > > web page i.e. how long from when the HTTP request is sent, until the > > first response is received > > > > As well as a plugin for measuring "page load" times. i.e. how > long from > > when the first HTTP response is received until the page is fully > loaded. > > > > The application we're trying to monitor also doesn't make use of > basic > > HTTP Auth, but rather a HTTP form and the page we're trying to > measure > > requires authentication. Would anyone know of a plugin which could > > "tie-in" with the other two plugins mentioned above to enable us to > > monitor these metrics? > > > > Thank you > > Serge > > > > > > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Gary Every > "Pay it Forward!" > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Corcoran at flair4it.co.uk Thu Apr 19 09:41:33 2012 From: Corcoran at flair4it.co.uk (Corcoran Smith) Date: Thu, 19 Apr 2012 07:41:33 +0000 Subject: Soft fail alerts in web interface Message-ID: Hi no we don't want to disable notifications entirely, we just want to be able to faster acknowledge SOFT FAILS or disable them entirely? Flair4IT 0845 299 0811 www.flair4it.co.uk support at flair4it.co.uk Fact: All of our technical staff are Microsoft Certified Please click here view our disclaimer online -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Apr 19 14:44:53 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 19 Apr 2012 14:44:53 +0200 Subject: send passive result without obsess over service Message-ID: <00a001cd1e2a$3dd855a0$b98900e0$@it.net> Hi I need to send few service results from two Nagios servers, but not for all the services configured on the main server. When I sent all the service results I used obsess over service, but now ? How can I do ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 19 15:00:04 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 19 Apr 2012 15:00:04 +0200 Subject: Soft fail alerts in web interface In-Reply-To: References: Message-ID: <4F900C54.9040907@op5.se> On 04/19/2012 09:41 AM, Corcoran Smith wrote: > > Hi no we don't want to disable notifications entirely, we just want > to be able to faster acknowledge SOFT FAILS or disable them > entirely? > That's not a question, so the question mark at the end is a bit odd. > > Fact: All of our technical staff are Microsoft Certified > That might explain it and even gives a hint to why you left out the email you responded to with your non-question-masking-as-a-question, which I presume gave you some sort of response to some initial question. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Thu Apr 19 16:02:27 2012 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 19 Apr 2012 16:02:27 +0200 Subject: send passive result without obsess over service In-Reply-To: <00a001cd1e2a$3dd855a0$b98900e0$@it.net> References: <00a001cd1e2a$3dd855a0$b98900e0$@it.net> Message-ID: <91061813-B275-4B3B-AF3A-F0E17EE4CB14@linux.it> Use nrdp or nsca. Ciao, Giorgio Il giorno 19/apr/2012, alle ore 14:44, "Marco Borsani" ha scritto: > Hi > I need to send few service results from two Nagios servers, but not for all the services configured on the main server. > > When I sent all the service results I used obsess over service, but now ? > How can I do ? > > Regards > > Marco Borsani > Unix and Monitoring Sysadmin > Technical Operations Dpt. > tel: +39 010 4310115 > fax: +39 02 30130311 > cell: +39 329 5953944 > ITnet Srl > Societ? con socio unico > Direzione e Coordinamento di Libero S.r.l. > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Apr 19 16:21:42 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 19 Apr 2012 16:21:42 +0200 Subject: R: send passive result without obsess over service In-Reply-To: <91061813-B275-4B3B-AF3A-F0E17EE4CB14@linux.it> References: <00a001cd1e2a$3dd855a0$b98900e0$@it.net> <91061813-B275-4B3B-AF3A-F0E17EE4CB14@linux.it> Message-ID: <013001cd1e37$c3fceda0$4bf6c8e0$@it.net> I am already using nsca with obsess over service. I supposed I will be use event_handler option ? Any other way to follow ? Marco Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: gioved? 19 aprile 2012 16:02 A: Nagios Users List Cc: NAGIOS Oggetto: Re: [Nagios-users] send passive result without obsess over service Use nrdp or nsca. Ciao, Giorgio Il giorno 19/apr/2012, alle ore 14:44, "Marco Borsani" ha scritto: Hi I need to send few service results from two Nagios servers, but not for all the services configured on the main server. When I sent all the service results I used obsess over service, but now ? How can I do ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew.ford at wellsfargo.com Thu Apr 19 16:46:09 2012 From: andrew.ford at wellsfargo.com (andrew.ford at wellsfargo.com) Date: Thu, 19 Apr 2012 10:46:09 -0400 Subject: R: send passive result without obsess over service In-Reply-To: <013001cd1e37$c3fceda0$4bf6c8e0$@it.net> References: <00a001cd1e2a$3dd855a0$b98900e0$@it.net> <91061813-B275-4B3B-AF3A-F0E17EE4CB14@linux.it> <013001cd1e37$c3fceda0$4bf6c8e0$@it.net> Message-ID: <92F840F61CBA7641ABC9FBC87ABE86EB5C1FDFF257@MSGCMSIL1011.ent.wfb.bank.corp> Would it work to build the send_nsca call directly into your plugin? Alternately, perhaps a wrapper to generically add send_nsca to various commands? Then your command definition could go from $USER1$/myplug args moreargs to $USER1$/my_send_nsca_wrapper $USER1$/myplug args moreargs Andy Ford Network Security Engineer | Wells Fargo Bank - Information Security Technology 314-348-4937 andrew.ford at wellsfargo.com From: Marco Borsani [mailto:m.borsani at it.net] Sent: Thursday, April 19, 2012 9:22 AM To: 'Nagios Users List' Subject: [Nagios-users] R: send passive result without obsess over service I am already using nsca with obsess over service. I supposed I will be use event_handler option ? Any other way to follow ? Marco Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: gioved? 19 aprile 2012 16:02 A: Nagios Users List Cc: NAGIOS Oggetto: Re: [Nagios-users] send passive result without obsess over service Use nrdp or nsca. Ciao, Giorgio Il giorno 19/apr/2012, alle ore 14:44, "Marco Borsani" > ha scritto: Hi I need to send few service results from two Nagios servers, but not for all the services configured on the main server. When I sent all the service results I used obsess over service, but now ? How can I do ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarley at gmi-mr.com Thu Apr 19 16:38:05 2012 From: scarley at gmi-mr.com (Sean Carley) Date: Thu, 19 Apr 2012 14:38:05 +0000 Subject: Soft fail alerts in web interface In-Reply-To: <4F900C54.9040907@op5.se> References: <4F900C54.9040907@op5.se> Message-ID: <37CF2B4F60CE2749B21938587156205136ACD597@se2exmb01.CORP.GMI.LCL> Hi Corcoran, I agree this is a needed feature. One of my guys was saying it's only the default Nagios gui that prevents this, you can try something like Nagstamon to get a jump on acking SOFT failures. One really should not have to wait until the HARD state pages people to acknowledge a problem. That is silly, and so is the confused user counter-argument. Surely your staff would soon learn that acks can come without alerts (assuming they can't be trained to uncheck the notification box). It would be even better if Nagios could make that notification box checked by default for HARD state, and unchecked for SOFT. We found disabling notifications to be a dangerous thing, and not a solution to this problem. People never remember to re-enable them and alerts get missed. I got tired of checking for disabled notifications regularly, so I put in an apache rewrite rule to discourage disabling them in the first place. We insist the user either acknowledge a problem or schedule downtime. -Sean -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Thursday, April 19, 2012 6:00 AM To: Nagios Users List Cc: Corcoran Smith Subject: Re: [Nagios-users] Soft fail alerts in web interface On 04/19/2012 09:41 AM, Corcoran Smith wrote: > > Hi no we don't want to disable notifications entirely, we just want to > be able to faster acknowledge SOFT FAILS or disable them entirely? > That's not a question, so the question mark at the end is a bit odd. > > Fact: All of our technical staff are Microsoft Certified > That might explain it and even gives a hint to why you left out the email you responded to with your non-question-masking-as-a-question, which I presume gave you some sort of response to some initial question. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.page at gilbarco.com Thu Apr 19 17:34:38 2012 From: jeremy.page at gilbarco.com (Jeremy Page) Date: Thu, 19 Apr 2012 11:34:38 -0400 Subject: Nagios-users Digest, Vol 71, Issue 9 In-Reply-To: References: Message-ID: <4F90308E.3010401@gilbarco.com> On 04/19/2012 09:41 AM, Corcoran Smith wrote: ...we don't want to disable notifications entirely, we just want to be able to faster acknowledge SOFT FAILS or disable them entirely? Change your config so your template/checks use notification_options c,r This will only notify on down & recovered but not warnings. Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Thu Apr 19 20:24:30 2012 From: work at paul.dubuc.org (Paul Dubuc) Date: Thu, 19 Apr 2012 14:24:30 -0400 Subject: Soft fail alerts in web interface In-Reply-To: <37CF2B4F60CE2749B21938587156205136ACD597@se2exmb01.CORP.GMI.LCL> References: <4F900C54.9040907@op5.se> <37CF2B4F60CE2749B21938587156205136ACD597@se2exmb01.CORP.GMI.LCL> Message-ID: <4F90585E.6040807@paul.dubuc.org> I wouldn't argue against this feature. It would be convenient to have, but your argument depends on your definition of "a problem". SOFT state errors are an indication of a potential problem, or it may be a transient problem. That's why SOFT states exist so Nagios can retry the test to determine if there is a real problem. If your staff is alert enough to notice SOFT state problems before anyone is notified, surely they notice from the display that notifications are disabled. It probably means the "problem" was expected. Scheduling downtime would be a better solution than a SOFT state acknowledgement if the check is flapping between OK and error states. Sean Carley wrote: > Hi Corcoran, I agree this is a needed feature. One of my guys was saying > it's only the default Nagios gui that prevents this, you can try something > like Nagstamon to get a jump on acking SOFT failures. > > One really should not have to wait until the HARD state pages people to > acknowledge a problem. That is silly, and so is the confused user > counter-argument. Surely your staff would soon learn that acks can come > without alerts (assuming they can't be trained to uncheck the notification > box). It would be even better if Nagios could make that notification box > checked by default for HARD state, and unchecked for SOFT. > > We found disabling notifications to be a dangerous thing, and not a > solution to this problem. People never remember to re-enable them and > alerts get missed. I got tired of checking for disabled notifications > regularly, so I put in an apache rewrite rule to discourage disabling them > in the first place. We insist the user either acknowledge a problem or > schedule downtime. > > -Sean > > -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: > Thursday, April 19, 2012 6:00 AM To: Nagios Users List Cc: Corcoran Smith > Subject: Re: [Nagios-users] Soft fail alerts in web interface > > On 04/19/2012 09:41 AM, Corcoran Smith wrote: >> >> Hi no we don't want to disable notifications entirely, we just want to be >> able to faster acknowledge SOFT FAILS or disable them entirely? >> > > That's not a question, so the question mark at the end is a bit odd. > >> >> Fact: All of our technical staff are Microsoft Certified >> > > That might explain it and even gives a hint to why you left out the email > you responded to with your non-question-masking-as-a-question, which I > presume gave you some sort of response to some initial question. > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarley at gmi-mr.com Thu Apr 19 23:42:54 2012 From: scarley at gmi-mr.com (Sean Carley) Date: Thu, 19 Apr 2012 21:42:54 +0000 Subject: Soft fail alerts in web interface In-Reply-To: <4F90585E.6040807@paul.dubuc.org> References: <4F900C54.9040907@op5.se> <37CF2B4F60CE2749B21938587156205136ACD597@se2exmb01.CORP.GMI.LCL> <4F90585E.6040807@paul.dubuc.org> Message-ID: <37CF2B4F60CE2749B21938587156205136ACEAD8@se2exmb01.CORP.GMI.LCL> Being able to ACK before alerts go out (without guessing at downtime) would be convenient for anyone, whether it's one random thing you want to catch before it alerts, or whether you're responding to the first alert of a major outage and want to handle the rest of the services while they are still in SOFT state. We send a subset of Critical alerts to an on-call pager escalation system so catching them before they get there is a Good Thing. Disabling notifications per-service is a fantastic way to make your entire department look bad when the service fails again days, weeks, months or years from now and you've forgotten to re-enable notifications for it. For one service out of 4000+, that icon can go unnoticed for quite a while. As you mention, if the notification-disabled state IS noticed the next time it fails unexpectedly, they might assume that the problem was expected and ignore it instead of responding. This would actually be a Bad Thing. -----Original Message----- From: Paul Dubuc [mailto:work at paul.dubuc.org] Sent: Thursday, April 19, 2012 11:25 AM To: Nagios Users List Cc: Sean Carley; Corcoran Smith Subject: Re: [Nagios-users] Soft fail alerts in web interface I wouldn't argue against this feature. It would be convenient to have, but your argument depends on your definition of "a problem". SOFT state errors are an indication of a potential problem, or it may be a transient problem. That's why SOFT states exist so Nagios can retry the test to determine if there is a real problem. If your staff is alert enough to notice SOFT state problems before anyone is notified, surely they notice from the display that notifications are disabled. It probably means the "problem" was expected. Scheduling downtime would be a better solution than a SOFT state acknowledgement if the check is flapping between OK and error states. Sean Carley wrote: > Hi Corcoran, I agree this is a needed feature. One of my guys was > saying it's only the default Nagios gui that prevents this, you can > try something like Nagstamon to get a jump on acking SOFT failures. > > One really should not have to wait until the HARD state pages people > to acknowledge a problem. That is silly, and so is the confused user > counter-argument. Surely your staff would soon learn that acks can > come without alerts (assuming they can't be trained to uncheck the > notification box). It would be even better if Nagios could make that > notification box checked by default for HARD state, and unchecked for SOFT. > > We found disabling notifications to be a dangerous thing, and not a > solution to this problem. People never remember to re-enable them and > alerts get missed. I got tired of checking for disabled notifications > regularly, so I put in an apache rewrite rule to discourage disabling > them in the first place. We insist the user either acknowledge a > problem or schedule downtime. > > -Sean > > -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: > Thursday, April 19, 2012 6:00 AM To: Nagios Users List Cc: Corcoran > Smith > Subject: Re: [Nagios-users] Soft fail alerts in web interface > > On 04/19/2012 09:41 AM, Corcoran Smith wrote: >> >> Hi no we don't want to disable notifications entirely, we just want >> to be able to faster acknowledge SOFT FAILS or disable them entirely? >> > > That's not a question, so the question mark at the end is a bit odd. > >> >> Fact: All of our technical staff are Microsoft Certified >> > > That might explain it and even gives a hint to why you left out the > email you responded to with your non-question-masking-as-a-question, > which I presume gave you some sort of response to some initial question. > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Fri Apr 20 01:04:32 2012 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Fri, 20 Apr 2012 09:04:32 +1000 Subject: Nagios-users Digest, Vol 71, Issue 9 In-Reply-To: <4F90308E.3010401@gilbarco.com> References: <4F90308E.3010401@gilbarco.com> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB727DCDB0E4@off-win2003-01.ausregistrygroup.local> Jeremy, You can have HARD WARNING state as well. SOFT is when you have not yet reached max_check_attempts. Stuart From: Jeremy Page [mailto:jeremy.page at gilbarco.com] Sent: Friday, 20 April 2012 1:35 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios-users Digest, Vol 71, Issue 9 On 04/19/2012 09:41 AM, Corcoran Smith wrote: ...we don't want to disable notifications entirely, we just want to be able to faster acknowledge SOFT FAILS or disable them entirely? Change your config so your template/checks use notification_options c,r This will only notify on down & recovered but not warnings. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jm+nagios-users at roth.lu Fri Apr 20 16:31:47 2012 From: jm+nagios-users at roth.lu (Marki) Date: Fri, 20 Apr 2012 14:31:47 +0000 (UTC) Subject: critical soft state every 3 hours Message-ID: Hi, we have a problem where all the services checked around 00:01, 03:01, 06:01, ..., i.e. every three hours one minute after the hour, return a critical soft state. Most of the times they go back to normal, however sometimes they also end up in a hard state. You can imagine the rest... We are running Nagios in a virtualized environment (vmware), on a SLES10 VM with 3GB of RAM and 4 vCPUs. The average load of the machine is about 5. We did not succeed in reproducing network trouble when doing basic checks around those times from and to other hosts. Indeed the VM running nagios experiences packet loss somehow. Even when run on completely different Vmware hosts: Tue Apr 17 21:02:01 CEST 2012 5000 packets transmitted, 4990 received, 0% packet loss, time 3840ms ? 5000 packets transmitted, 4998 received, 0% packet loss, time 2979ms 5000 packets transmitted, 4994 received, 0% packet loss, time 6190ms ? Wed Apr 18 09:02:01 CEST 2012 5000 packets transmitted, 4999 received, 0% packet loss, time 5230ms ? 5000 packets transmitted, 4999 received, 0% packet loss, time 3340ms ? 5000 packets transmitted, 4979 received, 0% packet loss, time 11298ms ? Wed Apr 18 12:02:01 CEST 2012 5000 packets transmitted, 4978 received, 0% packet loss, time 12764ms ? Wed Apr 18 15:01:01 CEST 2012 5000 packets transmitted, 4987 received, 0% packet loss, time 4037ms ? Wed Apr 18 15:02:01 CEST 2012 5000 packets transmitted, 4987 received, 0% packet loss, time 9010ms Do you think this is related to Nagios? What could that be? Here are some Nagios metrics: Services Actively Checked: <= 1 minute: 0 (0.0%) <= 5 minutes: 2096 (78.3%) <= 15 minutes: 2626 (98.1%) <= 1 hour: 2665 (99.5%) Since program start: 2666 (99.6%) Metric Min. Max. Average Check Execution Time: 0.00 sec 52.15 sec 1.133 sec Check Latency: 0.00 sec 3.03 sec 0.183 sec Percent State Change: 0.00% 64.54% 1.16% Check Stats: Type Last 1 Min Last 5 Min Last 15 Min Active Scheduled Host Checks 54 282 602 Active On-Demand Host Checks 25 123 405 Parallel Host Checks 56 290 614 Serial Host Checks 0 0 0 Cached Host Checks 23 115 387 Passive Host Checks 0 0 0 Active Scheduled Service Checks 987 4203 12647 Active On-Demand Service Checks 0 0 0 Cached Service Checks 0 0 0 Passive Service Checks 0 0 0 External Commands 0 0 0 Thanks marki ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Fri Apr 20 16:51:10 2012 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 20 Apr 2012 14:51:10 +0000 Subject: Question - System Restart Message-ID: When looking at availability of a host/service I see in the listing "System Restart" Can someone explain what this is and does it have any effect on the host/service. Thanks Ed P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Apr 20 16:57:58 2012 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 20 Apr 2012 15:57:58 +0100 Subject: Question - System Restart In-Reply-To: References: Message-ID: <4F917976.1090107@flatto.net> On 20/04/12 15:51, Edwin Zoeller wrote: > > When looking at availability of a host/service I see in the listing > "System Restart" Can someone explain what this is and does it have any > effect on the host/service. > > Thanks > > Ed > > PPlease consider the environment before printing this e-mail > > That usually mean a reload or restart of the nagios service on the monitoring box . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mysqlstudent at gmail.com Fri Apr 20 17:54:42 2012 From: mysqlstudent at gmail.com (Alex) Date: Fri, 20 Apr 2012 11:54:42 -0400 Subject: Timeout and critical error false alarms Message-ID: Hi, I have a few fc16 boxes and often times alerts are generated for timeouts while connecting to a remote service on a client such as clamd or smtpd: PROCS CRITICAL: 0 processes with command name 'smtpd', UID = 89 (postfix) Why is it that this happens? It doesn't happen all the time. I know there are processes running with this command name, so not sure why this alert would be generated. It most often happens for me with smtpd and clamd. Is there a way to extend the timeout, or enable some further debugging to troubleshoot this? Thanks, Alex ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Fri Apr 20 18:02:26 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 20 Apr 2012 11:02:26 -0500 Subject: Timeout and critical error false alarms In-Reply-To: References: Message-ID: <4F918892.5020905@nagios.com> How are you connecting to these boxes (what check commands are you using)? Alex Griffin --- Tech Team agriffin at nagios.com Alex wrote: > Hi, > > I have a few fc16 boxes and often times alerts are generated for > timeouts while connecting to a remote service on a client such as > clamd or smtpd: > > PROCS CRITICAL: 0 processes with command name 'smtpd', UID = 89 (postfix) > > Why is it that this happens? It doesn't happen all the time. I know > there are processes running with this command name, so not sure why > this alert would be generated. > > It most often happens for me with smtpd and clamd. Is there a way to > extend the timeout, or enable some further debugging to troubleshoot > this? > > Thanks, > Alex > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mysqlstudent at gmail.com Fri Apr 20 18:18:00 2012 From: mysqlstudent at gmail.com (Alex) Date: Fri, 20 Apr 2012 12:18:00 -0400 Subject: Timeout and critical error false alarms In-Reply-To: <4F918892.5020905@nagios.com> References: <4F918892.5020905@nagios.com> Message-ID: Hi, > How are you connecting to these boxes (what check commands are you using)? For clamd, I'm using "check_nrpe!check_procs_clamd" on the nagios side and the following on the client side: command[check_procs_clamd]=/usr/lib64/nagios/plugins/check_clamd -H /var/spool/amavisd/clamd.sock For smtpd, the nagios side is the same, and the client side is: command[check_procs_smtpd]=/usr/lib64/nagios/plugins/check_procs -w 1:120 -c 1:140 -C smtpd -u postfix Thanks, Alex ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Apr 21 15:52:57 2012 From: ae at op5.se (Andreas Ericsson) Date: Sat, 21 Apr 2012 15:52:57 +0200 Subject: critical soft state every 3 hours In-Reply-To: References: Message-ID: <4F92BBB9.6030507@op5.se> On 04/20/2012 04:31 PM, Marki wrote: > Hi, > > we have a problem where all the services checked around 00:01, 03:01, 06:01, > ..., i.e. every three hours one minute after the hour, return a critical soft > state. Most of the times they go back to normal, however sometimes they also end > up in a hard state. You can imagine the rest... > > We are running Nagios in a virtualized environment (vmware), on a SLES10 VM with > 3GB of RAM and 4 vCPUs. The average load of the machine is about 5. > > We did not succeed in reproducing network trouble when doing basic checks around > those times from and to other hosts. Indeed the VM running nagios experiences > packet loss somehow. Even when run on completely different Vmware hosts: > > Tue Apr 17 21:02:01 CEST 2012 > 5000 packets transmitted, 4990 received, 0% packet loss, time 3840ms > ? > 5000 packets transmitted, 4998 received, 0% packet loss, time 2979ms > 5000 packets transmitted, 4994 received, 0% packet loss, time 6190ms > ? > Wed Apr 18 09:02:01 CEST 2012 > 5000 packets transmitted, 4999 received, 0% packet loss, time 5230ms > ? > 5000 packets transmitted, 4999 received, 0% packet loss, time 3340ms > ? > 5000 packets transmitted, 4979 received, 0% packet loss, time 11298ms > ? > Wed Apr 18 12:02:01 CEST 2012 > 5000 packets transmitted, 4978 received, 0% packet loss, time 12764ms > ? > Wed Apr 18 15:01:01 CEST 2012 > 5000 packets transmitted, 4987 received, 0% packet loss, time 4037ms > ? > Wed Apr 18 15:02:01 CEST 2012 > 5000 packets transmitted, 4987 received, 0% packet loss, time 9010ms > > Do you think this is related to Nagios? What could that be? > Nope. I think it's related to your vmware instance. Try moving it to a physical machine and see if the problem persists. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardosilvestre at me.com Sat Apr 21 16:28:33 2012 From: eduardosilvestre at me.com (Eduardo Silvestre) Date: Sat, 21 Apr 2012 15:28:33 +0100 Subject: critical soft state every 3 hours In-Reply-To: References: Message-ID: Did you have any task/cron running every 30 minutes? What is the io wait of that vm? On 20/04/2012, at 15:31, Marki wrote: > Hi, > > we have a problem where all the services checked around 00:01, 03:01, 06:01, > ..., i.e. every three hours one minute after the hour, return a critical soft > state. Most of the times they go back to normal, however sometimes they also end > up in a hard state. You can imagine the rest... > > We are running Nagios in a virtualized environment (vmware), on a SLES10 VM with > 3GB of RAM and 4 vCPUs. The average load of the machine is about 5. > > We did not succeed in reproducing network trouble when doing basic checks around > those times from and to other hosts. Indeed the VM running nagios experiences > packet loss somehow. Even when run on completely different Vmware hosts: > > Tue Apr 17 21:02:01 CEST 2012 > 5000 packets transmitted, 4990 received, 0% packet loss, time 3840ms > ? > 5000 packets transmitted, 4998 received, 0% packet loss, time 2979ms > 5000 packets transmitted, 4994 received, 0% packet loss, time 6190ms > ? > Wed Apr 18 09:02:01 CEST 2012 > 5000 packets transmitted, 4999 received, 0% packet loss, time 5230ms > ? > 5000 packets transmitted, 4999 received, 0% packet loss, time 3340ms > ? > 5000 packets transmitted, 4979 received, 0% packet loss, time 11298ms > ? > Wed Apr 18 12:02:01 CEST 2012 > 5000 packets transmitted, 4978 received, 0% packet loss, time 12764ms > ? > Wed Apr 18 15:01:01 CEST 2012 > 5000 packets transmitted, 4987 received, 0% packet loss, time 4037ms > ? > Wed Apr 18 15:02:01 CEST 2012 > 5000 packets transmitted, 4987 received, 0% packet loss, time 9010ms > > Do you think this is related to Nagios? What could that be? > > Here are some Nagios metrics: > > Services Actively Checked: > <= 1 minute: 0 (0.0%) > <= 5 minutes: 2096 (78.3%) > <= 15 minutes: 2626 (98.1%) > <= 1 hour: 2665 (99.5%) > Since program start: 2666 (99.6%) > > Metric Min. Max. Average > Check Execution Time: 0.00 sec 52.15 sec 1.133 sec > Check Latency: 0.00 sec 3.03 sec 0.183 sec > Percent State Change: 0.00% 64.54% 1.16% > > Check Stats: > Type Last 1 Min Last 5 Min Last 15 Min > Active Scheduled Host Checks 54 282 602 > Active On-Demand Host Checks 25 123 405 > Parallel Host Checks 56 290 614 > Serial Host Checks 0 0 0 > Cached Host Checks 23 115 387 > Passive Host Checks 0 0 0 > Active Scheduled Service Checks 987 4203 12647 > Active On-Demand Service Checks 0 0 0 > Cached Service Checks 0 0 0 > Passive Service Checks 0 0 0 > External Commands 0 0 0 > > > > Thanks > > marki > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jm+nagios-users at roth.lu Mon Apr 23 10:18:59 2012 From: jm+nagios-users at roth.lu (Marki) Date: Mon, 23 Apr 2012 08:18:59 +0000 (UTC) Subject: critical soft state every 3 hours References: Message-ID: > I think it's related to your vmware instance. Try moving it to a > physical machine and see if the problem persists. Easier said than done... > Did you have any task/cron running every 30 minutes? There are some yes. But they should not create heavy load on the system. In any case, one should notice it every 30 minutes then and not only every 3 hours. > What is the io wait of that vm? No problem I guess. http://img341.imageshack.us/img341/9022/moniiowait.jpg ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Mon Apr 23 16:28:23 2012 From: agriffin at nagios.com (Alex Griffin) Date: Mon, 23 Apr 2012 09:28:23 -0500 Subject: Question - System Restart In-Reply-To: References: Message-ID: <4F956707.7030203@nagios.com> I don't really understand where you're seeing that. Can you clarify a little bit or maybe provide a screenshot? Alex Griffin --- Tech Team agriffin at nagios.com Edwin Zoeller wrote: > When looking at availability of a host/service I see in the listing > ?System Restart? Can someone explain what this is and does it have any > effect on the host/service. > > Thanks > > Ed > > PPlease consider the environment before printing this e-mail > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jake at demonware.net Tue Apr 24 00:55:18 2012 From: jake at demonware.net (Jake Xu) Date: Mon, 23 Apr 2012 15:55:18 -0700 Subject: R: use_large_installation_tweaks In-Reply-To: <005901cd16eb$00c839a0$0258ace0$@it.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <4F80702E.10002@opendoc.net> <005901cd16eb$00c839a0$0258ace0$@it.net> Message-ID: I've just turned on this use_large_installation_tweaks option today. It reduces the check latency significantly. Other than that, not so much. I had tried using mod_gearman as well. It's a very nice addition to distribute loads to other servers, but I had a hard time doing configuration, deciding the best number of workers etc. On Tue, Apr 10, 2012 at 12:24 AM, Marco Borsani wrote: > Very interesting. > > I don't understand french a lot.... are there the steps to follow for the > optimization ? > > Regards > Marco > > -----Messaggio originale----- > Da: Alexandre Bray [mailto:infos at opendoc.net] > Inviato: sabato 7 aprile 2012 18:50 > A: Nagios Users List > Oggetto: Re: [Nagios-users] use_large_installation_tweaks > > hello, > > Here are some tests with the option use_large_installation_tweaks. There > are > no graphics for the memory but the CPU load and scheduling. If this little > help you ... > > > > http://www.opendoc.net/solutions/comment-ameliorer-performances-nagios > > Alexandre > > On 04/04/2012 17:18, C. Bensend wrote: > > > >> Does anyone has configured it ? > >> > >> Is it really a good way to follow to reduce memory usage ? > > > > For me, it was a good way to reduce memory and CPU, and it helped with > > check latencies. > > > > Although, the absolute best way to reduce check latencies for me has > > been to dump NDOUtils. Good lord, that was awful, had to restart > > Nagios three times a week. > > > > Benny > > > > > > > ---------------------------------------------------------------------------- > -- > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Apr 24 10:41:48 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 24 Apr 2012 10:41:48 +0200 Subject: R: use_large_installation_tweaks In-Reply-To: <005901cd16eb$00c839a0$0258ace0$@it.net> References: <00cb01cd1271$bdfe5aa0$39fb0fe0$@it.net> <1ba01791e6f2293f75866b4f8884f11f.squirrel@webmail.stinkweasel.net> <4F80702E.10002@opendoc.net> <005901cd16eb$00c839a0$0258ace0$@it.net> Message-ID: <4F96674C.9080402@op5.se> On 04/10/2012 09:24 AM, Marco Borsani wrote: > Very interesting. > > I don't understand french a lot.... are there the steps to follow for the > optimization ? > Here they are: 1. Set "use_large_installation_tweaks=1" in your nagios.cfg 2. restart nagios. Not exactly rocket science. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pwarren at networksolutions.com Mon Apr 23 19:01:20 2012 From: pwarren at networksolutions.com (Porter Warren) Date: Mon, 23 Apr 2012 13:01:20 -0400 Subject: Enhance Nagios check_ftp command to check remote server for file Message-ID: <296512095CF60946935202442A0BA09A0177F32A@NSIVA-EXCHANGE3.CORPIT.NSI.NET> Does Nagios check_ftp plugin have the capability to check the remote ftp server to check for a file and return the results if the file is found? Plz advise PG Warren Enterprise Management Engineer P: 703.668.4762 M: 571.521.9531 www.networksolutions.com Time usually heals all things. Give Time time. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2677 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndoc3 at steinmetz.org Wed Apr 25 05:46:45 2012 From: ndoc3 at steinmetz.org (Peter N. Steinmetz) Date: Tue, 24 Apr 2012 20:46:45 -0700 Subject: puzzling no output from nrpe run of check_load Message-ID: Hi, hoping someone may be able to help with this odd problem running check_load on a remote nrpe server. I am running a nagios3 server on ubuntu 10.04 server (nagios3 3.2.0-4ubuntu2.2) and a nrpe server on ubuntu 10.10 (nagios-nrpe-server 2.12-4ubuntu1.10.10.1, nagios-plugins 1.4.14-5ubuntu3) Have these both basically up and running, and the server is able to run a check_disk command on the npre server and receives results. For a check_load command, however, the status information is '(No output returned from plugin)'. I have looked extensively on the web for this, and it appears there are a number of reasons this may happen. On the server, if I run sudo su - nagios -c "/usr/lib/nagios/plugins/check_nrpe -H 10.41.129.36 -c check_load" there is nothing returned. If I change the user from nagios to peter, then I get the expected response. On the nrpe server, the same thing is happening. If I run sudo su - nagios -c "/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20" there is nothing returned. If I change the user to peter it returns the expected output. I've tried making the plugins all owned by nagios:nagios, that doesn't help. I've tried adding a line for nagios to sudoers file and then adding the sudo command prefix, that doesn't fix it when invoking the command on the nagios server. I've also tried adding the nagios user to the admin group and that doesn't help. I've enabled the debugging on the nrpe server, and for the command from the nagios server, I see the connection and request in syslog when the user is peter, but no such request when the user is nagios. Neither of the local commands generate any syslog output. It is difficult to understand why this command, check_load, on the nrpe server is returning output for users 'peter' and 'root' but not for user 'nagios' when 'nagios' owns the executable. When I check executing the check_disk command locally on the nrpe server with sudo su - nagios -c "/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda1" it works and returns a report. Curiously, if I change the nagios user to have a login shell, such as /bin/bash, on the nrpe server, then the check_load command is returning output, though still doesn't work from the nagios server. In neither case, however, does the nagios user have a password. Both the check_load and check_disk plugins are owned by nagios:nagios and have -rwxr-xr-x permissions, so what is the difference? Any suggestions appreciated. cheers, Peter --- Peter N. Steinmetz ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kognitio.com Wed Apr 25 10:39:29 2012 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Wed, 25 Apr 2012 01:39:29 -0700 Subject: Use of customized macro in CONTACT definition Message-ID: Hi, I'm trying to define a customized contact macro so that I can pass it to an event handler My contact definition is :- define contact{ contact_name test-admin alias test-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 deborah.martin at kognitio.com _EMAILID deborah.martin at kognitio.com } Then in my script test I just do echo "EMAILID=$NAGIOS__CONTACTEMAILID" This doesn't work. But if I put the same customized macro into a service definition and change the test script to "EMAILID=$NAGIOS__SERVICEEMAILID" it works fine. According to the docs, I'm specifying this correctly. I'm using nagios 3.2.0 on SLES10. So, am I doing something that should work and is a bug and if so is it fixed in a later nagios version or have I done something silly here...? Thanks, Deborah This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From np121 at hotmail.com Wed Apr 25 14:03:19 2012 From: np121 at hotmail.com (Nick Price) Date: Wed, 25 Apr 2012 14:03:19 +0200 Subject: Re SMS notification Message-ID: Can anyone tell me how to configure the huawei E220 GSM modem to send out notification emails via SMS. I am using fedora 16 with Nagios 3.3.1 plugins 1.4.15 Thanks Nick Price -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Apr 25 17:34:54 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 25 Apr 2012 10:34:54 -0500 Subject: Enhance Nagios check_ftp command to check remote server for file In-Reply-To: <296512095CF60946935202442A0BA09A0177F32A@NSIVA-EXCHANGE3.CORPIT.NSI.NET> References: <296512095CF60946935202442A0BA09A0177F32A@NSIVA-EXCHANGE3.CORPIT.NSI.NET> Message-ID: <4F98199E.7000500@nagios.com> Yes, but I couldn't get it to work in a few short tests I did just now. You need to speak ftp's raw text protocol, putting you string to send after to -s option and the string you expect to get back after the -e option. This link might help: https://en.wikipedia.org/wiki/Ftp#List_of_FTP_commands Alex Griffin --- Tech Team agriffin at nagios.com Porter Warren wrote > Does Nagios check_ftp plugin have the capability to check the remote ftp > server to check for a file and return the results if the file is found? > > Plz advise > > *PG Warren > *Enterprise Management Engineer > > http://www.networksolutionsretail.com/signature/netsollogo09.gif > > > > *P:*703.668.4762 *M:***571.521.9531 www.networksolutions.com > > > Time usually heals all things. Give Time time. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Apr 25 17:47:56 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 25 Apr 2012 10:47:56 -0500 Subject: Timeout and critical error false alarms In-Reply-To: References: <4F918892.5020905@nagios.com> Message-ID: <4F981CAC.1000303@nagios.com> TBH, I'm really not sure. Those settings look fine to me. If I had to guess I'd say this was caused by network issues, where the plugin, for some reason, is unable to connect to the host every so often. I'm not sure a longer timeout would help. Are there any unreliable points in the network between your Nagios server and this host (e.g. wireless connection, maybe a virtual machine, etc.)? Alex Griffin --- Tech Team agriffin at nagios.com Alex wrote: > Hi, > >> How are you connecting to these boxes (what check commands are you using)? > > For clamd, I'm using "check_nrpe!check_procs_clamd" on the nagios side > and the following on the client side: > > command[check_procs_clamd]=/usr/lib64/nagios/plugins/check_clamd -H > /var/spool/amavisd/clamd.sock > > For smtpd, the nagios side is the same, and the client side is: > > command[check_procs_smtpd]=/usr/lib64/nagios/plugins/check_procs -w > 1:120 -c 1:140 -C smtpd -u postfix > > Thanks, > Alex > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Apr 25 17:58:04 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 25 Apr 2012 10:58:04 -0500 Subject: Re SMS notification In-Reply-To: References: Message-ID: <4F981F0C.7000606@nagios.com> Unfortunately, this task is different for different hardware and I was unable to find an existing plugin that would work. Hopefully I'm wrong, but I believe you will need to create a custom notification plugin for this. Alex Griffin --- Tech Team agriffin at nagios.com Nick Price wrote: > Can anyone tell me how to configure the huawei E220 GSM modem to send > out notification emails via SMS. > > I am using fedora 16 with Nagios 3.3.1 plugins 1.4.15 > > Thanks > > Nick Price ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Apr 25 18:09:39 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 25 Apr 2012 11:09:39 -0500 Subject: puzzling no output from nrpe run of check_load In-Reply-To: References: Message-ID: <4F9821C3.8080400@nagios.com> Does the nagios user have read access to /proc/loadavg? Alex Griffin --- Tech Team agriffin at nagios.com Peter N. Steinmetz wrote: > Hi, hoping someone may be able to help with this odd problem running check_load on a remote nrpe server. > > I am running a nagios3 server on ubuntu 10.04 server (nagios3 3.2.0-4ubuntu2.2) and a nrpe server on ubuntu 10.10 (nagios-nrpe-server 2.12-4ubuntu1.10.10.1, nagios-plugins 1.4.14-5ubuntu3) > > Have these both basically up and running, and the server is able to run a check_disk command on the npre server and receives results. > > For a check_load command, however, the status information is '(No output returned from plugin)'. > > I have looked extensively on the web for this, and it appears there are a number of reasons this may happen. > > On the server, if I run > sudo su - nagios -c "/usr/lib/nagios/plugins/check_nrpe -H 10.41.129.36 -c check_load" > there is nothing returned. > > If I change the user from nagios to peter, then I get the expected response. > > On the nrpe server, the same thing is happening. If I run > sudo su - nagios -c "/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20" > there is nothing returned. If I change the user to peter it returns the expected output. > > I've tried making the plugins all owned by nagios:nagios, that doesn't help. I've tried adding a line for nagios to sudoers file and then adding the sudo command prefix, that doesn't fix it when invoking the command on the nagios server. I've also tried adding the nagios user to the admin group and that doesn't help. > > I've enabled the debugging on the nrpe server, and for the command from the nagios server, I see the connection and request in syslog when the user is peter, but no such request when the user is nagios. Neither of the local commands generate any syslog output. > > It is difficult to understand why this command, check_load, on the nrpe server is returning output for users 'peter' and 'root' but not for user 'nagios' when 'nagios' owns the executable. > > When I check executing the check_disk command locally on the nrpe server with > sudo su - nagios -c "/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda1" > it works and returns a report. > > Curiously, if I change the nagios user to have a login shell, such as /bin/bash, on the nrpe server, then the check_load command is returning output, though still doesn't work from the nagios server. In neither case, however, does the nagios user have a password. > > Both the check_load and check_disk plugins are owned by nagios:nagios and have -rwxr-xr-x permissions, so what is the difference? > > Any suggestions appreciated. > > cheers, > Peter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mysqlstudent at gmail.com Wed Apr 25 18:26:53 2012 From: mysqlstudent at gmail.com (Alex) Date: Wed, 25 Apr 2012 12:26:53 -0400 Subject: Timeout and critical error false alarms In-Reply-To: <4F981CAC.1000303@nagios.com> References: <4F918892.5020905@nagios.com> <4F981CAC.1000303@nagios.com> Message-ID: Hi Alex, > TBH, I'm really not sure. Those settings look fine to me. If I had to > guess I'd say this was caused by network issues, where the plugin, for > some reason, is unable to connect to the host every so often. I'm not > sure a longer timeout would help. Are there any unreliable points in the > network between your Nagios server and this host (e.g. wireless > connection, maybe a virtual machine, etc.)? Thanks for the follow-up. They are all 10mbs links, and there otherwise isn't any other network errors, but it's possible servers may be slow to respond. I'll investigate that avenue, but it seems to happen during all times during the day and night.. Thanks again, Alex ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndoc3 at steinmetz.org Wed Apr 25 18:43:21 2012 From: ndoc3 at steinmetz.org (Peter N. Steinmetz) Date: Wed, 25 Apr 2012 09:43:21 -0700 Subject: puzzling no output from nrpe run of check_load Message-ID: <7E3AD921-2BBE-486A-94F1-CC3EAEB017C9@steinmetz.org> Yes, ls -l /proc/loadavg shows: -r--r--r-- 1 root root which I believe mean any user can read it. Yet, sudo su - nagios more /proc/loadavg returns nothing when the nagios user has /bin/false for a shell, and returns the expected output when the nagios user has /bin/bash for a shell. I added the following line to /etc/sudoers: nagios ALL=(ALL) NOPASSWD: /proc/loadavg but that doesn't fix the problem. thanks, Peter On Apr 25, 2012, at 9:09 AM, Alex Griffin wrote: > Does the nagios user have read access to /proc/loadavg? > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Wed Apr 25 19:16:18 2012 From: agriffin at nagios.com (Alex Griffin) Date: Wed, 25 Apr 2012 12:16:18 -0500 Subject: Use of customized macro in CONTACT definition In-Reply-To: References: Message-ID: <4F983162.50405@nagios.com> You said you tried to echo ?EMAILID=$NAGIOS__CONTACTEMAILID?, but echoing this string will not set EMAILID to the value of $NAGIOS_CONTACTEMAILID. You should set EMAILID, and then echo it afterwards. Otherwise, looking over your settings they seem to be fine. Alex Griffin --- Tech Team agriffin at nagios.com Deborah Martin wrote: > Hi, > > I?m trying to define a customized contact macro so that I can pass it to > an event handler > > My contact definition is :- > > define contact{ > > contact_name test-admin > > alias test-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 deborah.martin at kognitio.com > > _EMAILID deborah.martin at kognitio.com > > } > > Then in my script test I just do echo ?EMAILID=$NAGIOS__CONTACTEMAILID? > > This doesn?t work. But if I put the same customized macro into a service > definition and change the test script to ?EMAILID=$NAGIOS__SERVICEEMAILID? > > it works fine. > > According to the docs, I?m specifying this correctly. I?m using nagios > 3.2.0 on SLES10. > > So, am I doing something that should work and is a bug and if so is it > fixed in a later nagios version or have I done something silly here?? > > Thanks, > > Deborah > > > This e-mail and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you are not the intended recipient, please delete this > e-mail immediately. Any unauthorised distribution or copying is strictly > prohibited. > > Whilst Kognitio endeavours to prevent the transmission of viruses via > e-mail, we cannot guarantee that any e-mail or attachment is free from > computer viruses and you are strongly advised to undertake your own > anti-virus precautions. Kognitio grants no warranties regarding > performance, use or quality of any e-mail or attachment and undertakes > no liability for loss or damage, howsoever caused. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kognitio.com Wed Apr 25 20:07:11 2012 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Wed, 25 Apr 2012 11:07:11 -0700 Subject: Use of customized macro in CONTACT definition In-Reply-To: <4F983162.50405@nagios.com> References: , <4F983162.50405@nagios.com> Message-ID: Alex, Thanks, but I set _EMAILID in my contact definition so by echoing it in my script via defining a service that calls that script as a plugin which has a contact defined as test-admin surely I have set it. According to the docs, nagios prefixes custom macros with NAGIOS__CONTACT if it's a contact definition macro which it is. So the environment variable becomes $NAGIOS__CONTACTEMAILID - note the two underlines are correct and the _ prefix in the definition is stripped. As documented it states it's to avoid name collision with $NAGIOS_ such as the macro $HOSTALIAS$ would expand to $NAGIOS_HOSTALIAS as an environment variable that can be used in scripts such as eventhandlers. But I could also have _HOSTALIAS which would expand to NAGIOS__SERVICEHOSTALIAS to make a distinction with NAGIOS_HOSTALIAS... And as mentioned when i take that _EMAILID and put in my service definition instead, the same script that now does echo "EMAILID=$NAGIOS__SERVICEEMAILID" works but the only difference is I've moved the EMAILID from part of a contact definition to a service definition yet the docs supports custom macros in a contact definitions. By docs I'm referring to the documentation link on the nagios web interface and search for macros. Regards, Deborah ________________________________________ From: Alex Griffin [agriffin at nagios.com] Sent: 25 April 2012 18:16 To: Nagios Users List Subject: Re: [Nagios-users] Use of customized macro in CONTACT definition You said you tried to echo ?EMAILID=$NAGIOS__CONTACTEMAILID?, but echoing this string will not set EMAILID to the value of $NAGIOS_CONTACTEMAILID. You should set EMAILID, and then echo it afterwards. Otherwise, looking over your settings they seem to be fine. Alex Griffin --- Tech Team agriffin at nagios.com Deborah Martin wrote: > Hi, > > I?m trying to define a customized contact macro so that I can pass it to > an event handler > > My contact definition is :- > > define contact{ > > contact_name test-admin > > alias test-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 deborah.martin at kognitio.com > > _EMAILID deborah.martin at kognitio.com > > } > > Then in my script test I just do echo ?EMAILID=$NAGIOS__CONTACTEMAILID? > > This doesn?t work. But if I put the same customized macro into a service > definition and change the test script to ?EMAILID=$NAGIOS__SERVICEEMAILID? > > it works fine. > > According to the docs, I?m specifying this correctly. I?m using nagios > 3.2.0 on SLES10. > > So, am I doing something that should work and is a bug and if so is it > fixed in a later nagios version or have I done something silly here?? > > Thanks, > > Deborah > > > This e-mail and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you are not the intended recipient, please delete this > e-mail immediately. Any unauthorised distribution or copying is strictly > prohibited. > > Whilst Kognitio endeavours to prevent the transmission of viruses via > e-mail, we cannot guarantee that any e-mail or attachment is free from > computer viruses and you are strongly advised to undertake your own > anti-virus precautions. Kognitio grants no warranties regarding > performance, use or quality of any e-mail or attachment and undertakes > no liability for loss or damage, howsoever caused. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndoc3 at steinmetz.org Thu Apr 26 01:18:26 2012 From: ndoc3 at steinmetz.org (Peter N. Steinmetz) Date: Wed, 25 Apr 2012 16:18:26 -0700 Subject: puzzling no output from nrpe run of check_load Message-ID: <7A9FE866-E496-44C4-B278-79B3753C2773@steinmetz.org> Some more information and experimentation today. After reading the NRPE manual, I noticed that they refer to being able to log in as the nagios user and having a password. The configuration which is established by the package installations under ubuntu are to have the nagios user allowing password-less login (a ! character for the password field in /etc/shadow), but the shell set to /bin/false, so no logins can take place. After setting a password for user nagios on both the server and the remote nrpe server, and setting a shell such as /bin/bash, the system seems to work. So why is it that proper functioning of the check_load plugin on the nrpe server requires a shell? and password for login? It does seem that the more correct method of operation is a non-login shell with permissions set appropriately in /etc/sudoers, but somehow that is not working. thanks, Peter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roger at firedrake.org Thu Apr 26 01:45:07 2012 From: roger at firedrake.org (Roger Burton West) Date: Thu, 26 Apr 2012 00:45:07 +0100 Subject: puzzling no output from nrpe run of check_load In-Reply-To: <7A9FE866-E496-44C4-B278-79B3753C2773@steinmetz.org> References: <7A9FE866-E496-44C4-B278-79B3753C2773@steinmetz.org> Message-ID: <20120425234507.GA545@firedrake.org> On Wed, Apr 25, 2012 at 04:18:26PM -0700, Peter N. Steinmetz wrote: >So why is it that proper functioning of the check_load plugin on the nrpe server requires a shell? and password for login? It does seem that the more correct method of operation is a non-login shell with permissions set appropriately in /etc/sudoers, but somehow that is not working. On my NRPE-monitored servers I have a nagios account with a password in /etc/shadow of "*", and /bin/false as shell... and it still works. (Linux. sudoers only allows root to the plugins that need them, such as check_ide_smart.) So this is not the whole story. Roger ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndoc3 at steinmetz.org Thu Apr 26 03:47:20 2012 From: ndoc3 at steinmetz.org (Peter N. Steinmetz) Date: Wed, 25 Apr 2012 18:47:20 -0700 Subject: puzzling no output from nrpe run of check_load In-Reply-To: <20120425234507.GA545@firedrake.org> References: <7A9FE866-E496-44C4-B278-79B3753C2773@steinmetz.org> <20120425234507.GA545@firedrake.org> Message-ID: <616DB6AC-FCBE-432F-A823-EA18ADC71953@steinmetz.org> > On Wed, Apr 25, 2012 at 04:18:26PM -0700, Peter N. Steinmetz wrote: > >> So why is it that proper functioning of the check_load plugin on the nrpe server requires a shell? and password for login? It does seem that the more correct method of operation is a non-login shell with permissions set appropriately in /etc/sudoers, but somehow that is not working. > > On my NRPE-monitored servers I have a nagios account with a password > in /etc/shadow of "*", and /bin/false as shell... and it still works. > (Linux. sudoers only allows root to the plugins that need them, such as > check_ide_smart.) So this is not the whole story. > > Roger This must be true, as even when the commands run fine on the command line (with a password for the nagios accounts on the nagios monitoring and nrpe servers and /bin/bash for the shell), the nagios server is still not receiving any output from the check_nrpe!check_load command to display in its web console. Curiouser and curiouser. Peter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at packetalk.net Thu Apr 26 04:55:01 2012 From: jim at packetalk.net (Jim McNamara) Date: Wed, 25 Apr 2012 22:55:01 -0400 Subject: Parent and Child Relationships Message-ID: <1335408901.13425.30.camel@jimsworktop> I'm having an issue figuring out the parents remote routers that are connected over radio links to my main router. In one of my installations I have remote hosts (D) behind a remote router (C) that is connected to my "main" network via two radio connections (B1,B2). The "main" router (A) is needed to communicate with all of the remote hosts (C,D) because of the necessary routing and natting. I've used the two radios (B1,B2) plugged into the remote routers (C) as the parents for the router (C), and discovered that with two parents, nagios uses an OR style to determine the child host state. In this case, if either B1 or B2 is up, the child C should be up. This is accurate to a point in my case, but for the complete picture I need to introduce something like an AND to this. Specifically, to reach host C, A must be up, and either B1 or B2. I had though to make A the parent of B1 and B2, but it simply isn't. B1 and B2 can be reached with A down. Is there a way to specify parent/child relationships where there are three parents, but one specific parent must be up and at least one of the other two? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 26 09:22:41 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 26 Apr 2012 09:22:41 +0200 Subject: Use of customized macro in CONTACT definition In-Reply-To: References: , <4F983162.50405@nagios.com> Message-ID: <4F98F7C1.40404@op5.se> On 04/25/2012 08:07 PM, Deborah Martin wrote: > Alex, > > Thanks, but I set _EMAILID in my contact definition so by echoing it > in my script via defining a service that calls that script as a > plugin which has a contact defined as test-admin surely I have set > it. > > According to the docs, nagios prefixes custom macros with > NAGIOS__CONTACT if it's a contact definition macro which it is. So > the environment variable becomes $NAGIOS__CONTACTEMAILID - note the > two underlines are correct and the _ prefix in the definition is > stripped. As documented it states it's to avoid name collision with > $NAGIOS_ such as the macro $HOSTALIAS$ would expand to > $NAGIOS_HOSTALIAS as an environment variable that can be used in > scripts such as eventhandlers. But I could also have _HOSTALIAS which > would expand to NAGIOS__SERVICEHOSTALIAS to make a distinction with > NAGIOS_HOSTALIAS... > > And as mentioned when i take that _EMAILID and put in my service > definition instead, the same script that now does echo > "EMAILID=$NAGIOS__SERVICEEMAILID" works but the only difference is > I've moved the EMAILID from part of a contact definition to a service > definition yet the docs supports custom macros in a contact > definitions. > > By docs I'm referring to the documentation link on the nagios web > interface and search for macros. > This might be fixed in latest svn trunk. Try out that one and see if it flies for you. If it does, we'd love to hear it. If it doesn't, we'd still love to hear it so we know we still have to fix it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 26 09:37:49 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 26 Apr 2012 09:37:49 +0200 Subject: Parent and Child Relationships In-Reply-To: <1335408901.13425.30.camel@jimsworktop> References: <1335408901.13425.30.camel@jimsworktop> Message-ID: <4F98FB4D.8070604@op5.se> On 04/26/2012 04:55 AM, Jim McNamara wrote: > I'm having an issue figuring out the parents remote routers that are > connected over radio links to my main router. In one of my installations > I have remote hosts (D) behind a remote router (C) that is connected to > my "main" network via two radio connections (B1,B2). The "main" router > (A) is needed to communicate with all of the remote hosts (C,D) because > of the necessary routing and natting. > So A is parent to B1 and B2. B1 and B2 are parents to C. C is parent to hosts at D. > I've used the two radios (B1,B2) plugged into the remote routers (C) as > the parents for the router (C), and discovered that with two parents, > nagios uses an OR style to determine the child host state. In this case, > if either B1 or B2 is up, the child C should be up. This is accurate to > a point in my case, but for the complete picture I need to introduce > something like an AND to this. Specifically, to reach host C, A must be > up, and either B1 or B2. > > I had though to make A the parent of B1 and B2, but it simply isn't. B1 > and B2 can be reached with A down. > Ah, so A isn't parent to B1 and B2 then. > Is there a way to specify parent/child relationships where there are > three parents, but one specific parent must be up and at least one of > the other two? > Possibly with hostdependencies, but I'm not sure how that would look. It won't register as an outage though, but it should be possible to do (roughly) what you want, and especially if your main concern is to avoid notificationspam. As a last-ditch resort, make the host-checks for C fail if A or both B[12] are down by wrapping the check in something that calls livestatus or some such before running the actual check. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.ribeiro at altitudeinfra.fr Thu Apr 26 08:50:16 2012 From: david.ribeiro at altitudeinfra.fr (David Ribeiro) Date: Thu, 26 Apr 2012 08:50:16 +0200 (CEST) Subject: Re SMS notification In-Reply-To: <4F981F0C.7000606@nagios.com> References: <4F981F0C.7000606@nagios.com> Message-ID: <1890110092.257913.1335423016573.JavaMail.root@zm-mbs02.altitudetelecom.fr> Hello, Test with gsm-tools (gsm-utils under Debian/Ubuntu or gammu). Maybe useful : http://en.doc.centreon.com/HowToSendSMSWithGammu The difficulty is to run the modem on your hardware http://www.techonia.com/install-huawei-usb-modem-fedora http://forums.fedora-fr.org/viewtopic.php?id=27105 After, the sms notification you will found in nagios should work. Good Luck David Ribeiro ----- Mail original ----- De: "Alex Griffin" ?: "Nagios Users List" Envoy?: Mercredi 25 Avril 2012 17:58:04 Objet: Re: [Nagios-users] Re SMS notification Unfortunately, this task is different for different hardware and I was unable to find an existing plugin that would work. Hopefully I'm wrong, but I believe you will need to create a custom notification plugin for this. Alex Griffin --- Tech Team agriffin at nagios.com Nick Price wrote: > Can anyone tell me how to configure the huawei E220 GSM modem to send > out notification emails via SMS. > > I am using fedora 16 with Nagios 3.3.1 plugins 1.4.15 > > Thanks > > Nick Price ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Ce message et toutes les pieces jointes (ci-apres le "message" ) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire sans en conserver de copie et d'en avertir immediatement l'expediteur. Internet ne permettant pas de garantir l'integrite de ce message, AltitudeInfrastructure decline toute responsabilite au titre de ce message s'il a ete modifie, altere, deforme ou falsifie. This message and any attachments (the "message") are confidential and intended solely for the addressees. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you receive this message in error, please delete it without storing any evidence and immediately notify the sender. Internet can not guarantee the integrity of this message, neither AltitudeInfrastructure shall be liable for the message if modified, altered, changed or falsified. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftlnagios at gmail.com Fri Apr 27 12:25:49 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Fri, 27 Apr 2012 11:25:49 +0100 Subject: Check_Doomsday plugin Message-ID: <000901cd2460$1e26c4d0$5a744e70$@gmail.com> Hi all, I am using the check_doomsday plugin to alert me to licence expiry dates of software. I have the need though to have a check for a recurring day but of each month - I don't think check_doomsday can do this? I need to monitor the 27th of each month automatically without having to change the config file each month to update the date argument in my service command for check_doomsday. Is there a plugin available to do this, or anybody have any suggestions on achieving this please? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agriffin at nagios.com Fri Apr 27 17:46:38 2012 From: agriffin at nagios.com (Alex Griffin) Date: Fri, 27 Apr 2012 10:46:38 -0500 Subject: Check_Doomsday plugin In-Reply-To: <000901cd2460$1e26c4d0$5a744e70$@gmail.com> References: <000901cd2460$1e26c4d0$5a744e70$@gmail.com> Message-ID: <4F9ABF5E.9070708@nagios.com> I haven't come across any plugins that do this by default but it would be an incredibly easy plugin to write. If you or anyone you know have some programming ability you could make it yourself. Otherwise Nagios Enterprises offers custom plugin development. Alex Griffin --- Tech Team agriffin at nagios.com FTL Nagios wrote: > Hi all, > > I am using the check_doomsday plugin to alert me to licence expiry dates > of software. > > I have the need though to have a check for a recurring day but of each > month ? I don?t think check_doomsday can do this? > > I need to monitor the 27^th of each month automatically without having > to change the config file each month to update the date argument in my > service command for check_doomsday. > > Is there a plugin available to do this, or anybody have any suggestions > on achieving this please? > > Thanks > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PeterNSteinmetz at steinmetz.org Wed Apr 25 18:41:42 2012 From: PeterNSteinmetz at steinmetz.org (Peter N. Steinmetz) Date: Wed, 25 Apr 2012 09:41:42 -0700 Subject: puzzling no output from nrpe run of check_load In-Reply-To: <4F9821C3.8080400@nagios.com> References: <4F9821C3.8080400@nagios.com> Message-ID: Yes, ls -l /proc/loadavg shows: -r--r--r-- 1 root root which I believe mean any user can read it. Yet, sudo su - nagios more /proc/loadavg returns nothing when the nagios user has /bin/false for a shell, and returns the expected output when the nagios user has /bin/bash for a shell. I added the following line to /etc/sudoers: nagios ALL=(ALL) NOPASSWD: /proc/loadavg but that doesn't fix the problem. thanks, Peter On Apr 25, 2012, at 9:09 AM, Alex Griffin wrote: > Does the nagios user have read access to /proc/loadavg? > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlh at cayuga-cc.edu Fri Apr 27 18:22:56 2012 From: dlh at cayuga-cc.edu (David Harbaugh) Date: Fri, 27 Apr 2012 12:22:56 -0400 Subject: puzzling no output from nrpe run of check_load In-Reply-To: References: <4F9821C3.8080400@nagios.com> Message-ID: <3267F8C54E50F4409A01B84791B9A9012A996FD722@MENTZ.ccc.lan> 'su -' makes the shell a login shell ... which requires a real shell, not /bin/false. What if you do this? sudo su nagios more /proc/loadavg Skip the -, which should run more directly, which should work even with /bin/false listed as the shell. If that works, then you should be able to modify your nagios command definition the same way ... -----Original Message----- From: Peter N. Steinmetz [mailto:PeterNSteinmetz at steinmetz.org] Sent: Wednesday, April 25, 2012 12:42 PM To: Nagios Users List Subject: Re: [Nagios-users] puzzling no output from nrpe run of check_load Yes, ls -l /proc/loadavg shows: -r--r--r-- 1 root root which I believe mean any user can read it. Yet, sudo su - nagios more /proc/loadavg returns nothing when the nagios user has /bin/false for a shell, and returns the expected output when the nagios user has /bin/bash for a shell. I added the following line to /etc/sudoers: nagios ALL=(ALL) NOPASSWD: /proc/loadavg but that doesn't fix the problem. thanks, Peter On Apr 25, 2012, at 9:09 AM, Alex Griffin wrote: > Does the nagios user have read access to /proc/loadavg? > > Alex Griffin > --- > Tech Team > agriffin at nagios.com > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noc at fohnet.co.uk Fri Apr 27 18:04:33 2012 From: noc at fohnet.co.uk (Richard Clark) Date: Fri, 27 Apr 2012 17:04:33 +0100 Subject: Check_Doomsday plugin In-Reply-To: <000901cd2460$1e26c4d0$5a744e70$@gmail.com> References: <000901cd2460$1e26c4d0$5a744e70$@gmail.com> Message-ID: On 27 April 2012 11:25, FTL Nagios wrote: > Hi all,**** > > ** ** > > I am using the check_doomsday plugin to alert me to licence expiry dates > of software.**** > > ** ** > > I have the need though to have a check for a recurring day but of each > month ? I don?t think check_doomsday can do this?**** > > ** ** > > I need to monitor the 27th of each month automatically without having to > change the config file each month to update the date argument in my service > command for check_doomsday.**** > > ** ** > > Is there a plugin available to do this, or anybody have any suggestions on > achieving this please?**** > > ** ** > > Thanks**** > > > Easiest way I can think of doing this would be just to have a timeperiod that listed the 27th of each month, then only have the check scheduled to run for that timeperiod. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morty+nagios at frakir.org Sat Apr 28 03:38:55 2012 From: morty+nagios at frakir.org (Morty) Date: Fri, 27 Apr 2012 21:38:55 -0400 Subject: how can an NRPE script know the remote server's IP? Message-ID: <20120428013855.GG30557@red-sonja> Is there a way for an NRPE script to know the remote server's IP? I'm not seeing anything in the environment for NRPE 2.12. getpeername on STDIN doesn't seem to help; presumably nrpe doesn't connect the script directly to the sockets. Detailed scenario: I have two nagios servers running in an active/active cluster. So each nagios instance is checking all servers. Some services utilize NRPE. One service check is a script that wants to see change in a certain system parameter since last time. It then saves the value in a statefile, so it can check the next time. Problem: race condition. If the two nagios servers both check at around the same time, one of them will set the state file. Then the other one sees the recent statefile and sees no change in the system parameter, and the service check goes critical. A lockfile won't solve the problem, because the problem isn't when the two are running at the same time, it's when the two run shortly after one another. One fix would be to have the script use a statefile that includes the nagios server IP. So it would use a different statefile depending on which nagios server queries, and there would be no conflict. The problem is, I can't see a way to supply the server IP to the script. No such variable appears in the NRPE environment. getpeername isn't working, at least on STDIN. I could try to do something with a nagios macro, but NRPE scripts are supposed to have fixed options unless I turn on dont_blame_nrpe=1, which I don't want to do. - Morty ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Sat Apr 28 14:23:58 2012 From: mail at catsnest.co.uk (RichTea) Date: Sat, 28 Apr 2012 13:23:58 +0100 Subject: how can an NRPE script know the remote server's IP? In-Reply-To: <20120428013855.GG30557@red-sonja> References: <20120428013855.GG30557@red-sonja> Message-ID: On Sat, Apr 28, 2012 at 2:38 AM, Morty wrote: > Is there a way for an NRPE script to know the remote server's IP? I'm > not seeing anything in the environment for NRPE 2.12. getpeername on > STDIN doesn't seem to help; presumably nrpe doesn't connect the script > directly to the sockets. > > Detailed scenario: > > I have two nagios servers running in an active/active cluster. So > each nagios instance is checking all servers. Some services utilize > NRPE. One service check is a script that wants to see change in a > certain system parameter since last time. It then saves the value in > a statefile, so it can check the next time. > > Problem: race condition. If the two nagios servers both check at > around the same time, one of them will set the state file. Then the > other one sees the recent statefile and sees no change in the system > parameter, and the service check goes critical. > > A lockfile won't solve the problem, because the problem isn't when the > two are running at the same time, it's when the two run shortly after > one another. > > One fix would be to have the script use a statefile that includes the > nagios server IP. So it would use a different statefile depending on > which nagios server queries, and there would be no conflict. The > problem is, I can't see a way to supply the server IP to the script. > No such variable appears in the NRPE environment. getpeername isn't > working, at least on STDIN. > > I could try to do something with a nagios macro, but NRPE scripts are > supposed to have fixed options unless I turn on dont_blame_nrpe=1, > which I don't want to do. > > - Morty > dont_blame_nrpe isnt that big a security issue if you trust your Nagios servers security and restrict whos allowed to run nrpe commands. You could then pass in a custom macro from Nagios. The only other way I could think would be to run a different client side check / service for each Nagios server. if you use the _exact_ same config on each Nagios server you can probably use a custom macro in the service's command definition. I have not tried it my self but i dont see why it wont work. service { name statefile command $USER1$/statefile_$USER5$.pl } where $USER5$ is set to the Nagios servers host name and just define two nrpe commands on the client's. HTH Ritchie, -- <--Time flies like an arrow; fruit flies like a banana. --> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eliot.Picken at wenaas.co.uk Mon Apr 30 14:29:09 2012 From: Eliot.Picken at wenaas.co.uk (Eliot Picken) Date: Mon, 30 Apr 2012 13:29:09 +0100 Subject: AUTO: Eliot Picken is out of the office (returning 07/05/2012) Message-ID: I am out of the office until 07/05/2012. I am currently out of the office and will be checking this email account outside office hours only. Your email has not been forwarded. For emergency issues, please contact Alex Lawrie on +44 (0) 1224 894 000 Note: This is an automated response to your message "[Nagios-users] unsubscribe" sent on 4/30/2012 12:36:24 PM. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndoc3 at steinmetz.org Mon Apr 30 19:39:26 2012 From: ndoc3 at steinmetz.org (Peter N. Steinmetz) Date: Mon, 30 Apr 2012 10:39:26 -0700 Subject: puzzling no output from nrpe run of check_load In-Reply-To: <3267F8C54E50F4409A01B84791B9A9012A996FD722@MENTZ.ccc.lan> References: <4F9821C3.8080400@nagios.com> <3267F8C54E50F4409A01B84791B9A9012A996FD722@MENTZ.ccc.lan> Message-ID: <724943E1-1C10-4188-B254-28F8BC6BCA30@steinmetz.org> Thanks for the suggestion, gave that a try, or more precisely: sudo su nagios -c "more /proc/loadavg" after removing the password for user nagios and setting the shell to /bin/false. This still produces no output. Very peculiar. I guess there must be something wrong with the authentication or setup on these machines, but can't figure out what is going on here. auth.log contains "Successful su for nagios by root" right after this so that part seems all right. The systems are using ldap pam authentication for other users, though nagios and other such system accounts are local in the /etc/passwd and /etc/passwd files. The local accounts seem to work fine for this command if they have a password and shell is set to /bin/bash, rather than /bin/false. cheers, Peter On Apr 27, 2012, at 9:22 AM, David Harbaugh wrote: > 'su -' makes the shell a login shell ... which requires a real shell, not /bin/false. > > What if you do this? > > sudo su nagios more /proc/loadavg > > Skip the -, which should run more directly, which should work even with /bin/false listed as the shell. > > If that works, then you should be able to modify your nagios command definition the same way ... ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eliezer at ngtech.co.il Mon Apr 30 19:56:33 2012 From: eliezer at ngtech.co.il (Eliezer Croitoru) Date: Mon, 30 Apr 2012 20:56:33 +0300 Subject: puzzling no output from nrpe run of check_load In-Reply-To: <724943E1-1C10-4188-B254-28F8BC6BCA30@steinmetz.org> References: <4F9821C3.8080400@nagios.com> <3267F8C54E50F4409A01B84791B9A9012A996FD722@MENTZ.ccc.lan> <724943E1-1C10-4188-B254-28F8BC6BCA30@steinmetz.org> Message-ID: <4F9ED251.3000900@ngtech.co.il> so it seems that the check_load needs shell rights to show any output what so ever also the --help stuff. it's kind of understandable. Eliezer On 30/04/2012 20:39, Peter N. Steinmetz wrote: > Thanks for the suggestion, gave that a try, or more precisely: > > sudo su nagios -c "more /proc/loadavg" > > after removing the password for user nagios and setting the shell to /bin/false. > > This still produces no output. > > Very peculiar. I guess there must be something wrong with the authentication or setup on these machines, but can't figure out what is going on here. > > auth.log contains > "Successful su for nagios by root" > right after this so that part seems all right. > > The systems are using ldap pam authentication for other users, though nagios and other such system accounts are local in the /etc/passwd and /etc/passwd files. The local accounts seem to work fine for this command if they have a password and shell is set to /bin/bash, rather than /bin/false. > > cheers, > Peter > > > On Apr 27, 2012, at 9:22 AM, David Harbaugh wrote: > >> 'su -' makes the shell a login shell ... which requires a real shell, not /bin/false. >> >> What if you do this? >> >> sudo su nagios more /proc/loadavg >> >> Skip the -, which should run more directly, which should work even with /bin/false listed as the shell. >> >> If that works, then you should be able to modify your nagios command definition the same way ... > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer ngtech.co.il ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morty+nagios at frakir.org Mon Apr 30 21:31:31 2012 From: morty+nagios at frakir.org (Morty) Date: Mon, 30 Apr 2012 15:31:31 -0400 Subject: how can an NRPE script know the remote server's IP? In-Reply-To: References: <20120428013855.GG30557@red-sonja> Message-ID: <20120430193130.GA12569@red-sonja> On Sat, Apr 28, 2012 at 01:23:58PM +0100, RichTea wrote: > dont_blame_nrpe isnt that big a security issue if you trust your > Nagios servers security and restrict whos allowed to run nrpe > commands. You could then pass in a custom macro from Nagios. dont_blame_nrpe requires me to trust the nagios servers and to trust the network. I prefer to minimize trust. > if you use the _exact_ same config on each Nagios server you can probably > use a custom macro in the service's command definition. Sure enough. Thanks! I was even able to define a USERn variable as `hostname`, so the two servers can share identical configs. The way this works is that the nrpe.cfg has two entries: command[check_foo_server1]=/usr/local/bin/mycommand -v /var/mycommand/server1 command[check_foo_server2]=/usr/local/bin/mycommand -v /var/mycommand/server2 USER6 is definied like so: USER6=`hostname` And the command like so: check_command check_nrpe!check_foo_$USER6$ - Morty ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null